skysight-inc/HackerNews huggingface dataset:
Compared to coworkers in my last two companies I'd say I'm definitely well above average, but not the best. This might sound like boasting, but it boils down to being good at delivering on time, caring about the craft and being motivated to improve things.

I think if you care about what you do, then you're probably already in the upper 50%, because most people don't, and it shows. Now if you pair giving a fuck with some programming talent and interest in improving your skills and productivity you can easily get into the top 10%.

To get into the top 1% you need to be very focused on programming. I have too many other hobbies to be that focused only on this aspect of my life. But I'm ok with that.

If you start comparing yourself to internet people, there are just too many that you can compete with them on everything. There are too many experts in too many niches that you could read all the HN articles and compare favorably in comparison.
And jeans! Why is it so hard to find fitting jeans? If I can just tell a seller "The last perfect pair of jeans I had were Lee Regular Fit Straight Leg in 2012", they should be able to look up the measurements and fabric and give me the closest matching pair they have available. Why do I have to go to a store (or buy online) and try on 20 pairs only to find out none of them fit?
Well, first you have to understand exactly what "Pause" is.

"Pause" is a hint to the CPU that the current thread is spinning in a spinlock. You've ALREADY have tested the lock, but it was being held by some other processor. So why do you care about latency? In fact, you probably want to free up more processor resources as much as possible.

Indeed, there's not actually any resources wasted when you do a "pause" instruction. In a highly-threaded environment, the hyperthread-brother of the thread picks up the slack (you give all your resources to that thread, so it executes quicker).

10-cycles is probably a poor choice for modern processors. 10-cycles is 3.3 nanoseconds, which is way faster than even the L3 cache. So by the time a single pause instruction is done on older architectures, the L3 cache hasn't updated yet and everything is still locked!!

140-cycles is a bit on the long side, but we're also looking at a server-chip which might be dual socket. So if the processor is waiting for main-memory to update, then 140-cycles is reasonable (but really, it should be ~40 cycles so that it can coordinate over L3 cache if possible).

So I can see why Intel would increase the pause time above 10-cycles. But I'm unsure why Intel increased the timing beyond that. I'm guessing it has something to do with pipelining?
Top 6 Dictators Who Divided Children from Parents
> "Or do schools of music have a habit of teaching that Bach is objectively the best, as if it's a fact grounded in science?"

I don't think you're entirely accurate on why Bach is such a big name when it comes to classical music. It's not because he is viewed as some objective "best" as you seem to be so convinced of.

Western classical music as we know it today didn't really begin until Bach came around (the only exception that comes to mind immediately is Corelli who came a few decades prior). Music historians today recognize that Bach laid out the technical foundations on what Western music is itself. His development of the counterpoint is a major distinction between medieval music and the classical period that followed. As well, his Partitas for Solo Violin and Well Tempered Clavier for Piano have became and remain to this day, foundational parts of learning and improving violin/piano because they train and benchmark almost every technical ability of their instruments (at least in Western music) to such precision. To analogize to programming, it would be like a set of problems that ranged from basic recursion to debugging memory leaks and everything in between and beyond. There are of course other resources such as Kreutzer's etudes for violin but Bach is one of the first and one of the only to do so to such detail.
There are numerous of other music elements such as figured bass and dance forms that Bach contributed heavily to, but I think you get my point.

So to summarize, no, I don't think most music historians "nod their head in agreement like a brainwashed zombie". It's not that they hail Bach as some "objective best", it's because they can recognize and respect the formative effects his work had Western Classical music. He is a father of his field much like Turing of Knuth are and that deserves his praise.
Most likely they did not even read the agreement. Either side.
Ehhh, Rigol is a popular oscilloscope brand with non-professionals. Rigol is Chinese.

https://www.rigolna.com/products/digital-oscilloscopes/1000z...

edit: and I should add, I think they redefined the market somewhat.
Building Googles did you mean feature with elasticsearch
> Articles like this are great for clicks on a website.

That may be true, but I do find it refreshing over the thousands of articles claiming that China would collapse over the past few decades (and yet, somehow these experts failed to predict the AFC, GFC, dot-com bubble,...). Surely you consider those click-bait as well.
No kidding. This guy is so vague about his business. What does he actually make / sell? Socks?

Folks with 44% of volume in chargebacks should be shut down! I've found there are always excuses from the scammers, and the whole article is in the mode of I wanted to love stripe but they screwed me.

Reality = this guy is screwing his customers over big time!

