skysight-inc/HackerNews huggingface dataset:
Isn't this the purpose of well-defined atomic primitives?

After all, not just the compiler, but also the processor can reorder operations. So you have to annotate synchronizing memory operations regardless of whether the compiler is optimizing. e.g., a lock-free algorithm implemented using only volatile (what ACCESS_ONCE does), even with -O0, is almost certainly wrong.

The alternative to explicit annotation is for the compiler to generate full memory barriers around every memory access. That would indeed preserve semantics in a multithreaded context, at a ridiculous performance cost.
To be fair, for most people, a smartphone may be their only 'personal computer' - sure, they may or may not work a desk job where they use something with a keyboard, but most of the computing they do on their own time will be on that small (if not getting any smaller...) screen. Does that appeal to me? No, not really, I appreciate having a browser in my pocket sometimes, but I don't watch much in the way of videos or even game on my phone. But we're (mostly) technologists here, and I would think that we tend to feel that using computers is generally good / interesting / empowering. Can it also be pathological? Clearly yes. We have some evidence, accident rates increasing[1] as people can't stop checking their feeds for example. So that's a concrete social problem. But I am less sure about the impact on children - we've had several generations which grew up staring at TVs for hours a day, which may not have done us any favors, but it didn't cause the end of civilization either...

1: https://www.nsc.org/road-safety/safety-topics/distracted-dri...
“Funding secured” made it much worse, but it wasn’t fine without it. Tesla told the SEC that Musk’s tweets are company communication (http://ir.tesla.com/static-files/6496fc94-630f-41c7-96c6-94d...: ”For additional information, please follow Elon Musk’s and Tesla’s Twitter accounts: twitter.com/elonmusk and twitter.com/TeslaMotors”). That puts them in a different league.
The ingame Very Hard bot in SC2 can reach well over 2000 APM, but it's still perfectly possible for the average player to beat it.
Not really. If you were at MIT in 1983 then one would have probably access to Maclisp, whose compiler had seen some work by then. The first Scheme implementation was also written in Maclisp.
IIRC,that's how they were implemented in the first place.
It seems very much fluctuating for me. I had days where it was really bad and days where it's non-existent.
Thanks for this note. I always wondered why places in Pilsen and Little Village were below the sidewalk.
I think this is a helpful comment.

All people have some narcissistic tendencies, and in a sense I feel like my culture (I'm in Texas) amplifies and rewards those tendencies.

There is a difference between displaying a tendency and having your entire life torn apart because of a person's pathological need to defend an image of themself. I have a lot of sympathy for both Echo and Narcissus, because that's a hard story to live in.
Indeed, a small search yields:
https://www.inf.ethz.ch/personal/wirth/

Also: https://news.ycombinator.com/item?id=10764672
It would be an issue if the cost of the project had a material impact on the company's finances. Usually the auditors work with the CFO to determine materiality.

It goes without saying that stating a production capacity of 20k/month and barely making 10% of that, is more likely to be a material misstatement.
probably because people are used to that though, no?
Armchair diagnosis is dangerous IMO. It can be a form of gaslighting. Sure everyone can benefit from therapy, meditation and improving systems for managing sadness, frustration, impatience but telling yourself or someone else you have ADD, compulsive disorder, anxiety is a great way to pop the self esteem bubble and confidence you need to get through life.

In the workplace it's especial dangerous; you can force someone to question why they don't like a job or feel isolated or bullied by convincing them their perception is really the problem.

It doesn't take much effort to convince someone who is upset by circumstance that they have a problem. "You're too sensitive" "you're depressed" "that person has an anxiety problem" when really the environment at the job might really be the problem or some basic coaching might be the solution.

I worked somewhere in which people openly admitted the company culture drove them to therapy yet were so "grateful" for an "open and inclusive" environment. The cognitive dissonance there was very disturbing.

This occurs in families as well. I grew up in an abusive household and, well damn, your parents will do their best to convince you that you are the crazy one and need help.
The Right to Be Greedy
how the heck did you get $65/week? is that without insurance coverage for the rental?
It may be a regional thing but it's pretty normal in my experience to see a solution to a problem be put out there with the following statement be a statement of confidence in the past tense. For example: "We have to increase our bandwidth. Problem solved."

That's how I read it anyway.
This was done much more so than any others.

We bordered on a large plot of forest. So we'd pay attention if it was hunting season (wear orange/yellow if it was), and go traipsing through the forest. We would routinely be gone for hours. Some times, we'd go from sunrise to sunset.

We'd also build a tiny fire, and have cookouts. One of us had a rifle, so we'd go for small game. First time I had squirrel was doing that. We put out the fires like they told us to do in cub scouts.

(Tl;Dr. Kids with guns, fire, basic camping gear, out for hours)

There's no way in hell anything remotely like this would be "allowed" today.
Nope, it’s still e2e - all devices share a single negotiated aes key (it’s mentioned briefly in the iOS 12 security guide)
Elon's using optimistic projections all the time to motivate the company and all other companies working with Tesla as well. The problem is that - as with any project - if the stated goals would be less, the real outcome would decrease as well. Of course weather it's legal to be optimistic or not is an orthogonal question, but it makes sense in leading a business.
RobinHood: dynamic reallocation from cache-rich to cache-poor
#define DX 0.0001
typedef double (*func)(double);

double NthDeriv(int n, func f, double x) {
if (n == 1) {
return (f(x + DX) - f(x)) / DX;
}
else {
return (NthDeriv(n - 1, f, x + DX) - NthDeriv(n - 1, f, x)) / DX;
}
}

double Cube(double x) { return x * x * x; }

double result = NthDeriv(3, &Cube, 5.0);
CVE-2018-14665 privilege escalation flaw affects popular #Linux distros
Texans say voting machines changing straight-ticket choices
The WSJ article doesn't claim that Tesla received a subpoena. It's former employees who received subpoenas.
That doesn't seem to work
In the small world of the CLJS ecosystem, we use some very elaborate wrappers around React (for good and bad reasons). I'm excited to have many of the features we have had to implement and maintain in user land be moved into React proper, so that we can remove swathes of code that were filling in gaps in the React framework.

In general, I am much more confident in the React team supporting these concerns - simply because there's WAYYY more time, money and mindshare involved - than the CLJS ecosystem shouldering the burden.
I agree. A few (10? 20?) years ago it was very easy to spoof email and send an email "from" mickey@disney.com if you wish. The original email specification has almost no security features. Now, most of the email servers will sign the outgoing email, and if you receive an email with the signature gmail and others big webmail providers will show a big warning.

So, to understand the problem it is very important to get a copy of all the complete emails with all the hidden headers that have the automatic signatures of the servers the email passed through. (See https://www.google.com/search?q=email+headers )

With the emails headers it is posible to see if your server was hacked or if the sender field was spoofed.
>What would happen if Bill Gates says "Windows 10 is the best windows ever"

That would be considered puffery: https://en.wikipedia.org/wiki/Puffery
Not that long ago screen time meant a TV in the living room. Gaming meant a hardwired console on that same TV, or a computer in the computer room. When you weren't at home, there was not a screen. In today's World, the screen is in your pocket wherever you go. Children know this and the temptation is hard to resist when screen time is so accessible.

Children see a large majority of adults engaged with their screens and think, if they can do it, why can't I? Next time you're on the bus or subway look around and try to find the other person doing the same. Practically everyone is looking down unaware of their surroundings. It's the World we live in today and our children are following our lead. Parents need to do their best to set an example.
> If the loop is so useless, why is it in the code?

Because perhaps it contains a body that optimizes away based on conditions out of control of the programmer? This happens all the time with macros/templates, and with platform-agnostic code. Only the compiler can resolve what's in the body; I want to trust the compiler to remove the loop if it is useless.
> Let's not sugar coat this, the CCP is engaging in systematic ethnic cleansing.

They haven't been doing it and they're not going to do that. Why?

1. Ethnic cleansing (akin to what we see in Yugoslavia & WWII) just isn't a tool Chinese have used historically.

2. Unlike say the Nazis, the CCP does not see the problem mainly as race & genetics. The issue in their eyes is culture and behavior.

3. They have something else that's been proven to work in places like Mongolia. There's no official name for it but a faculty member from GaTech's International Affairs school has called it "reverse genocide".

What is "reverse genocide"? It's not as harsh as the name sounds. It's basically just a really aggressive form of assimilation. Here's a high level view of what happens:

1. Encourage Han Chinese to relocate to the areas that need to be changed with incentives. They will soon become the majority. The region's culture will become Han Chinese in a decade or less.

2. Encourage Han Chinese to intermarry with the native people. This is actually easy to do. Han males tend to be financially more well off then than native counterparts, and there is a huge gender disparity so no one cares as much when their sons marry someone who isn't Han. Their children and their families become Han and are treated as such. Any trace of the old native culture is just wiped out in 1-2 generations within these families.

Wash, rinse and repeat. 1 & 2 are ideal because there's nothing really horrible to criticize because it's subtle and it's highly effective.

For places like Xinjiang, where both 1 & 2 are not as effective initially, they implement the re-education tactics that we've read in articles such as the one posted. I'm going to guess that maybe 1 & 2 gets easier to do as well over time.
The 2019 Hyundai Nexo is an upmarket hydrogen fuel-cell SUV
Same experience here.

That said, I think the tartiflette to be superior (seriously, look it up). You just can't get the special "mountain cheese" (Reblochon) at a reasonable price here.
You make it sound like Tesla's hypothetical private investors wouldn't have legal recourse if the CEO missed his production target by 96%.
I like the vi-inspired commands. I will definitely be trying this out.

I've also had good luck with using the terminal program, vifm, which also uses familiar vi muscle memory in a traditional "commander-style" two-panel layout.

https://vifm.info/
I've read that narcissism is a spectrum. It's good to have healthy amounts of narcissism, it is only bad when you're on the wrong side of the spectrum.

For everyone in this thread freaking out about potentially being a narcissist, I highly recommend this book from a Harvard Medical School psychologist. Rethinking Narcissism: The Bad-and Surprising Good-About Feeling Special by Dr. Craig Malkin. Here's his test.

http://www.drcraigmalkin.com/the-narcissism-test
When Times Are Good, the Gender Gap Grows
This bit of Phoenix: https://phoenixframework.org/blog/the-road-to-2-million-webs... Takes substantially more work in Go.
You mean Mark Russunovich the sci-fi author: https://www.amazon.co.uk/Rogue-Code-Jeff-Aiken-Russinovich/d...

That Azure stuff is just his hobby.
The optional parenthesis syntax is pretty similar and arguably a bit unfortunate, though wider adoption of the code formatter seems to largely correct this. It's nice in the console to type a bit less, but I can't imagine the utility of this in code that any other person is going to read.
Driving Lessons in Kettering – Driving Schools
I thought similar but once Ecto clicked for me, everything else felt clunky. I don't know what was the exact cause but using it for a real project helped.

Also Programming Ecto is great.

https://pragprog.com/book/wmecto/programming-ecto
Legislature of Buenos Aires, Argentina Hacked
Ah interesting. Yeah this is definitely the biggest signal. Networking and relationship building is absolutely critical in any job hunt and this is a hugely overlooked insight!
I guess this is the Bandcamp link: https://aubreyhodges.bandcamp.com/album/quest-for-glory-shad...
http://geocaching.com/ is really fun! I play it a lot.
You know how there's a thing called "precalculus" in high schools? Covers trig, logarithms, etc.?

I feel like SICP would be a perfect text for introductory CS, if there were a "pre-CS" course in high schools that was essentially equivalent to the current 100-level Discrete Mathematics courses.

Come into programming already knowing set theory, graph theory, computational complexity, etc. and SICP will make perfect sense.
Believe the main point of contention was a 10 client limit to the services of NT Workstation. MS argued that Workstation was not able to handle more due to fundamental differences, but those with a clue suspected it was merely a registry setting or two.
Not to mention it could handle that many web clients (at least) without breaking a sweat, but licensing prohibited it in theory.

Related, there's been a switch in the System control panel to prioritize services/interactive use, though it has been papered over by two layers of cruft in recent versions so is hard to find.
J.P. Morgan Has a Date for the Next Financial Crisis–and It's Not Far Off
True. I do find artistic obscenities fascinating, in particular when they look anachronistic. It's impressive than such an old artwork has survived time long enough despite featuring such sulfurous content.

And speaking for myself, it's not that I did not think of them as incapable of moral wrong doings - Antiquity was clearly a brutal period - or producing provocative work. But, I would have expected them to be more prude and limited in their ability to deliver artistic "shock value".

Well, I was wrong! They were very well capable of crude depiction and unsettling vulgarity - even for our contemporary standards!
Create Dropdown Menu in React Native
AT&T Is Killing One of the Internet's Last Good Things
This completely misses the mark that "I'm planning to take Tesla private" is in fact a factual statement as there is possibility inherently built into the statement. Of course it is ok to say facts. On the other hand, if he would have said "I'm taking Tesla private", we once again get into murky waters.
Display Image from Android Asset Folder in React Native
Very interesting result on the gender-equality paradox (https://en.wikipedia.org/wiki/Gender-equality_paradox).

Here is the original paper in Science: http://science.sciencemag.org/content/362/6412/eaas9899.edit.... Here's another good write up from Ars Technica: https://arstechnica.com/science/2018/10/gender-differences-i...
I doubt it. It was open-sourced a few months ago and take some time to wrap your head around, at least for me.

edit: In fact, it is much older than that as dang pointed out.
> Plan 9 C implements C by attempting to follow the programmer’s instructions

Which, I might add, is a very silly thing to say. A programmer's intent and their written code are two very different things. How one maps to the other is defined only by the C standard, which says nothing about emitting specific assembly instructions, but only about the ultimate effect of code on memory.

The Plan 9 compiler deciding to pessimize your code because it assumes you actually meant for the code to be interpreted as portable assembly rather than a high-level description of a computation is kind of presumptuous. At that point it's just a different language with different (albeit compatible) semantics.
Pdsh: High performance, parallel remote shell utility
I'd say that the classic "Cow Clicker" game (https://en.wikipedia.org/wiki/Cow_Clicker) is a strong counterpoint to what you're suggesting. Meant to be a satire with essentially zero gameplay, the author was surprised when it gained a dedicated following.

There is just something about the "Skinner box"-style of frequent microrewards in games that scratches an itch in the human psyche.
Many people also don't realize how much of the current lakefront is built on fill - Grant Park is largely built atop fill from debris from the Chicago Fire that was dumped into the Lake.
Not all of evolutionary psychology is what people call the "just so" stories. Any understanding that we are born with more than a blank slate that shapes our thinking is "evolutionary psychology". That is an unpleasant conclusion for those who want to believe that all undesirable human behavior is the fault of culture.
> Children receive abstinence-only education on driving until they turn 15 or 16.

Nonsense. It is commonplace for children to be introduced to driving gradually, from a young age. They are made familiar with it in an observer capacity from approximately the time they are born. Children typically learn to manage unpowered vehicles like tricycles and bicycles within the first few years of their lives—often as soon as they're physically capable of riding them. There exist low-powered electric (toy) vehicles specifically designed for use by young children; for those a few years older, bumper cars and go-karts are popular amusements. There are even places where one can go (with parental consent and supervision) to practice driving real vehicles on private property.

The one thing they aren't permitted before age 15 or 16 is legal permission to drive proper vehicles on public roads. However, adults who haven't passed the driving exams are subject to exactly the same restrictions. Those restrictions are in place not because it is felt that driving is harmful for children but rather because their lack of experience would pose a safety risk for other users of the roads.
Yep. The concept of "screen time" conflates such disparate things as "reading a book on an iPad" and "playing Candy Crush."

In this instance, the medium is not the message. Books, movies, etc. don't suddenly become more addictive just because they're on glowing rectangles. The glowing rectangles enable additional, potentially-addictive experiences that weren't possible without them—but you as a parent have complete ability to disable these experiences. A glowing rectangle that can "only" function as a library, encyclopedia, movie theatre, radio, and (if you like) chatroom, is still a useful possession, but likely not an addictive one.
Based on my brief stint in the game development industry, it seems that there are two major obstacles that keep artists from adopting Git. One is the tooling: most of the tools artists use have integrated support for Perforce. This problem is not trivial, but it's something that could ultimately be overcome.

A much bigger obstacle is the workflow. The reason why coders can work with a DVCS is because merging in other people's changes is something that can be clearly defined and executed. When it comes to assets, there is no clear definition of whether and how you can merge changes. It's not even clear for which kinds of assets diff and merge are concepts that make sense.

There's a lot of work that could be done there, but it doesn't seem like it will be done any time soon, mostly because game development is one of the most single-minded fields in software development industry; the only thing that matters is momentum and meeting the deadlines at all costs (witness the latest Rockstar Games controversy about 100-hour weeks) and everything else is secondary.
Considering natural property of brain's neuroplasticity and adaptation, you can rewire and retrain your brain. The title is just saying: if you lift weights three times of yours, you can't go to marathon.

There're approved exercises to train your operating memory set like N-Back[1] and others, and bunch of free apps, I liked the least boring of them[2].

But, all that does at least minimum sense if you can change your working routine. These apps can be thrown to trash if you are a fullstack developer with infinite backlog of projects. And I can't maintain hanging myself on these training apps because it makes me feel like a lab rat.

Finally, I think the root of all that attention problems is boredom, anxiety and other social crap which never going to have been cured by any science. I wonder what results would be if somebody would try to find correlation on per country working time hours and playing online games. I wage that people who're supposed to focus on some boring work are either go find some freelance payload or kill some time playing games.

[1] https://en.wikipedia.org/wiki/N-back
[2] https://play.google.com/store/apps/details?id=org.owlie.brai...
Recalibrating VR's Future
>all your imaginary problems

A personal attack as your response? Am I on 4chan?
Atari – Reinforcement Learning in depth
If PageRank was enough, there would be a hundred clones as good as Google.
That's not how code reading works. There are at least two levels of code reading: understanding WHAT the program does and understanding HOW it works.

Most of the time a Lisp programmer wants to read WHAT the program does and that in a very descriptive notation.

Any Lisp has a lot of macros. The base Common Lisp language is full of macros. Any defining operator - functions, macros, variables, classes, structures, methods, ... - is already a macro.

For example a structure - a record - is defined like this:

(defstruct ship
(x-position 0.0 :type short-float)
(y-position 0.0 :type short-float)
(x-velocity 0.0 :type short-float)
(y-velocity 0.0 :type short-float)
(mass *default-ship-mass* :type short-float :read-only t))

This is using the macro DEFSTRUCT.

It's easy to see that it defines a structure type called SHIP with 5 slots. Each slot has a default value and named options.

A programmer will NEVER need to see what the expansion looks like. The code the macro generates is twenty times larger than the source code. What the programmer actually needs is a documentation of what effects the macro has: defining a type, defining accessors for the slot, defining a type constraint for the slots, making one slot read only, ... This is better read from the documentation of this macro operator, instead of trying to see it from reading low-level operator code implementing them.

Every programmer will be happy to read this macro form - no one wants to see the expanded code, how structures are actually defined in terms of low-level operators.

Thus MACROS increase the readability of programs a lot - independent of the team size. Really no one would want to define a structure type by manually creating all the definitions for it (a type, an allocation function, slot accessors, type predicate, compile time effects, ...).

What they can make more difficult is some maintenance tasks - where bugs appear on a meta-level where programs transform code.
Bitez Yedikule Düz Marul Fidesi