• 0 Posts
  • 42 Comments
Joined 1Y ago
cake
Cake day: Jul 09, 2023

help-circle
rss

I really enjoy programming, but generally I dislike cooking. I just want to eat, not spend time preparing to eat.

My experience with cooking has been that because I don’t do it enough, I’m constantly dealing with food expiration dates and having to plan carefully around them.

In comparison, I’ve got some servers that have been running maintenance free for 5+ years. (Probably not the most secure thing, but meh, I don’t have customers other than myself)

I think programmers often have hobbies that are more physical though. For me, I like working on my car because turning bolts and working with my hands lets my brain turn off for a while. I could see cooking and following a recipe being in the same category for others.


After reading that I’m still really confused who these cars were stolen from. From the sounds of things, the current owners are losing their newly bought vehicles only for them to get put back on a dealer lot, which is just insane.

Surely by now the original owners have already claimed insurance on their stolen vehicles? The police repossessing them from legal purchasers who were unaware just seems like it’s making the whole situation worse.


It really depends on what you’re measuring. Good luck measuring the distance from a corner if you can’t get 0 to touch the end.

Tape measures are almost always designed with this in mind, so you can hook the end over an edge, or butt it up against something and the measurement will be accurate both ways, since the metal end can slide in or out by just the right amount.


I have absolutely no clue what my highschool locker combination is, but I guarantee you if you handed me the lock, I could open it first or second try. That muscle memory is burned deep into my hands, and it’s been over 10 years.


All I see now is blonde, brunette, redhead.

  • Cypher, The Matrix

Ah yes… several years ago now I was working on a tool called Toxiproxy that (among other things) could slice up the stream chunks into many random small pieces before forwarding them along. It turned out to be very useful for testing applications for this kind of bug.


And that’s where Release with debug symbols comes in. Definitely harder to track down what’s going on when it skips 10 lines of code in one step though. Usually my code ends up the other way though, because debug mode has extra assertions to catch things like uninitialized memory or access-after-free (I think specifically MSVC sets memory to 0xcdcdcdcd on free in debug mode).


That’s definitely a non-trivial amount of data. Storage fast enough to read/write that isn’t cheap either, so it makes perfect sense you’d want to process it and narrow it down to a smaller subset of data ASAP. The physics of it is way over my head, but I at least understand the challenge of dealing with that much data.

Thanks for the read!


Neat, thanks for sharing. Reminds me of old mainframe computers where students and researchers had to apply for processing time. Large data analysis definitely makes sense for C++, and it’s pretty low risk. Presumably you’d be able to go back and reprocess stuff if something went wrong? Or is more of a live-feed that’s not practical to store?


It really depends what you’re doing. The last big project I did with C++ templates was using them to make a lot of compile-time guarantees about concurrency locks so they don’t need to be checked at runtime (thus trading my development time for faster performance). I was able to hide the majority of the templates from users of the library, and spent extra time writing custom static_assert messages.

C++ templates are in fact a compile-time turing complete language, as crazy as that sounds.


Yep, sadly I’ve been exposed to a few such codebases before. I certainly learned a lot about how NOT to design a project.

You’ve been at it longer than I have, but I’ve already had coworkers look at me like I’m a wizard for decoding their error message. You do get a feel for where the important parts of the error actually are over time. So much scrolling though…


Yep, I learned about this exact case when I got my engineering degree.


I guess you’ve never seen some of the 10-page template errors C++ compilers will generate. I don’t think anything prepares you for that.


I’m not sure how I feel about someone controlling an X-ray machine with C++ when they haven’t used the language before… At least it’s not for use on humans.


I’m not disagreeing with you. I’m just stating that a broken unplayable game objectively has no value. The publisher has forced that value to 0 if they turn off their servers without support, regardless of if there was any value there before or not.

Edit: I realize we might be talking about different things when saying “stop supporting”. I meant that to mean when the servers are turned off, not when they stop releasing updates or delist it from stores.


