skysight-inc/HackerNews huggingface dataset:
Huh? Seems like the primary way to win in that game
From your link: "The term has been historically applied in particular to the descendants of the West and Central Africans who were enslaved and shipped to the Americas by way of the Atlantic slave trade"

Meanwhile:
"103,077 African-born people were resident in Sweden as of 2009."
(http://en.wikipedia.org/wiki/African_immigrants_to_Sweden)
which means that more than 1 % of residents were actually _born_ in Africa, while your link refers to residents that are descendants, sometimes since many generations.
One API Discovery Definition to Rule Them All
> still it suggests bad things

Well, yeah. Human beings are not equipped to operate motor vehicles safely, and there is a mountain of evidence to support that fact. It doesn't have anything to do with parenting, though.
Fair use: commentary and criticism.
God, I hate this crap. Edge cases != useful knowledge
You've missed her point entirely. She's not saying that only "objective" models should be used; she's saying that there's an irreducible subjectivity in the choice of model, and that this needs not to be forgotten. She's not saying that measurements should not be taken; she's saying that we need to discuss what to measure, and make sure that what we're measuring is what we actually want to see improved. Her point is not nihilist in the slightest.
I think it's not quite literally true, but if you wanted to evaluate parenting strategies and were not a parent, you would have to put a lot of effort into observing parents (as opposed to just thinking about it a lot).
It is the theme of this week's special report. 14 pages on this theme in the middle section, to rip out and save if you would like.
"Europe is full of hate and hatred - no wonder why guns are outlawed. It keeps some balance"

I dunno, you've lived in a smallish city in France (a country known for not being particularly welcoming of foreign folks) and you're generalising your experience to a fucking huge continent. Frankly it sounds like something else has pissed you off and I'd be really interested to know what.

Personally I live in the Czech Republic, itself seen as being rather insular and apprensive about outsiders particularly in the less-visited regions (I live in Brno, a few hours from Prague). Hate and Hatred are in short supply here, curiousity and unfamiliarity yes but not hatred. Although I'm Scottish, in my local (completely non-English speaking, outside the centre) pub I'm fondly received and often a subject of interest, particularly with my Indian girlfriend. I reckon you should reconsider whether or not your experience is a weird anomaly or post something slightly more critical of a particular area rather than an entire continent.
I think people use currying with arithmetic examples because currying gives you general partial application if your function is commutative, and almost the only commutative functions in real programs are arithmetic and some comparison functions.

It's kind of weird because the more arguments your function has, the more useful partial application is, and the less likely the curried form is going to work without reordering.
Of course... I think many would say that your savings in resources came at the expense of readability. Basically, I think this falls dangerously close to Duff's device in the argument space of currying.
This will be great for building our stats dashboard. Thanks!
I noticed I did something similar for parentheses - I move my entire hand right so that my pinky rests on right-shift and then I press 9 or 0 with my middle finger. I should of course instead by pressing shift with my left hand's little finger, but I often find that pressing shift with one hand for one half of the keyboard and with the other hand for the other half is a little bit awkward for me... Maybe I'll get a kinesis contoured with foot pedal for shift some day :D
More of than once a quarter, for special reports. But if I should abstain for all technology reporting for a quarter, the "Technology Quarterly" of the Economist is the one I would not like to miss.
The thing about Math.PI can be confusing. It allows you to preincrement it, but it actually doesn't change the value:

(function(){console.log(++Math.PI); console.log(Math.PI)})()

logs 4.14... and then 3.14.

Of course no one sane should write a code like this.
Or just hope the other person runs into themself..
It's quite addicting, but it doesn't seem to be stable. I often just stop moving and have to refresh the browser and some enemies snake right into the wall without moving.
We tried to make it like a code editor that only has auto indentation. Thanks for your suggestions, we'll look into how we could improve this.
Leaving the Safety of a Regular Job
Permalinks for lessons sounds good. Thanks!
you're not saying it's right, but you accept it.

so aren't you part of the problem? corruption shouldn't be the norm. justice should be blind, not vengeful.
My current favorite questions involve asking people what their favorite Javascript library is, then asking detailed questions about how it works. Even pulling up common functions from the library and ask what is going on.

Better questions involve things like variable scoping, modules, arguments, event bubbling, prototypes, etc.

Now, where I get stuck: Regular Expressions. I just don't think I will ever get comfortable with that.
I really enjoyed playing this while it works but maybe 33% of the time the game just freezes on me and I have to refresh to get it to start working again. I have a strong internet connection so I don't think that's the problem.
Successive positions of a thrown ball?
It kind of makes sense. It makes the timing more accurate by preventing late starts caused by different people starting typing at different times.
Google-flavored Bootstrap theme
If your power company does that, you should definitely get an ASIC miner and mine at night, since power is the dominant cost.
What do you think about My MVP : http://domainexchanger.net/
By the way, Thank You :)
But of course, it's easier to mod you down than to address even a single point you raised ^^
I'm assuming it's something along the lines of "How much value your bring to the country."

