skysight-inc/HackerNews huggingface dataset:
His notion of a "2d" library versus a "3d" library is weird. First, who cares? He's inventing this semantic argument that nobody else has even bothered with.

Second, WebGL has builtin depth buffers, vertices are specified with 3+ coordinates, and most of the shader math operates on things obviously in three dimensions... so, saying it's 2D is incredibly misleading.
Previously: https://news.ycombinator.com/item?id=5232823
Not all of us who are unwilling to deal with the decades of bad language design C++ displays feel this way because we lack talent and experience.
Kris Bryant, the Baseball Players’ Union and a Lesson for Labor
While we are at it Python:

>>> sum(x*x for x in xrange(1,11))
385

You could use a map in Python as well, but really, the generator expression is much cleaner:

>>> sum(map(lambda x: x*x, xrange(1,11)))
385
> So you've studied them all and know with certainty that none could possibly be useful to the poster?

Having looked at every one of them is not a necessary criterion for having proof that no religions have helpful teachings for enlightening yourself. We don't need to input every possible number into an equation in order to make true statements about the nature of the equation. My claim about the reality of religions is due to the fact that there is a fundamental disagreement between religious teachings and teachings from a real enlightened being.

How about looking in the most likely of places for a religion which should have some teachings from an enlightened being? After all, we can be quite certain that Gautama Buddha attained a perfect enlightenment. Only someone who did attain such a level would have been able to see what he could tell others about how the world operates. However, Gautama warned people about religions for a reason. Organizations and bodies of knowledge become religions when those who are not enlightened try to teach others what they do not actually know. The result is that they put their own words into the texts/scriptures, but use the name of the one who was enlightened in order to convince others and propagate their own words. Because they are just ordinary people, the only thing they can do is tell others their own knowledge (answers), but they cannot give others guidance on the basis of problems in the living reality. As a matter of fact, in order for something to be a teaching, it must include a problem/question. But religions only have answers that lack questions. The moment we have the questions, we do not need to remember or tell others to learn the answers. So it is certainly not the religions which have the helpful teachings, and the activities of the religions are not in any way contributive to the activities of the one who could see the reality, as they only contribute to mislead adherents.

That's why I'm quite certain that no religions properly transmit teachings that can enlighten people. People only engage in religions because they do not have the correct teaching. That's why anyone who can recognize what religions really are would never want to be tied to them and would never recommend the possibility that they can enlighten people.
> No need to worry about patents either y'all

Actually you likely do. VP8 was patent encumbered and needed a licensing deal with MPEG-LA. It is very likely that VP9 would need a similar deal.
Maybe you missed this unprecedented act that kind of undercuts your point:

http://www.cnn.com/2013/07/02/world/americas/bolivia-preside...
I've found that most people who help others readily admit that they do it because it makes them feel good.

Maybe my anecdote goes against the norm?
Hackers hit Linux Australia’s conference database
Use crecord. We're working on moving it into core:

https://bitbucket.org/edgimar/crecord/overview

If you want a "staging area" just use a temporary commit and keep ammending it with `hg crecord --amend`. There really is no difference between a commit and a staging area except the name. If you're afraid of pushing your WIP commit, use `hg crecord --secret` or `hg commit --secret` so that your commit will be in the secret phase and won't be pushed until you declare it draft with `hg phase --draft`.
Ask HN: How can tech improve traffic
If you're like me you hate traffic and love solving problems.

Today I hit exactly 23 red lights on the way home from work. We all know as population grows, so will the issue of rush hour and miserable red lights. So it got me wondering, How can technology improve traffic and transportation? What company's are currently working on this issue?

This isn't to steal ideas, I just want to get your hacker brains flowing and possibly solve a problem.
Thanks for letting me know. To be frank, it's quite rare to find people who can understand or who really want to know what I pointed out.
Original here: http://news.stanford.edu/news/2015/march/aluminum-ion-batter...

