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

help-circle




  • My guess is what’s going on is there’s tons of psuedo code out there that looks like it’s a real language but has functions that don’t exist as placeholders and the LLM noticed the pattern to the point where it just makes up functions, not realizing they need to be implemented (because LLMs don’t realize things but just pattern match very complex patterns).


  • Don’t get me wrong, it’s decent entertainment. It’s just disconnected from any kind of scientific or technical reality and a part of me is rolling my eyes for a lot of it. And maybe a bit frustrated because I like thinking about things and analyzing and problem solving. I prefer hard magic systems over soft magic ones because there’s no point in thinking about soft magic systems because they just do whatever the plot calls for when it calls for it while hard magic systems have to build up to it and need to be clever to surprise viewers.

    Tony uses a soft technology system that defies thought.


  • Yeah, Tony was capable of doing whatever the writers wrote him to be capable of, just like every other fictional character. And the writers wrote him doing it in a manner similar to the “programming” in Swordfish or the tech work in NCIS (or whatever show it was that had multiple people typing on one keyboard at the same time). As in difficult to tell if they had any understanding of it at all, sensationalised it for entertainment purposes, deliberately made it unlike any real programming to troll people who do understand programming, or some combination of all those.

    MCU science might as well just be another school of magic. Especially when Tony’s suit could shapeshift and convert between matter and energy because of some quantum mumbo jumbo. He just cast a quantum spell on it.

    Also every movie had multiple impacts in that iron suit that should have been worse for him than most car crashes.


  • Do you use an add-on to prevent that from wiping out all but one window’s worth of tabs when you close them? That’s what originally made me get a tab grouping addon, after losing a ton of tabs when I broke some out into their own window and then later closed the main tab window before the secondary one. Realized immediately what happened but it was already too late to save that entire generation of precious tabs. Who knows what articles I didn’t feel like reading at the time but was totally going to read later I lost forever.



  • Actually, there is one thing that is an annoyance that I haven’t been able to resolve. I use dvorak as my main layout.

    Sometimes games get the keyboard right and keys are remapped to qwerty layout (and typing still uses dvorak). This case works better than on windows, since playing a game there either required the game itself to recognize keyboard layouts (best case), or remapping the controls (annoying case), or switching to qwerty (frustrating for typing because I’m stronger with dvorak now).

    But sometimes instead it does the opposite and remaps the qwerty bindings to dvorak. As in, even if I swap layouts, wasd are all over the keyboard instead of all together. I need to exit the game, swap layouts to qwerty on the desktop, then relaunch for controls to work properly (and then I can sometimes swap back to dvorak in game and they continue to work). Often, the next time I launch the game, I’ll forget to switch it but it will just work this time.

    And sometimes it behaves like windows did where I can swap the layout in game and keys change as you’d expect.

    I have no idea why it’s inconsistent between these three options or where the “preserve key location despite the layout” feature is even coming from. Anyone have any idea about this?


  • I upgraded my gpu this weekend. Shut down, switched the psu off, swapped the old one out and new one in, booted into bios no issue (to check if I has left pcie on auto or needed to update it), then booted into the desktop (fedora cinnamon). Bam, after login only saw wallpaper, no mouse cursor or other UI.

    Well, at least it’s kinda working. Time to figure out what’s going on. Terminal works. There’s some errors in the log but nothing to do with amdgpu or firmware failed to upload or anything. Software render just shows up as black screen. Reset my cinnamon session and boot back to the same thing. Fuck.

    Then I try moving my mouse way over to the right and it shows up! Oh right. I have my TV plugged in for streaming to it sometimes and it ended up defaulted to the primary display, so my main desktop was only showing up there (and it was off). Right click, display properties, swap my monitor to primary, disable the TV until I turn it on.

    This is about the magnitude of the average problem I need to deal with on Linux. Something isn’t working like I want it to, half the time it’s actually working but I misunderstood something or the default doesn’t match my intent and I need to adjust settings and then it’s perfect or close enough.

    Or the other problem I had yesterday, tried monster hunter world for the first time and it wouldn’t launch. Played satisfactory for a bit instead (new gpu is noticeably smoother yay), then did a quick search, found that a specific version of proton works, switched to that version and it played. That’s the first game that has had such trouble for me.


  • The language actually only consists of a relatively small number of verbs. Operations that perform various mathematical and logical actions (such as adding, multiplying, dividing, and, or, xor, bit operations, and comparisons), assignments/reads (put the result of this string of operations in this container for future use or read one back to use it now), conditionals (check if this condition is true, if it is do something), and jumps (instead of going to the next instruction, go somewhere else).

    Everything else is just variations or combinations of those four basic things. Don’t worry if you don’t know what anything is in the following paragraph, it’s just explaining how everything else is built on those basic pieces.

    Loops are all four put together, functions are assignments and jumps, objects are a way to organize functions and data, polymorphism is a modification that allows replacing function code in variations of the objects. Even IO is just assignments and reads to and from specific memory addresses. Programming language primitives and APIs will simplify doing these (you aren’t likely to do IO as those memory mapped operations directly unless you’re working on drivers or embedded apps). Sometimes the CPU itself implements special cases, like atomic operations or having multiple cores so you can have multiple threads of execution running in parallel.

    When I realized this, it made learning new programming languages much easier. And the internet puts all of the more specific information at your fingertips, especially when you consider all of the free university courses available that go into specializations of the above, plus the other important meta aspect of programming: algorithms.

    I suggest you pick a language and just try diving in. The early exercises will seem overly simple, but they’ll build a foundation that you can then build more on. For easy to pick up languages, try BASIC, python or lua. Scratch might also help, though it’s purely gui based, so might be harder to jump to another language from there (which you’ll likely want to do to develop an app).




  • I don’t have the patience to keep it up for a long time but I barely get any scam calls after pushing the button to talk to someone and then just asking about the plot holes in their script. Like the one claiming there’s going to be a warrant for me, why does the guy need to ask for my name and other information? Why would revenue Canada (of anyone who isn’t a scammer of some sort) ever want any kind of payment in gift cards? I’ll use a tone of voice on the verge of laughter, too.

    One time, after I asked, the guy just asked me why I even pressed the button to talk to a person and then hung up. Most of the time they just hang up. Sometimes the English option seems to only be there to make it seem more realistic for those who would pick the Chinese option because the call disconnects right after picking English.

    Though more recently I’ve just been hanging up early in the recording when I do get the odd scam call. They might filter that, too, because even the volume of those calls stays low. Which makes sense because even just making the calls probably costs them something, even if it’s just pennies.



  • It sounds like you might have some network places set up for windows to use but that are no longer reachable (or something along those lines) because that shouldn’t be taking so long so you might have things timing out in the background.

    Or your internet is slow and it’s taking a long time to communicate with one drive or send its screenshots of your document to their creep department.

    Or maybe a print driver that no longer exists still has an orphaned entry in the registry and it spends some time trying to locate it.

    Or malware has set up hooks for any new window that pops up but the print to pdf dialog is set up in such a way that it churns very inefficiently on that window specifically.

    I joke but any one of those might actually be what’s going on.


  • Yeah, this is the impression I got when he talked about spending so much time training for the problems, especially the bit where he said it was all about hoping you’ve already seen and memorized the problems while pretending it’s the first time you’ve seen them. That’s the whole point of obscure problems like that: to show how you can handle a new problem.

    I’ve interviewed for technical positions and I don’t even really care if you get the right answer as much as I care about how you approach the problem.

    Shit like this will just make it harder to figure out who the real programmers are and separate them from the people who are only there because they know tech skills means money but didn’t actually develop any tech skills because they were too busy gaming the system. I don’t want to hire someone who spent hours memorizing things they think I want regurgitated on command. I want to hire someone who can understand the overall picture of what’s going on and what needs to be done because it’s interesting to them.