skysight-inc/HackerNews huggingface dataset:
Just my $0.02, but my experience has been that React seems simpler on the surface, but becomes more difficult to use as your project's complexity grows.

Angular appears to be more difficult on the surface, but its facilities like dependency injection, routing and form validation make your life a lot easier as your project gets more complicated.

The two frameworks are really designed to solve different problems, so doing an apples-to-apples comparison isn't really possible, although people like to do that.

Angular is designed to be a complete SPA framework, with everything you need included, except for Redux-like behavior, so you'll probably add Ngrx (or similar).

With React, you have to choose all of the bits and pieces yourself and hope everything works together. If you end up doing this over and over, and you're choosing the same things over and over, you are in fact creating your own framework.

If you need a mobile solution as well, there is NativeScript + Angular, which will allow you to continue working in TypeScript and Angular for the most part, but like any Compile-To-Native solution, it has slight differences to web development.

After working with Angular and React on non-trivial projects over the past 4 years, I will choose Angular 10/10 for its TypeScript underpinnings, consistency (since v4), huge number of built-in features and peace of mind that everything works together.

Yes Angular is opinionated. No, Angular build artifacts are not as small as React. With everything, there are trade-offs. With each framework, you'll find a huge network of highly competent, supportive developers to help you along the way.

It really just comes down to which style of development suits your style, and which one you feel will best fill the needs of your client's project goals, even if that client is yourself :)
For the lowest cost alternative what is a reasonable estimate? Are we talking about USD 1 per key or maybe USD 5 or more? I guess I could find out if I tried to place an order at one of the mentioned services but it wasn't obvious to me how to do that without first signing up, actually customizing a set of keycaps and starting the order process.
I'm curious what is going on with the "Idle Time" measurements. Does anyone have any theories?

My guess is that if the thread gets descheduled inside the lock() spin loop (either by an explicit call to yield() or otherwise) then the "Four longest idle times" reflect the fact that all of the worker threads have remained descheduled for an extended period. But assuming that the threads have elevated priority (why would you use spinlocks on non-high-priority threads?) this seems implausible on an 8 core machine.

