• 0 Posts
  • 41 Comments
Joined 2 years ago
cake
Cake day: July 5th, 2023

help-circle

  • I recently wasted multiple evenings going through this with my partner’s photos on both OneDrive and Google. It was a nightmare, trying to disentangle their systems from the cloud, and delete stuff from the cloud (they were hitting the free quotas, which was causing problems) without also deleting that content locally.

    I ended up doing a full backup from the cloud to an external drive and unplugging it just to be sure, then carefully using the awful web interfaces to delete a bunch of photos and videos from the cloud after deactivating all the auto-backup “options”, which is apparently the only way to do it without also wiping your local media. There doesn’t seem to be any way to do it while using the “service” normally on the device; any attempt to delete from the cloud will also delete your local copy.

    People have called me paranoid for seeking out and removing/deactivating these “services” with extreme prejudice on my own devices, but this experience was even worse than I’d imagined.


  • Assembler, BASIC, Old C code, Cobol…

    …Pascal, Fortran, Prolog, Lisp, Modern C code, PHP, Java, Python, C++, Lua, JavaScript, C#, Rust…

    The list is infinite.

    Show me a language in which it is impossible to write spaghetti code, and I’ll show you someone who can’t recognize spaghetti code when it’s written in one of their favourite languages.


  • In order to make the game small enough to fit on a cassette tape they had to ditch basic and program the entire game, world in assembly.

    Putting aside the fact that the majority of commercial games of the time were written in assembly (or other low-level languages) just as a matter of course, I strongly suspect that programming the game in assembly was an execution speed issue, and not a cassette space issue. Regular audio cassettes easily held enough data to fill an average 8-bit home computer’s memory many times over, whether that data was machine code or BASIC instruction codes.



  • I think it depends a lot on a person’s individual knowledge. If you keep studying far enough away from your main area of expertise, there’ll still be some point where you stop and have to blindly accept that something “just works”, but it will no longer feel like that’s what your main field is based upon.

    Imagine a chef. You can be an OK chef just by memorizing facts and getting a “feel” for how recipes work. Many chefs study chemistry to better understand how various cooking/baking processes work. A few might even get into the physics underlying the chemical reactions just to satisfy curiosity. But you don’t need to keep going into subatomic particles to have lost the feeling that cooking is based on mysterious unknowns.

    For my personal interest, I’ve learned about compilers, machine code, microcode and CPU design, down to transistor-based logic. Most of this isn’t directly applicable to modern programming, and my knowledge still ends at a certain point, but programming itself no longer feels like it’s built on a mystery.

    I don’t recommend that every programmer go to this extreme, but we don’t have to feel that our work is based on “magic smoke” if we really don’t want to.

    ADDED: If anyone’s curious, I highly recommend Ben Eater’s YouTube videos about “Building an 8-bit breadboard computer!” It’s a playlist/course that covers pretty much everything starting from an overview of oscillators and logic gates, and ending with a simple but functional computer, including a CPU core built out of discrete components. He uses a lot of ICs, but he usually explains what circuits they contain, in isolation, before he adds them to the CPU. He does a great job of covering the important points, and tying them together well.


  • Redkey@programming.devtoProgrammer Humor@programming.devPain
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    2 months ago

    So this is a list of responses given by AI when you correct it? My guess was “Things you will never hear from a client when you politely point out a logical inconsistency, an incorrect assumption, or a wild over/underestimation in their project plan.” 'Cause in my experience the response you will get, 99% of the time, is “That won’t happen.”







  • I don’t think that even C++ is that bad. Like a lot of shows and music acts, I think it’s more the toxic fan base than the thing itself that really sucks. I’ve had the same feeling with a certain kind of JavaScript programmer.

    *Edit for clarity: I’m not saying that the entire C++ community is toxic, just a vocal segment of it, in line with the other examples I gave.

    The added difficulty with this in programming is that it can be much harder simply to ignore them, because you may be forced to work with them, or stuck needing to learn something from them (shudder).


  • Tail recursion in particular is usually just turned back into a loop at the compiler, and typical modern architectures implement a call stack at the hardware level, which allows you to do limited-depth recursion, but breaks like in OP if you try to go too deep.

    Yes, in my experience this is what the term “recursion” means in a programming context; it doesn’t usually refer to a mathematical ideal. That was what tripped me up.



  • Sure, but as far as I’m aware, no other large group of LISP users exists. My contention isn’t that most AI researchers use LISP now, but that most LISP programmers are (were?) AI researchers.

    I’ve been trying to learn about early AI work, and I’m finding that to get any practical details you’re almost guaranteed to have to wade through LISP code, although at least it’s usually pretty well commented.




  • I use 10ten (previously Rikuchamp) for Japanese. I don’t think it does full translation, but it gives thorough dictionary lookups (from WWWJDIC) as mouseover tooltips. Very useful if you’re trying to learn the language, but maybe not so much if you just want to read stuff quickly. I think it’s now available for every major browser, but I mostly use it on FF.



OSZAR »