skysight-inc/HackerNews huggingface dataset:
In the spirit of OSS I forked httprouter instead of just keeping the changes locally. I hope that the implementation can prove as a reference in improving httprouter or other Golang muxers.

I like httprouter, but dislike how the dependency on httprouter.Params pollutes your packages that need to expose httprouter.Handle.

I also dislike the non-standard handler, even with map[string]string parameters. From what I read the proper way to "scope" things in Go is to pass "it" as a parameter to a method; so the dislike is just personal preference. Currently the only way to retain the standard (http.Handler) interface compatibility is to use a synchronized reference map e.g. map[*http.Request]map[string]string, similar to Gorilla Contexts' implementation with only the parameters associated with the request.

Anyway, after all those changes it was a short jump to implement basic middleware helpers and expose an initializer with a standard implementation to associate the parameters with the request.

I hope that answered your questions and thanks for showing interest :) P.S. Check the updated example usage
Why Improving Emotional IQs Makes for Better IT Leaders
The Secret to Winning a Hackathon
Damn, you spotted my glaring omission! I guess my thinking is that with Gorp the database choice is up to you ..maybe go-martini-facebook-gorp then ;)
I didn't, the parent did:

> We haven't done this since Vietnam.
Vegas: Declarative format for creating and saving visualization designs
the key to not getting your answered close is to copy paste large text of garbage code that these zealous mods won't bother reading through. the large wall of code allows the question to appear to carry merit and come across as a coding question, when in reality it has nothing to do with the question.

This is what is happening. the quality of the questions has deteriorated so much instead of improving.

the people providing quality answers have moved on.

when the chicken leaves and the eggs start rotting, that's when you know, the decline is the beginning.
Secure Time inside the Mesh
Curious about your reaction to this article. Have an opinion?

Or is that too off-topic/closed as not constructive? /s
Show HN: Aggregator for only instantly bookable vacation rentals
"Genghis Khan, Napoleon, or Patton focusing above all else on not losing soldiers. Historically, officers are happy to use their men as cannon fodder if it will help them achieve their objectives"

It is interesting that those three people were famous for being the first one in the battle fighting and risking their lives. I bet it will be different with generals today.

"If their primary interest was oil, American diplomats would have told Saddam to grant exclusive contracts to select oil companies and he would have gladly complied in order to avoid invasion."

Not really. American diplomats told Saddam to grant exclusive contract to US companies. What happened is that Saddam refused, he even started selling the oil in Euros in order to get European support, but did not.

When USA invades a country and spends a trillion dollars on it, it is not Americans the ones who have to pay for it, thanks to the magic of the petrodollar, but the rest of the world.

But Americans companies are those that benefit from the reconstruction effort. American oil companies are the ones who extract the oil. And the petrodollar system remains one year more, because if someone dares to go against the petrodollar(like Iran) sanctions are raised or their country is invaded.
Banks are not more risky because there is corporate governance to curtail moral hazard.

I'm sorry for assuming you knew this, but as you say, it isn't simple for some.
{Based on my recollection of something I heard listening through the StackOverflow/StackExchange Podcast archive.}

The example of the Python question about angles is from 2011. I believe that subsequent to that time there were changes to both the close process and the reopening process. Part of the problem I think was that close votes accumulated and did not expire, so that they would stick even after a question was edited or months had passed since the vote was cast.

The most recent podcast...about taking more Venture Capital...discussed some of the cultural issues that have developed at StackOverflow. There are two significant pools of users: those like me who know a little or nothing, and those who know a lot. One of the goals of the funding is to make StackOverflow work better for both...at least that was my impression from the podcast.

At the top end, the gamification has problems. It doesn't matter how competitive or smart anyone is, they aren't going to catch John Skeet any time soon. So people make up things to entertain themselves. Anyone else remember the popular Meta about deliberately feeding bad algorithms to suspected homework questions?

It's always been clear [you can listen to six plus years of Joel and Jeff and the gang yourself] that the longterm purpose of StackOverflow is not helping the person originally asking the question. It's making the internet better. It's also always been clear that there was a tension between questions that are interesting to experts and questions that are so basic that only an absolute beginner will ask them. The test case was:

How do I move the Turtle in Logo? [1][2]

It's simple, clear, to the point, and offensive to some programmers.

[1]: http://stackoverflow.com/posts/1003841/revisions?page=2

[2]: https://www.google.com/search?client=ubuntu&channel=fs&q=mov...
I followed a parallel development with at mathoverflow.org. In its early days it had several fields medalists posting long answers to almost uniformly good questions. As the site evolved and more people joined the quality of questions gradually declined and it is generally much less exciting to visit the site.
Quite possibly, I guess it makes a change from {INSERT ANYTHING}.js
Kind of does matter when we're comparing the relative success of the two devices.

