[-] zib@kbin.social 6 points 7 months ago

No idea, but it wouldn't surprise me. The corporations are basically the modern gods of Japan.

[-] zib@kbin.social 7 points 7 months ago

Thanks, friend, you too. And remember, best ideas win... unless you happen to know what you're doing.

[-] zib@kbin.social 5 points 9 months ago

Don't forget the perk of forcing others to license the technology if they want to use it themselves.

[-] zib@kbin.social 5 points 10 months ago

In my case, I use a PCI card with an m.2 slot for my OS drive. I lose a PCI slot, but I already had a few to spare.

[-] zib@kbin.social 5 points 11 months ago

I can understand telling you not to use break and continue if the point is to teach you to think about different ways to solve problems, but saying it's because "it makes the code harder to read" is bullshit. Readable code flow is important, but if using those makes your code too hard to read, your problem is most likely that you've just written shitty code.

To get really into the technical weeds, what break and continue boil down to in the compiled machine code is a non-conditional branch instruction. This is just going to move the execution pointer to a different location in memory. Other keywords, such as if, elif, and else, will compile down to conditional branch instructions. Basically the same thing, but they have the added cost of having to evaluate some data to see if the branch should happen at all. You can achieve the same things with both, but the high level code might need to look different.

For instance, if you're in a loop, continue will let you skip the rest of the code in the loop to get to the next iteration. Not a huge deal to instead make the entire code block conditional to skip it. However, the break keyword will let you exit the loop at any point, which is more complicated to deal with. You would have to conditionalize your code block and force the looping condition to something that would stop it on the next iteration. If you ask me, that has the potential to be much more complicated than necessary.

Also, good luck using switch without any breaks, but I'm guessing that's not quite what your teacher had in mind.

In short, just go with it for now. Be creative and find a way to make it work to your teacher's liking, but always try to be aware of different ways you can accomplish a task. Also, I don't know what language you're using, but if you're in C/C++ or C# and you feel like getting really cheeky, it doesn't sound like she disallowed the use of goto. It's kinda like break with fewer safeguards, so it's super easy to write broken code with it.

[-] zib@kbin.social 6 points 1 year ago

There's a lot to unpack here and I'm not sure I want to.

[-] zib@kbin.social 5 points 1 year ago

Agreed. I keep seeing news outlets trying to turn this into a story, but I just don't give a flying fuck what two consenting adults do on their own time. All this reporting has done is making me aware that an actual human is running for a political position, so probably not the shock and awe they were going for.

[-] zib@kbin.social 7 points 1 year ago

I started out with blue switches years ago and they were obnoxiously loud, so I switched to reds and used those for a long time. Though, I kinda got tired of them and decided to give the Keychron banana switches a try several months ago and I'm absolutely loving them. They have a light tactile feeling, but they're much quieter than Cherry browns. And a huge bonus is that Keychron keys are hotswappable, so if I get any bad keys or feel like switching to a new type, no having to deal with soldering to replace them.

[-] zib@kbin.social 7 points 1 year ago

You know you fucked up bad when even the Pope is saying, "Whoa, slow it down there with the fascism, bud".

[-] zib@kbin.social 6 points 1 year ago

That sounds roughly accurate from my standpoint. I would love to stay where I'm at, but I'm being forced out by the upcoming RTO mandate. And on top of that, our brilliant executive team is currently chasing the AI trend, putting a bad taste in a lot of people's mouths here. I think we also still have a hiring freeze mostly in effect except for a very few select positions with the educated guess that another RIF may be coming in the next few months. The whole thing makes me really angry the more I think about it.

[-] zib@kbin.social 5 points 1 year ago

Listen, I'm on a Zoom call with my cult elder planning our next orgy. Can you make this quick?

[-] zib@kbin.social 7 points 1 year ago

I could be misinformed on this, but I've heard some countries outside the US have huge upcharges on things like peanut butter for no other reason than marketing it as a luxury ingredient. But, there could be more to it that I'm not aware of.

view more: ‹ prev next ›

zib

joined 1 year ago