skysight-inc/HackerNews huggingface dataset:
It's true that some people get rich by exploitation and other nefarious means, but there are also people that get rich by doing things, by inventing, by discovering, by building companies, by doing the very things that a country like France needs to compete. A country that already hampers any real chance of getting ahead in the world (for example maximum work hours and mandated holidays) needs as much help as it can get, so maybe keeping people that got rich inside of France is actually a good thing. Maybe that chip on your shoulder is holding you back in more ways than you know.
I love that the underscore doc for `has` links to the submitted article.
JS has two kinds of problems: the kinds of problems like a single number class, and the kinds of problems like implicit global scope. The latter are solved by reading JavaScript: The Good Parts and/or writing CoffeeScript. The former is a result of an idiotically simple core of the language, but also because nobody is clamoring for it. As a trade-off, though, you get JSON!
Downvoted because "this will virtually never happen" is, uhm, for want of a better term, incredibly stupid.

Allow what you want to allow and disallow everything else.
I'm not sure how you can judge the new MySpace when it isn't even out yet. For all we know, it could be a great example of a UI/UX.
Buy side liquidity means quick access to sellers at little cost and on favourable terms to you. This was always the case - HFTs just make it faster and easier.

Maybe there is a terminology glitch. Buy side and Sell side mean something else, generally. Buy side is commonly referred to people holding asset on book, and sell side are capital raisers or intermdiaries.

If I'm buy side, I want liquidity -- period. HFT does not provide liquidity, it provides decreased "viscosity". As you note, (observed) liquidity evaporates under high Vol. Which, if it were true liquidity, or if markets participants met the threshold assumpyions of EMH, would not be the case.

If you're trying to differentiate two sides to a trade on an exchange, that's usually referred to as Bid/Ask. Again, observed lack of liquidity on one side or the other (or: massive spreads), signify commonly held assumptions about the markets are askew.

If we throw away EMH behavioural assumpyions, and we throw away liquidity, what we are left with is the following:

(1) Opportunistic market participants;and

(2) Ultra-low transaction viscosity.

These are a shitty combination, from the perspective of public policy. The lack of viscosity actually increases the returns to increasingly obscure and opaque methods of market maniplation.
Some exchanges or interbank dealers in the FX world quote a "Minimum Quote Life" - usually around 250ms. I am not sure how strictly this is enforced.
Organism without a brain creates external memories for navigation

A manager downloaded a TODO list app?
I never said that was the whole audience, that's just the part of the audience they'll miss.
There will always be ways of exploiting things like this.

Perhaps the solution could be to handle this at the network level. In other words create what is effectively a "personal information firewall" built into the browser.

Have the browser detect when certain information is about to be send over the network, it would need to be checked prior to being passed to SSL. Things that fit formats like CC numbers or authorisation codes for banks. There could then be a prompt appear on top of all active windows saying "A CC number is about to be sent to xxx" Allow/Deny.

