skysight-inc/HackerNews huggingface dataset:
I've always found it weird that many people put the HTML, JS, and CSS for one component in three different files, but never thought enough about it to put it into words. Pete Hunt (one of React's maintainers) does that here:

https://www.youtube.com/watch?v=DgVS-zXgMTk

React is about separating concerns, not technologies. Everything you need to know to draw an App Bar is in AppBar.jsx. You can dynamically generate the markup with JavaScript, but that doesn't change your separation of concerns, because everything concerning that component lives in that file.
Hey if my ex can do it...

But more seriously, if there are bugs that can reveal the poster's identify in the first place, then it's not anonymous. It's very easy to make your servers not record any identifying information along with the text or pic. It's also easily possible to strip any exif data from an image. Clearly for usefulness/monetary value, the identity of the poster is being recorded.
The New Editors of the Internet
We actually do have a positive and a negative control in orbit on either side of the Earth's. Sorta.
A CRT TV will generally make a 15.7kHz squeal because of the flyback transformer. Not everyone can hear this high: between ages 20 and 40 most people lose hearing down from 20kHz to 10kHz.
California DMV says Google’s self-driving car must have a steering wheel
That's the first thing I looked for too. Anyway, I opened an issue: https://github.com/fastmonkeys/stellar/issues/13
In 99% cases the performance difference doesn't matter - users won't notice that a jQuery method runs 5ms slower than it would run in vanilla JS, but they will notice if the script doesn't work at all, because your vanilla JS code fails on older browsers.
Or ... you could stay in the city and get an MS in Analytics from University of San Francisco at the downtown 101 Howard campus. http://www.usfca.edu/analytics/
The program is excellent, has a REAL practicum experience and boasts nearly 100% employment 3 months post graduation. It comes in at about half the cost of cal's program. [Full disclosure ... I'm an adjunct there] Here's what you can learn in one year
http://www.usfca.edu/artsci/msan/courses/
The combination of location, instruction and work experience is unprecedented.
To Crowdfund Research, Scientists Must Build an Audience for Their Work [pdf]
Very nice. Small enough that I can read and understand every line of code, and it still does something useful.

One thing I don't get, is why you're not using the zip code as the primary key (or have any other sort of index on it). The id isn't even used as far as I can tell. Is it just blazingly fast enough as it is?
Dogs and Cats Living Together? Eucalyptus and OpenStack
The site isn't served by a CDN so, for most people outside the US, every click takes anywhere more than 5 seconds (according to Chrome dev tools) to show any given page. Clicking threads and finding nothing new is a monumental waste of time, notifications would improve things a bit.
I thought that I remember the solar cycle being claimed as 11 years. Is this new?
I believe these rights to be inalienable, if only by convention.

But even Psychology and Neuroscience has picked up on a tendency of humans to not like other humans suffering. In a sense, hurting someone else hurts us also. In that way, a society which respects individual's rights is not acting on a whim, but rather on a biological predisposition - even if it is weak.
OK, it was a figure of speech. They are not saying that. They are acting like that. The climate scientist who are trying to find the "missing heat" instead of reconsidering their models and revising their predictions of warming.
No.
I want the website to leave me alone. If it becomes hard to keep track of conversations, then maybe you should have less conversations and only discuss matters that are really important to you.
No. It's a very meaningful distinction, actually.

Compare:

Ruby:

will_print = puts "hello world" # it already print to the screen! and will_print does not have any meaningful value -- indeed it's nil

Haskell (demonstrated on the repl, which runs inside the IO monad):

let willPrint = putStrLn "hello world" -- nothing gets printed!

willPrint -- now the string gets printed (only because the repl is inside the IO monad which promises to execute action values)

Haskell (not in the repl):

willPrint = putStrLn "hello world" -- nothing gets printed!

willPrint -- this returns the same that 'putStrLn "hello world"' returns - an action value that, when run inside the IO monad, will execute its actions - so this still doesn't print anything, and we can pass willPrint around without side-effects, and compose values with willPrint

main = willPrint -- now the compiler will make good on its promise to execute any action value that is named 'main', and "hello world" will be printed to the screen.

The point of this is that you cannot print inside the Haskell language (nor do any other side-effect) - when you try to print you get this "action value" thing that you as a programmer cannot execute. Only the compiler can. So you can pass Ruby's equivalent of "puts 'hello world'" around, which you can't in Ruby.

So the distinction is quite clear.

> Programs written in C, Python, Ruby, ML, R, and Brainfuck only have side effects when you execute them.

They clearly don't. That's why when I write in Ruby:

puts "hello world"

Then the next line of code will be executed in a world where 'hello world' has already been printed to the screen.

Likewise, when in Ruby I write:

a = 5

a += 1

Then the next line of code will be executed in a world where a is 6.

