skysight-inc/HackerNews huggingface dataset:
So Uncle Bob talks about SOLID. There is one S there and then we have O, L, I and D. Applying SOLID is a balance of all of these things. We are craftsmen applying knowledge and skill to code. Trying to figure out SRP in isolation is not practical. When you attempt to apply SRP in balance with the other principles, you get more of the give and take that matches reality. There are trade offs and deciding what those trade offs are is your responsibility as a developer.

What the blog post is about is more of a: "I do things this way". Now I'm on a team and my team mate wants to do things a different way. Instead of realizing I'm on a team and it is matter of balancing abilities to make a cohesive software product, I'm going to bicker about why my team mate is wrong. And I'm going to write a big blog post about it and look at SRP in isolation instead of applying the same cohesive viewpoint (that I claim my team mate is missing) to understanding SRP.
There is a reason we have the patent and copyright system ;)
We (as developers of mailpin) use the services ourselves:

1. Ad hoc image album. Put a bunch of images as attachments in an email and send to p@mailp.in to create a simple page.

2. Forward company receipts to p@mailp.in and create a page, and share the link in coworkers ... (this sounds weird ... but it works well for us ...)

3. Forward marketing spams to create page, and publicly share such pages to denounce those spammers :)

4. Forward paper acceptance latters or other letters to create pages, and share them to show off -- vanity!

5. Ad hoc blogging ... Don't want to have an account, don't want people to follow me. But occasionally, we still want to say something and share to Friends that we really trust.

6. Create a playlist of youtube videos. Put a bunch of youtube links and send to p@mailp.in. A page with embedded videos will be created. We don't have youtube accounts ... sorry ... but still want to share a bunch of videos with friends ...

7. Tweet more than 140 characters. Create a page with short url, and tweet!

There would be more use cases. The point is, we want something dead simple. No registration, no app (well, email client is still needed ...), and private.
Yep, I'm glad you could see where I was going with that, I had a hard time finding the words to use. And while Khosla's out of touch with the community dick move is HUGE, it does cast suspicion over the rest of the people in tech. And plenty of them are perfectly willing to confirm it with much much smaller, out of touch dick moves.
Don't want to spoil the last episode, but he wasn't offered $10M for a good idea.
Well written although I wonder if Netflix clogging available bandwidth with House of Cards is really what we have in mind when we talk about "neutrality fostering innovation."
Basic principle of finance: "A dollar today, is worth more than a dollar tomorrow"
"If they rated themselves a seven in skill level before the games and now they see themselves as a three, maybe they learned something ... On the other hand, a candidate who rated him or herself as a three originally and a seven after the game may show hard self-judgment."

"We would have put her at two or three," he says. Yet in the questionnaire after the game, she rated her skill level at six. "She maintained that high level of confidence, which we think is a positive thing," Bellenfant says. The company hired her, and he predicts she will be a strong performer."

What? Overrating your skill shows that you lack self-judgement, this girl overrated her own skill so they hired her. This whole thing seems ludacris. I mean, yeah I'm game for whatever to get a job, but this article just defies reason to the point of seeming delusional.
I don't see how this is in any way related to my comment?
>My prediction: Alibaba is on a path to take over the world.

I couldn't ask about some sources/information on this? I've only been tangentially aware of alibaba, reading the odd news story here and there, I'd be interested to hear what has inspired such strong words on the subject as that makes me think maybe there's something I'm missing about them.
And again what please me is tahat oy decentralised the things why not make comment for a post with emails too ?

