skysight-inc/HackerNews huggingface dataset:
In 2011, I did the "tetris with a shop" that I'd always wanted as a kid-- one where you buy the blocks to use. It's a flash game and I've thought about how easy it would be to port to JavaScript, but the gameplay mechanics need some work and I've been so bogged down generating enough freelance business leads to stay afloat since moving to SF that I gave up on it.

http://www.kongregate.com/games/Xiaoma/block-merchant
Completely and utterly different, to the point that your assertion borders on the ridiculous. So much for the "open" and "choice" mantra's. However you look at it, this is a dick move.
DIY "carbon fibre" iPad case, power supply
We use Hipchat at work at the moment and while I like it overall there are some issues that they need to address.

The Air app for desktop can sometimes have performance issues for no particular reason. They're about to release a native OS X app though so that should solve this for a large amount of users.

The android application in woeful. It consistently logs me out and forgets my password which means that it's totally unusable for out of office notifications from people. I've had to rely more on their email notifications for unread personal messages than their Android app. It's a real shame because I could see myself getting a lot more use out of Hipchat if it worked well enough.
Netflix had a rough holiday, now gets apology from Amazon (sort of)
Google Translate Praises the iPad
Curiously, a simple miss-spelling of "Windows Phone" in the user agent seems to get it working again.

http://www.youtube.com/watch?v=Dd7RiMCrZFw
I'm guessing he means the screen resolution or DPI, but that's not really what "form factor" means so I'm not sure.
Heroku leads PaaS gang with expanded Python support
> This type of useless comment is why I tend to avoid HN for periods at a time.

There's useless pedants like this all over the Internet. You should probably wear a hat.

I'd agree if this were the top two comments without many disagreeing replies or down-votes.

I see this comment in down-voted grey, somewhere way down the page and assume a lack of social skills, bad-morning-before-coffee-grumps.

Or simply Internet Asshat Background Radiation, it's everywhere. Legends say you can trace its echos back to the First Flame from which the Internet was born.
Developers Get "Locked Down" HTML5 Specification From W3C
Yes, it was. It's features basically heralded Asynchronous Javascript And XML, quite a biggie in terms of web-as-a-platform.
C pretty much still Rules the System Layer. Its never going to go away for as long as its easy, and efficient, to write very good C code which performs well. In spite of the hate, there is a lot of really good C code out there still running, still working, still burning up the market. I'm pretty sure there's nary a system image which doesn't, eventually, get itself operating per the rules of C, for the most part, somewhere ..

That said, for all your very valid points about Objective-C, the same (essentially) can be said of Lua, and the Lua VM, for example.

As a mobile developer, I'm no longer interested in Objective-C - its only an Apple Language. But I can take the Lua VM and put it on all the other machines, host-wise/parasitically, and create my own internally ordered Framework which runs on all Platforms, and still gain a lot of the benefits of a re-evaluation of 'language simplicity' versus programmer effectiveness.

After 4 years of Mobile development on iOS and Android, where multiple projects have blossomed organically into unwieldy godawful trees of complexity which prove, every day, even more difficult to turn over to other programmers, themselves creating massive WordSpaceCollections: ofCode.to_BeMaintained((Some*)Way) || Other { NSLog("grr..", &etc} ;

On a Drama Scale, it goes like this:

"Oh, Android NDK/SDK, how you have blossomed to being something I regret I am not putting into the trash in the early days. XCode, you %(#@&% Asshole piece of software, Why I Gotta Download CMDLineTools just to get work done"

..

"SublimeText2, factory settings .. Open Folder->".lua files", build and distribute for MacOSX, Linux, Windows, iOS, Android, and still only need to maintain one codebase.

tl;dr - You can't do that with Objective-C.
mine in TypeScript: http://elrinconde-ex.blogspot.com/2012/11/typescript.html
:) worth it. For FUN.
I'd say comparing it with Go might be easier, it has 8 rules, and can be played on a board of any size. I like to compare that to the 10 commandments in "The Little Schemer" or the 9 functions in μLithp.
Sencha proves HTML5 is ready for prime time
I'm genuinely happy for you. I know what it's like. When isotretinoin works — and it usually does — it has an amazingly powerful effect on one's self esteem.

