HNHacker News
TopNewBestAskShowJobs

zzzcpan

4,245 karma · joined December 27, 2011

submissionscomments
zzzcpan··on Systemd Opened Security Hole in Linux, VPNs Could Be Compromised
While systemd is a significant downgrade in security compared to init systems written in shell, which is memory safe, this particular hole can be attributed to many things, but systemd is barely one of them. Linux networking stack is pretty messy, iptables can barely be called a firewall with awful usability and there is no best practice to use firewall to limit the surface you expose to other things on the network. It doesn't have to be like that. I remember when I used freebsd the first time there was already a suggestion somewhere to block packets with local ip addresses coming into wan interfaces and block, allow packets based on "icmptypes" and "established" flags, and ipfw itself was nice and usable, so it was always a big part of regular practice on freebsd.
zzzcpan··on Australia’s status as an open democracy downgraded by The CIVICUS Monitor
> Russia was ruined by Yeltsin

This is just propaganda. Another way to look at it: Putin, as a head of FSB, sabotaged Yeltsin to get into power.

zzzcpan··on Australia’s status as an open democracy downgraded by The CIVICUS Monitor
Yeah, the map is a bit weird and biased, maybe just uninformed or influence of governments is spilling over to the map. I see examples of repressed status given to closed countries, obstructed and narrowed to more open than narrowed countries.
zzzcpan··on Mitigating a DDoS on Mastodon
> I mention this because it's sometimes easy to dismiss until you're in the situation and the realities of what you have control over are vastly different from technically feasible.

I understand, but you are still talking about a situation where surviving a volumetric DDoS attack without a global centralized provider was possible. It wasn't smooth for you, but it could have been if things were done a bit differently.

Anyway, here on the other side of the world it's not like that, DDoS protection is more common. Because in the early days of DDoS attacks with all the dreadful blackholing one of the big European providers OVH invested in DDoS protection and kind of pushed the whole market to provide it too instead of blackholing.

zzzcpan··on Mitigating a DDoS on Mastodon
Say you have a few nodes behind a few different ISPs sharded to clients. Once one node becomes unavailable it gets replaced by another node and back when it becomes available again. This means either all nodes at once can get attacked, but with lower volume or one by one, but affecting only one shard of users for a short period of time it takes to failover.

But in practice datacenters, uplinks and internet exchanges often are able to do flowspec, firewall rules, block all UDP for a subnet in all networks they have relationships with, etc. So plenty of those nodes can be behind ISPs that mitigate volumetric attacks automatically, so even simple DNS failover might be good enough to protect from such attacks. It's not that hard. Layer 7 is where the hard part is.

zzzcpan··on Mitigating a DDoS on Mastodon
It was far from the only effective solution. Probably just an easy path for someone who has no idea about DDoS attacks, but influenced by advertisement and propaganda. Volumetric attacks don't actually require centralized global intermediaries to mitigate, there are other ways to do it, and Layer 7 attacks are even application specific and should be handled by applications or by someone running them who understands all the specifics, but most definitely not by a global intermediary, as unaware of the specifics intermediary will reject plenty of legitimate traffic. And blocking Tor to mitigate Layer 7 attacks is pretty silly.

Also, it was only up to like very early 2000s when researchers of decentralized systems mostly ignored the existence of malicious actors, but later everyone became well aware of them and started considering how to deal with them.

zzzcpan··on Inferring and hijacking VPN-tunneled TCP connections
It's just easy to implement constant rate, hence why it's best practice. But adaptive rate might be ok, like, for example, if you only pick from 4 different rates and adapt exactly every second, you only leak 2 bits of information per second. The question then becomes which leaking rate is safe enough in practice?
zzzcpan··on The FBI considers FaceApp to be a potential counterintelligence threat [pdf]
You are assuming that high resolution details of a face have value in a world where surveillance doesn't capture faces in high resolution.
zzzcpan··on The FBI considers FaceApp to be a potential counterintelligence threat [pdf]
No need to be a state actor, private companies do that too and sell data to law enforcement. There is no realistic threat, just propaganda.
zzzcpan··on The FBI considers FaceApp to be a potential counterintelligence threat [pdf]
It's not better to have your face or other data in a database within reach of your own government. Your government has power over you, other governments do not.
zzzcpan··on Oxide Computer Company: Initial boot sequence
No, cloud stuff in a box kind of product, i.e. software, hardware is obviously secondary to it.