Edit: I should also note that this is not what I think - But what that exception is probably alluding to.
A vi editor mode would be sweet!
> In my experience, the people who talk about America being the most violent, the most corrupt, etc. are the ones who also like to decry 'American exceptionalism'.

That's my point, yeah? "We're so stuck up" is just as ignorantly self-centered as "We're so industrious" or whatever else Americans say about ourselves. We're mostly just normal.
I look at that command line and feel amazed at what you can do with a command prompt. These are the two things that strike me as incredible:

* You didn't write a single line of code (well technically you did write one), nor researched about sound APIs or any kind of sound analysis algorithms or theory.

* You used several tools that just seamlessly shared their inputs and outputs and each one worked as supposed.

Granted, you need to know some bash and figure out how every utility works and the right command line switches to use, but still, pretty impressive.
A practical man-in-the-middle attack on pip
Show HN : domainexchanger.net - Exchange unused Domains
I've been messing around with FreeBSD for a few days and it has RubyGems set up very conveniently. Root installed packages (like the ones from ports) would already be attended through the root installed RubyGem.

Aside from OpenBSD which has their security procedures for installed software it doesn't seem like any ports distro really need to have copies of gems in their package tree if the RubyGems package is set up correctly. They could delegate that function to RubyGems, it'd be transparent to the user.

Some package managers go down a more drastic route and simply tell the user to install the dependency through the correct package manager (Homebrew does that with Node, top of my mind). Users can still do it locally with rbenv/rvm/chruby if they want, it doesn't change much.

The bigger I'd think is that they don't want to rely on external package managers for the stability of their system. Which is a very valid reason, if RubyGems is out you can't install certain ports. Or worse, the gems aren't safe. The system is then self-contained and tested, proven to work with the provided copies of gems.

But as a simple dependency resolution perspective I don't see it being the case.
4 and 5 year olds make lots of noise. When they are not making noise and being extremely quiet, they are doing something they shouldn't. Why would you want to screw up this parenting warning mechanism?
It's Sad to See Your Startup Turn Into a Business
Yeah, only QWERTY is implemented as yet. Do you mean that the highlight color of the key is not noticeable?
Not only that, but the sheer size and wealth of the US means there are some corrupting forces at work that are also much larger. After all, you still only have to wave money in front of a small number of people, but a country with larger, wealthier forces can wave a lot more of it... and the inequality is likely to get worse as a result as well, which makes good government even more challenging.
Most fare classes that carry the cheapest fares require a minimum 14- or 21-day pre-purchase window. This kind of thinking is probably a legacy of many people calling travel agents--or the airline--and hearing those rules over a long period of time. The rules still exist but demand and technology are such that they're not all that important any more because the tickets will be sold or reclassified several times prior to the flight.
Yes, but that doesn't mean this is what it should be. In fact, most other secret services are not like that.
I wouldn't completely agree with this. There's a time trade off - If someone can learn more efficiently by doing things on their own vs. attending a university - It could be a loss. Of course this varies for each person.
Still very much the wrong approach. I can see why you had the demo-mode on the landing page, although I think it isn't necessary, but there's really no reason to have it all once you're interacting with the site.
Since it's all just anecdotal anyway, I also like to think back to teachers and other adults. As a general rule, those who treated me "as an equal" (not an actual equal, but without condescension or trickery that wasn't for the purpose of humour or pain/fright relief), I loved to learn from, did never mind to be corrected by. The rest? I found holes in their facade and had at them. Nature abhors a vacuum, and strong children abhor fake authority. Weak parents think disrespect is the problem, when often enough it's their own weakness. Children aren't "programmed" by nature to be a pain in the ass, far from it. They are "programmed" to learn, to be curious, and to love even. It actually takes quite a bit of fuckery to destroy that, but our society is good at it. And then those kids become parents and perpetuate it.
Agreed. It seems like the lesson is "don't write ambiguous JS, because it will bite you" - I'm not sure you have to know the nature of every bite in order to be a JS expert, because a JS expert should generally be writing very predictable code!
Bookmarklet to unsubscribe from Meetup emails
Hey Hacker News,

