HNHacker News
TopNewBestAskShowJobs

XelNika

131 karma · joined January 10, 2020

submissionscomments
XelNika··on Ubuntu 20.04 LTS’ snap obsession has snapped me off of it
I like the init system (admittedly, I have not been using Linux long enough to remember a time before systemd), but components like networkd and resolved are a pain to work with in general. I've had the networkd DHCP client fail in situations that dhcpcd and dhclient handled with grace. It is not clear to me what benefit said systemd components provide over the more traditional solutions.
XelNika··on Ubuntu 20.04 LTS’ snap obsession has snapped me off of it
The Wiki instructions are outdated and WireGuard has since (March 2020) come to buster-backports.
XelNika··on 'Publisher' Google ordered to pay $40k in damages for defaming Melbourne lawyer
> Seems ripe for abuse and no-questions-asked compliance lest they be sued.

That is exactly what the DMCA is and Google does abide by that. This case is about Google's compliance with the law, not whether the law is fair.

XelNika··on 'Publisher' Google ordered to pay $40k in damages for defaming Melbourne lawyer
The quote at the end could explain the issue.

> "Her Honour has found that Google is a publisher of the defamatory imputations once Google receives notice of a defamatory publication online as a result of the use of its search engine," he said.

I think it is reasonable to argue that Google should remove results if they are notified of defamation. I hope that was the ruling in this case, because anything else would set a terrifying precedent.

XelNika··on Why not “Why not WireGuard?”
If people want that, there are already tons of other VPN options. Donenfeld didn't leave it to third parties, he doesn't want cipher negotiation at all. Other people can do whatever they want and the base project remains untainted. I personally don't really see the difference between having negotiation built in vs. the community building their own solution, the community has just as capable developers. OSS is projects building on other projects and WireGuard fully embraces that to provide a package that does only what it has to, but does it really well.
XelNika··on Why not “Why not WireGuard?”
The two versions can run in parallel so you will never be in a situation where the sysadmin is forced to take down the v1 server to set up a v2 server. It's the sysadmins responsibility not to put users in that situation. Users might try to use the wrong version at first, but there's no reason for an admin to break the working VPN before the transition is complete.
XelNika··on Why not “Why not WireGuard?”
Sure it does. They are two separate packages, run on two separate network ports and completely incompatible. Just pretend that WireGuard v2 is unrelated to WireGuard. "OpenVPN and WireGuard coexistence doesn't work without a version number going over the wire" would be an absurd statement and the same applies to WireGuard and WireGuard's descendants.
XelNika··on Why not “Why not WireGuard?”
Breaking user space might not be popular with users, but it makes sense for security. Besides, anyone could build protocol negotiation on top of WireGuard v1/v2 if they wanted to.

I'm not a kernel dev, but WireGuard v2 will probably be implemented as a separate kernel module so they can coexist. It makes sense to do it that way since they're practically entirely separate protocols.

XelNika··on Why not “Why not WireGuard?”
> This section of the article is confusing at first because it talks about “road warrior” users (who generally have dynamic IP addresses) not being supported by WireGuard. But this is not true; standard WireGuard happily works as long as as least one end (usually the central VPN concentrator) has a static IP address.

Maybe I don't understand the issue to be solved (I was unfamiliar with the 'road warrior' term so I looked it up [1]), but I think both Avery Pennarun and Michael Tremer misunderstood what WireGuard is capable of. WireGuard works just fine when the physical network interfaces have dynamic IPs (on both ends even). You can use the basic wg or wg-quick tools to create a VPN server on a server with a dynamic IP and have clients connect from dynamic IPs. However, all the tunnel IPs must be static unlike e.g. OpenVPN where the server gives the client a tunnel IP during authentication.

> (for example, so you can get to an office network whose home connection uses dynamic DNS). It’s true that plain WireGuard does not support this configuration out of the box.

I have done literally that for over a year now. I cannot think of a way to interpret this that would make Avery's claims true.

> Someday, WireGuard will need to be upgraded to support a second cipher suite. When this happens, users will be able to configure it peer-by-peer to allow one cipher suite or the other, or both, exactly as they would with any other VPN.

That is not how I interpret what Donenfeld has said [2] about the future of WireGuard. I believe the software will get a v2 without backwards compatibility. However, even that is a non-issue because sysadmins can run both protocols in parallel during the transition.

[1] https://en.wikipedia.org/wiki/Road_warrior_%28computing%29

[2] Page 3 of https://www.wireguard.com/papers/wireguard.pdf

XelNika··on Stripe records user movements on its customers' websites
There's a difference between doing collecting data on your own site and doing it on third-party sites so banks are a bad example (unless your banks work differently than mine).
XelNika··on NextDNS is my new favourite DNS service
> Despite how much I like Cloudflare and this specific service, I want to block trackers at the DNS level. 1.1.1.1 is probably the most reliable and fastest resolver there is on earth, but that does not fit my use case either.

Isn't this a bit poorly timed, considering the recent Cloudflare DNS announcement?

> In the coming months, we will provide the ability to define additional configuration settings for 1.1.1.1 for Families. This will include options to create specific whitelists and blacklists of certain sites. You will be able to set the times of the day when categories, such as social media, are blocked and get reports on your household's Internet usage.

https://blog.cloudflare.com/introducing-1-1-1-1-for-families...