People are confused because of the comedic level of bullshit (reminds me of "the box" from a Silicon Valley tv show episode).

zzzcpan··on Oxide Computer Company: Initial boot sequence
> "a true cloud-like on-prem experience"

I'm afraid what people mean by that statement and what the startup is going to try to do are completely different things. As in people mean AWS-like cloud services running on multiple servers they control with all the fault tolerance and geographically distributed. But for the startup it probably means cloud services running on expensive servers in a fast local network.

zzzcpan··on Files Are Hard (2015)
Related to the post, some disk and filesystem reliability research in chronological order, including things from the author.

Disks:

An Analysis of Latent Sector Errors in Disk Drives (2007) https://research.cs.wisc.edu/adsl/Publications/latent-sigmet...

Failure Trends in a Large Disk Drive Population (2007) https://static.googleusercontent.com/media/research.google.c...

Cycles, Cells and Platters: An Empirical Analysis of Hardware Failures on a Million Consumer PCs (2012) https://www.microsoft.com/en-us/research/wp-content/uploads/...

Flash Reliability in Production: The Expected and the Unexpected (2016) https://www.usenix.org/system/files/conference/fast16/fast16...

Filesystems:

IRON File Systems (how filesystems behave on disk errors) (2005) https://research.cs.wisc.edu/wind/Publications/iron-sosp05.p...

EIO: Error Handling is Occasionally Correct (2008) https://www.usenix.org/legacy/event/fast08/tech/full_papers/...

SQCK: A Declarative File System Checker (2008) https://www.usenix.org/legacy/events/osdi08/tech/full_papers...

All File Systems Are Not Created Equal: On the Complexity of Crafting Crash-Consistent Applications (2014) https://www.usenix.org/system/files/conference/osdi14/osdi14...

Filesystem error handling (2017) https://danluu.com/filesystem-errors/

Files are fraught with peril (2019) https://danluu.com/deconstruct-files/

And a DRAM reliability paper, for a more complete picture:

DRAM Errors in the Wild: A Large-Scale Field Study (2009) https://www.cs.toronto.edu/~bianca/papers/sigmetrics09.pdf

zzzcpan··on Filesystem devs should aim to make “badly written” app code “just work” (2009)
It's not that easy to come up with a decent filesystem API.

Consider that filesystem data cannot be synced to underlying storage in a such way that it can be reliably read later and backups by definition are asynchronous and provide eventual consistency. This means that the best meaningful guarantee an application can get after machine crash is being able to read data written up to some point in the past, but not after every successful fsync before crash. Usually, though, even that guarantee is hard to achieve, as bad blocks happen and redundancy is not there. Given all that it's ok to relax filesystem APIs behavior to proper physical constraints. Like fsync is only meaningful as an ordering operation, no need to actually flush anything to disk immediately on fsync or any operation.

Next is multi process and multi threaded scenarios. Should O_APPEND only work correctly from a single thread, should each write be atomic and to what size, we certainly can't have gigabytes in an atomic append or should there be some synchronization mechanism that blocks others? Same for temporary files and unit files.

And what to do on bad blocks? Should there be redundancy within a single disk, should block device underneath be log structured storage with block remapping and scrubbing and provide reliable storage layer to the outside by sacrificing space? Maybe for desktop machines it should, but not for servers, at least not all of servers, they need a different API.

I'm not even touching performance considerations here, that depend on performance-friendly APIs a lot.

zzzcpan··on Belarus’s Soviet Economy
Only Belarus from your list didn't "liberalize" its economy and retained central planning.
zzzcpan··on Who eats who in open source
K8s is not an advancement in orchestration and is very much on the AWS side in this, deeply integrating with proprietary cloud services that do their own operations and infrastructure, not even considering open sourcing those services and their supporting infrastructure nor working towards alternatives to replace them. It's just that the same thing that makes AWS piles of money is the same thing the company behind k8s is after, so they are definitely not going to advance k8s in a way that commoditizes AWS. Not that they are even capable of doing so.
zzzcpan··on Real hardware breakthroughs, and focusing on rustc
Right, this is another side of things that makes even slow ancient microkernel designs viable.
zzzcpan··on Real hardware breakthroughs, and focusing on rustc
No amount of transistors can make shared memory monoliths fast on multicore systems, because the problem is in architecture unfriendly to such systems, not in hardware. Monoliths can be fast if they drop shared memory and use actor model, not atomics and mutexes and programming with shared memory. But then it would no longer make them monoliths. Basically what makes monoliths slow on multicore systems is also the thing that makes them not microkernels. I mean if you split everything into actors, why even run all of them in kernel? Group them into isolated OS processes.
zzzcpan··on Real hardware breakthroughs, and focusing on rustc
Performance is a myth too, performance of shared memory monoliths became uncompetitive long ago when they had to adopt to multi core systems, where locality, batching and asynchrony play very significant role. High performance research in networking and distributed system basically converged on asynchronously communicating isolated processes.
zzzcpan··on Apple changes Crimea map when viewed from Russia
Like half of the country are speaking Russian at home and at work too by the way. That doesn't mean they don't know Ukrainian.
zzzcpan··on Apple changes Crimea map when viewed from Russia
> Most Crimeans don't speak any Ukrainian.

