skysight-inc/HackerNews huggingface dataset:
Blaming the prosecutors here seems suspect. Remember, it was a Canadian woman that saw the comment and phoned the police in the first place. And the impetus for keeping him in jail is the same frothy public rage that has been arising in response to school shootings for years now. Don't pretend that Canada doesn't have its share of this contingent of paranoid minivan-driving suburbanites who call for every possible response to any perceived threats to school kids.
I'm not suggesting dumbing-down their product in any way. I'm talking about a usable, well-designed CLI and web console.

They've made quite a few incremental improvements over the years, but it's still mediocre at best.
Not to be confused with https://github.com/keenerd/packer
Learn Python in minutes
Broken business models propped up with legislation need to be put out of business.

That is a bigger and better benefit than being able to buy a Tesla.
There's another reason to use shorter/smaller keys -> Mobile CPUs are puny. I've overheard people saying as "a good performance trick", but I don't think I'd be joining that camp.

There's also the issue of "where to tap" and if its behind the SSL acceleration boundary, this is moot anyways...
>It was great for finding these in-depth pages about ridiculously obscure topics

Where did the people who made those sites go anyway? (Who were they?) Millionsort implies that they got buried under a couple tons of SEO and search engine manipulation.
own up oneup to pad the blow :)
> why on earth would you be constantly re-defining a function "logIt" within a function that is repeatedly called? That's just bad programming -- whenever you define functions within functions in JavaScript, you really need to know exactly what you're doing.

It's just a reduction to demonstrate the problem. I'm sure the code that actually triggered it was much more complex and had valid reasons for doing whatever it was doing.
You at least want to maintain indentation for new lines.
Phishing sites are already using the misconception that to log-in with OAuth (or OpenID, or Facebook Connect) you enter your username and password on the site. I wrote about it last month after a friend got caught by a phishing scam. http://www.antoncohen.com/2013/05/phishing-failure-of-oauth....
Yes, sorry. I deployed a bug that blocked all browsers for a couple of minutes. It's fixed.
I think the down-votes are because you're attacking JavaScript without basis, and not constructively. This "memory leak" has nothing to do with the distinction between languages you make. And indeed, this kind of behavior in closures is by design (as I understand it), and not by evolution at all.
I was in your position for about a year until bit the bullet and uninstalled Sublime Text from my machine forced myself to use vim exclusively. It was an arduous and painful 2 weeks, but it got better and paid off in the long run.
Never let facts get in the way of snark.
#7 If you think the way the military works is ridiculous, I understand, but don't assume that you know better. The military exists to kill people and break things not further social agendas (right or wrong).

If killing people and breaking things is your bag, then maybe you should go join a motorcycle gang or something. Or move to Somalia, and become a pirate. Just don't expect us to bankroll your activities, and to allow you to keep doing them in our name.
And do you find that it always follows that someone making sure that the facts at issue are correct must always support the side that the incorrect facts back up? We're not allowed to even discuss this on a somewhat even keel without having motivations questioned?
I'd be so much happier implementing Facebook Connect if it gave me an OAuth scope that didn't include access to your friends list. I don't WANT that access, so why don't you provide a way for me to not look sneaky to your users?
It is the same with smart phones. Even if you don't install any apps or link any of your profiles (fb, g+, etc) all it takes is for one person you know to upload their address book to "find their friends" and suddenly there is linked: your phone #, email, fb (your picture included), g+, all in one spot, all without your permission or knowledge.

Even if you try and secure your data and privacy, unless everyone you know does the same thing it is pointless.
How is that an excuse? Not to mention, 57,000 is not that small of a town.
I don't think most people have any idea how the DRM extensions for HTML5 work, frankly.
Quantum computing could be used for solving systems of linear equations more efficiently for example, having applications in image/video processing, weather predictions and all kinds of analysis - solving such equations with classic computers is done in something like O(n^3) or O(Cn^2) with a huge C, but quantum computers could reduce this to O(log n) or something like that. This is really cool, because doing simulations of complex systems, like weather modelling, involves a huge number number of equations and variables (think billions, or even trillions).

It isn't far fetched to think of evolved quantum algorithms for making better predictions than we currently do. On the other hand, some people kind of have the impression that with quantum computers suddenly NP won't be an issue anymore. Which is simply not true. Most problems we have will simply go unsolved and quantum computers will introduce problems of their own.
Wow. Putting him in jail is like swatting a fly with Mjölnir.

I often wonder what is the right reaction to such a "threat". Is it to ignore the topic until it is carried out (and thus becomes a real crime; someone carrying out something like that is probably a rare thing, despite the FB posts of various previous school shooters)? Will the public tolerate the perceived inaction? Is there something useful that can be done?
I am glad that you noticed. Simplicity is one of my personal values. I hope it is present in my documentation & code.
So why is a woman from Canada looking at this kid's facebook page?
If you read the article you'll note that "rider safety" is not about adding more and better trained cops to BART, its about lights...