(I guess phys.org is just reprinting the Stanford press release)
Here it is in J:

+/*:>:i.10

It's kind of cheating because J doesn't really do lazy evaluation of infinite sequences AFAIK, but I thought it was fun.

EDIT:

i. integer range
*: square
>: increment
+/ sum

so this reads sort of like: sum(square_each(increment_each(integer_range(10)))
Pointer Analysis [pdf]
Don't worry too much, U.S. couldn't become China in one day just like you couldn't build Rome in a day.

I notice this little detail in the Tiananmen Square protest in 1989, five years after 1984. After the students build the parts of the statute named Goddess of Democracy, the state security bureau declared that any truck drivers helping them would lose their license.[0] At first this amused me a little bit, seeing how pathetic the security bureau was, but soon I feel so frustrated and disappointed be cause it hasn't been any better about politics after 26 years. Of course they have learned how to frame citizen under the coat of "Rule by law". Government without its chain is just like the Smaug.

[0] http://en.m.wikipedia.org/wiki/Goddess_of_Democracy
DIY Time Capsule with a Raspberry Pi
Google Analytics is down
Thomas Pynchon is everything that's wrong with postmodernism. I get that he's difficult and I get that he's creating an internal system of signs but come the fuck on, already. It's literature to prove a point. It's the problem with assholes like Derrida who drone on endlessly in what is—has got to be—a massive practical joke/performance art project.

And that's, in its own way, _awesome_. The problem is that people take it seriously. People read the tea leaves of these chaotic texts and derive their own meaning (which means they're falling for the ruse). I have a deep problem with post modernism in literature and elsewhere because of the nature of the joke. It's a virulent meme that has made both art and literature indigestible and that's a shame.

Markets sort of win out and we get real art from television and popular entertainment these days. It's just sad that the legacy of postmodernism is a sort of flypaper trap for minds that would have been put to much better use elsewhere.
I don't know what vision you're referring to. Who created it? The reality is that Japan was then, and is now, pretty high-tech.
Oops, my bad. I didn't read the original closely enough.
Mattermark Daily – Monday, April 6th, 2015
I was simply noting that I am in fact aware of the proposal. It's not possible to discuss all elements of the situation -- time, space, and understanding all impose limits.

Assume good faith.

As with risks, there are issues in how costs are computed in that for much of the present economy they're predicated on underpriced fossil fuels. Another longer discussion I don't have time for here, but it's something Charles A.F. Hall discusses in his analysis of the Cobb-Douglas production function.
>Probably sold US secrets to China and Russia

>He's one of the most successful double-agents in history, with excellent public relations.

>Snowden is almost certainly a double-agent based on the countries he fled to

All that speculation, then this gem:

>EDIT: Truth hurts, doesn't it?

But no. It's not cause your post is full of accusations and dubious speculation based on nothing and provides no evidence. It's cause you struck a nerve and showed the sheep here the truth and they can't handle it. That's definitely what it is.
The Latest Kentucky Riot Is Part of a Long, Destructive Sports Tradition
I think every society has their own style of 'fixation', like in US, you can pay with a 'signed check' at a coffee shop, even if it's a 3.5$ bill.

Then the shop owner collects those checks and go to the bank on the next day, I am not sure what happens if a check gets dishonoured though.
I love this teaching pattern. It's well broken down and interactive. Great role model.
It's funny that you mention usability and expressibility (expressiveness?) as R's upside compared to Python. I've used both extensively, and in my experience, R is horrendously bad at both, and Python blows it out of the water.
Correct me if I am wrong, but these services seem to be designed by the private sector for people to use, while the government implements it, where it makes sense. Meanwhile in Germany these services are designed by the government and implemented by the private sector and are therefore hopelessly outdated and bureaucratic.

Handy-signatur.at seems very convenient. You know, something must be wrong, when even Austria is moving faster than you ;-) I guess our most realistic bet to get something like this to work here is to count on the European Integration and wait for other systems to take over.
The article misinterprets the Gurley/Andreessen warning call - high overall burn INDUSTRY WIDE is a fair cause for concern and indicator of sub-optimal investing/operating, both for individual companies and for the VC industry as a whole.

On this article's own terms, if everyone is burning like crazy, then it likely that companies in all four quadrants of the high/low execution/efficiency, which means there is bad burn going on.

If you are a company, this means time for self-reflection: (if you want to take the article’s framework seriously) which quadrant are you in? are you burning cash smartly or dumbly? Do you have framework for determining this? do you really believe your revenue can grow faster than your costs? are there places you can reduce cost? how much are you paying for growth in each of your channels, and which are actually worth it short and long term?

If you are a VC, it is time for portfolio-reflection and (if your portfolio companies are lucky) some hands-on portfolio-company coaching: is a company you funded raising again 6 months later (and was this planned…)? have you asked for a burn report and/or a path to profitability? does the board deck summarize the company’s return on spending and tie results to spending (not necessarily in $$ to $$ numbers, but to users, engagement, etc.)? do your CEOs know their main costs, both fixed and variable?

When $$ floods the early-stage market, both companies and VCs do not ask themselves these types of questions enough, and I think Gurley/Andreessen are trying to signal the industry to get more mindful.
Google Analytics Down for Majority of Users
>How do you expect the Police to go after a swatter then? The creation of 'nameless warrants' is looked down upon in general, and is grossly illegal in many jurisdictions.

Well we're talking about a 'nameless warrant' to only access something they could access at-will before, so I don't see that as a real problem.

>we should _define_ metadata as the part that can be reasonably searched.

That sounds like a mess. Metadata has a pretty clear meaning already when it comes to communication.

>The debate really should be about determining which bits of data are "public" and which bits aren't.

Maybe, but things are much more complicated than public and not public.
Last Week Tonight with John Oliver: Government Surveillance [video]
It does. Though I'm not convinced that it's particularly useful to have such a concept as "an equivalent level of harm expressed in QALYs as killing 100 people" when it's not really that at all.

It still suggests that, something like a 70% retroactive tax on bonuses over $10,000 going back 5 years, would be a net good if the money was spent improving people's lives. Yet I think most people would find such a proposal objectionable, despite its legality.
Tiko3D – 3D printer for $179
Burn rate doesn't matter
Canada is the US, post SPP.
so yes, we're talking about the costs of goods in the US.
This Fishermans Catch Had Him Screaming
For the Obama one toward the bottom of the page there is the section "Pages that include matching images", so it did find the exact original image. I knew it would match even cropped images, but apparently it can also handle slight rotation and some color changes.
Cost of lab-grown burger patty drops from $325,000 to $11.36
A very (very) quick look gives an obvious answer of return type deduction and auto in lambda parameters (so, generic lambdas).

It's definitely possible (même likely?) there are other more subtle things in use too.
Jack Tramiel is a fascinating businessman to learn about. I think he should be required study in any business curriculum.

- Huge Personality

- Ruthless

- Hated

- Loved

- Constant Drama around him

He had a definite business plan, and followed it with a kind of madness. He's famously quoted saying "business is war" and truly ran his businesses this way. There's a lot to hate about him, but a lot to learn from -- his weaknesses were as big as his strengths. He was more important in terms of popularizing home computers in his time than Bill Gates and Steve Jobs combined and has often been called the "anti-jobs" for his virtually opposite position on computers from Steve Jobs.

He also deeply alienated third parties and towards the end of Atari, they found it virtually impossible to get anybody to work with them. Stories of him and his sons tearing contracts to shreds and shouting "go ahead and sue me" are legendary.

Here's some articles on him for anybody interested

http://www.commodore.ca/history/people/jack_tramiel_starting...

http://www.atarimagazines.com/v3n10/JackTramiel.html

http://www.cringely.com/2012/04/11/the-jack-tramiel-we-didnt...

http://gizmodo.com/5900742/the-anti-steve-jobs-dies

http://www.commodore.ca/history/people/jack_tramiel_starting...

https://www.youtube.com/watch?v=AMD2nF7meDI
12 ELearning Related Tools You May Not Know
I haven't used hg but as a Git user who uses this feature several times per day, this would be a complete deal breaker!
The main difference between an PaaS like Heroku and a general purpose cluster manager service like GKE is that the former can simplify my making certain assumptions about your workload.

For example if a service knows your container is serving a web application then it can sensibly provision load balancers, DNS, HTTPS, auto-scaling, static content caching, automatic QPS monitoring etc. to support your app with little explicit configuration. And with a commercial service you get an SLA for those things.

You can get much of this with a general purpose cluster as well, but of course you need to configure it yourself, and more importantly - debug it when it goes awry.

Disclaimer: I work for Google
This is a fantastic resource for people with an understanding of Three.js that want to know what's going on under the hood.

Thank you for sharing this!
Thanks for the detailed response. The point about atomic deploys is a good one. However, if we all agree that immutable deployments are a good thing, I've been wondering how is that fundamentally different from launching new instances via AWS/Rackspace/Google API? Is there really a fundamental difference between shipping a Docker container to a set of servers, or just relaunching/rebuilding servers?

You also mention the "no dedicated Mysql, Mongo boxes" etc. I am 100% for that. However, how can you really make that work with databases/systems like MySQL which were fundamentally designed to work on one machine, and scaling them across machines is usually very painful, or at least, let's say, not very "idiomatic" (if I can use that word here lol). I can see the auto scaling part working with distributed databases like Riak/Cassandra, but even there the solution is not clear-cut and "out of the box". It still feels like some manual orchestration work is needed - correct me if I'm wrong.

I can totally see the "online, self-repairing point" but only for application servers that were designed from the scratch to be easily scalable by just adding servers. Which is the case for most scripting languages PHP/Ruby/Python et al and for well designed JVM/CLR/native/Go applications as well. However, I would argue scaling the app boxes/containers is the EASY part. Again, you can always scale up by "just" copying machines (I know, it's always harder that that). The hard part comes with managing the database servers or your cluster of messaging queues, or some other stateful thing that has to persist data SAFELY. Does Kubernetes/Docker REALLY make my life easier with those kinds of things? Is the answer to use DynamoDB/BigTable/RDS/managed queues and forget about that hassle of managing a database or a queueing cluster? Looking for answers :) . Thanks!
If he insists on repeatedly victimizing members of the public, and nothing our scientists and doctors can do will make him stop, then what other option is there? Even in our current system, such a person would just be in-and-out of jail for their whole life. What value does society get out of that, other than the incapacitation provided by his stints in the clink?

I really can't think of any value to retribution, so if we write it off we are left with rehabilitation, incapacitation, and deterrence^:

Rehabilitation: Doesn't work in this hypothetical scenario.

Incapacitation: Works. When he is in prison he is unable to reoffend.

Deterrence: Doesn't work in this hypothetical, because if it did then it could be seen as a form of rehabilitation.

That leaves us with incapacitation. What else could be done?

^ http://en.wikipedia.org/wiki/Punishment#Possible_reasons_for...
Not sure why HNers were so disappointed with people's response to Snowden in NYC. Isn't it easily possible that out of 200 people they questioned, only 10 didn't know about him but they of course edited out 190? That's how these comedy news shows work.
Thanks for the feedback. It's nice to find a person who recognizes what I had to say.

I also find farming to be one of the best systems to help us understand how to lead our lives. I don't know how you'll understand this, but I want to tell you that there's a fundamental principle by which the world exists and operates. If we can really open our eyes to this principle, we can recognize everything in the world, and we can also find the way to whatever result we want. I like the practical, living example of doing farming because the process in which plant life reproduces and can be cultivated is a very distinctive example of this principle. In the world, something that exists once has its will to keep existing, and it tries to make itself keep existing through its own activities. As a matter of fact, things in the world exist on the basis of what they keep inside of themselves. We can see this fact clearly through a simple plant, like a bean. A certain bean came from a previous bean. If we try planting a bean, whether or not it can sprout and yield new, viable beans depends on both the integrity of the bean we plant (the nature of which was made by past activities of the ancestor plants), and the environment (the quality of the farmland, and the care provided by the farmer). When we closely study how changing these two factors changes the quality of the result (fruit) we get, we can approach complete understanding of the system. I just wanted to say that farming is a great example because the same principle inside farming also exists in every other aspect of life. The problem is how we can improve our ability to see what exists in front of us in any given case. As you may already know, understanding something rationally is completely different from being able to see it with one's own eyes.
https://github.com/YePpHa/YouTubeCenter/wiki

Use this to turn off dash playback. And also just download the video instead of watching it in browser.
"Up until 1999, a thesis of original research was required of every student pursuing the Italian equivalent of a bachelor’s degree." Outstanding.
Where do you find themed cruises like this? Last time I went on a cruise my wife, sister and brother in law had a blast playing pandemic and D&D, but there weren't too many other geeky people around that I could see (either older people, people with family, or young party types)
Didn't George W. start this trend with his "The Constitution is just a Piece of Paper" and "Unitary Executive" jokes? I thought we gave up that whole "voting" thing when 9/11 changed everything.
All good words, but my opinion is that in order for them to have been complete teachings, they need to have also included the clear and concrete criteria of good and bad, right and wrong. Otherwise, judgement of good and bad are bound to be made arbitrarily by those who do not know the world, leaving your good quotes with too much possibility to be misused by others.
A very big Walled Garden. As an owner of an ecommerce site, I can tell you it's very tempting to create an App version just to take advantage of one-tap thumbprint orders.

Also I don't think Amazon or Google have a TouchID payment system.
Correct it WAS high tech but not anymore.

I went to Tokyo in 2013 and 2014.

That probably was cool in the 90's but lately Japan hasn't done anything new in over a decade.
You can also replace the closure in the fold with Add::add, where Add is std::ops::Add:

let total = (1..).map(|x| x * x).take(10).fold(0, Add::add);

This is an application of UFCS, which allows you to call methods as regular functions.
Cured of tinnitus. Thinking of 30 more years of constant noise is making me want that 30 years to be a lot shorter.
Yep - saw this myself when my API calls started to fail. First time I have seen this for such an extended period of time.
> Where the Sea Monkeys see community, I see epistemic closure. All the shared references and common rhetorical tactics don’t feel supportive to me—they feel almost lazy, as if the triumph of the nerds means not having to meet the normals halfway.

This really is the main problem with nerd/geek/gamer/etc "culture", it's actually very exclusionary to people and if you don't possess the right amount of shared knowledge, you're ostracized. Nerd "culture" is also uncritical of the objects of worship, watch what happens if someone criticizes a sacred cow like Firefly or Game of Thrones.

Critical of individuals and uncritical of art is exactly the opposite of what we should strive to be.
The great question is: why did this stop?
What Really Happened to Arcades
Stop using “Nerd” to describe people who like computers
Google cache: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd...
ROFLM...fuckin....a$$o or |0|
Swattings still happen on a regular basis despite pervasive metadata collection. Is your argument that we're not collecting enough to stop them?
Bil Herd's talk at a LUCKI expo gives some good insight into how Commodore (and Jack) worked. The page says 1991, but it was probably 2001-2004. I was there for this one, and I didn't start going to Commodore conventions until 1999.

http://c128.com/commodore-expo-1991
I graduated after these changes went into effect so I might be wrong, but it is my understanding that before 1999 degrees were at least 5 year long, so the requirement made a little more sense. I'm actually suprised that old-style Italian degrees were equivalent to a bachelor degree.