I suppose this would be difficult because phishers could re-encode data using JS into some other format before it is sent. So you would need some of mapping keyboard inputs to networking events.
Quite! "Uses git bisect" would have been more appropriate.
But there will always be something that might be the next bug, but perhaps not really keeps people from using your product as well. There is a fine line there. And I agree with 'aytekin' below, probably having more features in a product leads to more bugs and thus difficult launches.
Companies all over the world were targeted by Lodsys, including 1 man companies in the UK. They targeted anyone selling in the US (which is a big market you wouldn't want to forgo) and prominent on the app store.
(for the record: parent edited his post to address this.)
I don't know why you think government regulation ensures safety. When it comes down to it, you're getting in a car with someone you've almost certainly never met, and trusting them to get you safely to a location. I don't claim to judge drivers' skill by looking at their face, but which of these situations seems more safe to you? Which is a better experience?

Lyft: I open up the app and get an approximate time of when I can get picked up if I decide to order a car so I can decide if it's the right choice. I then get a picture of the car, a picture of the driver, and the drivers' rating on my phone, and I can watch them come to me on a map. When they come, I'm greeted by a friendly face who going to get more or less money based on how well they service me. I know the car isn't going to be more than 12 years old, will be in good condition, and that the driver has had a background check.

Taxi: I call a company and hope that the cab comes. If it comes I have to try to figure out if they take credit card or if they're going to lie about their machine being broken. They drive me as fast as possible to my destination, without regard for comfort, because they're getting paid based on speed. I don't know anything about this person's driving record, or if other people have had generally good experiences with the driver.

You may very well have been a good driver, and I've taken taxis with good drivers. I've also taken a taxi with a driver who mumbled to himself (no, there was no phone/ear piece) and drove at a crazy pace without wearing a seatbelt. How long do you think he would last on Lyft or Uber, where drivers will get kicked off if they get rated too low?

I'll take Lyft every time, even if I see a taxi I could hail and get more quickly.
I like d3 (and coffeescript). But...

df <- read.delim("benchmark.tsv")
boxplot(df$timing ~ df$implementation)

Versus...hmm. How many hours / LOC would that take you in d3 and coffeescript? It will be great when it happens (nvd3 looks promising) but I don't think d3 is an exploratory data analysis tool yet.
Good luck men, great idea.
Unless you run a blogging platform which is used by JS programmers.
Yes! And let's not forget don't be fully depending on one marketing channel to get your first launch.
I worked in tech support for a few years, this stuff is very common when doing things over the phone. "A box popped up saying X" , "OK click on Y" , "Oh , I just clicked on Z", "why did you click on Z?" , "I always click on Z".
Don't be scared, see https://github.com/JasonGiedymin/pi-node
Explanation here: http://news.ycombinator.com/item?id=4630082
Apply again. Google rejects a lot of good programmers on their first application. It's not a perfect process.
If it sells, it doesn't matter if its wrong. That's how the industry works.

I saw God Bless America the other day and this rant by Frank is relevant

http://www.youtube.com/watch?v=52EnTtGstKg
Given that the NYT was giving so much air time to a new company, they probably felt obligated to print a critical point of view as well in order to seem "balanced".
This has been solved with information flow security (see [1]), but the problem is that performance degrades enough that no one actually uses it.

[1]: http://cseweb.ucsd.edu/~lerner/papers/pldi09-sif.pdf
Sorry, this will happen 00.0001% of the time. Orders of magnitude less than dozens of other more pressing problems.
I think you nailed it in your last sentence. Where are the articles that point out how industrial 'batch' education is no longer serving kids of the present (the future)?
ADHD as a binary diagnosis seems odd to me. It seems within a normal range of spectrum that we're all on. Modern schooling and white collar work are so radically different from the environment where we evolved that it's surprising how well we've adapted.

Clearly ADHD medications work, which is wonderful. But why do we need to label people with a "disorder" in order to give them the meds?

Why is psychiatry so dead set on binary yes/no diagnoses, and labeling everything as a disorder? Is that the consequence of having to code records for insurance? Something related to prescription laws? Or is it an underlying mistake in psychiatry to think there is one right way to be, and other states are wrong?
Swap values without a temporary
This is why neo-liberalism and social democracy do not work. You can reform capitalism all you like, right up until the upper class decides they'd quite like to go back to being many times richer than the working class.
This isn't a "but". A good debate is characterized by mutual respect. Otherwise, points go unadvanced beyond their initial assertion, because they aren't properly challenged. There is an important reason that the most commonly called-out fallacy is the argumentum ad hominem; its usage undermines the debate itself. It also happens to be the internet's favorite tactic, and it's a huge part of why the internet is not good at getting things done.

Honestly, the Internet and the world at large is missing out on many, many possibilities for "intellectual sparring" because they've made it extremely debate-hostile in the name of having fun and "can't you take a joke". People would rather cram things down by force or not at all, because if they open the floor to conversation, their ideas will be lost in the haze of personal accusation. I wasn't able to find a list, but there are a lot of women bloggers who have signed off for good because harassment created a cost in time and energy that outweighed the benefit of contributing to the public debate.

Be honest with yourself. Recognize that what you really enjoy is the gamesmanship of one-line zingers. Don't call it a debate until you can tell me what the Ps and Qs are.
UK: Workers can swap rights for shares
thanks mate :) been a lot of work to get here and its only the start!
Agreed. This sounds like unstructured hippy nonsense where we know that real hierarchies will exist and the loudest will reign, whether that's for the best or not. Life isn't a cosy co-op and neither is business. Unless it's a co-op, and they're not cosy.
Meh. This is one of those things that people have been railing about for decades, and I think as "language issues" go, it's pretty minor.

It's one of those things that quickly simply ceases to be a real issue once you're past the "my first program" stage. Humans are flexible, they don't really have a huge problem adapting to disparate usages in disparate situations (mathematics vs. programming).

IOW, it's bikeshedding. Yeah, even Wirth can bikeshed.

