skysight-inc/HackerNews huggingface dataset:
My guess would be that most factories in Java are just very thin wrapper that do "if this return new A(); if that return new B();". This just doesn't need to be done explicitly in a dynamic language. Instead of creating a factory you could pass the class itself as an argument. In Python class is also a factory of its own instances, so the whole reason for wrapping it into another object disappears.

And if you do want some logic in the factory, you can just create one without changing the interface. Callee doesn't care when calling x() whether x is a type, factory, or something else. As long as it returns an instance, everyone is happy. (that makes factories disappear from the signatures)
I did the concept work, but the guys at makegamewith.us provided the artist.
Thanks, I appreciate the kind remarks.
Its also worth saying not to run your generator in doors and not even in the garage. People die every year in Florida from Carbon-monoxide poisoning this way.

(at least every year there is a hurricane).

It is probably less of an issue up north since people are probably leaving their windows open rather than having them shut and the AC on, but it is worth repeating.
Looks good, congrats and keep it up.
Cool. I'll give Heroku's guides another look this weekend. Thanks for the write-up.
Actually Zope.interfaces for Python are more popular than I expected. Not sure how I feel about it really. They're both annoying and useful.
Build quality issues were rampant when the device was introduced. I had to swap out my Nexus 7 twice because of loose-screen / screen-flicker issues. I did order it the day it was released, so maybe there were some unresolved factory quality control issues at the time.

My current unit has a speck of dirt trapped under the screen, but I don't really care that much anymore given that the thing was $199. You'd be a lot less annoyed about a rattle in the dashboard on a new Corolla than you would if you bought a BMW.

Battery life during use is generally good, but the battery in mine dies completely after ~4 days of non-use. Stock install, nothing but my Google account signed in. I'm not sure if it's a hardware issue, but reinstalling the OS hasn't fixed it.
Ok, I understand that you don't use callbacks. But you forgot to mention what you use instead of them, in situations such as described in the article. Polling?
Good work, I'm jealous; I wish I was doing things like that when I was 14.
Help EFF Make Case For No Copryight on APIs
Here's a perspective that is not from ignorance: http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom...
In Ruby, we often use the middleware pattern (the rack stack, sidekiq or faraday to name a few).

In the article, replace "Factory" with "Middleware" and "apply" with "call" and it's just like what we do in the ruby community.
C++ coming back into the mainstream with more specs, more often
It's price based on what the market will bear.

A number of factors determine that:(1) the therapy helps patients a great deal (no other way to treat and the disease is fatal) (2) the patient population is small, so even at $250k per year, the total cost is low since so few patients exist

Keep in mind that development costs are still in the 100s of millions of dollars. If the total world population of these patients is only a few hundred, how much do you need to charge to cover your developments costs (even if you assume $0 profit)?
Great stuff. How did you find MakeGamesWithUs? I know a few people your age who want to learn Objective-C etc. would you recommend this route for them?
Thanks, I greatly appreciate the link! The deadlock scenario does not look good, however I think it won't be a problem in this particular application. But since a single server easily handles the load, I will definitely take the safe route and not split the writes, and just use the other db nodes as failover and for reading.

