skysight-inc/HackerNews huggingface dataset:
Because it's easy to spend since others accept it. Money itself has absolutely no value at all. It's more a promise that somebody will accept it when you want to buy something with it.
I'm assuming they made this change to combat forks that do little more than redirect the flow of data and money to themselves, eg. OPhone, Aliyun, Kindle Fire. I have little respect for them.

But I'm more concerned with forks that do more than that - namely, ones that take Android and adapts it for formfactors and usage models beyond what it was designed for. WIMM takes Android into a wristwatch; Ouya, into a gaming console; Vuzix M100, into wearable computing. Each of them have their own specific SDKs and would amount to "fragmenting" Android, but for good reasons. (Hell, Google themselves are probably creating an incompatible Android fork with Project Glass!)

I sure hope Google doesn't mess with those folks, as IMO they are the ones truly putting the openness of Android to good use.
Old as hell
Petraeus should have used PrivateSky
Browser based identity based encryption with embedded 2-factor authentication - http://privatesky.me
It was posted a fews days ago in this thread http://news.ycombinator.com/item?id=4774426
with a great comment:

> If seeing this doesn't make you second guess using a RegExp when a parser is more appropriate, well...you might be a Perl programmer?
Ask HN: Cheap VPS providers, how did you start?
Hi everyone,

I was wondering how do new cheap VPS providers start their business nowadays. It seems there are more and more new providers popping in this world everyday, and with super low prices.

What challenges are you facing ? Also, do some of you launched a business as a part-time job ? I'm currently employed in a company as a software engineer, and I'm wondering about the feasibility of launching such a business using outsource client support as well as outsource network administration (which, for a small business, can cost as low as $50/month for a few servers and few clients).

Thanks for your answers !
That is specifically the incubator's role. It's a promise, not a shop. Promises can be broken, but they are also innovation's fuel. It's a bit like criticising a baby, for being a baby. You have to let it grow and be patient. If you don't want to support it, then don't. Perhaps I was too harsh in my comment, but kickstarter does not realize a typical transaction-oriented in capitalist sense shop. Some reserve is necessary for ideas to flourish.
+1, seeing as you're probably going to be sending an activation email anyway. You can do some practical checks, like checking that there's a '@' in the email, and probably trimming spaces (I think leading/trailing whitespace isn't allowed, from memory).
DIY Photobooth
While there is a place for this, there should also be a caveat. You are essentially forking django-admin - at least all the templates for it. Someone will have to keep that synced with any changes to Django going forward.

I stuck to a much lighter 'CSS only' theming of the Django admin which is less likely to need a lot of work to track changes to Django core.
While I am ignorant of the situation in Spain, it is interesting to note that the two other governments detailed in the linked Forbes article have extreme organized crime problems. I am sure this says something about the role of the rule of law in the bootstrapping of trust.

Integrating licit and illicit revenue streams will always be a foundational issue for any illegal enterprise. I have not looked deeply into the implementation details, but Bitcoin does not strike me as a viable money laundering solution. At the point you move large amounts of value out of the ecosystem and into the 'straight' economy, you require the complicity of bankers.
Mysql_* removed in PHP 5.5.0? · Issue #101 · codeguy/php-the-right-way
As others have said, the only way to know if an email address is valid is to try and send an email. This doesn't mean that this is useless, as you may want to get users to double-check their input if it doesn't pass this.

Some test cases to think about: http://isemail.info/_system/is_email/test/?all
Far too much work. The whole point of a facebook event is to be rid of the organizational administration and to be able to discover events your friends go to / invite you to in a central place.
The AC induction motor used in the Tesla doesn't use permanent magnets, so no rare earth metals either.
Does and won't exists.

Rails is a server web framework based on ruby.

You should look for javascript game frameworks instead :)
Oh, that's some clever scotsmaning there, laddy. =)
It's also "not profitable" enough for corporation to mine in the USA.

