skysight-inc/HackerNews huggingface dataset:
>Going to go ahead and be the voice of reason and state that:

You aren't the voice of reason. You're the guy with his fingers in his ears and his eyes closed. You are the worst possible neighbor to have in a democratic society. Until you are directly and personally affected, you will continue to argue that those who oppose surveillance are all "unreasonable" to expect the gov't to follow the law, or for even "believing" that the gov't does not, despite clear evidence of wrongdoing.

>1. The NSA does not keep a "file" on you.

The NSA keeps _all_ of the source data. A file can be built at any instant by a simple query. The distinction of not having a "file" at some particular moment is without meaning. One might even argue that the architecture of the systems are designed to allow this "lie" to be told. At the very least, officials have demonstrated their willingness to exploit this semantic loophole, which by the strict rules of logic, evaluates as "true" but which all honest people consider "lying through your teeth".

> Domestic matters are the FBI's territory. The NSA is tasked with strictly foreign surveillance.

The NSA passes evidence of non-terrorism, non-national-security, ie domestic crimes to domestic law enforcement on its own accord, as has been reported widely in the press. Additionally, US intelligence services have in the past been caught passing inside information to commercial interests, also well beyond the scope of "strictly foreign surveillance".

>If information is contained in databases that correspond to your communiques, it is not catalogued as "Kevin Collier", because that would be a direct FISA violation and trigger administrative removal of the data along with reporting about how the violation occurred.

You have no proof of that. Even given the little that is actually revealed about the NSA so far, it is not reasonable to claim that the NSA has followed the rules in this particular scenario, given the many examples of rule-breaking, and the NSA's demonstrated contempt of FISC rulings.

>2. I can almost say with complete confidence that our national security resources aren't being used to target white suburban bloggers.

I can say with complete confidence that you are wrong again. Laura Poitras, Jacob Applebaum, many others have been receiving extralegal searches, seizures of their electronic devices at the border for years. Just a few weeks ago, a family received a visit by virtue of their internet searches. Even if you were correct, it is an extreme threshold for opposition to gov't lawbreaking. You think that no person should make a fuss, until the speech of "white suburban bloggers" is targeted?

>3. By flooding NSA public relations with these useless requests, you're blocking potentially real requests from being processed. If you really cared about getting actual information about programs, you would back EFF, etc. efforts.

Even if their tactic is ineffective or even counter-productive, I prefer it to your denialist condescention.
To have completion with bash you can use this:

function _jump {
local cur=${COMP_WORDS[COMP_CWORD]}
local marks=$(find $MARKPATH -type l -printf "%f\n")
COMPREPLY=($(compgen -W '${marks[@]}' -- "$cur"))
return 0
}
complete -o default -o nospace -F _jump jump

Bash completion really needs better docs :-|
Prince of Persia with HTML5 (Demo)
Hi, I made clone of the Prince Of Persia game in HTML5 and I would like to share, works on Chrome and FF:

www.mazeware.com/poc/princeofcanvas.html

Thanks.
> Life is suffering. There is no perfection on this realm. Solve this problem and another will follow. This is a symptom of life in samsara.

this is why Buddhism is so dangerous to the Western society, because of this. Life is dukkha, so go mediate to disassociate like a victim of a rape, then go back to work, slave.
If you believe Buffett's thesis that skilled value investors who do their homework consistently beat the market, it stands to reason that there should also be other strategies that consistently beat the market (let's say over 20 years or so). It also stands to reason that value investing, since it is such a heavily publicized strategy, probably does not beat the market today, since it is such a widely published and acknowledged strategy.
If I understand the law correctly, only military people have any prohibition about touching, reading, distributing, etc classified data.

Normal citizens agreed to no such terms.
My MP still hasn't replied to my letter, and the so called opposition in this country seem quite happy for this to move forward.
No, I wasn't aware of it. The concept looks similar to TrueCrypt's plausible deniability.
Impossibly cute kittens are the best. I just recently got a purebred ragdoll...beautiful coat and bred to be extra affectionate. If you're ever in the market to buy/adopt another kitten on purpose, you might check out http://wikipedia.org/wiki/Ragdoll - they're more hyper, but they have these piercing blue eyes and a white/gray coat. They also don't mind how people pick them up...they'll pass out stomach completely exposed in your arms, for example.

But on the flip side, you could make a cool Kafka-esque horror story in which you awake one day to find that you had inexplicably become, to your terror, a cat-lady...with mewing cats around you and all.
When did the criteria change from "involved in terrorism" to "not-average"?
See http://www.skyandtelescope.com/community/skyblog/observingbl... for a better article, including a links to a brightness curve and a downloadable start chart. The nova is about magnitude 5, meaning that you can just make it out with the naked eye if you are in a clear dark area far from city lights and know exactly where to look. Most observers not in dark rural areas will probably need binoculars to see it.
Free: http://tomatoi.st/

