• 0 Posts
  • 315 Comments
Joined 2 years ago
cake
Cake day: February 1st, 2024

help-circle

  • The thing that fascinates me is that every single digital microwave I’ve ever used behaves the same way, and allows the “seconds-place” to be 0-99.

    My best guesses are

    • There’s some ASIC that’s been around forever and everyone uses it (a cockroach chip like the 555)
    • The first digital microwave did this and all subsequent ones followed
    • There’s actually some implementation reasons why this is way more sensible.

    Writing it in software, there are different ways that folks would probably implement it, for example, “subtract one, calculate minutes and seconds, display” seems reasonable. But nope, every one I’ve ever used is just the Wild West in the seconds department.







  • nc is useful. For example: if you have a disk image downloaded on computer A but want to write it to an SD card on computer B, you can run something like

    user@B: nc -l 1234 | pv > /dev/$sdcard

    And

    user@A: nc B.local 1234 < /path/to/image.img

    (I may have syntax messed up–also don’t transfer sensitive information this way!)

    Similarly, no need to store a compressed file if you’re going to uncompress it as soon as you download it—just pipe wget or curl to tar or xz or whatever.

    I once burnt a CD of a Linux ISO by wgeting directly to cdrecord. It was actually kinda useful because it was on a laptop that was running out of HD space. Luckily the University Internet was fast and the CD was successfully burnt :)


  • A dishwasher is a total quality of life thing for us.

    It sucks that some places don’t offer them. They’re not even very expensive, it’s just the kitchen real estate/installation that sucks.

    A place I loved in after college had a full size unit on wheels that you hooked up to sink to use—worked fine, just took up space. They also make countertop units, but I have no idea how well those work.




  • Maybe not a service in the typical sense, but setting up your router+server to route your home network traffic through a VPN is a fun project.

    My router (MikroTik) supports WireGuard, so I can use it with Mullvad for the whole house—but wg is demanding and it’s a slow router, so while it can NAT at ~1Gbps, it can’t do WireGuard at more than ~90Mbps. So, I set up WireGuard/Mullvad on a little SBC with a fast processor, and have my router use that instead. Using policy based routing and/or mangling, I can have different VLANs/subnets/individual hosts selectively routed through the VPN.

    It’s a fun exercise, not sure I implemented it in a smart way, but it works :)









  • VPS+VPN, this is what I do.

    VPS has public IP and runs WireGuard “server”* and a reverse proxy (and fail2ban…). Reverse proxy points to my home computer over the WireGuard link. No open ports on my home router.

    For private facing/LAN-only services I just don’t have an entry in the VPS reverse proxy. DNS on the router points everything to my local server, so if at home I access everything directly. To access internal services remotely requires VPN (i.e., WireGuard to the VPS).

    Works well; I have a tiny free tier VPS but even so, no complaints.

    *Yes I know there are no wg clients or servers, only peers, but it plays a server-likr role.