Better HN
topnewbestaskshowjobs
Log inSign up

wolrah

2,865 karma · joined Dec 24, 2014 (11y ago) · 999 submissions

Submissions

comment 2d ago · link · parent

> in this case I agree - if I reported an issue to a vendor and their response was "return your motherboard" I wouldn't work with that vendor again.

Why would you say this? If the problem is your motherboard is in fact broken (or you have used a high-end CPU on a motherboard not rated to power it), and the vendor correctly diagnoses it despite it not being their problem, you think this is bad? You want them to change their software, making it worse for everyone who doesn't have broken hardware, just to make your broken hardware work?

Sometimes if such an issue affects a common hardware configuration it can make sense from a capitalistic sense to "make it work" for more users but if that's the case that implies you would know what the hardware configuration involves and test accordingly so the workaround would not have negative effects on users who don't need it, and either way that's not the situation we're talking about here where the user has already acknowledged that their hardware is wonky.

comment 3d ago · link · parent

LITS in Cleveland was my first concert ever, and it set the bar high. Only Rammstein has managed to reach the same level.

comment 6d ago · link · parent

Absolutely, anything like that has nothing to do with the medium and GP trying to say that's a fiber behavior instead of a badly configured ISP behavior is just nonsense.

Back when DSL was still a relevant thing I had this sort of nonsense all the time because ISPs would set the PPPoE session to reset or something on a multiple of 24 hours. That may have been fine when people were still dialing up or actually manually initiating PPPoE but in the world of always-on broadband shared through a NAT gateway it meant the client got recurring mid-day interruptions that would start any time they had a power or ISP outage and continue until someone was able to manually reboot the modem outside of business hours and get its cycle realigned to not be a problem.

comment 6d ago · link · parent

> Cable installers know these failure modes well, and how to test for them, and how to remediate them.

> Fiber, on the other hand, is still relatively new for most people. It has its own failure modes, some of which are very different from coax.

That is true, but most of the common failure modes in the sort of fiber that competes with coax are things that coax is similarly vulnerable (mostly physical damage or bad connections) to and for which the concepts involved in diagnosing and repairing them are also similar even if the specific tools are different. Someone who understands coax is not going to have a hard time learning fiber unless they're simply unwilling to learn.

For what it's worth about a decade ago I had consistent recurring cable modem issues that resulted in multiple truck rolls with supposedly top tier service techs coming out, fiddling with wires at their distribution block, and then leaving without really changing anything. I eventually managed to find the modem's "password of the day" algorithm and wrote a script to log the SNR per channel, which let me determine that the issue was always with just a small set of adjacent channels which I found to align perfectly with a nearby AT&T tower. I pointed this out to the next tech to come out and they ended up replacing the entire line from the street to my house which finally resolved the issue. These were experienced techs working for a large regional cable provider (Armstrong) with whom I had previously had almost exclusively great experiences, but none of them were able to figure out what should have been a pretty simple coax-exclusive issue until I basically led them straight to it.

> But a well-managed coax cable plant is orders of magnitude better than a poorly managed fiber cable plant.

Outside of very small rural operators or campus networks that are literally one-man shows or very close to it I'm having a hard time envisioning a situation where an operator did a great job with coax but just fumbled everything with fiber. Especially because, as you even touch on, basically every coax operator outside of the absolute smallest are already running a hybrid fiber-coax system and thus are dealing with a lot of fiber already. Maybe the lowest level installers still only deal with coax but at that level we're not really talking about the deep knowledge or major decision making.

> If AT&T wants to litigate that, then they should explain why they haven’t already upgraded all their customers to fiber. Then they should be forced to shut the hell up until such time as that upgrade for all customers is complete.

IMO AT&T does need to have their feet held to the fire about a lot of things like what happened to all the federal funds they (and other major telcos) received to fund fiber deployment which got diverted in to cellular service and why they ever deployed FTTN in greenfield neighborhoods while they already had FTTP in other markets, but that's not really relevant to the validity of this complaint against Comcast's intentionally deceptive marketing. Them being right about this isn't related to what other things they've been wrong on.

comment 1w ago · link · parent

> But as soon as I pick someone else's lock without permission, it very much is a crime.

Right, but no one's installing a modchip on someone else's Switch without permission. No one's stealing Blu-rays to rip. I'd actually challenge you to find any DMCA anticircumvention claim where the people accused of violating it were doing things to hardware or media they didn't own or have permission from the owner to access.

