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

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

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






  • If I understood your question correctly, you’d run the proxy application (which might be Squid or Apache or some other program) either on the host computer outside the VM or elsewhere on your network. (I’m not well versed on all the ins and outs of setting Firefox up to communicate through a proxy; I just know it can be done.) The proxy would listen for incoming traffic on a specific port you configure. You then tell Firefox (in its network settings) to communicate with the specific IP and port of the proxy instead of talking to web servers directly.

    To prevent other programs from communicating, you’d firewall off the VM with iptables (or maybe ufw or something else depending on what you use on your system). You’d set it to drop all traffic going to/from the VM’s network except packets going to or coming from the specific IP/port combinations you want to allow.

    This isn’t a bulletproof way to block other apps from talking to the internet – anything that knows about the proxy (or which can hijack/manipulate a program like Firefox that you’ve told about the proxy) could communicate with web servers via the proxy, but depending on your specific concerns it may be good enough.




  • Some games with soundtracks I particularly enjoyed over the last couple years:

    • A Hat in Time - a cute, fun collect-a-thon platformer with a kickass soundtrack. This one is particularly fun to play and hits nostalgia vibes for the early 3D Mario games.
    • Shantae and the Seven Sirens - 2D platformer with an energetic chiptune-y soundtrack. The game itself is OK, but the soundtrack is what really made this one for me.
    • Paradise Killer - vaporwave inspired surreal murder mystery
    • Subnautica - underwater survival and crafting game with a soundtrack that set the mood very well
    • Demons Roots - 18+ RPGMaker game where you lead a demon uprising to reclaim the surface world, invading country after country freeing slaves as you go. Very dark game that is unusually good for the type of game it is. If you’re not put off by the RPGMaker doujin wabi-sabi and are tolerant of adult content in games this one is worth a look. There are some absolute bangers in the soundtrack.
    • Pyre - Lord of the Rings meets 3v3 basketball with a very enjoyable soundtrack by Darren Korb (Bastion).