skysight-inc/HackerNews huggingface dataset:
One can also stop using boost. The last C++ project I worked on spent at least 30% of the compile time parsing boost/filesystem headers. I don't know what type of crackpot designed boost/filesystem but when you trace the includes (and the included includes) then you will see a reasonable amount for your own application. Maybe up to 50 headers that are part of the actual project and then comes a list of hundreds of boost header files.

I then proceeded to simply copy the includes of a random .cpp file and put it into a new .cpp file with nothing but includes. I removed all of them one by one except boost/filesystem. Compile times didn't change and if they did then only by a few milliseconds. A single include for boost/filesystem took 2 seconds to compile. I didn't even instantiate any templates in that simplified .cpp file so in practice the overhead is even higher. Isn't that absolutely insane?
Ask HN: What are some novel and niche database paradigms?
Outside of nosql, relational, graph, and timeseries are there any database paradigms that are defined? I’d like to explore the niche cases of database needs that aren’t so straightforward or needed by the many.
White House considering phone app for gun background checks
It could use the Hollywood unions as a model, at least partly. The Screen Actors Guild for example doesn't limit actors' ability to negotiate salaries independently but does allow for freelancers to get health insurance paid through employment in a larger network.

There are other benefits too. Elimating crunch without overtime.
Think he meant: https://youteam.io/
Same! I'd be happy to pay for these small nuggets of blizzard history
> The true driving force is not justice, but rather power.

You've hit the proverbial nail in the head. This virtue signaling wave sounds an awful lot like how religious people manipulate mobs to persecute their personal targets and further their ghrasp on power.
The "liberal with the truth" bit isn't about the ability to exit; it's about the EU being "externally controlled". The EU is an organization of which each Eurozone member is, well, a member. They have votes in the EU Parliament and European Council (the latter is responsible for appointing the ECB president) and a say in deciding the membership of the Executive Board.

(Indeed, the German Constitutional Court generally rules on the constitutionality of power transfers to Brussels based on the degree to which the control of said powers is democratic.)
We can engineer a solution to the dynamic tradeoffs you see in food delivery..

Sometimes you want at least one pizza, reliably as possible, and you're willing to pay extra. Other times you may want a pizza as affordable as possible, even if it is delayed or the order may be cancelled on you. The open generic API should support this high-level configuration, and the provider should be auto-selected according to your needs.

I also see an opportunity for this in the ride-sharing space. Sometimes riders are looking for a cheap and possibly slow option, other times a premium is expected for a fast trip. In my dreams I could use an open app that understands these tradeoffs, and automatically requests a driver from Uber, Lyft, or any other Taxi provider who offers safe/fast/affordable drivers in a given area.
Yeah my point is just that 1) "information wants to be free" is an observation more than a statement of purpose, and 2) I don't think fighting against dirty ol' authors who are trying to charge for their work was on anyone's mind, more or less, when designing the technologies under the modern Web. The way things shook out was some combination of an accident and inevitable. I doubt many or any of them thought charging money for, say, books or magazines was a bad thing. That's just... not what any of this is about.

