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: [email protected]

  • 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: September 22nd, 2023

help-circle




  • What upside down thing with a banana??

    There was a viral video/meme maybe a decade ago about how monkeys peel bananas (might have actually been an orangutan or gorilla in the one I saw; been too long since I’ve seen it) where they peel it from the end opposite of how people are usually shown doing it. I’m guessing they mean that? Basically, instead of bending the stem bit (from where the bananas bunch up), you can pinch the tip at the other end and the peel splits open very easily – it’s easier to do, especially if the banana is still a bit on the greener side of ripeness and the stem part is flexible. (I tried it after seeing it and switched to peeling them from the “bottom” myself.)

    What back bit?

    There is a little black fibrous part of most Cavendish bananas near the tip I was describing; many people do not like eating it and avoid it.

    Also…veins?

    I’m not sure what they mean either.



  • What I’d do is set up a simple website that uses a little JavaScript to rewrite the date and time into the page and periodically refresh an image under/next to it. Size the image to fit the remaining free space of however you set up the iPad, and then you can stick anything you want there (pictures/reminder text/whatever) with your favorite image editor. Upload a new image to the server when you want to change the note. The idea with an image is that it’s just really easy to do and keeps the amount of effort to redo layout to a minimum – just drag stuff around in your image editor and you’ll know it’ll all fit as expected as long as you don’t change the resolution (instead of needing to muck around with CSS and maybe breaking something if you can’t see the device to check that it displays correctly).

    There’s a couple issues to watch out for – e.g. what happens if the internet connection/server goes down, screen burn-in, keeping the browser from being closed/switched to another page, keeping it powered, etc. that might or might not matter depending on your particular circumstances. If you need to fix all that for your circumstances, it might be more trouble than just buying something purpose built… but getting a first pass DIY version working is trivial if you’re comfortable hosting a website.

    Edit: If some sample code that you can use as a starting point would be helpful, let me know.


  • My guess is that if browsers as we know them weren’t invented, HyperCard would’ve become the first browser eventually. No idea where things would progress from there or if it’d have been better or worse than the current clusterfuck. Maybe we’d all be talking about our “web stacks” instead of websites, and have various punny tools like “pile” and “chimney” and “staplr”. Perhaps PowerPoint would’ve turned into a browser to compete with it.

    If browsers were invented but JavaScript specifically was not, we’d probably all be programming sites in some VB variant like VBScript (although it might be called something different).




  • I’ve never tried to make a stew out of duck before, but if someone asked me to wing it anyway, I’d probably try to use it in a gumbo: Dark roux, Cajun Trinity (celery + onion + bell pepper), jalapeno, garlic, stock, fresh thyme, bay leaf, lots of fresh ground black pepper, spoonful of hot sauce (e.g. Crystal or Tabasco if I can’t get that), plus your meat – served over white rice. For chicken (e.g. chicken thighs), I’d sear it first but I’m not sure on the best treatment for gamey fowl. Personally I might try to blanch it first to try to reduce the gameyness (based on recommendations I’ve seen about cooking certain kinds of stewed pork – like pork belly in Chinese dishes), but you’d do better to get advice from someone who’s actually cooked with gamey ingredients more than I have if you can.

    Adapting a coq au vin recipe might be another idea to try if gumbo doesn’t appeal, but again, I’ve never tried that with duck either.


  • 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.


  • 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”?


  • 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…)





  • 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.



  • 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.