So every line of code you write depends on the side-effects that came before it. Therefore, Ruby and most other languages have side-effects before code is executed. This is not the case in Haskell. Hence, no side-effects.
> the reason you don't often see much of a reflection head-on on a shiny surface, but do at a glancing angle

Ah! I've noticed shiny things in real life that made me think "if I saw this in a game, I would think the reflection was overdone." I think what you've mentioned there is the key. The reflections I remember from early 2000s video games seem overdone because they're reflective at all angles. In real life, the shiny marble floor is only really mirror-like at shallow angles, when looking head-on it only appears glossy.
I'd rather not.

I'd rather have a better CSS when I am surfing with my smartphone, the text is too small and I have to scroll horizontally to read each line.
Seconded. The extent of what I know about this project is:

1. It's like git somehow?

2. I can run some commands which presumably do something?

3. That something happens faster than something postgres can do, which I assume accomplishes the same thing?

4. I assume there's nothing else I need to know?
The blog linked in that post is a really fun read: http://www.komar.org/faq/colorado-cataract-surgery-crystalen...
The allure of Secret is that you know that a given secret is from someone you know. Diluting the pool is harmful to that message.

What they could do instead is only share secrets if you have N contacts in common. This solves the bot problem - the target will not add the bots.

You could also have some sort of threshold before showing secrets as well.

That said, I've never used Secret so this may or may not work. It'd be interesting to play with the Secret data to see how the social circles overlap and what kind of traffic patterns they see.
Engineer Tracy Chou Has the Stats on Workplace Diversity at Startups
The thing about this particular attack is... it's pretty obvious, isn't it?

I had never heard of this app before, but reading the article, as soon as they got to describing how it works (you give it emails/phone numbers of your friends, you only see secrets from them), I correctly guessed what the attack would be.

Now, maybe it wouldn't have been obvious to me without the setup (there's been a successful attack, and now we're going to describe how Secret works like this, setting you up to understand the attack).

But if Secret has security engineers, intimately familiar with their system, and trying to identify possible attacks -- how could they have not identified this? It makes one think the bug bounty program IS their security program. Which is probably true of much software, but this is software focused on secrets!

On the other hand, maybe it just seems that obvious in retrospect? Apparently they have already given out 42 security bounties, and this one wasn't identified until now, so I dunno. It sure seems obvious though.
Except no nicotine -- if that were true, quitting would be easy.
Exactly. The very challenge of social anxiety, for example, is that asking for help is itself a terrifying experience. They might as well be telling a paraplegic to walk to the doctor.
Not really, I am drowning in notifications all day with Quora, Facebook and twitter. What I'd really like is a auto HN to Pocket app, where all HN articles are synced into Pocket app and I can read and mark them done at my own leisure in piece on say a long bus ride. Maybe I'll build one this weekend unless I find one online.
Well, all of your contact information is sent as a hash to the Secret servers. I'm not an expert on cryptography, but I think the idea is that if you send your information hashed, and all of your contacts hashed, and then all of your contacts send their info hashed, you only have to find out where the hashes match up and you won't actually need to know what the actual contact information is (the phone, email, whatever).

Everything sent over the wire to their apis is encrypted, but using an easily reversible fashion. The encryption key is a combination of a static salt and the user's session id. The session id is also sent to the api as an http header, so it's pretty easy to decrypt that anyway.

n.b. I wrote the windows phone app
Introducing Uber Integration and New Feature: SmartRides
Show HN: λ Bubble Pop, an educational toy built using λ Lessons
If I remember correctly, the C99 standard forbids pointer aliasing. That means if you use a C99-standard-conform compiler, it will automatically assume that you do not alias any pointers (and produce more efficient code). Making sure that you actually do NOT alias any pointers is up to the programmer of course (there exist compiler warning options that can detect such aliasing though)...
How China Will Change the Smartphone Industry: Predicting Winners and Losers
I think he's referring to the observed absence of increasing temperature as contradiction to the prediction that temperatures will keep increasing.
App is just extremely badly designed. If service is supposed to be anonymous it's good idea not to store any identifying information. If there's need to store some for legal reasons that can be encypted easily. So there's absolutely no way to recover it without the administrator. Even if the servers would be seized. Unfortunately world is full of such crappy broken by design services. Simply bad engineers and engineering does fail. That's how I do it. When you're anonymous use proxy tor and random wifi or anonymous clean cellphone. Even then be very careful about writing style analysis. Anyway it's worth of noting that absolutely nothing is private with Android or iPhones etc. If you're dealing with things which require privacy you're not using mainstream smart phone.
The section on "work habits" is especially amazing. I know people who are very smart but also very lazy. They end up falling behind in the long run; may be a corollary to the Curse of the Gifted.
Brigade 3: Real-time Path Tracing
Or a donate/flattr button.
The OP might be trying to say that 25 years conflicts with two solar cycles. Because it is in fact an 11-year cycle.
I guess one could get in trouble if you were writing a compiler, as users could write conforming code that you thought was undefined.

