skysight-inc/HackerNews huggingface dataset:
Hey thanks! Contrary to popular belief, x86_64 assembler isn't really that bad to deal with. An eagle-eye perspective is simply that regardless of how good optimising compilers get, they can never really know my intent. My zlib implementation for example is consistently 25% faster than the reference version, despite me simply "hand compiling" it straight from the C source. There are lots of contributing factors that all add up to the end result as seen in the benchmarks.

The short answer is: there is no single reason, it is the culmination of all of the underlying bits of the library that made it what it is.

I added code profiling to rwasa so that you can run load tests against it and watch call graphs and individual function timings, which makes for interesting inspection of the library itself for specific "tricks" that were employed. (the library's page contains rwasa-specific profiling examples: https://2ton.com.au/HeavyThing/ )
I'm a second year student in the OMSCS program. So far it has been an excellent experience. I graduated in 2002 with a degree in Computer Information Systems (basic programming). I feel that this particular program has begun to plug the holes in my previous education. I've never been this excited about learning in an academic setting, online or otherwise.

The first graduates of the program will receive their degree at the Fall 2015 semester; so it has yet to be seen how the degree will be perceived by the general academic community.

If you have questions, there is a very active unofficial community on Google+

https://plus.google.com/u/0/communities/10890255460754763472...
Nonsense. Nobody carried their cards like that. I worked for eight years in card shops, no one ever dropped the cards. You used trays with locking tabs.

Our master file was 40,000 cards, held in twenty heavy trays. We ran the file through twice a day, five days a week. Never dropped the cards.

They did jam, though.
I used to have this same problem with cookies way back in the day.

If you had a number of windows that all needed to communciate with the streaming server, and share a session, and you closed the master, one of the others would have to take over the connection. We used cookies in a similar way to local storage is used in this story. Ugly ugly code.

These days of course, I'd want to use service workers.
> Why? Most basically, because humans are only just on the cusp of general intelligence.

I agree. General intelligence, to me, is defined as the ability to create a greater intelligence. An ability that's hypothesized for humans, but yet unproven. Therefore, on the cusp of general intelligence.
If you like blog posts like these, check out the book Rationality: From AI to zombies. Basically a compilation of these posts.
Surely it's CAT6 :-)
When Casadevall (and others) argue for more ethics and epistemology in the first year of a PhD program, they should be transparent that they would take away time and attention for much of the material currently taught in the first year of PhD programs.

I'm not arguing that it's not a worthwhile tradeoff. I just wish we were more transparent about these tradeoffs when discussing what we add to a curriculum.
If you are being attacked by three people, you probably shouldn't start by throwing a knife at one of them. You will probably then have two people, one of them armed with your knife.
> Are there governments with garbage collection and simplification of laws built into the legislative process?

I've often been thinking about the same thing. I think that most laws should have an expiration date, especially those that were enacted during "emergency" periods (e.g. everything legislated as a response to the Great Recession). The only reasonable exception are the core laws (e.g. the Penal Code), which should be replaced (not amended) by newer versions every so often.
"Contentious interaction" is an interesting way to say "killing by police," some of which are outright murder.
This sounds like a good use case for a Shared Worker[0].

A shared worker is a web worker which can be shared by multiple pages / windows / tabs, and can easily be used for coordination of this type. The shared worker can listen for the asynchronous event and then send a message to an appropriate tab to play the sound as necessary. Unfortunately, Shared Workers aren't supported everywhere yet[1] (only on Chrome, Firefox, and Opera), but hopefully support will come to the other browsers soon.

Regarding playing sounds on iOS, the Web Audio API is a good way to go here. While it's true that you need a user gesture to trigger sound, you only need it for the first sound you play. So you can add a button to your web app which when clicked plays a short "empty" sound (just silence), and after that point you can play whatever sound you like at whatever time you like; it no longer needs a user gesture for it to be played.

[0]: https://developer.mozilla.org/en-US/docs/Web/API/SharedWorke...

[1]: http://caniuse.com/#feat=sharedworkers
General intelligence does seem to be non-orthogonal to strategic thinking.

(The nuance is what Yudkowsky et al. tend to write about.)

second edit: "Can we actually change that en masse?" is the most interesting question.
How Foursquare Hacked Choice Confidence
Pretty nice.

Some nits:

* Pendlay rows are misspelled as 'pendelay.'

* Treadmill running prompts for reps and weight, when any two of distance/time/speed would be best.

* Right now you set up something to track a weekly workout cycle. It'd be nice if you could support A/B workouts (you can think of them as cycling every two weeks.)

Also, it'd be nice to load progressive workouts or training programs. Like a couch to 5k, I want to put in my expected distance for each run going five weeks out, I don't just want it to be static. Stronglifts is another example, I want the weight to increase each workout (but then if I fail one day I'd like to adjust).

You might benefit from building a test suite of various popular exercise routines. Different types of people generally follow, crossfit to yoga to whatever, and see how plugging each of them in goes, see if there are opportunities to do it more quickly or simply. (Like maybe people could load public templates...)

Those are just some ideas if you're wondering where to go from here. Looks like a great framework as is, best of luck!
Hope the wind doesn't blow too hard.
Personally, I never really got it why companies/forms need things like Race or Sex (or Gender) or Title. What if, in letters they sent you, they addressed you as "Dear Tom" instead of "Dear Mr. Tom"? Problem solved. Even the government only needs these for the purpose of running statistics, and for the needs of the health system (in which case, three sexes are more than sufficient, and often just two options will do - "has an uterus" and "doesn't have an uterus").
To be successful, you need to put in the work to enable yourself to take maximum advantage of getting lucky.

And luck = right product, right time, right tech, right people, and of course just luck.
What the NYT Got Wrong About Nail Salons
> was struggling to both swim and hold their child above water

Rescuing active drowning victims (this kind of drowning) is very dangerous, for that reason. The victim won't just hold you, they'll climb you. And keep climbing until their head and shoulders are out of the water. Because your combined bodies have finite buoyancy this means you go down. The victim doesn't have to be big to push you under. It is nothing to do with strength at all, and nothing to do with how strong a swimmer you are. I defy any strong swimmer to tread water for more than a couple of seconds with a 6 year old on their shoulders.

So a lifeguard without a flotation device has to approach victims very differently. Normally from behind, where they can't be climbed. Their aim is to get the victims head only just above the water. The victim is panicked, and won't like that one bit. Some of the rescues in the video aren't that great for that reason: the lifeguard doesn't keep the buoy between them and the victim, putting them one slip of the buoy away from a possible double drowning.

I've heard LGTIs tell students that in extreme cases they should wait for the victim to go passive (lose consciousness) before a rescue, if they can't approach safely. I'd never teach that, because it is unnecessarily callous and easy to misinterpret. But as a rescuer you do have to be prepared to swim down to get the victim to release you. Being safe around a drowning person is hard, and most lifeguard trainees massively overrate their swimming power in that situation. That's why there are so many multiple drownings.

> I was surprised that this person could switch from swimming to drowning so quickly.

That's a really good point. It is surprising how folks you mark as being 'okay swimmers' can change immediately something goes wrong. I think it is the power of that instinct. I don't know how many people gradually get into difficulty, then begin drowning. It's rare, I think. More common something in their brain switches from 'in control' to 'panic' and the body takes over.
A new method of meditation and self improvement using posters
People in this thread forget - Europe as a whole existed for far longer than US. USA is home for booming business, and not only IT business. Unfortunately as a consequence - "bad" people use weapons to fight for their place under the sun, that's why police here works with high violence expectations first. This soaks into mentality, because humans are built this way. That's how you get officers who ready to taze/shoot for minor traffic violation.

So solution is not remove guns, but remove "bad business". How to do that - different question. Legalization vs Extermination - yet to see which one is more efficient.
Some of us have too simple idea for a startup and others want to do everything in a single startup. Often the best idea is the simplest one. I suggest to see the instagram lifecycle : http://d152j5tfobgaot.cloudfront.net/wp-content/uploads/2012...
This reminded me of an interview with Umberto Eco: http://www.nytimes.com/2013/11/28/arts/international/umberto...

I am not a historian, but I've read a lot on history. My personal thesis is that, because of the social changes required for the transition from old economic systems (feudalism) into our current world, the old order had to be belittled.

In the old order, most people had a place in the world (the land, the guild, the church, etc.). In the new order, you worked 16 hour shifts just so you could eat and you had no guarantees. You need a big ideological blow to your head to not want to go back to the old order. Hence the medieval bashing.

Again, this is just a little thesis of mine. One day I'll find the time to read enough to give it some weight (or just disprove it).
The issues facing scientific advancement and discourse have nothing to do with a lack of "thinking big" in postgraduate education. A lot of people do think big, but there are plenty of economic barriers - some intrinsic, others artificial, that prevent whatever vague idealism the author is going for.

Nor is it the fault of scientists that voters and politicians do not understand them. More often than not, it's a refusal to understand or apathy towards doing it. In fact, politics is not inherently concerned with factual information almost at a fundamental level. If voters have no drive to autodidact, there will be no one out there to spoonfeed them information.

Quantitative skills are already part of scientific practice at its core. So is ethics, particularly over the past half century. Learning to code and debating utilitarianism will not change anything that the author is concerned about.
His prize was for research on international trade and globalization.

This is a very very narrow field, which is dwarfed by the reach of macro economics.

In short, his credibility about macro, especially in regards to the effects of debts and deficits, is questionable.
Just as Airbus was completing plans for its successful crossing of the English Channel in an electric airplane Thursday, it appears as though it got beat to the punch by French pilot Hugues Duval flying an electric powered CRI-CRI Cristaline twin. Duval completed the flight Thursday evening, even though authorities attempted to block it:

http://www.avweb.com/avwebflash/news/Did-Duwal-Beat-Airbus-A...
So if you have a free-form input, you're going to need to figure out how to analyze that data to produce the groupings that you really want.

That suggests the root of the problem. Presumably the model is based on identifying a particular feature of the world as worth measuring [e.g. gender]. But boxing gender [e.g. masculine | feminine ] is not a feature of the world and the boxing means that the model does not correspond to the world in regard to gender, even though that was the purpose of capturing gender in the model. The idea of "getting the groupings I want" means my methods are suboptimal scientifically. The objective truths are in the data not in my interpretation.
Some projects use custom allocators which detect memory leaks, so it's even less useful there.
Isn't magnitude in the Richter scale the logarithm of the energy released? So everyone knows the difference between 5 and 6 is smaller than the difference between 6 and 7?
Little Prince Baby Shower or Birthday Ideas
It compiles to JS and allows for seamless JS interop and its a highly usable language.
That is a poorly specified, unrealistic thought experiment with lots of hidden variables.

Everything hinges on who attacks first. The weapon is secondary.

Knives are extremely dangerous and more difficult for your assailant to control at close range, and it doesn't seem like you have an appreciation of that.

If you have a gun and if you decide to attack first, maybe you can shoot two or three of them, disabling them, before they can kill you. I've never been in combat, but I don't think that kind of scenario is likely to happen in the real world. Also, even fatal shots are not immediately disabling unless they're to the CNS. Slashes across the arms can readily disable someone in a way that shooting them, even in the chest, won't, unless you hit their spine or some critical nerve or muscle area.

Guns are vastly superior if you have the advantage of distance. Otherwise, not so much.
Socializing in Virtual Reality
Spider silk!? That answers that. http://birding.about.com/od/birdhouses/a/hummingbirdnests.ht...
Most of what I do with ffmpeg is change containers.

Example: ffmpeg -i doom4_trailer.mkv -acodec copy -vcodec copy doom4_trailer.mp4

Pretty simple, right?

libav:

>[mp4 @ 0xa33800] Application provided invalid, non monotonically increasing dts to muxer in stream 0: -83 >= -83

>av_interleaved_write_frame(): Invalid argument

(premature exit)
I won't take a position on this but the message you quote is a revised version that was put in place many years later after numerous user complaints about confusion.
Is there any way this be done systematically with software?
Same with me, ffmpeg worked accurately and was extensively documented. Then a day there was no more here. I tried to understand the reasons and adopt avconv despite the ego wars, and those irritant message, and the cumbersome new syntax, and the lack of tutorials in internet... but finally the problem is that avconv just did not worked, and nobody really knew what to do with it.

In the end I stopped using both programs. One was aparently unsafe and not installable without breaking things, and the other reinstall itself constantly, acts in a questionable way, and did not solve my problems. I guess that for Debian this was a false step that consumed time and resources but did more damage than good. Libav probably damaged also the image and dominant position of VLC. After several errors and troubles since them, its current luster is not the same as in the first years in my opinion.
Sometimes rants like this are biting indictments of the state of things, but sometimes they're just a bit of laziness.

The web is a constantly evolving platform. There used to be many things that were impossible to achieve on the web; that number is less now than it used to be thanks to the addition of new APIs (LocalStorage among them), but it's not yet zero. In particular, we don't yet have an API to achieve what jwz wants to do. LocalStorage was clearly not designed with this use case in mind; acting surprised when your awful hack turns out to be unreliable seems a bit disingenuous.
Maybe in your country.

In my country to be self-employed you have to register and pay "freelancer" insurance cost to the state that add up to something equivalent to $800 per month (nominally $300-$400 in our economy).
although IPC between web pages would probably bring some terrible security concerns

Given that CORS and cross-document messaging have largely made the same-origin policy a mere formality, it wouldn't be unsurprising for this to be next.

The gist is a lot of people want to treat the browser like a universal operating system, and by definite it will be mangled into one by any means necessary.
Hey, there more systems available for the users the better! :D

Thanks for the kind words about Firefox OS. As soon as I get a hardware compatible with Plasma Phone, I am taking it for a spin :-D
I don't. I didn't know this feature existed, so I implemented my own shared pointer type with this capability in order to share sub-objects without having to define certain types with refcounts on all the sub-objects. Actually, the reason was, I didn't even have the capability to define refcounts on the sub-objects, because it was for some protocol buffers value.

Obviously, you would only want to use this feature when you have a reason to want to use it.

std::shared_ptr has no problems with confusion about who owns what, unless you start making cycles. Ownership is shared.
Killings by police, though, are killings ostensibly on our behalf. The blood is on our hands.
That's kind of scary as it's exactly what I did. Same course, same country, same time :)

I'd agree with the embedded side though. The business side is a shit sandwich I really wish I hadn't got into.
His point is that these are pretty much Operating System 101 features that the browser doesn't supply since its intended purposes were quite orthogonal, though it has since painfully evolved into ostensibly usurping the host OS.
BernRate
Java 9 will introduce the G1 GC as default. How do the emulation of continuations behave regarding this GC? Is is possible to obtain truly pauseless behavior with Quaser and G1?
“A Three-Step Program for Recovering Hackers” [pdf]
Show HN: Map, Reduce and Filter in Go
Virginia is a special puzzle.

For Violent Crime in 2011, it ranked 46th of the 50 states. Property Crime was 43rd.

The Federal & State Incarceration Rate was 13th, and general funds spending on corrections (2008), it was ranked 11th highest.

Sometimes Europeans are alarmed by the high US incarceration rates, with our 700-800 per 100,000 over twice most other countries. If you want your eyes to just pop out of your head though look at the state by state numbers. (The US is a big place, and all social trends are not perfectly distributed.) Louisiana incarcerates over 1400 of its 100,000, four to fourteen times most other countries. The one thing you can say for Louisiana, though, is that it also has over double the national murder rate. So maybe it has other endemic problems that are running both numbers up simultaneously.

Virginia's up there in incarceration with 900-1000 per 100k, but it doesn't have the violent crime stats that could even attempt to excuse it. It has below average homicide and violent crime rates.

It's a high incarceration state for no damn reason.

Some resources:

http://www.justicepolicy.org/uploads/justicepolicy/documents...

http://www.deathpenaltyinfo.org/murder-rates-nationally-and-...

https://en.wikipedia.org/wiki/Crime_in_Louisiana

http://www.vsp.state.va.us/Crime_in_Virginia.shtm
The GMO argument like so many things now seems to be divided into "Best thing since sliced bread" or "Bringer of the end of the world" camps. Not understanding the deep details I would like to see more nuanced debate. What are the actual and potential risk, and what are the actual and potential benefits.

On the risk side, GMO proponents like to argue that the technology is safe because we haven't found any ill effects. But what they are really saying is that we haven't found any so far. I remember studying genetics and being told about junk DNA, even Francis Crick, co-discoverer of DNA’s double-helical structure, suspected it was “little better than junk.” Since then this opinion has changed. We find out new things about DNA all the time, it is now thought that previous generations experiences can change decedents. Reading the recent articles about Chinese scientists using CRISPR to modifying embryos they started with 86, 71 survived, and 28 were successfully spliced, not really a precise operation. With this in mind I find anyone who says there is no risk is not being intellectually honest. The question that comes up is what are the chances that we are Marie Curie working with something that ultimately harms us?

In terms of assessing benefits I like to take the example of X-ray technology. From the 1920s to the 1970s a machine known as a shoe-fitting fluoroscope was used to see if shoes fit feet (especially children's feet). With the growing understanding of the harmful effects of radiation these machines were phased out, although never banned. That doesn't mean we don't x-ray people, we do, if you break a bone or go to the dentist the benefit of diagnosing the injury or cavity is considered to outweigh the damage from the radiation. For people in Western nations with plentiful food supplies the macro scale benefits of GMO seem limited, we weren't starving to death or going blind before GMOs. However if my family and friends were going blind due to Vitamin A deficiency the benefits would weigh more heavily on my opinion.

I don't claim to be an expert in this area but am interested in being provided with a more neutral analysis to help me form an opinion.
Germany has 30 guns per 100 people. The US has 88.

It's the rate of violence that is dramatically different, and not nearly as much the per capita gun ownership rate.
To be fair, far fewer people own guns in Germany than they do in the US. Police in Germany likely carry weapons to deal with knives and other close range weapons, while police in the US carry weapons to deal with long range weapons.
to run on os x:

> brew install scons freeglut openal-soft

> scons

> ./geo
The chief of police has posted a response: https://fcpdnews.wordpress.com/2015/07/25/a-message-from-the...
>The view from the other side is that people can't get an unfair edge anymore by not paying taxes.

It's mostly rich people and corporations that are not paying taxes through legal holes, off shore accounts, special tax breaks from their pals in the gov etc, and they'll continue to do so, cash or not. Heck, they already do it with virtual money.

And seeing as 10% of the population (or less) holds 80% of the money, it's those few that the big losses result from.

>Gang criminality can be fought of more easily simply because it will harder for them to earn money illegally.

There are lots of ways they can launder their virtual money. Mafia has tons of reputable establishments for example. A guy gets his drugs and in return has to buy X or Y overpriced good with a credit card.
For Ransom, Bitcoin Replaces the Bag of Bills
"Backquote ignorant" coding, ouch!

Original:

(defun mloc (actor con)
(list 'mloc
(list 'con con)
(list 'val (list 'cp (list 'part actor)))))

New, improved:

(defun mloc (actor con)
`(mloc (con ,con)
(val (cp (part ,actor)))))
X1 is actually the 64-bit ARM CPU configuration (Cortex A53 + Cortex A57), not Denver. K1, the predecessor of X1, comes in two flavors: 32-bit 4xCortex A15 and 64-bit 2xDenver. TK1 is 32-bit, Nexus 9 is 64-bit (and is the only device I know of with Denver).
Bret Victor "The Future of Programming" is wonderful: https://www.youtube.com/watch?v=8pTEmbeENF4