skysight-inc/HackerNews huggingface dataset:
> How could those two rotations could get you anywhere besides |1>

Obviously they can't, which is why the math shows that they don't.

After the first rotation, you are the state (|0>+|1>)/sqrt(2). The physical interpretation of this this state is that it represents a 50% chance of being in |0>, and a 50% chance of being in |1>. If you apply this rotation to either of those two possibilities, you arrive back at (|0>+|1>)/sqrt(2), which still has a 50% chance of being in the state |0>. The two paths leading to this are when the intermediate state is |0> or |1>.

When you actually do the math (in which "rotation" is just a name we give to multiplying by a unitary matrix, U". You find that you end up in the state (.5-.5)|0>+(.5+.5)|1> = .5|0>-.5|0>+.5|1>+.5|1> = |1>.

Here, we can again see the semblance of 2 paths leading to zero (the two |0> terms), however they have opposite signs, so cancel out.
I have a proposal. As an alternative to #!/bin/program I propose that

#!program

is executed by using a program at a known location (or perhaps by following a system defined internal `PATH`) with a system cleaned or defined environment (e.g. PATH=/bin:/usr/bin and a TERM matching [a-zA-Z0-9-]+

This would fix a lot of this shellshock nonsense and also be a better alternative to the #!/bin/env hack for finding programs at different locations on different systems.

Programs should use args for communicating.

Extended syntax for programs to declare that they really need certain environment variables:

#!program env=WHITELIST OF ENV VARS ALLOWED
Looks nice and simple.

Two, more advanced, Mail merge programs for google spreadsheets:

1) Yet Another Mail Merge https://sites.google.com/site/scriptsexamples/available-web-...
2) FormEmailer https://sites.google.com/site/formemailer/
I've wondered: Instead of drone delivery, why not use underground conveyer belts for delivery in communities with sufficient population density. Instead of delivery trucks burning carbon and adding traffic, and people carrying packages to and from them, deliveries could be loaded onto the conveyer system and routed to their destinations.

Imagine Manhattan with no more delivery trucks and all the deliveries, every day, for office buildings and apartment buildings being conveyed directly to their basements (and maybe even to an elevator, which dumps the packages on the appropriate floor).

The deliveries could be the mail and packages we are accustomed to now, but also anything else from one building to another intra-city, b2b, b2c, or c2c: Carryout meals (or a meal you made for your friend), groceries and drugs (especially good for people too ill to go out), a computer to be repaired, the ISP could send a replacement router, the papers you need from the office, a substitute for intra-city mail, boxes to UPS/Fedex/etc -- anything could be delivered within hours (though I might be overestimating how efficiently a network with so many nodes could route).

Perhaps it would be too costly, but building a conveyer belt under someplace as dense as Manhattan seems potentially cost-effective for all the benefits. And again, perhaps I'm underestimating the complexity of a network with that many nodes.

I realize this is a bit of blue sky thinking, and I know nothing of such technology. And I'm pretending that there are no political issues.
For the record, it applies cleanly on top of the other two patches.
Erik Fisher(@enf) has a good track record of finding amazing things.
There are devices which measure BMI using conductivity. Given that a device may report a value other than the simple function of height and weight, it seems prudent to have a spot to put it.
This doesn't answer your question, but Manhattan used to have a pneumatic tube system: https://en.wikipedia.org/wiki/Pneumatic_tube_mail_in_New_Yor...
You're contradicting yourself. You're saying you should spend the whole $120k before demo day, but you're also saying you should hack and hustle like you only have $5k per head.
Overall, freedom is something you earn.

A real test of freedom is to look at what people do when they retire.

it is often more satisfying to serve others than to cultivate your own egotistical freedom.

Being useful is hard. It means accepting people’s requirements.