As the author says, it pains me to write this.
If you want to know more about those Antarctic airstrips, there's a great Wendover video on them:

https://www.youtube.com/watch?v=-s3j-ptJD10

Most of them are just hard packed ice.
Nailed it about shoes.

Now when I find a pair I like, after a few months to ensure I like them, I buy 3 more pairs. Been doing this for about 5 years now.

Interestingly I have found it doesn't always work. Perhaps the materials age or there are differences in production batches, but I have the same exact shoe (from model number) from Lowe and some are comfortable and pliant, and others are not, and some are waterproof and others feel like they are made of a screen door.

Shame, that.
People overestimate their ability to recognize fake news
Americans grapple with recognizing facts in news stories: Pew survey
See also https://news.ycombinator.com/item?id=14697138
That's a breathtakingly ignorant assertion. The "strings attached" to U.S. foreign aid are there to benefit the country being helped, not the U.S. They are things like economic reforms and measures to limit corruption. There is definitely an ideology behind it, and its paternalistic, but it's not empire building. It's more like evangelical Christianity--the belief that we can uplift people not only by giving aid, but by teaching them to live and govern themselves like we do.

(Source: my dad spent his career doing USAID work; grew up surrounded by USAID, World Bank, etc., folks.)
One thing I have found to be very useful is to ask my existing userbase of other projects if they want to test something new and give me feedback.

In fact this worked so well that I am currently building a new project around this. A site that lets startups gather feedback from people who are interested in trying out new sites and giving feedback.

It is currently in private beta with about 20 startups. If you want an invite, feel free to send me an email.
Radio host loses voice, uses custom text-to-speech program instead
How to Find Your Niche
At the risk of sounding too pedantic: wasn't it the reputational damage that did Enron and Arther Andersen in, eventually?

I'm hairsplitting this because in certain industries, reputational risk is a much stronger deterrent that legal consequences (severe as they may be).
The problem is that many people, after exhausting the cargo container, don't bother to take down the listings and continue to take orders in the hope that they'll stumble on another cargo container for cheap.
It's hard to understand. On paper, it has all the ingredients. Highly educated rich market. The EU created a 500 million common market which should allow European companies to scale. SAP, Spotify, Philips, ASOS, Skyscanner and even Nokia/Skype before take overs were/are tech success stories. But looking at the largest companies by revenue in Europe you see they are dominated by 20th century largely traditional industries (oil, engineering, food). Ref: https://en.wikipedia.org/wiki/List_of_largest_European_compa...
Sure, we're all guilty of it to one degree or another. You call it "armchair quarterbacking", I call it dealing honestly with flawed people in history. I don't understand the reflexive impulse (in this thread and elsewhere) to try and absolve revered historical figures of their very real crimes and yes, hypocrisies.
Show HN: Online team building that engages
i'm not sure why you're being downvoted. the PIC32 has serious problems, even as a hobby chip. my biggest gripe is that there's no good way to expand the flash and ram with external chips.
World wars. This is more a venn diagram of where shipping routes intersected with German patrols. (See the prevalence of 1917 and 1940s wrecks.) I'd be interested in seeing an animation of these over time. I suspect we would see changes in range/depth as technology and tactics changed during the wars.
8 Secrets on New Venture Funding from the Shark Tank
>As my ECON 101 teacher said many times, the way to handle negative externalities is to tax them. The free market cannot handle this.

To take your second part first, taxing is part of the free market. The free market is a creation of and tool for use of government. Regulation to ensure cost internalization, information symmetry, contractual enforcement, and so forth are all basics for it to work at all. And a market has no goals of its own nor does it take into account human floor levels, it's up to society (and in turn its government) to choose goal states and then use all tools to find the most efficient routes towards reaching and then maintaining them.

To go back to the first, you've just restated the question: how do you "tax" the externality? How do you find the right rate? How do you adjust it and account for changing factors? It's government that sets the goal, but government tends to be bad at figuring out implementations and then reacting with high temporal or spatial granularity. In this case we have two linked problems, and we don't care about the "how" at all so long as its within framework requirements, we care about the end of "net zero carbon increase in the atmosphere" (or long term dealing with past emissions, though that'd require taxing other sources). This is exactly the sort of situation that's an ideal fit for using "market" (massively crowd sourced value apportionment utilizing capitalism) to optimize. On the one side is energy generation, which must directly pay per unit for the cost of dealing with their own emissions, and on the other side is finding the ways to most efficiently remove each unit and then collect the money. That would be expected to vary over time and by location, and to feedback into each other (and overall demand/efficiency) via the simple mechanism of price.
I push the code live and see what the numbers say.