I don't see how one could get into trouble as a developer though. It seems to me that, while technically incorrect, the blog imposes more restrictions than is actually neccessary on the user.
These videos reminded me of the architectural renders of "The Third & The Seventh" by Alex Roman

http://vimeo.com/7809605
A doctor would be ideal but I know a lot of people who just needed some reassurance they were not alone or broken or weird before they could get up the courage to see someone.
I would disagree that referential integrity and schemas are the only issues a DB version control should focus on.

For example, I would be very interested in having git like branching on top of something like this - http://sandbox.substance.io/docs/lorem_ipsum.json. Basically version controlled schemaless object tree.

I recently implemented something like this, backed by mongodb, and by exposing a HTTP api which mimicked git. I had to relax these two requirements, but it is still worth it.

However I would be very much interested in using libgit2 with a database backend instead of filesystem.

EDIT: not affiliated with substance in any way.
AWS Node.js Sample
I agree for the most part - I'm just making a theoretical distinction.
My problems:

1. This doesn't teach you how to code, this teaches you how to read code and learn arithmetic logic that goes with programming.
2. You use Javascript as a base.
Not the OP, but I think that was the high point of the particular European centric civilization that came out of the Enlightenment. There will be other high points for sure, but each will come when their own civilizations reach maturity.

And no, nobody alive today will see one of those, it is too late in the previous cycle and too early in the next one for that. But you can make the next one happen today by mastering something worthy and passing it on to the next (human) generation. There's people not yet born who will use that as raw material to create stuff that we would not be able to understand even if it hit us in the nose.
This story is terrifying in the context of the recent attack on women game developers.

To put the attack in contexts, imagine all the epitaphs you've heard playing FPS games online, but much worse. Then imagine having those slipped under the door of your home, scrawled over a Polaroid of you sleeping in your bedroom. Now imagine that you have no safe place to complain about this invasion of your privacy, but that you have to keep it constantly bottled up in yourself. That's a mild version of what these developers are facing.
The built-in version has the big advantage that it integrates well with tools: you can statically determine the target of the reference and jump to it.
Java JDK 9 Proposals
Greg Godbout: 'Hacking bureaucracy' at 18F
Lego Calendar
With Enlitic, a veteran data scientist fights disease using deep learning
This is awesome! Finally someone made this! I wanted to make it for a long time and to start taking it with me everywhere.

Why are you taking this picture? It’s already on the Internet! - this is my thought every time I see a tourist taking photo of some random thing that has been photographed by millions of others before him. Sometimes, when I'm in a bad mood, I say "It's already on Flickr!" out loud when passing by said tourist.
It's true that this doesn't land on your credit score, but that doesn't mean that you can chargeback without anybody ever noticing. Issuing banks collect lists of credit cards that have issued chargebacks. A merchant may be able to purchase access to this list from their merchant bank.

This is sort of a big hammer for a merchant to bring out: it will probably not catch any stolen cards (since those would have been cancelled as soon as the fraud was detected, before the chargeback was even processed), and it will simply block customers who have made a chargeback, without any idea of fault.

The only people who would ever use this, one would presume, are at a very high risk for chargebacks and on the verge of having their merchant accounts cancelled. For example: "web sites with monthly, recurring subscriptions". You might be surprised how many men and women with teenage boys in their house dispute charges for these types of web sites!
This seems fun. I'd be interested to hear how people who have never programmed before react to, and cope with the 'puzzle'. I didn't find any information beside the game itself.
Please don't purport to be the authority on what is and is not responsible. This term was rejected by the industry for a reason.
Personally, I always use either an auto-incremented ID or a GUID. I don't like using a real value of the object as a key. Generally, I think it's good practice, but you're right... I'd index off of that.
White House meets with big biz on immigration
I thought so too. The interactive graph was a superb touch.
Really well executed.

This forces the reader to confront their misconceptions about what is going on by exploring edge cases. (number + string == ??). Teaching models that force you to guess when you are uncertain can create a deeper understanding by preventing hindsight bias. Everything seems obvious once you know the answer -- the hard part is convincing the student they would have gotten the question wrong before you told them.
The printing press was certainly an accelerant but itself was a culmination of centuries of progress in Europe not shared elsewhere. Other alphabets and alpha-syllabaries in Eastern Europe, India and the Islamic world didn't lead to printing because they lacked the maturing technology and tradition of movable type that Europe had in the centuries before Gutenberg (cf. Medieval letter tiles, Prufening dedicatory inscription, etc.). Even in Gutenberg's time there were other goldsmiths making nearly identical advances in Holland and France.

