Hacker News new | past | comments | ask | show | jobs | submit | solmag's comments login

It's a nice article, but don't they run against Amdahl's law? I mean they're parsing JSON from some web api?


Possibly, but if you are processing live market data, you are in the arena of almost hard real-time systems. I.e. you effectively have a time budget to process every single tick/message. Then, even low-level optimization can make a large difference. E.g. if you can make some helper method use less memory, i.e. it uses less of your caches, that can make a big difference on your business logic. Amdahl's law is not at all suited to understand such non-linear non-local inter-dependencies.


Isn't Amdahl's law only applicable to systems that some parallelism?


Amdahl's law basically says when you speed up part of a task, the overall speedup is limited by the part you didn't speed up. The speedup doesn't have to come from parallelism.


It can be applied more generally. If you're focusing on improving the performance of something that only takes 10% of your time, then the other 90% will still dominate.


Aha, I see. If you’re in a race where every microsecond counts you would still care about there 10% after you’ve made sure that the 90% can’t be further optimized.


The key, I think, is that everyone else is parsing the same JSON from the same web api. If you can do it faster than them, its still an advantage.


Ahmdals law deals with throughput or start-to-stop time for processing a given work, not necessarily latency.


Most body of knowledge built from working with Linux and Windows can be wholly ignored when building the New Operating System. There is barely anything worth of salvaging in either of the 'operating systems' or their lessons learned (besides not doing what they did).

I guess some of the GUI stuff is worth something, but you can just make a ray traced OS with Unity so.


Guess file sizes based on their reflection!


"500 internal error" and audible laughter sorry


It is a military superpower; one shouldn't expect them to address their security in terms of charity and human rights.

As for security of Europe, the status quo was already changed when they successfully took Crimea, and I think EU leaders like Germans and France have admitted as much in practical terms.

The energy situation in western Europe is comical and mostly a self own. I can't even take seriously when they keep being hostile to Russia and act surprised when they get squeezed by Russia. Also Ukraine and Belarus can coerce countries downstream from them wrt. gas.


It is very tiresome to witness this time and time again in the inflation discussion.


I think one of Jung's comments was that we don't really know the performance benefits of UB in that blog post.


I believe there is a library that can generate type-state machines for you in Rust, ie. you don't have to code it by hand.


I think you're talking about what Pin does? But that's unrelated to these custom state machines.



Very good podcast (with transcript!) about kernels / lib kernels / unikernels:

https://signalsandthreads.com/what-is-an-operating-system/


Immunocompromised subpopulation is so small (at least in my country), especially compared to unvaccinated (abt. 30%), that it should be fairly trivial to quarantine them, don't really see an issue here if we are restricting unvaccinated life based on argument about public health.


> a persistent infection in an imunocompromised individual is one of the most plausible theories

> People with a compromised immune system are a good setting for evolving new variante of coronavirus

If it turns out to be the case, should we have HIV / Cancer Patient Passports? After all, these people can be a general danger to public health as they can demonstrably incubate new dangerous strains of diseases, like Omicron.


Of course not! Please don't suggest that I would say such a heartless thing! We're talking about someone who had to be sick for months, probably inside a hospital already.

The important thing to do is get everyone vaccinated, including in Africa where there is a tremendous shortage of vaccines. The more the virus spreads, the more chances it has to mutate into new variants. Also, when everyone is vaccinated, the elderly and immunocompromised are less likely to be exposed to the disease; vaccination should be seen first as a public-health policy, not as a means for individual protection. Not to mention that, even though the vaccination is less effective individually for the immunocompromised, they are one of the groups that are at most risk from covid and therefore most benefit from being vaccinated.


> vaccination is less effective individually for the immunocompromised

> People with a compromised immune system are a good setting for evolving new variants of coronavirus

> They stay sick for a long time (meaning more viral replication and more opportunities for mutation) and they apply a weak immune response which while not sufficient to wipe out the disease, provides selective pressure that rewards immune evasion.

If what you say is true about immunocompromised people I fail to see a public health argument against their quarantine and certification via passports. We already restrict a much larger and healthier subpopulation (the unvaccinated) so restricting this smaller and disproportionately more dangerous one does seem quite obvious to me, based on public health. And as you say, these people are most likely already hospitalized so quarantine procedures should be fairly easy to implement and follow.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: