skysight-inc/HackerNews huggingface dataset:
lol. Salt Lake City has some of the worst smog I've ever lived in out of Chicago, LA and Atlanta. I remember reading an article about wood burning stoves causing equal pollution to all the vehicles in the entire valley.

http://www.sltrib.com/sltrib/news/56427415-78/utah-pollution...
"One could argue that simply participating in the lotter shows that those kids had active parents, and therefore are self-selecting as the OP stated."

Exactly the point: comparing students with equal motivation and parental involvement, who are separated only by luck, is a convenient way to control for the self-selection bias.
Ask HN: What is a good salary in X city?
Hi there!

Recently, I talked to a bunch of developers in different parts of the US and around the world.

Some developers are happy with $100k salaries, and others need a minimum of $200k because of the city they choose to live in.

Could you please answer the question by naming your city and the ideal salary you require.

For Example:

Berlin, $80k

This will give me an idea of what salary is a good salary for a certain city, because $100k in Boulder is not the same as $100k in NY. At least, that is what I've learned so far.

Thank you very much in advance :)
Not that it isn't true...

...but you're obviously not from San Francisco, because you called it 'San Fran'.
What if your cash is also plastic?

http://www.csiro.au/Organisation-Structure/Flagships/Future-...
Rust supports both synchronous and asynchronous message passing over its channels. It's true that asynchronous message passing is generally associated with actor systems and not specifically with CSP, but it's also seen in many extensions of CSP, and in fact CSP and actor systems are duals of each other.

Rust supports both approaches.
A friend of mine is a public school teacher, and her specialty is special needs children. She also helped organize a revolt in Austin against charter schools a couple of years ago, which led to the replacement of the entire school board in the next election, and cancelling the contracts with at least some of the charter schools in the city. She's a friend whose opinions I respect, certainly on an issue where she is vastly better educated than I, so I was more inclined to listen to her, despite having a relatively strongly held belief that charters and market-oriented solutions were the right way forward for education.

She thoroughly convinced me, that at least in the case of IDEA (the company that was contracted in Austin) charter schools were not superior, especially for the students most in need of better schools.

Her arguments, backed by data (though I'd be hard pressed to find it again, since it's been a couple of years), included pointing out that IDEA schools had performed better specifically because they'd expelled and otherwise removed from their student pool the students least likely to perform well.

This served two goals for the charter schools: It insured their standard test performance would be better, and insured that the surrounding public schools (which are required by law to accept those students IDEA had refused to teach) performed more poorly on average, regardless of how well they teach.

Similarly, the special needs programs in public schools must accommodate children that charter schools aren't required to accommodate, often through exceptions and guidelines built into the charter program by the legislators who have ideological reasons for wanting more privatization of schools, received contributions from the very companies that will operate the charter schools, and have every reason to see charter schools work, at least on paper.

In the case in Austin, there was a pretty wide variety of benefits the charters received that the public schools they replaced did not. For example, a large budget was provided to renovate schools for the charter; when those same school buildings had been in service as public schools for decades, and the budgets were woefully inadequate to keep it up to date. Students obviously do better with better facilities.

I'm still open-minded about the possibility of alternative schools. I hate public school, as I know it; always have, as I was very poorly served by public schools (as a bright kid with a learning disability). But, when the political/economic deck is stacked soundly in favor of the charter school, as it was in the one case I really studied, if they perform about the same or slightly better than public schools, I have to assume that the only benefit is to the corporations making a profit on the schools.

My confidence in market solutions to problems like education has somewhat waned in the face of evidence that the market tends to favor the best students and forgets those that are challenging. I don't know what the right solution is, but I'm mistrustful of the motivations of the charters I've seen.
I found it hard to get into at first and I think that it's mostly the way you go about it. Write about subjects you love, try different ways of writing (e.g. I just started writing stories longform with pad and paper).

Most of all, I think you should write for yourself, not anyone else's approval/recognition. If you can see at least small improvements in your writing over time, then you have success instead of futility. There's a great quote from Kurt Vonnegut about this:

"Find a subject you care about and which you in your heart feel others should care about. It is this genuine caring, and not your games with language, which will be the most compelling and seductive element in your style.

I am not urging you to write a novel, by the way — although I would not be sorry if you wrote one, provided you genuinely cared about something. A petition to the mayor about a pothole in front of your house or a love letter to the girl next door will do."
> You could use Either, but it doesn't give you any guarantee that you'll get a string back

1. It's better not to use strings and instead use a user defined error type.
2. What do you mean "doesn't give you any guarantee you'll get a string back"?

> real error-reporting mechanism should support cause chaining so you can see the dependencies;

Can you elaborate on cause chaining, perhaps with an example?
I started up here, and I ended up here: https://www.youtube.com/watch?v=EOAowiF3y_8

The lead up is a little long, but when the music finally starts it's bliss.

