skysight-inc/HackerNews huggingface dataset:
Harvard research suggests an entire generation has lost faith in democracy
A week is about 6 months in JS-years.
I like to refer to http://stateofjs.com/ and http://todomvc.com.
Congestion for cars in most dense cities tends to stay pretty much constant: Add lanes, and car use goes up until congestion is pretty much back to "normal". Close lanes and more people pick alternate modes of traffick until congestion is back to normal.

Which is one more reason to not pay attention to car congestion when deciding what to close, and instead make such decision based on how congested the sidewalks and public transport is.
Thanks for the tip. What do the robots attack?
It's probably going to take more than encouragement.

Namely, changes to open records laws to make it okay to work on data sets that are not strictly public domain.
If you find it interesting:

https://www.sec.gov/news/testimony/2011/ts120111rsk.htm

> There is no express statutory definition of the offense of insider trading in securities.3 The SEC prosecutes insider trading under the general antifraud provisions of the Federal securities laws, most commonly Section 10(b) of the Securities Exchange Act of 1934 (“Exchange Act”) and Rule 10b-5, a broad anti-fraud rule promulgated by the SEC under Section 10(b). Section 10(b) declares it unlawful “[t]o use or employ, in connection with the purchase or sale of any security . . . any manipulative or deceptive device or contrivance in contravention of such rules and regulations as the Commission may prescribe as necessary or appropriate in the public interest or for the protection of investors.”4 Rule 10b-5 broadly prohibits fraud and deception in connection with the purchase and sale of securities. As the Supreme Court has stated, “Section 10(b) and Rule 10b-5 prohibit all fraudulent schemes in connection with the purchase or sale of securities, whether the artifices employed involve a garden type variety of fraud, or present a unique form of deception,” because “[n]ovel or atypical methods should not provide immunity from the securities laws.”5

Its very, very broad anti-fraud laws.
I don't think that's true. Let's pick the Node.js ecosystem for an example (chosen because I use it very little, so I'm not hyping up my own pet language). Lots of non-expert programmers are writing Node packages, both for their own in-house use and to share with others. I'm going to assert that the average Node user has fewer years programming than the average C user. And yet, they seem to have fewer critical vulnerabilities per amount of code written. They still make mistakes all the time, sure! But they're a higher class of mistakes, more "this sets the wrong HTTP status code" and less "this exposes kernel memory to remote users". JavaScript handles the low-level abstractions so that its users can concentrate on breaking the higher-level stuff, hopefully in ways that are easier to test and notice.

Also, almost every language has a way to use C code directly (For example, see Go: https://golang.org/cmd/cgo/). C may be the best way to write low-level driver code. If it is, use it for that! I'm not convinced that there's a single best language for Ethernet card drivers and HTTP stacks, though.
This looks a bit like a very small microservice with a RPC api, to call the functionality.

So there is no "serverless" which is only spinning up the container as needed. Or scaling up the containers if required. Hoped to see something like that. :)
I don't think Guardian is a trustworthy source on this, having in mind their heavy left bias. They won't present any arguments which could undermine the narration that it was pure anti-women witchhunt, simply because it won't fit their ideological line.

Look, they even managed to somehow connect the 2-years old event to the last month's three most hot keywords of left-leaning media: Trump, alt-right and hate. This shows that this article is a opinion piece targeted to a specific group of readers in order to amplify their existing beliefs, rather than a balanced description of facts.
I was home schooled from 2nd grade until sophomore year of high school. My program was very loose and there are gaps in my education I wish didnt exist. However when I joined public school in high school I realized how basic and sub par most of the classes were.

I never really suffered from social issues due to having a "home school group" that we regularly met with to play sports, a couple siblings that were close to my age, and being on various high school or public sports teams while being home schooled.

If I could go back and do it again I would make sure to get a better foundation in English and Math. My overall understanding in science and history probably suffered more than it should have as well but those dont have as much impact on my day to day life.
Now, if we can only get the FDA to allow it!
What is the Blockstream's Lightning Network and how does it correlate with bitcoin?

