skysight-inc/HackerNews huggingface dataset:
I'm guessing the reason was that this was born out of a hackathon. E-greedy is likely the easiest algorithm to implement for a MAB problem like this. Given that they mention there's an API to specify sort order (assuming it was on a per-view basis), the specific algorithm could be swapped out for something smarter.

I think a contextual bandit algorithm would be interesting in this case, although I wonder if there would be enough data behind photo swipes to back each context meaningfully.
Robert De Niro learns how to use Snapchat and it's hilarious
Isn't that a loader configuration issue? You can use different loaders in production vs when debugging.
In the previous discussion on Rust Fireflowers
https://news.ycombinator.com/item?id=13272474

One of the successful stories with Rust I read
https://users.rust-lang.org/t/success-story-new-rustacean-be...

In other blog, there are benchmarks that Go outperform Rust but I believe the Rust code didn't use buffer read.
http://126kr.com/article/5cikidl5bhe
Rust Fireflowers
I'd recommend walking into a couple homeless shelters, volunteering there and getting to know the user base. I'm sure you could get some face time with a director or staff there and ask them what they think about your ideas. I bet they will have a lot of feedback for you. One of their primary jobs may be to connect their clients to the community and each other -something you are trying to do too.

I have spent a fair bit of time in homeless shelters and working with immigrants so I'll share a bit of my experience there. I bet more homeless folks have cell phones than you may think. If they are in an urban area, they will likely be able to get access to the internet via wifi. A number of homeless I have known have a cell phone with apps and use it for texting, but don't have a phone or data package.

If you're hoping to connect homeless & refugees to jobs, then you'll need to connect them to the established community and not just each other.

App or website ... If it's a social app, is it something they'll need connectivity for all the time in order to use? If so, then you could probably go either way. If they could technically use features of the application offline, then you could go the app route.

I've done a lot of volunteer work in this area so I'd be curious to follow along how you're doing if you have things to share.
As a child, we recall many an hour stuck on the Van Wyck. My aunt worked at JFK and my mom and I would pick her up sometimes.

Literally, any time of day or night could be an epic traffic snarl. The worst was when I was stuck on a school bus in the 80s for 4 hours on our way back from a field trip when Gorbachev was speaking at the UN.
Efficiency Is an Excuse to Not Do the Actual Work
Southwest only sells tickets directly (another way they keep fares low) and they don't share flight data with Kayak/Priceline/etc..

If Southwest covers your route, their fares are almost always going to be competitive with the lowest price. Where Southwest is not good is when you have longer flights (cross country) which will almost always entail stops and or changing planes. But it is great for short stuff like flying between OAK/LAX/SFO/PHX/LAS.
However, plenty of white-collar crime has physical effects. More than a few embezzled retirement funds have led to suicides, for example.

How do you tell someone that a store clerk robbed at knifepoint is much worse than having their retirement nest-egg evaporate because of someone they haven't even met? Serious white-collar crime should be pursued and punished much more than it currently is.
These are photos from Cassini spacecraft's set of 'Grand Finale' manoeuvres around Saturn - this article has a good summary http://www.abc.net.au/news/2017-04-28/cassini-sends-back-clo...

The images from the initial link are the newest raw images taken during the flyby which happened about two days before. Possibly the closest images ever taken of Saturn.

Google did a great doodle too https://www.google.com/doodles/cassini-spacecraft-dives-betw...
And when you say "property", you mean "intellectual property", right? Those are some pretty different things, you know ;-)
Let's see:

There are 640 acres per square mile. In the 25 or so square miles around where I live, there are maybe 4 people per house with one house per acre for

4 * 640 = 2,560

people per square mile.

The land area of the US is about 3.797 million square miles. Since the land area of India is 1/3rd of that, the land area of India is about

3.797/3 = 1.266

million square miles.

Since the population of India is 1.3 billion people, the population density in India is about

1.3 * 10**9 /
(1.266 * 10**6)
= 1,027

persons per square mile.

