• 0 Posts
  • 295 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle




  • Thereā€™s a few programming languages that arenā€™t based around English, but theyā€™re pretty rare and Iā€™m not sure many people use them. Itā€™s kind of sad because it makes programming much less accessible if youā€™re not an English speakerā€¦ But itā€™s also sort of a blessing because itā€™s easier to understand code you might have to interact with because itā€™s probably written in an English-ish language with the Roman alphabet, and youā€™re not stuck trying to read Japanese or Arabic or something to understand a library. I have mixed feelings on it. Itā€™s convenient for me as an English speaker, but it also seems kind of unfortunate. Iā€™ve heard that computer science is a field which is having a pretty big impact on the spread of English in the world, but I havenā€™t found a citation for that and Iā€™m not sure I believe it.


  • Chobbes@lemmy.worldtolinuxmemes@lemmy.worldā€¢I don't...
    link
    fedilink
    arrow-up
    1
    Ā·
    11 months ago

    What does it do on new hardware? Not a lot of people are running normal desktop Linux on phones / tablets, are they? Which, totally cool if it works better on those thingsā€¦ but I guess Iā€™m just surprised by how much hype there is for Wayland when X just works for me and would presumably just work for most peopleā€™s use cases. Likeā€¦ who are all of these people that are emotionally invested in display servers, and what am I missing?

    I mean, 20 years ago or whatever there was always the pain of black screens and X configsā€¦ but it just kind of works now in my experience?


  • Chobbes@lemmy.worldtolinuxmemes@lemmy.worldā€¢I don't...
    link
    fedilink
    arrow-up
    25
    arrow-down
    2
    Ā·
    11 months ago

    Whatā€™s so much better about Wayland than X? I mean, Iā€™m not really a fan of X and the security nightmare that it is, but as a user itā€™s all pretty plug and play these days. What does a normal user get out of Wayland? Would they even know theyā€™re using it?

    Iā€™d love to try it, but it currently wonā€™t work with some software I use, so I havenā€™t botheredā€¦ And honestly Iā€™m kind of confused about how everybody is talking about how amazing Wayland is (and how it seems to suddenly be the one true path for a bunch of distros) when my only experience with Wayland is people talking about how great it is and then not being able to screenshare or whateverā€¦ Which doesnā€™t make it seem great from the outside? That maybe sounds a bit flippant, but I genuinely donā€™t understand why ā€œnormalā€ people are so excited? I mean, I can see people caring about features like HDR and maybe thatā€™s easier to build into Wayland than ancient X11, but Iā€™d be more excited about the specific feature than Wayland itself which may make implementing these things easier?



  • Yeahā€¦ This maybe isnā€™t the nicest way to phrase it, but Iā€™ve seen similar situations. Usually people are just kind of talking behind peopleā€™s backs, but sometimes it gets nasty :(. Frankly people kind of get bullied all the time everywhere. Itā€™s maybe not as violent as playground bullying but people will be shitty to people at work, school, whatever. Do your best not to be a part of it, try to be self aware if you might hurt somebody elseā€™s feelings, and try to stand up for people.


  • Chobbes@lemmy.worldtolinuxmemes@lemmy.worldā€¢Linux users when
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    Ā·
    11 months ago

    Huh. Iā€™ve used chirp under Linux before and I just installed it with my package manager. Maybe it wasnā€™t available on your distro? Then it can get a lot more tricky. The other problem with these things can be permissionsā€¦ once you have chirp installed maybe you need to add your user to the dial out group in order to be able to use the serial port to flash the radios.


  • Chobbes@lemmy.worldtoTechnology@lemmy.worldā€¢bash.org is gone
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    Ā·
    edit-2
    11 months ago

    Thatā€™s fair, but IRC also tends to leak information about users to everybody. Theyā€™re maybe bad in slightly different ways, but frankly if you care about privacy that much you probably shouldnā€™t use either, at least not with additional protections.




  • The ones I do play, I tend to enjoy shooting at monsters more than people these days, but a lot of the ones I enjoy donā€™t really have a compelling story or campaign to go alongside them.

    Yeah, I think Iā€™ve really fallen off of the whole ā€œmodern warfareā€ thing. Iā€™m sure I could enjoy a military shooter just fine still, but itā€™s not something I seek out because it makes me think too much about scary things that happen in the real world, I guess. I donā€™t want to be a soldier, I guess.

    That culture shaped my personality and as a mild mannered introvert in real life it lets me engage in that hero fantasy without harm to others or myself. I enjoy it and Iā€™ve come to accept it for being that.

    Absolutely, and I donā€™t think thereā€™s anything necessarily wrong with that. It can be harmless fun and all, but sometimes I wonder why I enjoy this particular kind of power fantasy, and if I really should. Itā€™s a lot easier when itā€™s all cartoonishly evil stuff, but things that go for more gritty, edgy, and ā€œrealā€ vibesā€¦ I dunno. I can still enjoy them, but sometimes I think too much about it and Iā€™m like ā€œI guess this is kind of fucked, huh?ā€

    If you stop to look at it a overwhelming amount of entertainment in general frequently features violence, and I think itā€™s just baked into our universal human experience. Violence has been a mainstay in human history, and art reflects reality. I donā€™t know how Iā€™m supposed to feel about that. In order to maintain my sanity I choose to accept it as a fact of the human condition and, though maybe not revel in it, I will engage that instinct in a safe manner.

    Yeah, I think about this a lot actually. One thing thatā€™s kind of interesting to me is that my partner is often okay with violence in films and TV shows, but is generally pretty opposed to it in video games. I guess video game violence is kind of different in some ways, in some sense youā€™re often committing the acts of violence yourselfā€¦ And it probably doesnā€™t help if youā€™re not engaged with the story, and donā€™t particularly care for video games in the first place, haha. If youā€™re more familiar with film and TV youā€™re probably more okay with it there.

    But yeah, so much media is centered around violenceā€¦ And to be honest, I donā€™t really think itā€™s because itā€™s so central to our lives. I mean, obviously itā€™s still very much present and is a big deal in many ways, and is maybe something weā€™re hard wired to find ā€œinterestingā€ in some sense because it has been present throughout our evolutionary historyā€¦ But in our every day lives I think a lot of us go about our days without seeing much real violence or gore or anythingā€¦ BUT, violence and death is kind of an excellent motivator and catalyst, which I personally think is a huge reason why itā€™s a central part of so much media. Itā€™s a lot easier to justify why youā€™re doing something if itā€™s life or death, and I think itā€™s a huge part of why itā€™s so prevalent in video games tooā€¦ Itā€™s an easy motivator and easy justification for shooting things yourself. Thereā€™s definitely non-violent games, but I think itā€™s much harder to design instant gratification machines that everybody intrinsically understands the goal of unless itā€™s motivated by ā€œdeathā€ in some sense. I think itā€™s pretty difficult to design something that has the kind of cadence and feedback of a shooter without violence and without it seeming arbitrary to a lot of people. I think platformers get pretty close, but most arenā€™t purely about jumping. Maybe rhythm games and sports games too? And thereā€™s been other valiant efforts like Pyre, which I think is super interesting. And of course thereā€™s other kinds of games like city builders and sandboxes and puzzle games and whatnot, but I feel like they have a very different pace and feelā€¦ Which is totally valid and valuable too, of courseā€¦ But can you have something cathartic like a shooter that isnā€™t one? I mean Portal is kind of interesting in this respect too, because itā€™s arguably an FPS but very different and (mostly) non-violent.

    But yeah, Iā€™m kind of just talking out of my assā€¦ And I feel like Iā€™m starting to sound like a bit of a nut whoā€™s opposed to violence in video games and think it will turn people into murderers or something. I donā€™t feel that way at all, and I definitely do enjoy my fair share of violent video gamesā€¦ I guess Iā€™m just trying to think of the other facets of life that I value and enjoy, and Iā€™m kind of wondering where the expression of that is in my video games? And I guess Iā€™ve also been thinking of my partner and how I can better share this thing that I enjoy with themā€¦ But itā€™s kind of hard because so many games are centered around violenceā€¦ And I guess in some sense Iā€™ve also been thinking a bit about what I want to do in this world, and I think maybe I want to do something creative at some point (maybe one day Iā€™ll try putting together a small game or something), and Iā€™ve been thinking a bit about why I would even want to do that, if I want to ā€œsayā€ anything with that piece of work, or if I just want to try to make something thatā€™s ā€œdumb funā€ā€¦ But I guess in the back of my mind I also have these thoughts that Iā€™d like for it to be something that my partner could also enjoy. Iunno.

    And yeah, Iā€™ve enjoyed this too :). Nice talking to ya!


  • John Romero, though no longer at id, is famously quoted as saying that video game stories are akin to the plot of a porno - itā€™s expected to be there, but it isnā€™t expected to be good and it isnā€™t expected to get in the way of the game itself.

    I think this is a Carmack quote? I wouldnā€™t be terribly surprised if Romero felt similarly at the time, but it seems a little less their style.

    I donā€™t think this attitude is wrong necessarily, but it really depends! I think itā€™s fine to just have fun gameplay and no story, and itā€™s also fine to focus on story too. I feel like lately, though, when Iā€™ve been trying to think of ā€œgames with good storiesā€ Iā€™ve kind of had a hard time thinking of any, or maybe Iā€™m just being too critical? Itā€™s certainly true that stories should be different in different mediums, so maybe what it means to be a good story in a game is very differentā€¦ Maybe theyā€™re shorter and less complex than novels and part of the story is in how the gameplay makes you feel in conjunction with the plot so maybe thinking of the plot in isolation isnā€™t very fair to it eitherā€¦

    To be honest Iā€™m real turned around on this stuff lately. Iā€™ve always really liked video games, but a combination of getting older and having more responsibilities and having my values change is making me think a bit more critically about them lately and Iā€™m having more meta thoughts about why I like them (which is maybe a bad thing because it can kind of spoil a thing you love a bit, haha, but I think itā€™s also good to think about these things on some level). Part of this is because my partner doesnā€™t really like video games, which is fairā€¦ They also donā€™t really like the violence and stuff, which makes me question this a bit too. To be clear, theyā€™re actually super supportive and encourage me to play more games and stuffā€¦ But it still makes me think a bit and it makes me think about what they would like and why I like the games that I like (or why I have enjoyed them in the past). Iā€™ve never been particularly scared of video game violence or anything, but I will admit that upon reflectionā€¦ I kind of donā€™t want to shoot a bunch of people? And it kind of makes sense that itā€™s a popular genre because itā€™s really well suited to the input methods we have and itā€™s something that ends up being satisfyingā€¦ But I donā€™t like war, and I donā€™t like violence, so itā€™s kind of weird to have this be a thing that I do all of the time? Not sure how I feel yet.

    Dusk is fucking great, but yeah, story wise itā€™s kind of nothing, other than some kind of x-filesy weird mystery kind of stuff I guess. But yeah, it doesnā€™t need a great story.

    Honestlyā€¦ I donā€™t think Bioshock holds up very well these days. I like it and have enjoyed it, but I think itā€™s mostly a cool setting and idea and falls really flat if you take that away. The story has some interesting stuff but itā€™s pretty clunky and just feels a bit clumsy. I still like it, of course, but Iā€™m not sure Iā€™d show it to somebody in order to demonstrate how games have great stories, you know? Also Bioshock Infinite really doesnā€™t hold up in my opinion.

    I thought about New Vegas too. Itā€™s arguably more of an RPG and the open world stuff maybe puts it in a different category altogether. Itā€™s a very interesting way to tell a story, though, especially with the links between the DLCs and stuff. I go back and forth between thinking itā€™s really well done and kind of overrated, haha. I think the world and factions are interesting, but any individual peace of dialogue or quest isnā€™t amazing, itā€™s more how everything fits together in aggregate that makes it interesting. It feels like itā€™s a somewhat innovative way to tell a story, but not fully perfected and polished yet? And Fallout gameplay is certainly far from perfect, haha. I do keep coming back to it, thoughā€¦ Literally started a new run a few days ago.

    Anyway, I feel like Iā€™m coming off too negatively :). These are all great games in their own ways! Iā€™m just putting too much scrutiny on things to my own detriment, haha.


  • Titanfall 2ā€™s campaign is very goodā€¦ Iā€™m not sure if I would call it the ā€œsingle best campaign to be included in a first person shooter everā€ and I feel like that might be overselling it a little bit, but maybe not? I think the main thing that gives me pause is that while itā€™s great, it still feels a little weirdly like itā€™s tacked onto a multiplayer game (I think itā€™s the fact that thereā€™s kind of a huge selection of weapons to the point that itā€™s a little hard to keep track of and stuff), and I didnā€™t think the story was all that interesting.

    That saidā€¦ If Iā€™m being perfectly honest, Iā€™m not really sure what campaign I would consider to be better, and Titanfall 2 has at least one very high point! The story isnā€™t particularly amazing, but Iā€™m not sure if any first person shooter has a particularly fantastic storyā€¦ Hell, the more I think about it lately the less sure I am that any game has a particularly good story (though maybe ā€œvideo game storyā€ is just kind of its own category and canā€™t really be compared to novels or anything else).

    I think Half-Life 2 and its episodes are what I think of most immediately when I think of ā€œbest single player FPS campaignā€ and I feel like the lore in Half-Life has a bit of a more interesting mysterious vibe to itā€¦ But thereā€™s sort of not much to the story either (kind of intentionally, I guess). Iā€™d also be unsurprised if somebody thought Titanfall 2 was better than Half-Life 2.

    In sumā€¦ HMMMM. Food for thought! Saying Titanfall 2 has the best single player campaign in a FPS feels wrong to meā€¦ but Iā€™m actually not sure I disagree with that take. I think lately Iā€™ve also been having a hard time enjoying first person shooters too. I like them, but I guess the violence is starting to seem kind of dull these days :/.


  • Oh, okay. Not sure if you want an explanation, but itā€™s here if you want!

    The kernel is kind of the part of the operating system that glues everything together. It provides common interfaces for accessing hardware, provides a library of useful functions to programs, and manages running all of your programs at the same time (like, you know how you can have more programs running than you have CPU cores? The kernel is responsible for scheduling when each program gets to execute instructions on the CPU and stuff).

    A binary blob is just what we call it when some piece of software (in this case a driver), is only available in the executable binary format. No source code available, so itā€™s effectively a black box unless you make a substantial effort to reverse engineer it.

    An API is an ā€œapplication programming interfaceā€ which is more or less just a library of functions to do stuff. So if the interface for graphics drivers to talk to the kernel changes or something the old binary version of the driver may not work with newer kernel, and because itā€™s a binary blob nobody can update it except Nvidia.


  • Thereā€™s operations that treat bits like floats and operations that treat them like various kinds of ints, but the meaning of bits is in the eye of the beholder. Thereā€™s even good examples of mixing and matching integer and floating point operations to clever effect, like with the infamous fast inverse square root. I feel like people often think mathematical objects mean something beyond what they are, when often math is kind of just math and it is what it is (if that makes senseā€¦ itā€™s kind of like anthropomorphizing mathematical objects and viewing them through a specific lens, as opposed to just seeing them as the set of axioms that they are). Thatā€™s kind of how I feel with this stuff. You can treat the bits however you want and itā€™s not like integer operations and bitwise operations have no meaning on supposedly floating point values, they do something (and mixing these different types of operations can even do useful things!), it just might not be the normal arithmetic operations you expect when you interpret the number as a float (and enjoy your accidental NaNs or whatever :P).

    The difference of static and dynamic typing being when you perform the type checking is partially why I consider it to be a somewhat arbitrary distinction for a language (obviously decidable static type checking is limited, though), and projects like typescript have shown that you can successfully bolt on a static type system onto a dynamic language to provide type checking on specific parts of a program just fine. But obviously this changes what you consider to be a valid program at compile time, though maybe not what you consider to be a valid program overall if you consider programs with dynamic type errors to be invalid too (which thereā€™s certainly precedence forā€¦ C programs are arguably only real C programs when theyā€™re well-defined, but detecting UB is undecidable).



  • I kind of feel like ā€œuntypedā€ is a term that doesnā€™t really have a proper definition right now. As far as I can tell when people say ā€œuntypedā€ they usually mean it as a synonym for whatever they consider ā€œdynamically typedā€ to mean (which also seems to vary a bit from person to person, haha). Sometimes people say assembly is untyped exactly for this reason, but you could also consider it to have one type ā€œbitsā€ and all of the operations just do things on bits (although, arguably different sized registers have different types). Similarly, people sometimes consider ā€œdynamically typed languagesā€ to just be ā€œunitypedā€ (maybe monotyped is more easily distinguished from untyped, haha) languages at their core, and if you squint you can just think of the dynamic type checks as a kind of pattern matching on a giant sum type.

    In some sense values always have types because you could always classify them into types externally, and you could even consider a value to be a member of multiple types (often programming languages with type systems donā€™t allow this and force unique types for every value). Because you could always classify values under a type it feels kind of weird to refer to languages as being ā€œuntypedā€, but itā€™s also kind of weird to refer to a language as ā€œtypedā€ when there isnā€™t really any meaningful typing information and thereā€™s no type system checking the ā€œtypesā€ of values. Types sort of always exist, but also sort of only exist when you actually make the distinctions and have something that you call a ā€œtype systemā€ā€¦ In some sense the distinction between static and dynamic typing is sort of an arbitrary implementation detail too (though, of course, it has impacts on the experience of programming, and the language design makes a bit of a difference in terms of whatā€™s decidable :) (and obviously the type system can determine what programs you consider to be ā€œvalidā€)ā€¦ But you can absolutely have a mix of static type checking and dynamic typing, for instanceā€¦ Itā€™s all a little more wishy washy than people tend to think in my opinion).