skysight-inc/HackerNews huggingface dataset:
I think we just learned what that stock market drop in the US was about.
The Humvee isn't exactly a thin vehicle either. They're the same width judging by the pictures below, which makes sense because they were designed to fit on the same aircraft.

http://img.scoop.co.nz/stories/images/1108/41601cd795da32c9c...

https://upload.wikimedia.org/wikipedia/commons/thumb/7/7e/JL...
Who’ll Freeze First? A Puzzle About Size and Staying Warm
Just a small side note, you don't even need to write your errorCode function. That and a number of other useful functions are provided in the errors package (http://hackage.haskell.org/package/errors). Also, I like to use string error messages because they're easier to grep for. Here's what your response function would look like with those changes.

response :: Messy -> Either String String
response message = do
b <- note "error in body" $ body message
lines <- note "error in text" $ text b
note "error in atMay" $ lines `atMay` 10
we start with some automated content acquisition, before we use nlp for keyword extraction and tagging. The company-tag description is then located in a huge tech-domain-specific vector space. From vector space similarities and a couple of heuristics, we derive the company classification.
>But a lot of times they have incomplete, ignorant, or just plain crazy fact bases from which they operate.

Yes, and sometimes they have different short term and long term goals, sometimes not all financial, that change their rational behavior.
Should the police have the capability to take control of digital front door locks?
Here's the real issue. WordPress is more than a blog. Ghost is only attacking the blogging aspect of WordPress. The rich themes and plugins ecosystem of WordPress cannot be matched no matter WHAT anyone thinks. Because of this, WordPress is widely used to develop all kinds of sites.

Hell there's a company in my area (sadly I worked there years ago) who literally manages 200+ local businesses sites and they're all powered by WordPress. I'd say 1 or 2 of them are actually blog having sites. The rest are just "I want to be able to edit this section of content myself" sites.

WordPress makes it insanely easy to build a site for a client or even anyone who's vaguely familiar with web development.

Go get a cheap shared hosting account, click that 1 click WP install button, login to your new site, search for a theme you like, install it in a click, make a few minor tweaks, find some plugins that do stuff you like, install them in a click. Done.

Until people realize this, there's no "taking on WordPress".
Blocked from work. Fortinet.
Can Servo be a clean and modern reference platform for developers?
Putting personal/national pride ahead of the health and safety of your citizens is certainly immoral.
https://itunes.apple.com/us/app/paper-stories-from-facebook/...
Maybe I'm misinterpreting, but I don't think he or she is referring to only the Allies side doing harm. The same blame would be placed on any war-wager, and that includes Japan.

This feels a bit like a "the other side did worse things therefore revenge or killing is justified" type of argument to me. Using this kind of justification, either side could use it to their own advantage and we'd end up with an long spiral of justifications simply because "the other side attacked first" or "the other side did bad things, and we'll make it right by killing more people".

That said, this is just my view of what's right and wrong, and I'm quite ignorant on WWII - but the idea of attacking and invading in the name of preventing killing would seem to be not only unethical (killing is being done) but also irresponsible because the other side will retaliate with more killing. Not many people think of the responsibility.
It must be rough living in your world of every positive review is by a paid shill.
Very cool.

AstroScript Pilot Program :D
Swift is like Go
Don't know about that. Both of my grandfathers (I'm American) enlisted the day after the Pearl Harbor attack -- along with half the men in their neighborhoods[1].

Committing atrocities in Nanking might not have been good PR, but I don't think it moved the needle like actually attacking America.

[1]: Source: my grandmothers' stories
Knut the polar bear died of autoimmune illness usually found in humans
For years, China has been selling its own currency (RMB) and buying USD. This has the effect of depressing the value of RMB vs the dollar, since it puts more RMB into the market and removes dollars. It takes the dollars it owns and buys US Treasury debt. China wanted to keep the RMB artificially low to keep Chinese goods affordable in export markets, which keeps the economy growing. They didn't completely cancel out increases in exchange rate, instead they were managing it to be a slow rise over years.

