skysight-inc/HackerNews huggingface dataset:
I think those constraints are often the same as when you create a new record, so you can reuse code from there. But I'm sure there can be edge cases that make it tricky for some apps and/or situations.

Undo and redo aren't important features for every web app - in some they would't make sense at all - but for applications that facilitate any kind of creative process, such as photo editing, 3d modeling, or drawing, they are very important features to include. Users often want to try out an idea, then go back to an earlier version if the idea doesn't work out. In most cases for apps like these implementing undo/redo gives you a ton of usability bang for your proverbial buck.
You're right, I did misunderstand. Sorry.
Gmail does something a bit more sophisticated than this but it's a real pain trying to check your mail from the airport in another country when your phone doesn't work either to confirm that way. Also annoying for VPN users who may appear to be in another country.
I'd love to know just how weak "weak" is. Something like [A-Za-z0-9]+ and <= 6 characters, or [a-z]+ and <= 8 characters?
If only it was that simple. Life isn't, unfortunately, but parole expects it to be.
On a similar topic, I would highly recommend the book The Birth of the Prison by Michel Foucault.
http://www.amazon.com/Discipline-Punish-The-Birth-Prison/dp/...
Which is why it's not the case with Android. You can easily share files between applications.
Are you saying that Maynard independently tackled P(2) or that he independently came up with a better sieve? My take from reading the article is the latter.
>... by Congress, presumably? If so, it seems to me there might be questions about whether Congress can give itself increased authority when it comes to compelling the executive branch.

This is settled law. People have gone to jail for contempt of Congress. It's true the branches of government are co-equal, but Congress has a legitimate oversight authority. The problem is Congress doesn't have a way to enforce the law independent of the executive branch, so as I said the way forward is to keep impeaching Attorneys General until they get one who does his job. It's not politically practical without overwhelming public support.

>Hmm. 5th amendment?

Sure, but just like in court the 5th amendment isn't an absolute protection against being force to provide testimony. It only protects you from self-incrimination. If Congress gives you immunity you can be jailed for refusing to testify, just as you can be jailed by a court until you agree to testify under the same circumstances.
Is there video of the interview anywhere?
same here. maybe the "login" button at the bottom does something
>Toronto's mayor is on video smoking crack, is drunk and disorderly in public, shoves (assaults?) a grandmother, more, and isn't even removed from office, let alone arrested.

How can anyone have faith in such a system with such gross inequalities?

I couldn't agree with you more.

Every time I see a celebrity, or politician, or insanely rich person breaking the law it disgusts me.
Not only are they not arrested and punished for their crimes as everyone else would be, but the media actually celebrates their flouting the law.

I'm only 31 and I honestly think the system is too far broken. I personally believe we're heading for some massive, massive upheaval.
Agreed!

What I'm trying to get at is that there's two ways you can think of academia: 1) roughly the set of people in traditional institutions, and 2) a basically unorganized set of people that happen to come together through working on related problems, in related ways.

2) is arguably the purer view of academia, and in that sense, it's as strong as ever.

I agree with you that there's deep, serious problems with 1), and they have to do with Pournelle's law, (in the US) with Bayh-Dole, and a litany of other hard, nasty problems of social life. But, even in that case: is that any worse than other cultures?
How to introduce a new tool in the workplace
CoreData tries to solve several problems. It solves most of them well, but fails on others. Document-level iCloud sync (Dropbox equiv) works great.

But Dropbox also offers cross platform support and better web access for arbitrary file formats, two things I don't think Apple has any interest whatsoever in working on.

As for the App Store, I agree. The UI is often frustrating (web, iTunes, OSX app, and iOS app!), and the slowness is just incomprehensible. Been like that for years, total mystery. It's also pathologically crashy on older iOS, which I suspect is due to heavy use of UIWebViews. Still inexcusable.
Actually not. I'm the maintainer of a popular Open Source project that is hosted on Github. If someone stole my credentials, they could replace the current release with a binary containing a Trojan.