I got tired of receiving spam from meetup.com group members and groups. This has probably been done before, but here's a simple bookmarklet I just wrote to unsubscribe from a specific meetup if you are on their email settings page:

javascript:$('.D_form').find('input[type=checkbox]').attr('checked', false); $('#rsvpConf').attr('checked', true); $('input[type=radio]').each(function(i) { if (i % 3 === 2) $(this).prop('checked', true); }); $('input.D_submit[type=submit]').trigger('click');

Formatted code:

$('.D_form').find('input[type=checkbox]').attr('checked', false);
$('#rsvpConf').attr('checked', true);
$('input[type=radio]').each(function(i) {
if (i % 3 === 2) $(this).prop('checked', true);
});
$('input.D_submit[type=submit]').trigger('click');

What would be better is if it navigated to each meetup itself, but I hope it's still useful.
Any proof of work with bitcoin transactions as the input will suffice. Generating similar hashes of, say, public astronomical data, wouldn't do the job at all.
Right, something like "and you're not a parent [or a scientist studying child rearing]"
non-us keyboard layouts missing, since that, no way to use a semicolon after "l" is that way in my kb.
It describes the relationship between the X and Y coordinates of the blue circles found at http://bost.ocks.org/mike/d3/workshop/dot-chart.html.

Also, it looks like a ballistic trajectory.

The ballistic trajectory computed by ENIAC in it's first demonstration took (i think) about 15 seconds to compute. Perhaps this is a set of snapshots of what position the computer was thinking about, over time?
If you would read the articles you would see that they emphasize the change in policy in the last 20 years. That is the main thing I think you should take away from them - it is clear to me when the following outside discourse that the view of politics in Sweden is coloured by how it worked 40-20 years ago. It works radically different now, and the change started somewhere between 1990 and 1994 - coinciding with first a tax reform, then 3 year conservative-liberal government and a banking crisis. I don't mean that one caused the other, but these reforms together put Sweden on a path that obviously is not that well known abroad.
Just make it start counting at the first matching keypress. Problem solved.
I have a daily commute time of 1h each direction but I travel by train. I've been doing this for 2 years now and intent to keep it this way because I find it a lot easier to focus on reading than when I am at home. When I don't feel like reading I listen to podcasts or reflect my work.
That looks rathe cool! Do you know by chance what it takes to get something like this running on a Mac?
Without write offs you pay more taxes as a contractor in the US (you are liable in full for payroll taxes instead of the half that full time employees share with the employer). Any possible advantages might come from writing off your work-related expenses but, frankly, this is not much for a programmer if you are honest and/or uncomfortable with possible audits (e.g. if you feel you are not able to prove to IRS you only needed your car for programming).

Paid vacation and holidays is a significant part of compensation that contractors don't get.

Also, if you don't have insurance from your spouse you will need to buy it yourself at much higher rate. Even if your spouse is covering you there is a value in backup insurance when one of you loses their job.

