skysight-inc/HackerNews huggingface dataset:
>> "Because when every person reclines, as usually happens whenever meals are not being served"

I have never seen this happen on short of long haul flights. Unless is it night time the vast majority of people tend to have their seats upright. From what I've seen the reason is simple - in flight entertainment in on the back of the seat and most people want to watch a movie.
Ah, so because laptop use is allowed on the plane, if your laptop is damaged under any circumstances for any reason, they are complicit and liable.
From Wikipedia[1].

'In the summer of 2014, Sam Altman became president of Y Combinator. Y Combinator also announced a Board of Overseers: Brian Chesky, cofounder of AirBnB, Adora Cheung, cofounder of HomeJoy, Patrick Collison, cofounder of Stripe, Drew Houston, founder of DropBox, Jessica Livingston, David Rusenko, Emmett Shear, and Sam Altman, cofounder of Loopt.'

Y Combinator, and by extension HN, is in cahoots with the people at Dropbox.

if investment > ethics: keep story on front page

[1] http://en.wikipedia.org/wiki/Y_Combinator_%28company%29
Shameful plug, but I wrote https://github.com/Newky/hooked/ which allows you to deal with git hooks (in general) in a nicer fashion using Python.

Might be of use to someone.
I still have 100Go. Do I have to cancel my plan and re-get it?
LogParser is excellent, so many Windows admins have never heard of it which is a shame.
they don't have goldman-sachs-esque assets, but they have experienced goldman-sachs-esque asset growth, and they have done it in large part colluding with the government. (http://www.huffingtonpost.com/2009/06/02/government-sachs-go...)

Anyways those boomers are annoying (my father is one); explaining to him how he got incredibly lucky is like bashing my head against a wall, especially contrasting with my own personal, relative financial failure.
I'll never be able to look at an IKEA catalogue the same way ever again.
"Here, take all this money and be quiet about everything we do". That's not how a healthy society works.

Google are sponsoring Code Club not because they're good guys, but because they have some business interest in it.

They must be accountable for their actions, good or bad. Linda Sandvik expressed her believes as a person and she did great not accepting being silenced just because she was hurting the feelings of a big company.
long_running_process > filename.tmp && mv filename.tmp filename

The rename is atomic; anyone opening "filename" will get either the old version, or the new version. (Although it breaks one of my other favorite idioms for monitoring log files, "tail -f filename", because the old inode will never be updated.)
Curious if the multi-pb accounts are in a single flat namespace. Or even the same filesystem... 1PB of ZFS seems scary
I have tried Owncloud, but I don't want to host a service myself (I do have the knowledge to do so).
But on average it would cost me more than paying a service. I"m trying to minimize my monthly costs, it's hard to beat 8.25$ for a good server for Owncloud.
The above is what the board has told here she should say if asked something about a partner.

If the actions of this corporation means she thinks e.g. that they're an unsuitable partner, then doing as the board told her would be to lie. She may also very well consider it lying by omission if she is unable to state her true opinion about said corporation.

I saw her speak at one of the Croydon Tech City events, and it's sad to see one of the founders of such a great educational organization like Code Club effectively get pushed out over the (possibly perceived - it's not clear Google or whomever actually asked for this in any way) sensitivity of some corporate partner.
Why your team needs a week of hustle
These 3-D Printed Skeleton Keys Can Pick High-Security Locks in Seconds
SQ used to fly a non-stop LAX/EWR to SIN flight with 100 business class only seats. I've been on it once and it was filled maybe 40%. They killed the route last year.

Edit: See Eos Airlines.
I'd probably fail that from lack of experience, but it does seem to be a great approach for someone a bit more seasoned. That shows a lot more about someone's software engineering capabilities than short tricky problems.
Thinking of it from the point of view of an academic, one generally credits the first to discover/build/describe/do something. It's part of placing things into context, which is an important element of academic discourse.

Wearing the academic hat, when I read something that fails to credit The First and instead credits someone else I think to myself, "this person is uninformed and doesn't really understand X..."
The big problem I've seen is not to do with leg room (which doesn't change too much when a seat is reclined). The person in front of me has a seat which reclines. Good for them. But if they recline I can no longer see my inflight entertainment screen as it's on the back of their seat.
Show HN: Sporty – An app for creating and joining sports activities nearby
And the pinning RFC doesn't sound much better. It makes the
client store something about sites they visited, which
roughly translates to supercookies.

So what? The server can't read it back out of the client store again. The comparison to cookies is completely spurious.
Yes, of course - but if it's in my lap and you walk (or recline) without looking and cause damage, then you haven't taken reasonable precautions.
Airline profit margins are razor-thin. They aren't greedy; rather, passengers are obscenely price-sensitive when it comes to airline tickets, and as a result we get planes packed like sardines.
Yeah, I use this book. Its the most clear book I have ever read for 1-2 year applied Mathematics.

http://www.amazon.co.uk/Engineering-Mathematics-K-Stroud/dp/...

Theoretical Computer Science is great in my opinion.

Many mathematics ppl complain about external factors, I agree there may be many external factors but there are also a bucketload of problems with mathematics itself that the are in a position to solve.

I am convinced that you cannot do applied mathematics without computers. An anecdotal example:
I have been solving differential equations since I was 15 and only when I tried creating mathematical models for self-driving cars for my CS assignments did I realize that I have no clue what I understood. I spent 5 years just manipulating algebra which python can do with one line of code in Sympy.
The Technology Behind Hyperlapse from Instagram
Yosemite support already there!
Distributed Systems Course at MIT Using Go
Why ‘Normal’ Load Testing Isn’t Enough
I largely agree with B but I'm not so sure about A -- particularly since hiring someone whom you don't want to be around is likely to affect your performance, which is likely also at odds with the best interests of the firm.
There's definitely a weird and creepy bias against short men (for a fun time, check out twitter.com/heightismxposed and gawk at people who are literally saying that any guy who's under some arbitrary benchmark is subhuman and should kill himself), but as somebody who's a foot shorter than you, I will happily jump in and say that reclining seats on an airline is not part of the War on Short Men; this dude is just crazy and bitter.
My lap isn't the middle of a freeway - accidentally smashing it by reclining is exactly as if accidentally smashing something from a shelf with your elbow while walking; you should be looking where you're going and are responsible for the direct consequences of your actions.
For me this is a magical combination of two unpopular modes of communication. There's a reason texting/chat is so popular, people don't like email and they don't like phone calls.
Flying has intense network effects that are difficult to solve, and jet fuel costs a lot.

Business class seats also take up a lot of space.

Say you want to switch this United Airlines A320 to all-business arrangements:

http://www.seatguru.com/airlines/United_Airlines/United_Airl...

Every row of 6 now becomes a row of 4, and the spacing between each row increases by 33% just in seat pitch alone. Business class seats are also larger themselves, so the difference in row depth is probably more like 50%.

So 30 rows of 6 economy class seats each = 180 passengers now becomes 20 rows of 4 seats each = 80 passengers.

You have to more than double your fare to break even.

You can probably fill planes in this configuration, but the question is at what frequency? Scheduling is intensely important to air travelers, and a luxurious plane that only flies once/twice a day and has little schedule flexibility is a non-starter. This is especially true domestically in the US, since few journeys begin/end at major air hubs, making scheduling connections a pretty big deal.

Your luxurious aircraft will mean a long layover, not to mention your connector flight probably can't get enough volume together to also be luxurious, so at best you're only getting the premium experience on a single leg of the trip.

This is also why comparatively "luxurious" airlines like Virgin America are struggling. They do not have the scheduling frequency nor the variety of destinations that American travelers demand. It turns out you really cannot just build an airline out of major arterial routes.
Homework is great, but only if a job offer is guaranteed if submitting a sufficient project. It is hubris to think someone will care enough about your company to spend 8 hours of their time for the small chance to be hired. Presumably you are giving the same assignment to a handful of other candidates. You are simply outsourcing much of the investment of hiring to the candidates. This is simply unethical (one of many tests for ethics is "if everyone did X, would the scenario be tenable"--in this case the answer is obviously no).
Criteria #3 is toxic.

Nonsense. It's as toxic as screening a resume.

On one hand you have people with immense industry experience (such as yourself) advocating to drop the "do I actually like this person" approach and on the other hand you have people who also have immense industry experience advocating that culture fit should be one of the most important criteria.

I'd be interested in hearing your thoughts on eliminating prejudice (both intentional and unintentional) and cognitive biases whilst at the same time, ascertaining whether or not someone would be comfortable within your companies established culture and also contribute positively to said culture.
Imagination Technologies Debuts Raspberry Pi Competitor
Anecdote: my brother, who IIRC was unemployed at the time, chose not to purchase even a catastrophic plan, under the theory that he was perfectly healthy so why should he?

Then one day, out of the blue, horribly sick, with intense abdominal pain, almost unable to walk, he had to be taken to the emergency room to have his appendix removed. The bill was something like $17K and he paid all of it out of pocket. He was in his 30s and I think a reasonable catastrophic policy would have cost a couple hundred $ a month and would have, in this case, saved him $12K or thereabouts in hospital bills.

This was just for an appendix, something more serious could have wiped him out financially. It's crazy not to have at least a catastrophic health insurance policy at any age.
You should be always able to criticise companies/organisations you depend on. Otherwise, why would they improve anything for you?

Taking an example on a bigger scale: you should be able to openly criticise some actions of the government, even if you're receiving benefits.
Well... The front-end was usually a VAX, right? (as remembered from articles on the CM-1)
The problem with reclining airline seats is that the "point of reclination" is too far down, which leads to the person behind losing valuable space. As someone who is a fair bit above average length, it is more or less impossible for me to use a normal economy class seat if the person in front reclines their seat (aka "if you don't recline your seat you won't have my knees in your back").

A more correct design is something like [1] which reclines by shifting the 'seating' part forward. The reclinee then chooses between reclined seat and space for knees, and the person behind doesn't need to care: The dark plastic part below the table never reclines. (This particular seat is obviously too large for airplanes.)

[1] http://farm3.static.flickr.com/2675/3701747083_6437a7a2b4.jp...
Nice work researching this. Yes, I'd say that always enabling it as soon as some parental control features are enabled is a bad decision. Maybe this should be a bug report. But we should also note that Mozilla follows Microsoft's implementation here.
Greedy? Do you know what airline tickets cost back before seat space started decreasing? Here's a hint, the airlines leading this trend are known as budget airlines and consumer cost has absolutely plummeted while airline profit margins are razor thin.

If you want more space, go pay for it, it's called premium economy or business class. I bet that you get more space in present day discounted business than you did in 1980s economy, for less money.
When you buy an airline ticket, one of the things you’re buying is the right to use your seat’s reclining function. If this passenger so badly wanted the passenger in front of him not to recline, he should have paid her to give up that right.

That's a weak argument. If the recliner's ticket purchase granted the right to use the reclining function then wouldn't the Knee Defender purchaser also have been granted usage rights for his purchase that prevents reclining?

He would have been better off going with the "first mover advantage", whichever object (seat back or knee defender) occupies the seat row DMZ wins.
It looks like the broadcast covering the latest research will be at 21:00 GMT here http://www.bbc.co.uk/programmes/b04g507y
yes!

https://github.com/dbro/csvquote

csvquote allows UNIX tools to work properly with quoted fields that contain delimiters inside the data. It is a simple translation tool that temporarily replaces the special characters occurring inside quotes with harmless non-printing characters. You do it as a first step in the pipeline, then do the regular operations using UNIX tools, and the last step of of the pipeline restores those troublesome characters back inside the data fields.
From Google's perspective, why would I want to sponsor a group that thinks I am evil (and spreading this opinion around)?

If I was sponsoring a company/group (IE: paying them money) and they said anything negative about me, I would drop them in a second.

If they really don't like Google, they can deny their money and press as a result of the sponsorship.

They didn't and then the director thought it was okay to spread her negative opinion around. You don't get it both ways. She was obviously not on board with the rest of the company and now has to deal with the consequences.

It seems many people commenting here want to be able to express any opinion (bad or good) without any consequences. The world doesn't work this way.
Thanks Andrew.

I think you missed a key point, or maybe I overlooked it while scanning.

Because modern programming languages allow very long variable and method names, you should be able to construct a "grammar" in your code. That is, the code itself should be able to be read -- and when you read it, it tells you what it does.

So "if CustomerHasALargeAccount then WriteThemASalesLetter()" not only is a piece of code, it's also directly explaining what's going on. As long as you make sure your names are long and explicit enough, your comments and code become one. (Except for some oddball cases)

I like comments while I'm constructing my thoughts. Once I've coded it, I delete the comments. I can also see using comments as sort of a mnemonic for future work.

A lot of good points here. Keep up the blogging!
You don't seem to understand the patent system. It doesn't matter how obvious something is. There's a good likelihood someone at the overworked, understaffed USPTO will rubber stamp it. Bombarding the USPTO with patents for any and everything you can possibly think of is a valid strategy, because once you get it, it's a lot of work and expense to overturn and you can start extorting people in the meantime.

Microsoft didn't start out with this attitude, but when it was applied to them, they decided join in and hard.

If you're a programmer who can do more than write a for loop that counts to 10, I can almost guarantee you've violated a patent. In fact, I used to joke about getting a patent on the for loop. If Fortran, or whatever language first had for loops, had been created today, there would probably be a patent granted for it.
I would like the same for my parents. But I choose to keep my employers life insurance because it's cheap (about $100/year) and between it and my savings will more than cover both my sister's and my parents' current debt (mortgages). Should I die suddenly, they won't be happy but the cost to me is negligible and the benefit to them is great. Once alleviated of the debt and annual expense they'll all be able to retire a little bit earlier or a little more comfortably. Sure I don't get anything out of it, I'm dead, and the money won't bring me back. But it will bring them some financial peace.

Now, if it were more expensive I might have a different view on it. I certainly have no intention of buying more life insurance until I end up with actual financial responsibilities (spouse, kids) that would more obviously need the money in my absence.

EDIT: Word choice, I slept better last night than I have in months, but it's still not enough. Sleep deprivation wrecks my ability to write.
> The famous fizzbuzz test simply asks "are you aware of the modulo operator?

