skysight-inc/HackerNews huggingface dataset:
Mine too. I pointed out the Friends stuff last time we were in the Lego store, and they were unimpressed.
I don't want to play code golf with you, because I think your point is generally valid, but you can happily and idiomatically reduce the Java method itself to 10 lines with some sympathetic scaffolding from the other classes (this is actually how a lot of code in our game is implemented rather than some theoretical optimum):

public class Student implements Comparable<Student> {
@NotNull public List<Test> getTests() { ... }
@NotNull public String getLastName() { ... }
@Override public int compareTo(Student that) {
return getLastName().compareTo(that.getLastName());
}
}

List<Student> studentsWhoHaveNotTakenAtLeastOneTest() {
TreeSet<Student> studentsMissingAtLeastOneTest = new TreeSet<Student>();

for(Student student : getStudents()) {
boolean allTestsWereTaken = true;
for(Test test : student.getTests()) {
allTestsWereTaken &= test.isTaken();
}

if (!allTestsWereTaken) {
studentsMissingAtLeastOneTest.add(student);
}
}

return new ArrayList<Student>(studentsMissingAtLeastOneTest);
}

The point I'm (perhaps ineptly) making is not that Java isn't all that verbose (because it obviously is) - rather it's that you don't get much of a stack of abstraction by default. If you don't take the time to implement that abstraction, you're going to have a bad time, but if you do, it's not appalling.
Ask HN: Am I the only one thinking that CodeCanyon's rates are unfair?
I never used CodeCanyon before, so I was browsing their site, and looked at their payment rates.

http://codecanyon.net/make_money/payment_rates

They take 50% of each sale if you are an exclusive author (but they lower this rate as your sale volume increases) and 67% for non-exclusives author.

I always thought that Google and Apple market's rates were high (30% of each app sale, if I remember correctly), but they did a huge work builting an entire ecosystem of mobile devices, so that sounds fair to me.

But 67%! It's really bugging me. What service do they provide is worth so much? Does anybody already used CodeCanyon successfuly?
of course - the alternative is to not share anything. With the data you have on your users, once you can isolate users who consistently come up with strategies that consistently make money after their creation date - well, you might as well set up a hedge fund on the side and give the product away for free.
The neighborhood I live in exists since 1999, I live there since 2007 and the street name is still missing. I've submitted numerous requests, and none made it through.
> And guess who needs untraceable shell companies? Patent trolls.

Why is that?
Today's first-world sub-economy is not limited by total energy output, but by consumer demand and private credit. Furthermore, production of high-energy products would be moved towards underdeveloped countries that aren't on the Annex I of the Kyoto Protocol: that is, countries that don't have any restrictions yet on their maximum CO2 output.

Yeah, non-Annex I countries would be screwed if they tried to export energy to developed countries. That could be one way it could backfire, I guess. Given our demand for petrol, the upcoming demand for coal in under-developed countries once we move our primary and secondary economies there, and the traditional "resource curse", I would argue they should worry about other, more interesting things, like corruption.

You don't convince me. Also, please explain what this "net creation of poverty" means.
"Of course even if the global warming is all natural one could still ask if we should try to stop it, that is another matter."

... or can we even stop it? As you noted, the earth was cycling through warm and cold periods well before humans could have an effect. Can we stop that if we want to? Or maybe we slow it imperceptibly? I tend to think we need to consider how we'll live "with" global warming. And perhaps how we'll live during the next ice age as well?
This seems to be a problem of "too much theory, too little data".
Jobs didn't exactly lack "cajones" but there were other approaches than just "no maps at all"

- try to make the deal with Google happen; Apple has so much money it's hard to understand why they couldn't buy their way into Google Maps for another year or two

- make a deal with someone else (Microsoft / Bing Maps, other map provider) while still working on their own, in-house solution

It's great that Apple decided to build its own map system; the problem is they released it when it was far from ready; Apple didn't use to present half-baked products to the world.
It might just be me, but I find it confusing that the upgrade statement says "a one-time payment of $39" and then the first checkbox says "3 months of access".

