skysight-inc/HackerNews huggingface dataset:
In grad school, I lived with a girl, and after some time, her boyfriend and their dog moved in with us. A few days after moving in, I went to go to the office, and the dog bolted out the door. I went running after him and corralled him back inside.

That evening, when I got home, he and I made eye contact as soon as I opened the door. He immediately slunk off out of view. I then informed my roommates about what happened, and they of course scolded the dog.

What is undeniable to me is that the dog felt shame. He knew he had done wrong. I could see it in his body language and behavior - he knew it when he saw me when I got home, and he knew it when my roommates were scolding him (Verbally only.)

When you think about it, though, it shouldn't be a surprise that pack animals would experience shame. That emotion would help maintain the pack hierarchy.

I think that incident, by the way, is what established me as a pack-leader to the dog. I was new, and I don't think he automatically assumed I had authority. I miss that dog, too. He was one of the most openly affectionate dogs I've ever had the pleasure of being around.
I think that is pretty dang cool. Perhaps one expansion could allow people to add some text - details about each photo if an explanation is required. Either way, that's a neat site - nice work.
Would you like to see a Health site on Stack Exchange? Commit to this proposal!
You could if the new machine was very similar to the old one. In practice, the new hardware is better in some ways, so just copying everything will either not work at all or only work sub-optimally.

OTOH, your personal application configuration files (editor, window manager, etc.) can nearly always be copied as-is without causing any problems. Some people have been copying the same .emacs from machine to machine for years, if not decades, upgrading Emacs all the while.
I thought those were satellite, not aerial pics?
Elliptic curve cryptography via Wikipedia
Listening to Peter's talk @ Start-up School and he mentioned Elliptic curve cryptography so I thought I'd look it up. No wonder it beats factoring.
Review My Startup - Live My Journey
Hi all,

I'm just about to do a soft launch for my social travel planning startup and was hoping to get some feedback on what you think of it.

The link is: http://www.livemyjourney.com

Thanks in advance!

Amit
I don't see what the problem is here, this is very readable to me. You want to find between the beginning and end of a list called v, for a value between y < i < x. Admittedly the condition in the lambda could be better written, and the results should probably be called something other than i, but it's perfectly clear what's going on here.

Let's look at the equivalent C++98 loop:

int i = -1;
for(std::vector<int>::iterator iter = v.begin(); iter != v.end(); ++iter)
{
if(*iter > x && *iter < y)
{
i = *iter;
break;
}
}

It's not only much more verbose, but the types need to be expressly written, and what's going on isn't immediately obvious from the function name.

