skysight-inc/HackerNews huggingface dataset:
> 4. Haha, I don't want to pay for Pusher right now. Will be working on a self-hosted push solution soon.

I hear great things about Faye: http://faye.jcoglan.com/

You can also get something up an running in Go very quickly that should scale pretty well and might make deploys easy since you can just compile to binaries.

eg: https://github.com/joncalhoun/sockets is a server that just allows POSTs with a message, and relays that message to all websocket subscribers. If you use any of that code be sure to change the hardcoded key here: https://github.com/joncalhoun/sockets/blob/master/main.go#L2... (I don't use this key in prod. It was just a test one.)
also, china doesnt do visa on arrival...
I understand that argument and the stats suggest most people don't need to charge on the road aside from road trips. By the time the Model S would need charged I'd be ready for a 30 minute break anyway. I still have range anxiety when my commute (before going remote) was a minimum of 120 miles per day. I'm not sure how accurate the 200 mile number is to know if it would be enough.
I definitely prefer knob and large button like those from a 2007, 2008 base model family sedan without a screen. But some times you need touch screen for this or that kind of extra feature. So my personal favorite system so far are iDrive and the new mazda system which let you control functions on a screen with a button/knob and preserve temp and volume control as separate knobs. BTW the worst system I've used are the ones which don't have usable physical button and doesn't let you complete your task fast in the touch screen. Yes I'm talking about you, Ford and Cadillac. And Mercedes, it's 2015 and you still have a dial pad in the center console, what's going on?
There is no striking in BJJ, just like there is no striking in Judo.

End of story.

> This suggests to me that this was in contrast to the norm, which would be to mount and then strike with the fist.

This was a dojo raid situation, which, believe it or not, used to happen quite a bit. A gym (of whatever martial art) shows up and challenges your gym because they say their art is better. So a lot of times schools would accept for whatever reason, and they'd have a fight. A different era, etc.

Say what you want about whether or not you agree with the challenge fighting, but schools would fight schools--Judo schools included. The point of my story was that they were able to defeat the school without striking.

On to a another point: if you are defending yourself on the street, you'd be an idiot to restrict yourself from striking if the situation is truly dangerous.
In most (large) firms it takes a week to have/schedule a meeting with those people. Most small firms don't have that amount of experience, or if they do its not accross a very broad base. So part of the story is about access to people, there is an extra layer of gatekeeping in there, by necessity needed to make sure those people are being used effectively.
The emotional appeal of "creating believers" doesn't work when investors want clear, quantitative results and returns on their investment. That's why "growth hacking" with intrusive modals and misleading marketing is an industry in itself in 2015.

Airbnb, Evernote, and Twitter are outliers from a nicer past.
What I mean is that it shouldn't have those black bars if I view on mobile in portrait orientation. It should fill the whole screen, just like it does for landscape videos if the phone is rotated to landscape.

Also, the web interface could rearrange itself to better fit the description, comments, and related videos to the right of the video if the video is portrait instead of black bars. I don't want to have to go full screen just to be able to see what is happening.

Finally, taking a 1080x1920 video and fitting it to 1920x1080 means that there's a loss of data.
I count in Gray code using my fingers. It's twice as fast as binary because the LSB switches half as often! I've also found patterns that are even better, but they're harder to learn.
> The latest official homeless count found 44,000 people living in county streets in a three-day period in January [...]

Sounds like most of those 13,000 newly homeless people are the same every month - falling in and out of homelessness periodically.

> The group's analysis was based on records for 9 million county residents who received public assistance at any point between 2002 and 2010.

How can they have so many poor people when the total population of the county was 9,818,605 in 2010 according to Wikipedia? Do they give "public assistance" to rich people too?
Not to mention his Visa. U.S. citizens must get visas before visiting. They can't just buy one after landing.

So much of this sounds like managerial bullshit, to be honest. "He got on the plane straight to China and made it work like the Ayn Rand superman he truly is! You skill workers can learn a lot from this!"
This is the person to ask: https://twitter.com/abhinemani
Those are definitely good use cases, yup. There are a few things I can do to increase the value of this part (or similar ones), and in general the high end cycling market tends to require a lot of 1) lightweight structures, which additive is good for, and 2) customization.

It's also worth thinking about this in context: Even without offering any customization, the cost to buy my part in batches of ~40 actually works out pretty well (caveat: this is a decidedly high end bike part). With forged, machined, and composite parts, that's an extremely low purchase quantity; in most cases, you'd never come close to amortizing the tooling & setup time.

That said, I'm definitely interested in exploring other products, and new business models for how to sell them. This part is just the first step in that process :)
MongoDB Indexes Explained
The Role Startups Are Playing in Modern Society
Where are they? In the scaremongering imagination of pop writers and lobbying scientists. Last time I checked there was a <3% leukaemia bump after 'the worst nuclear disaster in the world'.
Some (eg. Thiel) are even arming these states in return for lucrative subsidies.
> And so you try to influence other people, and in particular other women, to do what you want them to do.