I was initially set on using NDB cluster to provide failover, but the table constraints (tables can't be too wide) means that there would have to be code changes. I recently set up and tried Galera, and everything "just worked". The application currently uses standard MySQL 5 with Innodb, and going with Galera would mean that no code change would be necessary.

It just sounded too good to be true though, so I just wanted to know that people actually use this in production. The application handles payments, so corrupted or rows not committing on all nodes would be a huge problem.
Screw social media and get back to work
Google’s Lame Excuse for Not Offering LTE on Nexus 4
/r/startups /r/Entrepreneur /r/smallbusiness

... of course, you'll find plenty of reposts from HN.
Well that hasn't been our experience. We've dealt with many issues and we've had customers from 4.3 up to 6.0. Not to mention devices from 3GS and the original iPad up to the latest. I haven't done any Android applications yet but I can imagine it would be worse if you wanted to target a large base of users (I will be gaining that experience rather soon).
So I guess not many people have multiple emails. Hmmm
But the fact that the largest software company in the world is among them is what's notable.
People don't say that it's an advantage that Maps "runs on" Android. The way it's commonly discussed implies that to people, Maps is Android.
I disagree; there's nothing pure about Java as an OOP language. In an OOP language, as defined by Alan Kay - who coined the term and popularized the concept - the key characteristics are that everything is an object and objects send messages to each other, while hiding their own state. Classes are not fundamental, but if they exist, they must be objects themselves.

As for JavaScript, the fact that people tend to use sealed closures is not a defining characteristic, anymore than having final classes. JavaScript has Prototypes, and they can be extended just fine.

"[java]’s a pop culture. A commercial hit record for teenagers doesn’t have to have any particular musical merits."
I have no idea what that analogy is supposed to mean.
Should you follow the experts?
Hey, thanks. I was referred to MakeGamesWithUs by my cousin. I certainly would recommend this route; It's great to not have to worry about art and promotion while you learn, and to have someone to fix your horrible mistakes.
Facebook is down by Anonymous
Amazon profits: They don’t exist, but the company keeps on keeping on.
Do you really think that people are biased with respect to names, but then forget that bias as soon as the person enters the room?

Also, it's unclear to me why it might be better to be prejudiced against African-American names than against African-American skin tones. Your definition of racism appears to (a) include policies that disadvantage the dominant group (white people), even when motivated by a goal of correcting historical injustice and insufficient to undo their/our dominance, but to (b) exclude actions that disadvantage the historically oppressed group (Black people), even when motivated by prejudice, as long as that prejudice isn't explicitly based on skin color. Do you maybe want to reconsider?
Why is 50% unbelievable?

I have sent out newsletters for a non-profit for the last two years and their open rate is 40-60%. I assume its harder to "sell" corporate newsletters but 50% doesn't sound outrageous to me.
Rich Chinese want to buy happiness by emigrating
Pharma and medical devices should be directly funded by the State (just the research part I mean), just as we do with military research.

And the cost could be shared among the developed countries. And we could direct research towards causes and cures, instead of just treatments.

Drugs get made, researchers paid, companies compete on merit and enjoy a steady income instead on gambling on the next Viagra, we stop killing people in poor countries who can't afford monopolistic prices, and there is one less reason for having patents at all.
MyISAM is fast at reads. You can use innodb for the transactional, writeable master, and replicate to MyISAM for read-only slaves. This also gives you full-text search.
At the moment me and two fourth years are basically writing all the code for a single seater formula style electric race car. This means Motor controller, battery controller, HUD, sensors, telemetry and getting it all to communicate. (on the way having to learn a lot about control, signal processing and learning a new platform) Its by far the most complex system I've ever worked on and coming together really well - the guys I'm working with really know there shit.
How did you make game graphics?
I think the phrase "scientific understanding" is essentially qualitative, meaning that humans can disagree about what we "understand" and how "scientific" it is, and there's no objective way to adjudicate that fight.

How many physicists really believe they fully understand quantum mechanics? The theory is probablistic and strange but produces very accurate predictions.

The true measure of science is matching observations to hypotheses, and in that respect the approach that Norvig defends has demonstrated success. Google's language tools work well much of the time. Watson beat Ken Jennings.

Other branches of science are beginning to make more use of "big data" approaches as well. A friend doing post-doctoral research on evolution spends most of his time behind a laptop coding against big sets of digitized genetic information.
Or better yet, switch YouTube to the HTML5 player:

http://www.youtube.com/html5

One less site that needs Flash.
You might just consider setting up a dedicated slave MySQL database on a smaller instance in the west region just for the eventuality that you need to spin up a master there. Then you can just snapshot, copy to ephemeral, and go from there.
This is a gem to remember in the future (from the comments): "Design Patterns are for when you run out of language".
Facebook Employees Cash Out $3.1B
Sure it's Anonymous? Or some other reason, like the http://news.ycombinator.com/item?id=4731356 ?

(Edit: managed to make a typo)
Ubuntu Desktop 12.10 on VirtualBox with Guest Additions
To be honest, that's a tracking parameter, so I know where the clicks come from. You'd be surprised where HN percolates to! Maybe I should do a write-up on that.

The Icebox fiasco is the fact that for a pretty long time, Ice Box Pro allowed watching every user's complete credentials (including Amazon keys) via a simple change in the URL parameter.

You can read the details of the vulnerability here: http://blog.ryankearney.com/2012/10/never-give-your-informat...

However, much more telling is the story in the comments of the original IceBoxPro thread here: https://news.ycombinator.com/item?id=4619411
I think the comment you replied to is trying to point out that it's not representative of the millions of redditors out there.
I got the art through MakeGamesWithUs.
Well that's your problem - a psychological one, it seems to me.
"His successor has not yet been named, but already, observers online are calling for a female replacement. In the words of Wired reporter Steve Silberman, "It's been a boys' club for too long.""

Well, that gave me a laugh! Anyone else?

http://www.springerlink.com/content/vg7322727mgl1875/fulltex...
Seems good ;)
To be fair, some of us don't think musical notes should be copyrighted either. Or maybe it's just me.
They appear to have conducted these tests in 1Q12. The versions of MongoDB (2.0.5) and hbase (0.92) both date from then (MongoDB is now at 2.2.x, hbase 0.94.x).
Those are 1997 technologies, though. Have you looked at