I know this isn't the answer most people want to hear, but no one tells the truth like live users.
Yes I am suggesting the implementation is incorrect. We had a standalone test case for this which could reproduce the condition after a random wait of 1-45 minutes. I will dig it out and raise it against .Net Core if it's still valid there.

The problem was GC initiated i.e. the entry into GC caused the deadlock to start with which the process never recovered from as it was spinlocking all threads and no resources were available to complete GC.
He has not been charged so far, no criminal charges. This is just to keep him from interfering with witnesses.
> I think "sum-type errors" are the wrong default. They force you to deal with the bureaucracy of different error types, which is useless because error handling almost never cares about error type.

I hear this parroted a lot, and I really don't get it. When an exception happens, you can't resume control flow (unless you're in Common Lisp, which has an objectively better system for exceptions than any we use). In that case, you're right that specific type and details don't matter.

But if you get the failure value back as part of the control flow with a precise type then you can actually recover from it. People quote the Erlang philosophy out-of-context suggesting this is Actually Always Bad. It's not! You might want to: provide a default value for a server (bind to 127.0.0.1 or 0.0.0.0), synthesize a default templated configuration file, propose a valid algorithm over a forbidden one in a cryptographic negotiation, etc.

> Plain old unchecked exceptions work better. Probably cheaper too, because sum types require wrapping and unwrapping at each step, while exceptions can be very cheap when not thrown.

I'd be surprised if that was the case. Stack unwinding and introspection looking for handlers is infamously expensive whereas reading fields from a struct on the stack is seldom considered very expensive. Even if you do have an on-heap indirection that breaks locality, it's not like firing off a random class handlers further up the stack is gonna be BETTER for locality. Given that `finally` exists and objects have destructors, an exception up-stack is often a lot more code than it looks like.
We are talking about buying DRM-free digital films. Who sells them now at scale? I doubt you can draw pricing parallels with sales of physical legacy media (optical disks).

And there is no valid reason for them lacking, all reasons are invalid and crooked. The last major push for that was from GOG, and it didn't go far because of backwards thinking lawyers:

https://www.gog.com/forum/general/introducing_gogcom_drmfree...
$12/mo on modem rental??!! A cable modem only costs like $30--I can't believe that's what they're charging for rental.
The numerous one-in-a-thousand-year floods don't get you? The super-typhoons and unprecedented hurricanes? Drought and the human migration motivated by drought and flood? Species extinction? Wildfires? Loss of islands?

I think it was the photos of disinterred coffins floating through the flooded streets of New Orleans that first really hit me: it's here.
The expectations for industrial systems and, for that matter, a lot of mainframe software are quite different--and the costs tend to be baked into the price of the software and the rest of the environment they operate in. And, a lot of the time, that software is under (expensive) support contracts.
Jobs that pay over $100k with the least competition
This reason alone (the ads to other Prime shows) is why I cancelled my Prime subscription and also was the final nail in the coffin on why I stopped using amazon all together. Amazon started to piss me off when they turned my amazon kindle, and the later my amazon app on my android phone into advertisement space.
Any tips on how you went ahead trying to dissect and understand b.c?
How so? Android runs on the Linux Kernel.
Why would latency sensitive applications (let's say a millisecond of jitter) be using .NET and its runtime?

I thought the VM class of languages were generally inappropriate for real-time work. Heck, even in C, you need to do specific work on the memory allocator to make real-time viable.
That is not an official stance.

Macedonia is part of the Greek identity. FYROM (still the official name until the agreement gets implemented in a few months) have been claiming this Greek identity by misappropriating history.

Think of it as a trademark violation.
> China is mostly an uneducated factory nation who will be crushed by automation.

I'm not sure we've travelled to the same China. The country is capable, talented and very driven. If you ignore the surveillance state it has a lot of same characteristics that once made America exceptional.

Even if this wasn't written by someone with the Sequoia Capital brand behind him Ive seen enough anecdotally to believe it.
Exactly. The US just hopes the money will be used for the welfare of the country and hoping for some soft power when it's required. On the other hand, the Chinese are just loaning the money and making other countries explicitly owe them.
So China is winning by giving out loans that will never be paid back?
YouTube’s Piracy Filter Blocks MIT Courses, Blender Videos, and More
Apple sets up iPhones to relay location for 911 calls
It sounds like he acquired a business that wasn't actually sending out the products that they were charging customers for. What surprises me is that he only discovered this after the chargebacks started coming in.

If my company stopped providing the service I was charging for, I would have 3,214 missed calls and 23,512 emails within about 36 minutes. Customers generally don't call their banks until multiple attempts to contact the business have failed, and something is deeply broken if the chargebacks are your first sign of trouble.
I wholeheartedly agree. I hope we can establish RISC-V for embedded stuff first, and that it does not stay there.
I knew simultaneous ambidextrousness wasn't that unusual.

Still yet to tackle that one (after I learn ambidextrousness).
No need to call others' opinions ignorant when you have another one. Here's a good book dealing with foreign aids, among other things:

https://www.amazon.com/Dictators-Handbook-Behavior-Almost-Po...
> Exceptions are pricey pricey things that take time and create some minorly interesting VM/GC behaviour that can impact your application.

This is all very vague and handwavey. Not sure about the .NET world but in other systems the costs of exceptions is not significant and they can be used successfully even in the most demanding low-latency applications.

> Using Result<> types to handle error cases is a very good example of doing just tha

Result types don't scale. I suppose it's the sort of thing that programmers have to keep rediscovering for themselves but there's a reason why even Haskell eventually "discovered" exceptions (and I suspect the Rust guys will get there eventually). In the real world where you have lots of deeply nested function calls some of which cross component boundaries good error handling requires three things: contracts (you need to be able to express possible errors at boundaries), context (you need to know exactly what resources have been allocated so they can be cleaned up when an error is caught) and recovery (you need to be able to return the application to well-defined state/point so computation can continue). Frankly, Result types don't give you any of these. What you end up with is a very generic set of errors (necessary to avoid a combinatorial explosion of error types) and a poor-man's implementation of exceptions (see panic/recover in golang). Or I suppose you can write code that doesn't involve deeply nested call-graphs and multiple components and everything is perfectly "flat" and stateless... but this wouldn't be like any real application I've ever seen.
In this case, shareholders are barely affected.

Although in principle shareholders are the owners of the company, in practice it's extremely hard for them to exert any control over it.

Their power is spread too thinly for any of them to do much, they have no way of communicating, and the bars for things like minority shareholder lawsuits are almost unreachable.

Not saying shareholders shouldn't take a haircut - by all means let them! - just that you're going to need to punish execs too if you want to deter this type of behaviour.
As another commenter noted, you're just lucky. There's been once-in-a-x-hundred-year weather events left and right in the past years. We'll see parts of the Carribean become uninhabitable in this generation - especially if the US keeps ignoring e.g. Puerto Rico and Haiti. The big storms will keep hitting those and part of the mainland to a point where the rebuild will not have been finished before the next one hits, forcing people to emigrate inland.

In my situation, temperatures have gone up, with heat records being broken left and right. Used to be we only got like two or three weeks of >30 weather, now it's a multiple of that. You can see it in the sales of AC units and such.
it's funny looking at cars from 2013 extolling the virtues and greatness of diesel engines vs gasoline ones
Colleges do have a significant amount of international students, but the high number is actually in part because they pay more for tuition - it's a good revenue source for colleges. The percentage rises and falls over time for related reasons.

The percentage also rises with higher degrees - people often finish their undergrad in their home country, then go to the US for their graduate degree. But undergrads are the bulk of college student bodies.

So overall, most college students in the US are from the US.
Business is hard and fraught with peril.
The Golden Goose for Hackers That Keeps on Giving
Thankfully somebody said forum. Googling "SA forum" will have correct top result.
The Dresden Files.
>Is there irrefutable, objective proof that TDD is the one true way?

No, there can never be irrefutable, objective proof for something that is a best practice. What you can do is check which teams are having the most bugs found by the customer, or how long they need to deliver that code, and then draw some statistical conclusions from it.

In my (subjective) experience TDD a) gives you really good regression tests and b) makes you create smaller functions that are more easily testable and c) makes people think harder about their code.

b) and c) aren't really effects on the tests, but because TDD drives this behavior (again, subjective experience) you get a better codebase, which in itself is of value.

If you can get to that great codebase without TDD and write good regression tests catching all the edge cases post hoc, then you don't need TDD.

>Especially for organically dogfood-development TDD is a bad methodology as you discover requirements as you go.

Especially in this case I find TDD very helpful, because it provides a kind of executable documentation of the requirements you just discovered you want.