I would be curious to know what the results are if isolcpus was used and the workers were explicitly assigned to those CPUs.
VueJS ( https://vuejs.org )
According to a previous HN thread, Michael de la Maza took the other side.

https://news.ycombinator.com/item?id=18792890
Show HN: Notably – no-login markdown notes app
It's not really Germany's fault. It's our fault in the East for the vanity of prioritizing low cost second hand luxury vehicles above our health and not holding the government accountable for the lack of a functioning public transport system. The Romanian railway system is a national embarrassment.

Germany isn't dumping anything, it's just supplying the demand coming from Eastern Europeans who make lengthy trips there with platform trailers to bring back cheap second hand luxury vehicles that are now longer economically viable there.

I've seen way more BMW X5s and Audi Q7s in Romanian cities than in my time working in Germany and Austria combined. I don't think the Germans came and shoved them down our throats.

Where Germany is at fault is its lack of action after Dieselgate since it decided to protect VW and its executives rather than the health of the EU citizens that are still having their lungs stuffed with diesel particulate from the tens of thousands of TDI engines happily roaming around us.
Even if you could sell ads as well as YouTube, you will neither have Google's scale or technological advantages, nor will you be able to survive on the same margin as YouTube. But off course, any YouTube competitor will most likely receive far less from ads than YouTube does (not counting things like facebook video here).

If we ever want to have a better YouTube alternative, I think the main question is would people be willing to pay a good amount of money for that service. Personally, I find the YouTube model better. Even though it tracks people, it atleast makes videos freely accessible to everyone. Would something like khan academy or OCW even exist without YouTube?.

However, I have observed that as one progress through the social ladder economically, the appetite for a paid but non tracking model grows.
I wish for your assessment of human nature to be accurate, but I’m quite doubtful.
Well, the other side won. So the other side will not need to donate. Albeit that it was close.
Yeah, a better bet would be about those companies actually delivering profits and "growing into their vaulations", as people politely put it. None of those companies have earned a single dollar for shareholders. Not a single dollar.
You can do exactly that with Windows 10 Pro.
Yeah, "unrestricted" is a better term here.
Sure, you can compress the sequences by diffing against the published genome sequence, and many tools exist to do just that. But that alone maxes out at 50% compression, because the other half of the file is the quality scores that quantify the confidence level of each base call, for which there is no reference. Of course there are patterns in the quality scores, and you can compress these as well using the usual techniques for general compression, but it's going to limit how much you can compress without information loss. In addition, the sequencer assigns an unique ID to each sequence read. It's often ok to discard this information, but occasionally you need it in order to trace a specific problematic sequence through the entire analysis pipeline. So if you want lossless compression, you have to compress these as well. They should be rather compressible, since they are typically a prefix global to the file followed by a number that increments by 1 for each sequence. But for a general compressor you can't just automatically assume that, because according to the (lack of a) file format spec, each ID could be anything as long as they're unique within the file. So if you want guaranteed lossless compression of any FASTQ file, your compressor needs to be sufficiently general.

Beyond that, compression of sequences by encoding only the differences from a specific reference sequence somewhat ties you down to using a specific reference, since that reference sequence is required for decompression. This is inconvenient because the reference sequence for a species is updated over time, and if you want to use the new reference, you'll need to decompress with the old reference and then re-compress with the new one. Do you want to do that for all your data, every time the reference is updated? Reference-based compression also means the compressed files are no longer self-contained, which may not be acceptable for certain use cases.

None of these issues are fundamentally impossible to address, but the point is that it's not nearly as simple as it sounds, and anything fancy you do to try and compress a sequence file will generally impose some additional requirements on what the receiver needs to do in order to read the file. And many receivers are not very technically inclined researchers whose plates are already full of other things they need to be doing besides figuring out how to decompress your new unfamiliar sequence compression format,
Bet 3: GitLab, Atomwise, Razorpay. So yes, I suspect he won that one.
They were both involved academically with language design.
Probably joining (not starting!) an early stage startup where significant politics haven't developed yet and the focus is on getting to market (less than 25 people). I would say that freelance/consulting is a somewhat poor choice since self-promotion and networking are fairly mandatory to keep your client pipeline full and get your rates up.
Hong Kong International Airport Lost Nearly a Million Passengers in November
Perhaps, but dealt with via smaller adjustments rather than catastrophic collapse.

The underlying principles of the companies is sound, just priced a bit too high. The market fixed it (as it is supposed to do)
You need a lot more photos, in my opinion. I wanted to look at some to help me engage with the project and clicked around to the blog, then Github, then the wiki, then Hardware but left when I didn't see any photos anywhere.
If something is not unlimited in theory, but it is unlimited in practice, then it is unlimited.
Viaweb's First Business Plan (1995)
Join the Next Campus Partners Batch
How does this compare against chaos monkey?
Also Atomwise is in that group.
There was definitely a trade collapse that might have impacted valuations somewhat.
I started reading this book this week in an effort to open up my job prospects down the line. I'm a "technical" Industrial Engineer often serving as a liason between IT and the business. I can program in VBA and do anything you can name in Excel, but I want to move to a more programming oriented role down the line.

I want to be able to do statistical analysis, queries, and just "be better" at breaking down a problem into easily solvable steps.

I'm using this book as a "learn the basics" stepping stone, and Project Euler as a list of solvable problems which will let me practice solving problems. After that I'll move into some personal projects I have in mind.

Does anyone have additional book or resource recommendations beyond that? I know packages like NumPy and/or SciPy will be useful down the line.

* Codecademy feels overpriced at $40/month or $250/year (no refunds for using a partial year).

* Google Python class was free but about 10 years old. With the Python 2->3 debacle, I was unsure if fundamentals had changed and hesitant to sink my time into it.

* Lynda runs $25 or $40/month but would offer python as well as many other resources.

* Udemy - has a number of courses including one by Al, the author of this book. Looked like it'd be a good value, but I'm not sure how much more value the videos add than the book.
Why is it a "soft limit"? Are you allowed to go over it under certain circumstances?
To me, the outcome is just another example of the power of diversification and that we really don’t know anything about which stocks or companies are best. Stripe alone made Bet 2 worth it.
I can't see where they controlled for distance needed to travel to reach emergency departments after a suicide attempt. I'm sure they did, because it's a pretty big factor for how many people die from some methods, but it would have been nice to see this more clearly described.
Ask HN: How to Find Purpose?
While analyzing my life I realized that the main reason for not making any significant progress is the lack of purpose (both in my private and professional life).

What did you do to find your purpose?
I don't know what it's effect on books is but it generated a lot of interest in bdsm and normalised it some IRL. I'm too young to speak for the before times from personal experience, but in the non-fiction bdsm books I've read they've talked about finding partners or opening up about it to be scary and risky. Whereas I'm just finding normal girls through normal methods (tinder) and "I'm in to bdsm" or "I'm a dom" has been met with either enthusiasm and interest because they're in to it themselves, or simply because they're open to giving it a go and don't have anything against it. Much like if I'd said I'm really in to cowgirl or some other mundane thing like a preferred position. Not at all the experience I've read about.
The end of Openstreetmap as we know it
Yes, free money magically appearing would make life easier for the individuals receiving it (at least, in the short term). No one is arguing otherwise. The concern is that it may have even greater negative effects on the economy as a whole.
This is a compelling article, but then when you try to see what the product is, you have to submit your email / request a demo. In my experience, hiding your product behind a demo is a bad sign that the product has flaws. It also puts you in contact with a salesman or account manager which is typically geared towards a high pressure sale event of the product. I'd be interested to hear other people's experiences with this model, though.
Labor productivity is a very simple calculation. It’s real GDP divided by total labor hours. Do you see the problem already? Let’s leave aside for a second that even the creator of GDP thought that, as a top level economic metric, it was useless (yes, useless). But, yeah...have the benefits of GDP been spread around evenly in our society? Of course it hasn’t. Our national GDP has probably been, mostly, generated by a small number of people. It’s impossible to tell how, but income inequality is probably a good proxy (though not an extrapolation) of how uneven GDP generation has been.

It is impossible to know. GDP is a team effort, but if you think through some of the examples in tech I think you will realize that the labor productivity metric is lying to us.

A lot of paid labor going on in the US right now is probably not actually all that important to the overall economy, or unevenly important.

Ironically, a lot of the unpaid or highly under compensated labor in our society (teachers, social workers, stay at home parents) are probably adding economic value. One of Yang’s main points is that we need to start valuing this labor.
The predictions for 2020 we got horribly wrong
This argument doesn’t make sense. You might as well say rifles need to be retired regardless because they cannot be upgraded to kill tanks. What you actually need is a full spectrum of capabilities so you can use the right tool for the job each time.
This was the book that got me into programming. About three years ago, I was an auditor looking for ways to automate the more mundane tasks of my job, and stumbled a across this book.

I had no prior experience with programming, and at the time I only wanted to learn how to write enough code to help me with my job. This book was perfect for that goal.

It took me a couple of weeks to get through it all and write the program I needed to write, but when it worked, I was amazed. I remember going to grab coffee to celebrate and on my walk I started thinking about other job tasks I could automate. Most of public accounting deals with comparing PDF reports and Excel data, so I genuinely believed I could write programs to automate the majority of tasks at my job.

I started to learn on my own with some common online resources. I would get so excited to come home from work so I could dive further into my studies, and the more I learned, the more opportunities I saw: what if there was a way for a computer to perform all the analysis and statistical processing for an audit? What if a program could monitor financial transactions and automatically complete taxes for clients?

Flash forward a few months and I went all-in on software development. Quit my job as a public accountant, finished a boot camp, and started working as a developer.

It was the best decision of my life and this book was the catalyst. I’m so grateful that Al wrote this, and I highly recommend it for people whose jobs have a lot of boring stuff —- especially public accountants :).
I would say so. The writer is giving analysis with money and reputation on the line using specific metrics.

