skysight-inc/HackerNews huggingface dataset:
Every year on a bicycle trip (ragbrai.org) my family go to Taco Johns on Tuesday (Taco Tuesday!) and have a taco-eating contest. This year my middle son won, at 11.5 tacos!
I don't think slavery is instrumental in the economic success of the USA - it probably hindered development, while no doubt enriching some individuals. If true, then when slavery was ended we would presumably have seen a stagnation in the economic fortunes of the USA, which I don't think has happened.
Changing the way economics is taught
Maybe I'm missing something, but they said es5, not es4?
>geopolitically yes of course

Currently your international relations with most countries are in shambles. You've got a nearly 20 year war going with Afganistan over a terrorist attack that wasn't sponsored by the country, and it doesn't look like the Taliban is going to actually disapear. Your other misadventure into Iraq completely destabilized the area, and resulted in creation of ISIS.

>culturally yes of course

Gonna agree to disagree on this one.
Under Trump, expert advisory panels on the decline
Depends on the situation in which we encounter the aliens. If wolves were building interplanetary spacecraft, we'd have a hard time saying they weren't intelligent.
The last one seems kind of bad. If you are going to spend your time developing for a niche platform, you would hope they would at least be on the ball in terms of app store reviewing.
Is Katy Perry’s Dark Horse Lifted? (2018)
Ireland also does not have mandatory ID, nor do the Nordic countries. I don't think it's as clear cut as you make it out to be.
While that's true, dealing with compatibility issues and making sure all of your services are using http2 is arguably more work than just using babel.
IIRC, the guy who gave him a ride to the start of the trail tried to give him a map that would have showed the cable not far from where he tried to ford on his way back, but was prevented by high water.

McCandless had some idiotic notion that the map would degrade the purity of his experience of nature, or something like that, so he refused.

How ridiculous that someone who was a fan of the book would die trying to ford the same river at the same place that stopped McCandless. Did they not read that part of the book where Krakauer decribed the cable, or did they just not remember it?
Coinbase and Bakkt Fund to Sell $10M Tokens
<pflenker>’s top level post makes a good point here, suggesting that because untargeted bots are your biggest concern, even the simplest custom challenges tend to work quite well (e.g. “enter the number 123 in the last box”) — with ”custom” being the key here!

Because: Until large strides are made in artificial general intelligence [1], simple little challenges that are creatively designed will be very difficult for a single general-purpose AI system to crack 100% automatically.

In contrast, if your site is targeted with actual human engineers trying to crack your anti-bot system, there’s a good chance they’ll succeed no matter how strong your system [2]. In the case of such targeted attacks, presumably your company will be so important and successful that you’ll be able to afford similarly expensive resources to defend from such attacks.

[1] Don’t get me wrong, I’m not doubting that sufficiently general AI is coming that can easily solve such challenges. But for now, to get your startup off the ground, this is apparently an effective short term solution that is very easy to implement.

[2] Human-operated “sign up farms” are definitely a thing, in addition to actual human-operated spam / advertising / propaganda farms (imagine a typical “call center”-style office hired to do this).
> Does a mutex have more overhead in the short term than a spinlock but after a few cycles become more efficient?

Think about what a true mutex does. The true mutex switches into kernel mode (aka: your program is no longer running, Linux is running). That means a spectre-guard / meltdown guard is executed (your TLB buffer may be flushed, as well as various other memory-guards to prevent Spectre from leaking data).

Once the guards are executed, kernel-mode has to find more work to do. Traversing the kernel-data structures can take 1 to 10 microseconds, depending on how cold the cache is. Finally, since another thread may be running (before your thread comes back), you probably lost all your data from L1 cache (and at minimum: your branch-predictor state because of Spectre).

A spinlock without any contention takes less than 10-nanoseconds to run, to maybe 50-nanoseconds with a bit of contention (!!). You're basically reading/writing data to L1 cache, maybe L3 cache under contention.