But I believe Canadian corporations own the largest deposits in the USA?
I only check for an @ and at least one character either side. Anything else is the user's problem.
That's not facebook's fault. You just handled it incompetently. The way you brought it up would turn anybody off, facebook or no facebook
Then they have a hard time receiving mail from anyone, I guess.
No. I don't. But even if I did, your 'point' would be irrelevant.
No...you need a justice system to enforce contracts: contract law and dispute resolution pre-dates the idea of a police force by hundreds of years. Breaking a contract is a purely civil matter.

The police usually don't investigate tort law, only criminal law. When the police do get involved in civil law disputes it can get quite controversial.
Is it impractical, though? It's already been written, and I've not seen any suggestion that it's not correct (other than the problem with comments, but that's intrinsic to regexes in general). As long as you're going to follow up by actually sending an email, I don't see a problem with this as a first-pass filter.
Mugged By Sound, Rescued By A Waitress
A more modern thought.

Do you really need to test that strictly for an email address?

If the user is trying to give you a fake email address, chances are they don't want to be part of your service/offering anyway.

I test for an @ and characters either side, that's most flexible bases covered.

I know this doesn't apply to all scenarios but it's one worth considering.
Finnish Underwater Ice Fishing Mystery Finally Solved
Actually, it doesn't.

Email addresses can't, strictly speaking, be tested for with regexes. This one "only" tests various nestings to I think about 3 levels deep.
I'm not criticising kickstarter because promises can be broken, I'm just saying that I don't find it compelling as it's neither an investment nor a purchase. A micro-investment platform would be far more interesting to me.
Same here, and personally I don't see the justification for spending all those CPU cycles going through a massive regular expression such as this one.

I'd rather put this on the client side (javascript), as a validation to make sure the user doesn't supply an invalid e-mail address by accident (i.e. for his own convenience and nothing else).
>Some of these workstations see heavy FEA work 18 hours a day, 5 to 7 days a week.

I don't really see how constant high CPU usage is a good measure of the stability of an operating system.
Stevens talk at Full Frontal was absolutely fantastic, one of the best I have ever seen. I highly recommend watching the video once it comes out. It is very impressive to see such complex topics being presented with such ease and style.
It looks like it's in Javascript, not Flash as usually. Cool!
The only thing I've ever seen that is worse than this is the sendmail configuration file.
Thank you very much for the direct pdf link, I hate does sites that try to simulate ell established office tools like a pdf viewer in a browser, fail with this and still want to collect your data like email address to give you the real thing. Unfortunately too many people out there are using this crap sites.
This is correct. Unfortunately no bootstrapping can be done to the actual html code without rewriting it. Or, to be more precise, no _good_ bootstrapping can be done.

I hope this app can invite to a refactoring of the django-admin app to render themes more feasible without too much hassle.
Product Design - 10 Things I Have Learned
actually you may want to make sure they have at least four characters separated by a dot, e.g. .\@\\.[..]+ ... and i think this is how the regex begins ...

my point though is that you can't send mail to a TLD, you need a domain name. and i don't think we have any one character TLDs.

this is quickly turning into an exercise where you see how such a regex starts to happen. "well, then you have to consider this case ... and handle these exceptions ... and then enforce this ..."
Please note that RFC822 also covers some unusual forms of writing an address; all of the following are correct addresses:

* John Doe <john.doe@example.com>

* foo:a@b.example,c@d.example,e@f.example;

* john.doe@example.com (John Doe)

See also the excellent explanation by Jukka Korpela for more details: http://www.cs.tut.fi/~jkorpela/rfc/822addr.html
For JS validation on the client i use this:

http://blog.tcs.de/javascript-near-perfect-email-validation-...

A lot shorter and has only 3 cases that would not be detected. Enough for 99.x% of all entered emails.
Oh, you've misread me. I wasn't comparing the number of Israeli deaths to the drug war, but the total number: 100,000 in 70 years, vs. 100,000 (highest estimate) in mere 6.
In RFC822 spaces are actually allowed, I think they just have to be in a quoted string.
It may not be legal to copy the code from these devices onto your Ubuntu PC or redistribute it on the Internet.