comment 1w ago · link · parent

First thing my mind went to.

"Huawei releases MACaQ"

"Just like Jensen released his..."

comment 1w ago · link · parent

> If your usecase is site-site (Like my case edge computing) it won’t work

Isn't that what the "machine" client mode is for? You can grant it access to any resources in its organization.

> also their newt client is being phased out for the cli

Not sure I'd call this a downside, setting up Newt on every system was part of why I stopped setting up my test environment a year and a half ago, having Pangolin CLI when I returned to it was literally what made me start using it more widely. It's still using Newt under the hood as far as I'm aware, and my sites set up with Newt still work just fine.

> also they don’t have “headless” setup so it can’t be used as a core of your saas for example

Version 1.17 actually added this a few months ago: https://pangolin.net/news/1-17-release#site-provisioning-key...

> it will be a separate extra dashboard to deal with

True, though there is an API if that matters to you.

> and last I remember when I checked their license changes if you make $100k revenue

Not as far as I've seen. If you want to go over 50 users/100 sites self-hosted or 250 of either on their cloud service you step in to "Enterprise" licensing which has "Custom" pricing and I'm sure sucks, but I see nothing about revenue being relevant to anything.

I'm using it in a MSP context where I have literally three users but over 100 sites so I'm going to be sticking to the AGPL version unless I have a really compelling reason to change but even that's very powerful.

I also love the fact that they give me a single flag I can set to make all of the "this feature exists but only with a commercial license" stuff disappear.

comment 1w ago · link · parent

> mDNS doesn't work for the average user.

What did mDNS do to hurt you? You are spouting blatant wrongness in this thread.

mDNS is mostly FOR the average user, and it works great for them. AirPlay, Google Cast, Miracast, all mDNS. Google Home, Apple HomeKit, Matter, all mDNS. AirPrint/IPP/Mopria printers, all mDNS. Windows still uses a lot of its own proprietary autodiscovery but even there Microsoft has prioritized mDNS over the old NBT stuff.

> They memorize IP addresses as needed.