The salary/1000 estimate is accounting for the above and not for the possible lack of work. If you don't expect to work 2000 hours per year on contract you should charge even higher rate.
Aha, finally a place to show off my curry gem for Ruby!
https://github.com/egonSchiele/Curry

Note: this was written purely for fun, don't use it in a real project!
Without a point system the one thing I've found is that the multiplayer makes it a disadvantage to play the normal game. The bigger you are the harder it is, you win when the other player crashes. Just a thought.
That must be it. The money is in keeping a significant portion of what they make for themselves, and using the sales to fund production of even more equipment, for themselves.

Then, eventually, these things will be worth very little but the money will be made.

I would imagine this will drive BTC prices pretty far downward. A few guys with a couple hundreds BTC mining ASICs can monopolize the vast majority of BTC being mined. And given the current price, they might want out soon.
The Twitter API exposes a user's ID. Some Twitter clients (like Tweetbot) show this information. You can use http://mytwitterid.com/ to find yours.
(I'm a self-taught touch-typist typing at 100 WPM+... Not anywhere near a world record but not too slow either)

Not bad but I do prefer typeracer. Now this one seems to be better done than typeracer: I like the fact that you can see the keys (that said it should take into account ANSI / ISO physical layouts and at least QWERTY / AZERTY and maybe DVORAK logical layouts).

Note that touch-typing is probably going to be faster than non touch-typing, so I'm advocating learning to touch-type (even if you're an old fart who never did and thinks he cannot switch anymore -- not true, I've done it after more than ten years and I don't regret it).

For a start lessons where you endlessly input "asdf" aren't that great. It's still an open discussion if this type of training as any value (included for musicians / pianists, even the ones who think it has value because they've brainwashed by doing it endlessly repeatedly -- Jimi Hendrix didn't ; )

Basically: what is the point in writing "asdf fdas sdaf fads" etc.? Are you going to write that in the Real-World [TM]? No. So why even spend time training doing it instead of doing the real thing?

It's like when Agassi changed and got a new trainer and told him that his old trainer would have him run for miles and miles and miles and his new trainer told him something like: "That's over. What you do during a match is start to run very fast then stop immediately, then run in the other direction. That's what you're going to be training to do now.".

These are two different conceptions of training. To me the first one doesn't make much sense but YMMV.

Then the other issue is that, as has been pointed out, nobody is coding like that anymore: editors do close matching parenthesis, brackets, etc. and you enter "fi" and then hit <TAB> and the skeleton of a "for (int i = 0; i < ...; i++) {" appears, you start to type the first three letters of any method, function, variable and use some expand functionality to get the auto-completion, etc.

