skysight-inc/HackerNews huggingface dataset:
I wonder what kind of future expect the late entrants FirefoxOS and Ubuntu. I wish success for both. The challenge is big. They lack the momentum and big pockets of established rivals, Apple, Google and Microsoft. But there are some interesting factors that would be in their favor.

First are the apps. As for Ubuntu, developers love Linux. That would help to get apps ported. Plus Ubuntu have the recently introduced webapps integration, that provides unity integration for selected webapps. I expect that they will improve this feature, and include more apps. Then there is the choice of QT as the UI toolkit. This is a good choice, because QT is proven and has a big community of developers.

Meanwhile FirefoxOS relies on the traditional web platform, a popular and accessible environment for developers, that is currently improving relatively fast. The web, enhanced with the mobile APIs that Mozilla is working on, is probably enough for almost all productivity apps. And with webGL, it is becoming good for decent gaming. Web development has the advantage of being portable across platforms. That lower costs. And it is relatively easier and cheaper to find developers for it. These are facts that should not be ignored.

So both Ubuntu and FirefoxOS, are offering an attractive development proposition. From a pure development standpoint, I much rather prefer both Ubuntu and FirefoxOS alternatives, than Android Java or Apple objetiveC.

There is a strategical factor: Android device manufacturers fear Google. It is the most powerful web company in the world, controls Android, and also owns Motorola. So it competes with device manufacturers. That is too much power. And who knows if it decides to become like Apple at some point. So device manufactures, should be open to examine alternatives, as a countermeasure against Google excessive power.
Both Ubuntu and Mozilla are solid software companies, that seems unthinkable to become device manufactures.

As for windows, I can imagine device manufactures waking up from nightmares, screaming at midnight. Dreaming about a mobile world dominated by Microsoft, where they would have to pay a big fee for each windows license, out of their thin margins. It is also relevant the interest of big third-parties. Big players like Facebook and Amazon, would feel more comfortable, if their apps were running on OSs not property of their rivals, Google, Apple and Microsoft. Where these could implement strategies, to undermine the former.

Linux as a gaming platform is on the rise. Steam, the Ouya, Nvidia project shield, etc. There are more incentives to consider games for Linux. Making porting to Ubuntu mobile easier and more enticing. And webGL appears poised for a brilliant future. So both FirefoxOS and Ubuntu could be good gaming platforms.

I hope that with the help of these factors, they at least can establish a sustainable presence on the market, and are able to build from there. I would be happier with a world where open OSs are present on the mobile market.
Animated CSS3 image captions using the backface-visibility property
Well, the first thing everyone does is google for Denise Milani ...
Is my thought that complicated it needs additional explanation?

By the way, I'm an expert C/C++ programmer, so my opinion matters.
SXSW 2013 in 2 minutes
>"Most marketing around you is perfectly ethical with no desire to trick you into buying things you don't want"

Disagree. Banks, housing, car leases, cell phone service, Comcast, etc are all doing this kind of stuff or worse (just charging you fees that you "agreed" to in some 20-page ToS somewhere).

Repeat after me: "The purpose of a corporation is to increase shareholder value."

If it can be done ~legally with the gains outweighing the bad PR / marketing effort regression, it will most likely be done. "That just makes business sense!".

You are not legally required to be a good guy, and good luck getting rich not being the tiniest bit evil.
There's a somewhat different risk profile in these models than with a collection of a dozen sole proprietorships, though. Some ways better, some ways worse. I'm interested in a model along those lines myself, if I can find the right collection of people, as a way of trading away some upside gains (if I have a huge hit, we all benefit instead of just me) for some downside protection (as long as some subset of us is, on average, doing ok, we all can eat & pay rent).
I think he is mocking the general pattern of over-engineering and PHP just happens to be the language he wrote this in.

At least PHP is not a language known for massive over-engineering. Usually people associate the exact contrary with PHP.

