skysight-inc/HackerNews huggingface dataset:
Nim is an amazing language. The syntax is cleaner (IMO) and easier-to-read than Go and approaches Python in its readability, which is impressive for a statically typed, compiled language[0]. The design is focused on performance above all else, but it still has metaprogramming[1] and functional features.

However, Go and other languages have a huge ecosystem and many more libraries. Nim only has a few web servers/frameworks, for example. Even if Nim's web frameworks/servers (like httpbeast) are quite fast[2], they lack the completeness that exist for other languages.

Until then, if you are looking for a systems programming language, you owe it to yourself to investigate Nim[3], alongside Go, Crystal, Julia, D, Rust, Haskell, etc. The tooling is fantastic and the Nim compiler produces clean, cross-platform C code (or JS[4]!) that can be automatically fed into gcc, clang, mingw-w64, etc. It's a language that's undergoing rapid changes, but almost all of the changes are in the libraries and it's exciting to see all of the innovation there -- and as libraries increase and mature, it will become a really compelling application language as well.

The community is extremely active, and issues are promptly dealt with. For HNers, it's an opportunity to still make a huge difference by contributing to a relatively young language, compared to getting drowned out by all the noise in a more mature language community.

0. https://nim-lang.org/docs/tut1.html

1. https://en.wikipedia.org/wiki/Metaprogramming

2. https://www.techempower.com/benchmarks/

3. https://nim-lang.org/features.html

4. https://picheta.me/snake/
Yes, a pair of socks is a better gift than a family member jeopardizing my anonymity. I got a great set from WeaveWorks at last years Kubecon in Seattle!
Exactly right. Any way we can find to create low barriers of entry into media is a good thing. We have to find a way to preserve the manic weirdness of the old internet.
> When it comes back online, the 737 MAX 8 will probably be the safest passenger plane in the world.

Completely unfounded opinion here. Past success of a corporation does not contribute to future success. My presumption is they fired all the valuable engineers, outsourced as much work as possible, and they are simply functioning as a large financial firm rather than an engineering firm.

To put it bluntly, the people in charge of Boeing are stupid and not trustworthy. They didn't invest to modernize their manufacturing and hire the best engineers, they cut costs and their quality is suffering.

Hopefully passengers will be able to successfully sue airlines for flying Boeing's junk.
Beware of Economic Theories Claiming to Explain Everything
I've been interested in doing something like this. My email is in my profile.
Newspapers are tangible things. Some pixels on a screen are not, and the entire model of the web is that "everything is free". It's hard to break away from that.
Kinda. Work is frequently shared between the big ones (video and network drivers for instance).
Coming from a retail environment where we used NPS surveys; I've encountered few things more useless, and all it ended up being was another metric that we had no real choice but to game, or else the District Manager would get on our asses. It did not provide any useful information to us at all.
Miguel has always wanted Linux to be open-source Windows. If there's a problem in software engineering or integration, you can rely on him to support and champion whatever approach Microsoft took to solve it. It's telling that his white paper in which he proposes Bonobo, and even more bloated and crufty version of COM for GNOME 1.x, was "Let's Make Unix Not Suck".
> artificial intelligence software that hunts for potential shoplifters, using footage from security cameras for fidgeting, restlessness and other potentially suspicious body language.

Isn't this survivorship bias? You can correlate suspicious mannerisms with shoplifting only because the shoplifters without suspicious mannerisms don't get caught. Has there been research into what percentage of inventory shrinkage is attributable to people who exhibit such suspicious behavior? This also leaves unanswered the question of how many people exhibit these behaviors without being shoplifters, e.g. people with social anxiety (exhibiting general nervousness), ADHD (insatiable restlessness), Tourette's (uncontrollable physical tics), or on the autism spectrum (which can compel one to conspicuously touch everything in sight).
Some of it, particularly the funding for investigative journalism and research, is valuable and on a completely different plane of standards than (some) random blogs.