However, a scheduler invocation will be on the order of 5000 nanoseconds (~5 microeconds) or so, due to all of the work that the scheduler has to do.

--------

Window's default spincount is something on the order of 4000 cycles. Spinning for 4000-cycles (or less) is an advantage towards a spinlock-like methodology. (4000 cycles x 4GHz == 1-microsecond). Just to give you an idea of the speed-magnitudes that are being discussed here.
The US already has the cleanest of water and air. No need to do anything when you are leading the others bigly.
I’m dealing with a government agency that feels the same.

(They legally have to provide a particular service, but chose to provide it over a very limited number of hours, despite receiving full funding for providing it).

Now I spend a lot of time filing FOI requests (only $5!) and bringing forward embarrassing scenarios to the public’s attention.

It’s a big erosion of whatever monies they’re saving.
This is absolutely delightful! It's so different. It's like a kind of Forth or Lisp with unique structuring.
> Topics like sequential consistency and memory barriers are critical pieces of the puzzle and can't be overlooked if you want to get the best out of your lock-free algorithms. I will cover them all in the next episode.

Not every article has to be an exhaustive description of everything you need to know.

Anywho, sequential consistency is the default for C++11 and C11 atomics, so you pretty much can use them without a complete understanding of memory consistency models.
Borderwall as Architecture Becomes Reality
I don't know if there's a catch there, but there are several high-yield savings accounts that will get you above 2% interest rates. Usually it's just due to the fact that they are online-only, no branches to go into. A few off the top of my head: American Express Personal Savings, Ally, ING...
Worldly morals change from decade to decade. That is why Jesus said: "Everyone who hears these words of Mine and does not act on them is like a foolish man who built his house on sand." (Matthew 7:26)

In the future, things you and I do today will be considered as barbaric as the intolerant things you're talking about there. Also, in the future, things will become accepted which you and I today think are barbaric.

None of Jesus's disciples do a good job of following Christ's teachings such as "Judge not, lest you be judged" (Matthew 7:1), myself included. Discipleship is a lifelong process. Now as for myself, I love LGBTQ people, and because I love them, I hope and pray they too will know the joy and love of Christ as I know it. Some of them may be offended when I say something like that, and we Christians should try (although it is difficult and we often stumble) to continue to love them even in spite of their taking offense at our loving them.
> TS is a very common abbreviation of timestamp.

Common != universal. It's known up until someone doesn't know it. We have pretty powerful autocompletes, let use them instead, or just lose 3 seconds writing the 10 letters, it won't be so bad.

> And you would still need to know the decimal places.

Sure, by reading the code and understanding what it does and how it does it. You change a constant that will affect that code, it seems fine to see how it's affected either way.

> The real issue is that it's based on TS_PREC_INV and not MAX_TIMESTAMP_PRECISION as per the comment

Which is bound to happen when your documentation isn't the code directly.
Cafe Coffee Day owner goes missing near river
So, it's miniKanren?
tl;dr: dumb strawman 'humor' comparison with overheated OOP examples to 'prove' a point.
wooden skyscrapers seem like good candidates for devastating fires
Indeed this is something that even George Washington famously wrote about. His conclusion was that slave labor is an economic disaster and that he would be far better off financially not being responsible for carrying all the costs of the labor. And that's before the US developed a far superior economic model to what existed in Washington's time, in regards to productivity (ie even in a backward, low productivity agrarian context, it was obvious slave labor was extremely inefficient, it did not work well at all).

This is something that has been proven repeatedly by studies that have looked into slave labor in the colonies and elsewhere. When people on the Internet say otherwise, my experience has been that they never support their claims, they're always empty statements held up as fact.

The US would have developed faster if the slaves had been free. Along with being obviously morally evil, slavery inherently must involve a great misallocation of human resources. It's an extreme example of command economics. The Soviets, Chinese and others more recently have demonstrated how poorly slave-based economics works in practice. We're not lacking for proof; there isn't a single example from modern history of it working well versus free labor.

