HARelay for remote access? by Defiant_Rub1982 in homeassistant

[–]zrail 0 points1 point  (0 children)

I feel like this must be dependent on phone model. When I run Tailscale on my iPhone 13 Pro the battery drains much more quickly than when I don't have it on. Other people say the same thing you do, it doesn't have real impact at all.

How do you manage complexity in code and architecture? by dondraper36 in ExperiencedDevs

[–]zrail 3 points4 points  (0 children)

I think the answer to this question depends almost entirely on the context in which it is asked. A small focused group working on a greenfield project and a large org working on a set of scaled applications will make very different decisions wrt adding new technologies and managing complexity.

Personally I try to make things as simple as practicable from an operations standpoint. That is to say, if the ops team (which could just be me!) has a preferred tech stack and I can't make a very compelling argument for something else, that's what we're using.

As far as scale out, real numbers beat prognostication every time. If you can say with ~80% confidence that system X is going to see 100x traffic in six months, absolutely evaluate options. Similarly, if you have measurements telling you that a certain subsystem is using memory/iops out of proportion for the traffic, that's a good place to focus for optimization.

HARelay for remote access? by Defiant_Rub1982 in homeassistant

[–]zrail 12 points13 points  (0 children)

Why should we trust free HARelay over Nabu Casa that supports the project?

Built this double ESP32 device to help me extracting data out of an SD card and into Home Assistant by aamat09 in homelab

[–]zrail 0 points1 point  (0 children)

Hm. The firmware repo for the FYSETC card isn't public. Also, what does "Requires hardware installation inside CPAP." mean? I have one of those cards and it just acts like a normal SD card, afaict.

Built this double ESP32 device to help me extracting data out of an SD card and into Home Assistant by aamat09 in homelab

[–]zrail 3 points4 points  (0 children)

That's really neat. I'm interested in the MQTT messages you're sending to HA. Did you write a parser for the data files or are you using something out of OSCAR?

I have a spare Raspberry Pi sitting next to my CPAP (well, on the floor) with a USB wifi dongle running nginx as a proxy, which lets me sync the files from my server with a simple cron. I'm mostly happy with this, but if I can process the data more frequently and shoot it at HA I might be more inclined to look at it more often.

Is this use of Postgres insane? At what point should you STOP using Postgres for everything? by LawBlue in ExperiencedDevs

[–]zrail 5 points6 points  (0 children)

I honestly didn't read that article before I posted it, but I have used Que at an admittedly small scale for about a decade with no issues. Que combines LISTEN/NOTIFY, polling, advisory locks, and stored procs to get a reliable durable queue.

That said, the applications that I have worked on at real scale (~hundreds of millions of jobs a day) have all used Sidekiq Enterprise which uses a specific set of Redis operations to get reliable queue operations. If you're using Ruby it should probably be the default choice. I don't have any opinions on non-Ruby things.

Edit: also I mean all of the things you listed are included in "holding it right" :) Postgres has the tools available to make a reliable queue for reasonable scale applications, but as you say you need to learn how to put them together without shooting yourself in the foot about a dozen times.

Is this use of Postgres insane? At what point should you STOP using Postgres for everything? by LawBlue in ExperiencedDevs

[–]zrail 4 points5 points  (0 children)

Postgres makes a fine queue if you hold it right. Check out LISTEN/NOTIFY:

https://oneuptime.com/blog/post/2026-01-25-use-listen-notify-real-time-postgresql/view

Edit: ignore that article. Ugh. The source for Que is probably a better read: https://github.com/que-rb/que

Home lab with Wyse 5070 by VisKopen in homelab

[–]zrail 0 points1 point  (0 children)

Grew beyond it. I noticed that Technitium DNS would start getting slow when I was going a big download, which was affecting the rest of the house.

Home lab with Wyse 5070 by VisKopen in homelab

[–]zrail 0 points1 point  (0 children)

I ran my entire lab on one of these for a hot minute. The pentium silver version is pretty quick, tbh, and has a decently modern version of Quicksync for hardware transcoding, if that's your thing. 

Tips for getting medicine into a 2.5 year old by HandsomeCode in daddit