Now that the China economy has started slowing, the RMB has actually started dropping in price vs the dollar. Although good for trade, this is panicking the markets, who expect stability or a slight increase. So, the government is reversing the flow, selling treasuries, selling the dollars, and buying RMB. This is called "unwinding" the position.

This unwinding has its own effect on the U.S. markets -- it's going to tend to drive down the price of treasuries, which will INCREASE their effective interest rate. Higher interest rates in the U.S. might threaten the economic recovery -- the Fed has been trying to keep rates low for the past 7 years or so.
Why do you dismiss the content out of hand based on where it came from? ZeroHedge could be the most accurate source for bearish analysis you can get.
This is where a human with a stopwatch may come in handy. The clock will start when the page request is sent. Stop the clock when, in your opinion, you think the page is ready to read. Alternately, if you feel the page is loading too slowly, and have reached the limit of your patience, press this button instead.

The event does not have to come from within the vanilla browser, without human intervention. It could be from a plugin you create to collect human feedback on load times.

Of course, the human element will significantly decrease the number of trials you can do within a fixed time period.
And maybe also not written by someone named "Tyler Durden"?
Hm, can't remember. I'll take that as an excuse to rewatch the 10th Anniversary Special :)
Many years ago in a different life I practiced BJJ for a few years then got into MMA.
He has a very nice book

http://beginners.re/
You've been reading way too much "falling of the petrodollar" blogs.
There are pure BJJ tournaments and they are the opposite of brutal. It's all technique and people don't get injured that often, unless Rousimar Palhares* is part of the tourney. He's famous for holding submissions far longer than he needs to, and causing damage. He's the exception, not the rule.

* http://fightland.vice.com/blog/rousimar-palhares-is-a-leg-lo...
> The font rendering seems nicer?

While I agree that it is better than the font rendering in Windows[1], I suggest that the font rendering is "different", and opinions will vary considerably about which is better.

You may be interested to know that there are patches to the font handling libraries (fontconfig, freetype, cairo) that used to be known as "infinality"[3], but are now maintained by bohoomil[4]. With these patches, you can actually select (with environment variables) various rendering options, including emulation of ClearType and several other rendering styles, including a customizable FIR filter and detailed control of the hinting.

Warning: Messing with fontconfig is far more complicated than it looks. Use these patches at your own risk! That said, I do like the results[5].

[1] The modern ClearType rendering, not the pixel-snapping, over-hinted[2] stuff used previously

[2] http://www.antigrain.com/research/font_rasterization/index.h...

[3] http://www.infinality.net/blog/

[4] https://github.com/bohoomil/fontconfig-ultimate

[5] http://i.imgur.com/wMWmNKt.png
> Simple enough, in essence given first argument, print it up to length 12. As an added this also deals with unicode correctly

That's not true, Python 3 uses codepoint-based indexing but it will break if combining characters are involved. For instance:

> python3 test.py देवनागरीदेवनागरी
देवनागरीदेवन

because there is no precombined version of the multi-codepoint grapheme clusters so some of these 10 user-visible characters takes more than a single you end up with 8 user-visible characters rather than the expected 10.

edit: the original version used the input string "ǎěǐǒǔa̐e̐i̐o̐u̐ȃȇȋȏȗ" where clusters turn out to have precomposed versions after all. Replaced it by devanāgarī repeated once (in the devanāgarī script)
> They were willing to fight until they won. Just like the other side. It had been reduced to that: fight to survive. Remember, 50 millions dead already. No time for philosophy.

Where "fight" means massacre civilians by the hundreds of thousands or millions. Where "won" means received unconditional surrender when they could already have a very favorable conditional surrender. Where "fight to survive" means they (the US in general and the US military, not individual soldiers) at this point (when they dropped the bomb) were in no danger of not surviving. Where "no time for philosophy" means no time for a conscience or morality.