How will bitcoin attract customers from traditional payment options if fees are higher?
Ugh, never mind. I was misinterpreting that the shell was saying. See? Told you I'm dumb.
>>remembering to free(); not to free() twice;

You can set the pointer to NULL, then freeing again won't hurt

>>not to use after free()

Set the pointer to NULL so it will crash.

>> Its main problem is that it has no non-wizardry high level semantics for parallelism.

Fair, the language doesn't have it. For everyday programming though you can use something like OpenMP where making things execute in parallel often requires adding one line above your for loop.

>>But there's no way I'd willingly start a new project in C today given the alternatives

There is no alternative for performance critical code (well, at least among popular languages of today). For other things - sure.

>>I'm going with one that gives me a reasonable shot at writing safe, fast, and understandable code.

If safety is your priority then likely C is not for you. As to performance it depends what you consider fast. If making stuff 50% faster no matter how fast it already is saves a lot of money you have no choice but C/C++/Fortran or just hand code in assembly.
With everything in Crypto I have to wonder: Is the information correct? I really have no way of verifying if I'm learning the correct DHE, and I know that it's easy to get wrong. Perhaps I can do some testing in code, but I may test it incorrectly too, and those small errors can be exploited.
A major problem with undefined behaviour and compilers exploiting it is how unforgiving they are: there's no hint to the programmer (unless they explicitly opt in to a sanitiser, which they should, but usually don't) that they have written a bug, the compiler just happily "assumes" that the programmer is flawless and hence the code is exactly what was intended. Blaming the developer for mistakes seems far less productive than understanding that they are inevitable and investing in defences, whether in the form of better tooling for C or languages that fundamentally avoid or restrict the problems C has.
And you might be able to avoid simultaneous client- and server-side rendering and all the horrors this brings with it in the first place.
These days, JS parse time on mobile devices is more important than file size. And that isn't even necessarily file size specific - Nolan Lawson did a comparison of the different methods used to bundle JS to show how they can have a huge impact:

https://nolanlawson.com/2016/08/15/the-cost-of-small-modules...
> Before anyone looks down their nose at the UK. This is really common in the US as well.

And so both deserve to be at the bottom of a nose gaze.
How We Built GraphQL Subscriptions with Apollo
"No evidence is needed."

Great argument, bravo.
Scientists have finally figured out how water conducts electricity
I use React currently and yes, this is an important argument.

Faster load times are better. And if Inferno accomplishes better rendering speed while also being smaller, it is basically universally more performant than React.

I evaluated both thoroughly and chose React over Inferno because of the massive community around React, but numbers like this are intriguing.
Lessons Learnt from Failure Testing at Amazon,Netflix&New Venture Gremlin
Is this the end of custom ROMs?

Between Xposed and a "better" standard android, a lot of the "big" custom ROMs have bit the dust. Aokp, paranoid, slim, omni is moribund, and now CM?
I haven't used Zappa yet, but came across it the other day.

I'd just like to say that it looks an exceptionally well built and thought out project. I will be using it in the future for sure.
I've seen these pixels before.
C is a permanent fixture. It is not going anywhere in your lifetime. You can use it, or not.

http://www.joshianlindsay.com/index.php?id=170
Sixty second explanation: What is Hashing?
Sorry, the NY Times article URL got shortened, it's actually: http://www.nytimes.com/2016/02/21/technology/got-an-a-in-alg...
Sorry I mistyped somehow (corrected) diet soda is a whole different discussion...
I really miss some pins. Not as sexy, but maybe more useful for some hardware hacks that could use a screen and arrow keys: http://gamebuino.com/
> If C is that bad at managing complexity

