Don’t worry, most modern brains have a builtin jit compiler, so when a habit starts to form, the check will be optimised out. (It saves excess neurons from being generated.)
Pointers are variables that don’t hold data themselves but instead hold a reference to it. It’s really common to redirect pointers to reference something other than what they originally referenced, which is the joke in this comic. He is changing the conversation so that Star Wars actually refers to Jaws.
I think the humor is meant to be in the juxtaposition between “reference” in media contexts (e.g. “I am your father”) and “reference” in programming contexts and applying the latter context to the former one.
What does “I’m your father” mean if the movie is jaws?
I think the absurdity of that question is part of said humor. That being said, I didn’t find it funny either.
To reference a movie in common vocabulary is to bring it up in conversation.
Referencing in programming terms like C refers to assigning a value to a variable. You can re-assign those variables to new values and then de-reference (read) the new value.
They are conflating the common meaning of reference with the much more obscure programming definition (obscure at least among non-programmers).
Star wars = “no, I am your father” (reference) Jaws = movie about hunting killer shark (reference) Star wars = movie about hunting killer shark (OP is pretending we can treat movie references like variable references and re-assigns the star wars variable to mean something else) “Hey, have you seen star wars? The movie about hunting a killer shark?” (De-referencing your newly re-assigned variable)
I personally don’t find it funny because these types of jokes essentially boil down to “I used a concept outside of its context, and for that reason alone it is funny”. However, with a lot of these jokes the context is so narrow (i.e. programming) that they are almost universally not understood by wider audiences.
Nah, some MCUs have low power modes.
ESP32 has 5 of them, from disabling fancy features, throttling the clock, even delegating to an ultra low power coprocessor, or just going to sleep until a pin wakes it up again. It can go from 240mA to 150uA and still process things, or sleep for only 5uA.
I got to that once, on mobile I’ve never worked out the rule for when FF opens a new tab vs opening a site in your current tab. They just kind of silently accumulate.
So do I, for a few days. If I haven’t read it by then, I’ll either bookmark for later or just close. I pretty much never have more than 10-15 active tabs ever.
I know literally 0.0000000001% of 1st year CS, and even I know that Musk just googled what “type” means in this context. No shit a compiler can determine the type at compile time. That’s not what the post was about, Elon my guy.
I’ll be sure to tell my boss to throw away all the work he already paid for and start over in a different language. I’m sure he’ll be very understanding
I don’t think you understand the concept of having a boss.
Earlier this week I proved to him that his new “more secure” password policy results in passwords that can be cracked in under a minute, and he didn’t care
Sneak in a library that makes things more sane when nobody is looking…
Also, that isn’t “having a boss” it’s having a shit boss. As an engineering manager I am happy to go to bat and make excuses for time my reports spend paying down technical debt and making things more maintainable (within reason of course, and if shits really bad I can usually sneak a sustainability project into the timeline).
We’ll always need to make some compromises for our workplaces, the perfect job doesn’t exist, but what you described is a huge red flag. You deserve respect at work.
Yo nodejs is just plain amazing. We should just keep improving on js and replace all other languages. Js is already on all browsers, by adopting it on the server you get huge efficiency as you can move code AND coders between backend and frontend. Of course you must make the right choices of practices and frameworks for this to be possible
Both Monday and Sunday are used as the first day of the week with quite some regularity. It’s a completely arbitrary standard no different to "the tenth month is the one called “October”. Or dividing a day into 24 segments which are each broken into 60 smaller segments of 60 even smaller segments. You can’t say either is “wrong” per se.
Personally, I was brought up learning Sunday is the first day of the week, but at some point decided that was bullshit partly because it’s the week end. But also just from a practical standpoint when looking at a calendar, it’s useful to have the weekend days grouped together.
Funny thing, september comes from the number 7, october from 8 and november and december from 9 and 10, as the year in ancient rome was starting around march. This problem is timeless.
Huh. I knew about the problem (that’s why I used October as my example, rather than, say, February), but I was mistaken as to the cause. The way I had always heard it told, September–December don’t match their current place in the year because of the addition of July and August. But I just looked it up and it seems you’re right. Those months are merely renamings of Quintilis and Sextilis, and the numbering issue comes from moving the start of the year from March to January.
It’s a decent browser, but half the reason people hate it is because MS tries to force it on you. They should let it stand on its own merits then maybe it wouldn’t have such a negative reception.
I just opened my gmail in Firefox and I don’t see this Chrome notification right now. Maybe it pops up every now and then. I wouldn’t be bothered by it that much, since started using Thunderbird as mail client last month, and the interface is so much better and customizable than gmail ever was. I did use Thunderbird a long time ago, but stopped when I got gmail in 2004. And all this time I thought Thunderbird still had the old classic UI. Apparently it became a bit too messy with all different volunteer contributions and Mozilla didn’t have a project management to stay with a certain direction. In Feb 2023 they announced in this blog post to rebuild Thunderbird from the ground up and invest the resources to support the community again, although with more control. Then a few months ago this big update to 115 was released, which was featured in a computer tech website so I became curious again. One of the best decisions of this year (although I’m still using it to access gmail), together with joining Lemmy of course.
It’s better than chrome for sure. Depending on what your criteria for using a browser it, it might even be in the top 3 browser options.
But it’s still a Microsoft product filled with the usual Microsoft shenanigans. If you don’t care about your browser keeping track of what you do and that sort of privacy concerns, absolutely give it a try. You can even use it on Linux and Android and it works fine on those too.
One other negative aspect I can think of is that Microsoft is quite open to adhering to Google’s own shenanigans like that recent proposal they got ridiculed for. For that reason I’d rather recommend Vivaldi instead - there’s very little that edge does better than Vivaldi and there’s plenty that Vivaldi does better than it.
But also, please, consider using Firefox if you don’t have any problems with it. You’ll literally be helping make the internet a better place just by using it. So many people use chromium based browsers today that Google literally owns the way the internet works.
I’ve never really liked Firefox and I’ve tried it multiple times. As for big companies tracking data, I think that’s pretty much unavoidable at this stage and I don’t really care.
My only criteria for browsers is just stuff loading when it should and fast. Corporations are welcome to my shit data, the only thing that annoys me about that is they profit from it and I don’t.
I wasn’t a fan of Firefox either and personally lived using edge. When the whole web integrity thing started happening, I felt like I should switch to Firefox and haven’t looked back.
I still have some complaints, like you can’t install sites native app which I used a lot. I don’t think tab groups have been implemented yet, which isn’t a huge deal but very useful. And there were a few others I can’t remember off the top of my head. In the end I value my privacy a bit more so I’ve decided Firefox is worth it.
Sure, and there’s also an extension to install a web page as an app similar to Chrome. The point is that, out of the box, it lacks some features that I enjoy. Extensions are great and I use plenty of them, but that doesn’t mean that Firefox has those features, it just has extensions that have them.
Firefox is great, don’t get me wrong, I’m definitely preferring it, but that doesn’t mean it doesn’t have all the features that I wanted up front.
The PWA app works decent, but, unless I did something wrong, it would open links in itself instead of my main Firefox window which wasn’t what I’d want normally.
I still use it, but it’s definitely not as nice as I’d want it to be.
Definitely one of those things that’s minor and I can look past though.
programmer_humor
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.