e0qdk

joined 11 months ago
[–] e0qdk@reddthat.com 13 points 2 months ago

I'm not sure if I've ever fallen in love with a completely imaginary dream person, but I did dream about my ex once years and years after we broke up. I don't remember what I dreamed about exactly, but I do remember waking from it. The happiness fading as the realization set in that it was all a dream -- I was by myself in bed and none of it had been real. I'm usually pretty good at dealing with solitude, but that moment... that was the most intense loneliness I think I've ever felt.

[–] e0qdk@reddthat.com 30 points 2 months ago (1 children)

I see your princess bun and raise you a cinnamon bun!

(source)

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

Wow, that's surprisingly quick turnaround!

[–] e0qdk@reddthat.com 2 points 2 months ago (2 children)

I thought SpaceX was grounded. Were they really cleared to start launching again already?

[–] e0qdk@reddthat.com 8 points 2 months ago

I wrote something like this before for academic researchers to load data sets on display walls by using their cellphones. I approached it by building a simple website. When the user logs in, they'd see a table of entries (from a directory listing on a shared file server that they could drop their data sets onto) and could click a button that made a form post to the server which caused it to run whichever programs were needed to load the data set they wanted (or run a couple of other handy commands -- like turning the monitors on/off, etc).

You can do something like that too in Python if you want:

  1. Learn how to start and stop programs from Python scripts. This can be done with the built-in subprocess library. If you know how to launch the programs you want from the command line, it shouldn't be too hard to figure out how to do it from Python by reading the documentation. It will take some more effort to figure out how to interact with it (e.g. to stop it from user input) without blocking your script, but this can be done.
  2. Learn how to write a simple program that can respond to HTTP requests in Python. There are a number of libraries like tornado, flask, cherrypy, etc. that can do this. Pick one, read the documentation, and write a tiny page that allows you to submit a form and then trigger an action on the server in response to an HTTP POST. You should be able to interact with it by pointing the browser on your computer to localhost (possibly plus a port) or from on your LAN by putting the IP of your computer into the address bar.
  3. Figure out how you're going to organize the entries you want to be able to load. You could just do something trivial like putting the files in known folders and running os.listdir, or something more involved like tracking the entries with a spreadsheet or database or JSON file that lets you associate custom metadata with each entry (like a custom name to show or an icon to display or when it was last launched, etc.)
  4. Generate a web page based on that data collection. I recommend using templating -- e.g. with mustache, or jinja, etc. Basically you write some HTML-like text that lets you indicate places to fill in data from your program and it will do the conversion of symbols like < into &lt; that are needed for HTML output and also repeat patterns using entries from lists you provide to build the rows of tables and such for you.
  5. Set up some security (e.g. a simple log in system) and polish it up as much as you care to do.

Good luck and have fun!

[–] e0qdk@reddthat.com 2 points 2 months ago (2 children)

for all platforms

Sorry if this is answered in the video -- I have YouTube blocked -- does that include PC?

[–] e0qdk@reddthat.com 1 points 2 months ago

I tried booting an old Surface off a USB stick with stock Ubuntu once -- probably either 20.04 or 22.04. (I tried this in June 2022 but didn't make a note of the versions in my journal, unfortunately.) I was able to get it to boot, but I couldn't get touch/pen controls working so I decided against replacing the OS. I didn't have enough enthusiasm to bother experimenting with it further -- I assume it probably needed the custom kernel.

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

You might find writing guides relevant to your interests. For example, "How to Write Science Fiction and Fantasy" by Orson Scott Card contains some details about how the author came to write Hart's Hope and other novels. "Scene & Structure" by Jack Bickham might also be interesting -- I don't remember discussion of specific books in it, but it might scratch a similar itch for how-it's-made style content.

Some books also contain introductions/forewords/afterwords with details about how the book was written. A bunch of OSC's novels (like some editions of Ender's Game) come to mind specifically -- I read those back when I was curious about maybe trying to become a writer, so that's the most prominent example in my mind, but I'm sure there are others. I've also seen translations of a number of works where the translators include really long introductions explaining some of their choices -- and sometimes criticize earlier translations.

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

I can read most of the text, but I don't understand what is meant by 髪結い version. It translates as hairdresser, but I don't get it. (Is this a stereotype I just don't know about, maybe?)

[–] e0qdk@reddthat.com 1 points 2 months ago

@MentalEdge@sopuli.xyz FYI your danbooru link doesn't match the image from catbox.

[–] e0qdk@reddthat.com 6 points 3 months ago (1 children)
[–] e0qdk@reddthat.com 16 points 3 months ago (6 children)

There is absolutely no reason whatsoever that a security camera needs access to anything.

NTP is useful to correct clock drift, but otherwise, I'd agree.

view more: ‹ prev next ›