XelNika··on Configs suck? Try a real programming language
Sure, Python is dynamically typed, but it supports type hints and avoids implicit type conversions. I'm sure that quote is aimed squarely at YAML, it is an absolute nightmare by comparison.
XelNika··on Show HN: KCP: a new low-latency, secure network stack
It seems really weird to me that this post doesn't address what aspects of real-time multiplayer gaming need a reliable transport. The idea of a low-latency reliable transport might seem interesting, but client-server communication generally doesn't require a reliable transport because there's no point in delivering outdated data. From what I can tell, it's because SpatialOS is supposed to support server-side simulation and support splitting that work across multiple game servers. Quite niche IMO.
XelNika··on Zoom meetings aren’t end-to-end encrypted, despite marketing
> the news about the company are now beyond the tech media.

I searched around a little and neither this nor the recent Facebook story have been covered by Danish non-tech media at this time.

EDIT: The story is still new, it might get coverage later this week.

XelNika··on Zoom meetings aren’t end-to-end encrypted, despite marketing
I'm still not convinced this coverage is in any way related to Zoom's current popularity or COVID-19, I just think a company that keeps fucking up is a better story than a one-off.
XelNika··on Zoom meetings aren’t end-to-end encrypted, despite marketing
> you have managed to double your egress

Only compared to the current, unencrypted version. For E2E encryption, the alternative, as I see it, is pushing out an encrypted video stream per recipient. He has reduced his egress from O(n) to O(1).

XelNika··on Zoom meetings aren’t end-to-end encrypted, despite marketing
> The Intercept didn't care about Zoom a few months ago and wouldn't have without Corona.

The 2019 Zoom vulnerability[1] was a much bigger deal and did get picked up by the media. Zoom already had a terrible reputation before COVID-19.

[1] https://news.ycombinator.com/item?id=20387298

XelNika··on Maza – Like Pi-hole but local and using your operating system
What do you mean? There's nothing preventing him from running Pi-hole and stubby locally in Docker. That was how I interpreted his comment.
XelNika··on Maza – Like Pi-hole but local and using your operating system
How does that help the GP?
XelNika··on Maza – Like Pi-hole but local and using your operating system
That doesn't always work, because servers aren't always used in strict order.

For example, my default Kubuntu 19.10 installation flips the primary and secondary if the primary is unresponsive for a while. Since my laptop takes a moment to establish a WiFi connection upon waking up, it always decides that the primary server is down and to default to the secondary server. It has currently been 3½ hours since my laptop queried its primary server and it has queried the secondary server over 1000 times in the past 24 hours despite the primary having 100% uptime.

Most stub resolvers have an option to use strict order, but you can't rely on it as a network admin.

XelNika··on Maza – Like Pi-hole but local and using your operating system
Why not configure your local .test domains in your Pi-hole? That's also dnsmasq, you can use the same configuration options.
XelNika··on Maza – Like Pi-hole but local and using your operating system
> Not sure why the readme tries to obscure that.

I don't think it does, dnsmasq is optional. It does configure dnsmasq regardless, but that configuration only applies if you install and enable dnsmasq. As far as I can see, the script does none of that nor does it change /etc/resolv.conf. The readme is very clear about needing dnsmasq for wildcard blocking.

The script also modifies the host file which will apply regardless.

XelNika··on Maza – Like Pi-hole but local and using your operating system
> For use on a laptop that you take into other networks

I VPN to my home (and by extension my Pi-hole server) when on that kind of network. A local ad-blocker doesn't prevent MITM or malicious DNS servers. Maza won't help if DHCP is handing out the IP for a server that claims google.com is a CNAME to hereisyourvirus.xyz or if the router is transparently redirecting DNS traffic so you don't even know what DNS server you are hitting. Which means you have to use DoH or DoT as well.

XelNika··on New Grad vs. Senior Dev
Yes, it's always best to reduce the number of variables in benchmarking, but the setup makes a big difference when we are talking about tiny data sets.

I don't know how to test it properly, but I tried looping over both the initialisation and a single search, and the hash sets were much slower, so much so that hash sets trailed lists by microseconds at size 10000. In retrospect, making those data structures unsurprisingly dominated running time and the test kind of lost all meaning. It was clear, however, that it wouldn't take many searches for the hash sets to win, search times for lists were going through the roof.

XelNika··on New Grad vs. Senior Dev
I don't think he dislikes the topic, but rather the way it is framed as senior vs. junior instead of subject matter expert vs. non-expert. The skipto example from your post is not exemplary of the difference between a senior dev and a new grad, it seems very domain-specific.
XelNika··on New Grad vs. Senior Dev
You only benchmarked the search itself, but in the real world it might also take time to set up the data. You can't really pinpoint a tradeoff point without knowing how many times a data structure will be used.

I ran your Python test on my machine and the hash set was faster in every case: 10x faster at size 50, 2x faster at size 5, 1.3x faster at size 3.

XelNika··on LICEcap: Simple Animated Screen Captures
Fair, I was thinking more about device compatibility.
XelNika··on LICEcap: Simple Animated Screen Captures
MOV and MP4 are container formats, so MOV can be smaller than MP4 depending on the video formats used.
XelNika··on LICEcap: Simple Animated Screen Captures
> MP4s aren’t as supported as GIFs.

That's barely true for H.264 and it is a much worse format in every other way. Effective quality is higher with modern video formats because the lower data rates afford higher resolutions and higher frame rates. Even the LICEcap demos show that.

It's a neat tool, the user interface is really cool, but it would be better in a different format.

XelNika··on Things you can do with a browser in 2020
> If I have to adjust my monitor brightness to be okay with reading something there's a major issue.

Yes, but the issue is with your monitor brightness or your ambient lighting, not the content. I tune my monitor for use at night with the lights on and as a result, #000 on #FFF is perfectly comfortable at all times. There's rarely a good reason to use a PC in complete darkness and I can't think of any reasons to do it in your own home.

← PreviousPage 2 of 3Next →