skysight-inc/HackerNews huggingface dataset:
This is crazy but it might work:

1. Start talking about a prize you won, something like "Remember that radio show I called? Well, finally I won the macbook pro contest".

2. Set up an environment where you have to go somewhere but you simply can't so your friend needs to ask a favor to show up at "blablabla" and show "this code" in the name of "Blablabla". Another friend of yours should say "ok, I'll go".

3. Talk about when they are at the "public place" the day X from 10 to 12", your friend talk about he won't be able to arrive earlier than "11:30".

Give all the details like "I have already talked to them, and I have told them that my friend is going to pass by to get the iPad and that they only need to show the code in his mobile. Anyway, they are going to be there from 10 to publicite whatever...".

Just wait from 10 to 12 that day at that place, bonus points if you print some "radio t-shirts" or something...
He reminds me a bit of this guy in New Zealand:

http://en.wikipedia.org/wiki/Wizard_of_New_Zealand
Groningen, a city of less than 200,000, is not scalable for the biggest cities in the world, which is the problem. Biking across New York or L.A. is not even remotely feasible. I'm not saying better cities are not possible, but just putting everyone on bikes is not even close to a solution. You'd be better off going back to horses.
The Man Who Single-Handedly Converted a Washed-Out Land Into a 1,360 Acre Forest
Is there anyone who knows a link where MVC is well explained?
BTW, is MVC (model-view-controller) that important? I mean even websites like social networks use this pattern?

Thanks in advance!
Show HN: My Web Development Course (free for this week)
I beg to differ.

Take a little look at this: http://www.highprogrammer.com/alan/windev/sourcesafe.html