I say, lament all you want. That's fine, some of it is cheap entertainment. But here's the thing, some artists will strive to create at that level, because that level is there, and it's never been more accessible. My takeaway is that the tools have never been greater. The level of access to other people, to grow organically, if not virally, has never been better.

Has this resulted in us discovering greater artists and getting better music created? That would be an interesting article.

@sparkzilla - 'What this means is that anyone with some musical and recording skills can compete against record companies.'

Yes. It's not about being a 'fair fight' but there is a fight there.

@dankoss - 'There has never been a better time to create something new in music'

Totally agree. Let's hear it. Seriously, the response is, bring it. Great music will always draw an audience.
Stripe is adding automatically updating credit cards
Making a static blog with Python Pelican
i can't find your email in profile kindly update it
thanks
It doesn't do scheduling. The do not disturb feature just silences the phone, so text, calls, and alerts don't go through. However, the feature also has an option that when turned on allows a call to go through if the person calls twice within like 2 minutes. So, call once, declined like phone is on silent. Call back immediately, the call goes through. You can also add people onto your favorites list and they'll not be stopped by the do not disturb feature.
They're doing the processing in RedShift, which is a hosted Amazon service, running on Amazon hardware.
I quit (and moved city) a week before the retreat. That was three years ago.
Quantum Entanglement and Spooky Action at a Distance – Video Explanation
>I'd much rather my program explode immediately than risk someone letting the error passing silently because people didn't check err because like "that will never happen".

Note that with java's checked exceptions, we get the exact opposite effect: lazy programmers catching every exception and either doing nothing at all with it or at best, printing the stacktrace and moving on. And it doesn't matter if you're not lazy yourself, the third-party code you reuse will do it.

Then there are exceptions that shouldn't even be checked, for example, you call UrlDecode and specify "UTF-8", gotta catch an exception in case "UTF-8" isn't a valid encoding name!

>try catch block being a bit cleaner

Except when you want to declare a variable and initiate it in the same line, but can't because then it would be scoped to the try block
(group-by :author articles)
groupBy ((==) `on` author) articles

What's wrong with cheating? :P
I'm not sure how they're funded but I imagine it'd be part tax funded and mostly a volunteer effort within communities.
Cloud computing was supposed to be synonymous with the concept of utility computing. Where you can plug into any provider with your app and it just works and you pay a markup on the kilowatt hour so to speak. Until there's a uniform cloud platform, we're not there yet. I suspect we're at least a generation away.
This was exactly the solution we got to. The do-gooders were incensed at the system. Not having to heat it up or fart about at night (once the child is trained) is excellent. And as a bonus, our tap water is very clean, so sterilized bottle and tap water for formula. Refrigerated is even better, well done! Question. Twins, have you ever slept?
You mention that you need to know the framework in order to be able to contribute...

Maybe you just need to get better at understand code you have never seen before.

If it is the case you should try to read more code, understand what it does and why it does it in that specific way.

Since read code for the sake of read code is boring, write code is way more fun, you need a reason.

Right now I am working to a little side project where I am trying to build a community of open source developer and companies so that companies will be able to hire via open source : http://siscia.github.io/open-hire/

In order to build the community of developers I am trying to write high level documentation for popular open source project, more than documentation is a code walk through, explain what is going on and why.

Today it was my first day, but I really learned a TON from a well written python project and I barely scratched the surface.

I would suggest you to do the same, pick any open source project and write high level documentation for such project.

What project to choose is up to you, ideally you should know the language, or at least understand the syntax.

A cool one to do could be, liquid template.

You can find other nice (IMHO) open source project here: https://github.com/siscia/open-hire/blob/gh-pages/_data/lang...

Also, if you are proud of the documentation you wrote I would be extremely happy to publish your work :)

(Feel free to write me, my email is all over the linked page ;) )
You're probably joking, but any cleaning service would do this. Or, spend a lot more money and move into a much nicer place...they'll provide that kind of service for you. A friend of mine, the building janitors come in and take out their kitchen trash.
Ask HN: Best way to put ads on a web app?
Hi!

I am looking to put some ads on a web app I run. What are the best approaches for that?
What are you looking to gain from the switch?

If you love your job, unless it comes with a substantial bump in pay, I wouldn't switch.
For a video explaining how it works:
https://www.youtube.com/watch?v=loI1Kwed8Pk

Interestingly, it is based on an invention of Leibnitz (1600's).
I don't get it. How is "errors are values" different from anything? In what language are errors not values?
I'm in Dallas, and InstaCart isn't available. Google and you'll probably find a few local companies trying to startup. One national chain (I think it's a franchise) I noticed is http://www.weshopanddeliver.com/ Their interface is horrible, but I'll probably start using them next week.
I work in a radiology department. You would be surprised how many people store wads of cash rolled up in their underwear. One patient in particular comes to mind, as he was in for imaging relating to faecal incontinence. It's a close thing, but I'm going to say that cash is more disgusting.
This article is bizarre. I've read it twice expecting an actual solution to null checking basically everywhere and it doesn't actually present one.

