skysight-inc/HackerNews huggingface dataset:
Rather, (in Go) errors are values that violate type safety and destroy any correctness guarantees the compiler makes.

Languages like Rust and Haskell do this right. Both make heavy use of optionals for failable functions, and Haskell's support for HKTs (and therefore Monads) allows awesome stuff like Maybe or Either chaining.

Monads allow you to write code that, syntactically, looks like you're not doing any error handling. In reality, the error handling semantics are baked in at the Monad level. This makes sense, because error handling is usually very repetitive (e.g. "Check if the function we just called failed. If it did, return early. Otherwise, keep going." ad infinitum). As a (pseudcoded) example:

parseTimeString :: String -> Either Error Time
parseTimeString string = parse string $ do
hours <- readHours
semicolon
minutes <- readMinutes
semicolon
seconds <- readSeconds
return (Time hours minutes seconds)

If any of those steps fails, the entire computation will stop and the error message will be returned. This is roughly equivalent to checking for "nil" (in Go) after every function call, except you don't actually have to do it. This is defined in the code for the Either monad, which is at https://hackage.haskell.org/package/base-4.7.0.2/docs/src/Da... . As you can see, it's 4 lines of code.

(Side note: this is pretty much how you write parsers in Haskell using the Parsec library)
The Interval bar also has a small-scale model of part of the clock. But it's not working.
If you can keep from breaking it, lead-free glass.
From Mainframe to Smartphone: What an Amazing Trip It's Been [pdf]
And that's fair. The employee should be able to seek employment anywhere of their choosing. What is being discussed is not the same situation that went on with the major tech firms. In that situation we found out that the tech firms wouldn't hire each others employees regardless of situation.

In a hypothetical situation where you have two companies, lets call them Company A and Company B, who are in talks for an acquisition. If Company A is huge and is potentially an acquirer then Company B would be it's acquisition target. Company A is going to learn a lot about Company B to consider purchasing them. Company A could walk away at any time with all the salary information of Company B's employees.

Company B should have the right for protection in such a high risk situation. A non-solicit agreement that covers employees would prevent Company A from approaching, with the intention of hiring, Company B employees for a period of time that both firms agree upon.

Employees of Company B are more than welcome to approach Company A about jobs. Company B employees may even get a raise since Company A would know how much they are earning. However, Company A would want documented proof to show that the employee of Company B came to them. As they cannot approach the employees of Company B during the previously agreed upon period.

The system needs to protect employers like it protects employees. Not everyone runs a high margin billion dollar company.
Old-school medium-format film cameras are reasonably accessible -- you can get a Mayima 6x7 and a meh-okay lens for around $400, and even with a damned good lens can find lots of stuff in the sub-$2000 range. It's the digital medium-format rigs that break into five-figure territory -- and it takes a good little amount of film / processing costs to make up for that expense for the hobbyist.

Myself, I'm using my grandfather's old Canon 50mm/f1.4 on a Canon Model 7 rangefinder (essentially the last battery-free Canon) for film and the same lens on a (used) Leica M8 for digital. Nice fast lens, but still in 35mm-land.
What about the fact spotify recommends bad music all the time.
Oh hell no, but real life isn't like a book. The twist doesn't just happen at the end.
You're correct. What I'm wondering is why they used a 1DX instead of a Sony A7S? The ISO range on the Sony would of probably outdone both Canon and the Mamiya.

Taking photos at ISO 409,600 would be pretty awesome IMO.
Something you enjoy drinking from.
True--while most Uber vehicles are black, it's not a requirement according to a few drivers I've queried. The BLACK category indicates a luxury vehicle for which a BMW 5 would certainly qualify.
Every "tin" can I have opened, for as long as I can remember, has a plastic coating inside. I've always wondered what material is being used for this coating. Plastic of one kind or another seems to be inescapable.
A service that sends me a monthly list of ideas that people want, but don't currently exist.
Neil Young talks a lot about how important it was to capture early takes. The newness of the music seems to give it a different character. A lot of his recordings have a fair amount of mistakes. Young calls it "rust". Tonight's the Night is a good example of this.