And plenty of US military leaders at the highest levels did have a conscience and opposed using the atomic bomb against civilians at that point in the war. See my link in other comments.
Yeah, but life and politics sometimes are bigger than art. What about all those statues of Stalin in the soviet repulics that got taken down. Do we condemn those acts too? Or not, because they were actions of the people, and, you know, the art just wasn't as good? (I don't disagree with you, by the say, but it is not so simple)
There is no upward trend in 10-year Treasury yields, which are currently low at about 2.2% -- see http://finance.yahoo.com/q/hp?s=%5ETNX+Historical+Prices .
Even here in Brazil the Gracies are respected, but their outrageous claims are not taken seriously anymore. Every BJJ practioner laughs at Rickson's 400 win crap, and if you go on local forums, nobody claims BJJ is more than one aspect of MMA, as important as the others. Hell, my BJJ lineage is from Fadda, who never learned if form a Gracie.
Yeah great question. The short answer is that we'll ultimately allow give mode users to control what sites are proxied through them. In Lantern 2.x so far we've actually stripped this functionality entirely as a temporary measure for a few reasons. First, we re-wrote the whole app in Go, and we wanted to cut as much scope as possible to make the leap. Second, the whole p2p model works a lot better with a lot of users in censored regions, particularly from more of a marketing perspective in terms of users really having a real impact from uncensored regions as soon as they run Lantern. So for a long time that wasn't the case, but we're now seeing large user numbers and very fast growth in censored regions around the world. So we're going to re-introduce peers very soon, and those peers will have a really significant impact on blocking resistance and cost scalability.
well even glassdoor is accurate (it is on the high average tho) for europe at least in software jobs.
The connection to a website with a DV certificate is certainly secure, it just isn't authenticated. TLS is designed to provide both, and EV follows through on that second promise.
Looks like active managers are finally figuring out what to do: behave like passive managers. Pick a bucket of stocks, publish it, invest in it, calm down.
Easiest way to emulate Exceptions: just use a GOTO statement.
http://c2.com/cgi/wiki?DontUseExceptionsForFlowControl
http://www.joelonsoftware.com/items/2003/10/13.html
The font management (installing and enabling) isn't so nice. I don't know how it is on Windows, but on GNU/Linux it even comes down to editing dotfiles containing snippets of XML in your home directory to enable or disable certain fonts or rendering methods.

Gentoo partially solves this by having eselect fontconfig.
The dicussion of the morality of Nuclear Weapons is complicated.

>The whole discussion happening around the atomic bombs dropped on Japan is - have they actually prevented more deaths, because Japan would not have surrendered otherwise?

This is a common counter point. But ultimately we don't, and won't ever know. Some sources say Japan may have accepted a surrender that made some governmental provisions (namely saying that the Empiror was immune from war crimes) had been issued instead of pushing for unconditional surrender.

The nuclear debate isn't settled because, we're still trying to define our civilations relationship with it.
Add Python to the list. If you're using 64 bit versions it becomes a nightmare. I do have to remark that finally Microsoft did something about it and released a special version of MSVC to solve part of the issue, but for some modules it still is challenging to get everything working correctly.
There are several ways to solve this in Go. The first that comes to mind, assuming you want to truncate to the first 12 runes, not bytes:

func main() {
v := []rune(os.Args[1])
if len(v) > 12 {
v = v[:12]
}
fmt.Println(string(v))
}

Or more in the spirit of the C example in the post:

func main() {
res := make([]rune, 12)
copy(res, []rune(os.Args[1]))
fmt.Println(string(res))
}

Note that res will stay on the stack, just like C.

I expect the author is trying to say something about Go that I'm not quite getting. Perhaps that it is not an expression-based language, so to make code readable you need to make use of multiple statements. That's by design, but I understand it may be unappealing if you want to program in an expression-heavy style.
A lot of practitioners really make the sport as a whole look bad. I'm not a fan of some of the MMA culture that bleeds over into BJJ.
The state of China's economy (of which this action is a small part) has a lot of ramifications.
Thanks for this. I look forward to more answers on the questions you highlighted in this thread.
One additional question I have now is, what about the impending Fed Rate Hike? As in your point 7 - if the China Govt. action is equivalent to a rate hike, then will the Fed's own hike get pushed further into 2016?
I can summarize it in one word for you: INFLATION.

