Just a basic programmer living in California

  • 3 Posts
  • 121 Comments
Joined 1 year ago
cake
Cake day: February 23rd, 2024

help-circle
  • I’m gonna take a couple of stabs in the dark.

    According to this Stack Overflow answer using tee can prevent the prompt from drawing which makes it appear that a script has not terminated. The answerer’s workaround is to put a very short sleep command after the tee command.

    If this is what happened to you maybe the reason the script works in bash but not in zsh is because you have different prompts configured in those two shells.

    Another idea is to replace tee with sponge from moreutils. The difference is that sponge waits for the end of stdin before it starts writing which can avoid problems in some situations.



  • hallettj@leminal.spacetoLinux@lemmy.mlPlug-and-play development environment
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    13 days ago

    Oh yeah, and Nix has the advantage that you don’t need containers. If you want to run a graphical app in a container it might be tricky to access the window manager on the host system. Maybe that’s why you were setting up i3? Yeah, containers are great and flexible, but they also have a variety of downsides so Nix is better ;)




  • A pidgin language is a simplified language that appears when people need to communicate with each other, but they don’t have a common language. But if the situation lasts long enough for children to grow up learning the mixture of languages as their native language then it quickly evolves into a creole. The difference is that a creole is not a simplified language, and it has regular grammar. While growing up children always “reanalyze” their language to regularize grammar and fill in gaps in expressiveness. This is a main driver in shifts in all languages. The effect is especially profound when starting from an irregular, simplified language.

    Because of reanalysis pidgins tend to either be temporary, or to give way to creoles. I don’t know of a pidgin that exists in the US right now. There are creoles - there are some details here





  • Yes; first pull the black plastic piece out of the end of the refill. I read that there needs to be a little airflow into the refill for ink to flow, and when the back of the refill is jammed into the pen that can cut off airflow so you might cut a little notch in the end of the refill where the black plastic piece was. I also sometimes trim about 4mm off the end of the refill, or put a tiny bit of wadded paper in the pen for spacing. But I do this a little differently every time I put a new refill in.


  • Pilot Hi-Tec-C is a gel pen with refills that happen to fit in the Space Pen. It puts down a crisp, fine line.

    The problem with the stock Space Pen is that it’s a messy ballpoint. I might be getting worse-than-typical results due to being left handed, but in general I find ballpoints don’t write crisp lines, and the ink smudges on my hand much more than gel pens do. But with the gel swap I do lose the feature of being able to write upside-down.







  • It would be great if there were a way to translate x86 binaries for ARM without emulation. Has Valve found some way to do that? From a bit of searching I see they’ve been testing games on ARM, and that testing involves a version of Proton/Wine that runs on ARM. But it looks to me like they’re testing with ARM binaries for those games?

    I’m as enthusiastic as anyone about more Linux usage, and I agree that Linux support for ARM is a good selling point. But the reason Linux works so well on ARM is that we use all this open-source software that anyone can compile for ARM. I don’t think it’s honest to point to closed-source software that we can’t recompile, and imply that it will work better on Linux because other software runs natively on ARM on Linux.



  • You can do tag-based file management on Linux. Linux filesystems support “extended attributes” or “xattr”. There is some software out there that uses xattr for tagging. I don’t know what the best options are right now for tag-based file management, but I think it exists.

    Looking at what’s out there I see there are also apps that each use their own out-of-band tagging schemes. There’s a CLI, tmsu, and a GUI, TagSpaces. I don’t think these interoperate with each other’s tags.

    Of course those supplement instead of replacing hierarchical organization.

    The talk of hypertext and “escaping paper” makes me think of Obsidian which embraces hyperlinking, tags, and mind mapping via its canvas feature.