Was expecting Euler diagrams in this…
Was expecting Euler diagrams in this…
I kind of love the idea of the ternary operator. C is all about being a procedural language, except this is of course a lie, because it does have mathematical expressions.
But then they realized that it’s not just mathematical expressions where being purely procedural is kind of shit, so they wanted to introduce if-else expressions.
But oh no, we can’t have it look like the if-else control flow element. This is where madness functional programming lies. Let’s make it look like a mathematical expression instead, by choosing the ugliest syntax known to man.
But what really makes it a meme is that other languages decided they needed to look like C, so they copied this terrible design and even though JavaScript has almost nothing to do with C anymore, webdevs in particular get to suffer from the unreadable syntax all the more.
Having recently found out I might be allergic to wheat, I also have to say I’d rather have “gluten-free” printed on the most ridiculous products than to not be quite sure. You would not believe in how many products, there’s some form of wheat (which in particular also includes barley and spelt).
For example, I bought some vinegar recently and then saw that it contains barley malt syrup. I guess, my assumption was wrong that wheat isn’t a liquid. But I’m not even sure, if that one would be covered by “gluten-free” either.
Yeah, I kind of respect the stance, because it knows what it wants to be, but I also wrap number types into a separate data type to document that maybe you shouldn’t multiply a port number by the wheel count and pass that into the temperature parameter, because I want more fine-grained typing, not one-size-fits-all.
Groovy will automatically convert integers into objects, as it sees fit. And one such case is when you assign null
to an integer.
There’s some more languages, which try to treat primitive types like objects, to make them more consistently usable. As I understand, nullability is a big part of the reason why it can’t be solved with syntactic sugar, so presumably this would be possible in all those languages.
If I’m not mistaken, Ruby is another one of those languages.
I believe, that would mean that any 0 is equivalent to the null pointer, since the null pointer is just memory address 0…
I do agree, yeah. If we would have auto-detection, I’d want a manual override to be implemented for sure.
It’s a CLI, so it wouldn’t be too bad to add a --browser=firefox
flag or similar, but it just makes it even more obvious that this feature only adds complexity, because we would have two solutions when we hardly needed one.
We currently have a semi-serious project at $DAYJOB, like we’re basically allowed to work on it as a team building thing. And one guy who’s tugging along has ten years more programming experience than me, but no experience with the programming language we’re using, so he’s been generating everything with LLMs.
He knows to write unit tests and well, the programming language in question is Rust, which’s strict compiler prevents lots of bad code from happening. So, this isn’t your stereotypical vibecoding.
But …yeah, it’s still been challenging to work with.
Yesterday, the guy built a feature which basically gives the user instructions how to create a bookmark in their browser. There’s a few ways to implement this:
Right, and apparently the fourth way to implement this, which the LLM generated, is to detect what the default browser of the user is.
Leaving aside the problem that some users will want to set up different browsers than their default browser, how do you implement that? Is there some nice, cross-platform API for it? Well, if there is, the LLM didn’t know about it.
And neither are there nice APIs per operating system. On macOS and Linux, it runs some random commands to access this information. On Windows, the generated code looks at the Registry.
All of this is absolutely horrid to maintain. I do not want to be testing on each OS separately. I do not want hundreds of lines of code for a feature that’s not actually needed. And the worst part is, the guy should know this. He has the experience.
But I’ve seen the guy when he chats with an LLM, just falls into an absolute trance. Does not surprise me that he’s unable to take a step back to think, if this even makes sense to do…
Fish is not the worst in this regard, because:
But there may still be situations where it’s annoying, like if you’re working in a container, then you likely don’t want to mount your fish
executable every time.
But I also have to say I don’t find it too big of a deal.
I still use Bash for scripting (just throw a or
at the top of your script, like you should anyways), and then for interactive use, not that much of the shell syntax comes into play anyways.
And if I ever do need to copy a complex Bash command into an interactive shell, I can just run bash
, then run the command in there and then exit
back out.
In the sense that “on the spectrum” is often used to say that someone has autistic traits, yeah. But there would still be a spectrum and everyone would be on it, it would just reach from no autistic traits to maximum autism.
Polandball would be another web comic like that. Although the characters are just circles with flags in them, so no idea how useful that is.
You technically didn’t ask for them, but presumably this goes hand-in-hand with reduce and reuse as first steps, which would have perhaps a more visible impact.
Reduce means to cut back on the amount of products we produce in the first place, particularly also the trash being used for packaging.
This would require:
Reuse means to sell products in glass jars, metal boxes or similar, which can be washed out and filled anew.
This would require:
As for recycling, i.e. breaking the thing down and creating a new thing, it’s unlikely that we would ever reach 100% with it alone, at the very least because it’s more effort than reduce and reuse.
But to improve our rates, there is a whole load of products currently being sold in plastic, which could be sold in paper or wood, if glass jars or metal boxes don’t work there.
In a hypothetical world, where we could have 100% effective recycling without giving a toss about reduce and reuse, then I guess, we’d have a garbage disposal system which funnels right back into a massive 3D printer.
Can do it in my sleep even.
Eh, as much as there’s obviously folks who use certain distros for the fun of it, the vast majority of distros get created to cover a specific use-case. If you have that use-case, then deploying the respective distro brings you so much closer to your target setup than the easy installation of a noob distro could save you time.
I also have to say, many stereotypical noob distros make extremely conservative choices, which makes them harder or scarier to use in various ways, like for example not having filesystem rollback. I cannot imagine going back to that, specifically because I have shit to do.
It’s not like the cat got hurt. It’s just a silly color for a few weeks.
I imagine, they wash the spices out with water afterwards. I doubt the discolored hair taste of anything.
I made a bouncycastle-based version later
I enjoy how nonsensical this must sound to people unfamiliar with Java. 🙃
From what I understand, this is what carrots often looked like originally. It was later on that we selected for more orange carrots.
Either way, they certainly don’t taste beetroot-y. I’ve heard them described as somewhat sweeter. I’ve had them only once so far, but would agree with that description in the sense that they have a more rounded taste. I think, I like their taste slightly more.
Wikipedia also says that the orange carrots probably won out not for tasting better, but rather because they don’t discolor stews, which is a fair reason.
Oh, I didn’t mean to put your comment into question. I did find pictures on the internet like these, so it seems to be a thing:
Purple carrots have been around for longer than the orange variety, though, so it’d be a bit weird to create a variety which is only purple on the outside just for scam purposes. Like, you can likely get the seeds for actually purple carrots much more easily. 🙃
Pretty sure the green area is supposed to be the overlap of (1) and (2). 🙃
So, it’s people who know what both a Venn and a Euler diagram are, but don’t necessarily know the difference. One could argue that if you’re in (1) and/or (2), you could reliably answer a quiz question correctly for what a Venn and/or Euler diagram is, therefore you wouldn’t confuse the two.
So, maybe (3) could expand down like an hourglass, so that part of it is on the overlap and part of it is outside of both (1) and (2)…