Much of it however, is not.
The only way they can re-earn my trust is if they address the managerial problem, not the technical problem. The dirty ugly solution was not a result of stupid engineering, it was a result of profit over safety mentality in the highest layers of management.
AES-NI (.Net) – Outperforming C and OpenSSL
23 pairs, we have 46. the author owes us another 23 reasons.
Magan – A DoH Server
this product is about prevention from my understanding. not about calling the thought crime police.

i think it’s quite great tech, definitely a huge need in the market for this sort of prevention mechanism.
Before pulling out the pitchforks, I'd encourage you to investigate with more than just one article. It may very well be everything you recommend is warranted, but be aware that once reporters decide on the narrative for a story, they pull out quotes and data in a manner that specifically supports that narrative.

I know I've been burned in the past by just reading one side of the story and getting angry before understanding the entirety of what happened.
Hypothetical..

Ethereum is the world currency. Everyone is using it. Criminals and script kiddies are running scripts that guess completely random private keys. Occasionally they make hits and steal people's wealth.

What's the next step in securing your wallet? Making sure your wealth is stored across a million wallets?
That's the kind of stuff testnet is for. It's better to have worthless coins stolen during testing than real coins stolen later.
Slavery ain't legal.
Learning to be good in interview doesn't make you bad at programming.

Theses are 2 skills totally different and not exclusive at all.

A skill need to be learned and practiced. In the case of interview, for a pretty good reason, it's not a skill that we practice usually and once you need to do it, you lack experience and fail even though you could have what needed to do the job.
Squarespace makes its first acquisition with Acuity Scheduling
You read them from a config file and fill them into the config by hand while deploying. Never push secrets embedded into code or portions of the config file to your source repo.

You can hardcode the secrets to test stuff, but the first time you push the code to the repo should be the time you change it to reading from config. And add config to gitignore cause even if you don't stage the particular lines with the secrets in them, there will come one time where you'll rush or will have too long of a day when you'll push those secrets by accident. If you've got a public repo, then it's over. On a private repo then you may not notice this or not remember to remove it with a force push.

A point in time when you get tired of juggling config files manually in dev/prod is the point in time you explore the system for secret management and auto build/deployment as clearly your project has become useful/popular enough.

Those are my IMO and what I use as thresholds. Of course, if your environment is more relaxed there's no limit on further improving this practice.
The Man Who Solved Jeopardy
Just google "can't get linux to display correct resolution"

You'll get plenty of results like this that are more recent than 1999.

https://ubuntuforums.org/showthread.php?t=2012264
This hypothetical starts to look silly when you do the math. Rolling random private keys is effectively a form of very inefficient mining. You'd spend a ton on electricity, and your odds are lower than just buying a lottery ticket.
There are two options:

1) The "signs of shoplifting" are human-designed, and so are heavily biased
2) The "signs of shoplifting" are entirely machine learning-based, meaning that they are overwhelmingly biased towards the people who actually get caught and the people who are of communities more likely to shoplift, either because of economic necessity or because of being more likely to live in areas with higher crime rates for whatever reason.

Both lead to racist results without any explicit racism being required.

Also in the absolute best-case scenario that this system works, all you're achieving is locking up more people stealing out of desperation for the benefit of corporations. Even that terrible situation, though, is a pipe dream compared to the reality of systems like these.
Music with harmonic frequencies is pleasing. The brain itself has frequencies which can be consonant/dissonant. As other commenters have mentioned, "happy" music is clashing/jarring (which is exactly what dissonance is like) when too far out of that mind-state. I think it's likely that the sound inputs are not harmonic/consonant with the brain's frequencies when the mind-state is much different. Thus, it's not just a matter of the degree of consonance of the input, since music sounds better or worse depending on the state of mind one is in, but the degree of consonance that the input induces in the brain's frequencies.
I mainly use windows + libvirt for gaming. But I also have an instance on a dedicated server for a remote development environment.