I use it daily.
App store may not have that ability.
Wouldn't be surprised. I just had my app removed. All it did was show you your true ip when you're using a proxy, to show how your address leaks. They banned it. Do not see how that violates any TOS..
Different agencies follow the law differently. Each agency is composed of tens of thousands, or even hundreds of thousands of agents, contractors, and even supporting military staff.

ATF is pretty famous for being extremely fast and loose with the law (see Fast and Furious scandal). FBI on the other hand, is typically considered with higher regard as to legal compliance. But these are different agencies, run differently by different people.

Furthermore, the authority to do actions may all start from the President... but the President divides the authority between the agencies. NSA does not collect from US citizens not only because its against the law, but because its inefficient. The FBI has more files, more manpower, and more specialists on that front. (IE: Fingerprint Database and Genetic Database). However, agencies sometimes collaborate with each other to pass authority between each other, it has become necessary in the era of post-9/11, when the lack of inter-agency collaboration was cited as the #1 reason why 9/11 wasn't prevented.

So now authorities between agencies are passed around: NSA is allowed to collect metadata, because the program is technically FBI. Read the leaked FISA court order carefully. Its an FBI request, the NSA did not technically make the request. The FBI is demanding for data to be handed over to the NSA.

If you are to understand politics, what is _really_ going on in this country, you need to break the habit of thinking of the US Government as one homogenous blob. It is composed of many parts, some of which compete for attention, some of which follow the law better than others.

Lets see how good your "National Government" education was in High School. You know, some of that stuff is important to understand the context of what is going on.
Google's 20% time is "as good as dead" because it doesn't need it anymore
> “Most certainly our nation’s security will be enhanced.”

Because we're all so close to dying from terrorism:

http://www.washingtonsblog.com/2013/08/president-obama-the-o...
You should care about successes, but you should ignore the failures that will follow.
I have exactly the same laptop, purchased from an Apple store ~14 months ago.

I have more than double his cycle count at 569. My battery is at 85% capacity.

I'd say your battery is defective, or you were doing something to it that caused it to degrade more rapidly.