But there is indeed a recent trend towards better object oriented designs in PHP and with it comes also more over-engineered code. But I have yet to see any Java-style absurdity. Maybe we'll still get to that ;)
No, you could do this in any OO language. The author is just being silly.
We were trying to build on a scale Flash just couldn't handle well, so in that sense, yes, we made a poor decision in going with the platform. But it looked good from the start, it was only after scaling that we ran into issues.
Spot on.

People do not realize that in some countries virtually all the citizen are carrying a Java SmartCard on them at all time (either an ID card or a medical security card). People do not realize that there are billions of devices running Java (like TV decoders) and that Java is even officially part of some specs (e.g. you cannot have a Blu-Ray player without having Java). In addition to basically power the entire banking infrastructure (it's damn near close to impossible to make an electronic payment without having Java involved in the process) and pretty much the entire corporate world, Java also powers a gigantic number of high-target websites (like eBay and FedEx).

And even in browsers, without needing applets, Java is also used to generate JavaScript (GWT and ClojureScript being to examples -- at this point ClojureScript still needs the JVM to compile to JavaScript).

And Android, of course.

Java is going to dwarf COBOL's legacy. Big times.

The real sadness here is that the writing was on the wall: any knowledgeable Java programmer knew, 15 years ago, that Java applets were an insecure piece of excremental technology.

You don't know how many time I've vomited on Java applet in Usenet's comp.lang.java.programmer years ago, saying how big of a mistake and loss of energy it was... Only to have the likes of Jon Skeet and Roedy Green defending Java applets tooth and nail.
As a general rule, almost nothing "FREE!" ever is in the strictest sense of the word.
Well, to be fair, I think the answer is essentially, "if you do not know why you need it, then you probably do not need it." This is true for pretty much everything on your computer.
Reminds me of something I wrote a few months ago on how to detect negative numbers: http://stackoverflow.com/a/11910993/1329367 but obviously the one above has much more value add and follows better design patterns.
My comments about Xcode were uninformed, based only on the fact that I don't run into tons of complains about it. The only time I fired Xcode to compile a project, it took me quite a bit of time to figure out where it places the compiled files. But I categorized that as "I'm a newbie. I don't know where to look"
the exaple which is in the presentation, and which I exprienced many times, is way more evil: you don't have an insurance selected by default, you select "no insurance" which is alfabetically sorted, so somewhere between latvia and norway, and when you get something wrong you get sent back to the page with everything unchanged _except_ for the insurance bit, which defaults to your country now.
Ryanair is pure evil, and yet I fly with it more often thn other companies because it's still way cheaper.
Pacemaker/Corosync functionally replace all of the alternatives discussed.
The addition operator takes a collection of numbers, and add the first two? Given the lack of documentation, I find this extremely misleading and I couldn't recommend this library.
An example is pretty good, but I am not sure about scalability and load balancers.
The purpose of

int foo(int x[static 10])

is not to produce a warning - that's just a nice possible side-effect (and only in some cases).

The real purpose is to allow the compiler to optimise the compilation of the foo() function itself, under the assumption that x will always point to the first element of an array of at least 10 elements.
Oh, did someone port Twisted to PHP?
> Does he or she feel like that's a problem in the PHP ecosystem?

Well, I can't talk for the author, but there is some over-egineering going on in the ecosystem, that's undeniable. I think that since the reputation of the language is low, there's this need to make sure the code doesn't look amateur, which ultimately drives overusing classes and OOP design patterns for the sake of using them.
Winning Submissions For Fiber Mobile App Idea Contest
I suspect that you're right. I registered with Facebook very soon after it launched at Harvard and I remember it being a cool thing my classmates and I could use to make plans for the weekend and then share the events of that weekend. When Facebook started allowing high school students and then anyone use the site it changed how we used it. We were disappointed because we were supposed to be away at college and now it was like our entire family was right there with us. Surely some people would still like to have that privacy.

Yes, you can not friend your family members or add restrictions to what they can see. But if other families are like mine (large and nosy) this can cause quite a bit of consternation.
In London? See some Banksy for £7.20.
Ask HN: How does a beginner navigate the JavaScript MVC jungle?
HN, I am an average programmer. When I have time outside my day-to-day occupation, I develop webapps on the side. I usually develop in some combination of JavaScript, jQuery, PHP, and SQL.

I want to move over to some dedicated JavaScript solution (using the MVC architecture pattern). I've been meaning to do so for a while, and over that time I have read a number of introductions to the various frameworks, i.e., Backbone, Angular, Meteor. And have a passing acquaintance with a few.

But now that I want to develop a new product, I don't where to start with this fragmented JavaScript jungle. Do you have advice on:

(1) The best MVC for beginners;

(2) The best place to start with databases;

(3) Essential reading;

(4) General information/advice.
Just like everything else programming languages have evolved. From Assembly to Fortran to C to Java/C# (just saying, no exact sequence implied). I dont think the languages we have now, far from perfection they may be, would have been possible without the "dark corners" in the older languages. We learnt from them and made better languages. So I say show respect to the old languages, learn from them and keep improving languages/tools... Everybody is happy.
The standard library is part of the language - all hosted implementations must provide it.

This allows, for example, compilers to replace a `memcpy()` call that has a constant size argument with direct loads/stores.
1Password is cross-platform in the sense that it works on Windows, OS X and mobile phones but it doesn't support Linux.

Since I need Linux support I use KeePass 1.x [1] on Windows and KeePassX [2] on Linux and Mac OS X. Both versions are free software. They store password entries in a single AES-encrypted container, use in-RAM encryption and allow you to attach a file with arbitrary binary data to each password entry (handy for key files). While there is no single Firefox extension that works across all the platforms they both can emulate typing for password entry. For synchronization I keep the encrypted password file in my Dropbox. If your use case is similar to mine I can highly recommend this solution because it behaves consistently across the platforms I've tried it on [3]. There's also KeePassDroid for Android that supposedly works well with Dropbox but I haven't used it.

[1] http://keepass.info/

[2] https://www.keepassx.org/

[3] The most exotic one being Debian PPC. Sadly, it didn't last since while KeePassX worked fine on it there was no straightforward way to get Dropbox running on non-x86 Linux and using a workaround like rsyncing with an x86 Linux machine running Dropbox or a VM introduced a large extra breaking point to the system.
Ask HN: from London to San Francisco - advice 
We're a London based real-estate start-up called Wigwamm. Our product is an auction for rental property. Play here (http://old.wigwamm.com) and read more about us here (http://wigwamm.co.uk).

We're heading to San Francisco at the end of April for Reesio's RealTech SF conference.

Would really appreciate advice on meetups, where to go to make the best use of our time.

If there are any hackers working on real estate or using Meteor.js, would love to link up.

We're the antithesis of a stealth start-up, as we believe only be sharing widely do we learn and test our assumptions and execution.

In advance, thanks for any help/tips/advice.

Rayhan
Tell this to somebody who doesn't know what kernel is for.

Your computer contains lots of stuff you use daily without being aware of it.
Feels a bit like lowballing.
I think this has potential to scale, but you'd probably need to throw in more servers if you plan to handle more than few hundreds of additions per second.
Come on, you're going to write a remedial MongoDB article and not even talk about the impact of indexing, the behavior of compound indexes, or the interaction with mechanisms like the $or clause on sorts?

Weak traffic play spam, and flagged as such.
"when good developers are driven away by a lousy technology stack".

This fear of JavaScript and a web stack says a lot more about you than the technologies. There are a huge number of good developers creating great software with these languages. Coming from a Java and C# background, learning JavaScript has been a real joy and made me a much better developer.

In my experience, the best developers become productive in new languages very quickly.
I like the one that Flickr (Yahoo) is now using where you can "log in with Facebook!" only to have it take you to a page where you still must have a Yahoo ID to continue.

I took some screenshots of the process: http://imgur.com/a/TPdYb

Yahoo ID registration requires your DOB, full name, gender (of which only M/F are options), and postal code. Mobile phone / alt e-mail are the only non-required fields in the screenshots I linked.
Don't you think that, when it comes to OOP features, PHP recklessly introduced lots of Javaisms which lose lot of sense when applied to a dynamically typed language? I believe the author had exactly that in mind.
I was on Windows while I saw this ... and took a few googling to find out what goes where to get it working in gVim (which I hardly use).

- "autoload" and "bundles" from "vim" folder in the downloaded archive should go inside "C:\Program Files (x86)\Vim\vimfiles"

- rename the _vimrc in in "C:\Program Files (x86)\Vim" as _vimrc.old

- copy the vimrc from the downloaded archive as _vimrc into "C:\Program Files (x86)\Vim"
This is so funny. The author's description is great on github, really fooling you at times. Even if this isn't intended as a joke, the dedication to doing something fun to prove a point got me thinking about over engineering design patterns too.
Meh; it's just "begging the question" (the popular use of the phrase, not the pedantic "correct" use of the phrase [quotes because language evolves IMO] http://en.wikipedia.org/wiki/Begging_the_question -- more info if you're interested)
Solar Cells May Supplement Smartphone Batteries
> Consumers want their apps.