It gives us something to measure and review. It also adds/removes credibility when we read another article with his analysis.
The "receiving a tweet" thing was really just a strawman. It's more likely to be issues of OS maintenance that could cause the problems.

I've had some really relevant experience, here, myself. I won't go into detail (N of the D-A).

> it will be read and buffered in hardware and set to the system RAM through DMA.

Moving memory, even on the fastest processor, is always a cost. This is especially true, when you look at the pixel count of most cameras (not just DSLRs), these days. Also, you don't just get the memory at once in a big multi-megabyte dump. The sensor needs to be polled. Each cell is queried for its charge state in a linear fashion. There may be ways to access sections in parallel, but I haven't encountered it (It would make sense -I have tended to be on the software side of things, leaving the hardware to the electrical engineering wizards). This is usually dealt with by an ASIC connected directly to the sensor.

If you want to have a "software-only" camera (as opposed to one with a dedicated SoC), then you are looking at some really heavy-duty challenges.

The idea of a "software-only" camera, is to completely do away with the dedicated SoC, or replace it with one that can be re-flashed.

Not so simple.

Computational Photography is something that is necessary for consumer-grade cameras, and is increasingly becoming relevant to pros, as well. It takes some real horsepower.

The newer iPhones have awesome cameras. I suspect that some of the higher-end Androids are just as good, or better. If so, I will bet that you'll find a custom ASIC in the woodpile.

Apple has custom ASICs for image handling, as well as CP. They have an ML chip built into their phones.

I am confident that these challenges will be overcome (there's money to be made, and that's always a great driver), but the challenges are real. There are some very, very smart folks that have beat their brains out on this.
Taxing transactions other than capital purchases isn't going to make much of a dent in inequality. The reason we have such inequality is from capital income and appreciation. Taxing ordinary income or outgoings won't help much.
Is Ruby still worth learning in 2020?
This is pure speculation on my part - but -

