skysight-inc/HackerNews huggingface dataset:
Yes, I used a touch cover, I do not have a type cover. It may have been multiple things, a defective surface, a bad cover,... impossible to tell, I doubt is a generalized type cover issue as I would assume people would be reporting it all over the place.

I am a really happy camper, today I tested the RDP connection to my main server and works really well, you can get real stuff done using remote desktop. I was sure I would need the Surface Pro and now I am not so sure as I can do heavy lifting with more battery life and lighter device (and I will always need a "real" computer in the home anyway). Surface Pro looks awesome for pen and I am a big fan of ink well done (need to test a capacitive pen with the RT but usually they do not meet my bar). In any case, I will surely keep my unit, I did not feel so happy with a new gadget since the ZX spectrum, my first HP48 (yes, I am that old) or the iphone. I was not sure after reading some of the early reviews but this device is a geek's playground, I will be discovering new tricks for a while, the connection to the XBOX is pretty cool too and seems to work fine for movie navigation but did not play much with it yet.
I have been pondering the possibility to build a challenge problem site that accepts solutions composed in languages other than c/c++/java/c# . Interview street has done some for languages from Haskell to scala to php. But probably I will include javascript because javascript is going to be influential on html5 apps.

If anyone has similar idea and like to team up. Please contact me.
Whose expectations? Yours or someone else's ? Were computers new or where you new to computers?

So I went through an interesting series of transformations, first I was amazed about everything 'computer', I built my own Z80 machine, I ran through all of the languages that the mainframe the highschool had access too, I wrote games, "operating systems", computer languages, and various diversions just for fun. All the way through to about the mid-90's when I started working on the system that would become Java. The new stuff was fun, Sun's politics were soul crushing. I lost my sense of 'wonder' about doing cool things. It took me a while, wandering in the desert to realize that I was piling up all of these negative experiences against something I loved doing (systems design). I discovered it could be way fun to bring VMS up on an old VAX and show it off, to demonstrate active/active fail-over clustering on something as 'stupid' as a proprietary SCSI bus. The reason that was fun and 'regular' computers were not (to me at least) was that regular computers represented 'work' and 'the man' but these other computers were untainted. I committed myself to re-invigorating my 'wonder' and haven't looked back since.
I have a feeling that your intentions are sincere, so let me try to help.

Your comment was probably not downvoted because of your views, but because you said "Stop lying", which violates this community's standard of civility. It also makes you sound boorish, which hurts your argument. I appreciated the informative part of your comment, but your tone unfortunately canceled it out.

(Your other comment, complaining about downvoting, violates the HN guidelines even worse. Please don't ever do that. It makes you look bad and is rude to everyone reading.)

On controversial topics, including Iran, HN has its share of zealots. One need not look far for an example: responding to a claim that Iran has started no wars by redefining "war" to mean "unsavory domestic policy" is mind-bogglingly contemptuous of fact. But there are also many fair-minded people who are not so excitable and denunciatory. Here is how to reach them: (1) supply good information; (2) stop. (2) is harder than it sounds.

Keep in mind that most Westerners have no way of distinguishing propaganda from fact in the many things they hear about Iran. That's not because they're bad or dumb, it's because they haven't specifically looked into it. But most don't want to, which means there are limits to how convincing you can expect to be even in your best-case scenario. The only way to optimize that is to be scrupulously polite.
Users become a lot more accepting of problems when there is a feedback loop acknowledging and explaining those problems. It certainly does not mean the problem will be fixed, but it is a starting point.

When there is no communication, then the users are left to imagine all kinds of wild theories of what went wrong and why. It is a waste of time for all involved.
All right, that tears it.

Wired is dead!
This, and other "X is Dead" articles are not only unproductive, they are almost always wrong.

Let's consider other things that have been declared dead by journalists and bloggers in recent years.

1) Microsoft is dead: http://www.paulgraham.com/microsoft.html