That would be the population density everywhere in India if the density were uniform. In that case, septic tanks would work for all of India much like they work for all the people within a few miles of me.

But likely the population density of India is not uniform which means that some areas of India have population density less than

1,027

persons per square mile, and in those areas, and likely more up to a density of about

2500

persons per square mile, again septic tanks and drain fields should work well.

For people in India who walk out at night to use the woods as a toilet, as in the OP, then if only from the woods there should be land area for those people to use septic tanks.

I'm not suggesting septic tanks for Mumbai or New York City.

Hmm .... On second thought, given my view of New York City, maybe I'd like to see everyone there using septic tanks, especially all using the same tank, a small one!

Naw, then too many of them would want to live in my neighborhood -- no thanks; I like my current neighbors!
It's worse than that, a lot.

Let's just assume that uber has some google technology. If they completely fire levandowsky, then he effectively becomes a third party in the case. Given the choice, google doesn't care about him, they care about uber beating them to market with their own tech. Google could drop him from the case in exchange for aiding in an uber loss. uber has to keep him close and happy, whatever that means...

Now if Uber really hasn't done anything wrong, and they may not actually know, but if we assume they are completely innocent then he can't directly hurt them if they fire him, he might sue them or collect a golden parachute but it makes uber look better.
> If I need to load 1000 rows from a database and splash them on a webpage, will my response time go from the 300ms it takes without asyncio to something "more performant", like 50ms? Answer: no

Well, actually, yes. Without async rendering, your webpage is not ready until your 1000 rows of list is placed in Python memory then rendered to HTML as a whole then returned to your browser after like 300ms of server cost.

With async rendering, your webpage's headers and such can be returned immediately, thus your first-byte-to-response time can be done under 50ms, and your page loads by enumerating the rest of 1000 rows and renders the page incrementally.
Nomad [0] does some of this already:

* config file for resources.
* It does log capture/delivery mostly.
* it does chroot exec.
* it handles network ports, file paths, etc
* handles batch workloads.

It can't handle the load balancer piece directly, but if you use the consul tie-in, you can make it work, since it does service discovery, and then something like fabio [1] /traefik can handle load-balancing.

[0] https://www.nomadproject.io/
[1] https://github.com/fabiolb/fabio
[2] https://docs.traefik.io/
The actual Facebook white paper was submitted a few hours ago:

https://www.facebook.com/notes/facebook-security/making-face...
Just like the old saying, "you lose 'em how you get 'em."
I'm a very happy injector user, nice close shave, minimal plastic waste. My only complaint is that the blades are expensive compared to double-edges (still cheap compared to cartridge razors)
Up to 10k in vouchers. I don't even know how someone with a non-travel job would use that many coupons in a year.
I think the algorithm solves the problem of which photo, out of a set of photos, is the best one to show. So nothing has changed regarding the mutuality aspect, only which photo of the user is their best photo based on data collected from past swipes. In other words, they're continuously rotating through a user's photos, trying to find the one that gets the most positive feedback and showing that one more often than the user's other photos.
Please don't.

https://news.ycombinator.com/newsguidelines.html
I'm more talking about the exception behavior looking at e.g. https://wandbox.org/permlink/S5paK3Z9NpeCv3I0 (which exhibits the same bug). I mean you're right, and the fact that the User object is temporary should presumably not keep the first Resource destructor from firing, just it seems weird. I guess in my defense, apparently it seems weird to GCC as well.
Rising up from closing down: Surviving and thriving after a store shuts its doors
A Wrinkle in Time (2007)
It isn't a simple auction. Not all passengers are equal. There are issues that make an airline not want to bump some passengers. For instance, on some international flights there are rules against unaccompanied baggage. So the passenger without checked luggage will be bumped in order to save time. Passengers travelling in groups are also preferable as they will more likely share a hotel room. That's why families get bumped so easily. And then there are connections. The passenger who will miss subsequent connections is an expensive person to bump. This seems to have been the case in the United fiasco. The man was travelling in a group (his wife was with him) and didn't have any checked luggage, else we would have heard about it being offloaded or returned to him in hospital, and had no connections to make. Such complications go beyond the simple cash payout, making a strait auction difficult.