Tenure is overrated.
No there isn't.
Certainly a diet consisting of lots of high sugar drinks and sugary food is a bad idea. Not only is it going to contribute to obesity but high sugar intake appears to be a much bigger risk factor for atherosclerosis and coronary artery disease than hyperlipidaemia.
But all things in moderation. It is a pet peeve of mine that there are people who are so rabidly anti-sugar (the foaming at the mouth types). Yes we know it isn't a good idea in large doses and yes modern diets promote exactly this but sugar is not responsible for global terrorism or anything of the sort (to use some extreme hyperbole).
Sort of like a modern version of NYC's pneumatic tube system http://untappedcities.com/2013/03/15/nycs-pneumatic-tube-mai...
It is definitely satire, meant to highlight the fact that it is abhorrent to abuse people, or set up perverse incentives that may result in abuse, for non-performance, regardless of how the worker perceives the abuse. The fact that the workers in the study wanted the increased risk without any increase in compensation makes me sick to my stomach.
I'm sure science exists to prove me wrong, but I get nervous when I think of how much solid air exists when you start putting tunnels underneath populous cities. An earth quake or a flood would destroy that infrastructure, and the decade or so it would take to excavate and build these things would probably sour the population to the idea.
no, the problem is that you can treat any kind of text data as an executable. You can try to fix this by adding mountains of complexities and excuses but would still be true: as soon as you have text enter the equation you need to escape/encode/decode and parse. Every time you do that you add more complexity than is needed, and also you add many ways to abuse the programs and create "interesting bugs".
Impressions of Apple’s Swift, after a bit of practice
Yes, do an update first to see whether it fixes it.
Vendors and mirror sites are getting it out fast.