Since you took the drug 12 years ago, Roche has been quite aggressive in its marketing of accutane for treating more mild acne – not necessarily as the last resort that you describe. I think it's reasonably well prescribed here in the UK, but I get the impression that it is handed out somewhat too readily in many nations, including even the USA.
ATT Call Management powered by Tropo
Ubuntu Linux to run on Android handsets Who saw that coming?
Active sync has licensing costs to Microsoft. And Microsoft complains that Google doesn't want to pay them except for business users.
Not sure why there's so much noise around this. I have an old Nokia N8, and maps.google.com doesn't work (and has never worked) on either the Webkit-based stock browser or Opera Mobile.

There is however a native Google Maps app which works just fine.
Yes, some extensions use identity API's.
A possible explanation for the iOS New Year's Do Not Disturb bug
Glad to remind you about all those old memories. I guess the best thing of js is that it runs in browser. :)
I would hardly call blocking an unsupported mobile OS from loading a website monopolistic. It's like blocking OSX apps from running on Windows even though it might kind of "work". It would tarnish Google's reputation if people tried to use it and see how broken it is/will become since nobody is developing for it. It's a much better solution to just block it outright.
Vista just beats Windows 8 in latest Steam hardware survey
I have no intention of stopping. I guess my curiosity was more along the lines of whether it is worth it to dig deeper and learn more Java, or if it would be better to go for some other languages.

I'm also pondering about switching jobs for this, since the best way to learn in my opinion is to force yourself into real projects with new technologies and not just hack on some small projects for a couple of hours each week.
Full 5 month treatment at slightly under 1mg/kg/day (60mg).