Even if the Free Software movement (which I think is what she's trying to get at?) sometimes bleeds over into other areas, its ideological roots are in retaining user control of software in particular because software's a tool, not keeping people from charging money for novels or history books or newspaper articles or whatever.

[EDIT] that is, actual ideological informational-freedom anarchists—that is, not just opportunistic pirates—are rare and aren't and have never been in power to any substantial degree, even in the software world. The whole premise of that part is a big misunderstanding.
If it emits in near IR it will make a perfect conversion medium for silicon solar cells.
Chinese Scholars Are Claiming That English Is a Chinese Dialect
Isn't the answer better consumer protections, though? Rather than a ban on new technology that threatens the status quo. If Facebook wants to be a bank, they should be subject to the banking regulators and there could be (should be) strong consumer protections preventing the type of corporate behavior you describe.
New technique uses power anomalies to ID malware in embedded systems
You're right, I can't say more laws are causing less crime. But I can say more laws and less crime are correllated in the US, which is still a counter-example to your Tao Te Ching quote, that claims more laws cause more crime. We know that's not true.

The quote might be true in ancient or modern China, where the laws and restrictions are being made in a dictatorial regime to censor the populace. But that would mean this isn't a quote about the nature of laws, it's a quote about the nature of China in a specific context, and can't really be applied to situations outside that context.

In the U.S., despite the temporary uptick in property crimes in the 80s, it went away again, and on the whole, on average, violent crimes have been in decline for 300 years while the number of laws and restrictions has gone up.

I wouldn't call the war on drugs or 3 strikes to be examples of crime expanding, those are both examples of government campaigns to fight crime. They are both controversial, with a loud and large contingent of citizens who believe those campaigns exaggerated the problems and are wasting vast amounts of tax money without reducing crime rates.

> I think getting more people out of poverty reduces the crime rate (and also adds safety).

Totally agree with you there. Side note, some people believe the "war on drugs" actually perpetuates poverty: https://en.wikipedia.org/wiki/War_on_drugs#Creation_of_a_per...
François Chollet: Keras, Deep Learning, and the Progress of AI
I tried it out. As other commenters have pointed out, it doesn't produce much of a coherent story, but it does have its amusing moments. For example:

THE DOOR NOW HAS THE LETTERS "ME" WRITTEN ON IT

go through door

I DON'T KNOW HOW TO DO THAT

you put your hand on the handle and turn

YOU PUT YOUR HAND ON THE HANDLE AND TURN IT WITH A ROAR
THE DOOR OPENS
> No Dominos in this country, so I cannot test

consider yourself lucky, it is like eating cardboard
React Dev Tools – Debug Like a Ninja
It's hard not to flag this article when it brings comments as absurd as calling the NYT neo-Marxist, the "Fox News of the left" or "far left" to HN.

If there is an interesting idea underlying the linked opinion piece, the author is making a good job hiding it below cheap rhetoric.
>However, each brand will still get to develop its own UX in the same way that Porsche and Audi can build very different-looking vehicles from the same MLB Evo toolbox.

This is really something I feel Microsoft could have done to gain some footing in the mobile/connected car space. I think they could have developed an light OS that was compatible with iOS and Android, and re-skinnable for the major auto groups, then it's of a matter of simply licensing it to them.
The Pinkertons are considered the epitome of the "Wild West" - that is, the total lack of state control of law and order in the American West. Their intervention in strikes in the East is, to put it mildly, not a good example of law and order and a functioning state.
i meant that the Euro, as national currency of italy and greece, is "externally controlled", cannot be bent to the needs of those countries , but to the needs of germany. Eurozone is not the EU
The failure of gendarme knights at Mohács is probably the most salient point to the original topic. The Hungarian forces were clearly obsolete. That fact had been profoundly demonstrated over a year earlier with the French failure at Pavia. So why did they still field the forces they did?

If my understanding is correct, the existence of gendarme knights was deeply entwined not only with the concept of nobility in Europe, but with the economic foundations of Feudalism. The structure of which was primarily focused on a how a unit of population could field a single knight into battle. In short, a different army would require more than just additional training or logistics, but an underlying societal shift. Just as Feudalism rose because Martel recognized the effectiveness of armored cavalry, it would take the adoption of gunpowder, which specifically made armored cavalry ineffective, before there was need for another restructuring: one that led to professional armies and eventually nation states.

It would be pure hubris to believe we're done with these sorts of societal shifts. Just as nuclear weapons made large-scale warfare between nation states pointless, we may find that drones, and other weapons that allow cheap, asymmetrical force projection, may make even smaller engagements an exercise in mutually assured destruction. And that could challenge the entire nature of the American military-industrial complex and its global facsimiles.
It would be different if we didn't get the exact same story every week, seemingly.
Epic. Now it's got me thinking this is a first step towards declaratively stating what should be in my fridge at all times and having food automatically provisioned for me.
> Handwriting is tedious; pointless; painful to learn and bad for your hands.

Can you cite any evidence for this claim?

I journaled daily for over a decade without any stress injuries whatsoever. In contrast, heavy laptop usage for a few years lead to severe RSI damage I'm only now recovering from.
There's also traditional lithium polymer batteries which tend to use aluminum and copper as their anode/cathode. Of course they aren't king for density or safety but they certainly don't use cobalt. https://www.genstattu.com/blog/what-is-lipo-battery-pack-con...
I stick with a saying I came up with: “Make Knowledge Actionable”

I gain the most value from Ask HN posts. I used hckrnews.com to identify the top ones. I look at the top comments on these posts. If there are any good insights, I note them and favorite the post.
A robot hand helps amputees “feel” again
Eh, if they pull all apps which use that library from apple's and google's app stores, that would be enough to make it useless.
Wow, CNBC is really going all out to propagandize here. No mention of Saudi led war on Yemen, which would obviously motivate the Houthi's to attack Aramco (the Houthi's quoted in the article even make reference to the "aggression" of the Saudi Monarchy against Yemenis).

Instead, they jump right to Mike Pompeo (on Twitter, no less) denouncing Iran and concluding that there's "no evidence" the Houthis are responsible.... ridiculous.
Age is just a heuristic. It's not an age gap, it's a culture gap.

Expectations of one's job are vastly different (fulfill all of my personal needs versus provide financial stability to support my personal life; work-life blend versus work-life balance).

Ethics are different (Adderall will get me through crunch time versus ugh! crunch time!; give me little projects like I had in college versus give me an area of responsibility and a mandate).

Standards are different (this project will be dead/replaced in a year, or I'll be at a new gig, so building quality is a waste versus always build quality, the definition of which I've determined based on decades of experience).