The greatest example of this in action in recorded history, is modern China. They only developed at all after they began to shift away from a de facto slave-based labor system, to something closer to free labor. Simply put, they unleashed their human capital and it has done the rest, going to work building out modern China (in spite of the restraining, backwards, command economics system that remains, rather than because of it; something Internet pundits frequently get wrong about China).
I don’t know when you went to college, but this is pretty out of date now. Baltimore has developed enormously in just the past ten years (and it was the pits, relatively speaking, fifteen years ago). The Inner Harbor is nice to visit but it’s like Times Square in NY, only tourists go there. There has been massive development everywhere, but particularly in Harbor East, Locust Point, and up north in places like Remington and Hampden. It’s worth visiting again just to see how rapidly things have changed, and how many new restaurants have opened.
> The Equifax incident should have sparked a fire under the credit giants.

I get what the author is trying to say, but based on the entire remainder of this article, the large credit firms are doing exactly the right thing (for their shareholders) by not spending tons of money on security.
I assume GP meant es5; es4 was an attempt to add static typing to JS and was never shipped. ActionScript 3 was the only implementation AFAIK.
I'm a few years from 40 and have been a software developer since I graduated from college.

I hope I'm not a developer through my 40s. Why? Things don't seem to ever change for the better.

I've gone through death march projects, company politics turmoil, and business owners that seem to think Fooseball tables and a stocked fridge full of Red bull is equal compensation for spending unpaid extra hours on the latest product release.

Technology changes, but learning the latest framework du jour is not that difficult when you know the fundamentals.

I think some developers end up in management and others leave the industry entirely because they just don't want to deal with the bullshit anymore.

I've been consulting for the last 5 years and it has helped. I'm paid well and can work remotely from my own office or home.

I've also started my second side business that I hope will replace my consulting income. My first business lasted about 5 years before it became too difficult to maintain profitability.
Well good luck running all these non-native apps on them
In JS, the pattern is the type. That is the point of duck typing.
The airline industry finally moves fares to the cloud
Going through this with my bank: their « updated » app now says that scheduling payments is a feature coming soon.

The old one could do it.

I literally can’t pay my bills on time unless I login on Desktop.

My course of action: email investor relations (I’m a shareholder... for now) and their president’s office.
Most lease agreements now include maintenance. Why? Because they don't want you to run the car into the ground since then you'll just return it. Modern cars need oil changes at 10k miles. With a 30k lease you are talking 3 oil changes which is like $50 in wholesale cost. Brakes and tires should last the whole 30k.
Depends on the mutex implementation. Many mutexes will do their own spinning internally - for short critical sections, you can avoid sleeping and waking your thread, a (relatively) expensive operation. Obviously spinning for an unlimited amount of time is less efficient - in the case of a priority inversion, you'll effectively deadlock. [1]

There's also tools like [2], where you can tell a mutex to spin if the current lock holder is actively running (as opposed to blocked or preempted), to get the best of both worlds.

[1] https://blog.postmates.com/why-spinlocks-are-bad-on-ios-b69f...
[2] https://lwn.net/Articles/724384/
FWIW Swift lets you do this, and it's great. Guard statements even better.
America’s dual housing crisis, explained
There is no type annotation proposal.
Sufficient is much better than you are going to get without a code formatter on any project with more than 1-2 devs.
Group voice chat, without video, is also very common in some communities. For example, in the Guitar Hero community, Discord voice chats are ubiquitous.
They are fundamentally different - my language server is implemented in PHP so it can build on existing PHP parsers and PHP devs can contribute to it. Intelephense is written in TypeScript. They are two different approaches and both can coexist.