It's also a little unnerving that the 2009 MBP has an apparently far superior battery, despite Apple's explicit claims to the contrary.
Callback wars! - New abstractions to clean up your code 
On the subject of callbacks and the mess that ensues, here is a paper I wrote for my Ph.D. which proposes extensions to the event based programming model which can be used to clean up lots of callback code. The basic idea is to break down a program into computational blocks called Multi-Event Handlers (named that because multiple events can cause them to fire). Code isn't nested, instead we write a number of these handlers to represent our program and allow it to execute. We can then chain the event handlers together by the input and output events that they accept and emit.<p>http://www.dsg.cs.tcd.ie/~reillyse/pub/short.pdf<p>The abstractions were created to solve problems programming sensor-driven applications but the ideas are general to all event based programming.
Breath of fresh air -- while everyone is busy trying to tear apart what I said (even though I've worked in the NSA, CIA, and with the FBI and consider myself a credible source), you, sir, have your facts correct.

What all of the anti-NSA sentiment fails to address is the actual truth of the matter. The NSA is the only intelligence agency with its shit together, and provides the most actionable intelligence to decision makers. That being said, their collection strategy is determined by policy makers (in Washington) based off of what policy makers deem are the most important priorities. This means that the cycle works like this:

1. Policy makers determine what are their priorities pertaining to foreign policy, national security, etc.

2. *Policy makers provide that list of priorities to the NSA.

3. The NSA returns with what is needed in order to fill those priorities such as budgets and policy changes.

4. Policy makers take that information and weigh the cost/benefit of changing current policy, allotting more funding, etc.

5. NSA sends reports on collection, which policy makers have access to.

6. Policy makers take that information and provide feedback as to the helpfulness of it, who it was briefed to (as in, how high it was briefed), and what direction they are more interested in seeing reporting go.

The NSA is a well-greased cog in a malformed machine. Don't blame the NSA for performing the duties they've been directed to do -- blame the politicians directing them to do it.

In closing, the whole fact that public policy is shifting from all of the backlash is kind of heartening in that it shows the public does have a say in the process. I can't speak to the things in the news, but I will say that collecting on a US person is the fastest way to get fired in the NSA. That's probably why I find it so ironic for all the people deriding NSA now, and NSA having to take the "neither confirm nor deny" stance.
Me too, I expected a lot more mess (from working at post offices)
I came across Galaxy yesterday, linked to from the callbacks/goto discussion. It's an NPM module that gives C# async/await semantics to JS/es6 code (of course it requires the harmony VM). It simply toggles function*/function on things, such as required modules, and provides some extra helpers... the author gives a really nice walkthrough:

https://github.com/bjouhier/galaxy

Galaxy does not claim to get rid of callbacks, though... only to help make writing JS/es6 with async/await semantics easier. I've yet to try it out, but the instructions seem clear.
So why isn't everyone using this instead of InnoDB these days? Is it not production-ready yet?
z is so much more useful because it automatically learns which paths you use most often. There is no need to explicitly mark folders. It just works.
That would offend even more as it strongly implies that "mom could never program of course, but maybe we could build a language where dad could?" If we want to be all PC about it, we should use gender neutral terms; like "something your parent figure could write programs with."

Crazy.
At least for symmetric encryption, gpg defaults (defaulted?) to SHA-1'ing the passphrase 2^16 times, which is not a very large number - http://passwords12.at.ifi.uio.no/Jeremi_Gosney_Password_Crac... [pdf] talks of ~2^36 operations per second.

This isn't the worst thing ever, but using GPG for passphrase-protected encryption is not as strong as you might expect - just use a slightly longer/better one.

(Obviously, don't switch to another tool if you can't evaluate it in depth - GPG isn't perfect, but picking a random other tool won't be an improvement.)
Apple is doing some "planned maintenance" today at 6pm PDT.

dons tinfoil hat
I've been using Bashmarks (https://github.com/huyng/bashmarks) for years, which appears to be basically the same thing but with a less verbose interface.
I was rushing, so it was just curl, lynx, sed, awk, all wrapped with bash. Don't judge; I'd use python and a scraping library if I wasn't rushing.
JPEG is very good indeed, but it can't compete when transparency is needed.

I've chosen Lenna as an example image because it's a classic, rather than as an example where lossy PNG can't be beaten.

But take any transparent image from Apple.com, and you can halve its size: http://imgur.com/a/VLlqG

(and images from pngquant2 are even smaller, but there are few that become too lossy).
It is highly concurrent but you need some tricks beyond that simple description. Here's how we did it: http://www.tokutek.com/2013/01/concurrency-improvements-in-t... http://www.tokutek.com/2013/02/concurrency-improvements-in-t...

Yes, unique checks are bad. They make it perform as badly as a B-tree for unique inserts. There are sometimes ways around that but at some level if you aren't reading in the leaf node, you're going to be at a loss for some information. B-trees seem to have spoiled users into thinking uniqueness checks don't make inserts any more expensive, when in fact that's just because B-tree inserts are already that slow.
Yes, basically; RubberhoseFS helped bring the idea into more-mainstream tools.
First Look at Brackets for Linux – The Open Source Editor from Adobe
I was in the process of doing this myself and though "I wonder if it's already been posted in the comments". Thank you!
Hahahaha ;)
Seriously, what a gimmick of a title. The whole article had no new information and his tone sounded like speculation and complaint that he didn't get some sort of special treatment.
1/2 true.

I didn't choose...

To have my ass kicked, repeatedly, both at home and at school.

To be bounced around as a child, moving 28 times before graduating, having 3 foster families

To have a grave life threatening illness.

To become a young parent (thought I was sterile, but it only takes one, right)?

Things I did choose...

Somehow avoided drugs.

Books and computers, mostly as escapism, lucky me geeks now do well economically.

Became a stable parent, deferring my dreams until my son graduated.

Always trying to improve my well being, eg exercise, nutrition, seeking new treatments for my diseases, etc.

Conclusion...

I've been on the streets and in support groups with others who had their choices taken away, didn't have access to the resources and opportunities I had, or simply didn't know they were born awesome and could choose life.

And I recognize that many have had things far worse than me.

We're all just trying to do the best we know how.

So I try not to judge.
One additional concept that Starbucks handles is name collisions. If there are two Mikes, the person then must check the type of drink in order to differentiate his order from the other Mike's order. If they happen to be the same, it goes to the first person who ordered (or if one Mike is not aware of the other Mike, it's first come, first serve).
Maybe they scan heavy packages only. A camera + controller + memory could go through a 'normal' path
In my Starbucks, they keep the drinks in a FIFO stack. My drink might be done, but they wait until the other drinks in the queue are delivered before they call mine.

This is okay most of the time, but it is annoying when the person in front of me has a large drink order and I can see my drink ready.
Also, MVCC snapshots mean that if you're doing a range query, it doesn't matter if someone comes in and injects a message above you while you're scanning a node.
I saw a website that that was devoted to writing up a request, you just entered in your name, address, etc. and it would write up a formal request for you. They said they had a few hits, but at an extremely low success rate (maybe a dozen responses, after thousands or tens of thousands of requests) -- although the successful responses were self-reported, so they may or may not be legit. It was on hacker news a few months ago, but I can't seem to find it.
When Data and Design Dance
Pragmatism doesn’t have to conflict with innovation. The process doesn’t have to pit designers and engineers against one another.
This reading list will cover a lot the current generation of b-tree techniques, but not the cutting-edge stuff (e.g. Tokutek):