Both Firefox and Silverlight are available for download.
We've been testing out ammo.js (Emscripten compiled Bullet) for 3D physics. In this demo http://apps.playcanvas.com/will/ammo/crates after the first couple of resets, it runs smoothly.

It does indeed seem to be the JIT warming up. The good news is that Chrome Canary is significantly smoother, so 6-8 weeks until that hits stable.
But you can send mail to, say, a machine listed as "a" in your hosts file.
I don't disagree. The point I was refuting was the misconception that "this would have happened eventually" being grounds to reject a patent.
(where here = an asylum for the insane.)
And with the new personalized TLDs, wouldn't you be able to have something like ceo@nike? I just check for an @ and at least a character after and before it.
Hell, even Master of Magic had this on its spellbook.

I fail to see how this is in any way a unique feature warranting a patent, what a fucking joke.
completely wonderful!
Shocking Video of 5 Politicians Talking Openly About Startups and Government
With PHP the following simple code works great for me:

function validate_email($email) {
if(filter_var($email, FILTER_VALIDATE_EMAIL) === FALSE) {
return false;
} else {
return true;
}
}
Funny you should use them as an example, because there's a lot of interesting history surrounding that, which you can read about here. I'll give you the highlights for a quick skim, but there's a lot more to it:

https://en.wikipedia.org/wiki/The_Wright_brothers_patent_war

The patent's importance lies in its claim of a new and useful method of controlling a flying machine, powered or not. The technique of wing-warping is described, but the patent explicitly states that other methods instead of wing-warping could be used for adjusting the outer portions of a machine's wings to different angles on the right and left sides to achieve lateral roll control.

The concept of lateral control was basic to all aircraft designs; without it they could not be easily or safely controlled in flight.[7]

The broad protection intended by this patent succeeded when the Wrights won patent infringement lawsuits against Glenn Curtiss and other early aviators who devised ailerons to emulate lateral control described in the patent and demonstrated by the Wrights in their 1908 public flights. U.S. courts decided that ailerons were also covered by the patent.

[...]

The Wrights' preoccupation with the legal issue hindered their development of new aircraft designs, and by 1911 Wright aircraft were inferior to those made by other firms in Europe.[10] Indeed, aviation development in the U.S. was suppressed to such an extent that when the country entered World War I no acceptable American-designed aircraft were available, and U.S. forces were compelled to use French machines.

In January 1914, a U.S. Circuit Court of Appeals upheld the verdict in favor of the Wrights against the Curtiss company, which continued to avoid penalties through legal tactics.

[...]

The patent pool solution

In 1917, the two major patent holders, the Wright Company and the Curtiss Company, had effectively blocked the building of new airplanes, which were desperately needed as the United States was entering World War I. The U.S. government, as a result of a recommendation of a committee formed by Franklin D. Roosevelt, then Assistant Secretary of the Navy, pressured the industry to form a cross-licensing organization (in other terms a Patent pool), the Manufacturer's Aircraft Association.[11][12][13]
This validation ignore one exception :

Gmail allows users to enter an arbitrary number of dots .

Therefore these are a valid email addresses :

your......name@gmail.com
y.o.u.r...name....@gmail.com

and all resolve to yourname@gmail.com

http://support.google.com/mail/bin/answer.py?hl=en&ctx=m...
How I designed Zsnuz for iPhone (case study)
Oh, no, that's not was I was trying to say at all. We most certainly cannot live with it. I also wasn't trying to discount the importance of the Palestinian deaths. I was just trying to give a sense of how violent this conflict really is.

I do think, though, that you really must take into account, when measuring the intensity of the conflict, its entire history. After all, the violence didn't start when the occupation began, and, sadly, it's not likely to end when the Palestinians finally get an independent state (as I hope they would). But let's not turn this into an endless political argument. This isn't the Daily Beast.
Why do I have to laugh when I read the new feature list?

Why are people still using this?