A second, unfinished, 10 month treatment aborted after around 7 months at 0.5mg/kg/day (40mg – I'd put on 10kg of muscle). The lower dose was to reduce the almost daily nosebleeds I was experiencing on 1mg/kg/day.
How to Make an Indestructible Snow Fort — With Pykrete
How does this compare to jqMobi?

http://www.jqmobi.com/
The Ubuntu Phone OS Doesn’t Stand A Chance
The point is that touch screens have a great reputation. Just as glossy displays, the only reason that they were conceived is just because they are cheaper to produce than matte displays. But that doesn't stop the mindless masses from buying premium prices for them just because it is the new thing. Or that 1080p has somehow gotten a better reputation than 1920x1200 for workstations. And how people actually believe that HDMI is, in any way, better than displayport because that's what TVs use.

Sorry, my "Hypothetically" wasn't a quote of yours.
I think there is a strong causation between the way products address their users (not only software, but also cars, appliances, physical forms), and the perceived value of that product.

Step into a luxury car and ask yourself, why do I see this car as luxurious? Sure, it looks nice, but it will also convey a message that says: "When we created this car, we really tried to make you feel comfortable, treated well and respected".

This might seem like over stretching the question in the link, but underneath lies the question: "How hard do we want to try to serve the end user".
There are quite a few quantitative indicators for businesses on exit conditions; for web businesses in particular, see eg: http://viniciusvacanti.com/2011/12/12/when-do-you-throw-in-t...
HTML5 Is Now Feature Complete, W3C To Start Focusing On Interoperability
Zed is dinging examples in K&R for incorrectness, but he's inadvertently deconstructing the notion of correctness. It's more contextual than most developers want to believe.
I totally agree with your point. It is jus that algo and ds are the best way to judge the analytical skill of a person and his ability to think in the right direction.
What if he's got no experience using Android and sensibly decided to make no comment on it?

This insistence on balance is getting tedious. Humans like something better than others, often with prejudice. When I see someone claiming about bias or a lack of balance I just read it as the have a different opinion and want to whine about it.
That's a really interesting topic and one I have not yet considered for my own applications - which is a shame.

I would probably stick with the apologetic approach. The rationale being that apologizing once too often will have a far less negative effect than not apologizing when appropriate.
IIRC that philosophy was also discussed in Dale Carnegie's "How to win friends and influence people".
The US Government Slaps Google Again But Spares it Microsoft’s Fate
Our Personalities Are Constantly Changing, Even If We Think They’re Not
Ubuntu's Quixotic Mobile War: HTML5 - Not Linux - Is The Key
Is there something special to this place ? Is this a grave ? Are there any signs giving behavior rules as may be seen in some churches ? No common sense justification was given to the rule during the warning. How could this be possible ? Aren't policemen required to tell people their rights when they arrest them as we see in films ? What has happened after the film ? Note that I'm not american.
I think its important for the non-Embedded people to understand something: there is nothing in the iOS Systems Criticality design which wasn't already figured out, 20 years previously, in the history of computing. Nada.

iOS was, essentially, the consumer-computer-OS marketing people finally getting some proper engineering under their skin enough so that they could pretty it up and package it and sell it, $99 a pop, to all the teenager coders. The effort to get OSX and iOS suitable for such demanding environments as the teenage pocket just suddenly became an Embedded discipline, rather than the monolithic desktop phase. Of course iOS is now an Embedded OS; but OSX pretty much always should have been in the first place, albeit for the hardware gluttony of the 90's and so on. Nobody ever really used every single megabyte, productively, much space out there being maintained by the Desktop OS's is pure fat and cream, all things considered, from an Embedded OS perspective. Oh, you've got a pagefile that a daemon resizes for you if you need it .. luxury! :)

But in the embedded world, such a problem as purging unused apps, dealing with power models and load concerns and failover policies, and so on: solved, done deal, decades ago.

In the POSIX model, you have all the signals. A well-written program will receive them, know what they mean, and handle them. It takes very little work to set up signal handlers to recieve power events, or RAM-overrun/underuse events, from the kernel. The difference in the Embedded world is, most C-/or Assembly- coders were expected to know it, per the specs of the Embedded Application. Onboard computers for Rail-Transportation, for example, have had an operational - and safety-critical certified - power management model very similar to the way Apple treat the Phone Services, for decades.

Most pre-DOS computers had means of managing such things too. My old Magnum Pizzabox would tell me when the LPT lines went high/low, in case the lineprinter drawing current from it was suddenly, actually, on fire. (I kid, but then again, not really..)

And now what is happening is Ubuntu is getting an Embedded tattoo, too. An easy thing for Linux; Linux has been Embedded friendly, for a long time. (If you travel anywhere by Rail in Europe, the UAE, Canada, and many other countries, Linux is keeping your train on the track.. and has, for the last 10 years, been running big machines elsewhere, 24/hrs. day, 365, year after year, power on and frequently .. off ..)
That's a very interesting trail of thought.

You could essentially say, that whenever anything does not work, we (the developers) have failed to meet the user's expectation. So we should try to convey this message as gentle as possible - right?
Motorola Tells Its FRAND Story to the Court in Seattle
No, they scream about people using the -webkit- prefix for stuff that works fine without the prefix.
So what happens in Android with those apps? Your app opens your App.net client of choice?
Teen boasts of drunken driving on Facebook, arrested
Google's statement:

The mobile web version of Google Maps is optimized for WebKit browsers such as Chrome and Safari. However, since Internet Explorer is not a WebKit browser, Windows Phone devices are not able to access Google Maps for the mobile web.

Microsoft's response:

Internet Explorer in Windows Phone 8 and Windows 8 use the same rendering engine.
It's silly to write off the Ubuntu phone OS before it has even been released. The argument about not being a first mover is also spurious. Google wasn't a first mover in search. Bill Gates wasn't a first mover in home computer operating systems.

The author may be disparaging of desktops, but the desktop paradigm is likely to remain very relevant in future for anyone who wants to get actual work done with a computer, and the synthesis of phone and desktop would seem to be a logical way to go.
Gezond en blijvend afslanken? Met deze tips lukt het je wel
" I'm starting to get the strong sense that no one on a Windows Phone ever actually used maps.google.com."

Probably nobody did. Nokia Maps it's actually even better than google maps. I don't know why somebody would want to use maps.google.com.
"... (and has never worked) on either the Webkit-based stock browser"

Interesting, given Google's statement regarding why maps cannot be used.
Yup, even the smallest price creates a huge barriere for most people. Personally I'd rather throw some money at problems than waste my precious time, but everyone is different.

P.s. groetjes uit holland! ;)
HTML5 Snake Game - Practice Work - Enjoy the good old
Post this because my previous post got lots of clicks.