We know about the ecosystem that sprung up from the Apple ][ because we have history to look back upon. All the firms that sold software (I still miss Beagle Bros). All the magazines. All the books. All the accessories.

I just don't see that same ecosystem surrounding the RPi, especially if 5 million users are involved. A couple of heavily trafficked forums don't really seem like the same thing.

And given the Apple ]['s price ($1,200 in 1978 dollars or $4,700 in today's money), they were probably not as quickly tossed aside once interest waned. This was a serious a purchase as a used car.
Correction: that should have been "consumer version", whether free or paid.
I would say he missed the biggest reason: Because we've changed the definition of "winning". It used to be that you just trounced the enemy army and didn't give a damn about what the country looked like afterwards. Go in, kill them till they surrender. This is true of pretty much every war before 1950.

Nowadays we're generally not fighting an established government but instead some form of guerrila force. There is no-one to declare a surrender, therefore the war will never really end.
I really like upstart, and am quite disappointed that Canonical caved on it. It seems to be an honest improvement on SYSV with standardized configs, while still doing One Thing, Well.
Cloudwatch does what you're referring to as well. It's more of a basic server monitoring system that happens to integrate with the load balancer.

You get a set of basic VM level metrics, and you can feed it custom metrics from your app, or log files. All of which can be configured to alarm. I don't think it's possible to run advanced statistics on the metrics for alarming (eg, standard deviation from 30 minute exceeds N), but it may be. Usually it's just an event count, like more than N 500 errors over X time.

I do agree you need to think deeper than basic health checks though, 'broken server' is always a hard boolean to nail down.
[The reason the "War on Terror" is still treated as a war...]