More importantly, two centuries before Gutenberg, scholars in Western Europe had thrown off the shackles of believing antiquity had all the answers, something many parts of the world still struggle with. This is sometimes credited to the rediscovery of Aristotle but the Persians and Arabs knew Aristotle and never made that leap. Instead Aristotle is simply another accelerant. What actually led Europe (and specifically Western Europe) to science was the development, from Catholic cathedral schools to pseudo-independent, credential granting institutions of learning which encouraged adding to previous knowledge and, because of this, specialization. Six hundred years before Gutenberg these proto-universities had already formalized specialized programs with separate credentials for studies in theology, philosophy and medicine.

Previous academies that investigated the natural world were simply not resilient institutions; tending to decline under weak central rulers (Gondeshapur in Iran, Baghdad's House of Wisdom), be obliterated in war (House of Wisdom again, Plato's Academy) or fade after the passing of famous founders. Many also lacked a professional faculty and credential granting, further limiting long term innovation.

Western Europe's fractured political map and separation of religious power in the papacy worked against these tendencies. The independence and progress of local universities was always to the benefit of local rulers and at the same time the universities enjoyed an association with the church that helped protect them from both obliteration after military conquest and excessive domination by the state. This independence has to be one of the biggest keys because China's Imperial Academy had both amazing resilience and degree granting so it's inability to develop any kind of formal science has to be blamed on the strong subjugation to the central government which used it strictly to train civil servants. The most learned men of China were interested in the natural world, they engaged in scientism (cf. Shen Kuo's proto-geomorphism 800 years before Lyell) but they were essentially all self-taught hobbyists.
garric does have a point. Reading The Origin of Species is a fine and dandy thing, but you shouldn't expect to learn too much relevant to modern biology.
If you change the item from smartphones to firearms, the PRC is not at all special, besides Mao's infamous revealing quote, "Every Communist must grasp the truth: Political power grows out of the barrel of a gun."

A more useful illustration is the Chinese Communist Party's (CCP) attitude towards civil society (per Wikipedia, "the aggregate of non-governmental organizations and institutions that manifest interests and will of citizens"), it must be extremely limited and restrained, and there are no extremes including mass murder to which the CCP is not willing to go to keep it that way. See the Falun Gong for the most recent severe example, and I've noticed recent headlines WRT to some Christian "sect" and 1,000 people arrested.

No doubt the CCP knows their history, see for example the https://en.wikipedia.org/wiki/Red_Turban_Rebellion and the general history of the https://en.wikipedia.org/wiki/White_Lotus , and that their control of their sprawling mainland empire is fragile, as it also historically has been.

In that context, smartphones, which can communicate in ways less subject to surveillance than say SMS, are an existential threat to the CCP, potentially as dangerous as guns.
My problem with calling property a "natural" or "moral" right is that it obscures a really fundamental dynamic, which is the separation of possession from the ability to defend those possessions. A separation achieved by collective force suppressing the natural dominion of the strong over the weak.[1] The lion doesn't feel moral compunction for "stealing" the hyena's kill, and why should he? He is just using his natural gifts, just as a programmer might use his natural gift of intellect.

[1] One might be tempted to invoke private security at this point, but one wonders whether, in a world without law, anybody who can defend say Mark Zuckerberg's wealth has any reason to take orders from Mark Zuckerberg, at least for very long.
I agree with you. There is a structural problem with the view put forward by the parent. If the validity of a view relies on I/O being the bottleneck, it encourages coding practices among that keep the implementation I/O bottlenecked. Once you already believe such a thing to be true you have little motivation to challenge or overcome it.

It is not the case that I/O bottlenecks can always be overcome, but it can often be, depending on circumstances, provided one tries of course.
the + operator, is it concatting strings, or adding? who knows.

the scoping sucks, e.g.

(function() {
var x = 1;
console.log( x );
if ( x ) {
var y = 2;
}

console.log( y );
})()

why is y defined? its being called out of the block it was declared in?

there's no proper foreach
using other files is an effort and requires hacks to get them loaded.
callbacks everywhere.
variable names as object keys is a pain
regex is a pita

i just don't like it, i have no idea why it's become so popular recently, i can understand it runs in the browser and everyone has a browser, but why server side stuff?

but whatever, each to their own i guess
Where Secrecy is Essential [pdf]
Security Middleware for Crow C++ Web Framework
Did a SanDisk board member donate $2500 to the Ferguson police killer?
Shout_App wrote:
'perhaps I should add a "report" feature to each post. What do you think?'

---

I think that would be a good idea. However, my idea of a "report" feature and your idea of a "report" feature may be quite different. My thought is that this added "report" functionality would be a rather involved classification and targetting subsystem. I would not even use the word "report" to identify this functionality. What I am thinking of would add several interesting benefits. But, it's complicated.

Give some thought to this. You can do some interesting stuff.