This will indirectly cause large amounts of US currency to hit the world markets, and the Chinese are going to stop vacuuming up all our excess USD.
"I understand why I shouldn't but I still will."

I think that statement is irrational. It still describes a plethora of behaviors.
I've definitely seen this after spending two summers at Airbnb. They take pride in being very selective re: culture fit and personality, and I think this is one of the most critical reasons why it's a great place to work.
I just got the fonts working in iTerm2 and after that I didn't have any issues that I recall.
Guilty as charged. I've Currency Wars [0] in my reading list.

[0] http://www.amazon.com/Currency-Wars-Making-Global-Crisis/dp/...
It depends what your definition of "healthy" is.
Yeah, and that's pretty much my point. No matter how expedient and net-win a prospect like that might be, it's still not just.

I think we agree, I'm just saying this because I hear way too much about 'right' and 'wrong' with armed conflict. It's all wrong -ALL of it.
As if longjmp and c++ exceptions are the only two ways to go. How about return codes? Or error out parameters? Not so bad to work with if you be consistent about the style...
That's something slightly different; bikes can only be fetched from and returned to train stations (possibly with some exceptions; I'm too lazy to check that now). With modern bike-sharing [which I guess is what this is about; the site's UI is too awful to read it], the idea is that, wherever you are within the coverage area of the bike sharing plan, a place to rent a bike is within walking distance, and wherever you are on a bike, a place to drop it off is nearby.

The Netherlands doesn't do much bike sharing that way because most people own bikes. Those that do not, and are likely to rent one, will likely arrive by train, so having collection points at train stations only is deemed sufficient.

The one exception I know of is the national park the Hoge Veluwe, which has a truly traditional 1965-style bike sharing program (completely free)
> This is about relying on the core values of the company

I have never seen a reason to believe such a thing actually exists, and herein lies the disjoint between your worldview and mine.
The good operators stay long, but they are still on the edge. And there's nobody whose going to tell you how valuable those good operators are for any company's day to day operations. But again, they are not equally valued. What ultimately matters: can the Indians do the job? The answer is yes. And that's where there is cost saving.
5 open source alternatives to Trello
What is the best location to incorporate a company for an IT person who doesn't live in any country more than half a year?
In 1993, there was an exciting weekend in Cambridge (UK) when there were freely available white-painted bikes all over the city. In a day or so they had all disappeared.

http://www.iankitching.me.uk/history/cam/old/green-bike.html
Ok, if that is what the OP is describing than I guess I understand. But that trade does not have any part of it where the user of the stop loss order shows their hand to someone with inside access. Further, that trade is far from riskless to the people attempting it.
Go and Ruby-FFI
More like, there is capital flight from China because there are economic problems and yuan devaluation is anticipated.

When people liquidate yuan assets and buy overseas assets, they sell yuan to the central bank, buy foreign currency.

In order to buy the yuan, China's central bank needs to supply foreign currency. To acquire the foreign currency, they sell foreign assets, e.g. Treasurys.

It's not so much they are trying to push the yuan up, as trying to prevent it from falling too precipitously as people sell it.

They are accommodating the capital flight by supplying foreign assets, instead of letting the yuan fall sufficiently sharply to the point that would stop capital flight, because investors would no longer expect further depreciation.
I'm not sure: isn't it faster to just refuse the request than directing it to localhost and waiting for a time out?
Altruists thrive due to statistical paradox
Thanks :) Love the idea of making proxies simple by the way.
The JS framework change (Ember to Mithril) was a great decision for us, especially given our focus on being fast and lightweight. The codebase ended up being far simpler too. I've been meaning to write a blog post about all the details!

Beyond stability and more features, I hope to set up some services around Flarum later this year – an extension marketplace being the first. In order for Flarum to succeed, building a great ecosystem is a must.
Lenin !== Stalin

...that's a pretty big confusion imho :) : https://en.wikipedia.org/wiki/Vladimir_Lenin#1920.E2.80.9322 .

L. was an "not so sane" idealist that end up making a mess that resulted in lots and lots of people getting killed. In the end he even tried and partially succeeded to get some things right.