No it doesn't. It could be implemented with counters you reset when needed. Didn't really read any further, I don't think this person should really be giving technical interviews anyway.
That isn't a type constraint — it's a value-level behavior enforced at runtime.
Show HN: Password Protect Your Webcam
thought I posted this to reddit last, forgot I posted it here. Sorry.
so like this?

import Control.Monad.ST
import Data.STRef

main = do
let n = runST $ do n <- newSTRef 5
modifySTRef n (+ 10)
readSTRef n

modifySTRef n (+ 10)
{-
^^^^^^
Couldn't match expected type IO t0 with actual type ST s0 ()
In the expression: main
When checking the type of the IO action main
-}

print n
> Although it breaks one of my other favorite idioms for monitoring log files, "tail -f filename", because the old inode will never be updated

You should look into the '-F' option of tail; it follows the filename, and not the inode.
This approach works well in only one situation: when your code isn't doing anything substantial in terms of data processing.

For me, comments are best used at explaining _why this is happening_, not what is happening.

By far one of the best examples of code commenting I've seen is the explanation of the L2ARC (the level 2 adaptive cache) in ZFS: http://fxr.watson.org/fxr/source/cddl/contrib/opensolaris/ut... . Most of the ZFS codebase is extremely well documented due to its comments, and it helps a lot having the documentation _in the code_, to provide context (something that commit logs, by default, don't).
The other side to that story: I'm scared like shit whenever (and that's often enough) I consider applying for a new thing. And back out, don't even try.

Most of the reasons are listed in the article, but let's be honest: I'd face most of these things.. So the pipe dream atm is to find some time for personal projects, foss contributions and .. use that to get to more reasonable opportunities. Reaching ten years with this company here, these interview stories might keep me here for another decade.
Most people are fully able to work in both 100% done and release flawed but soon scenarios. Most people simply adjust to company they work in just fine. Almost all are also can work in both team and lone gunman settings - although they will have preference there.

Unless you are very careful, you can select out very good candidates basically based on how companies they previously worked in performed in those scenarios.
I don't understand your argument. If I place my laptop on the tray, aren't I using the tray in a predictable way in line with its intended purpose (i.e. to hold things)? Does your assertion that the 'reclining chair being reclined is its intended use' not apply to 'the tray holding things is its intended use'?
The interesting thing is that I would pay a bit more for seats that don't recline, in front of my seat. I say that as a 190cm/6 foot 3 tall person, who barely fit in modern seats on some flights, in the first place.
Ask HN: Why is cloud storage so cheep?
Today Dropbox dropped prices. They now offer 1 TB for $10/month. Other providers like Google Drive have similar offers for quite some time.

I wonder how they do this. Dropbox uses Amazon S3 to save files. The lowest possible price on S3 is $0.0275/GB/month. If a Dropbox user utilizes all available space it would cost Dropbox $27.50/month. In addition most users are not paying for Dropbox but use there free offering adding files (=costs) to Dropbox. Running the company, development of the application, application server, download traffic etc. will come on top.

I see the following reasons why Dropbox might be able to make profit in the end:

- Most people are using much less space than the maximum of 1 TB.
- Dropbox is doing deduplication. If two users have the same file Dropbox only needs to save it once.
- Dropbox might have a better deal with Amazon and is not paying $0.0275/GB/month.

Do I overlook something? What is most important reason why Dropbox and others are able to make this prices?
Directional antennas and high-power radios can increase the range a lot. Access-control RFID readers have low-power radios for obvious reasons: any time someone with the right card walked by, the door would unlock itself.
http://philip.greenspun.com/flying/unions-and-airlines

Makes sense to me, and seems to fit the gamut of airlines. The theory also explains why airlines have hostile customer service - there's just no upside to management working to improve things.
I've definitely heard "give me your email" when asking for someone's email address. It's not uncommon at all.
I've been interviewed by seldo before, when he was at awe.sm. It was a good technical interview. His questions were relevant and forced me to think. I like interviews in which I walk away learning something and I definitely did learn something in this case.

As for interviewing, I cringe when I think about the poor questions I have asked and the poor decisions I have made, and I try to learn from them. We ended up not hiring qualified people because of bad interviews, although that wasn't obvious to us at the time.

I was thinking for a future interview the candidate and I would try to learn some new technology and try to build something together during the interview or talk about it at least.
That's indeed the right pattern to use in OO. However, OO isn't necessarily the most concise approach to such problems :-)

data Node = Elephant | Box [Node]

count Elephant = 1
count (Box nodes) = sum (map count nodes)
How are you defining God? Have we looked for God in all of the places that people believe God lives / controls?

The universe either came from somewhere or has always existed... If I define God as a "the thing that created the universe" how would you prove or disprove God's existence?