HNHacker News
TopNewBestAskShowJobs

zzzcpan

4,245 karma · joined December 27, 2011

submissionscomments
zzzcpan··on Bastion – Highly-available distributed fault-tolerant runtime
It's because of the vm interpreter that calls into the scheduler within loop iterations. Nothing to do with threads.
zzzcpan··on Smartphone startups take on Google, Apple and put privacy first
It's legal, but binary blobs are not compatible with privacy first approach. And it's a lot of work to reverse engineer and build such compatibility.
zzzcpan··on Reflections on Software Performance
Best to call it unneeded optimization then, not premature.
zzzcpan··on Bastion – Highly-available distributed fault-tolerant runtime
By runtime fault-tolerance they probably just mean an ability to do programmable supervisors that can react to actors dying, nothing special. And it's not like you can do a lot from a user space process anyway, apart from catching signals and destroying a currently running actor that caused it.
zzzcpan··on Reflections on Software Performance
> You have to plan and architecture for it

And even that is not enough. You also have to know how to plan and architecture for it, have a well developed mental model of what can get you there, which means you have to practice doing high performance things, follow research and high performance ideas and generally have a habit of building things that are fast. Few people actually do that.

zzzcpan··on Follow-up to “The dystopian world of software engineering interviews”
FAANG won't stop, as they put people through hell on purpose. They want them to dread interviewing and switching jobs, so they can have them for themselves for longer and pay them less.
zzzcpan··on Challenges with distributed systems
I mean wait implementation doesn't have to actually wait, it just has to register an event handler and store some context to continue with. In the simplest case if we assume there is nothing else to process the condition will be met right in the next iteration and will call back that event handler and continue from that point all without any waiting.
zzzcpan··on Challenges with distributed systems
> One constraint is that it rules out some programming styles, since the code must never use waiting constructs

The constraint here is for testing/simulation to be able to supply their own implementation of waiting constructs, not that waiting constructs cannot be used, of course they can.

zzzcpan··on Windows 10 could start bullying people into using a Microsoft account to install
> Windows 10 is a total catastrophe for business and private use.

There is just no real competition, so business and private users don't have a say in it anyway. MacOS requires different hardware and only has to be a little bit better to compete with Windows, so it's progressively getting worse as well. Linux distros lack in other areas and are also heavily corporate driven and low quality, sure if you invest time in it you won't be able to tolerate Windows and MacOS, but you might need a lot of time, as usefulness and freedom of Linux only really exists for programmers. There is also pressure from iOS and Android, people do not care as much about desktop OSes, they live within their phones, and forgive desktop OSes a lot more crap because of that.

On the other hand maybe someone will see an opportunity for a high quality desktop Linux distro that addresses many problems of other OSes now that other OSes are getting so much worse.

zzzcpan··on The Problem with Threads (2006) [pdf]
Well, no, we don't need to accept that cost, it's just a constraint for a concurrency model to choose, i.e. maximizing locality. Apart from that another big one for massively multicore systems is minimizing cross-core synchronization. You can meet both, just not with threads as your programming model.
zzzcpan··on Javascript Object Signing and Encryption is a Bad Standard (2017)
> with type systems that mostly keep the foot guns in the foot gun cabinet

They don't compared to dynamic languages. Those type systems are only an improvement compared to C and C++, not to dynamic languages.

zzzcpan··on Javascript Object Signing and Encryption is a Bad Standard (2017)
> Dynamic languages with no compile time checking of fields, assertions, etc. seem inherently very dangerous to me for anything security critical or cryptographic.

You don't seem to realize, but runtime checking and assertions is an equivalent thing, it's literally an empty claim. But dynamism actually allows more in terms of security, because you can track a lot of things at runtime implicitly and bail if anything doesn't satisfy some property. For example: taint checking https://en.wikipedia.org/wiki/Taint_checking