Does this mean I pay $39 every quarter to continue access? In which case why is it a one-time payment?
It's not the client application that's the root cause of this, it's poor data. It will take more than 6 iOS developers to fix that.
Of course, we have no idea if it would have worked, since it was pulled so quickly. I think it would have.
To be fair, this is really a tiny issue compared to them storing plaintext passwords server side as they were initially accused of doing. If you have access to a browser's local storage, you can also probably install a browser extension that key logs any password inputs. Or you can view all the browser's saved passwords. etc.
No but then you'll have nine babies in nine months.
Apple promises maps app will 'improve'
This is a part of the 2.x Spring framework that is used only when you need to use some fairly specific AOP functionality. Given its use is very rarely used by Spring apps I hardly think you can a. say this is a Java issue, or b. say this is even an issue with AOP IoC frameworks.

In fact, it was posted by someone who doesn't even know what it's used for. I've read the Spring 2.x manuals from cover to cover, and it's a necessary but esoteric part of the framework.
Hah, yeah, unfortunately the legal team at the incubator we're in suggests we might not survive too long as a company if we go down that route :)
I would humbly argue that most global warming articles - pro or con - are likely not good for this site, as it's one of those politicized, polarized debates that never really goes anywhere.
Sorry I should have found a source for you! It's pretty embarrassing for them too isn't it.
A friend's niece reports "LEGO Friends are too easy," but she's the kind of kid who builds the Grand Emporium all by herself.
I've actually been thinking about how to set up a shell corporation for a completely different reason. If the U.S. (where I currently live) fails, how do I operate a legitimate business? If I'm still living here, I should pay taxes here but if I choose to relocate, why should my entire financial infrastructure have to change?

On the other hand, if the economy fails it could very well take me with it ... I guess if I have to start over it doesn't matter where those accounts were.
>Crucial insight, there. From the perspective of an observer who has no special affection for Apple, it's surprising that a company of that competence would succumb to such a basic process error.

What insight?

Apple makes most of their stuff themselves -- or gets them from multiple sources.

Maps were an exception, as a key technology that was in the hands of a competitor.

But not because Apple could help it at the time: they made a foray into a new territory, mobile phones, and Google had all the available technology and was a non competitor at the time (the first Android phone was out a year later, Oct 2008).

It's a few years that they have already started the process of moving to something of their own. They bought some mapping companies, etc. Something forced their hands to make the switch before that was over.

In any case, you can't just jump over 8+ years of refinements that Google maps have (not to mention all the "driving endless miles for Google Street View and road info, etc).
Most major corporations don't allow more than a certain number of employees on the same flight with a lower limit for execs. The limit at my current employer is 16 employees and 4 execs. Pretty common policy for exactly this reason.
I wonder if this exploit can be used to jailbreak Iphone 5, untethered at least.. some previous, user-friendly online jailbreaks used .pdf vulnerabilities in Safari, but I am not sure if they used it with a combination of another privelege escalation exploit..
Other kings said I was daft to build a castle in a swamp, but I built it all the same, just to show 'em!
Working with Cookies in PHP
This is actually pretty neat, specifically the part about indexing the executables available in your path and turning them into macros. I was underwhelmed at first because I thought you manually implemented each program.

I can't really imagine a use case for this for me (bash! But with parens!) but still very neat idea and cool execution.
I think it'd be far quicker & cheaper to license street view data from Google, even if they start collecting their own in the background.

Google have spent many years perfecting the collection & analysis of the data, Maps needs fixing yesterday.
My Brush With a Patent Troll
Ha ha! One of the better variations on this oft misquoted old saying I have read.
actually, pallet's library stevedore offers the same kind of functionality and has had piping for a good while (as well as other typical constructs):

See: http://hugoduncan.org/post/2010/shell_scripting_in_clojure_w...