The way I did taught myself to touch-type is simple: read about the very basics of touch-typing (or ask any secretary to teach you: it basically takes two minutes -- that's what I did), buy an "otaku" keyboard or set of keycaps (a keyboard on which the keys are "blank"), put your index fingers respectively on 'f' and 'j' and start... working!

To me doing what you're actually going to do, just like Agassi's trainer would advice, is the best way to learn.

Not some "technique" or "method" that people still don't know if it makes any sense or not.

Think outside the box.
Another side effect is that sometimes I accidentally skip sentences that start with s because i invariably forget to press enter before starting.
No, you have it in the page just fine. It is only when it is in an NSTextField that it becomes an issue.
"Not allowed to load local resource: file:///"
Twitter also hacked this week, up to 250,000 accounts may have been compromised
That's the thing - this is not a traditional market but it is possible to 'crash' the difficulty. If enough of these things show up globally they can make mining so difficult for everyone else that they will have to give up.

This is a very unhealthy thing for the BTC market in general as only a few players will have the ASICs to mine profitably, and everyone else will be spending far too much per kW to do any mining at all.

One of the weaknesses of BTC, as far as I understand, is that anyone with a majority of the global hashing power can rewrite new transactions on the blockchain. If regular GPU miners give up and a few players spin up some massive ASICs, we may very well see this become a reality.
This is the advantage of living at the command prompt. If you're mostly working through GUI (or CUI) interfaces that hide those details it can be somewhat convenient in the short run but you trap yourself: the effort needed when you want to do something complex that requires that knowledge is now suddenly much greater, because first you need to learn how to talk to each of the components of that pipeline before fitting them all together. I'll still need to check a man-page or two for less familiar functionality or a less familiar utility, but that's much better than checking five (the number of commands in the above pipeline that are passed at least one switch) and that's assuming you know which commands you'll want to be using in the first place.
Awesome! For some reason when I want to turn around very quick (Left/Right + Down or Left/Right + Up depending which way I'm going) I just "Die". I wouldn't run into myself in that case, so not sure what's going on. Apart from that, very cool!
Super Bowl Hub - The best (only?) second-screen experience for the Super Bowl
here's the announcement email (very boiled down version of the readme, essentially):

babbage is a library for easily gathering data and computing summary measures in a declarative way.

The summary measure functionality allows you to compute multiple
measures over arbitrary partitions of your input data simultaneously
and in a single pass. You just say what you want to compute:

> (def my-fields {:y (stats :y count)
:x (stats :x count)
:both (stats #(+ (or (:x %) 0) (or (:y %) 0)) count sum mean)})

and the sets that are of interest:

> (def my-sets (-> (sets {:has-y #(contains? % :y})
(complement :has-y))) ;; could also take intersections, unions

And then run it with some data:

> (calculate my-sets my-fields [{:x 1 :y 2} {:x 10} {:x 4 :y 3} {:x 5}])
{:not-has-y
{:y {:count 0}, :x {:count 2}, :both {:mean 7.5, :sum 15, :count 2}},
:has-y
{:y {:count 2}, :x {:count 2}, :both {:mean 5.0, :sum 10, :count 2}},
:all
{:y {:count 2}, :x {:count 4}, :both {:mean 6.25, :sum 25, :count 4}}}

The functions :x, :y, and #(+ (or (:x %) 0) (or (:y %) 0)) defined in
the fields map are called once per input element no matter how many
sets the element contributes to. The function #(contains? % y) is also
called once per input element, no matter how many unions,
intersections, complements, etc. the set :has-y contributes to.

A variety of measure functions, and structured means of combining
them, are supplied; it's also easy to define additional measures.

babbage also supplies a method for running computations structured as
dependency graphs; this can make gathering the initial data for
summarizing simpler to express. To give an example that's probably
familiar from another context:

> (defgraphfn sum [xs]
(apply + xs))
> (defgraphfn sum-squared [xs]
(sum (map #(* % %) xs)))
> (defgraphfn count-input :count [xs]
(count xs))
> (defgraphfn mean [count sum]
(double (/ sum count)))
> (defgraphfn mean2 [count sum-squared]
(double (/ sum-squared count)))
> (defgraphfn variance [mean mean2]
(- mean2 (* mean mean)))
> (run-graph {:xs [1 2 3 4]} sum variance sum-squared count-input mean mean2)
{:sum 10
:count 4
:sum-squared 30
:mean 2.5
:variance 1.25
:mean2 7.5
:xs [1 2 3 4]}

Options are provided for parallel, sequential, and lazy computation of
the elements of the result map, and for resolving the dependency graph
in advance of running the computation for a given input, either at
runtime or at compile time.
Cultural homogeneity is determined by many other factors than the birthplace of the constituents of the culture's populace.

Why do I even have to point this out?
sox and arecord, or equivalents, it looks like...
H&M as a huge, multinational success-story is not that old. It was listed in 1974, and the first store outside of Scandinavia opened in 1976. It is older than Apple, but I say it is a different generation than the other companies in your list.
How have I gone so long without knowing this? It's great to have an easy way to see the original content.
The plea bargain was made legal in 1970[1] by the Supreme Court, is there any way to overturn it? What kind of implications would this have? Did the judges then have the foresight to realize that over 90%[2] of federal court cases would be concluded with plea bargains?

[1] http://en.wikipedia.org/wiki/Brady_v._United_States

[2] http://en.wikipedia.org/wiki/Plea_bargaining_in_the_United_S...