I'll stick with discriminated unions in F#, thanks. Errors are values, correct. But it seems hardly any languages actually bother to grok the concept. If your language doesn't provide type safety for ensuring that you capture all resulting conditions then it has failed its job.
Computers Judge Personality Better Than People Do
Isn't this netflix?
The vast majority of psychopaths are not criminals. A total disregard for the thoughts of others, a lack of empathy, can be an advantage. Bankers, lawyers, politicians, even some doctors display aspects of psychopathy.

When you are in hospital after a bad car crash you don't want to be treated by a Doctor who 'feels your pain'. You want that cold and calculating mind to take decisions based on facts rather than emotion. Most psychopaths find their niches.
> Applications have bugs. Pretty much period. [...] I still know of pretty much no examples of a core as large as TeX that is essentially bug free. Care to provide any examples?

Linux. You can run still run a statically linked executable from 20 years ago. Of course, Linux today has many bugs, but if we use TeX's definition of stability we are only allowed to use the features we had 20 years ago.

qmail. Bernstein's bet is still open.

sh, ed, vi, grep, sed, and more of the default UNIX tools provided you restrict them to their POSIX functionality (no Unicode etc).
Post office does this.
Great way to think about it! Running applications in a highly automated way is just so freeing.

I define my server fleet as an AutoScalingGroup. If any machine fails, a replacement is brought online and begins taking traffic automatically - taking only a few minutes. No operator intervention needed.

As a person who once had to recover failed machines manually and individually, it's a beautiful feeling. Not to mention the enormous flexibility of being able to launch additional machines at any time, or automate the scale-up process.
Where in particular in Laos would you recommend? I'm currently in Bangkok for the month, but heading to Laos after Myanmar.
This is from 2003. It explains why the Semantic web won't happen anytime soon. You're welcome to keep trying, though. Sounds cool.

http://www.shirky.com/writings/herecomeseverybody/semantic_s...
This is a cool thought exercise I suppose, the idea of within a program throwing a particular function to an offsite parallel-compute engine. I just imagine it will complicate platform integration & bleed money given that it is in js (plus API headaches abound, as you mention)... If the same concept of dynamic provision/deploy/process/collect could all be done from a Java/C++ app I'd be very intrigued, but I suspect it is already near possible or achieved trivially through AWS APIs, albeit it probably with a manual deploy involved.

I think I remember this concept in Matlab back from when I did some research in grad school -- basically an instance of Matlab can be setup as a compute server, and the parallel processing functions of Matlab code on other computers can portion out work to it. This is the ideal model in my mind.

1. Write high-performance code in any language with some function that should be happening remotely in parallel.

2. Configure AWS to auto-provision the resources necessary.

3. Execute code, have it behave as if it is all running locally.

Really all these things can already be achieved with SOA, RMI, message queues, etc., the trick is just in making it transparent to the programmer so there is no deploy step involved. With the right spec it could even become platform agnostic (change small config file somewhere to target different cloud platform... would be nice to see a JSR about that in the near future!).
Vim Advanced Tutorial Videos
This is common for apartments where I live. They call it trash service.
So many problems with this article.
...
Pop music, and especially pop music on the radio, has its own rules. It's no use getting upset about them.
...

So many problem with post... And if I was following your style, I'd not make any of them clear but just pop a bit of authority, a bit of folksy wisdom and get some factual points.

But I'll just mention - do any of your arguments imply that modern pop hits don't sound the same? Perhaps if everyone possessing the technology to create a song that satisfies the formula perhaps makes even more music satisfying the formula appear? That naturally creating the absolute winning track involves a lot of skill even if it all sounds the same (except to the connoisseur, perhaps?).
Maybe is just an example. If you need to return more error codes, perhaps with contextual information such as message(s), then just define your own discriminated union and use that.
same, here, esp for features that have been with us since DOS 1.x etc very nostalgic
Facebook data know you better than your own mother
I highly recommend taking LSD after digesting this book. Much of it is reinforced by direct experience in that state. Agents and the turf wars among them are made more apparent as the grip of the giant mythical "I" weakens.

Then re-read the book. :-)
Microsoft with GitHub Join Students Developer Pack
LifeFactory is just normal soda-lime glass, AFAIK. They can shatter from drops of a couple feet.
When i searched “pornhub” on Google
FUck!!!! Beautiful images!!!!!!
Not a US citizen, but I was under the impression that the "War on Drugs" was another major contributor to incarceration. Intent to sell (bad) and indeed even possession (harmless?) of marijuana could land you in jail, correct?
Better Than Uber?: Cabby-owned Taxi Coops on the Rise
The Worst Gadget at CES Was My Hotel Mini-Fridge
Rationale for ClojureScript (2011)
It's very obvious that you needed this in life, and it's also very obvious that you need to do it once more to really understand what the experience is about. You tried to shame these fellows a little too much at your own expense, and remember - it's a retreat, not a prison.
I don't know the inner working, but why couldn't they modify codeplex for their need? Why embrace github? or git?