There's a gap of political perspective as well (boomers and, to an extent, Gen-Xers screwed up the world versus inheriting the established business/social order was generally accepted).

Easiest to understand is a vast difference in language and cultural reference points - not as different as an ESL candidate but on that same spectrum.
Level Editor Created in Cocos2DX (Space Shooter)
So maybe it the same pizza could come from multiple providers but they break it up into slices and attach a pizza-correlation-id to each slice so an entire pizza can be assembled at the point of delivery.
Trump won both the primary and the general even though he spent significantly less than his opponents in both.

Money talks, but it isn’t everything and can’t buy elections in the USA right now.
They keyboard, ok, and I'll give you the "pro" (though, if you're talking about their laptops and not their desktop pro model, they were totally pro). But this sounds like hardly a complain:

"New product lines were confusing. The existence of the MacBook alongside the MacBook Air defied logic"

One could always buy one or the other or neither...
OT but why isn't there a compiler that simply does absolutely basic passes to get the IR into a 'normalized' form then apply optimizations based on a 'database' of super optimized 'chunks'? For unoptimized parts run the super optimizer.
Maybe we now can get true black on an LCD screen?
I think you're missing the fact that I'm subtly agreeing with you. The fact that it's easy to make your argument against me is because I've presented it in a way to obviously see how limiting jobs is bad. It's just disguised under normal circumstances.
Yeah, I shared it with this forum. When I linked to your comments.
New AI software developed for facial recognition of wild primates
To sell the product
Makes me think of "Ishmael" by Daniel Quinn. This book interprets the "Garden of Eden" as a metaphor for the hunter/gather phase. The "tree of knowledge of good and evil" is symbolic of the choice of a population to settle down on one spot and develop agriculture instead of staying on the move.

The amount of controlled agriculturally productive land correlates to more food to raise a larger army which in turn can be used to forcefully acquire more land.

I specifically remember a sentence from the book, to paraphrase: "The hungry lion does not kill the entire herd of antelope, but rather takes what it needs and the herd replenishes."

To quote Ayn Rand (channeled through her character Dominique): "Religion is class exploitation."

From the article:
"Hunter-gatherers have little or no stored food, and no concentrated food sources, like an orchard or a herd of cows: they live off the wild plants and animals they obtain each day. Therefore, there can be no kings, no class of social parasites who grow fat on food seized from others. Only in a farming population could a healthy, non-producing elite set itself above the disease-ridden masses."
I was actually thinking that this windshield wiper design had some potential to be more aerodynamic.
Because 99.9% of software doesn't make use of direct syscalls, instead it uses wrappers or standard functions that wrap various other syscalls that can and will change over time. Meaning $app_container v0.1 can and probably will have a different seccomp filter than $app_container v0.2
Not really. Over the long run almost all govts of any significance will do bad things. You limit the effects of these bad govts with proactively by restricting their powers at all times. This is why you shouldn't give more power to a govt because it's doing well in the 10 year window. Facebook's reach is limited by being on fb.
Wouldn't a flat fee work better than a percentage given the obvious workaround of giving the newly hired developer a sudden, gigantic raise?
Sign up on moonlightwork.com. It’s a great community for this exact sort of thing.

The advice here sucks. Don’t give up on this idea. I make my living freelancing and a fair portion of that income is from Moonlight.
I have found most of my work via old employers. I’m currently working full time at one place and part time for the previous place. Establishing a track record is hard, but if you have worked at a place before and done excellent work then it is orders of magnitude easier to make this work.
Getting really good at conversation helps.

Two books I would recommend are

How to Win Friends and Influence People

And

The Mom Test
Wow man, so many good memories on that post. I used love a coop tower defense called "Autumn Crossing TD". It was awesome. There was also a Dragon-Ball themed RPG map that was so so much fun.

One that you didn't mention and I used to play a lot was Hero Line maps. Those were super fun as well. Thanks for the throw-back!
The Sakila DVD rental database is available for a number of RDMS including Postgres: https://github.com/jOOQ/jOOQ/tree/master/jOOQ-examples/Sakil...

There is also the more idiomatic Pagila database (also DVD rental) for Postgres: http://www.postgresqltutorial.com/postgresql-sample-database...
It's a touchy subject for me because I try working on it in my spare time.

