skysight-inc/HackerNews huggingface dataset:
I look at in terms of game theory:

A person who always follows the "ask permission" strategy ends up with an ingrained unconscious belief that most things they could do are ultimately bad ideas. They end up limiting themselves and only taking actions that are safe, uncontroversial, and unlikely to result in a "no".

A person who always follows the "ask forgiveness" strategy will end up getting slapped down a few times and occasionally get a reputation as a dick and have to find new people to work with. But over time, he'll learn a good intuitive sense of both what the limits are (because he's broken them so many times) and why the limits are there (because he's seen the consequences of breaking them).

All this means that eventually, the person who asked forgiveness a whole lot eventually ends up being the "permission granter". Eventually he ends up taking an opportunity that the "ask permission" folks deemed was too risky and it works out, and people remember the one huge success more than the dozens of minor messes.

So while you may be justified in labeling the "ask forgiveness" guy a dick, that won't stop him from replacing you. Life is sometimes unfair, and assholes sometimes win.
I am a proud owner of the HTC One and absolutely love the device. I've owned a few HTC devices in my life (Apache 6700, Hero, Touch Pro, Evo 3D, and now the One) and have never been disappointed. Excellent build quality and a sleek look.
Well, you might send a bunch of government agents to knock down my door to take my house and all my possessions. But no big.
Give this Quora post a quick read http://www.quora.com/Will-Airbnb-for-food-be-a-successful-bu...

Dozens of ventures have failed in this niche space .. wondering if Cookening has found the secret sauce.
Sort of, but not quite. It is quite easy to get situations where code is wrong because of indentation mistakes, copy+paste, etc. All autopep can do is make your wrong code look consistent. Languages with some sort of block delimiter can't get wrong in this manner, so it is safe to munge together random sources with various indenting messes and then just run a tool over them.
I always use braces in order to protect my future self from my current self. I don't want to end up introducing a logic error in the program because I overlooked proper scope while less coherent later on.
Yah true but like without getting more users to post content will it be successfull as a platform? Even tumblr had hard time making money even with their content creators
Your first sentence was enough for me to up-vote you, without reading the rest of the comment.

Also, your whole explanation is unnecessary, when this advice is analogous to ... stop using stacks!

I would add queues here too, though people might mistake that for priority queues, which can be modelled as trees.
We've started experimenting with Sass for Wikipedia as well, and it's now in MediaWiki core. Check out mediawiki.ui in the core resources (git.wikimedia.org).

Right now we're only using it for our upcoming signup/login redesign, but it's available for use elsewhere and will probably start popping up on other interaces. We debated whether to even include the Sass files and associated errata at all though, to be honest.
It's a digital good (so marginal cost is zero). Price floors are the only thing stopping the average price from falling to zero. This means that an apple-imposed price floor is enticing. However, apple can always remove the price floor once they have enough inventory to make their market appealing.
I can not confirm, the link to the "Complaint" simply takes me to the same memo/press release. The Complaint would indicate who the AG has named as the defendant(s).

However, even if the Company is a shell and does not even own the patent in question, this will still set precedent vis-a-vis this troll's behavior, and if the troll loses rest assure another shell company will not try to enforce the same patent in the same manner at least in this state. Again that assumes the AG obtains a favorable decision. Separately, like I mention above the victims may want to take this opportunity to challenge the patent itself, if not file a civil cause of action for damages.
I understand that native Xbox 360 games will not run on Xbox One, but games developed using XNA should be able to run if Microsoft ports the CLR to Xbox One no?
Please hold the disk in front of your Kinect controller...
Activation code found. Activating your game...
Done!
I like the last one where Jobs threatens to use it's patent portfolio against Palm if they do not work out a suitable "do not cold call" agreement.
Tell the executives they're wasting money on free parking. From now on., all executives will be charged $20 a month (or $1 a day) for parking. The primo parking spaces will be $50 a month. Surely that is reasonable! And watch the executives go into an uproar. This might help them understand in a way they can relate to.
Oh, looks like some research has very recently come out on this.

http://www.cgsnet.org/study-finds-completion-rates-stem-mast...

This was part of a study done by the council for graduate schools that recognized that attrition rates from MS programs were understudied compared to undergrad or PhD rates.

The full study is behind a pay wall, but still some interesting data.

STEM MS degrees appear to be completed within 4 years about 2/3 of the time - though that number drops to the low 40s within 2 years.

Unfortunately, there's only so much you can draw from this. MS programs aren't nearly as regulated as Law or Med school or PhD programs which tend to be offered only by very academically serious schools. Also, one of the big reasons for failing to finish a MS, according to the article, was work. So many students pursuing a MS are already employed in the field - something you can't do without a professional degree. Still, dropout rates were much higher than for MBA programs, so this data clearly means something.

It would be more interesting to know the attrition rates for MS students in STEM who are more like professional students at top colleges. In other words, what is the attrition rate for MS students who are enrolled full time at a top college.

Maybe these answers are behind the pay wall :(
IIRC there are a few things that are simple enough to actually explain in a page, but yes, one page per...artifact? Very little real mathematics, you will just understand things about them. It is, however, the best written of these pop-math type books that I've come across. If you are comfortable with undergraduate-level mathematics, the Princeton Guide is a much better book for getting an idea about a specific topic. Pickover's book is more for getting a feel for what topics are out there. They were written for two very different audiences and I like them both for different reasons.
These drive me absolutely crazy. I hate them, and they're literally everywhere now. Every website I go has some shitty fixed bar at the top that obscures text and is constantly nagging me to like their page or whatever. Developers, please just say no. Iframes died last decade for a good reason.
Jobs could have set the price at whatever he wanted and they probably would have given in; Amazon was selling them for $9.99 and had already set the low bar, Jobs just had to pick his price and hold it.

Classic negotiation says the other party will give in if he or she can so long as you hold your points as not for debate. Jobs did just that. Brilliant.
If you know in advance, say, that you will never have more than 2^(multiple of 8) items in the list, you can use a index smaller than the pointer size.
Maybe not universal, but certainly very common.

http://en.wikipedia.org/wiki/Newbie#Variants
I am not in anyway affiliated with GS/Escape and have 0 influence on their operations, but given what I know of them and that it only replicates what several other API libs provide, this DMCA seems really odd or a mistake?

From someone elses comment, looked at the google cache of your github repo,

> groovr.getSongFile songs[0].SongID, (err, file) ->

might have been the part they have a problem with?
So was Steve just making shit up? i.e., he won the negotiation because he was so full of shit that they didn't see any way to talk sense into him?
I think he won before the negotiation started. HC didn't have anything to gain by refusing to work with Apple, and potentially had a lot to lose. You cannot win a negotiation where you have no leverage, unless the other party is unaware of your position. But I do agree that this is a great moment in this email exchange.
> Open lending == piracy.

So when I lent my buddy my copy of Double Dragon, that was piracy? I think you're taking your stance a bit far. (Remember, we're talking about physical media here, not downloads.)
Total Tangent: I just saw Jaron Lanier speak in SF last night and he was very proud of the work he did on the Kinect.

I find that particularly interesting in light of his sort of decrying the digital-social culture we've developed in the last decade. Strange guy with a lot of really different opinions; was a lot of fun.

The Xbox including the new Kinect definitely lowers margins, but if Kinect becomes an integral part of the gaming experience it will be a sound bet.
A minimalistic chat-room written in Node.js
This reminds me of when Jobs was proposing the new Apple headquarters to the Cupertino city council: http://www.youtube.com/watch?v=gtuz5OmOh_M, or heck, this dunk: http://www.youtube.com/watch?v=INK-Pr6Z82A. Thrilling to watch, but ultimately it's easy to win a negotiation when you're in the stronger position. What I really wish existed is a transcript from Jobs making his first sale.
No, not really.

I just just realized that I've actually forgotten Netflix is something other than a streaming service.

What I'm actually thinking of is effectively subscription-based Steam. One price, access to the whole catalog. The provider could create tiers with a limited "check-out" system ala O'Reilly Safari if the unlimited idea is too scary.

I haven't used the DVD-by-mail side of Netflix in years and I did try Gamefly at one point.

The instant gratification of streaming/downloading is pretty important to me these days. I don't know exactly when I'm going to have time to play a game or watch a movie and I can't be totally sure which genre I'll be in the mood for.
I used this last week and it worked splendidly. Wish they were a little more transparent about the $35->free shipping offer being promotional, though. (After the first order it's $70->free shipping)
> I'm straining to see a use case. "Serverless" NoSQL? If you've got something small enough that you want an embedded datastore, why use a NoSQL variant?

Serverless NoSQL embedded datastore aren't really that unusual. BerkeleyDB, Tokyo Cabinet, LevelDB are all commonly used serverless NoSQL.
Err, no, he's not saying that.
Pines punched a “one way ticket toward genome obesity”
Yeah. There’s a finer point too: in Haskell, linked lists are useful less as data structures but more as iterators, because of their relatively large size overhead per element. A large proportion of list-based algorithms can be made streaming thanks to laziness and the immense cleverness of GHC, in which case only a constant number of allocations actually occur—often zero.
I've thought about launching an idea like this in the US. After doing some research, it proved to be too difficult to execute because of foodservice regulations and ensuring safety.

I like your concept, especially emphasizing the benefits of home cooking. Here are some things I think you should think carefully about:
-how do you ensure safety on both ends (buyer and seller)?
-why would someone want to use your platform instead of doing their own underground restaurant?
-how do you vet hosts? Is there a vetting process for hosts?
-how do you ensure a pleasant group meal dynamic?

Would love to chat more about this if would like. This is an idea I would really, really like to see succeed!
I liked the piece but my take is a bit different since I practically make a living by doing negotiations primarily by email. (Email is perfect it allows you to remove facial expressions and tone of voice which can be a drawback if not perfectly executed. Not to mention having to think on your feet and not be able to do what I describe below).

One thing that I do do is to very very carefully choose my words and analyze and interpret the words of others to divine meaning and hidden meaning. [1]

As such I simply don't believe that Jobs just fired these emails off I can almost assure you that as much effort went into this as goes into writing a Presidential speech or a chapter in a novel or a scene in a movie.

I do that, it works for me quite well, so I can't believe that at this level it isn't being done and I am somehow unique.

While it's entirely possible that Jobs wrote this on the fly more than likely it was a much thought out or even team effort where every thing was discussed and considered or Jobs perseverated.

I did like the format and you should definitely do more of this.

[1] A small example is this statement "Maybe I’m missing something, but I don’t see any other alternatives. Do you?"

The addition of the "do you?" and the "Maybe "I'm" is critical in that sentence. Without both the emotion on the part of the recipient is much different and would be more negative and consequently less likely to come to an agreement.
Thank you for sharing, I am glad that more and more organizations are using such powerful tools.

Also: it's Sass, not SASS.
Teaching Developers
The Low Down on Recovering Deleted Files
You should allow the user to change their unique id to some unique username by clicking the unique id in the top right corner
Agreed. Working on it.
You Need Phosphorous to Live—and We're Running Out
MoDevUX Video: Enterprise Mobile App UX: Designing from UI to Backend
Agreed. I'd love to actually hear about how people go about architecting styles that aren't meant to be re-usable in their projects. Landing page are always a good example of this, which Apple's site is full of.

Of course the simple explanation can be: write everything, everywhere. But I'd love to hear some expert insights from people who have to think about not breaking these things all day.
Edited accordingly.
This seems backwards to me. Sure, use the right tool for the job, but still. SQL server -> noSQL / embedded SQL -> embedded noSQL. At every step there's someone going "X is hard, let's not do X" and we end up with a serverless, configuration-free, noSQL transactional database. The next logical steps are presumably the removal of transactions (who needs them, anyway?) and volatile storage (RAM is fast, let's use that).

I can't wait for the day malloc appears on a page with bullet points citing all the latest buzzwords.
I remember being asked once in a job interview what I thought about heaps. I confessed that I didn't recall the specifics of all the different variants of that data structure as I hadn't had the occasion to use one before. https://en.wikipedia.org/wiki/Heap_(data_structure)#Variants

It turned out he was asking about dynamic memory allocation, i.e., malloc/free and new/delete.

(I didn't get the job)
They don't reimburse travel expenses for interviewing? That's surprising, and a shame if its true.
A tour to Tumblr's office
Typically not that little in bulk, unless you stock your own entire soda machines with syrups and carbonation systems and such. If you had people stocking up from sam's club or a similar 'bulk' store, you'd be looking at per unit costs of 25-60 cents per bottled/canned drink, depending on size.

Coffee - not as familiar with the economics of coffee, but of course dedicated machines will end up costing somewhat less than going directly to starbucks.

And most Cokes in a convenience store are now $1.50 or more, at least where I live.
Bootstrapping the open-source Sandbox on top of Docker
> I have to admit, I am wondering why you're still working there.

Several reasons. These cost cutting measures are new, and I've been trying to decide whether they are a big enough reg flag for me to start getting serious about finding a new job (I've decided they are). Also, I have some personal life changes coming up in the next 6 months as well, and I'm hesitant to add a job change to those big personal life changes unless I have no choice.

> There must be some good mitigating circumstances, right?

Definitely. I like the team I'm working with, and other than the slightly ridiculous cost cutting, the work environment is remarkably low stress and friendly.
If they're a relatively good developer (top 25%)

How does one know that one is a top developer?

I'd imagine it's easy to have a false knowledge of being in the top 25% (what with Dunning-Krueger and all) but how does a true top 25 percenter know that he is such?
Everyone is doing something wrong.

I'm starting to wonder about using checklists for deployment (yes, your deployment should be automated. You still have to go through the checklist at least once). There are lots of them out there, but they seem pretty pretty general, mostly. There are also a lot that are internal to a given company, used for a specific application.

It seems like there should be an intermediate level, though. Just like any OSS project is expected to have a readme and a changelog, it should also have a CHECKLIST.txt. Drop it into your checklists directory (or have a script that collects them for you) when you add a library to your project, and go through them all before releasing.
Feastly is actually positioned for all demographics. There are lot of locals and a lot of tourists (both US and foreign) that come to meals.
Github automatically removes the repo upon a DMCA notice, not the end user.
Contrast with Murdoch's blunt use of weasel words:

"price-points you don’t like."

"does that give you enough comfort?"

"we are worried more about the absolute holdback of product elsewhere... than we are about the actual haggle over what the price will be" (read, you are haggling)
Apple did have quite a bit to lose if the deal didn't go through. A huge reason for customers to buy an iPad is to read books, and if a large portion of popular books isn't available, customers will not be happy. Try to find a book that isn't available on Amazon. If you buy a Kindle, you can get all of them.
That's what I'm going to do next. Thank you.
Not even rationalize large numbers, but when concentrating on details the vision of the greater whole can be lost. One of the reason startups are so efficient is that ideally the founders wake up every day with a definite goal in mind to work toward the larger objective. When people only understand a portion of the whole concept, they can make decisions that work in their sphere, but don't contribute to the whole.

In the story you cite, for example, the city didn't come in and say, "How can we be most effective," they were saying, "what costs can we cut" or perhaps "Oh goodness we sure spend a lot on that."

Keeping perspective is extremely difficult to do.
It it really necessary that the article be split between multiple pages. At first I wondered, "where is the comparison" until I found the drop down menu...
I left Cisco after the free soda's went away.
Announcing StrongLoop Node 1.0 GA – an Enterprise Ready Node.js Distribution
Don't even bother; you're replying to astroturfers. Microsoft pays people to browse HN and reddit so they can do PR damage control. Today is a very very busy day for them considering the public's negative reaction to the XBox One launch.

I personally know 4 students that were focusing 100% on XNA development; They're now scrambling to learn SDL and OpenGL ES after being burned by Microsoft. Seems the only developer embracing indies is Valve, and they're going to be the only ones focusing on that blue ocean this generation.
This. It's so refreshing to look at a man page. They're not perfect and rarely contain examples, but we have SO and newsgroups for that. The worst, imo, are online slideshows.
I was gonna say, it's not like I wanted to read it or anything.

Are you guys running a reverse proxy? It kinda looks like a naked Wordpress install that's borked. Really interested in the article; looking forward to you guys getting back online!

As a unit of measure, when I hit the top 10 on HN I get about 6-8000 hits in the day. I would imagine that a DHH article would be 5-10x of that.
This is an exciting concept that has been tackled by many teams, few of which have yet been able to reach significant scale. But I believe it will happen.
Feastly (http://eatfeastly.com/) is a similar approach that is active in the US. (I'm an advisor)
The restaurant industry is massive (in the US, it's three times the size of the accommodations industry) so winning even a small slice is a win.
Liquibench on Kickstarter: Intellij/Eclipse/Resharper for your database
traditional linked list:

{ l * next; x * data; } or { l * next; x data; }

array-based linked list would be an array where each element also has the index (or pointer) of the next element.

{ int next; x data; } [1000];

Now all your elements are packed together in a memory space that you can control.

I think of (array) deque as something that allows me to operate on the front and back, not necessarily traverse and insert/delete in the middle.
I once worked at a startup where the company gave an "across the board" 10% raise to the engineering team in a way that caused 3 key people to leave.

Essentially in a company meeting that reviews were being delayed for 3 months because of how crazy things were but there was an across the board raise of 10% to make us competitive. The catch, the raises took effect immediately but would not be paid until reviews were done, then everybody would get a lump sum catch up payment along with any increases from the raise.

The meeting dissolved into a huge mess where engineers kept asking "Why not give us the 10% raise now" and the VP Engineering got increasingly irate at the ingratitude without ever adequately explaining the delay.

I went after the meeting and asked the CFO what the hell was going on. Basically, changing all of payroll was a pain in the ass, had a fee of $25 per headcount, and it was going to take a week for our overworked accounting department to accomplish. So they didn't want to take the hit in accounting twice in such a short period of time. I went back and explained it to my team and things were all better.

Reasonable, and if the VP had just said that, all the engineers would have nodded and said "Good thinking!" but the damage had been done. 2 key developers resigned that same day and one two days later.

There are people in this industry who can send emails to their network and get a new, good job in the space of an afternoon. Don't do stupid crap to them.
Gog is great!

There's a reason they trust you:

1. You are after older games, so you are probably older, and less likely to be a thief. (And even less likely to write screeds about how you aren't really stealing it.)

2. The games have already gone through the peak of their popularity cycle, so they have already captured the bulk of their revenue. Anything now is just a bonus.

3. The price is so low that they don't lose much to piracy even if someone steals it.

I haven't even made it all the way through the last bunch of things I got from GoG, but when I do I'm headed right back there to get some more stuff.
Could you please email cs@instacart.com with specifically what you mean (ideally, screenshots). We try to be very explicit about that but maybe we missed something. Thank you.
If you lived through the XML boom, you'll probably recall the "Turing complete! based on XML!" languages (XSLT, Ant, and friends). This was before people re-re-learned the essential lesson "languages based on markup are painful as languages and unsafe as markup".
Most of the times I've seen logs it doesn't matter, because it usually shows up in big-O. However, the only unambiguous abbreviations I've heard of are ln for log_e, log for log_10, and lg for log_2.
I've built code and companies, and needn't a lecture from you on how to build, nor how to dream.