No, we try to influence you so that you wouldn't influence women to do what you want them to do, even though you may be doing this subconsciously.

> Not science

The science part is that we've uncovered the current influences, their origin, their development and their mechanisms and they turn out to be quite onerous.

> No, I’m in favor of allowing, and helping, all people to do what they want to do (as long as it doesn’t harm others). I’m against controlling people to advance any agenda.

So are we! Except, we are interested in how the world actually works, so we've spent a very long time studying it, and it turns out that society is not allowing (and certainly not helping) people do what they want to do, partly by making them want things that they wouldn't otherwise want. So we actually want the same thing, but we know more about the world than you do, hence our course of action to achieving that goal is radically different.

At this point, however, it is clear to me that there is no difference in values between us, but what separates us is a vast knowledge gap (I spent some years in graduate school studying certain aspects of this issue). I only hope that, one day, if you are truly sincere about your professed ideology, you will care about it enough and be blessed by intellectual curiosity to stop and ask yourself, "a lot of educated people who have spent years studying human society are saying that we are actively limiting women's choices (perhaps subconsciously) in a way that reduces their power; could they possibly be right?" and then you’d Google for it, read an article or two, and realize that you have been very, very wrong.

I’ll end with this Rebecca West quote: "I myself have never been able to find out precisely what feminism is: I only know that people call me a feminist whenever I express sentiments that differentiate me from a doormat."
Children with deformations are born every day.
Offshore and Banking – Startup and confused?
I drove gas cars for about two decades, and owned them for about one decade. I've only been doing the EV thing for about half a year. So it's not like I don't know what I'm talking about here.

No, it's not a particularly big deal, but it's a constant low-level refrain. If I'm leaving in the morning for something time-sensitive, do I have to build an extra ten minutes into my schedule for a gas stop? What if I haven't been paying attention and discover fuel is running low when I'm on the highway and the next exit is in 20 miles? What if I pick the wrong street corner and get gouged? (The closest gas station to my house charges $2.49/gallon right now. While driving this morning I passed a station not too far away that charges $3.49/gallon.)

Filling up your gas car from time to time is not difficult. But it is something you have to think about from time to time. If you don't think about it, you'll occasionally find yourself having to make an unscheduled stop somewhere. It's small but non-zero. An EV is easier.

I don't think it's a particularly big deal. It's a nice convenience to have, but it wouldn't make or break the decision for buying a car. But I think it's a useful counterpoint to people who talk about how difficult or inconvenient charging is. 99% of the time it is easier than gas.
Koka – A function-oriented programming language
I try to put in 15 hours a week max (4-5 hours a day, 3-4 days a week), so you're way outperforming me :)

The first 10 years of my career were spent trying to work more and more hours to make more and more money. These days I try to work as few hours as possible while still maintaining a decent standard of living.
Nobody is talking about conspiracies here - just that this decision demonstrates Google's priorities.

Isn't your willingness to throw your colleague under a bus like this just as much a statement about Google culture as the original post?
It does seem like the ultimate downer: The universe itself will die a horrible, awful death and there is nothing you can do.