This, in my opinion, is why even if C were somehow free of buffer/integer overflow, UAF, and other vulnerabilities, it would still be a poor choice for many real-world (read: complex) applications.
Is not all map data in the US not in the public domain, being works by the government?
Hordes for the Holiday [infographic]
Post that only try to be funny tend to be downvoted on HN. We try to avoid reddit style threads where people just post one-liners.
Because talking does not solve the problem. Chinese are aware of the problem, and complain about it a lot. But talking to Westerners about it is not a good idea most of the time, because high percentage of Westerners in China just try so hard to prove their own bias that Chinese are brainwashed. Chinese can tell the condescending attitude. No Chinese like to hear a foreiger bash their government, no matter it is good or bad.
I've met a surprising number of entrepreneurs who were home-schooled. I don't think it's a coincidence. Home-schooling can instill some positive out-of-the-box thinking and a willingness to stand out from the crowd.
djb, who is famous for being an exceptionally talented and careful C programmer, summarized these issues better than I ever could: https://groups.google.com/forum/m/#!msg/boring-crypto/48qa1k...

Yes, every time a C program relies on undefined behavior, it's a bug. And as djb observed, virtually all non-trivial C programs contain these bugs. This is the core of my argument.

Yes, we could rely on C programmers never making mistakes. But it would be better to design languages with no undefined behavior.
Yes, we can sell brand-new presses along with the IP and recipes, or can consider a JV, production contract or some similar arrangement.

Otherwise, for HPHT, you can find used BARS presses, mostly in Russia. They are certainly capable of growing diamonds, but are like comparing emissions, performance and fuel efficiency of a 1980s carbureted vehicle to a 2016 fuel-injected vehicle. Used cubic presses can be found in China, however those presses were built for grit and powder, which run short cycles (<1 hour), and would need to be converted and upgraded to sustain strict parameters for multi-day and multi-week cycles.

Companies sell new CVD reactors, as they have more applications than just diamonds, but they do not come with any diamond knowhow.

With all of those, you will have to develop your own recipes and growth cells or methods. Unless you have plenty of time and advanced degrees in physics, chemistry and/or material science, it will probably be an exercise in futility.

The original Florida-based Gemesis is a good example of this. They were VC funded and bought BARS presses, that at-the-time, could only grow orange diamonds. Gemesis made dozens if not hundreds of these presses however, when they ran out of money years later, they could still only grow orange diamonds. A Singapore company bought those presses (mostly to grow CVD seeds and HPHT-treat CVD rough) and to my knowledge, still can't reliably grow blue or colorless diamonds with those BARS presses.

For a code analogy, they basically "forked" the orange recipes when they bought the machines from Russia, and haven't been able to merge any upstream advancements since. BARS have basically been deprecated, so that stack is no longer developed.
> Are you going to claim that a parent is more qualified than them?

In some cases, yes.

Anecdotally, in my homeschool co-op group growing up, we had classes from a PHD biochemist, an ex highschool english teacher (got fed up with highschool and turned to homeschooling), a professional music teacher who catered to the local homeschoolers, and a successful local businessman who ran a catering company, among others.

There are a lot of highly qualified people who are also parents, and interested in teaching their own (and their neighbors) children.