I would say forget spice + libvirt graphics layer. Use RDP, if on linux remmina work's great. RDP will outperform in my experience SPICE. I've also had constant troubles with the vga/qxl/virtio graphics.

Secondily for virtio:
https://docs.fedoraproject.org/en-US/quick-docs/creating-win...

There is an iso at the above link. Grab that and have it added during install. When you get to the select a drive. None will show up until you load the virtiostorage driver.

There are a lot of nuances to first setting up a windows vm. But the performance is great. It has removed the need for a windows install for gaming at all.
I always said to my daughter, from the time she was able to say "I'm bored," "Good. Now you can invent something."
That's no moon, that's a space station. No wait, that's a space station on a moon.
> But US law is that even if your policy has no intended racial bias, if it ends up having one, it’s still illegal.

Can you elaborate on this? As stated, it sounds not just inaccurate, but impossible: it reads like youre saying that any policy that doesn't result in a uniform (or proportional) racial ratio is illegal, which obviously isn't the case.

I think you're talking about disparate impact (as a legal concept), but this is 1) IIRC likotes to certain domains, like housing or employment and 2) avoidable if the racially-skewed policy is demonstrably related to the job (in the employment case).

As a trivial example, requiring a college degree for a job dramatically shifts the racial distribution of the candidate pool, and obviously isn't illegal.

If the shoplifting system is found to be illegal, AIUI, it would probably be because the case is made that it's _directly_ racially biased (disparate treatment).
https://www.qualcomm.com/company/product-security/bulletins#...

That's pretty much all the snapdragons in modern Android phones (page is not letting me copy+paste them here).

Has QC put out a patch yet?

EDIT: The April security patch looks like it took care of it:

https://source.android.com/security/bulletin/2019-04-01

EDIT 2: And of course, my Samsung Galaxy S8+, despite having received an update in April, is only at the March 1st security patch level. So I'm likely vulnerable until Samsung's next update.
This is by far the most immature accusation of all accusations i have heard from people on podcasts. He lost me when he said "Most podcasts are conversations for people to eavesdrop on — recorded talk that precludes real-life talk about real life with zombie talk about podcasts". This is like saying "Chemistry is just mixing chemicals on conical flasks and lighting up bunsen burners". This is oversimplyfying the existence of podcasts. What about social media ? Does it not preclude from real life connectivity. What about videos ? does it not preclude from real life experience ? What about any form of art ? Does it not preclude us from observing the art of nature. You can basically say this argument to anything. Its an empty argument.
Should be a 2 hour task, right? Two weeks later, why wasn't this documented?
I suspect they desperately want to avoid further scandal, especially with electric cars because these are supposed to be turning over a new leaf after dieselgate. They're not sure exactly how well battery thermal management will work, so they choose a strict limit. I suppose if they find there isn't a problem they could relax it OTA. No-one complains if they get more later, only if they get less.
"Citizens United in the first 90 days, do you think they were hoping to lose?"

The Democrats believe Citizens United hurts them and benefits Republicans. It does not challenge my core thesis.

"If what you say is true, it should be trivial to provide examples of the opposite, so why don't you?"

Republicans have, for instance, supported Voter ID laws consistently, while Democrats have vigorously opposed them.

You have two basic choices here. You can either agree this is an example of the Republicans attempting to improve voter security. Or, you can repeat the standard accusations that Voter ID laws are simply intended to hurt minorities and suppress their votes, in which case you're basically agreeing with my thesis that the party's interests in these matters are driven by their interests rather than their stated principles.

