e0qdk avatar

e0qdk

@e0qdk@kbin.social

I write code and play games and stuff. My old username from reddit and HN was already taken and I couldn't think of anything else I wanted to be called so I just picked some random characters like this:

>>> import random
>>> ''.join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789") for x in range(5)])
'e0qdk'

My avatar is a quick doodle made in KolourPaint. I might replace it later. Maybe.

日本語が少し分かるけど、下手です。

Alt: e0qdk@reddthat.com

e0qdk,
e0qdk avatar

Didn't the GDPR have a data portability rule requiring that sites provide users the ability to easily export their own data? Does that not apply to Lemmy for some reason -- or, am I misremembering it? (I remember account data download being a big deal a while back on reddit, but it's been a few years...)

e0qdk,
e0qdk avatar

I've seen Bubba Ho-Tep and Cemetery Man! Watched them during a movie marathon once that also included From Dusk Till Dawn and Jacob's Ladder. That was a night well spent.

Out of the games, I've played Sim Tower. I never made it to 5 stars but got as far as building the subway in at least one of my towers. I played way too many sim games as a kid. SimSafari is probably the most obscure I tried -- never really made much sense out of that one though.

I don't know if it's that obscure... but for anyone else who played a bunch of sim games -- do you remember the song with the lyrics "I'm just a splatter, splatter, splatter on the windshield of life"?

e0qdk, (edited )
e0qdk avatar

And Sim Tower I was obsessed with that game for a long time when I was younger. Couldn’t stop playing until I got everything completed and filled every empty space on the map.

Single, double, or triple story lobby? :-)

I remember having a pretty good time with SimTower myself -- I liked seeing all the little animations of people doing stuff throughout the building. I didn't understand the apartment pricing thing as a kid, but as an adult thinking back on it, it's clear that I was supposed to renovate the units if I wanted to keep renting them at the higher rates... (Delete and rebuild was not intuitive to me as a kid so I kept getting frustrated with the apartments and usually built massive amounts of hotel rooms instead.)

I haven’t heard of Sim Safari myself what was that one like?

I hadn't played it for 20+ years so my memory of it wasn't great when you asked this question -- but I went down a bit of a rabbit hole digging through my boxes of old anime DVDs and strange things I burned to CD-Rs as a teenager and such -- and it turns out I still have the original CD-ROM! It's got orange and white stripes. It's scratched up a little bit, but it's still readable enough that I was able to install the game under WINE and IT WORKS! (The installer prompted me to install DirectX 5 to "improve performance"... lol)

The game opens with a short animated splash screen -- a map of Africa with animated zebras and other animals shown over it before eventually displaying the game's logo. It then dumps me onto a main menu with a lantern that toggles an interactive tutorial on and off -- somewhat confusingly; it wasn't immediately clear that it was a switch unlike the other options. I turned the tutorial on but didn't find it very helpful.

The game itself is isometric and features a bunch of animals wandering around randomly while grass grows. (Screenshot) There are three different modes (park, camp, village) that I don't really understand the details of. Park shows your animals, of course. I think the idea is you build up the camp site to get tourists to come (and bring you money), do gardening and animal management and such in the park which attracts more tourists, and hire people from the village to keep things running (otherwise they poach your animals, probably?) but it's not clear how to actually get things going and most of the advisors seem pretty useless.

There's an ecologist adviser who has a field guide about plants and animals and can also show you various graphs and things. You can click on binoculars and then on an animal and it will bring up a window with a little animation of that animal.

The game constantly plays animal sound effects by default including crickets and various birds and a bunch of animals whose sounds I don't know well enough to name -- but could probably learn from the embedded educational material if I cared to. (I have a feeling many parents of kids who had this game were probably driven bonkers by some animal or other going "AWEEEEE heee heee heee hee!" over and over.)

I remembered the game being presented as more serious than SimPark (which has a talking cartoon frog guide you through things like leaf identification) -- and, indeed, the character graphics are more realistic cartoon drawings in this one, but it's also more cartoony than I remember with the sound effects for things like a "boing-a-boing-oing-oing" failure noise if you misclick the binoculars.

