skysight-inc/HackerNews huggingface dataset:
From TFA:

> Typically hydroelectric power requires a huge head of water to function, relying on blades submerged in high-velocity water streams.

From Wikipedia's page on "Water turbines":

> Turbine selection is based on the available water head (...). Kaplan turbines with adjustable blade pitch are well-adapted to wide ranges of head conditions (...), since their peak efficiency can be achieved over a wide range of flow conditions.

They even provide this handy chart for turbine selection:

https://upload.wikimedia.org/wikipedia/commons/b/bf/Water_Tu...

illustrating that Kaplan turbines work well down to 1 m head.

This turbine is an interesting concept for illustrating fluid mechanics, but I think trying to spin it as a good alternative for a new hydroelectric turbine type is ultimately misleading. Just from the basic function of the turbine I sincerely doubt it can compete with a more classic type like a Kaplan or cross-flow turbine (e.g. the viscous losses and the un-utilised pressure in the outflow both look high).
But even in tom clancy's senario it took the efforts of russian weapons experts. And they were working with an oldschool core. Modern weapons use hollow/layered cores and so require better timing to achieve critical mass than those of the past.
Code is not literature the same way equations are not mathematics. Take any math or physics book, extract all of the equations, and throw away the text. That's how we write programs... just the equations.

However, look at Physically Based Rendering (http://www.pbrt.org/). It won an Academy Award. It should win a Pulitzer. All of the actual source code is in the book and the book is quite readable.

Or look at Lisp in Small Pieces (https://pages.lip6.fr/Christian.Queinnec/WWW/LiSP.html). There you will find a complete lisp system surrounded by enlightening text.

Your confusion stems from the coding constraints of the 1970s. My first machine had 8k of memory, 4k of which was operating system. So programs could not exceed 4k, requiring #include statements. As programs grew they adopt the "pile of sand" (POS) format where the "meaningful" directory names like 'src', 'doc', 'test', etc contain the semantic content.

Of course nobody reads POS code. It wasn't written to communicate to humans.

It's the late 90s... code like humans matter, like your code needs to be understood, maintained, and modified. Write literate programs similar to Physically Based Rendering and Lisp in Small Pieces. Stop programming like your grandfather did. Oh, yeah, and write provable programs... but that's another rant.
Not only that, but even though you might not become a world-famous pianist, trying to learn the instrument might lead you to different places, such as building or tuning pianos, for example.

In other words, there are so many more tasks and abilities in the world than just those we hear about, and paths expand into a lot more skills than you could possibly consider to exist. Everyone could be a specialist in a very niche area (or many), but they need to know those exist in the first place.

So, try things. As many as you can, because you'll never know where that will lead you.
Nice article. Not so nice to rip the HN comments and display them below the article.
>>Simple rule: include files should never include include files.

> Yes, please!

Let's say I have a C++ class defined in a header that uses std::string. So I require that anyone who uses my header already has <string> included in version 1.0.0. Then, in version 1.1.0, I added to the class in the header so that now it requires std::map. If the caller doesn't have <map> included, there will now be a compilation error! How is that better than simply including string and map in the class header itself?
I like Hews, because I prefer serif font than Material UI
That's only a recent development since the 80's. In 1948, when the filing status was adopted, married women overwhelmingly didn't work.

Look at the law through a historical lense, not today's.
I started talking to uber drivers in Seattle about unionization / Seattle regulations, and was surprised to discover nearly unanimous opposition to the idea. The only person not opposed was a career taxi driver. Almost no one else was or wanted uber to be a full time gig, and they wanted minimal hassle/regulation/etc. between them and an easy source of side income.

Anecdotal, with an n around 10, so not worth much, but I found it surprising. I suspect a lot of the Seattle unionization movement is thinly veiled rent seeking from the taxi lobby.
Stackpath CDN experience
Does anybody have any experience with the Stackpath CDN ( https://www.stackpath.com )? They have recently gotten a lot of traction by acquiring not only MaxCDN (in the summer of 2016), but also Highwinds last month. This move easily makes them one of the top competitors in the CDN space, and the merge went through pretty much unnoticed on Hacker News.

This makes me wonder whether somebody here has any experience with Stackpath CDN or can share some information regarding their service quality. Are they really as good as their pricing (0.02$ - 0.06$ per GB) promises?
SUSE acquires HPE's cloud assets
Hi biofox, there are other solutions... for example changing from a democracy to a republic.

As an aside, I think that most people don't understand these concepts because the word 'democracy' is used so much in political rhetoric and in the media that people have taken it to mean a representational system of government. For example the US is not a democracy... it is a republic, while the UK is indeed a democracy (which causes the problems that you mention). Both are still representational systems of government.

To give an extreme example say you have 3 foxes and 1 sheep at a table and all 4 of them represent a country. In a democracy the majority rules, and it would be perfectly legal for the 3 foxes to vote and eat the sheep.

However in a republic, legal limits are placed on the government (think constitution), which has implications for all citizens--but especially minorities. In a republic with a constitution that states that all citizens have the right to life and liberty, those 3 foxes could vote to eat the 1 sheep but that sheep is protected by the constitution. Therefore in that example, the vote would be illegal.

It is no coincidence that the founding fathers of the United States set America up to be a republic and why constitutional matters are so important even today.

Now having said all this I am aware that many believe that the UK has an "unwritten" or uncodified constitution. While I don't outrightly reject this concept, I believe it doesn't give a country a strong ethical or moral foundation because it does not offer clarity or consistency when ethics or morality are legally challenged. Ideally ethics and morality are codified in law so that all citizens know where they stand with regards to the power of their government.

Coming back to the issue of Scottish independence, it could be rooted in the very real problem that most people are nescient--or worse, selectively ignorant--about these issues. Unfortunately in the UK we seem to be perpetually locked in a 'treat the symptoms rather than the disease' scenario.
Funnily I've actually seen a Team B leave.

There was much panic and thinking it would all go horribly wrong, and indeed it was madness for the first week. Then the people who took over started to stabilise some of the worst parts of the system and it all sort of fell into place after that.

Fast forward a couple of months, the project was pretty much hands off and we all realised that keeping a whole team on that project had pretty much been a giant waste of money. They did nothing but create fires for themselves to fix. The Team B's exodus was actually a really great thing for the company.

I suppose the thing to learn here is, that you need redundancy in your teams. If we hadn't had other devs to step in and take over, it would have been a bit different. Still, I'm not convinced that a handful of contractors couldn't have been brought in to the same result, just more expensive.
If you run on proper enterprise gear, the likelyhood of
encountering an issue like this is very, very rare.

HP/Dell/SM servers are all ECC memory top to bottom, are properly wired (snark) and SANs have also ECC everywhere.
Even on the disk caches.

And in this particular instance, it was basically some private server build being messed up.
Move into HFT.
Intel confirms $15B Mobileye deal
I didn't find this particular OP to be as enlightening as its current upvote count suggests, but the previous post that was supposedly disappeared was very interesting and well-written. Considering how many upvotes this OP gotten, the purported short-shrift the previous post got was fortuitous ;)
How to Save a Dying Language
The Robot Defense: How Google Saw Privacy Before Snowden (2014)
> given that the Catalonia argument isn't analagous to Scotland.

Can you expand? They seem quite similar to me (but I have no close interest in either, so my view may be simplistic). Very much not trying to start a flame war here, just curious as your comment surprised me.
That's because team "B" is actually an operations team and, believe me, you don't get into ops for "fun". :)
I'm learning Lisp right now so I'll definitely try this out when I get home. It's nice to go and read other's Lisp projects.

I love the brevity of this code! Awesome work.

Are you on Lainchan?
Building the Übersquirrel (2015)
And here I am trying to hire developers with over 5 years of experience and struggling to get anyone in the door after over 6 months...
We're on a discussion board web site. Using it to discuss the subject would seem the obvious place, right? Perhaps the mods could use their own site and be responsive to everyone...
My post literally stated (now edited to add "the headline is misleading / clickbaity" to be even more crystal-clear on that point) that they're not technically forced.
>Independence wouldn't change that, except that the names on the notes would have to be changed from Pounds Stirling.

Pounds Sterling.

Stirling is a city in Scotland.
It's phrased a little oddly, but maybe 8 different emails 4 days apart with a conversational tone means actually having a conversation with the other party. But if they're not responding, how can it be conversational without being super-sleazy-salesman fake? Why wait days in between replies?
I think that works best; a moderator is / should be only a member that happens to be responsible for maintaining the site's user behaviour policy and tidiness of articles posted, and thus decisions shouldn't be an "I" or "we" thing, but "the site". Of course, that's an utopia and no amount of rules will cover every situation.
Porting this to FreeBSD/pfSense would be cool.
It's not required, but it doesn't make sense to use ZFS but not to use ECC memory. That's the point. It's like locking the backdoor but leaving the front door wide open.
Will New Google’s Intrusive Mobile Interstitial Penalty Affect Your Business?
Have anyone using the C version in librdKafka and how was your experience?
https://github.com/edenhill/librdkafka
My comment above has just received a down-vote, despite being 2 days old, well outside of the down vote time limit (unless there is a comment flag feature without a time limit that I'm unaware of), at the same time @dang left a reply.

So, another example of moderator tampering...? Or was there a recent up-vote that was removed?

I guess we are all just conspiracy theorists.
Do you think people who share fake news on social media think what it says seems unreasonable? Do you think that's a valid excuse to share fake news, or to defend it when it's called out for being fake?
Mayer $23M golden parachute as Yahoo names post-Verizon deal executive team
besides, that shows me how well readable lisp code is. even better than python.
>The UK government //

That's short-hand of course for the "UK people's democratically expressed will".

FWIW I don't vote conservative, nor support Brexit; but we can't solely blame the elite cabals - as this sort of phrasing tends to do - the demos are complicit.
Here’s How You Start Using Docker
> The only way around it is to shadow-ban: - Send blackholed orders to an approval page. - Send blackholed orders an approval email. Train your customer service to know which orders were banned, which weren't.

I don't use woot anymore because they did this to me... and apparently had no process for removing it.
Not to mention Gibraltar - everyone's overlooked this tiny rock, but Gibraltar is entirely dependent on EU freedom of movement and voted very heavily remain. It's not a coincidence that there was a Gibraltar diplomatic mission to the SNP conference, although I'm not entirely clear what they wanted other than solidarity against Brexit.

Maybe Spain would let in Scotland and claim Gibraltar as their own?
What does "verifiably" mean for you? Are you talking about provable security?

First establish an upper bound, worst case scenario cost (as a function of time + resources) to fully reverse engineer the algorithm. Use that as the comparison benchmark, and if you can come up with a design that eliminates any reverse engineering efforts with fewer costs than worst-case, you've done it.

Here's where that breaks down: "ungameable" is not precise enough to establish worst-case bounds for, in the same way that we can establish worst-case bounds for breaking an MD5 hash (brute-force it - what does "brute-force it" mean for gaming a ranking algorithm, or reverse engineering more generally?). Other than that, were you to come up with such a measurement, it would almost assuredly increase the costs of reverse engineering to infeasibility by increasing the authorization controls in place and decreasing the usability requirements.
I have emailed them. post should be updated soon.
Your app idea isn't the hard part, execution is
>garli chutney

Typo, should be garlic chutney.
The comment probably got enough flags to kill it, in which case it would show up as [flagged] [dead] if you turn 'showdead' to 'yes' in your profile.
In theory, a reasonable hash or CRC _inside_ the OTP stream would prevent tampering.

TEMPEST and DPA are other things I didn't consider in our thought experiment, but if I really wanted to be thorough, I would have. (I suspect there's very little signal for either in the OTP scheme).

I think the key exchange (sneakernet) is what makes the OTP approach unwieldy. If the source of randomness is good, and keys are not reused, in theory, it's the highest quality system out there.
My tips:

A) the next step is more important than the final goal. Always work on having a next step not for immediate work, but for what you do after finishing something.

B) Coop with others who are important to achieve your goal, who share your goal, or who have your well being as one of their goals (i.e. life partner). Have regular meetings, e.g. once a month, with that topic. Meeting to eat something with the goal as headline helps to start talking about status updates.

