filtoid

joined 8 months ago
[–] filtoid@lemmy.ml 4 points 1 week ago* (last edited 1 week ago)

Caution CW: contains simulated road accident resulting in death - was considered safe for TV in the UK

https://youtu.be/mKHY69AFstE

I think OP was picturing a situation like this.

[–] filtoid@lemmy.ml 3 points 1 week ago* (last edited 1 week ago)

A Choose your own ~~Adventure~~ Rejection

Edit: didn't remember strikethrough formatting correctly

[–] filtoid@lemmy.ml 3 points 2 weeks ago

I'd never really thought about until now, but do Chinese (specifically mandarin speaking) 3 year olds use Ma in place of the English speaking equivalent of "why" (repeated ad nauseum until the adult being questioned snaps!)?

[–] filtoid@lemmy.ml 3 points 2 weeks ago

Ooooohhh....it's a scythe

[–] filtoid@lemmy.ml 16 points 1 month ago

I actually disagree with that, if I saw a larger gentleman wearing this I'd feel proud of him for owning his thing with self-depracating humour, and think it was funny, the same as I do here.

[–] filtoid@lemmy.ml 19 points 1 month ago

It's Latin for "a person not welcome"

[–] filtoid@lemmy.ml 2 points 1 month ago (1 children)

Thank you for sharing this. I'm going to try it out on my Italian friends :)

[–] filtoid@lemmy.ml 8 points 1 month ago (3 children)

Yes, particularly as I get older the equipment doesn't drain fully and needs a little help.

There's a rhyme about it "no matter how much you shake and dance, the last few drops go down your pants", well I choose to wipe instead of relying on the absorbance of my pants or trousers (the original saying is American so means trousers really).

[–] filtoid@lemmy.ml 23 points 1 month ago* (last edited 1 month ago) (3 children)

At the end of the article, which is already a litany of clownish buffoonery, it states that after destroying (effectively) the MRI machine in order to retrieve the rifle, he failed to retrieve a loaded magazine. So it was just left on the floor as they left.

Edit: autocorrect had changed it to clownfish

[–] filtoid@lemmy.ml 4 points 1 month ago* (last edited 1 month ago)

You are correct, I had misremembered how it works. It can evaluate build arguments, but they have to be numerical. However you can define new variables (in the pre-processor, not in code - ie, after a #) to replace those numbers, to make the intent clearer. Eg.

#define DEBUG_1 1

#define DEBUG_2 2

#if DEBUG_LEVEL >= DEBUG_1

Then pass the build arg DEBUG_LEVEL at compile time

More info here:

https://learn.microsoft.com/en-us/cpp/preprocessor/hash-if-hash-elif-hash-else-and-hash-endif-directives-c-cpp?view=msvc-170

Edit: formatting of code snippet

[–] filtoid@lemmy.ml 2 points 1 month ago (2 children)

I'm going to take a shot at answering this, but please bear in mind that it's been a long time since I looked into the C pre-parser.

#if allows for arbitrary Boolean logic, eg #if build_env "local"

#if defined us to see if a thing has been defined already, quite often used to make sure that a header file is only imported once, redeclaration of headers is a compiler error. Eg. #if !defined(__SOME_UNIQUE_FILE_IDENTIFIER) (then define the class) then write your #endif

#ifdef wasn't always standard and was added later in the ANSI spec be a keyword, it's shorthand for the same thing as #if defined. -

This is my understanding anyway, I'm going with the principal that someone who knows more will be more likely to post a rebuttal (which I encourage).

[–] filtoid@lemmy.ml 17 points 1 month ago (1 children)

Unfortunately masks are most effective when the person with COVID wears them, rather than people who are trying to avoid COVID, but human nature is such that people with COVID (ones who go out in public) are often ones least worried about it so least likely to wear a mask in the first place.

I had a similar experience where I went to a conference and masked up religiously around groups only to catch it anyway while my colleagues didn't mask and didn't catch it.

Sometimes you can do everything right and still fail (paraphrasing Picard).

 

I've heard of Pythonistas and Rustaceans. What are some of the other names given to devs writing in, for example, PHP or C++. Appreciate any answers - both serious and joking.

view more: next ›