Homeschooling certainly isn't appropriate for everyone, but don't discount the existence of people who are able and willing to outperform the local public school system.
I don't recall any timelines like that for a cure for aging. Mars has, but on the other hand, the technology has existed for Mars for a long time, it just never happens because organizations don't want to spend the huge amount of money it would cost. Fusion is different, since it still requires fundamental technological breakthroughs, not just piles of money (although we're getting closer to the "piles of money" phase now).
>If every company that processes cards has to be fraud detecting experts, then they CC system is totally broken.

That is 100% the case, at least in the US, for card-not-present (online, phone, etc) transactions.

The credit card companies have zero liability for fraud in those cases...the liability is 100% on the merchant seller. In fact, the CC companies collect a non-trivial chargeback fee, so they arguably profit from the fraud.

Predictably, since they have zero risk, they provide almost zero fraud protection for sellers. For example, if they changed the system to accept data like "shipping address vs just billing" or "ip address", they could use their aggregate view to squash A LOT of fraud.
Largely similar experience. I took the ACT having never taken a formalized test in my life or having stepped foot in a real classroom. Completed most sections with perfect or near perfect scores, but my math score was abysmal. It uncovered some major gaps in my knowledge.
52 things I learned in 2016 [working on a series of fascinating projects]
Buying into the weakest conspiracies of Julian Assange is not being a "straight shooter". You took Google to task over their patent pledge and demanded they release all of their patents unconditionally, but give Microsoft a pass on highly trollish and litigious behavior.

You also don't mention that some of the things Google (and Facebook and Twitter) are not complying with concern Russian government attempts to persecute bloggers. Google was also not "compliant" with Beijing's demands for censorship and in 2010, pulled out of the country entirely, giving up billions of dollars in revenue and letting Baidu completely take over.

You say you're not a "hater", but you post almost exclusively on this subject, not just on HN, but on your other social network accounts. My facebook feed is pretty much 100% on bad stuff about Trump these days, and it would be completely accurate to characterize me as a Trump hater.

And for the record, people are pretty vocal internally about fixing product excellence and customer support issues. One of the chief reasons why complaining on HN works, is that so many Googlers care about this issue and are dismayed to see what should be customer support issues on HN. Righting a ship with several billion users is going to take time. Microsoft and Apple has 3+ decades of experience organically growing their consumer support culture.
I'd like to hear more about the senior dev who hates code architecture. Do you have any examples? I still go back and forth on on the value of code architecture, and I think some examples might be enlightening.
Im at work but these two should be a nice start:

https://www.smecc.org/The%20Architecture%20%20of%20the%20Bur...

http://homes.cs.washington.edu/~levy/capabook/

Bitsavers and Wikipedia are good resources. The summaries of most on Wikipedia are accurate enough with references to get more authorative information on. I found a lot of it that way.
I think the biggest difference is that Newtonian mechanics tells us how forces act but it doesn't say anything at all about what forces there are. Newtonian gravitation gave one source of forces, but the rest were ad hoc: two objects don't intersect so there must be a normal force and we observe sliding objects to slow down so there must be a friction force. Now we think we have a complete list of all forces that arise, ever.
So if 'Binary Gender' is, and will always be normative, simply because almost everyone is binary, I wonder what it might be like to be left-handed. Would you consider it social extremism to treat left-handers, which are a seriously small minority (10%) as actually equal to right-handed, normative, normal folks?
As he says in the talk this truck is for 100 Pb, you'd need 10 of them for the aforementioned Exabyte (Eb); which I imagine would nicely equate to a train.

If this data is valuable though wouldn't it need to be securely transported; Mad Max: Fury Road springs to mind...

Increasingly the film Johnny Mnemonic is becoming more and more preposterous; it was 320 Gb in the film. I think the book was 320Mb.
I owned an EEE-PC and it was fine :)

Even this seems sorta playable: http://hackaday.com/2016/11/28/tiniest-game-boy-hides-in-you...
> What about unstructured socializing?

I disagree with vivekd on many points, but I don't think that schools offer many more unstructured opportunities for socialization than their examples. They get a few minutes in the hallway, and then maybe lunch, and then extracurricular activities - which he's already suggesting anyway.
Bill Gates is backing a revolutionary waterless toilet
I disagree , i think an education is a right , not homeschooling
Tool for Browsing Hardware and Software Engineer Salaries Dips into H1B Data
That's a lot more then I though, is that even reasonable?

With today's digitalization even stock trading is commonly available at $0.1 in courtage fee, is it really feasible bitcoin to use double that if broad adoption is appreciated? Or is that not a prioritized goal?

What stance does the bitcoin foundation take or whichever is the highest authority talking on behalf of the community?
As another example could you write a device driver in a language like Python?

I was frankly a little disappointed in both the referenced article and the one it references. C basically is assembler. If you have a problem that needs hardware-level access you'll need things like pointers. The really hard parts of C (like handling null pointers or lack of concurrency primitives) seem to be the flip side of this access. Whether you use things like braces just seems to be a matter of taste.
It's not the "startup" label that's a problem, it's that VCs breed a monoculture. There are lots of startups that don't secure funding because they don't fit the VC mindset. This is a survey of "what VCs want in their portfolios", not "what entrepreneurs choose to do", which are very different things.
Beginning with Perl and Vagrant (and Ansible) [video]
The point is that a public employee subject to open records laws can't edit OSM because OSM isn't public domain.