The project lives at: https://github.com/pallet/stevedore and is heavily used in pallet, clojure's configuration management and cloud control library
Grishin Invests $250,000 in Double Robotics' Telepresence Platform
Summary (page 1) - Whining that the politician's didn't do anything. When do they ever? And what did the author do to reduce his carbon footprint in the last 20 years? Is he better than the politicians? Perhaps the best way to reduce emissions would have been to not have everyone take a junket to Rio?

Anyway, this was too tiring to read in its entirety, so if someone would like to add summaries for the other pages, that would be great!
Yes, this, exactly. It's hardly a scientific topic anymore. Not that there wouldn't be any science involved but it's become increasingly hard to tell the science from the political scare mongering, which is why - for the time being - I try to dismiss it altogether until the dust has (finally) settled and we're presented with actual facts and objective articles.
I don't know what you've used for search and replace, but in some cases you have obscured the "saurik names" and left the "non-saurik names" as clear text. :)
It's not just anecdotal [1] (forgive the article for misspelling "light saber"). Toy companies have known this for some time. It's how they make money.

NPR had several interesting discussions regarding the controversy over girl-themed Legos, and gender in toys [2][3].

1: http://www.npr.org/templates/story/story.php?storyId=1457051...

2: http://www.npr.org/templates/story/story.php?storyId=1603654...

3: http://www.npr.org/2012/01/18/145397007/gender-controversy-s...
Choice blindness
Microsoft and HTC are trying to save the Windows Phone brand — from Nokia
Hacker news has throttled Rob's replying (too fast), he says:

Thanks for the great feedback. We've just pushed an update that tries to clarify by removing "One time payment" and removing the "every area of Quantblocks" language.

Thoughts?
In #22 you can see some people smiling. The one with the hat is certainly smiling.
Not to be confused with http://stevedore.readthedocs.org/en/latest/index.html which is part of the virtualenv (or virtualenvwrapper?) installation for Python.
That's true ... here in Pennsylvania we didn't have as many blazing hot days again this summer. Last winter was milder than many previous ones.

So from my perspective it seems like the temperature swings have less amplitude but are centered around the same bias as they always were.

Note ... My opinion only. No data was harmed (or even used) to substantiate my impression.
Didnt the old iOS app only use googles data? So, the features have always been in Apples hand.
I have a feeling that you have not and do not work on anything big or important. It's highly likely that you're still in high school OR you are in some sort of college / University.
It was much higher before, starting at 75%.
Maps is the only example that I can think of when compared head to head, Google makes better software. I hope people will continue to complain because it will force apple to get their shit together and put out a better product. Myapple maps experience is north compared with my Google maps , however, I haven't had any notable issues with apple amps in the Baltimore area.
It's really boring reading tech bloggers comment on hugely complex and expensive operations like mapping the entire earth. It takes a really long time, and Apple can't just throw money at it either.
Using GeoIP With Nginx On Ubuntu 12.04
Gestation time is not a "parallelizable" problem.

Fixing map data is.
? "xxx" and "lmrpq" (my failed attempt at "lmnop") are not the users' actual names. I know the names of the two users involved, and neither of them are present in the text. (I have also been sitting here re-reading the block over and over again, as I tend to do after I post any comment on HN for about ten minutes, looking for typos or other mistakes, and have not found any with respect to the name changes in that giant block of transcript.)

Maybe the format of a message is confusing? Each line is "timestamp <from> message", with the convention that people use a colon to do a targeted address; were I talking to you, the message might be "12:00:00 <saurik> blub: this is my message". HN then collapsed it to a single massive line, and I figured that the contents was sufficiently unimportant that that was better not to expand into an equally-massive vertical wall of text.
How to change the layout theme of an Android Application
That seems much clearer to me now! :)
The hold the funds until the funding round is over. If the goal is met, it's a success, otherwise it's a failure and everyone gets their money back. It'd be much harder to determine what exactly constitutes a "failure" of a project.
How to Create your own search engine with PHP and MySQL
iOS supports Server Sent Events, which is what should be used in this type of situation:

http://mobilehtml5.org/
I believe the 400 years is referring to Apple failing on basic principles of map making which have been around for a long time. Possibly a reference to "Nova totius Terrarum Orbis", a famous atlas from 1630?
Incredible CSS background patterns library
How exactly is economic development being denied?

Certainly China is not held back by concerns of CO2 emissions. Growth of coal fired power stations and the associated health impacts are well known. China also has the largest wind energy sector in the world.
Given that Spring is mostly used via annotations or config files, yes this is indeed useful. It helps to know what you are criticising before you show your ignorance.

A factory bean is a class that creates factories. You'll almost never need to create your own as you normally use the ones Spring provide for you. And with annotations, you'll likely never even notice them.

A proxy factory bean is used for Aspect Oriented Programming in the Spring framework. AOP is a fantastic way of doing OOP. Try reading up on it before you knock it. Spring uses AOP via proxies. By using proxies, you don't need to inject bytecode via CGLIB, which while a totally valid way of doing AOP, adds another dependency to your project which you may not want or even need.

Singletons are used by default by Spring, which is an IoC (Inversion Of Control) container. An IoC container is extremely useful as it fully decouples classes from one another - the container handles the coupling and you merely set things such as object creation up via annotations or configuration. One of the considerations needed to be taken into account when using Spring for object creation is to decide whether each object is created once and once only by the factory bean, or if multiple instances should be created. You usually use a singleton bean in Spring - otherwise you have to introduce tighter bean coupling with other beans, which kind of defeats the purpose of an IoC container.

A bean is a JavaBean, which is a very simple but powerful convention used to allow reusable components in Java.

So what does this do? It's a convenience class used to extend the Spring AOP framework should you need to do so without having to make changes within the Spring framework itself. Almost no application programmers will need to use it. However, if you have a very particular requirement for AOP proxy bean creation that is not currently handled by the Spring framework (unlikely) then you will indeed find it useful, and I dare say it is, indeed, convenient.

In short, ignorance is OK. But mocking something in ignorance is pretty foolish, and your foolishness is on full display here.

P.S. incidentally, Spring is now well past v2.5 and in fact the current version is 3.1.x. It helps to read the most up to date documentation when trying to understand something in a framework. The description of the class in the latest documentation now reads:

Convenient superclass for FactoryBean types that produce singleton-scoped
proxy objects

http://static.springsource.org/spring/docs/current/javadoc-a...
I'd argue that the right time to start writing Java EE applications is right now. With Java EE 6, JBoss AS 7 and frameworks such as Arquillian, Java EE is a pleasure to work with.
5) I'm terribly sorry you had a software failure and only had a single solitary backup of 8GB of your vital that was difficult to retrieve when Apple was clearly spiking 8 petabytes of traffic in one day.

Let me give another example where iCloud fails: iTunes in the Cloud and iTunes Match. I'm regularly unable to download or stream certain songs for days. I can play the rest of the album fine, but one or two songs, you cannot play nor download.

Sometimes, I cannot access my matched music at all. iTunes will do an iTunes Match update, which fails for some reason, and then suddenly all songs are greyed out. Usually, a match update will only succeed after a few hours of trying. During that time I can only play music that is locally available.

Match is a big mess and I will probably not renew it after a year.
Spotify open-sourced Luigi, batch job pipeline tool
I believe Aderkent meant that many web developers who are not designers (e.g. me) have no need of Photoshop - so we don't use a Mac.
1) Which companies succeeded at "getting social to work?" Facebook?

2) Okay. I've tried to buy large numbers of servers from Apple in the past. They really aren't server people, it's true. I was trying to buy these servers because I was working for a company whose primary business is searching through petabytes of data. Apple was and still is kicking the shit out of everyone with Spotlight.

3) I'm not saying there have never been bugs in any of Apple's data synchronization software, but Dropbox is the only company doing a better job.