C) Have multiple goals. Often we get stuck at one goal, but at the same time opportunity at another goal opens. It is inefficient, but that's life. Usually we don't have to work hard to figure out multiple goals. Health, family, language learning, holidays. There are already goals in your head you may not currently think about.

The rest basically happens on its own. E.g. if your "next step" is too complicated, you can't explain it to your wife in your monthly "goal X dinner". If you can't progress with "goal X" you will automatically switch to "goal Y" out of laziness and frustration.
Code.mil: An Open Source Initiative at the Pentagon
This is one of the most thorough, thoughtful posts I have read in a long, long time. In the land of generics that rule startup advice often rehashed with a few additions (not that we don't need it. In spite of reading them often, I still, on every subsequent read, recognize some mistake I am are doing. These posts are reminders to self-evaluate), this particular post has been a breath of fresh air. As an engineer, this is the post about marketing that makes the most sense to me.

It also reflects how much she believes in the product, to put so much effort in the emails day in and day out.
With all the peaks and troughs of AI over the years, don't you think we may be due for another trough, that maybe the reason, to quote:

>the experts of yesteryear are almost certainly not the people who will build the autonomous OS of the future

is because it will be a very long time before we have anything like a Level 4 vehicle?
True but it is a different legal system. London is used because everyone knows and likes the English legal system and the English courts. Scottish courts and the Scottish legal system aren't worse, just different. Wanting to do business with a contract using Scots law is a bit like trying to raise VC while incorporated in Maine. Nothing wrong with it, just not the way everyone is used to. The Scottish legal community has nothing like the density of commercial lawyers or the experience.

Not saying it wouldn't be doable for some businesses. If however your business relies on doing anything new/innovative in a legal sense then that is one reason why London is an attractive to be based. That is a big part of why "The City" is such a force, and legal services are a decent chunk of the UK's service exports.
OK, I'll look at the algorithm :)
I think you may be reading too much into it. I think poster is using those labels to illustrate the issue rather than for the purpose of asserting nationalism.
Yes, I've heard a few of their dishes use a hell of a lot of red chillies :)
It's an American problem where some aspects are more obvious in SV. The attitudes that the US has towards employment is much more "kill or be killed" than most other developed countries, with very little recognition that it's a human being with non-economically quantifiable needs and value who's doing the work. Part of that is that wisdom (as opposed to CV bullet points) is hard to quantify.
"Vortex shedding may also occur as a more stable single vortex spiral that has a rotation direction that can be harnessed by a specially designed micro wind turbine energy harvester"

https://emps.exeter.ac.uk/engineering/research/structures-dy...
Unfortunately I don't have a Mac, but thanks.
Cool project.

I have long held a ~/bin directory that contains things that are similar.
Can someone explain the example with the ramdisk? It's not clear to me how a ramdisk is relevant to the problems put forward in the paper, i.e. disk is too slow, they rely on lazy page allocation, and they have insufficient ram to hold two copies of everything simultaneously.
The story the OP is complaining about was flagged by users. Moderators never saw it (edit: wrong, we put 2010 on the title by mistake, see downthread [1]). Had we seen it, we would have turned off the flags. There's a long tradition of people looking at HN data and posting about it. Edit #2: since the 2010 thing was our mistake (an accident of sleep deprivation by the looks of it!) I've invited foob to repost the original article using the second-chance mechanism described at https://news.ycombinator.com/item?id=11662380 and the links there. I think he's planning to do that tomorrow.

The [flagged] annotation only shows up on stories that are heavily flagged, i.e. enough to kill the post. User flags have downweighting effects long before that.

Story rank on HN is determined by upvotes, flags, software, and moderators. Moderators downweight stories to the degree that they don't fit the site guidelines. This doesn't happen by upvotes alone, unfortunately; certain stories routinely get tons of upvotes regardless of how good they are for HN—e.g. anything sensational, indignant, or meta. If we didn't have a compensating factor, those stories would dominate the front page every day and HN would no longer follow its primary rule: "anything that gratifies one's intellectual curiosity". Of course that means HN is subject to our interpretation of what counts as "intellectual curiosity". HN has always worked that way; before we did it, pg did, and he trained us to do it so it would work as before. There's no way around the need for moderator intervention on a site like HN—the clue is in the word 'moderator' itself: left to its own devices the system runs to extremes and it needs a negative feedback loop to dampen it.

When YC is involved, we do this less than usual as a matter of principle. When HN itself is involved it's a little bit different, because the hypnotic power of all things meta causes HN upvoters to go into an upvoting trance. Meta on forums is basically crack, so we routinely downweight such posts—but only so much, to compensate for the crack effect. That's what I've done here, which is why the post is now at #7 rather than #1. It should probably be lower, but I want to illustrate the point that we intervene less, not more, when judgments about ourselves are involved. As a further example, a moderator actually turned off software penalties and user flags on this post this morning, which is probably why it went to #1 in the first place. That's more than I would have done but it shows how seriously we take that principle.

None of this is new information, btw. I've posted about it plenty over the years and am always happy to answer questions.

https://hn.algolia.com/?sort=byDate&prefix&page=0&dateRange=...

https://hn.algolia.com/?sort=byDate&prefix&page=0&dateRange=...

https://hn.algolia.com/?sort=byDate&prefix&page=0&dateRange=...

https://hn.algolia.com/?sort=byPopularity&prefix&page=0&date...

1. https://news.ycombinator.com/item?id=13858850
I always ran official builds, my NAS are just standard x86 servers. Last time I checked was January 2015:

https://github.com/syncthing/syncthing/issues/468#issuecomme...

Since that bug was closed with no solution I'm not too hopeful but maybe I should try it again.
Presenting the facts out of context isn't helpful. The original post might have "only had 32 upvotes" but, as mentioned in this article, it received about 20 in less than an hour. More than enough to get to the front page, where it was steadily receiving more upvotes until it just vanished. The post was not "swallowed".
> It'll be interesting to see how each part of the UK ends up in 5-10 years time.

NI could ally with Scotland and remain a United Kingdom in the EU. Then it would be England and Wales leaving the Union.

I must admit this is more of a board game fantasy than an actual possibility given the time and I/NI politics, but is amusing to consider.
+1 for pfSense port.

Also, not sure how I feel about having this device as my primary DNS server for my entire internal network. What if the project gets compromised and injects a number of malicious DNS entries, now my entire network is toast?
Ha! Interesting, just feed the diagram to the code.
tptacek 1 hour ago

The moderators bury things on the front page pretty routinely.

That's a pretty big (and vague!) accusation to just throw out there, especially in light of this comment elsewhere: https://news.ycombinator.com/item?id=13858327

dang 6 minutes ago

As others have pointed out, the [flagged] annotation means heavily flagged. A story can be downweighted off the front page by user flags long before [flagged] shows up. Indeed that's what happened to the submission the OP is complaining about. Moderators never saw it.
I'm in my early 40s, live in a major metropolitan area and when I look for a job as a full stack c# developer, I have companies falling over themselves for me.

I am not even that strong with the latest whiz bang JavaScript framework of the week but I can architect anything with my chosen stack and I know what I know on a very deep level.