“Trignometry” might be my favorite typo.
“Trignometry” might be my favorite typo.
Yeah, this seems to be a display name, not some technical identifier. Microsoft cares about displaying it correctly, because it’s their product, but I doubt anyone else does…
Unlikely to be the case for mice, though, since lots of mice use the same drivers. As far as I’m aware, there’s just a handful of popular chipsets, which implement the logic, so you just need a handful of drivers.
This is particularly apparent on Linux, where most drivers are built into the kernel. You can take virtually any mouse and use it on Linux without installing drivers (although you might still want a separate program to setup LEDs or DPI profiles or whatever).
And yeah, you don’t want to have to get a patch into the Linux kernel to fix random spelling mistakes or similar…
Yeah, that’s the funniest thing to me. There’s an actual fruit that we could eat. Instead, we take the seed, roast it, grind it and soak it in boiling water. Then we drink the water.
You couldn’t disrespect the coffee plant more, if you tried.
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)…
Was expecting Euler diagrams in this…
The thing is, producing another copy doesn’t cost you money. So, if you price it at $20 and 4 people buy it, when only one person would have bought it at $80, then you’ve made the same money.
They only decide to put the price as high as they do, because they hope to extract as much money as possible from the fools that buy on release. Then they later put it on sale in hopes of also collecting the money from those not willing to pay $80.
On some level, I assume they know how to make as much money as possible, but the same time, I do feel like the hype around Silksong would be a fraction of its size, if the game cost $80.
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…
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.
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. 🙃
Ah, fair enough. Not sure how to do that then.
I was gonna say, I feel like the current method does a good enough job documenting that validation has happened, but I guess you do want it reflected in the structure of the type, so that the code that takes the information from the struct can safely make the assumption that some of the options don’t exist. And then, yeah, it would be nice to not need a separate parsing step for that.
Just to note, I disagree entirely. Even in commercial development, it’s the core premise of agile development to ship features early and continuously integrate feedback. Granted, lots of companies claim to do agile without actually doing it, but it’s at least not a law of nature what you’re describing.
But with this not being commercial development either way, I really don’t feel like you can make any predictions. If the volunteer that implemented this sees your bug report, they could decide to drop everything else and fix that, because they get to pick their own priorities. They might have the solution in their head right away and it doesn’t take them long at all to implement. Or someone new to the project might decide this sounds like a good issue to get started with.
Clap has dependent options and mutually-exclusive argument groups built-in: https://docs.rs/clap/latest/clap/_derive/_tutorial/index.html#argument-relations
For the environment-specific requirements, you can use compiler feature flags…
Kind of felt like that last week. Our web-UI would automatically reload when you switched tabs, clearing out what the user had entered into a form. I started debugging, but the build times of our web-UI have been abysmal, making it extremely tedious to sprinkle log statements over the code for narrowing down what triggers the reload.
So, I decided to fix the build times first. The solution wasn’t complex, basically just pull out a module into a separate library to benefit from incremental compilation, but with all the import changes and some additional restructuring, it still ended up being around 2000 lines of code changed.
Then I went back to debugging the reload problem, looked at it for 10 minutes, maybe rebuilt 3 times or so, and then made a lucky guess where I just changed one word for another and that fixed it. 🫠