2) The PC/Desktop: http://www.thestrategyweb.com/desktop-is-dead-tablets-on-the...

3) CD's: http://blogs.miaminewtimes.com/crossfade/2011/11/cds_are_dea...

4) DVD's: http://www.investmentu.com/2011/February/trans-world-enterta...

5) Linux on the Desktop: http://www.omgubuntu.co.uk/2012/08/gnome-founder-says-deskto...

That's just a small sampling and each and every one is built on an incorrect premise. That premise is that technologies "die" when something better comes along.

This could not be farther from the truth. It is actually very rare when a new technology or device comes along which is so superior, so much more accessible, and so much more cost effective than its predecessor that the predecessor fades completely from view. In fact, it's so rare that I cannot think of a single example of this having occurred since Cassette tapes were upstaged by CD's.

Can you?
Yeah, I thought about that use of the word ("natural") after I posted, but decided not to edit it out.

I agree with you that it could be cultural. But the behaviour of men wanting to control women seems to be prevalent in many societies regardless of culture.
Also on http://ideas.duckduckhack.com/
In my startup that succeed, traction happened like this:

We were about to shut down, I returned to my old job at the IRS - we were not making any money at all. Suddenly, a huge construction company came to town to build a dam. We rushed to try to sell to them and somehow they bought it. It was cool because the company would have profits at least for some time.

But after that, hundreds of companies that had business with them started calling us. In a matter of 3 months we grew more than 600%

It took 9 years to find that single client that created traction for us. I don't know if you can create traction by yourself. I think you need to find someone that can create traction, usually someone that is a client of many companies and somehow spread the word about you.
Thanks for the feedback. Occasionally I also find myself typing opening brace, closing brace, left arrow, inner text, and right arrow. However, it's very inefficient to jump to the arrow keys, so I want to discourage this typing pattern.

To keep braces/quotes balanced, I've been using editor plugins like smartinput[1] and paredit[2] that automatically insert closing symbols. Even with the assistance, I've found it's easiest to continue typing through the closing symbols (as opposed to right arrowing).

The javascript is also less hairy without needing to handle typing braces together:)

[1] http://thechangelog.com/post/20172996073/vim-smartinput-smar... [2] http://emacswiki.org/emacs/ParEdit
The big market Facebook is missing out on: Local
Usually accelerated graphics are pretty bad at adding new stuff, due to the overhead of moving things from cpu to gpu. Instead they are crazy fast at drawing the same stuff over and over again with slight modifications by simply rotating and moving the already loaded objects.
Part of the point the article made is that your Xbox 360 being used for Netflix and Hulu is no longer a game console, but is instead an internet connected set top box that happens to also have game playing capabilities in it.

Microsoft makes no profit on the console itself; it depends on licensing fees on games sold. Your console, if you aren't buying games for it, would be a loss for Microsoft if not for the Xbox Live subscription required to use Netflix or Hulu.
Thnx. Just a typo :)
X-Ray 2.0 - VirusTotal frontent version for Suspicious Files Auto Submit
[0] Note: not hyperbole. Two megabytes versus two gigabytes.

Heck, back in 1972, I was running, and writing, page layout software on machines with almost a million times less RAM than my current MBP. (16K 18-bit words vs. 16GB). And the editor had no trouble keeping up with typing, which was limited more by the 10 cps limit of the Teletype than anything else.
Betamax versus VHS. VHS versus DVD - VHS is effectively dead now.

5¼" discs versus 3½" discs versus USB sticks and email.
This is actually a use I can really see. I've heard it called "Robotaxi".
I agree with everything you have posted.
I've been using http://cjson.sourceforge.net/ for a while. Single file, reasonable interface. It lets you both serialize and de-serialize JSON. Was this a library you looked at when you did your survey?
"While a "spiral" and a "helix" are distinct as technical terms, a helix is sometimes described as a spiral in non-technical usage." - http://en.wikipedia.org/wiki/Spiral