Looking at the security history page I see a lot of failed login attempts. Makes me glad I enabled 2-factor-authentication!
If Mail thinks that an email is spam, it doesn't load images by default.
Sony does it, why is it a huge deal when LG does?

We all know its really the MAFIAA (google it) behind it anyway. /sarc
3 Big Social Media Trends: Human, Mobile & Social
Hello World in 1 line of pure Javascript
document.write("Hello World!");
By that logic almost all Developed nations in the world should be a lot worse of than America (they're almost all more left leaning that America).

This is not the case, your logic is flawed.
Hassle-Free Go in Production
OpenSUSE 13.1 review – an OS for grown-ups
Would you be less scared if they were white and wearing argyle sweaters instead of black hoodies and baggy pants?

Funny you should say that, because in the UK an argyle sweater was at one time the uniform of football casuals. In certain places at certain times it would create far more fear than hoodies and baggy trousers. The signifiers do change all the time and this is a good example of how weakly tied to behaviour they actually are and how troubling our assumptions based on them are.

But your point on the dissonance between ideals and actions is quite valid - we make all sorts of judgements about people based on appearance alone (their culture, their education, their background, their likely behaviour etc), before they've even had a chance to introduce themselves or show us who they are. Casuals in the UK exploited this for some time to avoid scrutiny by the police.
The bare truth is this kind of mathematics (and, say, theoretical physics) is "hard" and requires a kit of thinking and thus a lot of time. Breakthroughs are named that for a reason -- they involve a distant, non-local solution. If you're doing your research on a topic you will most likely only focus on local improvements to the problems, simply because they lead to more steady results -- they are both safer and don't require you to pretty much think all the time about the problem at hand -- you can't really expect every mathematician to prefer that kind of work.
WebGL is just a JavaScript API specification that exposes an OpenGL-like interface to scripts running within a webpage. The calls that your JavaScript makes to WebGL functions are translated behind the scenes to actual OpenGL calls (although, it doesn't have to be opengl, i think IE uses directx under the hood). Both opengl and directx are API interfaces that allow you to talk to graphics hardware.

Graphics hardware is incredibly fast and programmable (via shaders), and now that WebGL is part of the standard, Javascript programs can actually use the hardware's capabilities. What we see in a lot of this demos is not the javascript interpreter being fast. Although chrome's V8 actually is fast (compared to other js implementations at least), most of the work is being done by the video card.
If this was aimed at college students you'd be spot on, but it's aimed at children. The first computer I "built" involved plugging cards I bought off e-bay into the sockets they fit into - doesn't seem too tough now, but I'll be damned if I didn't feel like I was really doing and learning back then. The fact of the matter is that in a world of iPads and laptops, simply plugging a bunch of stuff together is a very valuable and educational experience for a kid.
Interesting write up. Thanks a lot for writing it Sacha.

Okay, so I have a question. Isn't this just a property of the internet as a system?

If we remember the history of human-computer interaction on 2D displays, we first really remember what led to the desktop GUI (Xerox Alto, all that stuff). This domain had tons of research poured into it (of which Raskin is a member) - including from the military, for usability in extreme situations - and by now it's reached a pretty mature stage, and we have developed a nice design language to describe it and advanced technological tools to implement that language.
On my Finder, or in Pages, I can reliably undo things nicely. Just today, I deleted a file by mistake- command + z, boom, undone.

(by the way, this is exactly what Apple and mobile devs talks about when they say that well done native apps can never be beat by web apps- those decades of best practice experimental research)

Web apps, on the other hand, run on the internet, which adds some constraints structure wise. All of a sudden, we have at least 2 computers talking to one another, and in most cases many, many more than that. So we have to come up with design principles to make all of this somewhat work together, and we come up with things like RPC and REST. Those things are how our servers talk now, and they influence every technology that we build. They come with some constraints however- notably the ideal of statelessness, in which implementing "undo" would be really hard. Relational databases don't have the semantics to express "undo the last statement that was a user action done with id N", and good luck implementing things like undo in a system where you have caches you can't invalidate, content determined by one way hash functions, etc. If you have a binary blob of 5 lines, that user 1's action modify the first 3 lines, that user's 2 action modifies the last 3, and that user 1 then decides to undo his command?

You'd basically have to version everything, and have super amazing algorithms doing bisects and diffs on your content.

The http internet is really just a way to exchange documents. We've hacked it, using fancy stuff like AJAX, to make it behave more like the traditional GUI that we know and love, but at the core it's still a way to transfer documents. And naturally, HTML, the description language we use for web content, has semantics for describing static documents. Heck we've had to design a whole new language for design (CSS), because it's really just a way to describe documents! So ultimately it lacks the way to implement concepts like undo-ing as first class features.

Let it be noticed that mobile apps do undo-ing very poorly, as well.
> an earth-shaking discovery made by a man in his fifties who was barely within academia

It's stories like these that make me jump with joy inside every time I think about the wonder that is the internet and the possibilities that creates for us as a human race.

The possibility that exists by having things like free 2,000 book encylcopedias (see http://en.wikipedia.org/wiki/Wikipedia%3ASize_of_Wikipedia#H...) at the fingertips of nearly every human on earth is just mind boggling.

I won't be surprised if Joe Average discovers the cure for Cancer tomorrow. Or AIDS. Or our fossil fuel addiction.

In fact, I expect those things to happen sooner than most of us might think.
On email tracking, here is another fun one:
http://blog.nruns.com/blog/2013/11/12/A-portscan-by-email-Al...
My thoughts exactly whenever i read "greedy devs" on Play Store for very very cheap apps. Heck I was just reading a review of notability on PC Mag and they said if you want THESE extra features,l use notability, else the free ones are good enough. (it costs $0.99) So now you're gonna think $1 isn't even justified?
There is no contact info in your account.
Please contact me insfbayarea (@gmail)
Finish the degree, it's amazingly helpful visa wise if you ever want to apply to jobs in other countries. I left the UK for Canada and it would have been way harder without a degree (I believe there's some amount of 'years in the industry' that adds up to a degree for work visas, my memories foggy but i think it was around 10 years..)
Assuming you can trust the VPN and the encryption is good it should.
Yeah, it has an "do you even have to ask?" flavor to it for me.
They are the often singled out for harsh punishment, actually.

See: Celebrities Lohan & Hilton & Martha Stewart, all singled out for harsher punishment than normal.

Politicians Cunningham, Spitzer both given harsher punishment (or more ink) than a typical person would get.

Rich people like the entire Enron board, telecom CEOs, numerous lawyers and execs you've never heard of charged with insider trading, trivial securities infractions, trivial tax infractions, and hounded.
It's so sad and inspiring to see him in such a state and still have the willpower to do the WWDC like that.
Sounds like a sensible notion too, otherwise I'd be paying all my fines with Reddit karma.
Is it possible to use the browser in https only mode, or at least have it force launch any https sites in a new incognito mode window so that you know it's http-only. Furthermore, it would be nice if you could disable all text inputs on http-only windows.

I know that I would be more likely to contact a site owner asking for https if it screamed at me everytime it happened.

It's time to ditch http for all but rare use cases, because almost 2014.
> The article talks not just about Zhang, but also about James Maynard, who is a postdoc and looks young, and is part of what you might call standard academia. His result is independent of Zhang's and is orders of magnitude stronger and is much easier to understand.

Maynard has done some stellar work to be sure, but he built off of Zhang's breakthrough. Maynard's result is one of a sequence of very quick findings all happening in just months after Zhang's work became public, all make possible by that work, and relatively easy, as can be seen from their number and rapid pace.

I have not read all the papers here, but my guess is that Zhang's result is hugely more impressive.
Mystical.
How easy is it to fully automate VPN only computer usage so that everything I do comes out of a machine at Amazon EC2 for example?

I've never set it up and was curious what others have done to make it as invisible as possible.
Couldn't the server check for a "trusted IP(s)"?

Two-Factor Authentication is great but even without, it would seem that they could more aggressively lock out any new IP address which is failing password retries several times. (but continue allowing log-in from trusted IP's.)
Wikipedia Asks Editing Services Firm To Stop Changes To Wikipedia
Apple apparently doesn't think i'm an important enough demographic to share their content:

"Streaming video requires Safari ..., or QuickTime 7 on Windows."

Shrug.
For a job that you have done your research on, usually the question is pointless. Most high level jobs will be fairly clear about what they give back to you.

For many jobs where you might be just some guy, people might ask questions about the job site, culture, day to day minutiae, areas of specific responsibility, etc.

I really think it is a holdover from a time someone would go hat in hand to a job site and be given little information except "You are doing X, prove to me you should have this job."

I have interviewed a bunch of people for jobs that fit in both places in the spectrum, and while I don't expect the candidate to ask questions, if they are a face among the crowd of 20 interviews and give you relevant questions about your business it can show their interest in what you do, it can also show they are sensitive about specific things.
lol the real motivation is Ripple offers giveaways. github account == $$$$
Cameron Douglas, serving a 10 year sentence for nonviolent offenses.

http://www.usmagazine.com/celebrity-news/news/michael-dougla...
I didn't mean "business expense write-off" in that sense, I meant "as a cost of doing business".
Me too. Curious, have you tried using the US data centers from Asia? If so, how is the speed like?
You weren't asked for a definition of "felony" you were asked a reasonable question about what you meant by "negligeable felony" - most likely because most of us would be willing to accept someone done for shoplifting a pack of cigarettes when they were 17 (as an example). Why are you dodging the question? At least to me, it makes you seem like a shifty politician trying to hide her agenda.
Probably a place on Earth that legally frowns upon deceptive business practices, false advertising, and the like.
depends on the textures mostly, also hed need to write his own (simple) 3d engine which will require lots of boilerplate. If hed use something like Three.js, that alone would be more than the size of the game currently i guess.
Xbox One: The Review
Steve Jobs vowed to kill a lot of things, including Android. As in the words of Larry Page,

"How's that working out for you?"
Yeah, this result is effectively getting a little bit closer to proving the Twin Prime Conjecture.

It would be interesting to see the proof get progressively closer to 2, but more and more difficult each time.
Do you think you could shorten this down to less than one line? One line seems wasteful.
For most people in academia, the incentive to work hard is not the fear to get fired, but the intrinsic satisfaction of working on a certain class of problems. Tenure does not take that intrinsic value away.
5 gigs for free with dropbox and icloud isn't enough.

I'm waiting for both companies to up their free storage offering, as Flickr now offers 1 terabyte to back up your photos and videos.
The article is a little short on attributions. John Cocke and Fran Allen are responsible for the optimizing Fortran compiler and their technical report at IBM detailing and justifying the transformations is still excellent reading.

John subsequently invented Risc architecture and supervised the construction of the first machine because his work with the compiler had led him to the conclusion that, for compilers, existing instruction sets were all wrong. It ultimately became the Power PC architecture.

John also won the Turing award for his many contributions to computer science which didn't exist as a field until long after he began. Or when I began for that matter. :-)

Cooley and Tukey invented the fast Fourier transform although I've read that Gauss had preceded them with little notice. When I was in school it was still called the Cooley-Tukey algorithm and considered a bit of a miracle. FFT rolled off the tongue a bit easier and supplanted the name. At that time the term Digital Signal Processing also remained in the future.
> But do they really sit down and weigh the legal ramifications and discuss who shall be thrown under the bus, if things should flare up?

I would think they'd avoid putting down anything on paper for fear that it would be discoverable (in a legal sense) if/when the SHTF.
nah, the voice acting is fine. And certainly, I'm not claiming that they are objectively arrogant, or that a 'reasonable person' would feel talked down to, and when you get down to it, I'm the last person to call someone else out on arrogance.

It's odd, too, as the non-financial stories on, say, this American life usually doesn't trigger the same response. (I mean, I'm not a huge fan of this American life, but not because I feel talked down to.)

I was commenting mostly because I find my own reaction... unexpected. And I think the question "what is arrogance?" is an interesting one. Different people will perceive vastly different levels of arrogance in the same document or reading.
Guido was still working at Dropbox when I was talking to him before lunch today.
I would hire him on the spot.

Then again, fully 7 out of 10 people who work for my technology startup are women, so I guess I'm just missing something, or I live in a parallel universe.
I don't think so. Guido made a blog post last week about the Dropbox Datastore SDK:

https://www.dropbox.com/developers/blog/66/python-datastore-...
Speaking of reformulations of the Riemann Hypothesis, there is a surprisingly elementary statement that is equivalent to the RH.

Let H(1) = 1.

Let H(2) = 1 + 1/2.

Let H(3) = 1 + 1/2 + 1/3.

...and so on.

These are called the harmonic numbers.

Let S(1) = 1.

Let S(2) = 1 + 2.

Let S(3) = 1 + 3.

Let S(4) = 1 + 2 + 4.

Let S(5) = 1 + 5.

Let S(6) = 1 + 2 + 3 + 6.

The pattern here is harder to spot than the pattern for the harmonic numbers. S(n) for a positive integer n is the sum of the divisors of n. For instance, 6 is divisible be 1, 2, 3, and 6, so S(6) = 1 + 2 + 3 + 6.

Conjecture: for any positive integer n, S(n) <= H(n) + exp(H(n)) log(H(n)), with equality only when n = 1.

Believe it or not, this conjecture is equivalent to the Riemann Hypothesis!

Proof here: http://xxx.lanl.gov/abs/math.NT/0008177/
Flickr is not a backup service.

They can and have lost photos in the past. A friend who used to be a PM at Yahoo! lost some family photos that he didn't have backed up... so he was able to contact them personally, but I am not sure how it ended.

I use Flickr as my main storage site, but I have a custom script that backsup photos and some meta-data to my local NAS.
This seems like one of those divisive topics where if the person refuses to answer the question, for any reason whatever, they've failed, significantly so.

It's like non-trolls don't make it to the future... Like, there's no place for anyone who fails to follow up with something like:

(rejects the question on its face): But what about an intermixed group of guys and one girl wearing argyle garments of various types?

I mean, as a very real, practical problem: either the question absolutely fails or absolutely succeeds at its purpose, and its purpose is determing whether or not the asked absolutely fails or absolutely succeeds at something — but what? The question clearly has lost its value at its first iteration, and really only serves to entertain programmer-types.

For instance, if I were to ask anyone two generations back, they would clearly lose all patience. And the further I take this line of questioning back in history, the fewer the number of folk becomes for whom it is relevant (all the way back to, say, Aristotle, who probably has exactly the classically wrong answer). But as we ask it, we clearly see it as a template question. It isn't informative in any practical sense, and it does not directly modulate our practical ethics.

It's like we've already begun the post-future nostalgia: "Oh, remember way back when racism was a thing?" — But, paradoxically enough... It is still a thing!

Like, tomorrow I'm going to have to politely grimace in response to at least one racist joke — of which 10 years ago it did not exist as a class of joke, but 40 years ago probably would've incited a minor riot (just given its phonetic appearance).
Word Lens needs a lot of light. If there isn't enough light, the scene will have noise and motion blur. That's bad for the OCR algorithms. The camera also makes a huge difference. As cameras get more sensitive, the noise and motion blur are reduced. That has been our experience working with Word Lens over the years.
Maybe they're doing this now that it's a real problem?

At any rate, don't store really sensitive stuff on Github. It's a bad idea for many reasons, security flaws being one. In particular, keep in mind things like AWS server credentials which might go in your repository.
Zhang revealed during an interview that he's already made "astonishing" progress on RH.

http://www.changhai.org/community/article_load.php?aid=13833...

> 這個黎曼猜想，我手上也有一些東西，如果拿出來，也會很轟動，我就是這種習慣，如果沒有完全結果，或者到最後，我覺得我不可能再做了，我也許會把它拿出來，但我現在是不想拿出來的。

He won't publish it until he finalized it.