S. was a power-hungry genocidal psychopathic maniac that actually killed more people than Hitler (oh, and as a sideline, the non-aggression pact he signed with H. also gave the natzys confidence to go ahead and invade all the fucking Europe, and after this ofc that they thought themselves so superior that they could think of "final solutions"... you can put at ~25% of WW2's destruction, plus 50% of the Korean War, plus the consequences of the rushed soviet nuclear program on Stalin's bill too! ). He may have had the "socialist ideals" as an excuse, but that was simply an excuse. He fucked up everything he and his politics touched even post WW2 by "indirect influence": Eastern Europe, North Korea, China... even socialism itself and it's international leaders!

I'm not a leftie, but there's no comparison between the two...
> I almost never see that.

It comes and goes. My worry: US elections.
A favorable condition of surrender is debatable (who knew what when). Otherwise you seem to have a very good grasp on the situation. Surviving means wiping out the country that had every intention of conquering the world. Stopping meant trusting them to be nice; we didn't even do that after winning. So stopping was not an option, because survival.
what i fail to understand is why female lives are worth more than mens?

while i agree that war is despicable and we all have the responsibility to work against systems and circumstances that will lead to war i think you coose the easy way.

from your comment I doubt you have ever been in the army- I have it's compulsory where I live so I can understand the pressure a bit better than somebody who never experienced this system.

another thing: during WWII in the Nazi regime it was not only your live that was forfeited when refusing to join the army but your family had to face repressions too.

I consider myself very lucky to not face such grave circumstances and decisions...
I believe it's a hybrid. My company makes fuel tanks for the current M-ATV from Oshkosh. Working on bids to make the tanks for this one too.
Ask HN: What is your process for choosing tools and tech stack?
Ignoring cost, time required to learn - what is your process of choosing between say, half a dozen tools (could be libraries, APIs, frameworks etc) that you are considering? Do you build prototypes, or consult with someone who has used one or more of the tools before...? Especially while making big decisions like picking a mobile framework, versus less expensive ones like picking an editor.
Pretty neat! Love the company fingerprint btw!
refer me for a job at your place.
> Can anyone here who owned a legit copy of Windows actually say that this happened to them, or to someone they knew?

I can almost say. I had a genuine Windows 7 license in 2011 that I used for gaming. When I'd turn on the machine, it'd give the scary "this copy may not be legitimate" message at boot. When I'd enter the product key, it wouldn't work. I could push through that message, but every 10 or so minutes I'd get a pop-up screen I couldn't ignore that said "this copy may not be legitimate" and I'd have to enter my key that should work that doesn't, or hit "ignore for 10 minutes."

So, Microsoft didn't remotely deactivate it, but they, through their error, inconvenienced me such that I got rid of something that was a $300 value (it was Win7 ultimate, 32 and 64 bit licenses. I got it for free by hosting a Windows 7 launch party. So it's the most genuine Windows you can get.)

I'm a case study of "DRM provides no advantage for legitimate users, and occasionally inconveniences them." Of course I'm just an anecdote, but you asked!
...correct in a normal world. China is not normal. Their currency is pegged to the dollar. They are trying to decouple (see IMF comments delaying their inclusion for another year). They are lowering the peg which is increasing the dollar vs. ren. This in effect is lowering/devaluing the ren. which makes manufacturing cheaper there. Other emerging markets are also decoupling so that they can devalue their currency in order to keep up with the Chinese active devaluation. Currently other major markets Germany, Japan, etc. are not actively devaluing. If they do we will have a currency war. This would be very very bad.

...this article is only describing one aspect of a very complex picture right now. One that you could argue has not been seen previously. That and the weird illiquidity problem that happened Monday with ETFs. It makes for a very odd picture right now.
"This is a much better vehicle for the HMMWV's combat role..."

I'm not so sure about that. Exactly how is this thing "light"? I've heard too many horror stories about HMMWVs getting trapped in tight quarters in towns and the excitement of reversing a convoy under fire. If you need a tank, you need a tank; if you don't need a tank, you don't want a tank.