One negative aspect of open source is that it prevents failed technologies from disappearing.
Going to go on a hunch and suggest its a dodgy driver then, or some piece of hardware windows is picking up that Ubuntu isn't. Its annoying that bad drivers still crash windows but the same thing happens on Linux systems.
I'd like to see Apple's cost-benefit analysis on something like this. Patents aren't cheap; if this is as unlikely to be defensible as some people are claiming, Apple must expect a huge upside. (Decreased risk? Licensing fees?)
my point though is that you can't send mail to a TLD

You can: http://serverfault.com/questions/154991/why-do-some-tld-have...

For instance the pope could get pope@va - if he wanted...
Which is precisely what the FBI report was describing: "they believe they can exchange the currency for goods, services, or a national currency at a later date."
If one day Bitcoin gets truly popular governments will be in trouble. How to tax that beast? I wonder if there is any other solution then poll tax.

You would tax Bitcoins in the same way you tax transactions in USD, EUR, and so on. There really is no difference, once you stop to think about it.

Even with the USD, taxation does not work by the government subpoenaing your bank's records. Instead, it is your (or your employer's) responsibility to report your income and related data according to the legal requirements. The same applies to Bitcoin transactions.

Obviously there are some differences in the investigation of tax evasion. But there will still be records somewhere, and prosecution is used to deal with similar problems when transactions are cash-only.
If only there was an easy way for a user to add a few patches to an Ubuntu package. Not hacks like checkinstall that don't do dependencies or anything. Maybe something like copying /usr/portage/app-emulation/wine to /usr/local/portage/app-emulation/ and adding an epatch command in. Or if you're lucky just save the patches into /etc/portage/patches/app-emulation/wine/.

I'll never leave Gentoo :)
This is a good response, and I generally agree with your synopsis of what a good manager is.

One of the misconceptions about open allocation is that it's a "free-for-all". It's not. It's more like an applied research environment where people are free agents to some degree, but still are expected to follow-- to contribute to something sanctioned-- if they aren't ready to lead yet. Open allocation companies still fire people, but it's very rare, because "intrinsic low performers" (as opposed to people who lose motivation due to dysfunctional environments) also turn out to be very rare.

Open allocation doesn't mean, "You show up and do whatever you want." It means, "We expect you to contribute to the business but it's your right to choose how you do so."

My problem with traditional management is that old-style managers aren't really the leaders that the workers themselves would select, but puppet leaders, chosen from above. Also, when companies give managers the right to unilaterally fire people, or to damage their transfer packets through a globally-visible performance review system, they allow managers to turn into extortionists who force people into subordinating to the manager's career goals rather than doing what's best for the employee or the company. Since middle managers also get a lot of pressure from above in these sorts of companies, that's usually exactly what they become, not because they want to be extortionists but because their feet are to the fire as well.

I think that "management" as a cultural institution is archaic. Leadership, communication, and mentorship skills will always be in high demand, but that's not what a manager is. A manager, from the term's roots, is someone hired by an owner of recourses (capital) to maximally exploit them. People often get angry with their bosses when the manager ignores their career goals, but they shouldn't, because that manager is just doing his job. He works for the company, not the employee.

Managed environments lead to localism, by which I mean the extreme trust (e.g. the right to unilaterally fire people) placed in managers allow an environment where the manager's stated goals (which are often neither aligned with the corporate objective or the employee's needs, but the manager's career objectives) take priority. You have lots of indirection and wasted effort and, usually, morale problems as a result.

Open allocation, on the other hand, trusts people to work directly for the company. There are still leaders and followers, but the employees are implicitly trusted in deciding whom to follow.
The most concerning part of all of this is that the concept of patent exhaustion has been weakened.

It is going to cause massive distress to the entire electronics industry if you can no longer purchase a component and expect to be indemnified against upstream patent infringement.

Will be interesting if CSIRO for example can sue everyone that implements WiFi.
"Besides this whole model of skipping a VC/investor to go directly to customers and then make super profits is a disruptive trend for investors."