http://news.ycombinator.com/item?id=5012135

http://pochen.me/tetris

http://pochen.me/
Ah I see the disconnect. You're talking about Android running my microwave. I was thinking about consumer electronics like phones and tablets.

While I agree a lot more devices will be running a more complicated OS with increased capabilities in the I future I don't think it is a foregone conclusion that it will run Android. Android is primarily used on phones, tablets and TVs because of explicit design choices made. Perhaps they will position themselves as a generic OS for electronic devices but they have some work to do before that can happen.
How do you evaluate yourself?
how do you evaluate yourself ?how to know if I am getting better ? and if I am getting better how fast I am getting better ?
// use heap memory as many modern systems do
char *line = malloc(MAXLINE);
char *longest = malloc(MAXLINE);

assert(line != NULL && longest != NULL && "memory error");

// initialize it but make a classic "off by one" error
for(i = 0; i < MAXLINE; i++) {
line[i] = 'a';
}

So, you create something that does not fulfill the C library invariant of what constitutes a "string", and then pass it to a copy function that assumes this invariant? It isn't a fair thing to do, and frankly, I doubt it many beginner programmers care about things like this. Yes, they may run into such a "defect" and be very miserable for a while, but that will just teach them about debugging, and most important, invariants.

Zed, I appreciate your work, but if this is the direction you'll be taking with these articles, then don't bother.
Not sure what the objection to the keep function is, other than maybe the performance optimisations that chunked sequences allow. Taking away the chunked consideration gives something like:

(let [x (f (first s))]
(if (nil? x)
(keep f (rest s))
(cons x (keep f (rest s)))))

Which looks almost identical (with differences, as you seem to be giving filter rather than keep, which are different functions). The library function COULD be defined like this, it just wouldn't be as fast.
Hyperlist - a way to describe anything
When Firefox came out in 2003/2004, that was impressive and better than IE. Before then, Netscape and Mozilla were slow and very buggy.