Which is all the more reason to build above the walls that currently surround mobile platforms.
I guess people disclose enough vulns voluntarily that they don't need to offer a bounty as an incentive.
No, but it has a bunch of kitchensnk_ functions in the kitchensnk extension.
تحميل حلقة ون بيس 587
Oh come on, PHP is a dynamically typed language. That's the trade.
no, soon we will find ways to travel to the next lemon tree (again limiting factor is smart people's time). We will experience a renaissance like we did when the New World was discovered and explored.
What about subtraction now?
>"got me thinking about over engineering design patterns too."

Relevant:
http://me.veekun.com/blog/2013/03/03/the-controller-pattern-...
(by the same dude who wrote "PHP: A Fractal of Bad Design", no less)
Charlie: Ray, all airlines have crashed at one time or another, that doesn't mean that they are not safe.

Raymond: Qantas. Qantas never crashed.

Charlie: Qantas?

Raymond: Never crashed.

Charlie: Oh that's gonna do me a lot of good because Qantas doesn't fly to Los Angeles out of Cincinnati, you have to get to Melbourne! Melbourne, Australia in order to get the plane that flies to Los Angeles!

http://www.imdb.com/title/tt0095953/quotes
or have it run every time you save a file
"TV decoders" written in Java?

edit: thanks for the info, repliers.
Starterpad.com - It is a great place to find co-founder for your startup
With this site I was able to find my technical co-founder! :)
Here you go: http://j-node.homeip.net/wfb/research%20archive/psi/schmidt_...

