skysight-inc/HackerNews huggingface dataset:
> Just look at math.
> Programming is even harder;

Wow. There's someone who has a substantially different idea from mine as to what constitutes math, what constitutes programming, and what constitutes "hard."

> ... chances are if you're a programmer you're
> not really likely to become a high school teacher.

Ditto mathematician. Most high school teachers I know of who are teaching math have no idea what math is really about.

> Conversely most high school teachers will not
> know how to program.

So, no different from math, then.
Stopped reading after it said "c++ – The big one as it’s a Microsoft product."
Another advantage of ARM is a simpler and more straightforward instruction set, unburdened by level after level of legacy. This makes both compilers and chips simpler, more efficient, easier to design and less bug-prone.

There is nothing superior about x86, the Intel advantage is not because of the instruction set but because of Intel's design/production processes. If Intel produced ARM chips they'd blow everything away.
Seems like a neat idea for a search engine, but I tried with photos from 6 different cameras and none of them stored the serial number in exif. I wonder how many models this is actually useful for.
I run coffeescript on my windows machines from time to time. Why not?
Great idea. But instead of a serial input, it should ask for a photo or Flickr account or so. I don't know my cam's serial, and I can't look it up easily if it's stolen.
Righthaven brings in the big guns in attempt to reverse litigation setbacks
Osama Bin Laden: Dead Or Alive?
The last time Osama Bin Laden was seen in public before he was killed was in December 2001. Since then 30 audio and video messages have been issued in his name, but sceptics claim they’re fakes, implying that both al-Qaeda and the CIA have their own reasons for keeping the idea of the Saudi terrorist alive. But is the Western world’s number one enemy still alive? The phrases “probably”, “almost certainly” and “this suggests” pepper every interview, though reports that he died eight years ago from kidney disease are dismissed fairly convincingly. “It’s easier to explain things away with a conspiracy than to face up to the difficult reality,” shrugs former CIA officer Art Keller. The truth, he believes, is that Bin Laden is very crafty – as he avoids all types of modern communication, his enemies can’t pinpoint his whereabouts.
"My own experience in a clinical setting showed that most doctors (say, outside a university health system) have trouble keeping up with the research in their field."

There is a study somewhere about what percentages of doctors can name at least one finding from their medical field within the last year, and it was some abysmally low figure. Do you happen to know what I'm referencing? I am looking for the cite for something, but can't find it unfortunately.
Thanks for your reply...

I'm kind of following you - unfortunately, I don't know ruby well enough to understand what you mean when you say class declarations are loaded as constants at run time, but I'll definitely look into it.

I think there's a third purpose to DI that you didn't mention. The container does instantiate an object and inject it ("wire it") into another object, but the real benefit is that you can externally configure which object to swap in. That last part might matter less in a language that doesn't have to be compiled but it can still be valuable if you have a lot of different implementations that need to be swapped in/out in different deployments.