Did you read this ? http://mobisocial.stanford.edu/papers/mrprivacy.pdf
Do you realize that by excluding someone who considers themselves a white male from being a "white male" you're proving that the construct is entirely about privilege and discrimination?
I think that putting cohesion and coupling on a 1 dimensional axis is kind of disingenuous. There are an infinite number of design changes that could be made and some of them increase coupling, some of them increase cohesion and all number of variations between the two variables. The best designs will find cohesion and coupling at local maximums.
It is worth mentioning that it can seem a much harder choice. But I would claim the correct choice remains the same for reasons others have mentioned - after a certain point, at $10 million, it's how good a business person you are, not how good an idea you have. Going to Google would certainly teach you something too. How many aquirehires from Google go on to found more companies - quite a few (I vaguely recall people founding companies after only a year - don't the exact conditions of course but I don't think aquirehires are onerous affairs, Google wants people who want them I'd imagine). If you're good, the sky's the limit but investing only in one's upside is foolish in a situation like this.
It depends how much more than $10 million the algorithm is worth. In the show it's probably worth a lot more. It also depends on the period of time you have to stay to get the $10 million, if it's a lump sum, and if it's cash or stock.

If it's $10 million cash right now and I can hand over the algorithm and walk away right now I'd take the cash. Buy a modest house at the beach and a modest house in the mountains, invest the rest and do whatever I wanted for the rest of my life.
What if it were for less nefarious reasons? Perhaps he's planning on shutting the entire area down from human access completely and letting some flora and fauna having a refuge area.
Maybe that's the only thing this test genuinely tests for. Maybe they don't want employees who let pride get in the way of doing what they are told.
It can be both commercial and open source, they are not mutually exclusive.
> If some principle results in a handful of single-method classes that don't really do anything on their own, the principle is not a good basis for design.

Absolutely agree. Proponents of approaches like this tend to only worry about intra-object complexity, and ignore the fact that a vast, complicated object graph is also hard to reason about.
I just hope that emacs 24.4 comes out soon :)
> Sadly, not everybody can have a good linguistic education from the go

Totally true! I hadn't, for instance. I had Internet. And while I believe my English is very far from perfect, at least you can understand me.

> simple for who

It's very common to hear about "simple != easy" on HN (maybe because of R. Hickey, idk) and this is just the case.

Easiness = Familiarity (subjective)
Simplicity = "Does/is one thing" (objective)