4) I guess I don't realize who I'm talking to. Apple has a great reputation when it comes to malicious code. Until I finish posting this and get to researching your history, I'm going to assume you're behind jailbreakme, or similar. Thanks! Great job! Really, it's hard for me not to come off as hypocritical here, but that kind of work is incredibly valuable.

5) Eh, I have difficulty garnering sympathy for anyone complaining on IRC about ~160KB download speeds for downloading their personal backup from Apple while Apple is also distributing iOS6 binaries to at least 15 million devices or so (based on napkin math derived from here: http://allthingsd.com/20120920/usage-of-apples-ios-6-hits-st...)

You're not wrong about Apple's hubris in general. These are just bad examples.
I think that the point really is that Apple has been missing the mark in a lot of ways. That they create products that are half-baked or too buggy.

1) What about Ping was interesting? Though in general I think that it was an attempt that they didn't exactly bet the company on.

2,4,5) I agree with you

3) Implementing iCloud is really annoying. I tried for weeks and now I just think I won't bother. It was released for iOS 5 but an Apple Engineer told me not to implement iCloud+CoreData under 5.1.1. And iOS 6 introduces methods that are pretty much required anyway. So basically they introduced it while it was incomplete and buggy. It's frustrating for the user because no one is using this amazing feature and if they are...
As I mentioned above, I believe he's referring to the 400 year history of map making which Apple appears to have ignored, in part at least.
I think he means within a simulator
Your data is going to be insanely valuable if you can get good analysts working on your platform.

I was wondering if you could elaborate as to why they feel this way? I would love to know that the top X % of traders are willing to play with my money in a transparent manner.
Articles like this make me suspect that http://news.ycombinator.com/item?id=4367517 was an extremely accurate description of Apple's problems.

I wonder how long it will take for the outside world's expectations of Apple to drop to what they should be in the permanent absence of the gaze of Barad-dûr?
IPhone 5 Launch in peril over "13th Month" Pay dispute
Commercial systems operate under constraints that Linux didn't have until recently, such as needing to maintain backwards compatibility. This went all the way from not changing the interface for people who used workstations for highly skilled works but were not "geeks" (e.g. CAD guys), to sticking with old shells (e.g. Sun stuck with ksh long after Linux had bash). Witness the furore over the GNOME team changing things a couple of weeks ago...
Compile Vim With Ruby & Python Support on OS X
One thing Apple got right in iOS Maps (somehow)
Yes, and it also could have been avoided if everybody paid more attention to what is beneficial for them (i.e what the visionary said) than to what the visionary does or does not.

You just gave a perfect example of the narrow minded logic explained in the article, that cares not what is good for them to do, but if the guy that advocates it is "consistent".

Not to mention the other three paragraphs I quoted, that explain why "avoiding being hypocritical" is not always possible.

To put it in very crude way, if you see a beaten-down meth addict telling you "just say no to meth", I'd say DO listen to him, even if he's doing it.
Beautiful partial functions in CoffeeScript
Well, technically, it's not.

It's just a long commit message. Nothing's really 'epic' about it, beyond being rather informative.
I think in theory it can be stopped. For example isn't there something like thermonuclear winter that follows nuclear war? I guess from all the dust in the atmosphere reflecting the sunlight?

That is of course not a viable solution, it only shows that apparently man made mechanisms can both heat or cool the atmosphere.
If you didn't jailbreak beforehand and capture the SHSH blob, no, you can't. So for the vast majority of people who upgraded to iOS 6 there is no going back.

http://blog.iphone-dev.org/

That's the cost of being inside a walled garden. You don't even have the freedom to install previous firmwares on your device.

But since the browser is part of a firmware upgrade it would be a terrible idea anyway, a new security bug has been found on mobile safari recently, you don't want to stay on older fimrwares if you can help it. Google maps, or a secure browser ? Pick one.
CSS background patterns library. I've tried to create more CSS background patterns not included on http://lea.verou.me/css3patterns/ by Lea Verou
Afaik global warming can actually mean it gets colder in some part of the worlds, because the climate zones change around.
ITunes is also terrible.