No, C++ will never win a beauty contest (I'd vote for D or Haskell personally), but it's great for expressibility, and the new C++11 changes make things more concise.
I wonder how much of this is due to the elephant having been shot (as opposed to being killed by a more comprehensible form of injury). The group of animals may have minimal contact with guns and not understand what happened.

From the herds perspective, they successfully escaped from the scary humans who made loud sounds but one elephant suddenly just toppled over after they escaped.

Confused they try to get her to her feet.

Later once its clear she's not coming with them, they cover her body to give it some form of protection against the elements or scavengers, if she wakes up later she might be able to catch up with the herd.
The idea of a golden age when litigation was rare and fair dealing was the order of the day is a myth, as far as I can tell. My torts casebook quotes cases going back to the 14th century, and perjury and frameups were enough of a problem in ancient Babylon to be subject to legal proscription. People have always tried to get off the hook for their liabilities. It's not a new phenomenon. People are not going to change; this is why neither libertarianism nor communism scales well.

What you call restitution is known in law as economic damages. When you mention throwing the book at people who try to evade their responsibilities, that's called punitive damages. The tort reform movement is always saying that damages are abusive and that people should be protected from punitive damages, and tend to be opposed to excessive regulation as well. The plaintiff bar argues that without the threat of unlimited liability injured parties will have no legal remedy.

Consider the alternative, where your neighbor turns out to be an obnoxious ass and brings suit against you without a good reason. It happens, and if your neighbor is wealthy or just very persistent then fighting off his suit will be an expensive inconvenience at best. By obtaining and complying with a permit, you are insulated from his abusive litigation.

This does not happen so often with homeowners, but such conflicts between businesses are not at all uncommon - think patent litigation. http://en.wikipedia.org/wiki/Sturges_v_Bridgman is a famous example; in a nutshell, your private rights are subordinate to society's overall interest, since the latter is nothing more than the aggregated interests of other private individuals. The object of fees and permits is not to maximize revenue but to minimize litigation, which usually ends up costing more than bureaucracy.
I don't really understand what the author is trying to say. Granted, it's been a while since I used Ubuntu, but as a developer I mainly live in my editor and terminal.

Anything I ever wanted is just an apt-get away and is mostly installed in a sensible way.

Ubuntu simplifying desktop features and changing defaults to be easier for users like my mom sounds like a great thing to happen to Linux.

That stuff is mostly orthogonal to developers who, you know, know how to deviate from the standard configuration and tools.
What sense of entitlement? She's only expressing that she would like to be easier and clearer. Are these not valid wishes? I did not interpret her text like you at all... Oh well
As you have correctly noted, there is NO below-class in this vision (well maybe except hotel concierge).

There was also the video-beggar in the subway station. Which struck me as extremely cynical.
HAProxy is easy to set up and is probably what he wants, if he plans to scale to multiple machines. But on those machines I'd recommend cluster.js. (http://learnboost.github.com/cluster) It will spawn n child workers, proxy requests to them, and restart them if they die.
All the links are on Debian popularity contest front page: http://popcon.debian.org/
I'd also add - meet all the influential people in different teams. From my limited experience, even if you're on a low position you suddenly start talking to team leaders and people who they assign to talk to you (usually the ones who have a clue). Great start for networking.
OK. There is both light subtraction and emission happening on both sides. You could have a middle-layer of LCD shutters between a sandwich of translucent LEDs.

But I think the worst offenders are the desktop-mounted 3D display and the projection-capable PDA.

I am aware you can light up a voxel of air with enough energy. I am not sure you can do it in full-color, from a battery or whether the user would be able to interact with it without an aluminized fire suit. If I had that kind of power source in my pocket, I'd be warping space into stable wormholes instead of taking cabs.
This is a bit off topic, but can you suggest accessible meditation resources for the beginner? Are books sufficient, or is a teacher necessary?
So we have a bunch of screens to look forward to? Yay, looking at screens of various sizes and sitting at desks. Wow, what an improvement in the quality of life? Wouldn't you say?

This is absurd I mean in an uninspired way. It is absurdly uninspired. Why is technology today so concerned with what can be displayed? The people in these videos are basically holding iPhones and wearing 3d glasses. Carrying a brick around with me was never appealing no matter how far the screen extends to the edge.

The phone (brick) is NOT the best form factor for mobile technology. It is not attached to your body and only complicates the business of living day to day living... "Where did I put my brick and my keys?" All of these ideas of carrying around screens and sitting at office desks looking at screens are only visions of Utopia to people waiting to die.
> Show me an attack that's happened in the last 10 years.

After September 11, I personally wrote a letter to the Middle East telling them to knock it off. You're welcome.

Or, in more words: "No attacks have occurred" is not sufficient evidence for the efficacy of TSA and co. A similar argument can, after all, be made for the efficacy of any other absurd measure—and unlike my angry letter, the TSA, as well as its equivalents in other countries (some of which HAVE had attacks) has been repeatedly demonstrated to be incompetent and ineffective.

> I feel like you are on the side of the terrorists.

Calling anybody who questions political power-grabbing a terrorist is absurd. Details of this particular instance aside, we should always be able to question and scrutinize this sort of action. If not, then there will be very little left of democracy.
Ask HN: Dress code? Do you dress up for work?
Tech companies, and startups in particular, are known for relaxed dress codes. I don't believe people's attire has much effect on their work performance, but I sometimes wonder how software engineers (as a profession or individuals) would be treated differently if they wore nicer work clothes (e.g. no hoodies or logo t-shirts).

Do you dress up for work? Does your office have an unspoken dress code, pressuring people to dress up or down?
no one is forcing you to use these technologies.
I think Silicon Valley is the answer, not the problem.

There's a world of difference between the massively publicly subsidized, mostly zero sum financial industry and the technology driven entrepreneurship of the Valley. One hedge fund's gains are another hedge fund's losses.* Google and Facebook make money by improving the matching between buyers and sellers. I would argue that thus far, my trade of privacy for useful communication tools has worked wondrously in my favor. Does anyone disagree with that?

Privacy? I absolutely agree that's an issue. If you do too, then do something about it. Create a company that consumers can flee too when/if Facebook et al. overstep their bounds. That's competition. It actually exists in the Valley. After the tech bubble did Uncle Sam bail out the entrepreneurs and VCs? No.

Yet when Wall Street managed to destroy more wealth than they ever created, the taxpayer had to basically insure them against losses (it doesn't matter if the government was made whole afterwards - the value of the insurance itself is an implicit subsidy as well as a moral hazard).

Of course, government subsidies, particularly military subsidies, were crucial to the early development of the Valley, but can anyone argue that we haven't earned rich dividends on those public dollars?

Tech entrepreneurship is much more likely to be a positive sum game than the financial speculation that has enriched the Street and the City.

Many of the biggest problems we face as a society can only be solved by technology entrepreneurship. Information technology is ushering in an era of personalized medicine that holds the promise of finally offering us effective care at reasonable cost. New models of web-based and social learning promise to disrupt the academic status quo and provide a new outlet for smart people to learn skills quickly and efficiently. The Valley has also been at the forefront of investing in energy technologies that will reduce our dependence on fossil fuels.

Seriously, what has Wall Street done? What can they do? Is loaning someone money to buy a house really so hard you need a 100 PhD quants figuring out how to do it? Probably not. However, if your goal is to fight a zero sum game in the financial markets with other hedge funds then that brain power comes in handy. But what has society gained in that scenario? Nothing. Instead we've just lost brain power that could have been developing the next disruptive technology.

* This is only true in highly liquid markets. I think the evidence suggests that financial trading is valuable up to a point to create liquidity. I would argue that the US and UK have well exceeded the point where we need to shuffle more brains and talent into Wall Street and the City.
Has nothing to do with Live.js then. Isn't really even about a developer's forgetfulness when pushing to production. It would be about failure to set up different production and development environments, which can cause problems much worse than a wasteful AJAX call.
The GPL is really a very special case. I can understand most and share some of the criticism of it, but the fact is that it tries to keep things fair for everyone by preserving all essential freedoms. It does this by restricting one freedom: your freedom to restrict the freedom of others.

I personally would prefer permissive licenses (or really, no licenses at all, but we're not going to arrive at this point any time soon), and actually use them for some stuff. It's just that the GPL is necessary to force change right now.
i don't think i have the option to change it now. :/
I feel like this article takes a very pessimistic view. To be great or have success in any field, doing anything, you are going to be up against "bad odds". If the odds of success were in everyone's favor then it wouldn't be "success" anymore. If anything this is a very discouraging article for people who may be aspiring to accomplish something great which I feel like the HN community is all about.

Perhaps I've misunderstood the authors intentions? The parts about young people in start-ups, and how it becomes a downward spiral if you aren't in the lucky 10% is such a negative view it hurts. Specifically the "odds" of succeeding and the relative unimportance of the connections you make during that time because [paraphrased] "most of the connections you make in the start-up world are with other start-ups who are likely to fail as well". This is just such a losing mindset to have. If the only thing you are concerned about is not failing then you have no chance to do anything of importance. The choice is yours.

I apologize if I've missed the point here as I know there were a lot of other parts in the article about adding value to your career and understanding how corporate structures work. I do believe those are great things to understand but the tone of the whole thing really struck a nerve.
While I'm 100% behind this, no questions asked, couldn't have said it better myself, Canonical has one huge disadvantage going for them if they were to try and create the best damn development platform out there: Hardware.

I do agree though, and I do hope Canonical takes this advice and succeeds at it. They're possibly one of the only groups both big enough and organized enough to pull it off and do it well.
It's been some time since Tomorrowland ceased to depict a technological utopia.

And I find it and the people who go there absolutely fascinating.
> The guy in the office is using a keyboard.

The curve is one of Microsoft's finest products. I like the natural better, but, when space is constrained, it's a great choice.
They go for the 99%. _majority_ aren't _power user_ so if they make it simple, more people would jump on the boat
I think Ubuntu should zag where Apple zags. I think they're doing it right. They're in a unique position to take an Apple-like path.

I, for one, applaud what they're doing, as much as it terrifies all the half-power-users (I don't mean that as a slight, I do think it's a little silly to get upset about Ubuntu's default WM and claim to 'understand UNIX').
In worker.js :

//Firefox doesn't support FileReader inside WebWorkers

I noticed that Firefox has FileReaderSync available only from Web Workers. https://developer.mozilla.org/en/DOM/FileReaderSync

Per spec (http://dev.w3.org/2006/webapi/FileAPI/#readingOnThreads) web workers can use both. The use cases I have will work fine with the sync interface, but I wonder why Firefox chose not to provide the async option in workers.
First of all, thank you for your thoughts!

1) Clarity of message is certainly something we're trying to focus on. We're always looking at ways to revamp.

2) Target audience is absolutely on Facebook. There will be an app for sure! Viral loop, right...
Great response. Anyone using your site today and thinking that it is close to being the finished product... well, presumably they've never been in a startup office and looked at the massive roadmap of features, ideas, entire new sites, etc., scrawled on a big whiteboard.

I've had a play with codecademy and I think it is a promising start. As someone who fairly quickly falls asleep whenever I have to read or watch videos for extended periods of time, this sort of (guided) learning-by-doing definitely appeals.

Of course, education is fiendishly difficult to do well at scale, and you are definitely right to be focusing on what motivates people to learn... However, I don't envy you having to figure out what are the best bits to adopt from the sum of all the research done in this area!
Ask HN: Choice of framework for development of a large scale web application? 
Ruby on Rails, Django or Symfony2
Please state your reasons as why you would pick said choice. From prior research I found out that RoR and Django are more expensive to scale than any php framework, however I am confused why a lot of Silicon Valley Companies use RoR as their primary framework.<p>Thanks,
Clockwork189
Not Going to Call Myself a Programmer - An App Idea
You can enable killing apps by long-pressing the back button in Cyanogenmod.
We get some decent organic pickup from Google searches but are looking for some SEO tactics and pagerank boost - we're a 4/10 now and the competition seems to be a 6/10 - any recommendations would be much appreciated!
No, I didn't say I thought that. I was just spouting off a few random questions that come into play when you let the concept of a child's random lemonade stand scale up to something you'd consider a "real business".

In that other story, a kid's dad rented a soda machine and let the kid manage it. Presumably it complied with any applicable local laws regarding vending machine ownership, permits, taxes, safety, etc.

I'm all for kids learning entrepreneurship. I think the term 'Lemonade Stand' is loaded, at least for me, as it implies some innocent kind of hardly-profitable but fun thing for some kids to do once in a while. I think it would be great for some kids to see it grow and become mindful of business finances... but at that point, the line gets blurry for me.
And what is the "truth" about C#? (haven't used #C before)
Seems intentional. I find it slightly funny - about the same level as d100. You need to be min. lvl5 nerd to get it.
Important to differentiate between WordPress (the open source project, owned by everyone, and no-one, technically speaking), WordPress.org (the domain name owned by Matt Mullenweg), 'The WordPress Foundation' (holder of the WP TM, also founded and essentially controlled by Matt) and Automattic (the company, founded by Matt, behind wp.com).

The domain name makes the $s through hosting referrals (although you'd imagine that the wp.com self-hosted referrals have long since blown that outta the water) - no idea how or if that rev is distributed.

Automattic, despite being 'barely for profit' (makes me chuckle that, everytime :) would, by my guess, make the vast amount of it's cash through adwords - they used to not show to FF users as they clicked less but they may have changed that now... regardless, they're managed in such a way that bloggers at wp.com will rarely, if ever see them.

Genius, from back in the day: http://pascal.vanhecke.info/2007/11/21/making-money-with-ads...

However, they have also been aggressively monetizing some of their other offerings like http://akismet.com (go try sign up there for free, also genius), VaultPress (kicked us off a few ad spots that one did!) and, of course, 'upgrades' to wp.com accounts.

And then there's the jetpack trojan horse into self-hosted WP installs:

http://wpmu.org/why-jetpack-reallypacks-a-punch-and-the-futu...

VIP hosting etc. has always been a moneyspinner from day 1.

Anyway, if you want a model of how an open source project can be effectively transformed into a money-making beast, while at the same time retaining (if not enhancing) your humble geek GPL cred, look no further.

You might not necessarily like it, but you can't fail to be impressed.

[not really a disclaimer, more FYI, I'm the CEO of http://incsub.com - we have more than a few WP interests...]
What percentage of users are developers? 5 percent? Lower? It's unwise to cater the entire OS to the needs of such a small minority especially when they are the best suited to change the environment to meet their needs. Complaining about needing to download Xcode is a perfect example of why it is wrong. If it's bundled into the OS you're wasting 4GB of space on tens of millions of machines to save the 5% a 4GB download. That makes no sense.

The big problem with Ubutunu is still that it is, no matter how much nicer they make it look, a collection of inconsistently designed user interfaces for mediocre clones of better applications on other platforms. It has no soul. It just stumbles forward feebly copying whatever else happens to be popular on other platforms. It's always going to be playing catch-up to ever moving goal posts. Unless you have some religious zeal to use OSS software there is no good reason to even consider Ubuntu over Windows or OSX.
Noted on the stock photos. Not all of our counselors need to be IECA members. It's a great way for us to confirm quality, because they are the gold standard. There's 1,000 IECA members (not all are in our network) so there's not a supply/demand issue at this point. Thank you
There's a huge difference. Advertising makes money by making our lives worse. Something like the iPhone makes money by making our lives better. They're fundamentally opposing forces.
Best joke is at the end: "These features [...] make modern C++ the clean, and safe, and fast language that our industry will continue relying on heavily for years to come."
Herb Sutter and Andrei Alexandrescu's C++ Coding Standards: 101 Rules, Guidelines, and Best Practices is a great, little book. It does not teach C++ (or C++11) and seems a little light at first, but it provides good advice for "modern" (21st century) C++ and gotchas from "good practices" from many 20th century C++ books.

Herb Sutter's website has more details about the book and some articles with excerpts:
http://www.gotw.ca/publications/c++cs.htm
Life in Greenland's polar desert
Generic container types should really have two parameters: one type that you're guaranteed to be able to put in, and one that you're guaranteed to get when you take it out. Then a Container<emits:A,accepts:B> is-a Container<emits:C,accepts:D> if A<C and B>D.

So, e.g., HarvestTomatoes() can return a Basket<Tomato>, which is shorthand for Basket<emits:Tomato,accepts:Tomato>, and MakeJuice can take a Basket<emits:Fruit,accepts:EMPTY_TYPE>, and it's safe to feed the former into something that wants the latter.

(Of course actual container objects will typically be of type Container<emits:T,accepts:T> for some specific T.)
I took the suggestions and re-made the graph: bazaar -> bzr, git-core added, and only votes used.

http://qa.debian.org/popcon-graph.php?packages=subversion+gi...
I'm a VERY happy WordPress VIP hosting and support client, they are one of the best vendors I've ever worked with - I'd encourage anyone with a site big enough, to look at the VIP program, it's just fantastic.