[Note that I actually prefer Pascal-style ":=" for assignment and "=" for equality; I just think it's nicer (Wirth gave some examples as to why). However, it's clear that the C-style syntax has the momentum these days, and it just doesn't seem to be much of a problem.]
Musical scales are exponential as well. (octaves are frequency doublings) There's also this experimental evidence about sensing loudness, weight, vibration, lightness, saltiness, thickness and several dozen other things. From: http://en.wikipedia.org/wiki/Stevens%27_power_law
...

The general form of the law is

ψ(I) = kI^a

where I is the magnitude of the physical stimulus, ψ(I) is the psychophysical function relating to the subjective magnitude of the sensation evoked by the stimulus, a is an exponent that depends on the type of stimulation and k is a proportionality constant that depends on the type of stimulation and the units used.
thanks a heap. if you're after an invite just let us know
I think he missed mentioning the new lambda syntax. Hope it's still in ES6.

Also, my pet peeve: there is no language that needs await/defer as much as JS.

EDIT: Maybe it could be done with macros, which is on its way.
You have overstated how bad JS is in practice. Libraries easily fill in the gaps of the language- Async and Underscore for example. Nodejs is easily the best evented framework for many work cases and that is why it is used.
Indeed, I find a lot of people self diagnosing themselves as ADHD because they find it difficult to sit still and stare at a screen for 10 hours at a time.
"this is also separate from the question of whether a school system designed around the time of the industrial revolution is still appropriate today"
Agreed! Non-single parent (and the not so poor) family's can compensate with attention, added education and more possibilities to explore and learn.
Three-Quarters of U.S. Population Shares Just Three Percent of U.S. Land Area
This is more or less how I find my way around in the morning. The only major difference is that I generally use coffee-spills and biscuits as location markers, instead of slime.
Hi there,

I read your IAmA where you had a reply to a message, now deleted, in which you must have been asked about aerial circumnavigation. You mentioned that you'd use a solar balloon, and that you merely would have to have a strategy for darkness.

I've spent a fair amount of time thinking about this, and it may interest you to know that:

Water vapor has both a lower molar density than air
The phase transition of water vapor gives more than enough energy to heat up more than the equivalent volume of air to displace the reduced volume of water vapor turning to liquid.

So, a possible strategy for darkness is to have a two bladdered balloon, one with water vapor + air, one with just air. Then, when the water vapor condenses, transfer the heat to air sourced from outside the balloon via a counterflow heat exchanger. Put that warmed air in the air bladder. You won't stay at precisely the same height, but you will retain volume and you can stay buoyant.

Many things work well when your thermal energy storage is positively buoyant.

Regards,

Come visit the next time you're free around Berkeley or Oakland.
Dangerous Intersection: a brief intro to catastrophe theory
Safari disallows keyboard input in fullscreen mode.
If businesses were like modern applications (UI/UX)
Here's a more detailed write-up on some of the ES6 features mentioned in the slides -

https://brendaneich.com/2012/10/harmony-of-dreams-come-true/
I suppose its possible, but the most likely case is just an unhandled exception. JSON does not support string literal notation for values which means in practice any function you replace won't be callable. I suppose someone more clever than I or more likely better motivated could combine this attack with another to do some harm.

Having said that, use underscore for the safe references.
Classic shader problem in a 3D rendering app - when the flat surface meets a curved edge you get a crease along the line. This is because most shadow calculations are done on a per-face basis.

In real life, getting such a fine crease is really difficult. In a 3D render? All but certain.
Landing an internship in SF bay with 1 year of CS?
I am a freshman at a private liberal arts university in the midwest. My school has a good reputation, but not for computer science. On top of that, I am in a horrible location to find good internships in the tech industry. My goal is to move to the SF Bay area, find a good internship, and continue my education out there. I have been learning programming since the start of my senior year in high school, so I have more experience than many first year CS students. I also have done some web development with django and jQuery. I feel I have Python down pretty well for my level (I know it much better than Java-which all of my CS classes are taught in here). I also know HTML and CSS fairly well, and have put together some basic sites using this and javascript which I am still learning. I have been exposed to some web services, and have one website using Amazon's EC2 and S3.

So this is basically the technical experience I have, I feel I have a decent foundation but I know I am lacking depth. Part of this problem is my location, my university doesn't have many opportunities to get out in the community and work on projects. There is no motivation to start projects/businesses/etc. It definitely has a focus on problem solving rather than building things, and THEN solving the problems we encounter. This is why I want to change locations. I really want to get in to the start up scene, and I would love to be a part of a tech driven community. Right now I am focusing on adding some depth to my skills by working on some more Python/django projects. What is the market like in the Bay area for someone with skills like me, could I get an internship, would I be able to get a paid internship that could turn in to a job? What other tips do you have for me in this situation? Thanks in advance!
Clickable:

- ShitHub http://news.ycombinator.com/item?id=4622805

- CodeCrap http://news.ycombinator.com/item?id=4622630
I agree that Firefox's certificate warning page is much better designed. I'm not blaming 'dumb' users for anything, I was providing supporting evidence of the fact that when browsers make warnings easy to bypass, users will simply click right through them.
Instead of writing code around the problem, its better to just use a safe reference (ie, use Underscore's has method which will call Object.prototype.hasOwnProperty). This way code stays both simple and safe.
why do we need to label people with a "disorder" in order to give them the meds?

My understanding is that it is pretty straightforward; most meds (particularly psychological meds) have potential for abuse and are generally destructive for people who don't really need them.

It might be cool if we could identify exactly how ADHD every person on the planet is, and prescribe precisely the right amount of Adderall, but this has 3 problems:

- We have no way of identifying this!

- Prescriptions are in units of pills, not nanograms of active substance

- What is the ideal level of focused vs. unfocused, anyway?
You seem to place a lot of weight on hitting the HN homepage. What is your expectation for would have happened had you jumped to the top slot and stayed there for several hours?

Would you have signed thousands of new paying users? Ignited a media firestorm and suddenly found yourselves on the cover of Inc magazine? Would you be rolling in millions today?

Or would you have had 10,000 visits to your homepage, a small handful of signups, a few dozen comments on the HN thread (half snarkilly dismissing it, the other half arguing about some completely separate issue that the first person to comment happened to mention in passing), and a traffic spike for a day or so followed by a return to your normal levels.

Having occupied that top slot a few times, I'm sorry to inform you that it looks a lot more like the latter case. You still need to build and grow your business from square one, and a year later you'd have been exactly where you are today. A few Techcrunchings and HackerNewsings really aren't going to make a difference in the outcome of your thing.

The real difference is made by the things you did on the other 364 days between then and now. Here's hoping you executed well.
I don't have a Windows machine or VM, but it looks like full-screen mode on Linux is the same as presentation mode on OS X: the UI is completely hidden unless you move the mouse to the top of the screen. In addition to presentation mode, Chrome for OS X has a separate full-screen mode that always shows the tabs and buttons.
From what I understand a good chunk of Nathan's early sales were from an email list launch.
SW and HW for digital imaging had/have to deal with this quite a bit.
Capital is what remains after tax.

During the life of the company the structure paid social and income tax. Strongly taxing what remains (wealth) is not only unfair (What, how did you manage to produce wealth? Let's tax it!) but results in, in fact, a double tax.
What attention is being paid to the potential long term effect of these stimulants on the serotonergic & dopaminergic systems of these young people's brains? Prescribing such powerful neurotoxins to young people who's brains are still very much in a developmental stage seems risky to say the least.
Agreed. A lot of the time, early exits just make sense. Instead of holding a variable called "succeeded" and doing a bunch of if elses, why not just continue on every failure? You're only testing for half a dozen side-cases and just exit out early when you encounter any one. No need to wrap all of your actual work in 5 levels of if elses.
Aw gee, you want a real hash in JavaScript, how hard can it be? Here's a quick and dirty one I whipped up in five minutes. It worked the first time with only one bug - I forgot to remove the prefix in the forEach method at first.

function Hash() {
this.hash = {};
}

Hash.prefix = '#hash#prefix#_';

Hash.prototype.get = function( key ) {
return this.hash[ Hash.prefix + key ];
};

Hash.prototype.set = function( key, value ) {
return this.hash[ Hash.prefix + key ] = value;
};

Hash.prototype.del = function( key ) {
delete this.hash[ Hash.prefix + key ];
};

Hash.prototype.forEach = function( callback ) {
for( var key in this.hash ) {
if( key.indexOf(Hash.prefix) == 0 ) {
callback.call( this, this.hash[key], key.slice(Hash.prefix.length) );
}
}
};

// Q&D test

// Let's try to break things by extending Object.prototype!
Object.prototype.spindizzy = true;

var hash = new Hash;
console.log( hash.get( 'a' ), hash.get( 'b' ) );
hash.set( 'a', 'AA' );
console.log( hash.get( 'a' ), hash.get( 'b' ) );
hash.set( 'b', 'BB' );
hash.forEach( function( value, key ) {
console.log( key, value );
});
hash.del( 'a' );
console.log( hash.get( 'a' ), hash.get( 'b' ) );
hash.del( 'b' );
console.log( hash.get( 'a' ), hash.get( 'b' ) );

I'm sure I missed something, but this doesn't seem like rocket science.

Of course, you do lose the syntactic sugar of [] dereferencing so it looks like part of the language, but life is full of tradeoffs! :-)

And I suppose there is still a way to break it, if you extend Object.prototype with something that happens to match Hash.prefix. I guess you could use hasOwnPrototype to prevent this. Ah well, maybe I do have a bug after all, but at least it's a good start.
Just checked what the attitude on Adderall is here in Japan. From ministry of health site (http://kouseikyoku.mhlw.go.jp/kantoshinetsu/gyomu/bu_ka/shid...):

"Nobody can bring any medicine containing Methamphetamine or Amphetamine (Adderall and so on) into Japan. If you are found with any medicine containing Methamphetamine or Amphetamine illegally in Japan, you can be arrested as a criminal on the spot, immediately, without a warrant in principle."