e0qdk

joined 2 years ago
[–] e0qdk@reddthat.com 4 points 13 hours ago

Probably hundreds of millions or billions if you include things like washing machines, dish washers, automated gates, garage openers, etc. that automate specific tasks. Just the read/write arms in hard disks alone is probably a staggeringly huge number, if we're counting things like that...

[–] e0qdk@reddthat.com 5 points 1 day ago

Based on what I see on my Steam Deck (not sure on Bazzite specifics), it looks like the WINE prefixes are stored in ~/.local/share/Steam/steamapps/compatdata

I think the number in each folder name is the game's steam ID, which makes it a bit cryptic. You can probably find that ID by running grep -i "name of game" *.acf in the steamapps folder. The files are named like appmanifest_STEAMID.acf, if I understand how this works correctly. You might also just be able to search for the file you're looking for directly though if you know what the name is inside the prefix and it's distinct enough.

[–] e0qdk@reddthat.com 8 points 1 day ago

Glad you got outside and were able to get things sorted out without too much trouble! Having gone from "complete shut-in" back to "goes outside at least once in a while" myself, I will say it gets easier the more you do it.

[–] e0qdk@reddthat.com 4 points 2 days ago

Not really. I'm just in kind of a snarky mood. 😛️

[–] e0qdk@reddthat.com 9 points 2 days ago (3 children)

So, my taxes are paying for this, huh? Do I get to watch the movie for free then? 🤨️

[–] e0qdk@reddthat.com 2 points 2 days ago

At this point, it's been down long enough that setting up a Unix Surrealism community somewhere else is reasonable, IMO.

[–] e0qdk@reddthat.com 2 points 4 days ago (1 children)

Might be this? https://www.youtube.com/watch?v=9Vk6hANjLeU

YT thinks I'm a bot and has me blocked for some reason, so can't confirm.

On the original CD-ROM, it was SOUND/RADIO/STATIONS/Bluegrass/MUSIC/sp.WAV

Probably the best song in the game. Certainly the most memorable!

[–] e0qdk@reddthat.com 1 points 5 days ago (3 children)

I think I'd get bored pretty quick just driving around with no goal -- although, I did have a fair amount of fun driving around Streets of Sim City as a kid and probably spent more time messing around my own SC2K maps than I did with the actual game missions, so I could be wrong about how bored I'd get of a pure driving simulator...

Regardless of whether I'd enjoy it, I have family members who I'm pretty sure would find it right up their alley -- especially the classic car aspect.

[–] e0qdk@reddthat.com 3 points 5 days ago

If it's sold as a separate soundtrack, typically no. Usually they're just MP3, FLAC, or WAV files -- sometimes you get a choice, sometimes not.

[–] e0qdk@reddthat.com 4 points 5 days ago

I wrote some VBA for a job a long time ago. It was pretty good for making quick and dirty UI in Excel -- like, click a cell and have it pop up a form you can interact with that will let you do data entry with less clicks/typing than whatever Excel would've made you do if you had to do it naively.

I used it for showing a list that could be filtered down by partially typing in text in one project. (A really basic autocomplete sort of thing, essentially.) For another project, I integrated IE and showed some complex data in the embedded browser with buttons (or maybe it was checkboxes? been too many years) in the form to quickly classify it and move on to the next entry without having to flip back and forth between multiple programs and manually open files. (Each entry corresponded to a row and widgets on the form updated values in various columns so I could go through all the data and fill out the full spreadsheet super fast.)

Alternatively, write a script that checks your spreadsheet for errors. e.g. add a reference to a regex library and use it verify that all the entries in a column match the data format you expect (like serial number patterns with hyphens in specific places).

You can also ask your coworkers for something tedious they have to do a lot in Excel and see if you can find a way to make it less tedious.

[–] e0qdk@reddthat.com 2 points 6 days ago

Wasn't seeing it here on reddthat yet until I tried loading it manually, so I'm guessing the bot that automatically subscribes to new communities failed.

[–] e0qdk@reddthat.com 2 points 6 days ago (1 children)

I tried throwing this image at qwen3.6 locally with the prompt "What is in this image?" and it spat out:

Based on the visual evidence, this is a micrograph (a photograph taken through a microscope) of bacteria.

Here is a breakdown of what you are seeing:

  • Organism Type: These are bacteria. You can tell by their small size relative to the scale bar in the bottom right corner (which represents 10 micrometers).
  • Stain: They are stained purple/blue, which indicates they are Gram-positive bacteria. In a Gram stain, Gram-positive bacteria retain the crystal violet dye and appear purple.
  • Shape: The individual bacterial cells are spherical or round, which classifies them as cocci (singular: coccus).
  • Arrangement: The most distinct feature is that the cocci are arranged in chains.

Conclusion: This image shows Gram-positive cocci in chains, which is the characteristic appearance of bacteria from the genus Streptococcus (or possibly Enterococcus). Common examples include Streptococcus pyogenes (which causes strep throat).