Organized crime in China has long been closely associated with mysticism and minority religions. Hashish, associated as it was with foreign traders and genuinely scary secret societies like the Hashashin*, may have set off alarm bells back in the day that are still taken seriously today.
Your first three paragraphs are rendered extremely questionable by the bizarre comments in the replies claiming The Guardian isn't biased.

That's why reminders of its very skewed perspective are needed.

The effects of the financial crisis (austerity) or the complete lack of accountability in the UK don't seem to be represented in the list as I pointed out - despite being of profound importance, instead The Big Short (excellent, but describing the venality of the previous decade) is.

Apart from that, I acknowledged the difficulty in finding a bias free source, but I don't think there are as many places in the supposedly "serious" press that the tone leaps out so regularly.
Char35
I don't think I heard "SSR" in a context where it's just about backend HTML generation like we did in the olden days, only when it comes to reify JS views on the server. Haven't heard of an embedded JS interpreter or transpiler that does that.

When it comes to generating dynamic or static web page content, the pathological framework-aversion of the Go community strikes hard. Probably nothing that doesn't use the built-in Go templates with any sufficient user backing. This doesn't appear to be a language that can birth something like RoR.

As for the maintainability of react, I'm not so excited. It's a pretty decent templating system, and it seems easy enough to compose components, but beyond that it's each to their own, with some approaches being better than others. And redux still doesn't grab me as that great, it's just the sheer amount of developers resulted in a nice toolset. Whether it's frontend or backend, the twin async and dependency hells of JS don't manage to make me sleep any better, either.

I don't give a flying frick for age myself. Sure, there's less tooling for partials than for components, but that might have a reason.
Then they are wrong as a matter of fact. These generalisations are descriptive stereotypes, not prescriptive laws.

I'd also disagree with your “every”.
I do a lot of making games just for the fun of it. Good advice I heard is that you're making a game _or_ a game engine. Pick which you care about most and focus on that.

I found that phaserjs is a good engine but you still have to do a ton of stuff that other engines give for free. Chiefly, the rich game dev UI that Unity, Godot, Unreal, etc. all have. Don't be discouraged by the different languages. Programming is like 15% of game dev and you can easily make a fun first RPG using examples and stack overflow, and get comfy with a new language along the way.
I agree that the post needs to clarify the number of threads, what thread priorities were assigned, and what measures were taken to associate the threads with logical CPUs (affinities).

I think your characterization of sched_yield() is a bit off. The man page is clear:

"sched_yield() causes the calling thread to relinquish the CPU. The thread is moved to the end of the queue for its static priority and a new thread gets to run."

and

"If the calling thread is the only thread in the highest priority list at that time, it will continue to run after a call to sched_yield()."

In particular, it does not say "I’m not actually waiting for anything visible to the scheduler and, um, run me again soon maybe?".

So assuming that the threads are running at some relatively high priority, I'm struggling to see how delays on the order of 60ms could arise.

EDIT: reading further:

"sched_yield() is intended for use with real-time scheduling policies (i.e., SCHED_FIFO or SCHED_RR). Use of sched_yield() with nondeterministic scheduling policies such as SCHED_OTHER is unspecified and very likely means your application design is broken."

So maybe that's it.

[1] http://man7.org/linux/man-pages/man2/sched_yield.2.html
I understand async/await as I'm conversant with NodeJs. When you mentioned asyncio, I assumed it be something specific in the Python library.

In case of Ruby, I've found these libraries (ruby gems) to be very useful.

1. Sidekiq - https://github.com/mperham/sidekiq

2. RocketJob - https://github.com/rocketjob/rocketjob

What I'm guessing you're saying is that this kind of behavior is available natively in Python, whereas in Ruby, it is achieved by some roundabout fashion.
Didn’t early stage investors in Uber and Pinterest made money when they IPO’d?
VAT is a tax on goods and services. Wealth inequality comes from people owning future streams of income, not stuff; rentiers, in other words. To the degree that VAT decreases wealth inequality, it's only by harming the net present value of those future income streams. It would be better to have a more equitable distribution of ownership without harming wealth production.
>A system that will concentrate that much power will be inherently evil, it will and does serve the needs of that few over the needs of the many.

This defines pretty much every social system we ever had, unless you propose some sort of decentralized utopia, you need to trust power in the hands of a few. Money is just a vehicle of this particular system.
If that's genuinely their motivation it's incredibly stupid, given that it's easy to accuse them of trying to keep home remedies out of reach of the public.
Aka he lost the bet :)
“Fixed” is too definitive of a word, isn’t it? Who knows if the market is correct right now.

Repriced, adjusted, revaluation. Those seem more appropriate for the timeframe.

More time is needed to tell if it was fixed or not.