Want never to be bumped? Travel alone but with a pet in the hold. They won't touch you. Or travel with someone in a wheelchair. They are also an expensive awkward person to bump. As I said to one gate person: "We cannot be bumped. My grandmother only has pills for the next 12 hours." That lit a fire under them. Grandma knew to play ball and suddenly looked very much older than she was.
Do you have a github or anything else to try your model?
How much? Well, those of us living in the Pacific Northwest just went through the wettest, cloudiest, gloomiest winter in our history.[1]

But if someone gave us perennial sunshine and all we had to do was become a United hub instead of Alaska? Pretty sure I wouldn't be the only one begging to bring the rain back instead.

[1] http://www.startribune.com/soggy-seattle-lives-up-to-name-br...
Many people around the world would say the same thing about the lifestyle enjoyed by the average commenter on this forum, but most of us don't think of our incomes that way. The average American does not need to live in the home size that has become desirable; they do it because they can.

You can't set an arbitrary limit on when money ceases to be motivating. At $100M in net worth, you no longer need to compromise on a lot of things that people with a $1M net worth have to. But at a $1M net worth, you also do not have to compromise on a lot of things that people with a $100k net worth have to, and so on and so forth.

If I had a net worth of over $100M, I'd probably still do things that increase it. That doesn't seem any more inherently greedy than my seeking to increase my net worth now, when it's orders of magnitude lower. I'd do it because it's what I know to do, and because more resources is rationally better than fewer resources.
People felt like UAL’s decision to get the police involved made them primarily responsible for letting the situation get out of hand. And then after it all blew up, they failed to take a compassionate position for the passenger, and instead stuck to their “we get to throw anyone off our planes for any reason with any amount of force” story.

So yes, it’s kinda not 100% their fault, but it’s at least partly their fault, and they didn’t have the good sense to fess up to it until it was too late.
> "If you develop on linux and run on linux and you’re in a deploy-as-source language, you may not care that much about repeatable builds."

If you develop in Elixir or Erlang, there's an additional issue that containers (such as docker) tend to interfere with hot code reload.

There are work-in-progress solutions (such as Elixir Distillery) that emphasize turning your app into a single package which can be deployed anywhere.

Even if you don't use Elixir, you may enjoy seeing how the Distillery packaging system works, and how hot code reload works.

A good intro is http://www.east5th.co/blog/2016/12/26/deploying-elixir-appli...
> That far out from the sun the only realistic pictures would be shades of black.

You realize you can see Saturn with the naked eye from earth right?
But how could Public Mobile afford to offer such a good deal?

Presumably they were onselling another companies network, why would that company sell their own network so cheap?
Probably isn't always easy.
Thank you.

I have no problem with that, it's the professional wedding videographers that are getting shots close to the ground that is irritating.
My reflex is to go the Quote Investigator first whenever I see a quote I would like to share. If I don't find it there, then I rather not reshare it.

Yes, the site doesn't cover all quotes. But the large number of mis-attributed quotes I've seen shared has made me conservative in what quotes I reshare.
That page return 500 error.
Here is archive
https://web.archive.org/web/20170215034605/http://rion.io/20...
That would be the end of NYC. The inherent tension between NYS and NYC is one of the things that makes the city so powerful. Changing the dynamic to a North Jersey/Westchester/Rockland/Long Island/NYC block would kill the city.

Hopefully some events tip the political scales, as the open hostility of the Federal government will cause irreparable harm.
Or a detective investigating situations in which a favourable outcome means you make boatloads of money.
How do you "take additional jobs"? Companies just don't reply to me. I was able to earn $500 USD to buy my plane ticket to Taiwan because I posted my code about an offline cache of stackoverflow, and someone contacted me to let me do a small project for him.

The UK will not give me unemployment benefits, because I'm a citizen by descent.