So you might be able to get further than you expect. You might try collecting some of your own sample data for things you understand (like particular bacteria you're interested in) and providing those images along with a prompt that includes labels for your sample imagery. (Like "Image 1 is an example of (...whatever..). Image 2 is an example of (...something else...). Which (if any) of these are in Image 3?")

I don't know how well it would work, but worth a try.

The dream, for me, is to get it to understand the protein structure files and DNA sequence files

Even then, much of what I'd want help with looking at proteins is how to write analyses of points in 3D space

I tried throwing this image at qwen3.6 as well, and it spits this out (but takes a REALLY long time to do it on my local hardware):

Based on the visual evidence, this image is a 3D molecular visualization of a protein structure, likely created using software such as PyMOL, UCSF Chimera, or VESTA.

Here is a breakdown of the specific components visible in the image:

  1. The Protein (Blue Ribbon):

    • The large, coiling blue structure is the protein backbone.
    • It is rendered as a "ribbon" or "cartoon" diagram, which is a standard way to visualize the secondary structure of proteins.
    • The coiled sections represent alpha-helices, which make up the majority of this protein's structure. This "helix bundle" fold is characteristic of proteins in the globin family, such as myoglobin or hemoglobin, which are responsible for oxygen transport and storage.
  2. The Central Ligand/Co-factor (Middle Right):

    • Nestled within the protein fold is a complex molecule shown in a "stick" and "sphere" representation.
    • The Flat Ring: You can see a flat, ring-like structure with blue sticks (representing nitrogen atoms). This is characteristic of a porphyrin ring.
    • The Red Sphere: There is a large red sphere in the center of the ring. In this context, this almost certainly represents an Iron (Fe) atom.
    • Conclusion: This complex is a heme group (or heme prosthetic group). Heme is the molecule responsible for binding oxygen in hemoglobin and myoglobin, or for electron transfer in cytochromes. The long chains extending from the ring are likely the side chains of the heme molecule (propionate groups) or a bound drug/inhibitor interacting with the iron.
  3. The Ion (Bottom Right):

    • There is a small molecule floating near the bottom right of the protein.
    • It has a yellow center with four red arms arranged in a cross/tetrahedral shape.
    • In chemical coloring (CPK coloring), yellow represents Sulfur and red represents Oxygen. This indicates a Sulfate ion ($SO_4^{2-}$). Sulfate ions are common in crystal structures of proteins and are often used to stabilize the structure or mimic phosphate groups.

Summary: You are looking at a structural biology model of a protein (likely a globin like myoglobin) containing a heme cofactor (the molecule with the iron) and a sulfate ion. This type of image is used by scientists to understand how the protein works at the atomic level.

You might be able to it to do something useful with analysis of protein renderings, but I think you'll need some creativity with the prompts to stop it from overthinking things... It was able to recognize this as myoglobin in the "thinking" stage quickly enough, but then kept second guessing itself about various aspects for a long time. I also tried throwing it at gemma4 but it didn't really give me much besides recognizing it as some sort of protein structure.

hook it up to some lab robotics and automate experiments

You might find this project and associated HN post interesting -- it's basically someone doing that with electronics analysis instead of biology, IIUC. No idea how well it works, but interesting to look at and think about.

Maybe there's a coding community on lemmy that's a decent place to talk shop on how to build these scripts up and what local models are good at what?

There's !localllama@sh.itjust.works and probably some communities on lemmy.dbzer0.com as well -- they're not super-active though (at least from what's made it to my attention browsing by all).

 

I had some free time this weekend and I've spent some of it trying to learn Go since mlmym seems to be unmaintained and I'd like to try to fix some issues in it. I ran into a stumbling block that took a while to solve and which I had trouble finding relevant search results for. I've got it solved now, but felt like writing this up in case it helps anyone else out.

When running most go commands I tried (e.g. go mod init example/hello or go run hello.go or even something as seemingly innocuous as go doc cmd/compile when a go.mod file exists) the command would hang for a rather long time. In most cases, that was about 20~30 seconds, but in one case -- trying to get it to output the docs about the compile tool -- it took 1 minute and 15 seconds! This was on a relatively fresh Linux Mint install on old, but fairly decent hardware using golang-1.23 (installed from apt).

After the long wait, it would print out go: RLock go.mod: no locks available -- and might or might not do anything else depending on the command. (I did get documentation out after the 1min+ wait, for example.)

Now, there's no good reason I could think of why printing out some documentation or running Hello World should take that long, so I tried looking at what was going on with strace --relative-timestamps go run hello.go > trace.txt 2>&1 and found this in the output file:

0.000045 flock(3, LOCK_SH)         = -1 ENOLCK (No locks available)
25.059805 clock_gettime(CLOCK_MONOTONIC, {tv_sec=3691, tv_nsec=443533733}) = 0

It was hanging on flock for 25 seconds (before calling clock_gettime).

The directory I was running in was from an NFS mount which was using NFSv3 unintentionally. File locking does not work on NFSv3 out of the box. In my case, changing the configuration to allow it to use NFSv4 was the fix I needed. After making the change a clean Hello World build takes ~5 seconds -- and a fraction of a second with cache.

After solving it, I've found out that there are some issues related to this open already (with a different error message -- cmd/go: "RLock …: Function not implemented") and a reply on an old StackOverflow about a similiar issue from one of the developers encouraging people to file a new issue if they can't find a workaround (like I did). For future reference, those links are:

view more: next ›