On a side note, Jessica Utts is wonderful.
I actually did my undergraduate thesis on this, but didn't find a significant effect (there was an effect, but the study was underpowered).
It's necessarily a bad question, it makes you think about how parsers work.

But for an entrance exam, it's slightly hardcore :)
Exciting stuff! The real time "no I want this one" app I think would be extremely useful.
Not to forget #define struct union which will pack all struct members together. Gives me chills even to think about it...
7 Reasons Why Startup CFOs Become CEO Candidates
That'd probably require a separate extension, but it's feasible.
SaaS Startup in the Fitness Industry For Sale
congrats on cloning simcity.
What if I need to add 2 and 1? Is there a lib for that? Or would this one need to be completely refactored?

Also, in what version could we expect ability to handle 2 digit (or more!) numbers?
(sysadmin here)

I'd totally get rid of Java is so many pieces of hardware didn't have it as their primary user interface. Most equipment in the 2000-2007 range expects to load a Java app in a browser.

I have HP and Canon Printers, HP and Qlogic network gear, etc. that all requires Java, in a browser, for at least some of their functionality. There's simply no way around this.

The alternate CLI interface on many devices frequently is frustrating - unable to set all features (frequently it's just the network settings), no readline style command line editing support, frequently won't even let you backspace!

That said, I shouldn't complain too much. Some gear tried HTML interfaces before they were ready, and as a result only work properly in IE6 (Cisco/Linksys SRWxxxx, I'm looking at you).
Oh, I don't "fear" JavaScript. It's quite the opposite situation. I have many years of experience with it, from using it with Netscape Enterprise Server in the 1990s, to browser-based development, to more recent server-side development.