* Ubiquitous B-Tree (Douglas Comer): http://doi.acm.org/10.1145/356770.356776

[A good review of the state-of-the-art in 1979]

* Prefix B-trees (Bayer, Rudolf and Unterauer, Karl): http://doi.acm.org/10.1145/320521.320530

[This paper introduces the idea of what I'm used to calling suffix compression -- the internal page pointers in a B-tree don't need to store the entire key, just enough of it to uniquely identify the node compared to its neighbor. This can be a very useful optimization for some use cases. The idea of reassembling a key as you seek down the tree is cool, but I don't think anyone does it in practice.]

* B-tree indexes, interpolation search, and skew (Goetz Graefe): http://doi.acm.org/10.1145/1140402.1140409

[A lot of interesting ideas around doing search inside of a node, including cache awareness. Interpolated search looks very interesting, but I was never able to get it to go faster than binary search. That could have been my fault though.]

* A survey of B-tree locking techniques (Goetz Graefe): http://doi.acm.org/10.1145/1806907.1806908

[I really like Graefe's database survey papers. They are easy to read and practical/implementation focused. This one discusses a lot of important concepts: the difference between latches and locks, latch coupling, range locks and increment locks.]
We develop organically: first, we get it working; then we get it working right.

The approach to writing security software which launched a thousand defcon talks.
Clojure Debugger?
but the problem is that the incentivization scheme for a middle manager doesn't align with what 20% time gives to the org.

Lets suppose you are a middle manager, and your performance is based on the completion of projects assigned to you by upper management, and perhaps a little bit of weight is given to the innovation your team cranks out in 20% time.

If the projects you are given is either slipping, or is not achieving the type of success that makes you look good (for the purposes of your own promotion/bonus), do you allow your "resources" to work on 20% time, which may bring very little benefit to you directly even if it is successful (it brings benefit to the engineer, not you), or do you divert that 20% time resource to projects that _do_ give you personal benefit?
Teaching 150 teenagers the basics of technology in 6 weeks
Sheryl Sandberg’s LeanIn.Org announces paid internship
▶ WORLD IS Now RADIOACTIVE
This dude fails the understanding-LiveScript test. Next time you bash something, read up about it, okay? 'backcalls' are purely syntactical -- they're callbacks, but with a special syntax so you don't have to indent.
I can imagine this happening in template code:

template <typename T>
bool isNumberInfinity(T number)
{
return isinf(number);
}

template <>
bool isNumberInfinity(Number number)
{
return number == Number::INF;
}

So instead of specializing ints, we rely on isinf working for ints, instead of doing the "correct" thing:

template <>
bool isNumberInfinity(int number)
{
return false;
}

This is a very contrived since I'm using template functions, which are practically useless, but it holds for any data structure which holds a type that is meant to behave somewhat like a "number".
I just signed in to post almost exactly this function!
It wasn't all of Google, but just their search.
As far as I can tell they still do:

va.	3600	IN	MX	100 raphaelmx3.posta.va.
va.	3600	IN	MX	10 raphaelmx1.posta.va.
va.	3600	IN	MX	10 raphaelmx2.posta.va.
Or I have OCD about pointless code files that I'm not using. Probably the latter and I'm a small minority of getting frustrated with it.

I think so. If you think you get a lot of cruft with this... try buying an Android phone from virtually any mobile operator in the US.
Dissuaded by that single comment, probably not, but a constant flood of low-level sexual bias does send a message to girls that they don't belong. If you follow some of the gender-flipping reactions to pop culture, it begins to strike you just how pervasive these messages are.
Researchers send data between devices without a battery or transmitter
Blur is a low-pass filter, filtering out higher frequencies in the image. It's the exact same steps as you use with compression. The difference is that you're not using additional transforms and their coefficients to mitigate artifacts and/or slightly improve quality.
Creating your templates isn't that hard. There's an export template item under the File Menu. We're also making it so next year or so you'll be able to import custom templates with NuGet.

That said, I'm sorry you had a bad experience. For most, you'll want to File | New Empty, then:

install-package jquery
install-package modernier
install-package angularjs

I disagree with your frustration about deleting references. You hit delete a few times or uninstall packages and the move on.

BTW: ScriptCS is a nice REPL to check out: http://www.hanselman.com/blog/ProjectlessScriptedCWithScript...
Open source as a civic duty