Yo whatup

  • 0 Posts
  • 186 Comments
Joined 2 years ago
cake
Cake day: September 28th, 2023

help-circle

  • I find it unfair to blame my peers for things largly out of their control. If you are born into an abusive family you’ll only ever know if you happen to luck into the information that such behavior is unhealthy. Is it some of their faults? Certainly, I know people who are willfully stupid and refuse to learn but even knowing these people I feel pretty uncomfortable blaming them for it. I’ve talked to them, I’ve educated them on stuff they were willfully ignorant of and do you know what it generally boils down to? School has taught them that learning things is hard and a waste of their time. They’d rather waste hours trying to get an LLM to generate a script for them than sit down and figure out how to do it despite knowing I’d happily help them.

    School has managed to taint “learning” in the minds of many of my peers to such an extent that it should be avoided at any cost. School has failed us, is still failing the current generation and nothing is going to be done about it because it’s working as it’s meant to. This is the intended outcome. Like genuinely the scale of the fuckup is to the extent that enjoying reading is not just rare but seen as weird. We’ve managed to take one of the best ways to educate yourself and instill dread in our children when it’s brought up. How do we expect people who’ve been taught to hate reading to just magically turn around and unfuck themselves? What’d they see a really motivating Tik Tok or some shit? I despise that platform but like seriously you older people just don’t it man. Been complaing since middle school and now people wanna turn around and blame us as if it’s some personal failing it’s fucked up dude. Our education sucks, has sucked and will continue to suck even worse until we stop pretending like this is some kind of personal failing.


  • The main point here (which I think is valid despite my status as a not in this group Gen Z) is that we’re still like really young? I’m 20 dude, it’s just not my or my friends fault that school failed us. The fact it failed us was by design and despite my own and others complaints it’s continued to fail the next generation and alpha is already, very clearly struggling. I really just don’t think there’s much ground to argue about how Gen Z by and large should somehow know better. The whole point of the public education system is to ensure we well educate our children, it’s simply not my or any child’s fault that school is failing to do so. Now that I’m an adult I can, and I do push for improved education but clearly people like me don’t have our priorities straight seeing who got elected…


  • What ramdon ass language could they possibly be pulling out of their ass for you to he completely unable to write a for loop? I’ve yet to see a for loop, or really any sort of loop that doesn’t look pretty much exactly like the standard C style for loop

    for(int x = 0; x < z; x++) {
    }
    

    If you have a C style language with iterator for loops like C++, Java and friends you almost certainly have this syntax

    for(int x : numbers) {
    }
    

    Python has exclusively iterator for loops with this syntax

    for x in range(z)
    

    The only real difference is that instead of a colon : you use the in token.

    At best I can see the need for a quick refresh on what the exact syntax is but if your a senior any languages you actually use should have a template for junk like this. I don’t think I’ve manually written a loop in ages, I just type out iter for an iterator for loop or when I rarely need an index fori and the rest gets stamped out for me.

    If your being tested on random languages you can simply just not be familiar with a language. I haven’t touched Zig once but I’d totally be down to learn it. Everybody whos got a couple languages under their belt knows how easy it is to pick up new ones.


  • Actual new battery tech? I didn’t see the capacity listed/compared to a normal lith-ion of the same volume but it does say they have some issues with voltage. I’m not sure how annoying that actually is (not super good with electricity) but this looks rather promising. Might see smart watches and similar devices without any flat hard surfaces using these combined with flexable screen tech. Course like always this stuff is extremely reliant on the capacity being workable, if it’s too much less than the equivalent in lith-ion it’s just not going to get used.


  • Occasionally yes but 6 months is frankly just not worrying at all. Loads of projects rarely get updates, for example video games Operating systems, for example take Android, is Android abandoned because each update takes about a year? Obviously no, the frequency of updates doesn’t correlate to if the project is abandoned. People hassling rmayayo (albeit via a post) is not at all helpful to actually making any progress. Speaking from experience that kind of bs makes me want to stop working on my project. Obviously my work isn’t appreciated if all they care about is release speed. Look to literally any large project, especially in the OSS world and you’ll typically see pretty lengthy gaps between releases and very few patches. That means they release less frequently for higher quality, something that isn’t possible if the only thing you care about is how often you get updates


  • B-but I thought Boost was abandoned because you didn’t update it for awhile…

    On a serious note thanks for your work rmayayo I’m only on lemmy cause of you. I’m not sure how you resist making fun of those “Boost is abandoned” people, really grinds my gears as somebody who’s released stuff of my own and had people making similar claims for absolutely no reason (literally have a public git they can look at) but oh well. I’ve been extremely pleased with Boost both back on reddit and now here on lemmy your work is appreciated man







  • While this is pretty hilarious LLMs don’t actually “know” anything in the usual sense of the word. An LLM, or a Large Language Model is a basically a system that maps “words” to other “words” to allow a computer to understand language. IE all an LLM knows is that when it sees “I love” what probably comes next is “my mom|my dad|ect”. Because of this behavior, and the fact we can train them on the massive swath of people asking questions and getting awnsers on the internet LLMs essentially by chance are mostly okay at “answering” a question but really they are just picking the next most likely word over and over from their training which usually ends up reasonably accurate.








  • So your writing a game. This game has what I’m going to call “entities” which are the dynamic NPCs and such objects. So these objects are most easily conceptualized as mutable things. Why mutable? Well they move around, change states depending on game events ect. If this object is immutable you’d have to tie the in world representation to a new object, constantly just because it moved slightly or something else. This object is mutable not just because it’s easier to understand but there are even efficiency gains due to not needing to constantly create a new version just because it moved a little bit.

    In contrast the object which holds the position data (in this case we’ll have 3 doubles x, y, z) makes a lot of sense as an immutable object. This kind object is small making it cheap to replace (it’s just 3 doubles, so 3*64 bits or a total of 24 bytes) and it’s representing something that naturally makes sense as being immutable, it’s a set of 3 numbers.

    Now another comparison your typical dynamic array type container (this is your std::vector std::vec ArrayList and friends). These are mutable objects mainly due to efficiency (it’s expensive to copy the contents when adding new values) yet they also are easier to conceptualize when mutable. It’s an object containing a collection of stuff like a box, you can put things in, take stuff out but it’s still the same box, just it’s contents have changed. If these objects are immutable to put something into the box you must first create a brand new box, and create a copy of the old boxes contents, and then put your new item into the box. Every time. Sometimes this kind of thing makes sense but it’s certainly not a common situation.

    Some functional languages do have immutable data structures however in reality the compiler usually does some magic and ends up using a mutable type as it’s simply so much more efficient.