> Sure you can write secure and correct code in them, but what happens years later when others (including yourself after you've forgotten what you wrote!) have come and made various edits, changes, refactors, etc.

That's what test coverage is for. But your claims are wrong and ignorant either way. We have empirical evidence that less code means less bugs and that more expressive dynamic languages means less code for the same functionality and therefore less bugs too.

zzzcpan··on South Korea switching their 3.3M PCs to Linux
To your updates point: as I understand Microsoft's strategy they are doing rolling release now, which is how a desktop OS should do in the age when hardware is expected to still be fast enough for everything in 15 years. Ubuntu doesn't do it, their LTS is just 5 years, neither does MacOS by the way. This is of course very annoying to deal with and disrupts and breaks user experience pretty significantly. But also is not a problem for government making their own distro, updates is like half of the reason to even make a distro.
zzzcpan··on Container-Native Multi-Cluster Global Load Balancing with Cloud Armor on GCP
It still is. Proper "global load balancing" is essentially a CDN and nginx with say bind9 running on a bunch of edge nodes from different hosting providers without all those container-native buzzwords is the easiest way to do it.
zzzcpan··on Cancer medicine generates enormous revenues but marginal benefits for patients?
The problem is nobody is telling you the truth or providing a way to make an informed decision. And not just because they want to take your money, but also because they themselves simply don't know how to make such decisions. They pretty much just try various things on real people to see if they work or that can confirm the hunches they have for further interventions, ignoring consequences of doing any of it.

Like in your particular example, every unnecessary surgery actually increases your chances of dying during surgery or sometimes after it, not to mention the chances of crippling you forever, but you don't know what those chances exactly are and worse, you are assuming there isn't such risk, while it's crazy high. So high, that 100 times false positive rate absolutely makes it a no brainer to never undergo such diagnosis, it pretty much guarantees to make things worse for or kill a lot of people.

And yet nobody will give you the numbers to make a rational decision.

zzzcpan··on Cancer medicine generates enormous revenues but marginal benefits for patients?
> After all, the author has just spent a lot of words tearing down the (generally well-meaning) attempts of scientists (and others) to prolong the lives of people who are diagnosed with cancer.

You are showing massive bias here. It's ok to criticize science, it's normal and necessary even, but to "believe" in science and "well-meaning" of scientists and trust their opinions and conclusions is not, it's harmful, like in this case causing literal unnecessary suffering of real people and robbing them and their families while they are.

zzzcpan··on Cancer medicine generates enormous revenues but marginal benefits for patients?
I'm pretty sure two months is statistically insignificant in this context to even claim there are two months.
zzzcpan··on The Fallacy of Productivity in Software Development
Pretty awful article, sounds like it exists just to push pair programming.

In software collaboration simply doesn't happen through interactive conversations. There is just too much background work to do and too much knowledge and information to get through that requires a lot of deep focus, so it can only be a slow moving non-interactive process. Over time people learn code, documentation, comments other people wrote and contribute same things themselves for others to see and learn someday. This is how collaboration happens. If more targeted collaboration is required people just create a some sort of document and give others a chance to read it, learn it and contribute back on their own time. The attitude expressed in the article is actively harmful to that process, software is not that field where you can "love seeing people working together".

zzzcpan··on The Business Case for Formal Methods
Sharing data the way you imply is an anti-pattern in distributed systems, you are probably just stuck in a shared memory multithreading mindset. Instead we use specific consistency models. What I described is about models that don't assume that data is up to date on every node but rather operate with the assumption of stale data. And asynchronous networks fail relatively simply too, you are making it the bigger deal than it is. Well, they don't actually fail, but rather this is how they normally operate, they are just unreliable, so you have to assume that data won't be delivered to destinations in time or at all sometimes. If this screws things up for you, then you are definitely doing it wrong. Even if you need low latency, multiple destinations and multiple independent paths is all there is to it, which, again, works well if you don't use consistency models that require consensus. It's like a different world from imperative algorithms with many steps.
zzzcpan··on The Business Case for Formal Methods
Keep in mind, there are different approaches to design distributed systems. You can do pretty much everything without sharing or concurrently accessing any resources, without relying on paxos family of algorithms, etc., it would require you to make sure that algorithms converge, can be retries and so on, but that is local reasoning, easily testable, and it doesn't look like TLA+ even remotely nor can it benefit from it. If you need to model 35 high level steps, your system is definitely not designed that way, is too complex and even philosophically is not in the camp of making distributed algorithms so simple, that they can be easily reasoned about. I guess what I'm saying is that if you need TLA+ you are very likely doing it wrong.
zzzcpan··on Apple’s malware problem is getting worse
Fake and PR security to take away freedom from users is what people are complaining about.
zzzcpan··on The Byzantine Generals Problem (1982) [pdf]
The problem doesn't have a "full solution", like any fault tolerance in general, only probabilistic one.
zzzcpan··on Court rules that people can't be locked up indefinitely for refusing to decrypt
But it could also be that you legitimately accounted for such threat of the government trying to force you to decrypt your disks and made keys volatile and unrecoverable.
zzzcpan··on Mozilla’s plan to fix internet privacy
> needs to be based in something resembling actual fact

If you can't recognize something as a fact, it doesn't mean it isn't. I don't care about downvotes on such topics though, I didn't even know I was downvoted until someone pointed it out.

zzzcpan··on How the cancel culture was leveraged against RMS
> The big problem is that far too many people care about the man who lost his job and far too few people care about the underage woman who was coerced.

It's actually the opposite, far too many people get easily influenced by propaganda, hence why the man lost his job.

On top of that the man lost his job is a fact, but a claim of an underage woman who was supposedly coerced is not and is not verifiable, it's just white propaganda. If people weren't so naive and accepting of propagandistic authoritative claims, this wouldn't have happened.

zzzcpan··on Mozilla’s plan to fix internet privacy
They could probably exist without Google funding, like just supporting a Chromium fork with fast native adblocking. But obviously not as a thousand people company.
zzzcpan··on Mozilla’s plan to fix internet privacy
That's the problem with Mozilla's privacy propaganda, their funding depends on violating privacy, so they can only talk and pretend, but not actually do anything about it. Which makes them look bad, dishonest and fake, when they are talking about privacy.
zzzcpan··on Performant Front-End Architecture
This is very shallow short term view on things. Performance also impacts customer retention, loyalty, satisfaction and word of mouth advertising because of that, makes engineers feel good and proud about the things they do, rewarded and motivated to keep going and not leaving to do something else, etc. Hardly "a waste of resources".
zzzcpan··on How to detect web bots?
In the context of describing an idea to minimize false positives, pointing out a false positive in the given example is at best nitpicking, it's definitely not relevant.
zzzcpan··on How to detect web bots?
What exactly in that logic in any way leads to turning off the site entirely? It's literally the opposite: narrowing down the bots by calculating probability of them not being real people using multiple signals and like Bayesian inference or something like that, it's pretty much a primitive machine learning.

I'm surprised there are so many trolling comments here.

← PreviousPage 5 of 34Next →