- Play Framework http://www.playframework.org

- Jersey http://codahale.com/what-makes-jersey-interesting-parameter-...

- GWT https://developers.google.com/web-toolkit/
or

- Grails http://grails.org/products/ggts

for example?

Not saying any of these are perfect, but it's been 5+ years since anyone had to use JSP/Servlets/Struts.

edit: formatting
Is Facebook Making You Fat?
Angry much? Have you actually read Chomsky, or are you just taking snippets from Wikipedia pages and saying told-you-so? Perhaps you should try reading Manufacturing Consent, it's a very careful and thorough work of analysis and not nearly as bleedingly obvious as you try and portray it.

One point: Sampson's criticisms about linguists producing post-hoc descriptions could just as easily have been (and were, I believe) applied to Newton's theories. Good science includes mapping and describing phenomena.

Another point: negative feedback on errors is not enough to account for the explosive speed of language acquisition in children. Not to say that this sort of feedback doesn't occur, or isn't useful, but it only really is used when children learn exceptions (I.e. irregular verb forms in English) or vocabulary (and even much of vocabulary is rule-generated.) Basic language rules are encoded, and children's brains only require minimal stimulus to record the specific settings of the rules for the language they are learning.
That's great, art shouldn't be a bottleneck or discouraging when learning to program a game.
The "Summer of Worms", after Slammer, Blaster, and Welchia owned up some huge fraction of every Windows machine connected to the Internet, including large portions of the DoD. Microsoft's software security was repeatedly on the front page of CNN and the subject of Congressional hearings.
Then your slaves will lag really badly while the replication thread keeps stalling on table level locks.

InnoDB is faster at reads for most workloads on modern hardware. MyISAM has horrible scalability across multiple CPUs. MariaDB recently improved in MyISAM with the segmented key cache, but I haven't seen any results of head-to-head benchmarks since then.
They very much are, and have been, for awhile.
Great job. The world is your oyster. Keep learning and don't let anyone ever tell you something is impossible.
There are more eyes on the code too, though: virtually everything Microsoft ships gets a 3rd party review.
This is a nice article, but I think it really managed to miss the point that should be made. I always find it amazing how little power you actually need to live a near-normal life. With 0 power, you definitely notice it. Once you have enough power to cover some low level lighting and entertainment (perhaps a few hundred watts), the value of any additional power is greatly reduced.