This was the story of that job search. I have a job now, but I want to make very clear that it wasn't because I didn't try - it was luck and connections, not qualifications, that helped me.

http://peterburk.free.fr/jobsearch/all.html
I get bug reports like that from our QA team! The people whose specialized job it is to report bugs write one line bug reports like "<Feature> doesn't work". No stack traces, no environment information, no steps to reproduce.
I don't think there's any reason to be passive aggressive. If you give users two options they'll choose the one that's worse for you and worse for them. :)
Sergey didn't have an equally large gorilla of a company backing him up...
Related to this post "A Hedge Fund Manager Who’s Shorting America’s Malls" ~ https://news.ycombinator.com/item?id=14209161

"'I think more and more people are choosing to spend their money online and my observation is now we kind of stay home and shop and we go out and eat, which when I grew up it was the complete opposite,' she said. 'Once you've had … a great online experience, I think you're quickly converted to 'well it's easy, I'm time-poor', it just makes sense to the average consumer today.'"

Interesting because this is play by 'Shoes Of Prey' [0],[1] from online to a real store has not worked out. The economics of building an offline store did not work out.

Reference

[0] https://fellt.com/2014/07/shoes-of-prey-and-jodie-fox-the-st...

[1] https://hn.algolia.com/?query=%22shoes%20of%20prey%22&sort=b...
That's a client streaming optimization, not related to the subject at hand which is non-blocking network IO. Assume the service returns a JSON structure. It won't get to the end any faster.
> 7. If you are given a choice, you believe you have acted freely.

Dan Ariely has a great talk on "decision illusions"(1) that goes into more depth on this topic. He starts off with visual illusion as a metaphor for rationality:

"So if we have these repeatable and predictable mistakes with vision, which we are so good at, what's the chance we don't make even more mistakes with something we're not as good at?"

(1) https://youtu.be/9X68dm92HVI
Here's an example of the lyrics I'm studying from:

https://pingtype.github.io/KHOP/index.html

https://pingtype.github.io/index.html?chineseFile=KHOP/Might...
You can distill it even more than this. All we ever do as programmers is take some kind of data as input, process that data, and return new data as output. This is true for all software: websites, mobile apps, video games, AI, operating systems, embedded systems...ad infinitum.
Nothing new under the Sun. When I was getting my C.S. degree in the mid-90's I worked at the same time for the C.S. department as an SA. (Actually, they called us sysops at the time.) Anyway, I saw all the help requests that came in from students and faculty. These are C.S. students and faculty mind you. It seemed the further along someone was in their C.S. education the worse the help requests would get.

My favorite, which was particular to a certain nationality, was this one (which we got quite often):