(The idea that voter ID is some sort of unmitigated atrocity is a peculiarly American one not shared by the rest of the world, which is why I infer it's a political position and not a logical one.)

If, of course, you attribute to the Democrats all their stated reasons and goals, but every time the Republicans open their mouths they're lying every possible way and have every possible bad motive, of course you'll end up with the result that the Democrats are just awesomesauce and the Republicans stink, but it's not an interesting result. The conclusion is entirely described by the measurement metric. At least if I apply an action-based interests-driven theory equally to both parties, I end up with a potentially-consistent result. And in the scientific sense, I can tell you, it's a very highly predictive theory. I sit up and take notice when a political party makes what lawyers would call an against-interest admission, because it does not happen often.
>It really just boils down to if I open gmail then I'm agreeing to myself that I'm spending whatever time it takes to address everything right now.

Funny. For me, this was one of the reasons email kept piling up - not feeling I'd have the time to address it. And then there was the other related problem: For most of my emails, I do not know how much time each can take without opening it.

>I wouldn't ever consider ignoring or not replying to an email from a person who isn't spamming me. To me that's almost the rudest thing you can do online.

It used to bother me, but I've gotten over the feeling. I no longer find it rude when I don't get a reply. However, mentally I do categorize people as repliers and poor/non-repliers, so I know how much or how little effort to put into writing an email for each category.

The reality is that it's cheaper than it should be to send someone an email. I put in more of my effort to reply to well thought out emails vs quickly written one-two liners. For the latter, it's almost always the case that I'll expend an order of magnitude more effort in responding than they put into their email, and I don't appreciate the asymmetry.

And also, a lot of people still get way too much mail - and despite what many here think, it's not all in their control. I'm not going to fault someone for not responding because my email got lost in all that noise.
This is the coolest thing ever, thank you!
If you feel that “groceries aren't mine until I've paid for them,” then how do you ever eat at a restaurant?
Concur: anything to lessen cognitive load.
Freedom of travel and inability to restrict cross(-state)-border commerce mean that whole classes of potentially-very-nice policies can't be part of those "experiments", though, or can be but only at much higher cost than they'd be if states could control those things. Others don't make much sense at a state level, like environmental regulation—you can regulate pollution all you like, but the states up-stream or up-wind might choose "defect" on that particular dilemma and then you're screwed anyway.
How many people check which type of plane they'll be on when making a booking? I've never done that. Then again, even when, say, 10% of people do that, it'll be a devastating dent in revenue for most airlines.
Misery loves company.
OK, this depends on what you mean by an API key. If you are referring to a security token that identifies the user, then yes, you should always be creating a new key per user, and often per session.

However the term API key may also refer to an App key, intended to identify all users of a given app. The intention there is to be able to engage and widespread revocation or throttling in case an app is misbehaving or compromised. You cannot keep this sort of API key secret because it must be shared and must be available.

In the non-user device scenario you mentioned, I’m pretty sure you would actually be better off simply having the device generate a random GUID instead of going through a pointless negotiation to hand out a random GUID.
No. Any reasonable reader can conclude that the author does not know the identity of the perpetrator thus "he" is simply a placeholder for an unknown person. Yes, they author could have used, "they" instead, but they didn't. Hardly a mortal sin.
Yes. From the article:

> Recommendation

> Qualcomm has already designed and distributed a patch to address this issue. Ensure that your devices are running the most recent firmware version.

Also, here's the list from that page: IPQ8074, MDM9150, MDM9206, MDM9607, MDM9650, MDM9655, MSM8909W, MSM8996AU, QCA8081, QCS605, Qualcomm 215, SD 210/SD 212/SD 205, SD 410/12, SD 425, SD 427, SD 430, SD 435, SD 439 / SD 429, SD 450, SD 615/16/SD 415, SD 625, SD 632, SD 636, SD 650/52, SD 712 / SD 710 / SD 670, SD 820, SD 820A, SD 835, SD 845 / SD 850, SD 8CX, SDA660, SDM439, SDM630, SDM660, Snapdragon_High_Med_2016, SXR1130
> Merkel just plainly removed certain reports, not sure about the topic.

Removing all political influence is hard. I also am certain there was a case of some politician calling an editor, but don't remember the details beyond the politician getting booted because of it. But that sounds like bullshit or at least highly exaggerated. I'd like a source on that.
The complexity should be the same no matter what language you use, but how you structure and organize that complexity changes drastically. Hence in Ruby it takes only 2-3 lines of code to accomplish what in Java requires a few ItemFactories.
> $700 is about 10% of the fair market rate in China for skills like that.

So you are suggesting $7000 for skills like that? There are still countless PHP / Golang / Rails jobs going for under $2K. While I agree $700 is insanely low even if you are in some Tier 3 cities, I don't think 10% paint an accurate picture of the current state of Programming Paid in China.
Delta specifically tells you the plane before you purchase. It's literally right there when you go to pick your seat, it doesn't require any digging whatsoever. As others have said, on a full service airline where you can pick seats ahead of time they obviously know what they're planning on flying because they give you the seat map.
Cashew nuts!
> I am amazing at whiteboard questions, but that doesn't make me a good engineer. ... A lot of it it is practice 'ooo this looks like a graph problem, let me use a graph', etc.

That actually does make you "a good engineer". The vast majority of developers wouldn't even be able to recognize that much.
The only sad thing here is a fraudulent DMCA takedown for a trademark violation.
You're presenting a false dichotomy. There are CCTV cameras everywhere in Japan too (most of them are not operated by the government, but the government asks for footage when necessary), which is one of the safest countries in the world and the Japanese government is not authoritarian.

China, on the other hand, is authoritarian government using safety as an excuse for government-based mass surveillance, most famously used for oppression of dissidents. Somehow, some people are buying this.
Influencers Are Abandoning the Instagram Look
Good coders can be productive and write good code in any mainstream language, contrary to what is said in the famous "PHP: a fractal of bad design"[0].

That said JavaScript has a number of the same problems as PHP and pointing this out should be equally acceptable as pointing out issues with PHP[1], and while I'm impressed that it was created in three weeks and impressed with the JS community we shouldn't pretend it is a very well designed language. People being productive in JS is pretty much a result of an amazing ecosystem, not because of the language.

For a very simple example of what JavaScript could have been, look at Typescript: anything you can do in JS you can also do in TS. In fact, "porting" from JS to TS is as simple as changing the file extension.

Yet except for the need for transpiling TS is massively easier to work with and can eliminate whole classes of problems when used correctly.

Source: Have programmed and maintained others creations in JS and later TS.

[0]: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

[1]: I also have programmed my fair share of PHP code. It doesn't have to be bad. But I'll happily admit that it isn't the prettiest or most well designed language I know.
I’m of the belief that a lot of depression is addiction and accumulated tolerance to the pleasure of being sad. Feeling intense sadness feels really good as your brain releases chemicals to make you feel better.

When feeling sad, a lot of people will tell themselves the worst possible worldview they can conceive to get a surge of deeper sadness and thus relief.

That being said, people tend to listen to music that validates their feelings regardless of the feeling so this isn’t surprising.
Was the coin ever recovered?

Cryptocoin theft also seems have the same advantage as a buried bag of cash in that criminal prosecution doesn't prevent you from still owning the goods.

I suppose there's restitution, depending on venue.
Likely they can recover something like `private_key XOR nonce`. If you know a few bits of the nonce, you can reveal bits of the private key. But this is not something you can brute-force.

In other words, the nonce bits leak information about the private key bits. You can't magically create this information by trying all possible values.
I find musical experience is sometimes push or pull. Occasionally a sad piece will push into that space, but sometimes you are already sad and you search for music to pull into that place with you.
The above comment was gray, within 5 minutes of being posted.

Perhaps the karma threshold for downvoting needs to be raised to balance the Redditization of HN.
There are people who believe an EMP — either intentional or otherwise — will one day bring the planet to a "The Day the Earth Stood Still" halt.
GTK+ 3 is stabilized now. GTK 4 sees active development, and hopefully a first release this year.