The author is right in saying that they don't need a 23kW generator. They probably also don't need a 5kW generator. If they actually investigated the cause of the various power peaks, I bet they could disable or replace that usage with something else. A graph is nice, but a few labels ("this is where we turn the kettle on", "this is when we get home from work") would provide so much more information.

Just a little power management could probably cut peak power down to a couple of kW, and slightly more effort could get it lower still. Beyond heating (which is woefully inefficient if electrical), there's very little that a person (or family) need at any one time that draws above a kW.
I Didn’t Build This - Obama's "you didn’t build that" applies to startups
Medical devices are far more loosely regulated than pharma, and IMO a lot more innovative (maybe as a result of shorter development/trials cycle, easier testing, and thus lower capital requirements). You literally have hobbyists, garage entrepreneurs, etc. still, which is amazing (and a huge Israeli contribution).

Medical device development is so interdisciplinary that I have zero confidence in the government being able to staff/grant/etc. its development. The only people in government likely to create medical devices would be end users who happen to be hackers, or government employees (at places like NIST) who are technical, need the product personally, and end up developing it on their own as a side project.

Government-funded R&D might work for NIH style long term research which is very structured and well understood, but I think it would be horrible for "hacking", which is what medical device creation largely is. What is really needed for devices is a bunch of bootcamp type programs for non-biomedical engineers to learn about the process, and clinicians posting to the Internet with their problems with current systems. I think today one of the main ways developers find out is when they or a family member/friend goes in for a procedure and they see a need.
Who cares?

Maybe they look at the donation amounts every day and update a variable on that page. It's a simple solution that accomplishes their goal and doesn't require an expert to set up the JS socket needed to keep it live updated.

This link doesn't teach me anything interesting about startups, technology, or even the election for that matter. An elementary solution to a design problem on a politician's donation page doesn't impugn the politician in the slightest.

Whether or not your for or against a particular candidate isn't my concern, but this seems like you're trying to create a political scandal over nothing in an entirely inappropriate venue.
> iOS has no fragmentation

iOS is fragmentation. Android exists because 10 years ago, every mobile vendor was making his own incompatible operating system. So a developer had to make 300 different versions of his app to reach his audience. That was impossible, so there was no market for mobile apps.

Today, there are still 300 different devices, and maybe a 100 different operating systems. But because ~95 of these are based on Android, you can write a single cross-platform software that runs on all these systems. Android was build to defragment the market, and it was a huge success.

It might not work perfectly, but adapting your App to some strange behavior in some fancy Android device is still a lot less work than making a whole new app from scratch!

The only interesting OSes that you have to write everything from scratch for today are iOS and Windows Phone. These two systems are, unlike all the others, not compatible with each other and require a significant amount of extra work. And that is called fragmentation.
This is another property owned by LaunchBit, but perhaps this is what you're looking for: http://www.newsletterdirectory.co/directory/

It can help you find lists to get in touch with.
The problem mostly isn't the runtime itself, but instead the various 3rd party modules (all of which are written in late-90's-era C/C++) that get hooked up to the JVM. For instance, the Quicktime API for Java exposed scalar integers, intended to be "opaque", but in fact raw memory locations.

The JVM is good. The Java Applet Plugin, on the other hand, is a problem.
The iPhone 5 is $649 unsubsidized, not $699. Other features aside (some of which it lacks compared to Nexus), it does have an LTE radio and works on, say, Verizon.

Source: Someone who just paid full boat for a 5 after my Droid Charge was destroyed. At least I still have my unlimited data and subsidy coming up next year.
Early Windows 8 Adoption 5X Slower than Windows 7
I've done both. Me and my wife did a very similar trip in 2007 - 19 cities in 45 days, carrying DLSRs. I spent a huge amount of time taking pictures (~2500) which I still haven't managed to tag and organize 6 years later.

Just last month I went to LXJS and extended my stay into a month-long trip, carrying a DSLR and and iPhone. I rarely took the camera out of my bag, and shot maybe 500 pictures total, most of those using the iPhone.