As well as the test noted here you can check the the changelog in rpm. (sorry don't know how to do it for debian osx ...)

rpm -q --changelog bash
Yes and no, I think. There is also a "memoryless" effect at work that causes new users to favour more complex and presumably powerful products, which they then invest in and are reluctant to switch away from. I'm not sure the resulting network effects in the market are an example of path dependence. There is an article by Don Norman on the complexity phenomenon here: http://www.jnd.org/dn.mss/simplicity_is_highly.html
>> 2. uninstall Bash and use a barebones POSIX-like shell without extra features.

It's not that simple. True, djb doesn't say you need bash. But qmail uses /bin/sh (not configurable without recompiling). Try changing /bin/sh to, say, ksh on Ubuntu and watch as nothing else on the system works. The distributions make use of shell-specific features.
A Defining Question in an iPhone Age: Live for the Moment or Record It?
I think you mean apoe4.
You forgot the link to dnscat2 on GH - I hope you don't mind, it's in the presentation and totally the first thing I wanted to look at:

https://github.com/iagox86/dnscat2

I see shell/exec/upload/download payloads mentioned in the command protocol docs, very cool.
I've been rather skeptical of the Java community's rush toward inversion of control and dependency inversion, myself. It spawns a mass of interfaces, the vast majority of which have only one implementation. So you are usually adding a layer of abstraction without accomplishing anything.

The approach I favor is to identify seams and abstraction boundaries at a higher level, corresponding to larger units of functionality. Then carefully define interfaces between these larger units, and build mocks for them for testability. But having defined interfaces for every class, or even close to every class, is overkill.
If you intend to actually read a whole such guide - skip to the end first and notice the "TODO" at the end of the article/guide. Just so that you aren't disappointed when you actually come that far.
Radicalizing the romanceless
Show HN: Wibe – Watch relevant videos for anything you search
Another great reason to have a good filtering proxy in front of qmail, such as Qpsmtpd or my own Haraka. Both validate MAIL FROM and RCPT TO commands to ensure they are valid according to RFC 5321 (the newer version of RFC 2821), and will reject any command not complying with those specifications. Qmail alone is just too fragile.
or not, they're terrible.
Creating Freedom: The Lottery of Birth (2013)
Is there a great guide to C++11 as a language? Typing "Learn C++11" into Google always results in information mixed with legacy C++
That depends on whether Exim validates MAIL FROM according to RFC 5321 or not. I would like to assume it does. Rudimentary testing on cam.ac.uk (where Exim was developed) shows that it does, so Exim is not vulnerable as far as I can tell.
An Investigation into the Reappearance of Walter Benjamin
Really, are you that naive to how the markets work? Intenalizers - Citadel for example, give retail traders prices based off the SIP and buy/sell on direct. Whenever there's a pricing difference, it's instant risk-less profits. You can induce that pricing difference by quote stuffing.
I'll play! What necessitates the requirement that probability amplitude varies continuously? (This requirement is assumed in the section "Real vs. Complex Numbers", the so-called "continuity assumption").
https://en.wikipedia.org/wiki/Substitution_effect
Well said. rms is still The Man as far as I'm concerned. So bash had a bug, big whoop-do-freaking-do... I guess Windows or Internet Explorer or ActiveX or Firefox or Chrome or Opera or Java or Flash never had exploitable bugs; oh, wait....

The takeaway from all this, to me, is simply to acknowledge that while "with enough eyeballs all bugs are shallow" may or may not be true, there's no easy way to know, a priori, how many eyeballs are "enough" - and Open Source projects (right alongside ALL software projects) should still utilize tools like static code analysis, fuzzing tools, should still have dedicated security audits from time to time, etc.

The other takeway is that "defense in depth" is still mantra number one for security. You can have a hole at any level, which means that every level must work to limit access to the greatest possible extent. A hope and prayer and expecting all software to be bug-free isn't going to cut it.
Aha, thanks to you and ufo for the explanation. I think the problem was that I was thinking about it in complex exponential notation. If I had done it in matrix form, the cancellation of the two amplitudes of the |0> state would have been much more obvious.
You, a freshman, got a chemistry department shut down because a professor pulled the battery out of your laptop?

Bullshit. Which university was this?
Indeed. And we know that Queues Are Databases

http://research.microsoft.com/pubs/69641/tr-95-56.pdf

But the issues here as you've identified are different concepts being dealt with at different levels.

You can make the query more efficient by using a different schema. You can move the polling function to a single poller which then triggers the event out. And you can even have the database do the trigger - for most databases; certainly Oracle and Postgres.
There were many types of institutions involved in the 2008 crash, from traditional banks to investment banks to ratings agencies to insurance firms to mortgage brokers to governmental bodies and more.

The root cause of the crash was unquestionably the banks. It was the banks that lowered their standards, made bad loans, and packaged them up into MBSs and CLOs to ship them off to other institutions to trade and insure so they could make more bad loans.

If the banks didn't make these loans, AIG would have had nothing to insure. Goldman would have nothing to trade. S&P would have nothing to rate. Et cetera.

Don't misconstrue what I'm saying as vindicating everyone else. They all royally messed up too. It's just that the banks started and perpetuated it all.
I am in Ireland and learned to drive a manual transmission in the UK. I didn't know anything about the history of the introduction of automatic transmissions in the US until now, but I just found this interesting history:
http://ateupwithmotor.com/terms-technology-definitions/hydra...
Gentoo Hardened for the win:

zx2c4@krantz ~ $ hardening-check /bin/bash
/bin/bash:
Position Independent Executable: yes
Stack protected: yes
Fortify Source functions: yes
Read-only relocations: yes
Immediate binding: yes
I was a bit bugged by the section about the density matrix. He writes:

> Then you compute the outer product of the vector with itself

I'm not sure what he means by outer product here. Isn't the outer product of a vector by itself always nul?
A camera that can fly
just for your radar: i've used pgq from skype, for queueing in postgresql a couple of times, and liked it.

http://wiki.postgresql.org/wiki/Londiste_Tutorial_(Skytools_...

once was implicitly when i used londiste for replication. more recently was for queueing, from lisp.
Oh yeah I see what you mean. Do you think all smallFunction()s should be generic/reusable?

Seems like it's the fault of the second developer for using the smallFunction() without understanding what it does.
Dogs can be pessimists too, new research shows
Your comment, while long, did not respond to the cited article.

The paper's abstract cites specific benefits to using handwritten notes, including:

* laptop note takers’ tendency to transcribe lectures verbatim rather than processing information and reframing it in their own words is detrimental to learning.

* even when laptops are used solely to take notes, they may still be impairing learning because their use results in shallower processing.

It sounds like the study indicates that processing by hand is different from taking notes on a computer.

To rebut the study, you should address those points, rather than just talk about advantages you have perceived to using laptops.
Can you expand on "We're in the best market since forever."? Just interested
Insights into home energy consumption in India
Oh my god. The debate was between ZFS and btrfs and although I favored ZFS, the extra kernel module and the upcoming support in distros led to the decision for btrfs. However we won't do anything fancy with it. Basically just using the whole disk for a distributed filesystem without snapshots and we use btrfs because of checksumming and scrubbing weekly/monthly to detect corrupt disks and data and maybe compression with lzo and subvolumes. As far as I understood this should be safe?

New kernels should be no problem as Ubuntu will likely provide an HWE stack in the future and btrfs-tools is inside a well maintained ppa...

Damn' I should have pushed ZoL through.
Drop Test – Apple iPhone 6 and iPhone 6 Plus
Lipoic Acid: The Little Supplement That Could – Psychology Today
I have seen it before, never used it. Thanks for the reminder.
Tau pathology is the best pathological correlate with Alzheimer's disease.

What is often overlooked in the study of Alzheimer's disease is the APOE gene. This comes as three forms, each differing from the other by only a few amino acids. These are called APOE2, APOE3 and APOE4. The most common form is APOE3, APOE2 and APOE4 are each present in about 6-10% of people (heterozygous).

People who are homozygous for the APOE2 form almost never get Alzheimer's disease, whereas those who have the APOE4 form have a more than 50% chance of getting Alzheimer's disease before they die.

So... there must be a link between the APOE gene and tau... since both are the strongest correlates with the disease, in pathology and genetics, respectively.

However, you would be hard pressed to find a study that demonstrated a mechanistic link between these two factors (apart from Alzheimer's disease, of course).

As a researcher in the field, I think this is one of the most intriguing aspects.

Link to open access review on APOE in Alzheimer's disease:

http://dx.doi.org/10.1016/j.neuron.2012.11.020

Edit: For those interested in a reputable collection of recent reviews on the biology of Alzheimer's disease:

http://perspectivesinmedicine.cshlp.org/cgi/collection/the_b...
The fact that the workers in the study wanted the increased risk without any increase in compensation makes me sick to my stomach. The way it was described, they may have made less before, and by (in the au courant jargon of our day) "gamifying" it their earnings may have increased. For example if they typically entered 4800 fields a day, the extra "all or earn half" incentive of making it to 5K might actually spur them to more productivity, and hence more earnings.

That is what Clark meant when he used MBA-speak to describe the workers as having "hired" their employers.

This article comes across as describing a discovery while in fact so far it's merely an interesting hypothesis or even simply model, which might ultimately prove to be informative. Since the author is one of the people doing the work I don't know if this is accidental or intended.
You must be an absolute monster of a man then.

The average human male can't even bench press their own weight. 500lb of force is in elite boxing range. You'd basically have to be an Olympic level boxer to be generating that kind of force "fairly easily".

Can a human generate power easily in that range? Maybe if you jumped on your phone from a 2 story building, or had amazing squats and dropped the weights on the phone. But no sane company would design their daily-use general purpose smartphone for those kinds of circumstances.

To give you an idea of what human strength actually looks like here's a paper on hand strength.

http://www.rehab.research.va.gov/jour/70/7/2/swanson.pdf

70lbs is just between the grip strength of a woman and a man.

150lbs is over both.

There are entire categories of human-sized movements that can generate over 70lbs of force. There are surprisingly few that can generate at or over 150. You have to really want to be doing it and you have to be body builder strong.
I am curious how they will clean the pipeline between beers. You don't want to contaminate one beer with another, and obviously it will be important to keep it free of pathogens as well. This is really cool though.
If you're interested in someone who both loves Yoga & meditation, and tends toward a rational bent, you should also check out Gopi Krishna.

http://en.wikipedia.org/wiki/Gopi_Krishna_(yogi)

He was a pretty normal guy living a pretty normal life in the 1900's, and in his 30's through meditation he had a textbook enlightenment experience which resulted in a metamorphosis of sorts that he ultimately came to believe was biological / physiological in nature and could be repeated in others. He's one of the first if not the first person to suggest that what we think of as enlightenment is actually a biological event that the human body can perform given the right triggers, rather than simply a different state of mind or frame of thought. This is a revolutionary idea if you think about it; talk about "hacking the brain". The great thing about him is he's very relatable and not aloof, he kept his job as a government clerk and aside from selling a small handful of books, was clearly not interested in making money off his ideas.

He tried for years to raise interest in the scientific community to study the phenomenon, but of course grant money is hard to come by, and doubly hard if you're doing anything remotely unconventional, so his research foundation never took off and he passed away in I think it was 1981.

A lot of people don't know about him, but they've started putting his books on Kindle so you can go check them out. All of them are extraordinary reads, although I'd start with his prose, and then move to his poetry if you're interested in that.

http://www.amazon.com/Gopi-Krishna/e/B00IPU7XD4/ref=sr_ntt_s...
Those Germans! On some big navy ships before WWII they had ship wide beer piping and taps similar to water piping and taps.
Giving me further proof that the "shism" is between traditional server admins and cloud admins.
It's great that they're finally coming out with free SSL for everyone. They planned to come out with it in early 2014 but ran into a number of technical issues.

http://www.theverge.com/2013/12/17/5217800/cloudflare-pledge...
Edward Snowden, Chelsea Manning and Julian Assange: Our New Heroes (2013)
I wish the author would have been more specific about the processor being tested. This is the sort of thing that is extremely dependent on the microarchitecture of processor used. I wonder if he's testing on AMD or older Intel?

Modern Intel chips usually do an very good job of "store-to-load forwarding" when the load is the same size or smaller than the store. Although it's testing a slightly different effect, this is a great recent article on the topic: http://blog.stuffedcow.net/2014/01/x86-memory-disambiguation...
There's Another Edward Snowden and God Bless Him
Really good, to be honest I really don't see me using a separate website to comment on youtube videos, would be a good product to be brought by Google and integrate natively though.
I think you are thinking of body fat percentage. BMI is literally a function of height and weight.
I eagerly await the follow-up blog post, wherein Google's "Forgot Password" feature which allows a user to reset their password via a secondary linked account is decried as another gaping DEFCON 1 security hole that deserves a $10,000 reward check.

Come on. If a user shouldn't have an account anymore, delete the account.
Can't even scroll at all without javascript, what a terrible site.
This is what Tim Ferris famously advocated in the four hour workweek back in 2007 [1]

[1]http://fourhourworkweek.com/2007/03/22/how-to-check-e-mail-t...
Cool video and would've even been a nice device, if it weren't just a concept that doesn't exist. At least nothing in this video makes me believe that Nixie would be available any time soon, for an affordable price. my 2c
The secret of addressing email volume problems is to ignore it. I received 15,000 and sent 9,500 emails in 2009, when I declared no more. Now, I get about 7,000 and send about 1,000. I read <40% and keep <3% more than 90 days. Nothing lives in my mailbox more than 48 hours.

The funny thing is, people now apologize all of the time for bothering me. You need to train most folks to respect your time. The ones I need to hear from are on my iOS VIP list (~a dozen people, give or take, about a third VIP, a third team members, a third external peeps) and I respond immediately if necessary.
you're feeding the troll.
The Logistics of Scientific Growth in the 21st Century
interestingly this is the kind of tasks where i fear languages with no pointer exposed may be slower. Any one has a good comparison?
Kill Switch Nearly Causes Car Crash
The outer product of vectors `u, v` is the matrix `A_ij = u_i · v_j`. That is, a matrix containing the product of each component of u with each component of v. You may have been thinking of the cross product.
I've worked like that and it's brutal. Maybe cubes aren't so bad.
I did a quick test on an i5( Ivy Bridge ) proc using c, and surprisingly when on a non-random table, the distributed version retained the speed of a random table, while the single version became 2.5x slower.