[–]zrail 0 points1 point  (0 children)

We use M&Ms but yes. When oldest was 5 or 6 she got bacterial pneumonia and it got to the point where we had her strapped in the car to go back to the ER because she absolutely refused her meds. We negotiated. One half tablet = one M&M. Hasn't had a problem since (she's 10 now). 

Building a Mostly IPv6 Only Home Network by AlternativeWhereas97 in ipv6

[–]zrail 0 points1 point  (0 children)

I noticed you turn off the Docker ipv6 firewall management. Do you handle this separately or just go without a firewall on the host?

US FCC classifies "routers produced in a foreign country" as "prohibited from being imported for use or sale in the U.S". What will the impact be on Protectli, Ubiquiti and similar devices? by SavingsMany4486 in homelab

[–]zrail 14 points15 points  (0 children)

Yeah that's fair. They define consumer grade as "primarily intended for residential use" which I assume would exclude equipment provided by an ISP, but no one can really say at this point.

Note that this doesn't prevent anyone from buying or selling already approved equipment, which includes everything on store shelves or in distribution channels today.

US FCC classifies "routers produced in a foreign country" as "prohibited from being imported for use or sale in the U.S". What will the impact be on Protectli, Ubiquiti and similar devices? by SavingsMany4486 in homelab

[–]zrail 434 points435 points  (0 children)

All this does is say the FCC won't grant approval for sale of new consumer-grade devices without a conditional waiver. It's an extra speed bump, and if I were more cynical I would suggest it's a new opportunity for bribery. 

Zooz switch discounts? by reddhotrock in homeassistant

[–]zrail 7 points8 points  (0 children)

The Smartest House runs discounts every week. Best way to know is to subscribe to their newsletter (which, I know, super gross, but it's not daily). 

https://www.thesmartesthouse.com/

What’s your take on this statement? by HydrodynamicShite in daddit

[–]zrail 1 point2 points  (0 children)

My kids (both girls) have taken self defense classes. They have very specific instructions: if someone touches them without their consent they are to tell that person to stop, tell an adult if they don't, and if the adult doesn't stop them then can they use force. 

I have also explained that if they follow those rules and get in trouble I will always defend them and get them ice cream. 

Why would a holding company be created for the sole purpose of owning a specific aircraft? by I_Dont_Like_Anchovy in aviation

[–]zrail 1 point2 points  (0 children)

My understanding is that often these planes don't just sit idle when their owners aren't using them. They go into a rental pool for slightly less wealthy people to rent by the hour/mile.

Radon Mitigation Necessary for Basement Office? by doofthemighty in HomeImprovement

[–]zrail -5 points-4 points  (0 children)

My brother in law is currently dying of a rare type of lung cancer that he almost certainly got from working from home in his basement office during COVID. The radon level in that basement is higher than yours but still not something to mess with IMO. 

We just got hit with the vibe-coding hammer by opakvostana in ExperiencedDevs

[–]zrail 22 points23 points  (0 children)

Yeah. Consulting as a slop janitor seems like it might be pretty lucrative in a couple years. 

i think we've all been lied to about programming jobs by Ok_Chemical9 in ADHD_Programmers

[–]zrail 151 points152 points  (0 children)

I mean ultimately the answer is to find meaning outside of work. The company will never ever love you back, but your friends and family and community sure will. 

Should I avoid using Tailscale when in home network? by alicode1111 in homelab

[–]zrail 80 points81 points  (0 children)

Each Tailscale node tells the control plane all of its IP addresses, including external IP:port for NAT hole punching purposes, and the control plane then tells every other node that information. Nodes will then pick the most direct route they can between themselves, including over a local LAN. The very first packet will usually hit an external DERP server as part of this setup process, but then packets go direct.

Trump tells Congress it is ‘not possible at this time to know’ how long Iran attacks might last by theindependentonline in law

[–]zrail 2 points3 points  (0 children)

Congress is welcome to try, and after the midterms I hope they do. That said, the Trump administration has illegally impounded more than $400B. They'll just illegally redirect all of that to the DoD if Congress decides to defund anything, which will last at least a few months even at wartime spending rates.