You can bump that date (and your experience), by making a pull request which I will happily review ;)
Show HN: Rateyourpolitician.org – Rate politicians like restaurants
I don’t understand how your comment relates to mine.
Ummm... 25^2 is 625. 15^2 is 225 (see the Object.fromEntries example). I mean, I knew JavaScript math was a bit sloppy due to the use of floating point everywhere, but I hope it's not THAT bad...
Physicists Peer Inside a Fireball of Quantum Matter
Spark AR Masterclass: AR and Gaming
Lazy Logging
In my opinion this is a terrible idea, since it's very easy (I do it all the time) to accidentally write `if (foo = bar)` instead of `if (foo == bar)`. If that were valid syntax it would be a huge footgun. I'd be onboard with it if it required a different syntax.
The Consumer Financial Protection Bureau just barely makes the mark. Of course, Trump started gutting it almost immediately after joining office.
Loom Update with Bateman/Bäckman
I used to have regular calls with a sysadmin who connected to our service using a relay service. This was back in the early 90s before the internet was pervasive, so we replicated databases via modems, and that involved coordination with the various admins. The relay operators were always quite clear when they called, letting me know they were acting as a relay for the guy, and despite our fairly technical discussions, it worked. I won't claim it was the easiest communications I've ever had, but we kept our systems connected.
> I can get to London by 9 if I get the first train in from Bristol, so travel isn't a huge issue

> a few of them were for companies hiring in my exact stack, while also saying they sponsor visas

So you are looking for a job at a very large company which will be ok with you commuting from Bristol to London and that will also sponsor you to move to America?? Thats an extremely specific company-search, I don't think its fair to say that that is any way representative of what its like for senior developers to find jobs.

Also google maps shows that the train from Bristol to London takes 1 hour 40min, so assuming it takes 30mins to the station on both sides, thats about 5 hours a day spent commuting, and I haven't even looked at the cost either. Even if you get 1-2 days a week working from home thats going to be a lot of travelling, as an employer I would be worried that after 6 months or so you will quit because of long commute times.
Right now it does. Major financial/political interests are seeking to gut the laws that got us the cleanest water and air in order to make more money for themselves.
That's because I is the same as SKK
That is hilariously backwards. "Social Conservatives" have done plenty to try an protect or aid constituents, but it's held up by the Grand Old Party in the Senate.
> With only the name, how would you know how many decimal places

I'm not saying the name is wrong because of the comment, I'm saying it's wrong because of the usage of the acronym.

> The comment isn't wrong/out of date here btw.

Isn't wrong? How? It's true in the sense that they expect TS_PREC_INV to be related to MAX_TIMESTAMP_PRECISION (which would be a perfect example to my mind of a needed comment, if actually it was a requirement), but it's actually false in the sense that it's not what that code does.

You wouldn't get a different rounding if you were to modify MAX_TIMESTAMP_PRECISION, which is what you would expect based on that comment.
> That's not unique to JS. Some compilers took over a decade to implement C99 features.

I sometimes wonder what's the point of new versions of C, too.

Also, a new feature I want to use needs only be supported by one C compiler: the one I'm using. With JS, I need all of them to support it.
"Emerges" my foot, this is a marketing rollout. Code or GTFO
Show HN: Jobs for Voice Developers and Designers
> If colonialism was necessary for industrialisation the European powers with no or smaller colonial empires would have had lower growth.

Which countries are you referring to? First of all borders in Europe were not the way they are right now 150 or 200 years ago.

Second, an example for a tiny country that was exploiting an african nation well into the 20th century is Belgium [1]

[1] https://en.wikipedia.org/wiki/Belgian_colonial_empire
I live in Canada.
React TypeScript cheatsheet: form elements and onChange event types
> Personal data that is not required for transactional use should be either encrypted, pseudonymized or anonymized.