They are different, but people who don't know the difference often call hexixes spirals, as is the case with spiral staircases.
Quake III on rooted eInk Nook Simple Touch
I know the title is hyperbole but I do agree with the point made in the article that the business models are going to have to change in the industry. Honestly I don't care if I'm playing a game on a phone, console, or PC; as long as it's fun and engrossing I will play it.

I've downloaded a lot of games on my Android and iOS devices and a lot of the action games have touch controls that are awkward for me to use. On the iPhone 5 my fingers cover up the speaker when I'm holding it for console-type game.

Also I'm not completely sold on in-app purchases. I've tried a bunch of the top games and what little gameplay you're allowed to have for some of these games before you need to start paying to play is low. It's obvious to me that they designed the games primarily to extract money from me through some flaw in human behavior as opposed to putting out a comprehensive experience.

One direction I'd love to see the gaming industry go is to see some form of resurrected OnLive. I get my music via subscription and love it. I really like the idea of some type of "all-you-can-eat" game subscription service kind of like what PSN is doing right now.

The other problem that was mentioned in the article was the cost of building some of these really nice games. It reminds me of movies in the 90's and 2000's: lots of money spent on a flop at the end of the day. I really don't know the answer to this one. I love playing games with fancy graphics but know that a studio can only gamble on a few of those these days. They're way too high-budget for an indie developer to make as well.
I don't think Afghanistan and Iraq have been big enough to train generals. In fact, its less about the size of the wars than their nature. They're just not the kind of wars that general will be trained for. There is no front in Afghanistan. The war out there are much less about the military application of force than about the political restoration of nations. But the military is given the control of what's going on because of the poor security conditions. The Afghan and Iraqi theaters are 'distractions' to what the military are prepared to do.

Generals are trained, like the rest of the army, for conventional warfare, to protect the sovereignty of their nations should a full scale war take place. We could shift the focus of the training on counter-insurgency, but that would effectively train the whole army to responds to a single kind of problems: insurgency. Then the country itself would be left with an army that is unable to defend its sovereignty, but that is very good at throwing down weak governments and shutting down rebellions.

Generals, along their careers, are not primarily trained for counter-insurgency. Counter-insurgency is a spin-off of recent conflicts, but it's not the main goal of the military. Because of that, there's no sentiment that generals should go on a theater and take care of it until it's over. They just go in and fill the seat. The Afghans are well aware of this and it removes much credibility from our military : "You say that you will change things, but the guy before you said that, and in 6 months the next guy will say the same thing. I will still be there, and you will be back home. I will still be stuck in this conflict, and you will watch TV with your children and talk strategy about an eventual clash with China."

In a 'real' war, there's a sentiment of urgency, there's an actual threat. The generals, the army, MUST defeat the enemy or a _real_ defeat will take place. In a war like Iraq, Afghanistan or Vietnam, if they win or lose will not change much to their lives, except for the price of gas and some more or less fear in the airports. It's more complex than the price of oil, but the end result is that recent conflicts are pawn-moves in the current state of the world.

It's in that sense that I say recent wars are not big enough. They are not engaging enough to justify a shift in training, and they are not the type of war generals are mainly prepared for (thus the lessons they will get out of them are of limited apparent usefulness - although everybody thinks counter-insurgency is the big thing.)
you are calling realloc and assigning the value directly before checking the return value. realloc can fail and return NULL and you'll overwrite the previous pointer which will cause a memory leak.

I don't see why you duplicated strndup in parson_strndup.

https://github.com/kgabis/parson/blob/master/parson.c#L129

parson_strdup can return NULL and this statement will fail silently.
> why purity and strict types and all their baggage, despite their promise to make software less buggy, have not been widely adopted.

I am guessing is it mainly due to the inertia of the current popular languages (C, C++, Java, Python, etc.), and that none of them offer such guarantees. There are tons of libraries written in them, and so it is hard to move away from them. I am hoping that Scala and Rust will change things.
True. But you should also put the setup in a -s option, because you're not timing the imports. And you don't really need the loop, because timeit does a bunch of loops for you:

>python -m timeit -s "from operator import itemgetter; elem0 = itemgetter(0)" "elem0('s')"
10000000 loops, best of 3: 0.095 usec per loop

>python -m timeit -s "from operator import itemgetter; elem0 = lambda x: x[0]" "elem0('s')"
10000000 loops, best of 3: 0.138 usec per loop
I've been wondering how hard it would be to do the hackintosh thing with a Lenovo Twist - I can imagine running the iPad simulator full-screen might be fairly interesting.
Mr. Doob is god. Yes he is. I admire everything he does.

If anybody should be making a million bucks a year for playing with code, that should be him.
IANAL, I don't think that's true for the Apache license, because it includes a clause that explicitly reassigns patents (or at least licenses any relevant patents).
Your example "mysql-server" suggests you are talking about putting Ubuntu on a server. For desktop users who want Adobe Flash, Oracle Java, and MP3 support, Ubuntu is better at "it just works".

I believe the biggest problem of LTS is that too few people use it. If most Ubuntu users would stay on LTS, then even upstream would take care to support it, which fixes the dependency hell problems.
What's interesting to me is that geotagging is seen as dangerous, and yet it's the act of making geotagged photographs available online that's the real issue.

Maybe an enterprising solution is for an Army hacker to create an app that strips out EXIF data from images, and then facilitates uploads to the user's site of choice.
My first impression is I wanted the nine pictures on the front page to click somewhere and they didn't. They look a lot like UI elements, and I assumed they would lead to different pages.

My basic, basic setup for building quick and dirty websites (before I started learning about frameworks)was to use Twig for templates and Skeleton for html/css. Having something like that (where your 'pages' would be child templates which extend the 'main' template containing everything around the container) makes style consistency and the workload of changing things much easier.

I'd recommend repo.js (http://darcyclarke.me/dev/repojs/) to embed your github account into your site to let people browse your work -- that with a cv page would give people a better organized idea of what you do and more importantly what you're offering.

I can't comment on the blog? It doesn't seem like a blog without commenting.

Also, having underlining show up on the link css on hover shifts the elements around and that's kind of annoying.
Your sarcasm aside, 4 seconds can be very perceivable when you can already do a full cold boot in Win 7 in just 15-20 seconds with a good SSD.
Pretty good if you've written the markup and styling by hand. You'll need to integrate some kind of submissions form to get the full experience, which I recommend some kind of framework.
500 Error here
Yes, I'd much prefer if journalists would switch from using "X is dead" to "X is dying".

Dying is a much better analogy than dead. Dead things don't do anything. Dying things might die quickly (cassettes) or they might die slowly (typewriters). They might die quietly (independent bookstores) or they might lash out and take as many with them as they can (Hollywood). They might be put out their misery by their owner (Flash), remain on life support (Yahoo), experience a miraculous recovery (IBM), or rise like a Phoenix from the ashes (Mozilla).
Weird connection problems like that sound like tcp timestamps breaking things. You can try turning it off across the board and see if your problems immediately clear up: http://prowiki.isc.upenn.edu/wiki/TCP_tuning_for_broken_fire...
Ah, that makes more sense. Thank you. Personally I don't see any keyboard layout displacing QWERTY. It's so entrenched in hardware, software, and people's minds. I think, if anything, it's more likely that voice recognition and things like Swype will displace traditional QWERTY typing. I can barely get family and friends to keep their phone or computer up to date despite it only taking a click here or there. A new keyboard layout? I may as well ask them to learn high level calculus. Even if we start by trying to teach an alternative layout to young children I just don't see it catching on.
This example was given to describe map/reduce pattern, not advice to use it instead of sum:

reduce(operator.add, map(len, ss))

