dave

joined 1 year ago
[–] [email protected] 2 points 1 month ago (1 children)

Function/Method names, on the other hand, should be written so as to make the most sense to the humans reading and writing the code

Of course—that’s why we have such classics as stristr(), strpbrk(), and stripos(). Pretty obvious what the differences are there.

But to your point, the ‘intuitive’ counterpart to ‘zeroth’ is the item with index zero. What we have is a mishmash of accurate and colloquial terms for the same thing.

[–] [email protected] 2 points 1 month ago (4 children)

Most humans wouldd never write the word first followed by (). It absolutely should have been zeroth(), and would not cause any confusion amongst anyone who needed to write it.

[–] [email protected] 5 points 1 month ago

This Antex is about 30 years old, has a heat resistant cap and is still going strong :) Don’t know what they’re like these days but I’d recommend on my experience. Gascat

[–] [email protected] 21 points 2 months ago (1 children)

What part of the rest of the world are you in?

[–] [email protected] 12 points 2 months ago (1 children)
[–] [email protected] 1 points 3 months ago

It annoyed me too for a while but it’s changing. I can’t find a definitive source, but I’ve seen a quote from MW from 2015 which had the original meaning. Now it includes “severely injure”.

https://www.merriam-webster.com/dictionary/electrocute

[–] [email protected] 10 points 4 months ago

I suspect it’s not dissimilar to the way spam emails are full of typos and grammar errors. You may wonder why they don’t just get those fixed, but they’re specifically to filter out the people who notice them and dismiss the spam, as they (the spammers) are far less likely to successfully scam someone who is offended by the way the spam is written. They are a kind of first level filter.

MS are filtering out the vocal, knowledgable people who will cause problems next time they have some security breach or do something shady around privacy. Convert that relatively small number of people to Linux, and you’re left with a compliant and fully tracked customer base—far more use in the long run.

[–] [email protected] 1 points 4 months ago

I guess the company was providing a kind of UBI? Not sure what will happen when all of those non-jobs disappear…

[–] [email protected] 2 points 5 months ago (1 children)

My PhD was in neural networks in the 1990s and I’ve been in development since then.

Remember when digital cameras came out? They were pretty crappy compared to film—if you had a decent film camera and knew what you were doing. I fell like that’s where we’re at with LLMs right now.

Digital cameras are now pretty much on par with film, perhaps better in some circumstances and worse in others.

Shifting gear from writing code to reviewing someone else’s is inefficient. With a good editor setup and plenty of screen real estate, I’m more productive just writing than constantly worrying about what the copilot just inserted. And yes, I’ve tested that.

[–] [email protected] 1 points 5 months ago (3 children)

Surely boilerplate code is copy / paste or macros, then edit the significant bits—a lot less costly than copilot.

[–] [email protected] 3 points 5 months ago

Just use Reader view or whatever that’s called in your browser. I use Arctic for Lemmy on iOS and it has a ‘default to reader’ for opening links. Can’t remember the last time I saw a paywall. There’s one news site that doesn’t work but it’s pretty obvious straight away.

[–] [email protected] 15 points 6 months ago (2 children)

Partially. The summary isn’t quite in line with the detail:

Android is the only operating system that fully immunizes VPN apps from the attack because it doesn't implement option 121. For all other OSes, there are no complete fixes. When apps run on Linux there’s a setting that minimizes the effects, but even then TunnelVision can be used to exploit a side channel that can be used to de-anonymize destination traffic and perform targeted denial-of-service attacks.

 
 
 
view more: next ›