> BART spokesman Rick Rice said the system can’t remain sustainable if employees continue to contribute nothing to pensions and pay a flat $92 per month for health care, regardless of the number of dependents.

Its ridiculous that this has been allowed to persist, pensions need to go the way of the dinosaurs, people need to get their own retirement plans sorted out.
I honestly can not tell if you are being sarcastic or not...

>Where are the secret police whisking away "dissenters" in the middle of the night?

Think IRS targeting; think of the secret targeted kill lists (not only can you not know who is on it, you can not know the criteria to get on it).

>Where are the mass forced migrations of ethnic minorities?

Check the farms where you will find field hands who are likely undocumented immigrants. Or check the slums, no need to physically relocate anyone when you can economically relocate them.

>Where are the mass executions of political prisoners?

Thank goodness there is no argument here. However, we do have indefinite detentions and targeted kill lists without due process/judicial review. Maybe not mass executions, but one targeted killing by the government is to much for my tastes.

>Fraudulent elections?

Um...2000 Bush v. Gore? Florida? Certainly no known fraud, but an election decided by a single state and a few hundred votes, where thousands went missing for a period of time, not to mention the "faulty ballots" in Florida. I would say this is more like MLB during the steroid era, sure the new records still stand, but there is a asterisk next to the names.

>A one party state?

You have a choice between red or blue, either way you get budget deficits, a surveillance state, Gitmo, war of terror(opps *on), ect...
Appreciate that correction, thank you
Uh, the Rehnquist and Roberts courts have spent collectively two decades scaling back all the power the liberal courts decided for themselves in the 1960's and 1970's.
"They "trust me". Dumb fucks."

-Zuck
The Southern Ocean can get rather rough in winter. It's not the best time of year to be sailing in the open ocean there.
Running R and Rstudio on EC2
Um, In certain conditions, atoms and subatomic particles can be in two places at once, or spin clockwise and anticlockwise at the same time. That means you can use a single atom to represent two binary digits. No, that's not how that works...

A qubit represents a single bit, in its two possible states: 1 and 0. Alone, the qubit could hold the probabilities that the bit will be a 0 or a 1 when you observe it. But for a quantum computer to be cool, you have to include entanglement!

When 2 qubits are entangled, they represent the probabilities of each of the 4 possibilities: 00, 01, 10, 11. If you only had the probability of each bit separately, say 10%/90% and 40%/60%, then the state would just be the multiplication of the two values: 4% for 00, 6% for 01, 36% for 10, 54% for 11. And if the first bit's probability changes, the second bit doesn't change. A simple multiplication will give you the new answer.

But entanglement means the probabilities are dependent on the values of other bits :) So say: if the first is a 0, the second has a 90% chance of also being a 0. And if the first is 1, the second only has a 50% chance of being a 0 or a 1. So if the first has a 20% chance of being a 0, that gives us 18% for 00, 2% for 01, 40% for 10 and 40% for 11. The values of the bits are linked to each other. It's not limited to a simple linear percentage; it can get more complicated by running the bits through various gates. So if the first bit's probability changes, you have to recalculate the new probabilities of B given A. That's when it would take exponential time using a classical computer, but it's all done instantaneously via entanglement.
There is a petition you can sign here: https://www.change.org/petitions/release-justin-carter-and-c...

"Release Justin Carter from jail. Too many teenagers are being arrested, jailed and having their lives forever altered because of anti-terrorism laws and investigations that impede their 1st Amendment right to freedom of speech."
There are 2 issues being raised here. Firstly, Facebook Connect keeps people logged into Facebook once they've logged out of then authentication consumer site. From the user's perspective, this may be desirable behavior or not. If it's their personal desktop and they like to leave themselves logged in to Facebook then it is. If it's a shared PC at an Internet cafe, probably not. As part of the Connect API, Facebook could force the authentication consumer site to ask at the time of logout and to propagate through.

The second issue is that of honeypots and tricking people into providing credentials. People very seldom check the URL to verify that Facebook or Twitter are the actual sites that the data is being submitted to. In fact, they've been trained to do that with services like Mastercard Securecode usually implemented inside a frame to "arcot.com". This is a much bigger issue that requires a more imaginative solution.
I saw the template support and was over the moon, so I made this:

http://www.stavros.io/posts/django-template-projects/

It should help people just getting started with Django to have a smoother transition. I will add various templates with "best practices", like South included by default, stuff like that, to help both me and complete newcomers to easily get started with a new project.
The C# compiler does the same thing:

http://blogs.msdn.com/b/ericlippert/archive/2007/06/06/fyi-c...

This is an old article, but I believe it still applies to the latest iteration of the language.
A re-write of "starbase" in Go would be a fun project for someone with the time.