...is for its legal status (empowering the US executive to carry out certain actions it otherwise couldn't).

A number of laws were changed/reinterpreted following 9/11 with respect to what constitutes war and how it may be implemented.
For at least as long as I've been using it (7+), FreeBSD has always had binary and source packages. Ports are still very much existent and supported (and needed if you want anything custom).

All pkg replaces is the old way of getting/managing binary packages (pkg_add, pkg_delete, pkg_info, etc).
I am constantly amazed how mods can find a duplicate I could not, and I consider myself a fairly savvy googler.

Edit:

Instead of forcing RTFM on every new user, I don't see why new users should not have immediate tryout without reprocussions and learn the guidelines from a kindly mod or other user replying with a reason why their question is not appropriate/duplicate or whatever. That is the point of upvotes/downvotes and active moderation. This is a learning community, not a cadre of elitists.
Why would you ask that instead of browsing through the most recent 50 questions on http://stackoverflow.com/questions/tagged/lang+service ?
I really like that FreeBSD has binary package management. I started my journey into Unix almost 10 years ago with FreeBSD Unleashed.

I am considering writing a comparison command-to-command of apt-get vs. pkg, and differences in behavior.

* Are packages from the FreeBSD repos pinned the same way Ubuntu packages are, relase to release? Are there multiple repos (comparable to universe/multiverse, updates/backports)?

* apt-get update && apt-get upgrade
* apt-get --no-install-recommends install <pkg>
* apt-get purge; apt-get autoclean;
* apt-cache showpkg <pkg>
* apt-cache search <pkg>
* dpkg-reconfigure (for post-install scripts)

And so on. If I knew exactly how FreeBSD's pkg system worked related to apt-get, I'd be more comfortable going there full time. I'm also interested in how it integrates with Jails, should I just look in the Handbook for more info, or do you have a blog I should read on it?
University bans GitHub homework (then changes mind)
Great clarification
He probably imagines Gladwell's claim to be, and I'm quoting from Outliers, "In fact, researchers have settled on what they believe is the magic number for true expertise: ten thousand hours." You'll note this unequivocally contradicts the claim you just made.

That Gladwell later wrote a much, much less popular article for the New Yorker in which he walked back that totally outlandish claim doesn't justify indignation at people remembering what he wrote.
The reason that the latter point is reasonable is, it trivially isn't a game-over flaw for systems which do not have game-overs.

What we know about every system that installed FreeBSD-CURRENT is that the systems administrators at the time fully accepted an operating system:

1. That is not in any way "officially supported". (FreeBSD's words, not mine.)

2. that may for short periods of time "not be buildable."

3. that "is not a quick way of getting bug fixes as any given commit is just as likely to introduce new bugs as to fix existing ones".

4. that is much weaker in guarantees than the FreeBSD-STABLE branch, which expressly disclaims, "one should not blindly track FreeBSD-STABLE. It is particularly important not to update any production servers to FreeBSD-STABLE without thoroughly testing the code in a development or testing environment."

If someone has signed off on these topics, then there is no such thing as "game over". The server isn't important enough for "game over". If it is, then the security vulnerability was not the broken RNG but tracking FreeBSD-CURRENT in the first place.
> The person

And there's the problem.
Corrected link: http://eapj.org/on-slippery-ice
World's Best Computer Science Program Tells Wrong Students They Got In
I think HAProxy can make sure the response code for HTTP backends is actually 200 and will mark the connection down if it gets 500 or 400.

Just goes to show you that thinking only of the happy path can often lead you astray.
in love with warfare
Those who switch operating systems out of ideological disillusionment are liable to end up as disillusioned again as those who switch religions out of religious disillusionment. You may think the new one is more pure, but it's really just more novel to you. The old timers have been around for their own iterations of in-fighting and may be happy to see fresh blood but probably won't be happy to see rehashing of hardened partisan battles.

Linux hasn't lost its way, it has evolved over the past 20+ years as UNIX has evolved over the past 40+ years. So have the BSDs--all of them.
At least 12 million Commodore 64s were sold, some sources say higher.
Somehow my comment was removed ... :(
FDE will not help in this case since it only encrypts user data written to the media. However, some of the higher-end HDD models have signed firmware support which renders firmware useless unless it is cryptographically signed by the manufacturer.
"But after a decade of war in Iraq and Afghanistan, American combat units appear to be just as dependent on external interpreters as they were going in."

Back in '01, had a .mil security clearance in the 90s and was dumb enough to think I could learn Arabic as kind of a moonlighting job, that dotcom bubble wasn't looking so hot anymore, but, why bother, just like the first gulf war we'll be outta there in less than a year so I won't have enough time to learn Arabic. That being 14 years ago...

An interesting startup idea would be shaking up existing translation services. It would be difficult and non-trivial. Ideal startup field!
Double star makes italics on whatever's in between them, but you should be able to escape them with backslashes like this * *.
Lunar Wave Hiding Intelligently Made Structures on the Moon
I use Tarsnap and Dropbox. They aren't the same at all:

* You run Tarsnap whenever you want to push changes; Dropbox automatically pushes changes.

* Tarsnap is for 'real' computers only; Dropbox runs on my phone (which is very useful for photos, among other things).

* Tarsnap is billed by usage (at a very small amount); Dropbox has a free tier.

* Tarsnap doesn't have a natural sharing usecase; Dropbox does.

* Fundamentally, Tarsnap is backup, and Dropbox is sync. They are two different things. Not to mention that Tarsnap is also supported just fine on Linux.
Of course the bigger your military, the more likely you are to think the next engagement will be a walkover.

And because you think it will be easy, you are more likely to gamble on that marginal gain.

And because the gain is only marginal, you don't want to lose any troops.

And since you don't want to really bet those lives, it's harder to win.
PySpark is really compelling for Pig/Python shops. If it weren't for Pig on Spark, I'd fear for Pig's future.
I often criticize US army, but this article is just b * t. And not single word about what is actually wrong with US army (F35 and similar projects)

> More than three-quarters of Americans in Iraq didn’t fight. A ridiculously large number

75% of servants in army (support roles) is pretty stable number since Roman Legions times.

> the American military is too big and bulky. Special Forces are lean and mean and

Fighting street by street, block by block takes large number of men.

> Egyptian interpreter hired by the US military. Knowing that Cairene Arabic is vastly different from that of Southern Iraq, I asked him if he had any trouble understanding the local dialect. He shook his head. “I have no idea what they are saying.

> If more American soldiers understood Arabic, their insight and awareness of Iraqi culture could have made a huge difference.

Army should not do police work. There should be para-military units (gendarme) composed from locals, but from different regions. US did great job at Philippines with this strategy.

> Fear of Casualties

> It is impossible to imagine William the Conqueror, Genghis Khan, Napoleon, or Patton focusing above all else on not losing soldiers.... . Historically, officers are happy to use their men as cannon fodder if it will help them achieve their objectives.

I will take any US 'war hawk' over this guy anytime. BTW Russians captured Crimea with 2 casualties, so much about 'not enough deaths'.

> Only go to war if it is worth sacrificing your children. When Hitler invaded Russia, Stalin’s son went to the front, was captured and eventually died in a POW camp

Paragraph about Yakov Dzhugashvili is nice, perhaps just add what happened to his family after he was captured. Also UK prince served in Iraq as far as I know

> Fifty thousand Americans died in Vietnam. So did more than 2 million Vietnamese. If war were a numbers game, America would have been victorious. But war is ultimately a matter of will. The North Vietnamese were willing to suffer more than the Americans were, because victory was more important to them.

And how many of those Vietnamese were killed by other Vietnamese, French, Koreans...? Americans lost because they could not go near Chinese border. Please read some facts about that conflicts.

> War, What is it good For? Absolutely Nothing. ... When William conquered Britain, when Cortez conquered Mexico, their soldiers made fortunes. War traditionally was mostly an excuse for plunder.

So nobody, not a single person, made any sort of profit on any war in last two decades?
Indian devs certainly level up fast, and I wouldn't be surprised if the number of great engineers born in India is already significantly larger than the number of great engineers born in the USA.

But, and this is a big but: large numbers (the majority?) of those great engineers end up moving to the USA anyway. And, just as with evaporation, what's remaining is cooler than what left.
Made two yesterday, both related to the recent terrorist attack in Copenhagen.

One to show all the flowers laid out for at synagogue: https://instakrystalgade.herokuapp.com

And another to show people at the memorial: https://cphmemorial.herokuapp.com

Both worked out nicely and handled some steep traffic quite well!
Berlin nachtleben, Berlin nightclub
The problem is that the logical end of this "unlimited firepower" line of thinking is killing everybody and salting the earth (http://en.wikipedia.org/wiki/Salting_the_earth). And while that may look like victory to some, to many others it will look like cruelty -- or genocide.

It's as Tacitus wrote of the Romans: "To ravage, to slaughter, to usurp under false titles, they call empire; and where they make a desert, they call it peace."
The author makes some very good points.

The British were able to control vast swaths of the world with minimal military power. They fought smart.

I remember watching Restrepo and other similar documentaries. I come from a tribal culture too; and there were several instances where I could clearly see how the Americans were making a mistake in their dealing with the locals. Those people have been living and dying by their tribal codes for millennia, and "democracy" and "freedom" means nothing to them.

Minor nitpick: it was GHW Bush who committed US troops to Somalia, just as he was leaving office, in December 1992; a nice welcoming present for Clinton.

Edited: It was pappy Bush, not Dubya. Thanks @theorique :)
Getting Started with Apple WatchKit
pkgng + poudriere = my sysadmin sweet spot. I can customize package builds to my heart's content while continuing to use the FreeBSD package repositories (if I want). It'd be nice if pkgng would build stuff from the ports tree if necessary, like MacPorts does, but frankly pkgng is good enough as is. If I need more than FreeBSD's binary package set, I'm comfortable with building directly from ports (in case of one-offs) or expanding my Poudriere deployment. Compared to pkg_install/portupgrade/portmaster, pkgng is awesome---flawless binary upgrades, even from my custom package repository. Compared to YUM/APT, pkgng is still awesome---setting up a custom repository and automating package builds is pretty easy, especially compared to Spacewalk (which I want to like, I really do).
None of the legal mechanisms of war apply to what the US is doing in the middle-east.

Congress has authorized certain actions but there has been no declaration of war.
Re-make it.
Do we have any reason to believe lithium can achieve that? How long are the Tesla batteries supposed to last...?
It's not that it's not widely deployed - it's that -CURRENT is deployed by people who have been warned that it could fail at any moment because it is in constant development. It's a development tree, sometimes it doesn't even boot! Sometimes on svn upgrade (and recompile) it can hose your filesystem partitions and that's expected. Forget about the RNG - when someone is working on filesystem code it corrupts files and you lose all your data! I can say this with a straight face because that's what it's for.

I say it's a game-ON plan because thank goodness it got caught in -CURRENT now - that's the way the development process is supposed to work.

I myself run -CURRENT 2 ways - one is a sandbox development physical box that has no access to any of my other servers (I use it to try ports to see if they will still work on -CURRENT), and the 2nd way is in a VM on my laptop to fire it up to see if it boots from time to time.
Many thanks, this helped me too. I got it from downloading a supposedly safe app from

http://en.softonic.com/s/pdf-merge:mac
That actually took a couple of edits with inconsistent results. Sometimes it actually prints the backslash? \* \*.

And it definitely likes having a space in between, otherwise the second slash gets styled in italics. Curious.
Smart School launches in africa
>Why doesn't the "market" sort this problem out.

It will. But "the market" doesn't care about who the winners and losers are. Some of these services are essentially transferring wealth from low-skilled workers with few alternatives to "App middlemen" and VCs.