To me, it doesn't feel like a natural evolution at all, in fact it feels more like a sign that MS is embracing the open source community. So they can focus their energy on what's important, developing their software and maintaining good connection with the developer community.
Being a practitioner myself I am happy about the hype about Buddhism. Yet, people seem to overlook how manifold Buddhism is. Vipassana 10 day retreats are for folks who can truly "benefit" from strict rules described in the post. In my opinion, not many people do and luckily Vipassana is not the only way to do Buddhist meditation.

In Vajrayana you can look in each others eyes, have sex and eat meat every day. Also, the meditation rules are more up to you. It is for people who can handle everyday distractions and "use them" to deepen experiences gathered in meditation. For instance, if my boss is somehow behaving in an angry way, I try to imagine a golden Buddha over his head which will change my attitude towards him and as a result my outer reaction. This is how I apply that "all beings are Buddhas whether they know it or not" - an important meditation-object both in Mahayana and Vajrayana. (This is quite strong compared to the meditation object in Vipassana, which is "just" the breath.)

I do not want to say that Vajrayana is better than Vipassana, but that it is better for me and better for a different kind of people.

(btw. meditation cushions should cost about 10$; 80$ is really a lot)
Again reading the form,

While I (partially) understand the current context of harassment and SWATing, the mandatory parts that could help provide private informations are the emails and full name.

I also considered that the statement is also an blanket statement in case the reporting has to go further and contact needed to be made in case the issue would go to legal.

Not that I am defending cloudflare in any form, but the liabilities where probably waived when the person clicked on the submit button (which is way better than most website saying that you accept their TOS when you browse on it, or even hide the TOS and acceptance far away, because well nobody is interested in reading it)
7 Futuristic Predictions from 1968 That Came True
I'm thinking of the lacrosse thing, where 88 faculty members publicly turned on four students without trying to figure out what the facts were.
Go's error handling is only a problem because of other missing features...algebraic types and/or generics. With either of those features, you could implement two-track, functional composition with a single bind method. That would go a long way towards only having to write your "if err != nil" once rather than once per function invocation.

Alas, the lack of those other features leads to articles like this one that offer unnatural ways of avoiding something that is pretty much idiomatic in the language.
I did three Vipasana retreats back in the 90s in the Shelburne Falls, MA. center.

The OP kind of glosses over what was for me, on my first retreat, the single most enduring issue: physical pain. Yes, all experience is transient, but that drill driving into your knee is constantly impermanent, as in, not much respite (btw, doesn't matter how you sit, cross legged, kneeling, or in a chair, when the body is made still for @14 hours a day, der pain cometh ;-))

Escape in day dreaming, meals, and sleep is par for the course, as is going to your room to meditate (forbidden, a monitor would come and bring you back to the hall), and doing yoga, thai chi or other practice to break the monotony/limber up the sore joints.

Saying that, if you've got time and are of sound mind (have to sign a waiver to that affect), go for it, it's a truly unique experience -- things are not as they seem, the concrete you that you thought you were, doesn't exist, at least not permanently ;-)
Would you expect "install" and "Install" to be the same name? In most languages you'd be right to, but if your FS were using the Turkish locale, you'd be wrong[0]. So now we need to stamp a "locale" on the file system to avoid problems -- but then how do you carry that over when you're e.g. unpacking a zip you received from a Turkish person and your own file system has a different idea of what characters are the same or not? (I suppose I should say "glyphs", but even that's quite iffy in unicode terms.)

I'm not sure that having such a fundamental thing as whether two file names are the same be dependent on such complex things as unicode, canonical forms, etc. is a good idea.

I won't comment on whether it's more user-friendly or hostile -- I have no data to back that up anyway. It's ridiculously complex and that's what I would base my decision on. At least using "a string of bytes" as the file name is simple conceptually and pretty hard to get wrong.

[0] en.wikipedia.org/wiki/Dotted_and_dotless_I
I've never understood why people treat meditation like they're cramming for finals, trying to fit as much as possible into a brief period. That's not going to help them incorporate it into their daily lives - if anything, it trains them to think of meditation as something outside their ordinary experience.

If you're at all interested in all the mental and physical health benefits of mindfulness, you do not have to go to this guy's extremes to get them. Try getting started with a guided meditation like Headspace (www.headspace.com) instead. Ten to twenty minutes a day is all you need, and it's great stuff.
Born tester