At least with NO version control, you know you're not protected. Bad version control, such as VSS, gives a false sense of security that you're protected when you're really not, which is worse.
What's the trivial solution to this? I also wound up hosting the malicious file on my personal server...
Reminds me more of the "writing an OS in Rust" than anything - the tone of "here's this really complicated but exciting field that I'm gradually learning to understand, here's what I learnt, here's what I still don't understand".
The larger question is: what do you aspire to when the world just keeps going on its own every day (so you're not needed for that) and the Big Accomplishments in fields like science are getting ticked off the checklists as quickly as skilled people can organize to get through them (so there's no guarantee you'll have some Important Task waiting for you).

If we want to talk Huxley, his answer was: when all else is done, time for spiritual enlightenment.
10 examples of web browser genius
I enjoyed reading this article, strangely enough by Aljazeera. That did made me want to know how a child like this would grow up in the Middle East. I found this: http://media-dis-n-dat.blogspot.nl/2009/03/saudi-mother-trie...
Note it's important to be "wait-free" and not just "lock-free". The first item here does appear to be "wait-free".
> I think driverless cars is still very much ... in the distant future, I cannot see it working in a city like London with the complex layout of its streets.

Best of luck with that, mate.
Google’s brand-new public cloud is already stealing the show from Amazon
The masses are split with still a slight preference to svn: http://www.ohloh.net/repositories/compare

(I'm sure there are other statistics out there, but your comment had made me curious and this was the only one I knew of)
The tech seems cool, but I'm not seeing what extra value I get over a scrubbable video. How are you using the spacial information to add value to the images?
I really don't get this... Maybe I'm just not clever enough, but this is referring to verification of the email address, right?

I wonder how many users don't ever verify their email address though... Couldn't facebook instead just make you verify it? i.e. not allow / limit use of service until you've verified your email address?
I used "//" to get around the http regex (but this requires using an https host as you mentioned), is there another way to get around the regex?
This is getting ridiculous, whenever I see popups like this (e.g when scrolling down the article and a giant popup appears ) I immediately close the website. If your website has an interesting content and if there is a newsletter subscription box somewhere on the website, I will subscribe - without any of this bullshit. It's like shouting to the guest face "You've been on the website for a whole minute, it's time to subscribe to the newsletter!!!1"
Security is hard. Encryption is hard. And don't call me Shirley!
How to create a scrollable splash screen with CSS3 and jQuery
It's quite similar to the standard mathematician approach. It's extremely different from the standard (imperative-trained) programmer approach.

(Note your use of "write down the answer": this is a giveaway that you understand it so well that you're not even aware of your understanding, and might therefore find it hard to explain)
UKIP voters are 5x more likely than average to think the MMR jab is unsafe
Yeah, those are for statistical use only.

The employer can't discriminate in either direction based on that information (which is why it gets a special section of the application for that can get torn out).

But they do need to record the charecatristics of people who are applying, and people who are getting hired, so they can spot rascist managers, etc.
It's not a paradox. We have a lot of discussion in the U.S. about how everyone should be treated equally as a response to our historical and continuing failure to treat people equally. We keep track of race as a way to monitor our progress on that front.

When you start tracking, you might be surprised by how little your organization is doing to treat people equally: http://www.google.com/diversity/at-google.html#tab=tech.
In relation to the latest Google logo change we decided to keep up.
Very interesting and moving article. I was surprised by his incredible self-awareness and self-acceptance. Now it makes me wonder about all the reasons why you can't fit in our busier-than-ever society. Why bother trying joining the workforce when it's already broken for most of us? Maybe he could learn to grow his own food, learn to make things at his own pace and become more 'independent' while doing so?
MALI GPU (ARM's proprietary GPU core), would be at least one reason.

I'm running a completely open source u-boot, kernel and userspace on mine. With the exception of a tiny bootloader[1] which just sets clocks at very early boot. However my open source chain doesn't support some bits of the hardware, although it supports all the bits I care about (serial port, SATA, MMC, virtualization).

[1] This first stage bootloader was probably written in assembly, and has been disassembled and annotated, but no official source is available for it AIUI.
May the Force Be With You
Spoiler: RaNDoM cApS
Agreed. They seem to be good at threatening to fire employees of other companies, but not their own. I suppose that's a net positive. Still.
Can somebody confirm that these archives are valid?
Thanks for posting! I was thinking of that video, but couldn't find it when I wrote my post.
Use upper-case characters
Wait, why does the video use a remix of Cro - "Easy" as background music? I was very surprised listening to some German rap suddenly.
Is "wanting money" bad? Or the write up is bad? OR the humanity is bad? Please make yourself clearer!
http://www.templeos.org/Wb/Kernel/Compress.html
Dance is my dream
Origin offers full PC games on the house
Verifying Typeclass Laws in Haskell with QuickCheck
It's funny how Cantrill is so willing to throw someone else under a bus, yet he's the guy who once asked if another developer had "ever kissed a girl"?
That's LavaBit 2.

I've been a long time TC user and if there's the trait it has it's the quality and a high degree of polish. And now looking at the diff and the screenshot of that in-app "Not secure" message, the polish is just not there. It feels like it was something that was slapped together in a rush or by someone who's not an original developer. The SF page alone is a big red flag. If you compare its nearly hysterical tone and ridiculous BitLocker advice to the tone and content of the actual app, they don't add up at all.

This leaves us with a handful of discrepancies between the last good state of the project and what's out there now. So it's either someone else's hackjob or it is original and the discrepancies are intentional. Then, factor in the .exe sig match, and it pretty much leaves only the latter option - the original devs made an absurdly non-TC-like release. The question is "why?"
(Mathematician at Light Blue Optics here.)

Unfortunately that near-100%-efficiency wasn't quite realised in practice, for several reasons. I think I can describe some of them without giving away anything commercially sensitive:

1. The spatial light modulator we used didn't give anything like the 180 degrees of phase rotation outlined there, which means that a large fraction of the light landing on it passed straight through.

2. Having only two phase states leads, as mentioned in that page, to a conjugate image with as much light in it as the one we actually want.

3. All that random noise does indeed average out nicely when you have many "subframes". But since there's no such thing as negative light, parts of the image that are meant to be black will inevitably end up something other than black. So there's a loss of contrast, which means that some of the light in the image isn't really doing you much good.

4. The optical design has a bunch of lenses and mirrors and things in it, and every surface is an opportunity to lose a little bit of light.

The actual optical efficiency figure was, let's say, somewhat less than 100%. (Also, for every frame we displayed we had to compute a lot of Fourier transforms, and the compute hardware takes power too. Which wouldn't matter for large mains-powered projectors, but is more of an issue when you're trying to make a small low-power device for mobile use.)

We had some next-generation technology in the works that would (if brought to completion) have fixed most of these issues and produced better efficiency along with better image quality -- but then we made the (very sensible) decision to get out of the picoprojection market completely.
can someone share theirs hosted script that echos and alert? :D
Show HN: Refined types – a better type system for more secure software
That was super fun!
SPOILER: You need a way to defeat the regex (see other comments here). Then think about what the "foo" actually does (and read the error console).
http://c2.com/cgi/wiki?ModelViewController and, from there, http://c2.com/cgi/wiki?WhatsaControllerAnyway give historical info and show that we cannot have a single good explanation. You will have to state which MVC you want to see explained first.
i think ftp:// works too

EDIT: no, it doesn't :D
Consider the possibility that what your grandfather tells you might actually be true.
data-uris also work: #data:text/javascript,alert('pwn')
Data Retrieval Is The Invisible Drain On IT, Study Reveals
Uh, you just called him out for using a throwaway account, now age and experience means nothing? Go away, troll!
Optimize JPEG images without compromising quality with JPEGmini and Cloudinary
Your comment presumes that diversity is something that is axiomatically desired. I don't - just like I don't order my bookshelf based on gender/race of the authors and decry lack of diversity there.

I personally only care about it as far as principle of fairness. Ie if one can show that company X discriminates against persons Y (by demonstrating that sufficient number of qualified candidates Y are turned away) - then it would register on my radar. Otherwise I consider 'diversity' as a tool to push through quotas that I personally detest.
How to reduce JPG image file size while delivering photos of high visual quality. This article introduces Cloudinary's JPEGmini add-on: on-the-fly cloud-based JPEG optimization using simple manipulation URLs.
The JPEGmini image optimization reduces bandwidth consumption, improves user experience and ensures your photos are delivered in high quality. Included are sample image manipulation URLs and code snippets for Ruby on Rails, PHP, Node.js, .Net and other frameworks.
https://rawgit.com/JonasPf/7bf2f1628aad57dbde56/raw/79910b56...
Edward Snowden Says Any Intelligence Organization Can Control Your Mobile Phone
Data Science Weekly Newsletter – Issue 27
Less interface is better interface
LulzSec Chief Walks Free After Acting as "Extremely Valuable" FBI Informant
I'm a Pocket user since it was called Read it Later and even bought the then-paid Android app as a way to support the owner. I was excited to see a way to help the developer again, specially as I learned he is fully dedicated to it since the name change.

I clicked in the link as soon as I read it. But I found it too expensive.

Ok, it is half of Evernote's price. But Evernote works as a more generic trunk, storing other kind of data, has plugins and even compatible hardware. And has all the functionality of Pocket, with Clearly, even in the free version.

And at least for my use, I don't need any of the extra functions at Pocket. Even though I would be happy to support the service, I would prefer a less steep first step.
Using invoke dynamic to teach the JVM a new language [pdf]
Why is it strange coming from Al Jazeera? Would you think it strange if it came from the BBC or Der Spiegel? Despite what many in the US believe, Al Jazerra isn't the mouthpiece of terrorists or Qatar's propaganda machine, they're mostly just a very good news source.
A Good Apple Experience
Suppose someone has a girlfriend who is a vegetarian chef. She was kidnapped. The kidnappers forced her to make a phone call saying that everything is fine. She says "don't forget to buy some spam". At least she could have recommended something healthy?
Both Haskell and Scala are more popular than Rust right now. Scala is actually on its way to become a mainstream language (http://sogrady-media.redmonk.com/sogrady/files/2014/01/lang-...), followed quite closely by Haskell.
FreeOTFE (which was developed by a woman named Sarah Dean... who by the way also had a large TrueCrypt archive) is no longer developed. She stopped responding to email about a year ago and her domains went away too.

http://www.reddit.com/r/crypto/comments/1ciopg/freeotfe_acco...

The Way Back Machine has an old copy of her FreeOTFE website (freeotfe.org): https://web.archive.org/web/20130531062457/http://freeotfe.o...
This is a good discussion, but the author is confused about what the "Low Base Rate Problem" is. It doesn't have anything to do with the null hypothesis being true most of the time -- the example the author gives is actually a second form of repeated significance testing, which could be addressed with a Bonferroni or Šidák correction.

The Low Base Rate Problem is when you have a binary outcome and one of the outcomes is rare (say, less than 1%). There is so little entropy in the information source that you have to acquire a heck of a lot of samples in order for the statistical test to have any power. The problem is not unique to frequentist statistics; it's a consequence of information theory and so it affects Bayesian statistics as well.

Nonetheless, I highly recommend examining Bayesian test techniques to avoid repeated significance testing (both within a single trial and across multiple trials). A side benefit is that when someone says "What's the probability that the new purple dragon logo outperforms the old one?", you can give them an answer without backpedaling and explaining null hypotheses, p-values, significance levels, and all that jazz.

The major drawback to Bayesian techniques is that it tends to be computationally expensive. For example, to evaluate the A/B test and answer the purple-dragon question with normal priors, you have to integrate a normal distribution in two directions, and there's not a clean analytic formula for that. That's why there's a jagged histogram in the blog post; it changes every time you hit "Calculate" because it's being integrated with Monte Carlo techniques, which take a lot of juice compared to (frequentist) analytic methods.
So Rust would be able to figure out that some transactions might be prone to rollbacks? What's the name of Rust's database library which does that?
AppcodeKata: Practice AppCode keyboard shortcuts
Well 1 horses are dangerous (horse riding is a high risk sport) 2 the removal of the horse poop becomes a major issue.

I cant see a problem in riding across New York - I have done cross central London a few times.
My son (7) is gifted, his school has no program for children with special needs, and he's having enormous problems in school with other children and his teacher. Would you mind sharing some tricks to share with his teacher that might help her handle my son better?

We told her to keep him occupied, send him for photocopies, give him some extra tasks in class etc. but she doesn't want to do such things since my son sometimes improvise things and messes up.

Sorry for thread hijacking.
Yeah, definitely better to keep it idiomatic.
Also:

$ test -f "$file"

is pretty clear I think.
Adding a space just before the URL works just as well.
I'm slightly surprised - one thing I always thought of haskell as having was a pretty download page

http://www.haskell.org/platform/

But I guess the front page isn't quite so nice. One thing the real page certainly has the advantage in, is the great big "Download Haskell" button in the middle, as opposed to a tucked away "Downloads" button.
Generally, bash is for quick and dirty things I want to automate. I'll go to perl or python if I need anything more complex.

The amount of effort put into these examples is already way higher than my personal sniff test for "Should I be doing this in something besides bash?"
It's a gorgeous building that I plan to visit soon.

Interestingly, at construction it had severe
structural and environmental deficiencies. For example, mildew was a huge problem for many years, and the perfect cantilevers were not strong enough and sagged until they were repaired in the early 2000s.

http://en.wikipedia.org/wiki/Fallingwater#Repair_work
Introducing Continuous Integration For PHP Projects On Semaphore
How North Korea is more open than South Korea (For Google Maps)
//dl.dropboxusercontent.com/u/18177522/google_xss_game/alert.js
I don't see this as particularly unprofessional or petulant.

The owner/manager of the project didn't want to keep maintaining it and is redirecting users to an alternative that will work for almost all use cases. As of last month, there were reported flaws in TrueCrypt and there's nothing that forces a maintainer of a free project to keep going.

I'm left almost a little annoyed that the conversation isn't "RIP TrueCrypt project, thank you goes out to the maintainers for helping people feel more secure for years."
Who even does this?
Thank you. I will start there then.
I am curious about your definition of wait-free and lock-free. There are a number of conflicting definitions for these two terms floating around the internet.

If we take a very simple problem, incrementing a shared counter and doing some other work and returning its new value. In pseudo-code (with no exception handling).

---
A lock based solution would look like this

public void inc() {
this.l.lock()
this.value++
this.l.unlock()
}

This has the crucial property that if a thread gets descheduled by the OS while it holds the lock no other thread can make progress until that thread has been restored and releases the lock. Importantly this is true whether we use user space spin locks or OS integrated locks.

---
A lock-free solution would look like

public void inc() {
while(!compareAndSet(&this.value, this.value+1))
}

This has the charming property that if a thread gets descheduled by the OS anywhere inside this method other threads will not be impacted. However, there is a pathological case where a single thread may repeatedly fail the call to compareAndSet(...). While this does mean that some other thread(s) must be making progress an unlucky thread may be delayed indefinitely.

---
A wait-free solution for this on x64 would look like

public void inc() {
// do some inline assembly
XADD this.value 1
// that's enough assembly
}

where the XADD instruction is guaranteed to always work atomically and safely regardless of how many other threads are also xadding to the same address. In practice wait-free algorithms are exceptionally complex and often slower than their lock-free counterparts. Wait-free techniques are most popular with academics (because they are so hard :) and with hard real-time systems because you can't risk failing indefinitely on a contended compareAndSet(...).

This is a good explanation of what I understand to be lock-free and wait-free

http://rethinkdb.com/blog/lock-free-vs-wait-free-concurrency...

Here is a really good discussion about it

https://groups.google.com/forum/#!topic/mechanical-sympathy/...

Truly no flame intended. I just often find it hard to discuss these things over the net because of the range of possible definitions.
I really don't get why gender or ethnicity should play any role at all. Especially for jobs based on technical skill it would make a lot of sense to select mainly for ability. It is then very likely that this would have the same skewed distribution of ethnicities that all the 'elite' universities have, despite affirmative action. As a white priviledged male, I feel sort of disheartened reading that all things being equal, officially I won't be hired, unofficially of course often it is the other way around. There are plenty of countries that are much less diverse than the US and still have highly successful companies, so apart from good PR I fail to see why 'working on diversity' does have any meaningful impact.
For me it actually worked to use a script tag, but I'm confused about why, as the hint says it shouldn't.

This is the URL I used:

https://xss-game.appspot.com/level3/frame#'><script>alert('bla')</script>

But the hint is hinting at something more like this, I think:

https://xss-game.appspot.com/level3/frame#' onerror="alert('bla')">

Can somebody explain why the first one worked? Are they wrong when they say that the browser won't execute scripts added after the page has loaded?
You should check out mrjob[1]. It wraps the Hadoop streaming API and makes it super easy to write MapReduce jobs in Python. I find it much easier to understand than this implementation.

[1] https://pythonhosted.org/mrjob/
Java is now the leader on Stack Overflow
//www.google.com/jsapi?callback=alert
nope, OSX Safari
Who are the happiest Millennials of all? Java devs, apparently
Not to mention it makes less and less sense everyday. Look at how many multi-racial people there are. Well, almost everybody really if you think about it.
Matt Cutts Talks Google Link Extraction And PageRank
Thanks for the comment! What we were trying to get at is running repeated experiments when prior probability of an experiment being successful is low---which you correctly point out is also about repeated testing (and has nothing to do with power). So perhaps our naming is unfortunate.
So is it just a suborbital plane that can launch something high enough where an additional small booster can put the payload in orbit?
Mind Control Will Help People Fly Plane