Having customers pre-order a product and pay directly for it isn't exactly disruptive.
Making a 1:1 copy of the brain without understanding its mechanisms is pointless, because there's no way to bracket the problem. You don't know how low-level you have to go: if there's only a single crucial quantum interaction, you have to model that level as well, increasing the complexity many orders of magnitude (if you have to model quantums or atoms, the simulation wouldn't even fit on earth I'm afraid). Similarly for the higher levels: it's obvious that brain development depends crucially on a stimulating environment (and meaningful interaction with it), so are you going to simulate a complete environment and upbringing? Reminds me of the Sagan quote "if you want to make apple pie, you first have to invent the universe."

In a similar vein, we have succeeded in copying (digitizing) the full human genome. But, to actually do something with that requires an even greater tasks of understanding what all those genes in it actually mean (what the proteins they express do). For the brain we haven't done the former, let alone the latter. I believe there's more point in trying to understand the working of the brain or mind on a more abstract level.
> Why do I have to laugh when I read the new feature list?

yeah. Why? What particular items makes you laugh?
Installing shared libraries can cause problems, but that's rare because shared libraries are versioned in Linux, as opposed to Windows, which greatly reduces the incidence of DLL Hell. In short, a program might find a shared library that isn't the one it wants, but it very likely won't.

In fairness to Windows (and I never thought I would say that), .DLL files are now versioned via WinSxS (https://en.wikipedia.org/wiki/Side-by-side_assembly).
You probably want to ensure that there's a dot somewhere to the right of the @, also, but yes, that sounds sane to me.

"something@something.something"

Start of line, at least one non-@, @, at least one character, dot, at least one character, end of line.

^[^@]+@.+\..+$

Test: http://rubular.com/r/G69q1k6fP2

If it fits that, try emailing them.
Announcing TypeScript 0.8.1 with Source level debugging
i'm building a simple offline webapp for collecting email addresses at an event on an ipad with no internet connection.

im using a simple regex (may use this one instead) to validate email before sticking in localStorage for latter retrial... if not with regex, how should i validate the email addresses?
Yeah, sorry about that. I submitted the actual link to the pdf, but HN turned it into a scribd link.
This is from "Mastering Regular Expressions", by Jeffrey Friedl, O'Reilly 1997. The book presents it as a 'fun' example of how to write huge regex'es that are still understandable and maintainable (the version posted here is without all the comments that are in the book).
Google Drive does crash a lot, but Firefox crashes more (for me anyway).
It's also a good idea to replace "make" with "make -jN", where N is the number of CPU threads on your system. Saves a ton of time.
NASA locates most distant galaxy ever discovered
Actually the fixed supply is part of what does give it intrinsic value. Value is fundamentally anything that has utility _and_ scarcity. If the supply of BTC was infinite, it would have essentially no value (or at least it's value would diminish at such a rate that it would be useless for anything).
I'm pretty certain trademarks are distinct from design patents, but that the same thing can claimed as both a design patent and a trademark. Many design patents are simply designs and do not reflect a brand or manufacturer of a product. Likewise many trademarks are merely words/phrases or iconography/brandmarks and are not patentable.

I disagree with the concept of design patents. I believe that determining the novelty of a design is mostly subjective.
You may be interested in this paper on hyperinflation: http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1799102

The tl;dr version: The root cause of hyperinflation has never in history been runaway printing of money. Rather, the root cause is always some mixture of foreign-currency denominated debt, political chaos, and collapse of a country's productive capacity.

To give a bit more detail: This analysis applies to both the Weimar republic hyperinflation (excessive reparations demanded by the victors of World War I denominated in real goods and foreign currencies, combined with a military occupation of Germany's steel and coal industrial center) and the recent Zimbabwe hyperinflation (high USD-denominated government debt combined with a collapse of domestic production due to stupid economic reforms).

The hyperinflation is simply a result of such untenable economic situations. They tend to be "cleansing fires" in some sense: especially in the Weimar republic case, the hyperinflation made it very obvious to everybody that the war debts need to be backed off.