Here's an example. The National Park Service can't treat OSM as their canonical data store:

https://www.nps.gov/npmap/blog/nps-plus-osm-equals-places-of...

People play blame-the-ODBL, but there's not really any epically strong arguments against adjusting the public records laws to be a little more flexible.
really wanted to get chalice working but no dice. following the README.md failed to produce a successful deployment.

that was a while ago not sure if anything changed since then. However, I'm going to be taking a look at Zappa.

Some sort of integration with S3 SQL + Cognito + Zappa/Chalice (Lambda) would be great.
Ask HN: New MBP keyboard losing its crispness?
I'm noticing that the most-used keys (e.g., spacebar, return) are losing some of their give and the crisp, click-like feedback you get with the updated keyboard.

Anyone else experiencing this?
I see by "first" they meant the first evidence of vacuum birefringence. Quantum vacuum fluctuation is by itself well established. E.g., Casimir effect.
Well, one benefit of wide exposure (like here on HN) is that if it was wrong, somebody would be bound to come along and point it out.

FWIW, I consider myself pretty well-versed on cryptography and although I haven't gone over this book with a fine-toothed comb (yet!), it looks very, very accurate to me.
What's it like to re-write a React application into Inferno?
Invigorating to see so much lively debate on HN about whether mass deportations are good or not. I love it!
Customer.io Outage
May I direct you to this [0] G+ post from the dev who made focal? What Kondik did was not just "make a little of all the hard work he put into it."

He also blames the cofounder for everything that went wrong. Not his own incompetence or community pushback, just the cofounder.

[0]https://plus.google.com/+GuillaumeLesniak/posts/L8FJkrcahPs
The scammers are the "last stop" telco carriers. They charge high, Cuban rates to connect someone who thinks they are calling Cuba to a cheap/free recording. They arbitrage the cost of playing a recording (0) against the cost of actually connecting the customer to a party in Cuba (non 0).

These rates are passed up the carrier chain until they reach the caller's main carrier. If international calls are covered in the caller's contract, the carrier picks up the tab. If not, the caller is charged int'l rates for simply listening to a recording.

There should be some way for the main carriers to identify and block these shady "last stop" telcos but it seems as if they have no incentive to as they are probably cheaper to partner with than reputable carriers, and the customer ultimately pays the fee in one form or another.
Sounds possible to do it like a flip cover with a window for the "screen" and buttons that actually just press the on the covered part of the touch screen.

Edit: or simply this: https://youtu.be/ZcXdDiRuJzI?t=60

I gonna try taping just a little bump for orientation on the D-pad, should help a lot!

Edit 2: yay, a little cross from electronic tape as already a great help
This is wishful thinking at best, companies require practical thinking because reality is corporate suicide. Not everyone will have great communication skills - and as a team increases in size, this becomes increasingly difficult.
Reading the list of react differences, the biggest con is the lack of synthetic events, they plan on adding one but IME[0] that is pretty inconvenient as that means you need to handroll event delegation and dispatching, which means you need DOM access (via refs or componentDidMount) or will have to do all event dispatching from the root; and their devtools debugger is "still in development". They also require fairly modern ES features (maps and weakmaps).

OTOH it provides lifecycle events for functional (stateless) components which is nice.

[0] from having dealt with that when using snabbdom[1] without the event listener module

[1] which is a "raw" vdom library not a high-level components-oriented system
1 out of 5 founders thinks they are raising a unicorn ?
And as context, Professor Dan Boneh teaches the main introductory crypto class at Stanford (CS255) - it's a great intro for someone with some good CS fundamentals. The course syllabus is here:

http://crypto.stanford.edu/~dabo/cs255/syllabus.html

(Disclosure, I took the class a few years ago)