Luckily, I also have many years of experience with many other programming languages and platforms. I can see quite easily how poorly JavaScript stacks up against them.

As an industry, we can do better. We have done better. It's not encouraging to see Firefox OS limit itself to the worst options available, when so much better could be done.
> Consumers don't care about technology ideology. Native vs web, NOBODY CARES!

You are absolutely correct. And when they sell these for $50 a pop in Africa, South East Asia and Brazil people will be happy they didn't have to buy the $600 iPhone or Android.

These devices aren't even schedules to arrive in the US till mid to late 2014. And by the time they do they may have a strong enough foothold with developers and existing websites to have leverage with the US carriers.
I was in Singapore and now I'm living in HK. Reading that SG has higher density than HK made was surprising, because here in HK there are so many needle-like apartment buildings, but I didn't see that so much in SG.

I think the reason is that HK does have bigger area than SG but actually far less land is being used in HK (many hills), so practically speaking, the density is higher in HK :)
Hah. I thought the article was about cleaning harddrives :D
In this case it isn't so weird, since PHP pre 5.3 didn't have first class functions. To pass a function around, you would use a variable containing a string of it's name.

create_function was a way to

A) not having to define a function separately

B) not getting problems with the function being re-defined, since each call would create a new function

C) fake closures by generating code.

All this should be moot points by now, since PHP has real anonymous functions with closures,
Reddit's Victim Complex
Privacy Zuckering -- so perfect that it doesnt need an example.
Netflix changes its public API program by ending it
What? No dependency injection framework? Pft! :)
I had a feeling I would get that counter point. I would presume that folks can educate themselves on things. I realize that is an optimistic stance that is not shared by the majority around here.
One of the uses is to prevent piracy. If computation is offloaded to the server, writing a crack means reimplementing part of the game.
I've not noticed any correlation either. If it's actually useful, which it may be, the degree of usefulness seems to be slight enough that it just gets lost in the noise.

I guess people like this stuff because it's easy to check for, and easy to explain, and everybody's been annoyed by inconsistent code layout before, to one extent or another, so it can be an easy sell. It might also function as starter rules, getting a wayward team used to the simple idea of all working the same way, something that can be further extended in the future with more rigorous rule sets.

It must be something like that, anyway, because I have to say that it doesn't seem to do anything for the actual quality of the code. I've torn my hair out in frustration over beautifully consistent code just as much as I have over the stuff that looks like a test case for a C parser - and it's precious little consolation if the stupid braces are in the same place on every line.
Don't see why this is getting downvoted.

There is an online component, but from what I've read about the game it's probably fair to say that most people will focus most of their time on the single player experience.
Bowker's 12,500% ISBN markup for new authors
Not only SimCity servers are overloaded, but the game itself is mediocre.
That Bash script looks a little irky…just imagine more than one level of directories, and `` is both none-portable and overly ugly, at least compared with $()…not to mention that Shell expansion (for i in $basedir/⁕.{c,h}) should work equally well :)

Anyway, I would rather suggest something like:

find . \( -name '*.c' -o -name '*.h' \) -exec printf "Doing Stuff on {}\n" \; -exec head -n 1 {} \;
You have to have a sick mind to come up with something like that, I salute you sir.
You'd want to store them in the blobstore (5GB free storage) [0]. Note that you are not allowed to create multiple GAE apps to stack free quotas (n apps = n * 5GB free blobstore storage) [1].

[0] https://developers.google.com/appengine/docs/quotas#Blobstor...

[1] "4.3 Restrictions. Customer will not, and will not allow third parties under its control to: " ... "(e) create multiple Applications or Accounts to simulate or act as a single Application or Account (respectively) or otherwise access the Service in a manner intended to avoid incurring Fees;" https://developers.google.com/appengine/terms scroll down to 4.3(e)
The preprocessor is a part of the standardized translation process, and if the standard says that certain things are not allowed in a well-formed C program, it does not matter at which stage the compiler is.
> Does anyone know of a cheap service

AppEngine would do this for free.