The method you described for person - testing a conditional - do you mean you'd create a method with a conditional, and choose which implementation to use based on that conditional? I've done this, and it certainly works, but it isn't really a placement for DI (this sounds more like a factory method, though again I don't think that those really exist to the same extent in ruby since duck typing is much more flexible than static typing). My problem with this approach (if I understand it right, which I'm not sure I do) is that this would lead to a very long series of conditionals to load the right class. In rails, I'd probably be looking to pull them out into a yaml file (something like the applicationContext file in Spring).
I'm sure someone has thought about this before, but instead of having the client do work for a certain amount of time, could you just disable submit, set a javascript timeout for some set amount of time, then enable submit after that?

Why does the client need to be processing during the waiting time? Would spambots wait around for the submit button to work?
You are only 20. Either option will work. I would have chosen #1, but I am not you.
Terrible idea. EXIF data is not reliable. You can make it say anything you want.
I think it could help to add a feature "I've found camera/sd card/other device with photos". Just an anecdotal evidence, but my friend's friend found an iPod with some photos few years ago and couldn't locate the owner. Surely it doesn't happen very often, but if this site gained enough popularity, it could be really helpful.
I think you are right, gamification is not the answer for everything and everyone. Some people care about rewards and stuff and some, like you, don't.

I'll put an option to disable notification for people who don't care! Good idea.
They do ask for a photo.
Do most thieves tinker with or strip the EXIF data then? Otherwise it seems like a good utility for the common case.
So if I find a photo I like, I can find all other photos taken by the same camera? Is there potential for stalking here?
This is How the World Reacted to Osama bin Laden's Death
Tried it with a photo taken from a camera I had stolen in Peru:

The 'SAMSUNG TECHWIN CO., LTD. Samsung SL201' does not write serial information in the exif. See the supported cameras page for a list of models that do.
Hats off to Mozilla for discovering that dealing with DHS is exactly like dealing with Righthaven and the RIAA.
I had my Canon DSLR body cleaned at the service centre here in Brampton, ON. When I got it back I noticed it felt different--the shutter sound is more thumpy, and etc. I checked the serial number to check if it was really mine and it was. It's all fine but then months later just by some coincidence I saw a photo on Flickr with my e-mail address in the metatags. Some of my photo buddies warned me that Canon is notorious for swapping parts when your cameras are in for service.
I've used Greenfoot [1], BlueJ [2] and Processing [3] successfully with High School kids, and they all run on Linux. Squeak Smalltalk [4] is another possibility. I've had pretty good luck with Game Maker, but have not tried LÖVE.

1. http://www.greenfoot.org/
2. http://bluej.org/
3. http://processing.org/
4. http://www.squeak.org/
The former isn't a very good reason: HTML/XML accept both double and single quotes, so "<p id='foo'>something</p>" would work equally well.
This is actually a Transputer, side view.

This will suffer from many Transputer's sins and some new ones.

I did a research on chip interconnects, the uniform grid interconnect had shown some unpleasant behaviours, like sudden deadlocks.
Sure. This is the classical question about a corporation maximizing profits vs its social responsibility. Furthermore, ethics/moral stand depend on the societal norms. In the scenario I gave, we are looking from the outside -- it may be perfectly "legit" within that society (and in fact, that's how many see it in my actual applied country). But reality remains: a giant with the resources, tenacity, and goal to copy and replace most every other successful company.

So my question remains: what should tech entrepreneurs do in this "imaginary" environment/scenario?
While I understand your point, your comparison is pointless. There are about 15,000 murders and 410,000 robberies in the US per year. How many people don't wear a seatbelt?

A quick search shows that about 100,000 seat belt tickets were issued for the state of Wisconson, and assuming that every instance of driving without a seatbelt was ticketed, then there are about 6 million ticketable instances per year.

Thus, "your average cop" tickets about 10 people for each reported robbery or murder.

What do you think the answer should be, were the people put in charge?
There seems to be a fair number of models that are supported:

http://www.stolencamerafinder.com/listmodels
Gitionary: the git party game
From a service perspective, I'd prefer to have the process crash and supervisor restart it. Returning HTTP/500 errors on memory allocation failures (which usually last until the process is restarted anyway) is likely to deny service to a larger number of users.
It's only misleading if it's inaccurate. Sure, the range is big. But go look at their history, team, and results. Then consider they're specifying 2%. Even with the wide range, that's an excellent valuation no matter how you slice it. I had to think "good hackers would find that interesting" if nothing else.
But then you cannot crack it open and actually see the components that make the thing run. If this is about educating kids on computers I think that it is really useful to be able to see where each part of the system lives and what it looks like.
I don't use node on Windows personally, but a review of the mailing list shows there's certainly a demand, a lot of chatter, especially directly after releases.

Ryan seems to recognize Windows support is something a non-trivial portion of the community want, and is responding appropriately.

btw, Ryan briefly mentions node on Windows in this talk at about the 1:00 mark, and replies "Windows is very important" to an audience member:
http://www.youtube.com/watch?v=jo_B4LTHi3I
I guess Amateur porn just got a lot less anonymous.
Interesting. Is there a specific purpose to this webserver?
Don’t Be Afraid to Try Something Old for Your Next Project and Innovate
I think there might be a few service-people who would be disgusted at the use of the word 'war' for the App Store or AWS going down.
I would hope so too, but in the case/scenario, the very regulators are lobbied/bribed/look the other way. Not every society is as law-centric as the US, especially the fast, emerging countries.
I like the post, but I don't think it applies strictly to philosophical discussions (unless you descend to the view that everything is philosophic). I think it's more to do with people being told that their beliefs are wrong, and why they're wrong, and getting upset. Philosophers (and I would argue programmers and mathematicians and scientists) are just more used to this so they don't get upset as easily; they attack because they think they're right and they want to change minds.

My question is, does this adjustment help philosophers change their minds more easily than a normal person would, or even a programmer would? I don't think so. Getting told you're wrong in philosophy isn't the same as getting told you're wrong by a compiler, and in the end whatever profession we practice we're still humans with the same biases. It's incredibly hard to change one's mind...

I've also found that quoting Proverbs 28:1 ("The wicked flee when no man pursueth: but the righteous are bold as a lion.") when debating religious people who don't want to debate (and thus feel attacked) doesn't help.
Could Amazon create its own Android fork?
Innovative Techniques to Simplify Sign Ups and Logins
Thanks for all the comments so far! We will be rethinking the backgrounds / design in the next iteration and definitely will improve the typeface.

Sign-in with Facebook will also be integrated soon.
Pioneers of Soviet Computing
I suppose it's just meant to be easily embeddable into just about anything. It could be used to add webserver functionality into an existing application (think web control interface for a daemon), or it could even be used to write a complete C/C++ web-application or backend.

I don't want to make any claims about the performance of Lacewing (aside from anything else, it's too early for that) but one would assume a backend written in C/C++ would be a little faster than one written in a scripting language. Although probably quite a pain to write..!

From a technical point of view, I found that most webservers were tuned for high performance on Unix, but on Windows they wouldn't run very well at all. The news earlier about Node.js having Windows support on the roadmap (which is mainly what prompted me to release Lacewing today) suggests that it's worth supporting, and Lacewing has used IOCP and other tricks on Windows from day one.
As an educator, I would LOVE to have access to these. One of the hardest things I have found is to provide a development environment for the kids at home that is the same as they have at school. You can tell them to install Ubuntu and Greenfoot on their machine at home, but there is no way to help them get things set up, or fix configuration problems unless you have access to their machine.

With this, they use the exact same machine at home and at school, and it is easy for them to carry back and forth. The only downside is that they would also be easy to lose, so there would need to be a big lanyard attached so they can wear them around their necks.

EDIT: I added some explanation of the problem.
Holy christ you're right. There are whole communities online of amateurs that publish their own 'adult' photos. What's the likelihood that they also post their family/other photos elsewhere online?
Please keep in mind that mod_security does a lot more than sanitize input. I use it to limit and control invalid http authentications, which is not natively supported in Apache.
20 year old kid launches live vide social netowrk for college kids
Don't most sites offer password recovery via email?
Thanks, I completely missed that list. I'm going to try and find a friend with one of those so I can play around with this a bit.
I think that when taken in the offered context (working in IT/Dev at a large corporation) that this document could be very valuable for someone just starting out.

And yes, unfortunately when attempting to increase salary or position at a large bank or transportation company soft skills do outweigh knowledge of algorithms and the such.

To this point I just witnessed last week one of the best programmers I've ever known be walked off the premises because he was not able to get with the program so to speak.

In a large mature organization that is in the "Management" stage, software is typically built in "delivery projects" where the team is given just enough time to hack together the business requirements then the team is restructured to move on to the next set of business requirements that may be on completely different system with a new set of team mates.

This by default makes things like self-initiative, communication, leadership and organization much more valuable in managements eye than someone who can just write pretty code that is optimized to the Nth degree.
What you're describing is often considered to be bad code, not good code.

Maintainability is quite often the most important thing when it comes to coding not terseness (which many do not consider to be elegant at all, quite the opposite, they see it as unnecessarily complicated and obtuse).
That screenshot is just begging for a caption contest
Have you read the book The Elementary Particles from Michel Houellebecq? There is something in it about what you are talking about, and it is an interesting novel, that I think, reads more like an essay towards the end, heh.
Yes, there is a XMPP standard for AV but no one implements it -- not even Google who came up with it.
Single quotes are not 'C-style strings'. The article is wrong on strings in C. In C, strings and characters are different things (well actually, strings don't even really exist - they are pointers to the beginning of a char-array). So you can say char a1 = 'a'; and char* a2 = "a"; and they're very different things; for one, a2 has a terminating zero. (meaning: the first influences only the contents of a single byte, the second one two, leaving aside alignment).

In C: single quote = character, double-quote = easy initialization of array of characters terminated with \0.

(the above contains many simplifications, of course)
Hi Yellowbox, Do you have an idea where best to base yourself for employment in Spain? Do you or your wife speak Spanish?
There is a free guide about how to successfully move to Spain, that might help you on this blog. www.mymovetospain.com
You can sign up on that website for notifications because I probably won't post it here every time.
I've been on linode for quite a while and never had issues with Newark.
Thanks for explaining, I hadn't thought of that.
Pah. Youngsters today don't know they're born.

We only had a BBC Micro to cut out programming teeth on, but we were 'appy...
No wonder they made Socrates drink Hemlock.
Good idea, but works most effectively when:

(1) Various encode/decode steps along to publishing the photo online don't corrupt EXIF data

(2) Thief isn't sophisticated to wipe/disable EXIF data. Many cameras shoot in a proprietary, higher-bit format and give you a fairly obvious wizard option on a desktop tool to include/exclude the EXIF data.

(3) Thief will use the camera, not sell it immediately into a second-hand market.

(4) Even if your camera is supported, it has to be configured to record EXIF data by both you and the thief. Some proprietary formats are fairly raw and don't always include EXIF-derivable data by default.

This will get some adoption because what other option do users have, but it will be interesting to see how many uploads convert to a lost camera being recovered/thief being apprehended. If users had the ability to leave a testimonial when there is some kind of closure, you could derive a metric of success.
Thanks for sharing! I was actually looking for a lightweight embeddable C/C++ web server not long ago, perhaps this will fit my needs. Only thing I'm wondering about is does it (or will it in the future) have windows and mac support? Ideally I am looking for something cross platform for what I have in mind.

(My current solution is JVM based (over JNI) and uses Jetty, but I really want to eliminate the JVM dependency - I use it for more than just the web server, but the other stuff is easy enough to replace with C++ solutions)
By the way, simply put, load averages are computed based on the number of processes in contention for the CPU, and are calculated based on a single CPU average. So, a load of 70 means 70 processes were in contention of the CPU, meaning the system is overloaded by 7000% (assuming the server had only one CPU core.)

http://en.wikipedia.org/wiki/Load_(computing)
Open Education Resources
About Dissertation Critique
A dissertation critique is a critical response to someone else’s dissertation. Writing the dissertation critique requires the writer to be extra careful with what is being said. Therefore, it is important that the writer know how to write a dissertation critique well.
Hovering Art Directors
HackLolla - $5K software challenge to help music fans at Lollapalooza
Ask HN: TED like sites/videos?
Are there any other sites like ted.com? Not looking for talks on any specific field, just a general collection of talks like TED on various topics, and hopefully not too technical.
Agreed -- particularly because the site may have some kind of lockout feature if I fail too many attempts, there's no chance I'll waste one just to see if there's a forgot password link on the failure screen.
Now that is how you compare how different operating systems work as servers. Compared to: http://www.reddit.com/r/geek/comments/h51qr/my_office_just_g...
The internet changed that, eventually.

I'm the mid-90s I worked at a UK university computer science department. At the time there were no firewalls around the departmental network and pretty much every machine, from the Sun and SGI workstations through to the multi-CPU servers, were directly connected to the Internet. We used NFS, rlogin and co. to transfer files and connect to different machines. I can remember logging into machines remotely from home using a modem, an ISP and passwords-in-the-clear. There was no regime I was aware of to apply software patches to machines.

Looking back, I can't believe how much of a trusting place the internet was back then.
No love for RW2 I guess =(
Also, add an upload button, I don't want to drag&drop if my browser is full screen!
Yes, I've used it on both Windows and OS X, as well as Linux and FreeBSD servers.

It uses IOCP on Windows and kqueue on OS X. There's a project file in the 'msvc' folder which should build out of the box on Windows - on OS X you probably need macports with autoconf/automake/libtool to build it.
+12? +8?

char * NameDecoded = (char *) malloc(strlen(Name) + 12);
char * ValueDecoded = (char *) malloc(strlen(Value) + 12);

if(!URLDecode(Name, NameDecoded, strlen(Name) + 8) ||
!URLDecode(Value, ValueDecoded, strlen(Value) + 8))

I'm pretty sure you also don't want to accept and honor any arbitrary 64 bit value for Content-length.

And I'm also pretty sure Content-length can't be negative and doesn't belong in a signed integer.
"We skip the backup generators and pass the savings on to you!"
interesting, though I just signed up and my video player was empty, and I'm hesitant to pay for their iPad app.

That's one of the things I like about the onboarding experience with Shelby.tv; when you sign up, you can start watching what your friends are tweeting/sharing since it pulls it from you twitter/facebook accounts.
Ah, okay, that makes sense. I only use a tiny part of it, just a category for URL parameter parsing (it was the best one I could find online and the license worked out fine): https://github.com/newsyc/newsyc/blob/master/Classes/Categor...
RIM showing first demo of its Android compatibility layer for Playbook
Ouch, I honestly can't remember why I did that - I'll change it.

It's harder to spot stupid mistakes when you're working on your own - thanks!
Yup--my camera (Canon 60D) was listed, but when I used a photo that had been exported with Lightroom, it couldn't read the serial number. Only when I gave an original JPEG did it have any success, and it didn't end up finding any photos, since anything I've uploaded has been exported through Lightroom.
Apparently it needs re-compilation in order to work. One more hassle (but makes sense nonetheless).

This is a controlled demo environment, yet RIM fails to show the interesting things: how will Intents ("Share This") integrate, how about apps relying on Google APIs (Maps, CD2M) ? There's also no demo of 3D Apps, NDK apps, Video-playing, Accelerometer and Camera.
Or the more os-integrated features like contacts sync adapters, SMS, widgets, live wallpapers. Even the pervasive notifications are left out.

I hope RIM still has tricks up its sleeve or this compatibility layer will sink into oblivion before it's even released.
It will be stuck in the niche for small apps and compete with HTML-based solutions like Appcelerator Titanium.
Sort of, but I know plenty of less-experienced computer users who still use the buttons. Older people, especially, may not have the finger dexterity to manipulate the scrollwheel with the necessary precision.