The controls are not very good. Moving around the map is tediuous and unintuitive (you have to click in a particular region near the window border and hold the mouse down there -- or else pull up a mini-map and navigate with that). The game also just builds paths immediately when you try to draw them with the mouse instead of letting you choose a route and drop to release to confirm the construction. You can "build" a 4 door car on your camp site for some reason as well as construct roads, but I think it may just be a decoration. There doesn't seem to be any way to pick it up and move it if you plopped it in a bad spot (bye $3k!).

Unfortunately I don't have the original box/paper manual/whatever else came with the disc and the README file (in an ancient .DOC format) is not very helpful. It does, however, contain some lines like:

By the time you read this document, the average home computer might be a 700MHz GazillaComp 2000 with 58 gigabytes of memory.

which is pretty amusing since the decade old machine I'm running it on has a 3.7GHz processor -- obscenely far beyond their dreams of high performance -- but a mere 32GB of RAM. :p

Somewhat oddly the game apparently has the ability to print -- although I haven't tried it.

e0qdk,
e0qdk avatar

I tried messing around with the colors a bit in an image editor and this was the best adaptation I could make: https://files.catbox.moe/03k8sc.png

e0qdk,
e0qdk avatar

Doesn't seem to work right on kbin, unfortunately, although it does show up as a magazine: https://kbin.social/m/thelinuxexperiment_channel@tilvids.com

e0qdk,
e0qdk avatar

Yeah; I also tried subbing in case that kicks off federation and searched a few titles to see if they ended up in random incorrectly as well (stuff like that happens sometimes with kbin). The magazine has seen a few microblogs mentioning the channel, and it clearly picked up the avatar/icon, description, etc. somehow, but doesn't seem to be getting any videos as threads/posts and I couldn't find any floating around disconnected either. I think kbin most likely doesn't understand what PeerTube is publishing through AP, but there could always be federation weirdness or something.

e0qdk,
e0qdk avatar

[coreutils-announce] coreutils-8.31 released [stable]

stat now prints file creation time when supported by the file system,
on GNU Linux systems with glibc >= 2.28 and kernel >= 4.11.

https://lists.gnu.org/archive/html/coreutils-announce/2019-03/msg00000.html

(found thanks to this blog post titled "File Creation Time in Linux")

e0qdk, (edited )
e0qdk avatar

So I either need something like this that I could host myself (is something like that even feasible?)

The closest thing I could find that already exists is GPT4All Chat with LocalDocs Plugin. That basically builds a DB of snippets from your documents and then tries to pick relevant stuff based on your query to provide additional input as part of your prompt to a local LLM. There are details about what it can and can't do further down the page. I have not tested this one myself, but this is something you could experiment with.

