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 10 months 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.


  • I don’t have a complete solution, but I do have some ideas:

    • Have you tried hooking it up to an external monitor? Sometimes auto-config can help you recover from weird states if you plug in a different display.
    • On my Deck, I can reach a terminal by using CTRL-ALT-F4 that is separate from the main desktop mode (CTRL-ALT-F1 switches back). Default user seems to be called “deck”. You may need to set a password to use sudo. I am not sure exactly how the desktop environment is set up on the Deck so I am not sure exactly what you need to change or where the files would be – maybe check under /usr/share/X11/xorg.conf.d to see if anything is set to an insane value there?
    • You might try sending Valve a support request
    • As a last resort, you could try a factory reset. You’ll nuke everything else on it too though…





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



  • I ran my own email server about 10-ish years ago for a while on a Linode using Postfix and Dovecot similar to what others have mentioned. Took some effort to prevent GMail from just flagging everything I sent as spam, but I was eventually able to do it. I remember having to configure something particular with DNS records. (An SPF TXT record, probably?)

    I didn’t end up using it very much and shut it down after a couple years, but it was a good exercise and I learned a lot from doing it.