Some middle-aged guy on the Internet. Seen a lot of it, occasionally regurgitates it, trying to be amusing and informative.

Lurked Digg until v4. Commented on Reddit (same username) until it went full Musk.

Was on kbin.social but created this profile on kbin.run during the first week-long outage.

Other Adjectives: Neurodivergent; Nerd; Broken; British; Ally; Leftish

  • 0 Posts
  • 18 Comments
Joined 4 months ago
cake
Cake day: June 4th, 2024

help-circle
  • If Python has anything like Perl’s source code filters, then anything’s up for grabs, but Perl is kind of weird in a way that Python was specifically designed not to be. Or at least Python 1 was. Things may have changed in the intervening couple of decades.

    If it’s just plain overloading, then whitespace is probably off the table. Spaces, even required spaces, aren’t so much syntax as they are structure. You could argue that the curly braces of some other languages are more syntactic than Python’s whitespace, because it’s actually Python’s magic colon and the first unindented line (lack of whitespace!) that serve that specific syntactic purpose.

    Examples of Perl’s source code filters range from turning a program into binary representation of the syntax tree and still having it be executable, to new syntax, to writing programs entirely in Latin or something that looks almost but not entirely unlike it, anyway.






  • It isn’t just JavaScript (or Java which uses the “Hashmap” name).

    There are, of course, languages that don’t have an equivalent structure, but for those that are sufficiently popular, it’s almost certain that someone has written a library that emulates associative arrays and then fairly certain that that library, in turn, has been used in production somewhere.

    File this under “If it’s stupid but it works…”




  • Win7. I use LMDE+Cinnamon now and I have it looking suspiciously like how I had Win7. Old habits and all that.

    Though you didn’t ask, Win2K was the probably the best Windows, IMO. Then came the bloat and the ugly UIs. (I’ve kind of got used to bloat these days. Storage is cheaper than it was, and LMDE isn’t exactly the slimmest distro.)

    Maybe I would have liked Win10. Similar to how it was with the old Star Trek movies, it seems like every other version of Windows is terrible, and if that remains true, maybe 12 will be better than 11. Probably not going back to find out though.


  • Worth mentioning that apt generally asks if you want to continue after listing what it’s going to remove so this ought to be safe to do, because you can always say no.

    Caveat: It’s vaguely possible ultra-rare configurations might blast through without asking. If in any doubt, backup or take a Timeshift snapshot, or whatever your system does, before adding or removing software. Overkill? Maybe. It’d only really need to be the first time before you know what your local apt does.






  • There are probably pre-written awk scripts out there that already do what you want, not that I know where they’d be.

    That said, you might be better off using one of the bigger but still fairly commonly installed languages. There’s bound to be things on PyPI (for Python) or CPAN (for Perl) that could be bolted together for example.

    If you’re really lucky there might even be something that covers your whole use-case, but I haven’t checked.



  • Duplication of resources mainly. Bloat upon bloat. Worse, a Flatpak can ignore things that it probably should use on the system, and I’m not sure that’s a good thing.

    Don’t get me wrong, there are supposed “bare metal” installs that duplicate all sorts of things too, and I don’t like it when that happens either. Steam, for example, keeps at least one extra copy of itself as well as a bunch of other things.

    And there’s that Flatpaks an entirely different ecosystem that require their own set of updates.

    I get it. I understand there are benefits. Doesn’t mean I like it.


  • Listen, I don’t even like Flatpaks, but at least they’re multi-platform and non-proprietary.

    But the original poster is probably of the opinion that “pro-consumer” means something that “just works”, and if it’s a walled garden, so what?

    “Why is there barbed wire at the top of that wall?” “Don’t worry about it.”