Sorry, just to nitpick, creating anonymized data isn't that easy, and I'm worried something like that would get miss-used like some password breaches (the passwords were encrypted with md5, they're still secure). I can store all this customer data without consideration, because a company thinks they've anonymized something that isn't actually anonymized.

Here's a blog post I made on the topic: https://gravitational.com/blog/hashing-for-anonymization/
Amazon Pushes Brands to Be Less Boxy
I think it was a part of mailinator’s approach to running a disposable email server.

The operator’s approach to bad actors was to respond as slowly as possible instead of quickly rejecting.
> so what's everybody else doing?

Based on the thread from yesterday, they're pushing for carbon taxes because that will solve everything. /s

It always astonishes me how central government control is the only possible solution. Even if planting tree isn't going to solve climate change tomorrow, it does increase the amount of CO2 that is subtracted from the atmosphere, trees provide living spaces for numerous types of wildlife, they help prevent erosion. Given how many benefits there are to trees, people should be planting them even if they did nothing for moderating green house gases. The only thing they don't do is provide control and opportunities for graft. So I guess it makes sense that some people will poo-poo tree planting in favor of enriching their team.
Why is there no need to act just because others are doing worse?
Towards Model-Based Reinforcement Learning for Industry-Near Environments
The idea behind early and/or late walks is to not interrupt developer flow in peak cognitive hours. My current manager is one of few in my career who recognizes the reduction in productivity that comes from interrupting the flow.

Software engineers have largely been nocturnal, favoring later arrival times at work, in my experience. In my team's case, all the developers are late arrivals so our manager simply works with that tendency.
So what your saying is the movie "Idiocracy" already happened??

(Plot- the smartest people stop reproducing, only lower rings of society have kids. An average guy wakes up hundreds of years in the future and is a genius)
I would assume enery usage and heat dissipation.

Also we want to limit AGIs energy usage so we dont have to carry so much power around in mobile versions of it.
US files lawsuit against Bitcoin exchange that helped launder ransomware profits
I know this doesn't match up entirely with what you want syntax wise, but the following works and I consider it quite elegant.

{
let row;
if (row = await db.findOne()) {
//
}
else {
//
}
}
Build a Pokédex Chatbot in React Native
Before Raspberry Pi and Arduino [video]
They're probably referring to the "CF/CW/TW" part.
I understand that "we" are descended from one group and "they" are another lineage, but it sounds so weird to me, and oddly personal, to use "we" so much in this context. It happened a long time ago firstly, so none of us can claim to be involved. And as far as I know, the Neanderthals didn't die out due to being bad people, so there is no need to shove it in their faces, metaphorically speaking, that "we" are that much better. One species surviving and another not might as well be a lucky coincidence.
Pentagon rebukes Oracle as debate over Jedi contract turns caustic
Nice. I like use of the let/var/const keyword to disambiguate from the accidental `if (x = y)` when intending to use `==`.
Automatic respiratory organ segmentation: from 10 minutes to 15 seconds
By location specific I mean the geography and generation types heavily impact the market.

Areas with significant elevation drops conducive for pumped storage also tend to have a lot of hydro which is generally very dispatchable. The Great Plains have a lot of wind and are in significant need for energy storage, but they don’t see a lot of elevation drops.

Thus negative LMPs being rare for pumped storage.
Isn't the new function string representation backwards incompatible? Having struggled with javascript's lame error tooling I could see people actually using it in production too.
This isn't a curated list. This is an empty list. It has almost no content. None of the links do anything. I can't understand why it's posted here when it has so little work done and so much work yet to be done.

I hope it grows, of course, but mostly I hope it grows to include people who aren't a handful of western white men.
New bill would ban autoplay videos and endless scrolling
Good point. If you are doing this, you also need a good autovacuuming strategy on your pg database. Depending on the size of the tables and the frequency of DELETEs, not vacuuming regularly could potentially cause problems like bloated size on disk, slow queries, etc.
It's usually quite easy, they're often on Github though some companies host them themselves. There are a few companies (looking at you Lenovo) who release partial/non-working sources but most vendors do comply with the GPL.

https://github.com/nokia-dev/android_device_nokia_sdm660-com...

https://github.com/OnePlusOSS/android_kernel_oneplus_sdm845

https://github.com/MiCode/Xiaomi_Kernel_OpenSource

https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS630KL/ASUS_I01W...

https://android.googlesource.com/kernel/msm/+/android-9.0.0_...

https://consumer.huawei.com/en/opensource/

etc.