No, normal people use names, mostly delivered these days over mDNS. There are millions of consumer-targeted appliances and entry-level DIY projects intended for people who need a picture to not put the SD card in the Raspberry Pi where the instructions, after powering it up, say to open up a browser and navigate to <appliancename>.local (or more often with commercial devices, open the app which will be listening for that specific appliance's service advertisement.

> There must be like 3 end users who actually use mDNS knowingly, which is why the tooling feels like an unhappy path.

You are right on this, most users don't use it knowingly, because it just works and they don't have to know anything about what's been built on top of it.

> Like there's no way to list all hosts, even though the OS presumably knows that somewhere.

No, the OS does not know all hosts, it only knows the hosts that have advertised or probed for conflicting names while it's been attached to the network. If you connect your device to the network after I've connected mine, as long as there's not a name conflict your device has no idea mine exists unless it's advertising services. Service advertisements are cached, but hostnames are not because for obvious reasons you generally aren't going to be accessing most of the hosts on a given network ever. When you need to access whatever.local your device emits a mDNS query looking for A or AAAA records the same as it would for normal DNS, and caches the result based on TTL the same way as it would for a normal DNS record.

> The best you can do is list hosts that advertise services.

You're saying this like there's some other solution which lets you list every host in the network even if it's not advertising services, which...there isn't.

comment 1w ago · link · parent

> Not every host lets you SSH into it to run commands.

Not sure how this is relevant. The context we're talking about here is someone wanting to communicate to another person how to connect to their laptop. We can assume that this person has sufficient access to the device to get this information.

You're not trying to work backwards from an unknown device here, if you're doing that you presumably have the ability to copy/paste the full address from whatever tool you used to identify the device's existence on the network.

> The mDNS hostname is not always the same as your system hostname since it can change due to conflicts.

And it changes in predictable ways, with the mainstream desktop OSes presenting a notification to the user in case of conflicts. If yours doesn't, consider that a flaw in your OS.

Also, if this is a real issue you run in to more than once in a blue moon it's probably worth picking a more unique name.

> Some Linux distros don't even have a built-in util to show your own mDNS name.

systemctl status avahi-daemon

should do the trick on any mainstream Linux distro, and if you're one of the anti-systemd crowd you presumably know your equivalent.

comment 1w ago · link · parent

Agreed.

I'm a strong proponent of everything-over-IP in an ideal world, and love the fact that Matter mandates IPv6 which forced a lot of embedded vendors to finally support it, but the IoT vendors have demonstrated that if they're given an internet connection they WILL abuse it to lock you in to their platform.

Matter over Thread is nice because it functionally provides an "IoT VLAN" by default and can only reach the internet or even the LAN through a gateway, which can be fully controlled by the user making it the best of both worlds.

As for Matter over WiFi, for the reason in the first paragraph I've maintained a rule of not buying WiFi IoT devices unless the device has a real need for direct access to the internet or high-speed data from the LAN to do what I want it to do, and Matter doesn't change that. It is nice though that hypothetically I could have a Matter-over-Thread switch cause a WiFi device to do something directly without needing to go through Home Assistant.

comment 1w ago · link · parent

Pangolin is a similar project to Netbird and Tailscale/Headscale in that it's automatically managing wireguard tunnels but it is natively multitenant by design. Even as the super-admin I have to pick which tenant I want to be "connected to" at any given time to access private resources while my SSO still gets me access to all the secured "public" resources no matter what (if any) tenant I'm connected to.

comment 2w ago · link · parent

> I was answering the question of “how do I discover another host’s mDNS hostname?” It turns out that is a per-service question.

No, it's not. That is a service address, not the host's hostname.

The host's hostname is whatever the computer is named, which if you are in a position where you're wanting to give someone else its IPv4 address or access your own thing via its IPv4 address you definitely can also know it's hostname because it's either shown in the same parts of the GUI or one command away. On a lot of CLI systems it's literally in the prompt.

Either way it's not advertised unless that host is configured to advertise itself, you have to query for it and the host will then respond.

comment 2w ago · link · parent

> Only if you know the name already and no two hosts took the same name, assuming it works at all.

We're talking about somebody who knows how to get the IPv4 address of their computer, the hostname is available in basically the same exact place on every single system, and easier to remember, and remains the same on every network unless there's a conflict.

It works as long as the network operator of system admin hasn't gone out of their way to break it.

> Shouldn't those question marks be the hostnames on arp -a? On some networks it shows them, on others it doesn't.

Those question marks will fill in if there is a reverse dns entry in the local DNS server, which is set in IPv4 networks based on the device putting its hostname in the DHCP request. Most consumer combo gateway devices will do this by default as does Windows DHCP, but a lot of business firewall devices don't do it at all or don't do it by default.

Either way, that's not relevant to IPv6, mDNS is the way.

comment 2w ago · link · parent

> While this is the safest choice, it is the least helpful, I would always prefer to get something out of an archive then nothing. Damage/irregularity to an archive shouldn't prevent data inspection, just a warning and a way to fall back with caveats for what can be extracted.

I would argue the correct answer can have both.

Fail by default, fail with a clear error that says the file is damaged, then offer an explicitly opt-in path to try your best anyways, preferably one where the command line option is something like --dangerous-try-extract-anyways and will itself fail on non-broken files so it can't just be shoved in a script as a way to "make sure it works".

comment 2w ago · link · parent

This is to discover services, which you really shouldn't need to do by hand outside of troubleshooting, your apps should be doing it themselves.

For address discovery which is what we're really talking about here it's just "<hostname>.local"

comment 2w ago · link · parent

<hostname>.local

Here's me pinging my laptop (macOS 27) from my file server (Ubuntu 24.04)

  ~ ping persephone.local
 PING persephone.local (fd82:74ca:1cef:385a:1897:2e4b:a726:18b6%3) 56 data bytes
 64 bytes from fd82:74ca:1cef:385a:1897:2e4b:a726:18b6: icmp_seq=1 ttl=64 time=0.496 ms
 64 bytes from fd82:74ca:1cef:385a:1897:2e4b:a726:18b6: icmp_seq=2 ttl=64 time=0.515 ms
 ^C
 --- persephone.local ping statistics ---
 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
 rtt min/avg/max/mdev = 0.496/0.505/0.515/0.009 ms

comment 2w ago · link · parent

mDNS autodiscovery by name would be my preferred solution, which should work by default on major OSes as long as the network operator or device administrator hasn't gone out of their way to break it. <yourhostname>.local

Like I said in my previous post, for the most part if you need to actually communicate the raw IP that probably means something has gone wrong and you're now troubleshooting with someone who should have access to a higher level view of the network where "the one ending in 3 charlie echo 5" should be more than sufficient just like it would be if you were communicating a MAC address while troubleshooting DHCPv4 issues.

In the 12 years I've had a dual-stack network I've never had to communicate a full IPv6 address verbally, but if I did I'd pretty much do it the same way I would an IPv4 address. One group at a time, with a pause implying the separator. If there was one or more zero subnets involved that could be shortened with double-colon I'd say that.

For example the record I just got back for Google of 2607:f8b0:4023:141b::71 I'd read off as:

two six zero seven (or maybe twenty-six oh seven)

foxtrot eight bravo zero

four zero two three (or maybe forty twenty-three)

one four one bravo

double colon

seven one

edit: HN makes it way harder than it should be to have multiple lines.

comment 2w ago · link · parent

> 1. No network, no problem. Anything core to the house has to work with Wi-Fi or automation server shut down.

This is one of the reasons I love Zigbee, the device network is entirely independent of my computer network, can not directly communicate to the internet in any way, and every device I've put on the network so far can be configured to directly communicate with other devices so basic functionality remains operational even if the controller goes down.

For example, in my living room I have a Lutron Aurora dimmer dial locking a standard switch in the on position, then plugged in to the outlet that switch would normally control is a Leviton dimmer module. Both connect to the network controlled from a PoE Zigbee dongle, but have been directly paired as well so pressing the button on the dial makes it directly tell the dimmer module to turn on, rotation commands are sent direct, etc.

The controller also receives these commands when it's active and can add to the functionality for inputs like double-click, but if it's down the basic functionality still works entirely as a normal person would expect. You walk in to the room and see a knob on a switch plate, you turn the knob and the light brightness increases regardless of the state of the internet, my home server, or even my network as a whole.

The other major advantage compared to Matter/Thread is that it's not IP based so it's impossible for any Zigbee device to ever have a cloud dependency. No matter how much some marketing dingus might want to, it can not be ruined.

comment 2w ago · link · parent

This has forever been and will forever be the dumbest anti-IPv6 complaint.

How often do you really need to communicate a complete IP address manually, human to human, via voice or handwriting where you can't just copy/paste?

I mean REALLY NEED. Not just "I'm too lazy to set up DNS", not some hypothetical nonsense where you've found yourself on a network that has functional IPv6 but all autoconfiguration beyond SLAAC is disabled, etc. It just doesn't happen at a rate sufficient to justify how much people like you whine about it.

DNS works. You set it up correctly once when you provision the system, it stays working, you never need to think about a raw IP address again until it's time to deploy a new system or something weird happens like changing a NIC. If your DNS is that broken that you can't depend on it, fix that first and stop worrying about trying to remember complete addresses. If you need to tell a colleague what system you're looking at and DNS is not properly configured for that system, "the one ending in 44a1" is more than sufficient 99% of the time in the same way "the one ending in 127" was for v4 and the rest of the time you have computers and copy/paste works.

comment 2w ago · link · parent

> No program actually end up "exposed on port 0"

Clearly you didn't read the article, plenty of stuff is in fact exposed on actual port 0 because it's a real thing and not just a way to get whatever ephemeral port like you're using.

comment 2w ago · link · parent

> I'm not sure how I'd do acceptance/E2E testing without the magic of port 0.

Same as anything else, an explicit flag to achieve the same "just give me a port" functionality as this "magic number" does without resulting in the documented unpredictable behavior around a technically legitimate port number.

As the article points out, most if not all of the services exposed on port 0 seem to be accidental and likely resulted from people assuming this magic behavior applies everywhere instead of just to one specific API.

comment 2w ago · link · parent

AT&T still does this, if you're using their (intentionally terrible) standard gateway device the default DNS will return a "search page" instead of NXDOMAIN which predictably has all sorts of negative impacts on non-browser devices but the wastes of oxygen responsible for this don't care as long as they see that delicious ad revenue.

comment 2w ago · link · parent

Also how many times do we have to learn that letting badly programmed software die when unexpected things happen is the better option because it means people actually notice that there's a problem. Silent compatibility hacks are the worst, they guarantee problems never get fixed and the stack of hacks never gets smaller.

Microsoft has historically been one of the leaders on the wrong side of this one, but they have also demonstrated how effective it is to call out badly behaved software and make it annoy the users with UAC. When Vista came out, so many applications needed elevated privileges to run because they were badly designed to write user data in system locations, but now their application was more annoying to use and came with a scary dialog about it making changes to your computer that other better-designed software didn't get.

More often than not if a program didn't actually intend to change system settings it was just a matter of badly chosen default paths which are pretty trivial to fix, but so many vendors just would not do it despite years of complaints from NT admins wanting to not have to spend hours with Process Explorer figuring out specific permissions to grant limited users enough access. Once their failures were put front and center, calling their application out as the one getting things wrong every time the user ran it, they suddenly had motivation to fix it.

comment 2w ago · link · parent

The zero, one, infinity rule isn't directly relevant here but it's close enough to be worth mentioning IMO.

https://en.wikipedia.org/wiki/Zero-one-infinity_rule

The rule is about data structures but I feel it has wider applicability user choices in software. You should either give the user no choices, give them individual binary choices, or let them pick anything that could theoretically be valid and design your system to assume they'll sometimes pick invalid options which will need to be handled appropriately.

comment 3w ago · link · parent

If you have more than one device at all it's still better to have a single cellular router than to have a bunch of individual cellular devices, so having the ability to operate on WiFi or ethernet is a benefit to literally everyone who's not using it as the sole device at a booth or something at very little BOM cost. That also makes it useful in locations that don't have good cell service as long as some kind of network can be accessed.

Making something intentionally significantly worse to save pennies on the BOM is not something that should ever be defended.

If it has a cellular internet connection there's no good reason to not at least also have WiFi, and if it's the kind of device that isn't expected to be moving around while in use there's no good reason to not also have ethernet.

comment 3w ago · link · parent

I wonder how much Raspberry Pi's choice to use Debian as the basis for their default distribution helped here, because it certainly increased the demand for plain Debian packaging of software that was previously packaged for Ubuntu.

comment 3w ago · link · parent

Timex DataLink. I had the Ironman Triathlon branded model of those, used the hell out of it in high school.

The screen flickering trick also only worked on CRTs under Windows 3.1/9x, so if you had a laptop, any other system with a LCD, or were running NT you had to get a special dongle that hooked up to your serial port and would blink a LED that you had to hold in line with the watch's sensor.

comment 3w ago · link · parent

> None of which was a good reason to use it on servers. Even if you were familiar with Ubuntu there is very little difference between an Ubuntu server and a Debian one.

Something to keep in mind is that the term "server" covers a wide range from datacenter beasts pulling kilowatts per node to old desktops running headless to Pi Zeroes and repurposed cell phones, and some of those use cases do in fact benefit from access to proprietary drivers and even hacks like NDISWrapper.

Beyond that, I've seen two main reasons to use Ubuntu Server over Debian, and I say this as someone who has administered Ubuntu, Debian, and CentOS systems for years and always chooses Ubuntu or Debian when the options are open.

1. For a while there were commercial software vendors that would release Linux versions only for specific distros, and Ubuntu was on that list a lot more often than Debian, so if you liked Debian-style packaging and wanted to use commercial software there was a reason to use Ubuntu. Zimbra was one of those when I last used it in the late '00s.

2. There was a time where it seemed like every F/OSS project had a PPA which made it really convenient to install on Ubuntu with automatic updates as part of the system package manager while Debian had to manually load .debs or might not have even had a package due to older system libraries. For personal toy servers and "pet" dev servers this is wonderful, obviously far less important for well-managed "cattle" servers.

Docker, Flatpack, and to a much lesser extent Snap have pretty much eliminated these reasons though. My home server is still Ubuntu LTS because it's easier than changing it but when it next gets rebuilt things will be changing a lot. All of my work servers are migrating to Debian, we have one Ubuntu instance remaining that just had its last major service switched away and a bunch of CentOS systems on sites which are getting swapped out whenever our techs happen to visit.

comment 3w ago · link · parent

If you put the model number in to your search engine of choice it should return a number of sellers focusing on the hospitality and B2B markets offering these products. Some are "call for quote" bullshit but others have a price listed and an "add to cart" button. I haven't actually tried to buy one, I have a CX that lives on an allowlist-only VLAN and I'm fine with that.

comment 3w ago · link · parent

As others have noted, yes air conditioning an entire house takes a lot of power, but if we're talking about large scale disaster scenarios you don't need to air condition an entire house.

My car can power a windowshaker and a refrigerator for days between charges. It can air condition itself for about a week. If things are at a place where that's not enough why would I stay there?

12345
34