Miles Davis also had the philosophy that first takes produced the most ingenuity in improvisation.
I know almost nothing about meditation or Buddhism, but I would think that holding on to ideas and realizations so you can journal them is not just cheating "a little bit." It's contrary to the whole purpose of the exercise.
3D Blu-ray to 3D Video Converter
The question is, what would the worth of Google be, if they had taken the money?

It's hard to know, but I have a hard time imagining Google taking over Excite and taking the same trajectory that it did as an independent company.
OT, but if you screen is a certain multiple of pixels, the social media stuff on the left-hand side overlaps the text I am trying to read.
Calculus interactive explorations
Most of the lottery evidence suggests that the gains from charter schools are largest for students that that are more disadvantaged (limited english, learning disabilities, and low initial test scores). So while these studies only give causal estimates for students that apply to the lottery, it's quite plausible that average effects would be even larger if all students were included.

Source: http://users.nber.org/~dynarski/kipp_may05_2010_web.pdf
A selection of meditation resources for hackers:

OpenEEG (http://openeeg.sourceforge.net/doc/)

OpenSensors (http://sourceforge.net/p/opensensors/home/Home/)

Brain Refactoring (http://www.amazon.com/Code-Complete-Practical-Handbook-Const...)
> that's once per 30 or so lines. 2 or 3 percent of the code ... I really prefer the Java "force you to catch exception" model much more to this.

And that 2%-3% doesn't include where errors should have been checked but were not. For instance run programs without stdout ("./program 1>&-") and most Go console programs will just happily write to nowhere whereas almost all Java ones error out immediately. Closing stdout doesn't often matter, but sometimes things like this are important.

I don't understand how in the 2010s it's okay to make a language with worse reliability. And worse "JavaDoc" equivalent. Go should be better than C and Java in every category and it's just not better in way too many.
> somehow they didn't see we could earn just as much, if not more, by keeping all the equity and just keep working for ourselves

Yes, that was exactly the message that I was hoping you delivered with a sledgehammer, because I would have guessed that their reaction would be telling.

Anyway, kudos to you and your team for making (imho) the right call.
That's a good one. Remember UberCHOPPER (just USD 3,000 from Manhattan to the Hamptons) with Blade? They had a promotion to have a smart AC unit delivered for a flat fee during the summer 1.5 years ago, if I recall.
I think that 'good' businesses, or at least 'good' senior execs, care about more than the bottom line. Note that they still care about the bottom line because, hey, they have to make payroll.

But there are businesses out there that care about more than the bottom line.

'Good To Great' and 'Start With Why' are good books that document such businesses.
I'm sorry, but your comment wasn't clear. What assumption am I making? I mean, I'm sure I made several, but which do you think needs to be evaluated/supported?
List of resources to learn ECMAScript 6
In case you haven't noticed, we have surrounded ourselves with chemicals that our bodies never evolved to deal with, and the list is growing. And as a society we are still dealing with chemicals known to be dangerous. Take asbestos as an example. Everyone knows it is bad, and yet you can still find in the walls of old school buildings, houses, and places of work. Worse, the ban on asbestos was lifted in the USA allowing for materials to contain up to 1% of it.

Someday we as a society will hopefully wake up to the dangers we put ourselves through. I continually find it amazing that human lifespan has gone up, not down.
I would not be so sure Rob Pike knows about Maybe and Either. How would he?
How to Kill Insects with Visible Light
specialized bike bottles use a glass like interior coating that has shown no leaching in some tests.
It's amazing how some phrases that start out as completely negative eventually become valid excuses.

"Best and Brightest" is another phrase that took a weird turn. The original [1] use from the 1970s was entirely negative but people use it unironically these days.

[1] https://books.google.com/ngrams/graph?content=%22best+and+br...
Who actually reads the article? ;-)
Yes, being around successful adults, people that have things show kids that things are attainable, and attainable by legal means. This can have an incredible effect on forming life expectations and goals.
Can you elaborate on wanting for nothing? As in were you spoiled and got everything you want? Or you didn't want to do anything?

I grew up poor. I learned to hear "no." The concept of an allowance was completely foreign. I am a better person for it. I learned to appreciate what I have and I learned creative thinking to invent things to do when I didn't have toys to play with.

I see a lot of people I know now who grew up with everything they wanted- they can seem very empty inside...
Links to the actual study:

Abstract: http://www.pnas.org/content/early/2015/01/07/1417731112.abst...

Text: http://www.pnas.org/content/early/2015/01/07/1417731112.full...

Supporting Information: http://www.pnas.org/content/suppl/2015/01/07/1417731112.DCSu...
It's nice to develop code with the possibility of plugging in LuaJIT though, and the language is indeed excellent - so much in fact that I can do with ignoring post 5.1 features
PyDev of the Week: Doug Hellman
On an intuitive level, it isn't surprising that a chemical so similar to BPA that it could be an "easy" substitute would in fact also share similar harmful effects.

There are early rumblings (e.g. http://www.ars.usda.gov/is/pr/2009/090415.htm ) that there might be something similar going on with the replacement of trans-fats with palm oil. Palm oil behaves similarly to trans-fats, which makes it attractive to industry, but then it isn't too surprising that those same similarities might also make it similarly unhealthy.
Most just seem to treat their kids like they're human beings, which essentially is the "Don't live vicariously through your children" and "don't be abusive" that are sure fire ways to destroy your children's lives, or at least emotional well being.

I mentioned in my post about JK Rowling's commencement speech to Harvard. Most people would consider her a success, but I don't think most people would take being a divorced single mother living on welfare as a great way to become successful.
Modern X86 machines do not quite have strong memory ordering. Loads may be reordered with older stores to different locations. This breaks some of the overly clever "lock free" algorithms:

http://bartoszmilewski.com/2008/11/05/who-ordered-memory-fen...

http://preshing.com/20120515/memory-reordering-caught-in-the...

This whole area is very touchy and easy to get wrong. Further reading:

https://software.intel.com/en-us/articles/tsx-anti-patterns-...
Also, rich kids tend to go to better schools, where they are less likely to be bullied or surrounded by by kids that are disruptive and dont want to learn.
Toilet is a necessary mean for every human being
Love to tell my horror story re: my experience dealing with a Fortune 50 company. Under a NDA til May.

We are an east coast start-up and two months into creating our tech/product a large entity in the valley found out about us. This big name invited us out and talked about buying us. Well we have zero strong connections to such people like Paul Graham, but we did reach out to our network. They said, "I don't know if you should go or not, we've never had a billion dollar company like that make such an offer."

I wish I had found this post before wasting 4k on a trip and filing a provisional patent. We're a bootstrapped start-up.

Well when we flew out/got there to demo, this Goliath treated David like crap on a shoe. They invited us to demo, but when we went to demo at their offices in the valley they were blocking our tech from working(worked perfectly throughout every place we tested in the Valley including outside their building). Then they baited us with, "We'd like to work with you, please tell us how you achieved this technological feat." We took the bait and told them our trade secret. They soon left our meeting, then came back and promptly kicked us out! Right before leaving/being shown the door, one of these not so nice big wigs from X company said, "The race is on, better hurry!"

Ok, there was no guarantee of you buying us. We were cool with that. We weren't cool with being treated like crap on shoe and then stepped on and disrespected! It's hard to fathom that X company treats the little innovator guy as they did us.

Is this the normal?
Yii 2.0.2 released
> Someday we as a society will hopefully wake up to the dangers we put ourselves through. I continually find it amazing that human lifespan has gone up.

That made me laugh.

but yes, it's true.
Yeah, it's a metaphor that gets explored a bit from time to time.

https://www.youtube.com/watch?v=eJuy7LTBJk0

https://www.youtube.com/watch?v=UDB9g7l5srA
just had a look at your site. Why would I use this over a simple IFTTT alert?
PHP framework Yii 2.0.2 released. This version is a patch release which contains about 40 minor new features and bug fixes.
Almost all the evidence is based on lotteries and addresses attrition. Expelling bad students is a potential problem, but students are tracked across schools. Some students are lost, of course. However, the evidence in the KIPP study shows that attrition actually raises the scores of the lottery losers more than lottery winners. This is because winning the lottery encourages some bad students to stick with it.
What stainless bottle do you have? My Klean Kanteens are unlined stainless. If you get the right lid it'll be stainless lined with a silicone seal too.
10 Web design trends you can expect to see in 2015
I think you missed this part:

It's usually a mistake to talk to corp dev unless (a) you want to sell your company right now and (b) you're sufficiently likely to get an offer at an acceptable price. In practice that means startups should only talk to corp dev when they're either doing really well or really badly
I'm not a fan of negativity in hn comments, but some things just have to be said: You and your wife put in "a lot of effort" into understanding how to raise successful children and all you came up with was these three platitudes? "Be rich, well connected and don't beat them". What would you have come up with if you had put in only a little effort? "Don't kill them"?

You have to have learned more from your analysis. Everything you said was clearly correct, and the obvious does need to be stated from time to time. But is there anything else you've learned in your years of experience, something that wasn't evident in the article? How involved should you be in their lives, how do you make the tough calls between extracurriculars, what is the right amount of "balance"? Of all the books and blogs you read, what ideas seemed on target and which were dangerously misleading? Is there a well known parenting role model you've tried to be like? Not expecting answers to these questions, but maybe something closer to this level of specificity.

Wealthy, well connected parents aren't the ones who need help. It's the rest of us with modest incomes and friends in low places who need the tricks and tips. "Don't be poor and be in the right social groups" is the best advice you could give to a startup founder or an aspiring actress or to anyone trying to do anything, and I understand that having the right resources before you begin an endeavor is at least 80% of success. But at least 80% of people don't have access to the right resources and have to make do with what they have, and I was hoping for advice that could be more helpful to them.
I see two assumptions I made with that.

First, that parents more heavily involved are more likely to opt-in to charter schools (or similarly though not equivalently, that parents who choose to opt-in are likely to have been more heavily involved). I consider it to be largely self-evident that parents who are not involved are very unlikely to opt-in, and while the converse isn't necessarily true, I think that fact alone would significantly sway the overall correlation of the "non opt-in" population.

And second, that being more heavily involved leads to better outcomes for children, which I feel is self-evident, and is also highly supported by a quick google search for 'involved parents better students'.
If a tin can has a dent in it, they are not supposed to use it. Always check at the supermarket before you buy them as well.
Polyethylene and Polypropylene.

Same advice as when the BPA thing first came out.

They went back to the old plastics with a different plasticizer than BPA, but it's best to just use a plastic that doesn't need a plasticizer in the first place.
You don't really want photos at ISO 409600 per se, though, you just want photos at the lowest ISO that can get you the necessary depth-of-field for your shot (here extended with tilt-shift lens) at whatever shutter speed avoids being too shaky. And then you want as high of a dynamic range of possible, so you can distinguish the brightest brights from the darkest darks in a single shot.

If you can do that already with the sensitivity you've brought, higher ISO doesn't buy you anything...
Another account of the same kind of retreat, from someone with a less positive experience: http://adamcadre.ac/calendar/14/14292.html
"After a car has been added to the wish list, the select box should default to the first alphabetically available car from the same make".

Doesn't happen. Leaves the make and returns to top make after selection.
>Freedom of expression ingrained in Western culture

Not so much(it is only for things westeros are not emotional of)

http://www.theverge.com/2014/4/3/5578984/mozilla-ceo-resigns...

http://edition.cnn.com/2013/07/02/tech/social-media/facebook...

http://www.nydailynews.com/new-york/john-galliano-fired-anti...

http://greece.greekreporter.com/2014/03/02/greek-doctor-arre...
mechanic = not respectable job,
programmer = high society.
Interesting classifications. Very different from the way I think about these jobs.
http://www.wired.com/2014/11/ikea-bekant-desk/
Agreed. For me, it was an interesting read - I just finished the same type of 10 day retreat yesterday. I'd recommend it to most people. It has helped me establish a solid foundation to start practicing serious meditation and the 10 days without looking at a screen was a much needed break. A word of warning though: it was exceptionally difficult and you need to be open to hearing new language.

One interesting thing was the type of people I met there. After the silence was over I met a nuclear engineer, venture capitalist, computer engineer, neuroscience grad student and various other science/engineering types.
I have a feeling that third link is not supposed to be code complete?
Someway of linking modern payment processors Stripe/Paypal/Braintree/etc to bank accounts in countries not yet supported.
>Isn't that similar to what Google/Apple/etc were doing recently, and were rightfully lambasted for?

Two differences:

* It would be a one-sided no-poaching agreement (or it should be).

* An individual start-up does not have close to the same level of market power as a large corporation so the effects of no poaching agreements on the market as a whole would be minimized.

It isn't the same for the same reason why low cap startups with a lot of competition are immune from anti-trust violations no matter what their behavior.
The dent thing is minor. The only problem with a dent is it might have a small hole - that rarely happens though.

If it happened, the can would be bloated and smell, it would be obviously spoiled.

A dent has nothing to do with the lining.
There is a book by the name of "The Halo Effect" about the same thing in business. It's a great read. It really tears apart all of the business books people rave about.

http://www.amazon.com/The-Halo-Effect-Business-Delusions-ebo...
I mostly search ordered by date (because I often try to find things again and have a rough idea when they were submitted), so I obviously don't see the ranking effect.
Starting a company without a co-founder
Hey everyone,
What is the attitude of angel investors towards people who want to start a company without a co-founder? Any recent experience will be particularly useful. Thanks!
Hot Meals: Zomato acquires food search app Urbanspoon
You can take a look at this one for starters: http://www.quora.com/What-is-it-like-to-work-as-a-software-e...

Having said that I didn't hear good things from my friends.
Where's the kid - or the parent - in all your conclusions?

(On a side note, not all the families in the article hit all the points. The first family was a Peruvian immigrant couple, cleaning office buildings and carrying mail. The third's dropped out of Cornell to become a professional cook. The second-to-last left Vietnam during the fall of Saigon with nothing and worked a series of low-wage jobs.)
Thank you for your reply. I spent $2k for high-quality content and $1k for designs. I expect users to generate content, but right now all of them are just readers. I get traffic from reddit, twitter, etc. Basically, people read articles and that's it. They share content, like it on facebook, etc, but never actually comment nor produce its own content.
Yah, the lining is not good. Try to keep your usage of cans to a minimum.
That can be done by either returning a tuple or providing a way to get a partial value out of your error type. (Result is generic over the error type, so you can add whatever extra data you'd like to your errors without forcing your callers to downcast.)
机器学习日报 2015-01-12 基于遗传算法和神经网络的虚拟生物
I recently bought a 22oz Lifefactory glass bottle. Mostly covered with silicone for durability. It's a bit heavy, but otherwise great.

Only downside is that the cap is made out of polypropylene, but polypropylene is apparently BPA, BPS, and phthalate free. (May still have other issues, of course.)
Source? This sounds very urban legend. Most stores won't sell it as 'damaged stock' but they also reject many other products based entirely on external appearance regardless of whether they are fit for purpose or not.
Airships: A New Horizon for Science (2013) [pdf]
Economics does not, unfortunately; deal with falsifiable hypotheses that can be tested.

And it is at best confined to natural experiments since we can't spin up 10,000 civilizations that start with the same resource base but different economic policies.

The fact that you _believe_ economics is a science in spite of the evidence; suggests that you are not as objective as you think you are.
Happened to me. I didn't sell the company in the end (mtg meltdown, tech acquisition department got dismissed altogether, etc) and the company never recovered from me taking the "rest". Wasted 3 years of my life and $250K of angel money. Guilty as fuck.