Aside the fact that the phone actually takes better pictures in low light than my professional 3-year-old DSLR, I couldn't bother to use the camera for a couple reasons: 1) more hand work 2) a bit more difficult to share; taking SD card out, importing to the iPad 3) 90% of the time someone has already taken a nicer picture of whatever I'm looking at.

I had 3G for almost the whole trip, used Foursquare, Facebook, Path, Twitter and Skype a lot, and don't feel that this has taken out anything from the experience. In fact I believe I spent less time overall messing with tech than when I was intent on doing photography, and being able to effortlessly keep in touch both with my family at home and people I met along the way was really nice.
> The back traces half the lead you now-where.

Yes. This can be solved by maintaining your own backtrace of callbacks (say, as part of your request object/structure), but it's really something that should be implemented in the language or framework.
Indeed. I can't imagine saying, "this company has far too many white people for far too long! We have to market ourselves to African Americans, Latinos, and Asians!"
As a fellow teenager who is also programming, this is great! I'm glad that there are sites like MakeGamesWithUs that are encouraging our generation to do this sort of thing. Really, great job!
Sounds to me like people are more real on Facebook than in the heavily self-censored in-person environment. Unless they're trolling, I suppose.
Help a hacker out (take over my leased Fusion Sport AWD)
Hey all, I was trying to get out of a lease on my 2011 Ford Fusion Sport AWD to get into a Focus ST (can't quit those hot hatches...), but the dealer was playing some games so I am left to try and find someone else interested in taking over my lease. I'm in the New England area, so if you're looking for a nice All Wheel drive car, with payments at $432/mo for the next 15 months (afterwards buy out if $17,600), check it out:

http://www.swapalease.com/lease/details/default.aspx?salid=748974
I don't trust Net Application's data. They always seem to show either IE or iOS mobile share being much, much larger than what the numbers of those devices would suggest.
Hurricane Sandy Response Imagery Viewer
".....and got this idea that the value of a moment is directly proportional to the number of likes it receives."

LOL I cannot agree more to this.
This again? Ridiculous.
Was your story really boring?

Being forced to listen to a long boring story is painful.
Sorry, but what do stars have to do with it? That's like saying DuckDuckGo should be allowed to rename itself as Google if they become more popular than Google. https://github.com/caolan/async had zero stars (i.e. didn't exist) back when I released async.js.
No, you're probably not the only person. It doesn't mean you're not different from OP (and many others) in that regard.
My best guess would be object-oriented in the Smalltalk/Self/etc. sense as other posters have alluded to. It's a hard distinction to understand/qualify. Jim Copelien gave a keynote at SPLASH this year about this distinction that left many people confused, but the big takeaway seemed to be that people limit the expressiveness of real object-orientation by instead focusing on classes and prototypes and whatnot. What he sees as a potential embodiment of real object-orientation (together with Trygve Reenskaug, inventor of MVC) is a paradigm they are calling DCI (Data, context, integeration).http://en.wikipedia.org/wiki/Data,_Context,_and_Interaction
I would respectfully disagree with this comment.

I have heard this argument made many times before but the fact is you just had to work harder to have a "social life" before facebook. That is what made relationships feel more meaningful back in the presocial network days, because they where more meaningful (and you had less of them).

Commenting on a photo of your friend's newborn is not equal to paying a visit to hold the baby while the mother takes a long bath and the father drinks a much needed beer. And in the end that comment will be about as memorable as the effort put into it.

Back in the late 90s, nobody had 200 friends. People had small groups of tight-nit friends with whom they shared REAL experiences. One did not need a host of software applications to tell you what their friends where up to because they where there with them when it happened.

Here is the test I apply... if I'm not willing to take the time to call someone up and invite them over for a beer, perhaps they are not really friends so much as an entity relationship in some corporations database.

Personally, I log into my facebook account about once every 4 months just to see what I'm missing. Let me tell you, I'm not missing much.