But that assumes that the (live service) game loses value after the company stops supporting it

Well yeah. Obviously the game losses value BECAUSE it’s not being supported anymore. There’s no value in a paperweight.


My understanding is that this would force games to be sold as either a good (lasts forever) or a service (lasts a specific, advertized amount of time). It does not prevent service games from existing, it just stops them being sold as goods with an unspecified expiration date. The problem is consumers are uninformed about the lifetime of the game they are purchasing.


If it’s someone else’s job to design things, then that’s a pretty terrible specification. But depending on your role, it’s common enough for there to be one person who designs and builds a feature like “User projects dashboard”, and the job is to decide what’s important based on the product. Especially with smaller companies.



Am I the only one left writing pure JS webpages? I swear for the stuff I’ve done recently, adding React or even jQuery makes things 10x more complicated and bloated. The base JS support browsers have now is actually great. It’s not like the old days trying to support every browser back to IE6


This graph actually shows a little more about what’s happening with the randomness or “temperature” of the LLM.
It’s actually predicting the probability of every word (token) it knows of coming next, all at once.
The temperature then says how random it should be when picking from that list of probable next words. A temperature of 0 means it always picks the most likely next word, which in this case ends up being 42.
As the temperature increases, it gets more random (but you can see it still isn’t a perfect random distribution with a higher temperature value)



Welcome to our homepage! We have implemented the navigation menu in Adobe Flash Player to maximize your audio visual experience.



self.gender = 1.63-2.1j 🤔


Honestly an airline tycoon game could be a game on it’s own where you have to manage airports, passengers, cargo, routes, etc… Especially if you could mod in, or build your own planes. Sounds fun



Alpine linux is already in the lockercontainer.


That just means it’s got 2 separate parts inside and outside connected by refrigerant lines (i.e. not a window unit that’s all one piece). Most AC-only units would also be considered “split type”.


Can you even buy appliances like ovens that display °C instead of °F in Canada? Recipes are still all pretty locked into sharing imperial units with the US.


As was stated by someone else, this should be “construction” specifically. All our lumber is shared with the US, so it’s measured in inches/feet. I think most buildings have wall stud spacing measured in inches here to match lumber sizes like 2x4"


This article seems poorly written and says the same thing over and over again with slightly different wording. I would have liked some more specifics.

The Cyber Resilience Act (CRA) could have several implications for the open source software sector:

  1. Increased legal and financial responsibility
  2. Deterrent effect on the development of open source software
  3. Lack of consideration for the specificities of open source software
  4. Lack of consultation of the open source software community

Only 2 of those are implications of the law. 3 and 4 are redundant and are not caused by the law’s wording. They wouldn’t even be a problem if not for 1. 2 is also caused by 1 in a fairly obvious way.


Hows does the limitation of liability section in basically every open source license factor into this? It seems like you’d be fine as long as you aren’t personally using the code commercially? Or would this new law somehow override the open source license?


I’m pleasantly surprised to learn that an independent investigation committee even exists. Hopefully they can push enough to actually get some accountability.

As much as things are broken here in Canada, this is refreshing after reading so much US politics.


There’s a “Bot Account” checkbox in your user profile settings. You should be able to just deselect it, and you’ll be a normal user.


Why is your user flagged as a bot account? You certainly aren’t behaving like a bot.


Personally I use dnsrobocert with my own domains. I’ve got a few subdomains that point to a Wireguard subnet IP for private network apps (so it resolves to nothing if you’re not on VPN). Having a real valid SSL cert is really nice vs self signing, and it keeps my browser with HTTPS-Everywhere happy.


UTF-8 is absolutely magical in how it’s backwards compatible with ASCII. Windows still uses UTF-16 which makes supporting Unicode filenames and stuff a huge pain compared to linux. At least pretty much the entire web is UTF-8.



Elliot really is the kind of guy who would have all those numbers memorized and be able instantly recite them.