Just some Internet guy

He/him/them 🏳️‍🌈

  • 0 Posts
  • 20 Comments
Joined 2 years ago
cake
Cake day: June 25th, 2023

help-circle
  • As for alternatives, I’ve heard lots of good things about Tailscale (or headscale if you want to self host).

    If them connecting to you is an option, WireGuard is also stupidly easy to set up and very reliable. If you need to also forward layer 2 traffic (old LAN games and weird local protocols), you can use OpenVPN for that. A bit hard to set up but also quite capable.


  • Unfortunately that trace isn’t very useful due to the lack of debug symbols. One would have to decompile and analyze the binary to really gather some information as to how that happened, and it’s probably against their TOS.

    hamachi will occasionally disconnect *and then ask for my password to restart the service. *

    The GUI is probably trying to restart the daemon for you which causes this, because that’s not standard behaviour. You can probably fix that but just allowing your user to do that passwordless, although it’s dumb:

    # /etc/polkit-1/rules.d/50-hamachi.rules
    polkit.addRule(function (action, subject) {
        if (
            subject.user === "YOURUSERNAMEHERE"
            && action.id === "org.freedesktop.systemd1.manage-units"
            && action.lookup("unit") === "logmein-hamachi.service"
        ) {
            return polkit.Result.YES;
        }
    })
    

    You’ll want to change your username in there and also adjust the service name if it’s different.



  • To kind of visually see it, I found this thread of some guy that took oscilloscope captures of the output of their UPS and they’re all pseudo-sines: https://forums.anandtech.com/threads/so-i-bought-an-oscilloscope.2413789/

    As you can see, the power isn’t very smooth at all. It’s good enough for a lot of use cases and lower end power supplies, because they just shove that into a bridge rectifier and capacitors. Higher end power supplies have tighter margins, and are also more likely to have more safety features to protect the PC so they can get into protection mode and shut off. Because bad power can mean dips in power to the system which can cause calculation errors which is very undesirable especially in on a server. It probably also messes with power factor correction circuits, which is something cheap PSUs often cheap out on but a good high quality one would have and may shut down because of it.

    As you can see in those images too, it spends a significant amount of time at 0V (no power, that’s at the middle of the screen) whereas the sine waves spends an infinitely short time at 0, it goes positive and then negative immediately. All the time spent at 0, you rely on big capacitors in the PSU to hold enough charge to make it to the next burst of power. With the sine wave they’d hold just long enough (we’re going down to 12V and 5V from 120/240V input, so the amount of time normally spent at or below ±12V is actually fairly short).

    It’s technically the same average power, so most devices don’t really care. It really depends on the design of the particular unit, some can deal with some really bad power inputs and manage just fine and some will get damaged over long term use. Old linear ones with an AC transformer on the input in particular can be unhappy because of magnetic field saturation and other crazy inductor shenanigans.

    Pure sine UPSes are better because they’re basically the same as what comes out of the wall outlet. Line interactive ones are even better because they’re ready to take over the moment power goes out and exactly at the same spot in the sine wave so the jitter isn’t quite as bad during the transition. Double conversion is the top tier because they always run off the battery, so there’s no interruption for the connected computer at all. Losing power just means the battery isn’t being charged/kept topped off from the wall anymore so it starts discharging.





    1. It seems to make a LOT of calls to other servers. Its almost constantly pinging other servers asking for updates.

    The fediverse works the other way around: other instances push activities to yours. If you have a lot of subcriptions to large communities like [email protected] it will indeed receive a lot of activities.

    1. It gets de-federated almost instantly from popular instances. Which kinda sucks.

    Mine’s not been defederated from anywhere, not even Beehaw

    1. It uses up quite a bit of CPU compared to other federated applications.

    It definitely uses a fair bit of CPU but it is ingesting a fair amount of data, but still not a ton either:

    Lemmy resource usage

    Although I do hear PieFed is a lot lighter.

    1. Subscribing to instances seems to work most of the time, but sometimes it just errors out and I have to re-do it.

    That settled for me after a week or so of running mine. My subscriptions always go through.



  • I would probably just skip the Lemmy Easy Deploy and just do a regular deployment so it doesn’t mess with your existing. Getting it running with just Docker is not that much harder and you just need to point your NGINX to it. Easy Deploy kind of assumes it’s got the whole machine for itself so it’ll try to bind on the same ports as your existing NGINX, so does the official Ansible as well.

    You really just need a postgres instance, the backend, pictrs, the frontend and some NGINX glue to make it work. I recommend stealing the files from the official Ansible, as there’s a few gotchas in the NGINX config as the frontend and backend share the same host and one is just layered on top.



  • Just don’t copy paste the commands. Really! Just take the time to understand what the command does, read the manual, and rewrite it yourself instead of pasting it. That alone will help a fair bit and can start guessing what it should be.

    After a while of doing that it stops being a “paste this command to make the service run” and becomes “ask systemd to enable and start the service”. You start associating editing files in /etc with “will probably need to slap a sudo in front of that one”, you start mentally replacing nano/vi/vim/emacs/nvim/sed with your preferred way of editing the file, because you absorb the concept of “this command edits a text file”.


  • I had that pretty well managed in the end. Even when it all works correctly it’s just not like the first time where you feel superhuman and knock down 2 weeks of chores in a day. The body readjusts and it settles closer to a neurotypical focus.

    I’m talking about the very first time in particular, when you feel clarity for the first time and feel limitless. It’s not like you lose the focus, but the euphoria that makes you feel like you can do everything fades away. It can give the impression the ADHD is gone, but you still need to stay organized, eat and sleep well to not come crashing down. And also not overcommit, it’s easy to run straight into burnout because you can easily pull all nighters studying for the first couple days.



  • The light gun doesn’t need a CRT per-se, but rather the lack of input latency. Games usually flash the targets one per frame, and then it knows based on light level if you were pointing at the target and which one. If it sees light on the third frame then the target must be the third one it flashed. That requires the console to be able to read the light level basically immediately after the console’s done scanning out the image but before the phorphor fades out, so the timing is very tight.

    If we made OLEDs with direct scanout/zero latency, the guns would work just fine. But because of scalers and filters there’s usually at least one frame of latency which means at best you’re one target off, or it thinks you’re cheating and registers a miss (games usually do a full frame of black first to see if the gun’s pointed at a light source, which if you have a frame of latency on the screen it’ll register the last frame which will be bright and thus register a cheat/miss).

    Add just a frame of latency to a CRT and it’ll stop working there too. Later progressive scan CRTs that buffer two frames to deinterlace the signal also don’t work with the light guns.

    Here it is in action: https://youtu.be/V6XnSvB34y8



  • Maybe it can be hacked together with Syncthing: have your phone’s camera sync with an inbox folder on the desktop, have the desktop pick up the files and transcode them with handbrake, then move the original out of the inbox. This will cause Syncthing to sync the deletion back to your phone, and sync the transcoded version back on your phone.

    I’d also check if you can just change the bitrate in your camera app’s settings in case there’s a way to lower the quality there. Could be noticeable, could be just as good as handbrake, never know with hardware encoding.




  • It really depends on the individual. Some go from no -verbal to making a living off YouTube/TikTok, some never really speak a lot.

    Thankfully verbal communication isn’t the only way to communicate. 6 is a bit early for that but, if your child ends up preferring to talk over chat or emails, try to roll with it, that could be the key to having meaningful conversations with him.

    Personally, I can talk just fine but I’d rather not. Coming up with responses in real time and listening in real time is demanding for me, because I also have ADHD and my mind wanders around a lot. But if you give me a bit of time I’ll probably write you a detailed, thought out answer like I’m doing right now. I can’t handle small talk but surprisingly my numerous work meetings go well because I know all the answers, I’m an expert in my field and the goto for tough questions at work.

    The main thing to keep in mind is that being non-verbal in no way means he’s dumb. He can turn out to be very smart but kind of “locked in” unable to talk about it much but will write a solid PhD thesis like it’s easy. It can be very weird how things play out, and too often people assume intelligence is a singular thing. Verbal intelligence and abstract intelligence and mathematical intelligence aren’t the same, and autistic people tend to score low in some areas and very high in others, although not universal obviously.

    Just focus on being a great dad and not force him into being neurotypical. We call it “masking”, which is consciously doing all the little things people do unconsciously and it’s exhausting. If he’s being weird at home, it doesn’t hurt anybody. Don’t force answers or any task for that matter. We can be sensitive, and forcing things to happen at specific times is just stressful and can result in a shutdown or tantrum while you could have just given me an hour or two to mentally prepare and do the thing.

    I see things like “my child refuses to go outside but we found him happily playing in the yard today, what’s going on?” and the answer to that is, he did on his own will, that’s the difference. He had the bandwidth and will to experience a bit of outside at this particular moment.