No, most Crimeans do speak both Russian and Ukrainian, just like everyone else in Ukraine, since Ukrainian is the only official language and it's pretty much impossible to not be exposed to both languages, especially in education and media. After the fall of Soviet Union all the ethnic Russians in Ukraine (incl. Crimea) had no way of avoiding it and do speak Ukrainian.

zzzcpan··on Apple changes Crimea map when viewed from Russia
> The vast majority of people in Crimea are Russian speakers (as well as being ethnically Russian), not Ukrainian. It's been that way since the Russian Empire conquered the peninsula from the Ottomans in 1783. In fact, there's nearly as many Tartar (descendents of Ottomans) speakers in Crimea than Ukrainian.

This is misleading and factually incorrect. Everyone who speaks Russian also speaks Ukrainian in Ukraine, except for people who literally moved there recently from Russia and other countries.

zzzcpan··on With 'thank you' emails polite Britons burn thousands of tonnes of carbon a year
Presumably sitting typing an e-mail on your PC with screen on is where most of the energy consumption comes from.
zzzcpan··on With 'thank you' emails polite Britons burn thousands of tonnes of carbon a year
Even if estimates were true, not sending an email still produces the same amount of CO2, or even worse, as people go waste this free time on entertainment, like watching videos, playing games.
zzzcpan··on Dark Mode by Default – 95% of People Prefer Dark over Light Mode
> Dark mode looks like shit on CRTs and even older flat panels with poor contrast.

I think you got it backwards. I remember using black backgrounds and things like "mc -b" specifically because CRTs I used sucked at light colors, trinitron displays later were nicer though and using white backgrounds was pleasant. Nowadays led backlit displays suck again on light and bright colors and don't seem to improve, hence "dark mode" became a solution.

zzzcpan··on Older IT Workers Left Out Despite Tech Talent Shortage
> I am talking about people with multiple years of full-time experience in the field and a relevant degree who cannot even implement a basic FizzBuzz.

I'm sure all of them can implement FizzBuzz, just not on the interview under pressure. It has absolutely nothing to do with competence, but understanding that requires just a little bit of background in human psychology.

zzzcpan··on Older IT Workers Left Out Despite Tech Talent Shortage
> We can't find anyone __worth__ interviewing right now

There is enough research in job markets showing that companies get more picky and advertise more demanding and complicated job requirements as more candidates are available. So your claim is empty, since this is how companies behave regardless of supply. And if you were to measure it, how big artificial barriers or filters are for someone to get hired could be the measure of oversupply, not shortage. With shortage there would be no barriers, everyone applying would be interviewed and likely hired. But given current hazing hours long interview practices it's pretty clear that companies are drowning in oversupply.

zzzcpan··on Novelty and Heresy
Novelty he talks about is one thing, but economics is a policy driven political system, not rooted in science and hence forced on people and supported with propaganda. The difference is between fighting opinions of powerless people and fighting powerful governments that have full force of propaganda behind them and all kinds of censorship, silencing techniques that affect spread of information everywhere.
zzzcpan··on Data leak reveals how China 'brainwashes' Uighurs in prison camps
Not all countries are equal at this. Some push police country level obedience, like with "detentions" modeling jails.
zzzcpan··on The care and feeding of software engineers, or why engineers are grumpy (2012)
> Do architects burn out? Do civil engineers? Electrical engineers?

In all of those fields projects eventually get finished and involve a lot of bureaucracy and waiting. There is much more breathing room, than in software and more time to recover.

← PreviousPage 10 of 34Next →