Go curl up in a ball and die :-(

I want my BLUE PILL!
No the WHOLE POINT was Linux is coming CLOSER to each other and SystemD is ONE example of standardizing in the general Linux community.
MS (or anybody else) doesn't get to violate first sale doctrine[1] simply because they don't trust their customers. Once consideration has changed hands for a copy of Windows, MS loses all control. The customer can do anything they want with their copy, except for a few areas covered by other laws (i.e. distributing another copy would make the customer liable for copyright infringement).

If Microsoft is disabling a legitimately purchased copy of windows - or accessing it without the authorization of the owner - that could be a violation of the CFAA (or other laws; ask a lawyer).

Trying to say the customer somehow authorized all of this by throwing a contract of adhesion at the customer after the purchase has been made is almost certainly not binding, and is explicitly illegal in some jurisdictions. It's patently not a contract as it lacks all of the required elements.

[1] https://en.wikipedia.org/wiki/First-sale_doctrine
Picking the Right Color Ramps for Maps
> No, not at all.

> The statement was mostly about Google scraping data and not linking back

That's been somewhat the narrative around here, but that doesn't appear to be true at all:

> The Statement of Objections takes the preliminary view that in order to remedy the conduct, Google should treat its own comparison shopping service and those of rivals in the same way. This would not interfere with either the algorithms Google applies or how it designs its search results pages. It would, however, mean that when Google shows comparison shopping services in response to a user's query, the most relevant service or services would be selected to appear in Google's search results pages.

http://europa.eu/rapid/press-release_MEMO-15-4781_en.htm

I didn't realize this. I thought it was more wide ranging.
I can see this being a scene in a film (from the article):

'I arrived the next morning to be greeted by two men, with cheap suits and attaché cases, looking like the East German Stasi. They were government officials. They asked, “So what do you want to do here?” I said openly, “I want to take photos here because I’m looking for victims from Chernobyl.” Their answer, “None of these kids here are in any way connected with Chernobyl. You know that malformations can happen anywhere, none of this is connected to Chernobyl.”

Even though it was still very early in the morning, I had a great thought — I had obviously already had enough coffee — and I responded, “Okay, if you give it to me in writing that not a single kid here is in any way connected to Chernobyl, I will pack up my bags and my cameras, and I’ll leave.” And then I said, “But of course, we will need to report in National Geographic that because none of the kids’ diseases are related to Chernobyl, you’re no longer interested in receiving funds from Chernobyl charities.”

P: Wow. Power move.

G: You should have seen how fast they changed their minds. “Oh, there may be this child, and may be this one, and, well, the parents of this kid lived in Chernobyl.” All of sudden the whole situation turned. So in that kind of encounter you learn that you cannot trust officials today any more than you could in the past. It’s gotten better in Ukraine, but Belarus was pretty bad.'
Podcast and audio book tips for the curious minds (August 2015)
> the Tesla does beat the Porsche to 60 mph

I wonder if it would do it 60 times in a row. http://www.thesmokingtire.com/2014/see-how-good-porsche-laun...
Turn the post into a PDF file to generate traffic and backlinks
Your Job as a Founder Is to Create a Product People will Believe
Also, that kid in the back seat should at least be in a booster seat. The seat belt is way too high on him.
Profit tells you how much they can afford to expand in future, regardless of whether they are a for-profit or non-profit.
Palemoon 25.7.0

I do see more than just that message. On http://discuss.flarum.org/ I see a list of links to various posts.
Clickbait title.
tl,dr to more effectively lie to others, learn how to lie to yourself
Yeah SoCal has some really short on-ramps. I'm in Santa Barbara, and regularly see people hit the end of some of the sorter ones at about 35 when the freeway is going 70.
People are always touting the "reliability" of electric cars, but that argument mostly falls flat if you're comparing it to any car built in the last 20 years. Internal combustion engines are incredibly reliable. They require basically no maintenance other than oil changes every 5K to 7K miles, and they'll run for 500K miles with no problems.

If you're having any sort of engine failure in an internal combustion car built this century, someone is being malicious and trying to break your car.

Tesla, on the other hand, has had to recall a percentage of their electric motors because they were ripping themselves apart after 10K miles.

All the other parts of the car - the parts that actually still fail on modern vehicles - suspension, electronics, climate control, brakes, drive train, etc. are more complicated in a Tesla than in a regular car. The tesla has an electronically adjustable suspension, remotely upgradable electronics, climate control that doesn't get to run off of excess engine heat and belt driven compressors, two drivetrains (two transmissions and differentials), and regenerative braking. These systems are more complex than normal and only time will tell if they're more reliable than their legacy auto industry equivalents, but my feeling is they won't be.
Stakeholders? Did Kickstarter suddenly change its spots?
For the record, I first heard the phrase, "it takes longer to get it to compile, but if it compiles it works" spoken about OCaml.

In both cases, I think it speaks to something important, and is obviously not true in any strict sense.

"If you write or edit <language>, with some reasonable practices and trying to get to a solution, the kinds of mistakes you will usually make will be usually caught by the type system."

In my experience, this is marginally more true of Haskell than OCaml, of which it is notably more true than C, of which it is notably more true than Python. With the caveat that much traditional/common practice in C does not satisfy the "reasonable practices" criterion.
if a > b {
// use a
} else {
// use b
}
Maybe give the WP REST API a spin.

Very active development, but needs more real world examples before its ready for WP core.

http://wp-api.org/
Bad product names confuse me
I like this warren buffett's thought experiment :
http://www.businessinsider.com/warren-buffett-on-the-ovarian...

I really want to know what do you think is wrong with it?
YAY! I started on instagram not too long ago... and being forced into the square was my number 1 problem with their service... I think this is going to be great!
Google has the right to make whatever content they want appear when you navigate to their website and type something into the search box. Just like you and I have a right to put nearly whatever we want in our private web page.

They are not a public utility.

If you don't like what you see on Google, go search somewhere else.

If you don't like anywhere else, then run your own web crawler and build your own index.

The world does not owe you a spam-free, ad-free, impartial, quasi-complete search index with a query engine that responds in under a second. Such a thing takes a lot of research and money to produce and operate.
> Haskell monads didn't have to be... one of left- or right-associative. But they had to be the other.

That's very puzzling. I wish I knew what you were referring to!
Maybe you can get a visa that covers a time period instead of a trip? If he's the guy that regularly goes out there once every week or two, and that's a possibe to get a visa like that, I imagine they would. Otherwise, maybe his assistant was frantically greasing the wheels for his arrival while he was on the plan.

Beyond that, the story read to me less like "a funny story about my old pal Sabih Khan" and more like "here's how much of a dick Tim Cook is". If you think saying “This is bad. Someone ought to get over there.” in the middle of a meeting and then later in that same meeting, feel compelled to single out a specific person and ask "Why are you still here?", then you are a dick. Being purposefully vague on the who and the when to then thirty minutes later single someone out for not doing something is a dick move.
I wish more software companies — or, indeed, any software companies — followed the cooperative model. It just seems like such a healthier and fairer way to run a business.
Ask HN: Do you prefer in-line comments for documenting code?
Just curious. I like comments that are on the same line as the code and wondered if others felt the same.
Getting Started with Camo – The Mongo ES6 ODM
"By the end of this year 500 new single-occupancy units will be built and existing homeless resources will be expanded."

Are these units temporary housing for people on the street? What does the path away from homelessness look like in the bay area, with real estate costs and rent as high as they are?

Its hard to see how someone living on the street is going to be able to afford $1,000+ rent just for a studio apartment on whatever employment they can get coming off the street.
It's called "const".

http://stackoverflow.com/questions/3141087/what-is-meant-wit...
> I think you're right and China is just looking to rebalance its currency by drawing the dollar down a bit.

In prep for having the Yuan as a global reserve currency.
A Market-Moving Parade and an Insider Trading Appeal
It has an IAP option to remove ads that you don't see unless you're using features which are new to this version of Solitaire.

I'd prefer it not to have game play interrupting ads obviously (though frankly I've only used it to play Freecell so I haven't seen them anyway), but trying to paint it as a subscription game is ludicrous.
Mind reporting an issue for this? (https://github.com/flarum/core/issues) I can't test directly because I'm using a Mac, but it would be great if we can continue investigating on GitHub :)
The crazy thing is - how did the employees manage to stick around? Did they only hire people with huge lines of credit?
Building an ultra-responsive UI in Meteor with shared code between web and app
The way the little girl's phone sticks to the back seat after pulling out of her hands is just priceless.
Yeah it was a great learning tool. pbrt is a good learning tool, but sadly it already implements most of the basics. Courses at Cornell and ETH Zürich used a small rendering framework called Nori [1], which is a pretty good learning tool. Shadertoy is nice, but perhaps a bit annoying to work in (as it involves a lot of tricks). I guess the best way to learn is to write your own ray tracer, but that takes a lot of time.

The current edition of Physically Based Rendering still uses literate programming, but most of the maths are separated from the code, so you can skip over most of the code. Even if you can't stand I can really recommend reading it, as it's a great book. Shirley's Realistic Ray Tracing is still very useful these days, but obviously it's lacking the state of the art. If you really want to avoid any code you should read Veach's PhD thesis [2] and then some papers on BSDFs [3], shapes [4] and ray tracing acceleration [5].

[1] http://wjakob.github.io/nori/

[2] http://graphics.stanford.edu/papers/veach_thesis/

[3] http://www.cs.cornell.edu/~srm/publications/EGSR07-btdf.html

[4] http://www.graphics.cornell.edu/pubs/1997/MT97.html

[5] http://www.nvidia.com/object/nvidia_research_pub_012.html
Think about it in terms of investment.

Did you go to college? If so, you spent a lot of money in order to grow your future earnings. You invested in yourself.

The government needs to spend on education, healthcare, R&D, infrastructure, etc. in order to grow future income.
I'm surprised to see the Viper in several spots in the top 10. I think of it as more of a muscle car than as known for handling well.
Yup. A long time ago, while working on a project with some particularly gnarly Unicode issues, I got in the habit of thinking in terms of grapheme clusters instead of code points (or "characters", for whatever definition of "character" one wishes to use), and it has served me very well. Combining characters pop up in the most interesting places, often where and when you least expect them! ٩(•̃̾●̮̮̃̾•̃̾)۶

Ruby's unicode_utils gem has a nice implementation of the standard grapheme cluster segmentation algorithm, and Python's wrapper around ICU works quite well. Go's concept of runes is certainly an improvement, but it doesn't handle combining characters out of the box...
Yeah, but do they do the home charger installation free? (I'm seriously asking; I don't know.)

As someone who doesn't have power to his 1927 garage, this would represent a pretty huge cost for me and was a major reason for my choosing the hybrid Fusion over the Energi plug-in.

I mean you just plop out "you charge overnight" as if it happens by magic. Someone has to come and install that appliance. And it's gonna cost money, perhaps a significant amount of it.