You know, it's hard to understand new concept. And it's twice harder to explain new concept with sophisticated code examples. So I used as simple code and situations as possible. The same for square_sum - it's easier "to see" functional pattern in map(f,l) than in (f(x) for x in l).

Regarding to debug function and partial function application, - it depends. As for me

debug = partial(log, "debug")

is easier and meaningfully describe what's actually going on. But here we have only one function, what if you have to create 5-6 same functions? Would you prefer "def" syntax instead of partial? I have one more example of using this pattern in more sophisticated situation - code listing for dictionary binding to list of functions, "partial" looks really naturally.
Easy solution: stop using HTTPS Everywhere to force HTTPS in cases where the admins aren't supporting it. The admins haven't configured it badly, they've configured it for the cases they want to support. Using an extension to force non-standard behaviour breaks things.
I was looking for more information/sources on the mortar attack. This DefenseTech article has a little more context in general and an example of geolocation using cell signals:

http://defensetech.org/2012/03/15/insurgents-used-cell-phone...

Unfortunately the only source for the mortar attack is the army.mil article linked here. Does anyone know more about the attack?
Awesome!! His first book 'Learning Processing' is what got me back into coding after a 5 year hiatus. Processing is a really fun language for experimenting and this should be a good book.
You think that's the only potential gotcha when using cabal-install?
I have a habit of listening to a single song over and over again. I am able to do so for about 3 hours. Using such randomizer technology, this time will be dramatically prolonged...
I'm making http://codehs.com to teach beginners how to code. We're focusing on high schoolers and promoting good style and good practices.

We have a mixture of an autograder for functionality and human grading for style.

It's really important to get both. Our class uses a mastery model rather than grades, so you shouldn't move on until you've mastered an exercise, and mastery does not just stop at functionality. Style is included.

Making your code readable to other people is really important, and it can and should be taught and stressed even on small exercises.

At Stanford, code quality is half your grade in the first two intro classes because it's just as important that someone else understand your code as it is to just make it work.
Agreed. I'd like to try the colemak layout, but the various brackets and braces need to be handy for programming. Say what you will about qwerty, but at least on the US version the punctuation is decent and reasonably logical on the right.
Without overcomplicating it, I think the 7 year old boys with pirate fathers account for a small percentage of Wii sales, and that they are also more likely to own and play other consoles.
Of course you'd get warnings compiling C code with C++ compiler. C doesn't require casting from void* to another pointer type... it's one of its best features :)
We did a review of the surface tablet here - http://goodereader.com/blog/tablet-slates/review-of-the-micr...

also vs the ipad 3 here - http://goodereader.com/blog/good-e-reader-videos/microsoft-s...

the pro might be a better investment, but most of the apps crash/buggy, not really worth being an early adopter with this product.
Single-page is good, but the item right after that is not: "photo backgrounds."

Yeah, that's just what we need as more people are browsing on mobile devices with unreliable (and compromised) download speeds. Not to mention that some providers recompress images, potentially making them look like ass.
I'm not sure I buy this. Reading a book for example, you always read a book linearly. When I'm reading code I'm looking for different details at different times, I'm doing a lot of scanning. Sometimes it's functions, other times variables, strings etc. but being able to scan only items in a particular colour really speeds up my search. Syntax highlighting really helps with this.

I'm also not sure about the idea of trying to hold more code in your head. Over the last few years I've changed my practices so that I don't have to hold much information in my head. For me this is one of the key benefits of TDD for example. At this point I find context switching easy to do because I've externalised the majority of my process to tools and practices.

If anything, good syntax highlighting makes code a real pleasure to read. Coming from java/eclipse(stock scheme) to ruby/textmate(vibrant ink) I was struck by how much I preferred reading the code in the bold colours of vibrant ink. Going back to java seemed dreary by comparison.
Brazilian Silicon Valley: FOUND
I was in a similar boat, less than thrilled with both banking and academia. The property/casualty actuarial field was a very good fit.