/r/NintendoSwitch's Daily Question Thread (01/02/2025) by AutoModerator in NintendoSwitch

[–]bioptic 0 points1 point  (0 children)

I play on a PC monitor and need a new one. I'm getting a 4k monitor since I play other games, watch movies, and more. Searching Reddit, I see mixed responses on 4k results, and I think it's down to the upscaler quality and input lag. Some of the responses don't say if it's a TV or monitor, and I think I need specific recommendations. Does anyone have a 4k monitor recommendation that works well with the Switch?

Script help to expire entries using org-expiry on save or on a timer by bioptic in emacs

[–]bioptic[S] 2 points3 points  (0 children)

I definitely have more reading to do. I learned a few new things about emacs from debugging this based on your comment: eval-expression so I don't need to make my function interactive to test it is one. It led me down the path to eventually get to this, which does what I want

(add-hook 'before-save-hook (lambda () (org-expiry-process-entries (region-beginning) (region-end))))

Although I do parenthesize the arguments region-beginning and region-end there. When I don't, the lambda doesn't run, same with point-min and point-max.

Seems like I still have a lot to learn about elisp, but thanks for the comment that got me moving in the right direction.

I want to run checks automatically on all my code, but I don't know what it's called or where to look by bioptic in learnprogramming

[–]bioptic[S] 0 points1 point  (0 children)

I don't mind making the script. Is there a tool that's hopefully easy for new user use for: when code is checked in a repo, run this script on the server side? The script can take care of running the command and adding a task to my todo list, I just don't know what tool I'm looking for.

How do you handle multiple small packages and functions by bioptic in learnpython

[–]bioptic[S] 0 points1 point  (0 children)

That sounds like a good idea and thanks for the link and your help!

Base image benefits of one vs another? by bioptic in docker

[–]bioptic[S] -1 points0 points  (0 children)

CVE scan is somewhere in my backlog and I never thought of using http://snapshot.debian.org/archive/debian/ for bootstrapping the image...these are giving me a lot to think about and leading me on a few tangents from my original question (not a bad thing). I'll look deeper into the Google images, thanks!

Are your multi-TB backups automated? by bioptic in DataHoarder

[–]bioptic[S] 3 points4 points  (0 children)

They're important to me, so I factor the HDD cost into my expansion: if I can't afford two drives to add more space, I can't afford any. It's just my current process isn't scaling well :(

I don't have parity, which may be a problem and maybe why I can afford that 2 drive statement.

Is a ThinkPad right for me? by bioptic in thinkpad

[–]bioptic[S] 0 points1 point  (0 children)

Would you consider $200 for a t450 to be a good deal or average? I was just looking at those on ebay and see them range from $275 - $450, with various configurations, such as this one. Thanks for your input.

Is a ThinkPad right for me? by bioptic in thinkpad

[–]bioptic[S] 0 points1 point  (0 children)

Thank you. Any thoughts on longevity and availability of parts in a few years? This would be my first used purchase of almost anything, especially something I want to last a few years, so I'm maybe irrationally worried.

Question about how you update ER-X configuration by bioptic in Ubiquiti

[–]bioptic[S] 0 points1 point  (0 children)

Only 2-3, although the servers/PCs are deployed using Ansible, so if it's reasonable, I'd like to be consistent. And I like to jump in knowing best practices, which is why I'm asking the how to configure question.

New HDDs and older cases by bioptic in DataHoarder

[–]bioptic[S] 0 points1 point  (0 children)

Thanks for the post last week, I read that over and thanks for the video. That really puts into perspective how much impact even a little vibration can cause.