My point is this, in Florida, there's a shitload of policy, gov action and procedure to keep mosquito populations at a minimum. It use to be spray trucks were a weekly thing when I was a kid in the summer (90s). It's not that way anymore. In most cases, mosquito populations are no where near as bad compared to when I was a kid. Mostly. It can still be bad if you go outside city limits. There's a long line of procedures that can be taught to other countries, which are cheap, that can already put a good dent in excessive mosquito population sizes. The hormones does another really big dent. Then there's the last resort spray trucks. The spray trucks come out when the commissioner acknowledges that failures in the chain have occurred. That's what I'm trying to get at. Different counties here consider a disease outbreak from mosquitoes at around 5-15 cases in a 2-5 mile radius within a week time span. The rest of the world does not have those numbers. They wait till the hundreds because they can't do anything. That's where we should start at before we look for miracle cures. And a lot of these are education and light field work that can be implemented cheaply. Either funded by local economies or aid. Which, we already do a fuckton of aid as it is. The one they really can't do is waterworks control which does play a major factor for us in FL. But there's still a lot that can be done before looking for unicorn farts. The disease transfer rate sort of works out like viral herd immunity (loosely). Because zika, malaria, dengue, etc, don't have a 100% incubation rate in the specific species of mosquito. However, there is a 100% transfer from mosquito to human (from what I know). But if you decrease mosquito populations around humans so the likelihood of incubation diminishes, you can see a good sized decrease in disease cases. It's not perfect, but it's a hell of a lot better than what's going on now.

I just wish that spreading current, effective and efficient knowledge would be the one getting funding.
My theory is many great people left from blizzard.. they're trying to milk what they can with as low as budget and a team as possible.
I think the biggest threat that the US government sees in crypto currencies is the ability of adversarial countries (Russia, Iran, etc) to avoid sanctions. If you want to conduct international financial transactions, you must do it in US dollars, and the US government controls that.

In the future, if governments (or private entities) can get around that, then the US doesn't really have any non-military leverage. The US government seems interested in Libra because if it grows and becomes the de facto crypto currency in the future, and they have a good amount of control over it, then they don't lose any power.

Then again, they might lose control over it while Facebook just hustles everyone for their data and money. France and Germany are probably interested in the international financial systems being stable, but are probably a lot less inclined than the US to bet on Libra because they don't control the US dollar right now anyways, and if anything goes sideways they can't really control FB either.
As someone who uses the AWS console once a month, I find it incredibly confusing and I'm always hunting for the right sub-section. This is the old trope: experts prefer complex and efficient systems, while beginners prefer simplicity.
I was assuming that. Even still, 148k bill, and an unimaginable situation is still a shocker.

I am willing to fight, even though my out of pocket is also very small.
That’s open borders and it isn’t a popular policy with the country, which is why it hasn’t happened. (I don’t think any first world country has such a policy, the USA is hardly alone here)

People are worried that a dramatic rise in immigrants willing to work for less (since it’s still better off than their home countries) would undercut their jobs by affecting the supply/demand relationship of the labor market.

I’m not sure unrestricted immigration could work but I think we could increase the numbers of visas we do give out by some number less than unlimited.
Codec IP owners usually grant royalty-free rights to software video players.

They make money licensing IP to hardware manufacturers.
Tutorial, books, videos, resources to help us learn and DIY Open Sources Robot
The original works great in Wine!
What does the voltage depend on? It's interesting and odd to me that it'd be an inherent property of the chemistry.
U.S. credit cards extort big fees from businesses and give kickbacks to consumers. Hard for "free" to beat that, if consumers have the choice.

It may change now that businesses are allowed to pass on fees.
The Beginners' Guide to Redcode
For both keyboarding and handwriting, the stress can be high or low depending on your technique. Many people write with cramped hands, which is hard on them if they do much more than sign credit card receipts. But if you write with light pressure and a gently curved wrist, you can write all day without pain.
I’ve heard Dominos described as a tech company disguised as a pizza company. This continues to support that idea.

(I know this provider isn’t from them, but it still applies nonetheless)
Off topic, but how did you write a subscript character? The hn format page doesn't allude to any markdown/html/rtf support.
The weight of setting up and tearing down an HTTP(S) connection compared to the lightweight DNS query is barely touched.
The stories that get reported are almost never in the product that gets shipped.

It's like the endless stories about new types of transistor. Computers are faster, but our transistors are not made of diamond or nanotubes or DNA.
I wonder if this if at all related to the news about Sackler transferring funds to offshore accounts

https://edition-m.cnn.com/2019/09/13/us/sackler-family-purdu...
Edward Snowden’s Education
For fun: a simple port knocker (some software that opens a port for ssh'ing if you hit to with the correct connection sequence).

Simple, but enought to discover tokio.rs examoles on their website were not up to date.
https://en.wikipedia.org/wiki/Unicode_subscripts_and_supersc...
The Eurozone is a subset of EU members; decisions about the governance of the Euro are made by the Euro-using subset of the European Council (the upper house of the EU legislature, representing member states directly). Germany has a voting share on the Council proportional to its population.

Germany's outsized influence came 25 years ago, when it had the dominant part in writing up the rules and powers of the ECB.
By using the Unicode "subscript four" character (https://www.compart.com/en/unicode/U+2084)

₀₁₂₃₄₅₆₇₈₉