http://hopper.si.edu/wiki/mmti/Starbase

Starbase is pattered after "/rdb", a flat-file relational database adhering to the Unix-philosophy, ie., piping together small, single-purpose tools. The approach is covered in "Unix Relational Database Management" ( http://www.amazon.com/Relational-Database-Management-Prentic... ), a book which anticipated the "suckless" movement by a couple of decades ( http://suckless.org/philosophy ).

It would be nice to see something like /rdb, except with:
1. Better transparent support for optional indexes when querying.
2. Automatic updating of indexes when deleting/updating data.
3. Scripts included in the package written in "rc" rather than "sh".
4. BSD license.

Perhaps something like tiedot could be built on top of the above: a single, statically-compiled binary to expose the flat file database through a JSON/REST interface and to honor the Unix user/group table-file permissions through standard HTTP authentication. Forms could be designed against the web service while system administration is handled with as much of the unix system as possible.

Such a stack would be great for smaller start ups and where *nix experience is available.
Quick review: Backbone.js monitoring with Caliper.io
Given its dependencies I find it highly unlikely it will find its way into the Django core anytime soon.
5 startup founders speak out about their immigration struggles
A while back I gave a talk to a group of aspiring programmers. I shared with them my personal opinions on what makes Heroku great. You can find that list of things here: https://gist.github.com/ryandotsmith/4741242#heroku
I saw this earlier and am absolutely ecstatic over the new template functionality. I can't tell you how many times I've cloned old projects to start new ones, a process which isn't very fun (due to the amount of stuff one needs to change).

I started this right away: http://www.stavros.io/posts/django-template-projects/

I'll post various templates there, for example a default one containing all the "best practices" that I use (and structured that way), one that includes Persona by default (so you can just click the "Log in with Persona button" and log in), etc.

I love this feature.
My take on this, and maybe I'm wrong, is that Apple and Google have some really cool knives in development, and they're hoping to succeed with them when they jump into the long-running console industry gunfight.
I cried a little on the inside when I saw the proposed C regexp 'solution'.
Pay != quality.

As another person mentioned, being in the UK you face different challenges. My reply was partially to help you, but also to let other American programers know that there are better options out there.
Looks like a no-go for unicorn deploy https://groups.google.com/forum/#!msg/django-developers/rH0Q...
Supreme Court precedent is much more fluid than that, though it operates on cycles measured in decades. Stare decisis doesn't mean that precedent can't be overturned, but that it takes a damn good reason to do so. Look at the date on the Wickard decision (1942). It was a World War II case, decided when the government was gearing up for a war that would ultimately eat up almost a third of US GDP (federal spending spiked from 20% of GDP before and after the war to well over 50%).

It is extremely unlikely that it would be upheld today. Indeed, I tend to think of the Roberts court as having overruled Wickard sub silentio in the Obamacare opinion. The Roberts court rejected the Commerce Clause justification for the individual mandate (the government had argued that not buying insurance effected interstate commerce). It was ultimately upheld on different grounds (that the government had power to tax people who didn't purchase insurance).
In Firefox you could always do it manually with about:memory -- 1MB a second should be easy enough to notice. Not sure they've added a way to get a pretty graph yet, though. Probably Firebug has a way?

I wonder if using the "use strict" directive would let the browser optimize this more easily? Probably not, but Javascript does have a lot of crazy corner cases, and one of them might be preventing (or just making it harder to prove safe) the optimization.

e: Here's an example of one of those corner cases:

console.log = eval

Now whether those functions reference a particular variable depends on the string they're printing! And this swap out of log() could be done at any time.

e2: Ah, as glasser and pcwalton point out, an indirect reference to eval doesn't work the same way as a direct call. TIL!
The whole "validate your idea" thing has merit, but in the end it's really what you the entrepreneur think that matters. I think the most common saw here that people use is, “If I had asked people what they wanted, they would have said faster horses.” - Henry Ford [1]

My take on your first thought is to start wireframing and creating mockups of the screens. That stuff is way more valuable to you right now anyway. Work on coming up with the user experience, the "things the app does", the logo, the elevator pitches, etc. The more you spend on that up front, the less time the various other parts will take you. And you just might find that, when you show a mockup to someone, they say, "My friend Dave has been looking for something to do ever since he sold his company. You should talk to him - let's meet him next week for lunch." The next thing you know, you and Dave have co-founded an amazing company and he's doing the coding while you do the business side of things.

[1] Ahem... http://blogs.hbr.org/cs/2011/08/henry_ford_never_said_the_fa...
Snowden has been saying in other realms that foreign citizens should have as much privacy as U.S. citizens do, which essentially defeats the purpose of having the NSA at all given how intertwined "national security-related" communications are with the rest of our comms.

The other way you can go is to degrade the level of protection from this type of data collection an American gets to match what NSA can do for foreigners (since having so much as one foreign party to a conversation makes the whole thing fair game for NSA). But I don't think that would be politically feasible, and it's not as if that would really make those who live outside the USA feel any better about the idea of their data being collected.
This is a V8 problem, not a JavaScript problem. Any implementation of any garbage-collected language with higher-order functions could have this issue.
I've seen it work in real life, so I'm afraid I'm going to have to disagree.
> How does something like Packer/Vagrant help me?

Totally depends on what you need doing. Might want to check out use cases in the packer documentation.

There is some overlap in all these tools. ThAnsible/Salt/Chef/Puppet tend to used to manage "live" OS's/systems, keeping them updated, deploying new builds to them. Although some like Ansible are more generic.

Vagrant and Packer(I know little) manage images. Starting, stoping, provisioning (and often running one of the above Configuration Managments to finish customizing. Although some believe in running from pure AMI, updating them instead of the live systems).

They get more power when there are many devs, lots of images. I.E. when you have enough complexity you need help managing it.

If your small or simple (no negative connotation implied) they probably aren't worth it. I'm one man shop and use Ansible cause it's the right fit for that (although it's expanding fast).
I'm sure it was more complex, of course.

But what I mean is -- whenever you define a function within another function, that should never be a "default" way of writing JavaScript, because it creates closures, and you're just asking for "memory leaks".

Because closures use memory, you need to make sure there's a valid reason for creating the closure, and above all that if you're creating multiple closures by calling the parent function repeatedly, that there's a really really good reason for it, and that the closures are able to be garbage-collected later on.
That is the bug that sent me back to Emacs too! On a high dpi display the tab fonts are too small and attempting to change the font size just results in this clipping behavior.
I don't know if a command line interface is what we need. I just want more like sites like these (just a couple of examples of the top of my head but generally you just "know" these when you see them):

http://nuwen.net/

http://starling.rinet.ru/music/index.htm

http://bisqwit.iki.fi/

http://www.worldhistorymaps.info/maps.html
Why over Scala?

* .NET runs everywhere now without problems, the JVM doesn't have a reliable IOS implementation and Dalvik on Android is too slow for the things I'm doing and many desktops don't come with a JVM installed.

* Better type inference

* FP isolated from OOP

* Lighter indent aware syntax.

* Easier to reason about performance because of lower abstractions

* Pattern matching can be used in performance sensitive situations.

* Easier equational reasononing because FP and OO are isolated from each other.

* Initialization order bugs can't happen easily by design due to the way class ctors work.

* Easy to use Native FFI without having to write boilerplate C stubs

* A generics aware runtime so cross language .NET interop is seamless and without perf cost.

* Built-in Units of measure without perf cost or having to wait for a mature macro'ed implementation..

* Built-in Type Providers allowing typed access to untyped data and much more without having to wait for a mature macro'ed implementation.

* Built-in support for runtime code quoations, with code inspection

* Extensible computation expression syntax for more than just monads.
>I use Sublime Text every day. I love it. I paid for it. I even develop plugins for it.[1] But I don't recommend it to peers. Why? Because Sublime Text has a low bus factor.

Life has a "low bus factor".

This bus might hit YOU, after all.

Enjoy what you can, while you can. Who cares if you have to move to something else in 5 years?

Do you feel like the years you used TextMate were wasted? Haven't you wrote stuff with it?

I've seen tons of promising OSS projects becoming abandon-ware when a few core developers left -- or taking a turn and getting rewritten in a way I couldn't stand.

Case in point, TextMate becoming Open Source (isn't that the case, IIRC?) didn't really help it overcome obsoleteness. It got some new builds, and a few guys tinkering, but nothing worthy to use as a 2013 editor.
Manta is probably the single coolest thing I've seen happen in the industry in years.
I am now 30 years old and I still make sarcastic jokes that are worse than this boys comment.

Anyways, is there a list of safe jokes available that has been approved by the US Führer or local Gauleiter? I'd just like to be safe when I visit friends in the US.
Thank you, this is a good explanation.
The only language features at play here are closures and garbage collection. Pick your favorite "designed" language: if it has those two features, an implementation of that language could have this bug.
I always try to tell people what an awesome product the Klipfolio v.5 was. I have kept it since I first got it years ago and find it to be the absolute best for RSS at a time when everyone is bemoaning the death of Google Reader. You guys are really dropping the ball by not trying to grab them. I suppose you have moved on from consumer-facing products, but damn, its a shame because the KlipFolio desktop that I am clinging on to is awesome.
Do these petition sites actually ever do anything? All I can think when I see them is "wow what a clever data mine".
Superhero Science - TED
In case anyone doubts the reality of this quote:

http://gawker.com/5636765/facebook-ceo-admits-to-calling-use...
From a computer science standpoint this incorrect. Regarding computability, quantum computers have exactly the same power as traditional computers.