Another idea -- if you want to get more into engineering custom tools -- would be to split a document (or documents) you want to interact with into multiple overlapping chunks that fit within the context window (assuming you can get the relevant content out -- PyPDF2's documentation explains why this can be difficult), and then prompt with something like "Does this text contain anything that answers <query>? <chunk>". (May take some experimentation to figure out how to engineer the prompt well.) You could repeat that for each chunk gathering snippets and then do a second pass over all snippets asking the LLM to summarize and/or rate the quality of its own answers (or however you want to combine results).

Basically you would need to give it two prompts: a prompt for the "map" phase that you use to apply to every snippet to try to extract relevant info from each snippet, and a second prompt for the "reduce" phase that combines two answers (which is then chained).

i.e.:

f(a) + f(b) + f(c) + ... + f(z)

where f(a) is the result of the first extraction on snippet a and + means "combine these two snippets using the second prompt". (You can evaluate in whatever order you feel is appropriate -- including in parallel, if you have enough compute power for that.)

If you have enough context space for it, you could include a summary of the previous state of the conversation as part of the prompts in order to get something like an actual conversation with the document going.

No idea how well that would work in practice (probably very slow!), but it might be fun to experiment with.

e0qdk,
e0qdk avatar

Any ways to get around the download failing

I did this incredibly stupid procedure with Firefox yesterday as a workaround for a failing Google Takeout download:

  • backup the .part file from the failed download
  • restart the download (careful -- if you didn't move/back it up, it will be deleted and you will have to download the whole thing again; found this out the hard way on a 50GB+ file... that failed again)
  • immediately pause the new download after it starts writing to disk
  • replace the new .part file with the old .part file from earlier (or -- see [1] below)
  • Firefox might not show progress for a long time, but will eventually continue the download (I saw it reading the file back from disk with iotop so I just let it run)
  • sanity check that you actually got the whole thing and that it is usable (in my case, I knew a hash for the file)

[1] You can actually replace the new .part file with anything that has the same size in bytes as the old file -- I replaced it with a file full of zeros and manually merged the end onto the original .part file with a tiny custom python script since I had already moved the incomplete file to other media before realizing I could try this. (In my case, the incomplete file would still have been useful even with the last ~1MB cut off.)

There are probably better options in most cases -- like Thunderbird for mailbox as other people suggested, or rclone for getting stuff from Drive -- but if you need to get Takeout to work and the download keeps failing this may be another option to try.

e0qdk,
e0qdk avatar

"Homunculus" is an artificially created person.

e0qdk,
e0qdk avatar

In pop culture and modern fiction it's used to mean an artificial human -- e.g. see the examples in https://en.wikipedia.org/wiki/Homunculus#In_popular_culture like Fullmetal Alchemist for an idea of what OP was going for. (In this case, more Frankenstein's monster though.)

There is also the "little man who makes things work" idea like a golem -- which is related, but not the sense used here.

e0qdk,
e0qdk avatar

I stopped by my local donut shop and couldn’t find any of the jelly donuts like they eat in Pokemon. Any recommendations?

Shinobu Horror Story

I haven't really been watching much anime lately, but I am still going through Penguindrum -- just, very slowly.

Most of my free time's gone into working on my art tools. I hunkered down this weekend and pretty much completely rewrote my image stitcher; it can now handle graphs of correspondences (solved one pair at a time) and I used it to stitch this image from Penguindrum. I have some more details about it in the thread I posted, if you're curious.

This is the third anime I've encountered Klimt's paintings in. Sora no Woto and Elfen Lied's OPs are the others. Yes, that's where the butts came from -- Klimt's Goldfish -- thank you to whoever explained that on reddit years ago; you introduced me to Klimt and I recognized this one was a Klimt parody (of The Kiss) because of that. Caution for anyone not familiar: lots of nudity in his art.

e0qdk,
e0qdk avatar

Thanks for sharing!

e0qdk,
e0qdk avatar

This is a composite I stitched together from 12 screenshots taken from episode 5 of Penguindrum. I pretty much completely rewrote the tool I used for my last composite to make this. My old program could only handle solving two images; the new version solves a graph of correspondences one pair at a time to attach as many images as it can to a pinned starting image. I spent all weekend writing this specific editor, and much of my free time over the last couple weeks has gone into my broader art tool project.

I haven't done much in the way of artistically changing the piece. Other than the final cropping (which I did in the GIMP), it's as true to the imagery from episode 5 as I could get it. Notably though, the lower portion of the image and the upper portion of the image (with the reapers) are not from one continuous shot in the episode; part of my motivation for stitching this was that I wanted to see how it all looked when put together. I was surprised to find that the top portion with the reapers was actually scaled differently than the lower portion. I've cropped it for the main post, but if you'd like to see what it looks like without the final crop, you can see that image here.

The "lovers" are clearly a parody of The Kiss by Klimt -- https://en.wikipedia.org/wiki/The_Kiss_(Klimt) -- but I have no idea what the heck is going on with the cherubs in the middle...

e0qdk,
e0qdk avatar

I wish communities could be grouped in some way.

You can do that on kbin now. We just got "Collections" that allow you to gather posts from multiple communities/magazines sort of like a multi-reddit. You can either publicly list them for others to explore or just keep them to yourself if you want. We've also had cross-post grouping for a while which helps reduce the annoyance of "posts four times in a row (or more)" a little bit by collapsing the threads into one block with multiple links and vote counters. It's really useful though if you want to come back to the discussion later and find the other thread(s) -- e.g. check out last week's regular anime discussion threads which got 17 comments on ani.social and 5 comments on lemmy.ml. Jumping back and forth is easy. Hopefully lemmy gets something like that too eventually!

e0qdk,
e0qdk avatar

Haven't used that particular library, but have written libraries that do similar sorts of things and have played with a few other similar libraries in C++ and Haskell. I've taken a quick glance at the documentation here, but since I don't know this library specifically apologizes in advance if I make a mistake.

For OneOrMore(Word(alphanums)) + OneOrMore(Char(printables)) it looks it matches as many alphanum Words as it can (whitespace sequences being an acceptable separator between tokens by default) and when it hits ( it cannot continue with that so tries to match the next expression in the sequence. (i.e. OneOrMore(Char(printables)))

The documentation says:

Char - a convenience form of Word that will match just a single character from a string of matching characters

Presumably, that means it will not group the characters together, which is why you get individual character matches after that point for all the remaining non-whitespace characters. (Your result also seems to imply there was a semicolon at the end of your input?)

For OneOrMore(Word(alphanums)) + OneOrMore(Char(string.punctuation)) it looks like it cannot match further than ( since 1 is not a punctuation character; so, you got the tokens for the parts of the string that matched. (If you chained the parser expression with something like + Word(alphanum) I'd expect you'd get another token [i.e. "1"] added onto the end of your result.) You may eventually want StringEnd/LineEnd or something like that -- I'd expect they'd fail the parser expression if there's unconsumed input (for error detection), but again, haven't used this specific library, so it may work different than I expect.

There appears to be a Combine class you can use to join string results together; that might be useful for future reference.

i was trying to parse a string with pyparsing so all the words were separated from the punctuation signs

Have not tested it (since I don't have a copy of the library installed anywhere and can't set up an environment for it easily right now) but perhaps something like OneOrMore(Word(alphanums)|Char(string.punctuation)) would be more like what you are looking for?

RTR#34 Paperwork matters and back to the whiteboard

Today, after the morning code cleanup, I took care of a few formalities that I need to handle before the end of the year. Tomorrow, I'll have to dedicate some more time to it. In addition to the daily dose of refactoring, I'll probably take a break from coding and focus on planning AP module on the board for tomorrow and the day...

e0qdk,
e0qdk avatar

Thanks Ernest!

BTW, I noticed this was posted as RTR#33 and there are two RTR#32 entries; I think this should actually be RTR#34.

e0qdk,
e0qdk avatar

I haven't used OpenBSD specifically, but I have used a FreeBSD derivative on a NAS. I'd recommended reading the documentation for common commands; if you're coming from Linux the flags and behaviors may be different from what you're used to.

e0qdk, (edited )
e0qdk avatar

The attached picture says 133 qubits, so whatever that chip is (edit: Heron) it's not this thing.

IBM's post (that the article links) says:

Breaking the 1,000-qubit barrier with Condor

We have introduced IBM Condor, a 1,121 superconducting qubit quantum processor based on our cross-resonance gate technology. Condor pushes the limits of scale and yield in chip design with a 50% increase in qubit density, advances in qubit fabrication and laminate size, and includes over a mile of high-density cryogenic flex IO wiring within a single dilution refigerator.

So, it sounds like this is actually another fridge sized system.

e0qdk, to kbinMeta
e0qdk avatar

@ernest -- As requested by RTR#32, I got an error upvoting a thread.

Details:

Approximately 2023-12-04 20:50 UTC

Thread link on kbin: https://kbin.social/m/technology@lemmy.world/t/678410/Physicists-May-Have-Found-a-Hard-Limit-on-The-Performance

URL when error was shown: https://kbin.social/ef/678410?choice=1

Let me know if there's any other details you need.

Physicists May Have Found a Hard Limit on The Performance of Large Quantum Computers (www.sciencealert.com)

A newly discovered trade-off in the way time-keeping devices operate on a fundamental level could set a hard limit on the performance of large-scale quantum computers, according to researchers from the Vienna University of Technology.

e0qdk,
e0qdk avatar

It looks like this is the pre-print of the paper ("The Impact of Imperfect Timekeeping on Quantum Control") in the journal the article links: https://arxiv.org/abs/2301.10767

Possibly also relevant from some of the same researchers: Fundamental accuracy-resolution trade-off for timekeeping devices

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • cisconetworking
  • DreamBathrooms
  • InstantRegret
  • ethstaker
  • magazineikmin
  • Youngstown
  • thenastyranch
  • mdbf
  • slotface
  • rosin
  • modclub
  • kavyap
  • GTA5RPClips
  • provamag3
  • osvaldo12
  • khanakhh
  • cubers
  • Durango
  • everett
  • ngwrru68w68
  • tester
  • normalnudes
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • lostlight
  • All magazines