"The Internet is down. Please do the needful."
"He and a team" - I'd be curious to see the extent of his technical contribution, given that he's billed as the team leader and seems to be taking a lot of the credit here. In my experience, 'team leaders' who end up with the credit for the finished product do so because they spent all their time self-promoting rather than actually, y'know, building the product.
The word spacing program is now uploaded here (but only works for traditional characters; I'll submit it to the main page when I add simplified).

https://pingtype.github.io
Dollar Shave Club is a marketing engine, Dorco is not. Few people order from Dorco because few people know they exist.
This is terrible for sure. I wonder how common it is compared to women who decide they want a child bad enough to 'forget' to take their birth control.
Why does he get all of the credit for this? He was part of a team.
Wow, amazing how consistent the crowd's impression are with my own, based on those tiny pics. We are prejudiced bunch.
Their other products are 3 to 4 times more expensive than perfectly reasonable options available at any megastore.
Doesn't seem relevant to HN.
I love Machine Learning. I think it is one of the biggest breakthroughs of this decade.

The Big Data + Computing power recipe is something that I thought will bring sweeping changes to society. But with Amazon's Echo look, and now this, I don't know if I'm ok with where this is going.

I thought it'll help us in fields like architecture, physics modelling, medicine, but they all seem to be on paper. OTOH, uses like this seem to be the ones that actually come to market and make the best use of the Machine Learning talent.

Maybe I'm being cynical, but please someone prove me wrong. Am I missing Machine Learning being used in new applications in the market, or is the situation as I see it is?
Cloudflare Introduces Orbit – A Security Layer for the Internet of Things
That's atrocious. Deceiving someone into having unprotected sex is rape.
Well you can do all of that sync, can't you?

def on_connection:
send(headers)
send(start of page)
for row in db:
send(row)
send(footer)

will have the exact same effect as what you said (not like that applies regardless, I don't think jinja outputs partial renders, since its made for flask)

The performance comparison is between python managed green threads, and OS managed actual threads. You don't get any new features
Show HN: Get more followers and engagement on Instagram
From another comment, there are some: https://www.google.com/finance?cid=431242 and https://www.google.com/finance?cid=656855

These might be too narrow for his purposes though.
Java Clean Code – Constants
Some scammers on Facebook have seized on to my aunt's name and image as the front for their operations. As family, they friend us from fake accounts on at least a weekly basis. Despite reporting these fake accounts more than 100 times, I got a new one today. They ask me for feedback every time I report an account. They are not getting positive reviews.
Based on this experience, I'm not optimistic in their abilities.
How is this a "trend"? Just date less-shitty people.
Not using ReSharper anymore. I absolutely loved it when I used it though. I'm not sure if I caused any problems or not, but I'm not taking a chance anymore.
Exactly. People routinely get jail time for three orders of magnitude less fraud.
No real opinion about anything in the article except the use of config files.

After using Consul, I never want to go back to config files again.

https://www.consul.io/intro/
There were years where airlines were only making around $200 per flight. Not per person, PER FLIGHT.
I haven't taken much CS, but I took a class on computationally intensive statistics. It changed my life, because every week I was assigned to do things that we hardly covered in class. I felt so lost for while, until I got the hang of the stuff described in this post. It's really empowering. The only constraint becomes time, not intelligence.

I always find it sad when people are impressed that I "can program." Not only because people tend to think of it as binary when it's not, but because they think programming, like math, is the exclusive domain of people with certain inherent qualities.
Ask HN: Has Facebook blocked posts about the protests at UC Berkeley
I got a message on facebook stating that facebook has blocked the ability to share posts about UC Berkeley. Sure enough, I am unable to share that post...
And so does the incentive to try shenanigans that break the simple model of the game.
Amazing time-lapse infrared film of Oregon
I've heard reports that a non-trivial percentage of their accounts are fake. I share your lack of optimism, though I also wonder how hard they've really tried until now.
Yep. There are any number of ways that C++ could have supported RAII without requiring either exceptions or a lot of unnecessary hacking, but they didn't.
Every single airline does this. In part, because people would often book returns because they were cheaper than one-ways.
I'll bet if you asked most people what they would prefer less, getting beat up or losing $500 million, the would answer the latter.
I really disagree with this. I work on compilers, so I feel for the people who work on GCC, but, I think it is totally unreasonable to expect the average GCC user who might have encountered this bug to be capable of fixing this themselves.

I hacked around in clang for a bit for a compiler project. I think it would have taken me weeks or months to get to the point where I was able to fix the equivalent bug (if it existed) in Clang. Compilers are big, hard to debug projects. And, IMHO, the Clang/LLVM code is much more approachable than GCC. Not all developers are hobbyists that can afford to detour from their work for weeks or months to ramp up on GCC to fix this.

I'd also point out that this is the kind of bug that could exist and be triggering in a lot of code as we speak but no one (besides the author of this blog post) have caught it. I think it's insane to ignore a bug like this.
Yes and no. An FCU I'll leave nameless, has for years been selling their member mailing list to "partners"... some of whom then send mail that tries very hard to look like official FCU correspondence outlining benefits, and is actually an otherwise unaffiliated life insurance sales exercise. A sign-up scam. The FCU has been ok with this for several decades now.