English has simple grammar compared to most of languages I know, probably compared to most of non-constructed languages at all. It has simple writing system compared to Chinese, objectively. Even "lolcats English" can be understood quite easily, if you know English to some extent. You cannot write "lolcats Chinese", only pinyin (or kana, for Japanese). If some Japanese shows you a visit-card with his name in kanji only, you often have to ask him (if it's not some really common name/surname) how that is pronounced (even if you have seen that kanji before, because there are many variants of pronunciation!). I don't know what's about Chinese, but declension/conjugation in Japanese has far more cases than in Modern English (although probably can be said to be "more regular"). Russian declension is objectively more complicated than English (almost non-existent!). In it's turn, Chinese pronunciation is pretty hard to master if you don't have concept of tones in your language. I won't say anything about English this time, but Chinese pronunciation is objectively more complicated than Japanese, for instance. That means, if you speak Chinese, you won't have very hard time repeating what Japanese says, but not otherwise.

The concept of "simplicity" is so not bogus that even have been made attempts to invent some language, that will be easy (because it's simple!) to speak for everyone (esperanto). But as there are many people that don't really care for defragmentation, enlightenment, modernism and stuff like that — so, esperanto is dead now. Maybe it's for the better. Anyway, English doesn't have to be invented, and it's fine, although maybe not perfect as "the universal language". Fine is fine, that's what I'm saying.
but the cost of the vehicle increases, which would have an unhappy effect on premiums.
The attack scenario is that the man-in-the-middle alters the checksums in the page to match the checksums of his backdoored version.
I'd say no to the $10M. I like to run my own show.

PS: Love the fact that someone felt the urge to downvote this :)
Best Frontend 
Who is the best frontend developer you know?
What if the $10M comes with some kind of "you work for us for X years" earn-out condition?
I thought that was weird too.
Ditto. The best part was that offline "just worked": I could compose the post in GMail and it would send once I had a signal.
Algorithm wise it would make sense that google would rank things like this as less worthy.

For one thing most authoritative domains for pagerank purposes are not going to have these "hacks" they are going to have the usual suspects (.com .net .org .edu .gov .info .etc to name the obvious US ones).

"Plenty of popular domains using ccTLDs rank just fine."

"Plenty" is not a large number when you are talking about tens of millions of sites that don't do it this way.
http://en.wikipedia.org/wiki/Generic_top-level_domain
It is, but sometimes you have to do it for practicality. Usually this comes up when people use `Rc<T>`, as that only supports immutable types (so any mutability you want needs to be in the form of `Cell`/`RefCell`).
What if you've spent twenty years working on an invention - could be an algorithm, doesn't matter - and you're being offered $10M to buy it, by a company that either intends to bury it on purpose, or will probably bury it through corporate incompetence?

Still take the $10M?
I was actually thinking of a vanity domain (.es) and got all the way to the checkout process only to discover that the United Kingdom is not listed in the country selection (it's not under United Kingdom, Great Britain, Wales, or British Isles) so I backed out.
I think you have a reasonable point about the beach still being public. In this case, the point of the permit battle is to make this land worth less to him since he won't be able to redevelop it. The California Coast Commission has a point of view which is to try and ensure public access to public beaches and will use their power to try and force him to negotiate.

In regards to what the tech community can do about this, how about organizing a large beach party and get some boats to ferry people in?
> You may also be "bound" to Google for some indeterminate amount of time, as an employee.

I didn't get that impression from the show. In fact, I imagined myself in the exact situation depicted in the show, and still easily voted for the ten million.
Yeah, I don't see an advantage to this.
From the article: "The worst of the harbingers? Repeat customers, those with a tendency to purchase a product like Diet Crystal Pepsi not just once, but over and over again. These customers really, really like the products that end up failing. Harbingers with a history of making four or more repeat purchases of a failed product are nearly twice as likely as other customers to buy another product that fails."

So no, it doesn't seem like it's as simple as early adopters or novelty-seekers.
"The term "hipster" "

I would say a hipster is someone who thinks that everyone else has it all wrong and is missing the obvious right way to dress, think, live or do something. Which the hipster has all figured out.

The best thing about hipsters is they appear to not care about appearance (as only one example) but then almost always predictably dress a certain "hipster" way in order to conform to the way hipsters are supposed to look.
I get a lot of “Reserved to the Corporate service” when I try to buy one :/
According to the apparently well-informed first comment[1] on that article, it's not really an exception. The first paragraph:

As a former Coastal Commission staff member in the 1980s,
I've seen this scenario played out over and over. The so-called
issue of Spanish land grants pre-existing and somehow
superceding laws like the Coastal Act isn't an issue at
all -- land grants occurred in the early 1800s all over
California, so Martins Beach isn't any special or privileged
circumstance.

[1] http://blogs.kqed.org/science/audio/silicon-valley-billionai...
How could the compiler achieve safe memory management without any annotations, runtime overhead, or garbage collection? I would be interested in answers to this question, but they are not obvious to me after years of thinking about this problem :)
Then you would be awful to work for. People should take pride in what they do, and you shouldn't ask them to do demeaning things.

I mean, if you run a cleaning service or fix septic tanks... people know what they're in for.
How to work with your MongoHQ data locally
Atom-Shell: js desktop app wrapper (chromium)
Yeah, the economics for a SaaS application are in some ways very different than a supermarket. I imagine that many of the products that eventually get cut are still "profitable" in the narrow sense that each unit sold is sold at some margin above cost. But when you take into account the enormous opportunity cost of stocking that item and taking up shelf space for it that then cannot be used for something else that moves at greater volume, it becomes uneconomical.

A SaaS app doesn't have the same sort of physical opportunity cost -- every dollar earned is a good dollar. The only real opportunity cost involved is the creator/employees' time.
Three. If they are talking to me half of their problems is already solved, whether they know it or not. Need dancers? Hire dancers and don't waste my time then...
To me it makes sense to think about how much state is being mutated in a given class. If you have a class with 200 different properties that are changing somewhat orthogonally to each other, you probably need to think things through and separate concerns a bit. Still kind of an 'arbitrary principle' but another way of looking at things. You want to encapsulate the moving parts but you don't want to throw every moving part in a giant bag.

Designating a class as having a single responsibility is an easy way to ensure that there is a minimal amount of state per class, but if the abstractions you are creating with this principle aren't logical than you are still left with a lot of moving parts someone has to think about when making modifications.

All these principles mostly only work if the system is also being designed rationally. Applying principles arbitrarily to a messy codebase will not necessarily get you a good design (and probably not) but thinking about these principles when making design decisions can sometimes be useful.
I've been going to Martin's Beach since before I could walk (or swim). It's a location that has been pseudo public access for generations. That part of San Mateo County has been extremely effective when it comes to preventing unwanted development and opening up areas for public access. Khosla is in for a real battle, no matter who wins the current court case.
Forrest Gump?
It would require runtime overhead over C/C++ to check whether every pointer is really is in static or heap memory every time you want to free it.
I'd take the $10M because I like to run my own show. $10M is in the right neighborhood for "fuck you" money for me, so $10M would allow me to run my own "show" (read: "life").
Some day I will get one these bags made from Horween leather:
http://www.kaehler1920.com/shop/briefcases/leather-briefcase...
Yet they use a .com for their own domain.
Compared to Protobuf, there is definitely going to be a trade-off. Protobuf uses variable-width integer encoding whereas SBE uses only fixed-width integers which means there will be a lot of zero-valued high-order bytes and padding taking up space. But variable-width encoding is costly because it involves a lot of unpredictable branching -- this is exactly where SBE's speed advantage comes from. The exact amount of overhead will vary depending on usage; it could be about the same size, or it could be many times larger. (This is a general problem with benchmarks of serialization systems: the difference is highly dependent on use case, so you should never assume your own application will see the same kind of performance as any particular benchmark.)

Cap'n Proto also uses fixed-width encoding, but offers an optional "packing" step that is basically a really fast compression pass that aims only to remove zeros. I've found that this usually achieves similar sizes to Protobufs while still being faster, because the packing algorithm can be implemented it a tight loop whereas a Protobuf encoder usually involves sprawling generated code that does all kinds of things. SBE could pretty easily adopt Cap'n Proto's packing algorithm.

SBE is probably slightly leaner than Cap'n Proto because they don't use pointers. Instead, SBE outputs the message tree in preorder. Only fixed-width elements are found at fixed offsets; the rest have to be found by traversing the tree. The down side of this is that you want to find one element in a list, you must first traverse all of the elements before it (and all of their transitive children). Cap'n Proto's approach using pointers allows you to process input in the order that is most convenient for you (rather than in the exact order in which it was written) and makes it easy to seek directly to one particular element (which is awesome when you're mmap()ing a huge database), but does have a slight cost in terms of message size.
My impression is that while existing property generally is grandfathered when regulations change, renovations then require you to bring the relevant part up to code. Thus, if you want to change stuff, like putting up a fence, then it does not seem far-fetched that you would then be required to comply with current public access rules.

If you have an old deal, that's fine. But you can't justifiably claim you both have a right to be grandfathered in while at the same time updating the property to current standards.
Measured by how often I do use Google to log into things, I'm not sure why the existence of providers is proof that it didn't fail. The login method that Google promotes doesn't seem to be openid but something that's easier to use (and only works with Google).
later pages with longer domain names have some formatting issues:

http://www.hipsterdomainfinder.com/p/11
fuhrr.com, for all your Nazi Web 2.0 needs.
YC: If one wanted to buy you three months in (August 2007), what's the lowest offer you'd take?

Drew Houston: I'd rather see the idea through, but I'd probably have a hard time turning down $1m after taxes for 6 months of work.

Drew Houston's YC application for Dropbox. https://dl.dropboxusercontent.com/u/27532820/app.html
Seriously. Why do people assume everyone else watches the same TV shows as them?
I doubt it'd come back from the dead but if they put some effort into making sharing / finding friend's shares in, you might see something similar to separate things to read from status updates and lunch photos. After, of course, unbreaking the social model which won't happen quickly.
"Programmer Chair" - I parse that as "the floor".
Even if it were for that, Vinod has been a bad actor here, so if this were the case the ends wouldn't have justified the means. First he fought to not reveal who had bought the land, and now he has been trying to overpower the people (represented by the govt) via his wealth and litigation.

For the record, its not that great of a surf spot, but this is more about letting someone establish precedent and thus leading to more beach access rights (Malibu...) getting chipped away at slowly but surely.

It would be great if we had Hawaii's right-of-way laws...

And to the original poster - not sure why you were down voted for asking a question.
Why some tourist attractions forbid tourists to take photographs
The thing is, I estimate $10M is enough to satisfy my financial needs for a lifetime of unemployment. I genuinely think I would take $10M now over $100M in 6 months, after 6 months of arduous soul-sucking work.

Of course, there are potential problems with what I just said. Firstly, my estimate could simply be wrong. Maybe $10M "doesn't go as far as it used to." Secondly, it could be argued that this would actually be a selfish decision to make, since even if I can live with $10M, I could put in the 6 months of work and do a lot of good in the world with the extra $90M.
Startup CEO Says His Company Is Profitable, Axes Full-Time Staff
Money is just one of the things I need to run my own show, and certainly not the most important one.
You're probably talking about Carbon Beach, Malibu, California.

http://www.malibutimes.com/news/article_cde2956a-3ea5-11e2-a...

You can take a photographic tour of Ellison's vast real estate portfolio here:

http://www.businessinsider.com/larry-ellison-real-estate-201...
How cotton balls are helping Darwin's finches fight parasites
BTW, do you know (or does anyone know) the specific history of this particular parcel? The closest thing I could find was a wikipedia bit on Spanish and Mexican land grants...

http://en.wikipedia.org/wiki/List_of_Ranchos_of_California

various articles refer to the "original owner" who filed a claim on the land (upheld by the US courts in the mid 1800s), but I can't find anything more than that...

"The judge cited the 1848 Treaty of Guadalupe Hidalgo, which settled the Mexican-American War and required that the U.S. recognize Mexican land grants in cases where a claim had been filed.

The original owner of the land fronting Martin's Beach had indeed filed a claim, which was upheld by the U.S. Supreme Court in 1859, 14 years before California drafted its first constitution."

One issue I don't understand here is why the parcel is exempt from the public easement required through the California state constitution... it makes sense that the treaty required the US to recognize existing land ownership, but it seems strange that it exempt from constitution where it comes to use. For instance, permits would still be required to build on it, land use law is still in effect, right?

I'll try to dig up the opinion and read it some time. If anyone has some interesting links, please post them.
The categories in play here are wrong. It's not tech that leads people like Khosla to appropriate what should be public property; it's extreme wealth. The distinction should be between billionaires and everyone else; Khosla's peer group is oil barons, hedge fund managers, and Saudi princes, not startup founders.
Wow, atom is slower than Sublime Text? Are you just meant to start it up at the beginning of the year and leave it running throughout?
Time to Worry About Stock Market Bubbles
What if, 50 years from now, game design textbooks talk about 2048 and how it became a near instant hit in the early 2000s?
Linode and if you need stuff with a UK company, bigv are a much better deal.

Auto-scale - this needs to understand the application layer so you'd probably be better of with PaaS.
SciFi is niche to begin with. I can think of very few SciFi shows that ever achieved mainstream appeal (call it 3+ seasons).

Of course, when you think about it, what's the percentage of normal shows that actually get 3+ seasons?

The difference may not be the percentage but the rabidity of the fanbase.