[–] 3 points 1 month ago (4 children)

The Android filesystem abstractions alone make it, "not a real computer" in my eyes.

Want to save a file in your home directory? Forget it! There is no home directory! You've got "internal storage" and only certain, specially-permissioned apps can read and write stuff there... And even then, only in specific locations.

Want to write a script that does, well, anything? Well, you can enable access to bash but how do you schedule it? There's no cron. No systemd timers. You need a special app.

In fact, to do anything on Android pretty much always requires a special app! Built for your specific version of Android (that acts more like a desktop than a phone).

The filesystem is slow AF too. Want to use regular git? Hahaha! Good luck! It's worse than NTFS!

  • source
  • parent
  • context
  • [–] 2 points 1 month ago*

    As time goes on I feel like the concept of DRY has more applicability to compiled languages like C/C++ and Rust than interpreted ones.

    From a concise coding standpoint, it's a great idea most of the time. However—having worked with some long-term projects—I've found that it can create "code smells" if it's taken a little too seriously.

    For example, I'll often see loads of tiny (Python) functions that do simple things like applying a regex. Then I'll search the code and see that a single regex function gets called in just two places.

    If that was the only time it happened, it wouldn't be a big deal. Except I'll see dozens of tiny functions like this at the top of many modules and be scratching my head wondering why they went to such an extreme. It makes my job as a reviewer harder because now I have to scroll all the way to the top of the script and back constantly to figure out WTF it's doing.

    Not only that, but Python doesn't have a JIT that would optimize away those extra functions calls. Every function call in Python carries some overhead (both CPU and memory), so by dividing up your functions into dozens of little ones you're actually slowing it down.

    Normally such slowdowns are so trivial it doesn't matter. But when someone is following DRY like some kind of religious extremist, those extra calls really can and do add up. Especially when you find them being called inside of deeply nested loops!

  • source
  • [–] 3 points 1 month ago (2 children)

    This image has reached near-hentai levels of blur.

    I used my lab equipment to do some compression dating and it comes in at around 47 reposts. 6-7 more and it should become completely unreadable, lost to time.

  • source
  • [–] 9 points 1 month ago (63 children)

    I thought China wanted more people who could read and write code?

    Nobody codes in Mandarin! No, not even Chinese people.

    They code in English and for a reason! It's not a great or reassuring reason, but it's a logical one: English doesn't have any accent marks and a simple, 26-character alphabet. This means the meaning of code can be understood by a compiler or interpreter without having to deal with encodings or enormous lookup tables to determine if a character is valid for say, an assignment (e.g. foo = 1).

    I've met developers that tried coding in their native languages using Python, which is one of the few languages that actually supports using non-latin Unicode characters and even right-to-left writing. They all say the same thing: It sucks and it's not worth the trouble.

  • source
  • [–] 5 points 1 month ago

    I'm highly skeptical of the reality of this study. I mean, sure: it's interesting and there's nothing inherently wrong with it.

    However, women don't talk to AI like that. The flaw here is that they used "language women typically use" when corresponding with other humans. Except women know they're talking to a machine when they're prompting AI (unless they're boomers in which case both men and women are guilty!).

    What woman is going to use, "could you possibly..." when telling an AI to do something? Women aren't stupid: They know it's a machine and not a person.

    Could you possibly consider that this study doesn't really reveal anything at all other than maybe people who are silly enough to treat AI like a close associate are going to get equally silly output.

    Now I want to see a study where they prompt the AI like it's their bro:

    "Hey buddy, do me a solid and draft an email telling that dude I'm sorry about blowing him off until now..."

  • source
  • [–] 4 points 1 month ago

    I read once that the tale of the three little pigs was modified from its original form to preach the Protestant work ethic and also as a form of Victorian-style propaganda, where the rich, educated landowner was the reasonable one.

  • source
  • [–] 22 points 1 month ago (1 child)

    Back in the day, rich people would fund hospitals and schools in hopes of getting to heaven.

    Actually, they did that to avoid peasant revolts. Attaching it to religion was just a convenient way to keep the church on their side so the pastors and priests would continue to preach the traditional message: "don't be violent against your oppressors, let God handle them and you'll be rewarded after you're dead."

    Without that regular, Sunday propaganda, revolts would've been much more common.

  • source
  • view more: ‹ prev next ›