Skip Navigation
C can be memory-safe (2023)
  • I know what you mean. I’ve been doing higher level development for a couple decades and only now really getting into embedded stuff the past year or two. I dislike a lot of what C makes necessary when dealing with memory and controlling interrupts to avoid data races.

    I see rust officially supported on newer ARM Cortex processors and that sounds like it would be an awesome environment. But I’m not about to stake these projects with a hobbyist library for the 8-bit AVR processors I’m actually having to use.

    Unfortunately I just have to suck it up and understand how the ECU works at the processor/instruction level and it’s fine until there are better tools (or I get to use better processors).

    ETA: I’ve thought also that most of the avr headers are just register definitions and simple macros, maybe it wouldn’t be so bad to convert them to rust myself? But then it’s my library that’s probably broken lol

  • Steam Deckbuilders Fest
  • I didn’t expect to like Balatro as much as I did. I’m a big fan of deck builders but the poker theme was not super compelling to me. But wow, I’ve had a blast with it. Just boils down to a really good set of mechanics and some ridiculous fun builds. I don’t think it will hold my attention as long as like Slay the Spire or Monster Train but it was well worth the price.

  • Critics must rescore Dragon's Dogma 2 in light of microtransactions
  • Thanks for confirming this, all the rage around this game is exhausting. I loved the first game, would probably place it in my top ten of all time. I have no complaints about omg actually having to traverse the world. It’s the way the game is designed to play. If there are paid workarounds to play it a different way it doesn’t affect me or anybody else who loves this kind of game.

  • Critically acclaimed Dragon's Dogma 2 hits "mostly negative" on Steam after players raze it for microtransactions
  • The original dragons dogma had poor quality of life features and its arguably a large part of the appeal. No fast travel, no multiple saves. If you didn’t like your little ai character you had to advance pretty far to change it (and the same with fast travel, it sort of existed and was a surprisingly cool unique system but you had to get through a lot of the game for it). I’d compare it in a lot of ways to the first dark souls as far as not following gaming industry trends.

    I was hoping dragons dogma 2 was more of the same honestly, I don’t think I care if travel stones can be purchased or whatever. Is it a bad game for those that liked the first one?

  • Kyle Rittenhouse storms off stage after being confronted by students
  • And those folks wouldn’t be commenting at all if he wasn’t paraded around like some “get away with murder” mascot. It was a massive and heinous childhood fuckup and he’s giving speeches at colleges now like he’s something one should aspire to be. Technicalities of the trial are not the real problem people have.

  • Kyle Rittenhouse storms off stage after being confronted by students
  • Yeah so I don’t think he went and killed some folks to get famous, I think he happened to kill some folks and got famous. And he’s malaligned, certainly a dumb kid like most of us were.

    My criticism of Kyle is more around conservative folks who want to lean into that dumb kid fuck up like it’s something aspirational.

    I think absolutely if you want to hold it up as a triumph of the justice system I’m with you. But as an example of a good human not so much.

  • Kyle Rittenhouse storms off stage after being confronted by students
  • Dude provocation is entirely dependent on how others feel. If I find you bringing a rifle to my kid's birthday party is unsettling then you’ve by definition provoked me. I don’t care if you’re not pointing it at anyone lol

  • Kyle Rittenhouse storms off stage after being confronted by students
  • I think that most critics of Kyle Rittenhouse don't disagree with the carriage of justice as much as the disgusting capitalization of his person after the fact. And the entire rationalization for bringing a weapon to a protest is frankly sick, whether he used justified force or not.

  • My jaw hit the floor when I watched an AI master one of the world's toughest physical games in just six hours
  • AI has been a field within computer science since at least the 1950s. It encompasses algorithms for making decisions, which is why so many technologies are labeled this way. “Intelligence” may seem like an odd choice of terminology (some people conflate it with sentience or similar), but general machine intelligence is one goal of this study, and the applications of AI are putative steps to that end.

    Back when those guys started talking about what methods could get us there, things like decision trees, symbolic manipulation, neural nets, were all potential pathways that were on the table. So these get included in the field because that’s where and to what end they were produced.

    Another thing is that intelligence can be narrow in its domain. A character in a video game that needs to move from point A to point B can do so following something like the A* pathfinding algorithm. In the domain of graph traversal/pathfinding, it’s hard to imagine something much more intelligent (or fit to solve the problem) than A* despite being a simple algorithm.

    But yeah, as a marketing term it is kind of silly since most people don’t know what it means. It remains a useful categorization for a broad field of study/research in CS though.

  • Removed
    CNN blocks Firefox with uBo
  • I got the same message on iOS Safari with no special config or UA switching (just an ad-blocker). I figure it’s a badly implemented feature. But holy shit I thought the browser wars settled out a long time ago and we had decent standards in place, guess we’re regressing back 20 years though.

  • this AI thing
  • Yeah, I find it works really well for brainstorming and “rubber-ducking” when I’m thinking about approaches to something. Things I’d normally do in a conversation with a coworker when I really am looking more for a listener than for actual feedback.

    I can also usually get useful code out of it that would otherwise be tedious or fiddly to write myself. Things like “take this big enum and write a function that converts the members to human-friendly strings.”

  • autism milk rule
  • Not to mention meds to suppress expression of autism traits and behavioral therapies like ABA that make daily existence a constant effort. But hey, they make it less awkward for allistic people to share spaces with autistic people. Or god forbid, have them accept that some folks have different ways of engaging with the world.

  • Automakers must build cheaper, smaller EVs to spur adoption, report says
  • As the gp poster I didn’t mean to sound like I’m dumping on rural life. I grew up in a rural area, riding four-wheelers and roaming the woods till the sun went down. One of my best friends started a family around the same time I did and opted to buy some acreage a decent commute away from town. They ride dirt bikes with their kids on literal mountains in the backyard, have a chicken coop and machine shop, deer wander up and eat their vegetable garden. It’s super rad and I wouldn’t mind having gone that route either.

    I really didn’t dig the suburbs and having to drive literally everywhere though. On the balance I liked the diversity in the city and having easy access to metropolitan amenities. I’d never shit on the rural route and it may well be where I end up, I just thought it was wild how much blowback I got from wanting to raise a kid in the city.

  • What are some popular applications that use C?
  • I know you mean software applications, but another very common application of C is almost any device that uses a microcontroller unit (which is probably dozens of things you own right now). It is incredibly adept at interfacing with processing units at a level close to the metal.

    That’s also why you’ll see OS kernels and low level system tools and libs in C as well. It provides a good balance of functionality and abstraction so you can scaffold from register manipulation and interrupt functions up to high level code very quickly.

    It also provides a good application binary interface (standards of interoperation with other languages) so you’ll find a lot of applications may be written in C++, Java, Python, etc. but they use a decent amount of core functionality implemented in C.

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)IN
    infamousta @sh.itjust.works
    Posts 0
    Comments 34