IE6 was released in 2001, and at the time it was great. The fact that MS stopped working on it and the fact that most corporate IT networks stayed on it so long when the rest of the world had moved on are what gave it a bad name in the years since. But when it was released, it was great.
iSyncr (http://www.jrtstudio.com/iSyncr)
diffmerge
Glad to provide! You're going in with open eyes to your intent, and that makes all the difference.
You're confusing JVM versions with Java versions.
A JVM class compiled for JVM 6 target will not run under JVM 1.4. It will fail to load because of version mismatch.

However, you can use Java 6 compiler to compile Java 6 code to JVM 1.4 bytecode. That's what you are talking about.
I feel like it's the customers who are being punished, not so much Microsoft.
What are the LuaJIT timings on the same machine also is this the proof that it is "The fastest scripting language on Earth."? Please provide your profiling results with the languages tested, the files ran and the timings.
Agreed. And it starts from his very first example, about the implementation of the copy() function. C is not a type safe language and programmers who use it knows that, sometimes it might even be an advantage. For instance for me, if I'm writing or using such a copy() function which does not ask for a length to copy, I know it is because it will need a proper C string. For some others it may be that they know that their functions will use a global maximum length and that the inputs they provide to the function are respecting that. But no half-decent C programmer will use this function as a totally safe one on any possible inputs. Especially if they saw the implementation.

The "correctness" the author is asking for here is not what you want from a typical C functions. If you really need this kind of "correctness" then maybe you are using the wrong language and should check our either a high-level tolerant scripting language or a statically typed one.
I'm sorry Dave, I cannot let you do that.
It's an analogy to help people familiar with DRM understand what Monsanto's tech is without having to read the wikipedia entry: DRM is to digital content as Terminator seed technology is to plants.
Show HN: Simple command-line directory bookmarks manager
He probably learned more about business from this venture than $10,000 of business education would have given him. I've also lost that much on a venture once, and the irony is that like his business it was also a potentially profitable and viable business and may have succeeded if we had the experience to approach it differently.
Croak.it – Express yourself with your voice message
There is no reason to assume that the correct length parameters would be passed to safercopy. Indeed, there are many buffer overflows and off-by-one errors in C programs which involve buffers with explicit size values instead of null-terminated C strings.

The real problem with C is that it relies on bare pointers, where it would have been better to use slice-type structures that describe a buffer by pairing the base pointer and size, so that they are naturally kept in sync. This article takes a lot of time to "deconstruct" C strings, but never gets to the real issue.

The "stylistic issue" is also debatable. With the indentation given in the example, nobody would think that the "while-loop will loop both if-statements", as the author claims.
You are being too kind. I was expecting some earth shaking discoveries, only to find the author doesn't understand C.
Relatedly, what's the value of an error message apologising ? Should the message be connected to a human feeling the "sorry" emotion ?

Personally I prefer less dramatic and to the point tone. At least it's not fake: "Hey, this feature is locked down and not accessible by everyone. Have a chat with your administrator if you want it to be unlocked."
Annoyingly clever. Even while running Ito JavaScript I have to debate whether I should be annoyingly clever or not.

/* bad use of while loop with compound if-statement */
while ((len = getline(line, MAXLINE)) > 0)
if (len > max) {
max = len;
copy(longest, line);
}
if (max > 0) /* there was a line */
printf("%s", longest);

What do you do?
how much is all of this tied to Oracle? is openjre and other non-oracle jvms ready for prime time?
I think Zed is right to point these errors out - there are quite a lot of issues with edge case inputs and undeclared assumptions, that people definitely need to hear about.

That said, he appears to be dealing in absolutes too much. If you care about performance (and let's face it, if you're using C you do, otherwise you probably shouldn't be using C) then sometimes you can't handle as much error checking or error correcting as you'd like.

In games (where most of my experience is), it's common to have functions that are 'unsafe' by his definition, but that are hidden in compilation units and not exposed in the header, so that the programmer can control exactly where they're called from. If you have a limited number of 'gatekeeper' interface functions that are actually called from outside the module, and these either check/sanitise/assert on their inputs, then the internal private functions can safely assume that they have valid input and just run as quickly and as simply as possibly.
An error message is text. It's not an algorithm, logic, data structure, or source code. It may seem obvious, but the point is it's not a software development question, and there is no best practice that will answer it correctly in all situations. It's a question of human interaction and communication. The correct answer will always depend on the circumstances.
Several months ago, i came up with an idea of combining Tetris and Poker. I made an iOS app for this. During the initial review, the app was rejected by review team due to copyright violation of Tetris. They simply do not allow any game on IOS that resembles Tetris.

Then i had an idea to bypass that restriction, and got my app approved. lol
https://itunes.apple.com/us/app/dropoker/id505733317?mt=8
Why is the feature accessible through the UI by users which don't have access to it?
no, they should print out stack trace and other useful information, depending on the user.

UI has to be responsive not to viewport sizes but to types of users. Some users prefer programmable interface. Some prefer button clicks. Error messages should be different, too.
This book introduced me to modern languages, from my previous experience coding in assembler. It inspired the millions of lines of code I've written since.

I now understand why my subsequent programs, and those of many in my generation, have been riddled with bugs for 3 decades.
Theres an analysis of his deconstruction here:

http://functional-orbitz.blogspot.se/2013/01/deconstructing-...
1 mg is an insane dosis. No wonder you had to endure that shit.

A study suggests that doses as low as 0.25-0.4 mg/kg are sufficient: http://onlinelibrary.wiley.com/doi/10.1111/j.1365-2133.2010.....