skysight-inc/HackerNews huggingface dataset:
I wrote a few similar commit messages - mainly upon merges, but sometimes when commiting small, but important changes too. The result: I was ridiculed and laughed at... I even seem to remember that someone said I was "unfulfilled writer" (believe me, in my language that was much more unpleasant...).

I can't help but think that majority of programmers are just illiterate and they feel threatened when someone actually has the will (as you can probably see from this post my skill isn't all that great either) to write...
ep·ic   [ep-ik]
adjective

1.
noting or pertaining to a long poetic composition, usually centered upon a hero, in which a series of great achievements or events is narrated in elevated style: Homer's Iliad is an epic poem.

2.
resembling or suggesting such poetry: an epic novel on the founding of the country.
>Better to use hypocrisy to show "even supporters of X don't really believe their view is right, so it probably isn't".

Still, not a good argument.

Their view could be right, whether they do really believe it or not.

E.g a politician could say "don't steal", and he could be stealing himself. That he is hypocritical about it, doesn't mean stealing is "probably" right.
Every so often I try to discover how the flying car noise was made, or learn enough sound synthesis technique to recreate. No success so far, pointers and suggestions much welcomed.
Interesting though. We all knew HTML5 local storage bugs would happen, but this is the first one I've seen in the wild.
> I suspect that Apple does not yet understand what a headache it will be to integrate the information from these three disparate sources.

This is ridiculous in the year 2012. Nothing about this should be a headache (apart from people keeping their data secret for various reasons) yet it's still bafflingly hard.
Couple of observations:

1) The leading x days from the moving averages on the default strategy are charted at 0 when they should be null and not visible on the chart.

2) If I mouse over the 20 day moving average block and change it to a sell block, then click run, my charts disappear into loading bars and I get a warning message up. However, there is no indication to an uninformed user what they've done wrong, why it's wrong, or how to fix it. This could use a bit of work.

This is very similar to an iPad app I've been developing - I like it a lot, you've done a good job!
There are non-Mac utilities to read .dmg files. The NDA and the $99 fee are bigger obstacles to wider uninvited beta adoption, I'd assume, but intentional. This may or may not be a good thing: more testers isn't always better for bug report quality, and for a hardware company like Apple, it'd be bad business to encourage widespread adoption of beta firmware, without either support for devices running beta software (unlikely), nor support for uninstalling beta software. It's probably not even legal in all jurisdictions.
Didn't they address user concerns with a .1 upgrade or was it a placebo pill ?
> I've been using the beta and all through it, there were no routing apps available

Of course, as no iOS 6 apps would have been on the store during the beta phase.
Honeynet project - real-time worldmap
If you don't know what it's used for, or the purpose it was written for, then you aren't in a position to judge if it's stupid or not. I can assure you, it has a purpose, and that purpose is not stupid. The fact that the reason for the class is somewhat obscure and somewhat of a corner case does not make it unnecessary.
Last I heard, Bing was contracting out to Nokia for their maps, as part of the whole Nokia-Microsoft strategic surrend^H^H^H^H^H^H^Hpartnership.

(And I know that for all its faults, Nokia is smart enough to apply human QA to their mapping system, because in my last job I worked on the Web site that those human contractors used.)
JQuery 1.8.2 released
Apple Maps: The FAQ
Ask HN: Name a mistake you continually make.
It's not interesting at all. It's not a technical article. Everyone is sick already of all this current Apple hype.
It would be good if you could categorise your source code comments somehow and have your IDE help manage them.

By default you would browse code with important summary comments visible, but if you're interested in any one area, you could then drill down into much more detailed and text dense comments right within your editor to read about design decisions and the bigger picture in plain English.

Comments could be further categorised into, say, business logic related comments or those related to design patterns, or page flow or test cases or internationalization or whatever, giving you more options to learn about the code and drill into the specific area you care about.

This readily accessible living documentation would be a much better way of learning about code bases in plain English without consulting out-of-date technical specs.
> If the U.S. (where I currently live) fails, how do I operate a legitimate business?

I think if the US failed as a nation you'd have a lot more to worry about.
After $1.2M in pre-orders, Double Robotics (YC S12) raises $250K from Grishin
Until, of course, you find you need to use it. Of course, you'll probably never need to use it, nor will you ever see it being used in your particular situation. But hey, it's all over-engineered nonsense, right?
1) A more relevant example in this case might be Spotify in specific, but sure: Facebook. Do you honestly disagree? If so, I am pretty certain you are in the minority. In a list of 7 reasons a reporter from the Huffington Post "left iTunes for Spotify", #7 was "Spotify gets social" (with specific contrast to Ping).

http://www.huffingtonpost.com/2011/07/18/left-itunes-for-spo...

4) I currently host jailbreakme.com, but comex developed that specific jailbreak. I helped with Corona (5.1 exploit) and run Cydia, Substrate, etc.; I guess thinking about it more, I produced the protection fix for one of comex's JailbreakMe PDF exploits (making me somewhat relevantly related to that project).

Apple does not, in fact, have a good reputation when it comes to malicious code: they are simply sufficiently small players that people don't target them. A lot of people believe otherwise, but as far as I can tell this is because their knowledge of Apple products comes only from Apple's marketing efforts.

In fact, in 2010, reknowned security researcher Charlie Miller (who was winning Pwn2Own every year until he decided to stop attending to protest a rules change) was fuzzing PDF renderers, and found many more exploitable PDF files against Apple's Preview (30-60 failures) than in Adobe's Acrobate (only 3-10).

^ This, combined with first-hand experience with the zero-day PDF exploits from comex (where the second exploit was to the same mechanism as the first, as Apple apparently failed to fix it the first time around) are the reason I install Adobe Acrobat and deactivate Preview on my Mac: at least Adobe manages to fix the bugs that are found.

5) iOS 6 was not released in May. In fact, no iOS version was released concurrent to that reported issue, AFAIK. How is this relevant to the example I dragged up and posted? I specifically went out of my way to find an example that would not fall to simple "but the bandwidth is too much for Apple/Akamai to handle!" arguments, and you didn't even pay attention.
I tend to follow tptacek, Joel Franusic (jf) and yourself :) I was quite pleased when I saw this topic to be honest.
haha fair enough - thinking about it there's all kinds of nefarious ways you could use the data. Looking at your product a bit more, this might be complicating things a little and it's going to hammer your database but I'd love the ability to fit variables to a strategy - eg I want a strategy like "IF X day moving sample average for GOOG is better than Y day moving sample average for GOOG buy ELSE sell" But I don't really know the best X and Y, so I'd like to leave those as variables and have the software find the optimum values based on historical data.
160 “Strategic Buyers” of Tech Companies
If I had to choose, I'd pick this commit message over "bug fixes" or other similarly uninformative commit messages.
>But is racist with with friends of other races really classical example of hypocrisy? I hadn't encountered it

He probably means the classic "I'm not racist, I have black friends and all, but blacks in general do [this and that]".

Which is often considered a classic example of hypocrisy but I don't think it is. In a lot of cases it's not even racism.

E.g a guy could have Mexican friends (in the US or Mexico) but be against mexican illegal immigrants.

This is often taken to mean he is racist, but in actuality he is against illegal immigration, not against a race in general (he might consider that low end jobs are numbered, or that wages in those jobs are getting lower due to increased competition from illegal immigrants, or that lots of hungry, unemployed opportunity seekers from Mexico could resort to crime to feed themselves etc).
> But long class names? Really? Is that all you've got? Who cares?

Is that the only thing you think is wrong?
I see it working hand-in-hand with dependency injection. So resolved mock interface implementations will be used by Instant.
What Foursquare can learn from Trulia & Yelp to become a $100mn company
"and a physical device to test"
Smashing Conference take-aways
I agree. The recent episodes with the unlikely LIFX project has probably set fire to Kickstarters' observations. This is good.
> This is how the iPod evolved, for example.

The first iPod didn't do a lot, but what it did, it did correctly. If the first iPod had had the scale of quality issues we're seeing out of Apple Maps, there wouldn't have been a second.
I was using "epic" with a Jeff Spicoli accent, not in the classical sense. But thanks for the comments!
VirtualBox hotfix now available for OS X 10.8.2 problem
Ask HN: Where to promote posts about code
- Twitter, HN, Reddit

- For Ruby - rubyflow.com

- For JavaScript - echojs.com
I've come to the conclusion that Apple is willing to bet that mediocrity in maps is not really a deal breaker in the segment of the mobile electronics market in which they operate...or rather continued mediocrity will have little effect on sales.

Nobody, including Google, consistently delivers functional map data to mobile devices every time, at least not in the Atlanta metro area. I travel there with some frequency for various soccer tournaments as a referee or parent. It is not uncommon for one or another device to provide faulty routing to the people involved in a match. Sometimes it's Garmin. Sometimes it's Android. sometimes Bing.

People don't primarily buy smartphones for the maps any more than people primarily buy smartphones based on call quality. Apple knows this. Apple sells phones because of iTunes and brand positioning.

The issues with maps didn't even garner a comment among the Apple fans in yesterday's Facebook feed. The edge cases among iPhone users that will be lost over poor quality maps is more than offset by the Genius's sales pitch about how easy Apple's map application is to use.
You obviously don't remember the first iPhone.
I'm personally a terrible judge of character. More often than not people turn out to be the opposite of what I originally judge them to be.
Why I don’t like the 4 inch iPhone and a brief review of the EarPods
If I were Google I'd be twisting Apple's melons pretty hard right now.

I'd love to see Google release a Maps app containing some form of cool functionality that directly breaks the App Store's TOS. This leaves Apple with two options:

1) Reject Google's new Maps app and incur the wrath of the public. This then leads more negativity towards iOS and the potential for Google to talk up its own platforms.

2) Break their own rules by allowing it, incurring the wrath of developers and app makers that had to tread the line with the App Store policies.

Either way, Apple lose and Google/Android looks great. If Google act while people are still pissed off they can drag this out for as long as they wish.
I tried server-side development in Java, didn't like it at all. I'd pick Haskell or Erlang over it in a heartbeat.

You can't easily build fault-tolerant distributed systems using only classes without concepts such as function purity and data immutability. Java's type system also happens to be neither sound nor correct; casts are everywhere and NullPointerExceptions can fly around. You're constantly working against the language to write safe distributed code. If Java was safe as a language, it wouldn't require so much debugging time. Haskell was an eye opener for this.

For systems programming I now use exclusively C and D. In the end, Java is only a viable option when you don't know any better. Most Javaland programmers I know of also happen to be blub programmers. They don't know unix, regex, functional style, don't write tests and the list goes on. They do, however, know Agile and UML.

Maybe that's what I don't like about Java. It's culture killed technical knowledge and replaced it with bureaucratic management.
Doesn't that come down to API limitations rather than actual functionality?
Shake draws inspiration from Python's sh. Which looks to me like a port of http://perldoc.perl.org/Shell.html. However after experience, that original version now comes with important warnings about things like metacharacter quoting not being able to be done in a portable and safe way.

It is easy to get things 95% right, and I am sure that Shake does that. But think twice before using it for production programs, particularly if there is any possibility of it encountering untrusted input.
i don't know pandora
Agreed, namespace clashes are an obvious problem. "My program that worked last week now crashes? Oh, it's because I apt-get installed something completely unrelated."
And Apple is even less happy to deal with an Army than Google was.
I think what it means is that Google had lots of queries of the form: <thing> (e.g. "restaurant") <location> (e.g "Times Square") that came in through the search engine "front door".

Having a lot of relevant questions (and hard data on which answers to those questions were used) is an invaluable resource in bootstrapping mapping and local search together.
Sprint Using Screenshots from Apple.com
There is nothing to say these individuals/organizations would have followed up on their promises to set up these shell companies.

They could have been stings, or even scams.

In the case of the American provider who acknowledged the purpose of the shell company might have been a front for funding terrorism, they could have just requested an upfront payment (e.g. 6 months at $5,000 per month), taken the money and ran.
We've never actually created a thermonuclear winter but it was indeed a prediction. I think the problem is one of scale rather than technology ... can we do enough?
Yes, I could have let it slide and simply written "Fixed bug in type_open propagation in parse.c". But I sort of wanted to "punish" myself a little and force myself to write out precisely what I had done wrong in painfully explicit terms. Otherwise, as Brian Griffin said to Peter, I "wouldn't learn anything." ;)
Can't they do like Google with Android, and release updates for their core apps independently from the App Store?
Side by side diffs in GitHub (Chrome extension)
He wants a working free market which requires companies to pay for all their costs. At the moment the oil and gas industry is massively externalizing costs that result from hydrocarbon output, if you stop that, for example with a tax that will drive up the production costs and in turn prices, those will reflect the actual costs.

This in turn will cause people to invest in things whose actual costs - especially over the long term in this case - are lower such as renewable or nuclear energy sources.

Obviously this is just economical theory, in practice the alternatives are not as advanced as we would like them to be and as innovation necessary doesn't happen instantly and will create delays in which people are forced to pay more overall to sustain their standard of living or they will have to reduce it.

In the short to medium turn this will be painful but I believe that this is the only way we will actually reach a useful solution.
I think that is a symptom of a larger problem to be honest. Odd screws don't stop tampering, they just cost you lots of money to tamper. Why bother? this is another circumvention industry that doesn't really need to exist.

My Lenovo can be stripped bare and reassembled with a Swiss army knife in a few minutes and not much effort or head scratching.

For reference, Lenovo have a web site which SHOWS you how to take your stuff to bits:

http://service.lenovo.partner-management.com/et.cfm?eid=1369

Pick a unit, click the Take course link. Videos for everything.
First Round Capital  - Why Philly is a great place for startups
Tailgate Parties Are a 'Powerful Impulse' and a Microcosm of Society
You can get away with releasing a flawed first gen product as long as you are forging into a new field. Both the iPod and the iPhone had plenty of competitors, but they were also so massively differentiated from the rest of the market that they effectively created new product categories (especially the iPhone).

When you try to compete with an entrenched product that is feature rich and highly polished (such as google maps) you either need to differentiate your product or come to the table with an equal level of polish. Apple has failed to do this. They have made a classic "strategy tax" blunder.

This move is straight out of the playbook of the old, bad Microsoft and the old, bad IBM. It's the sort of fundamentally bad idea that a big, dumb, lumbering company makes. If there's anyone in the world that is happy about this it has to be the people on the surface team at Microsoft. Because it shows how massively vulnerable Apple is to competition now. Whatever magic Apple used to have, it seems to be gone.
I crafted the first line deliberately to be a summary. "Major improvement in the propagation of type_open in parse.c." How is that not a summary? Where did I go wrong?

[Edit: Ironically, he might have overlooked the first line of the commit message because it is highlighted in bold.]
1. Limit liability. Each threatened action is made by a separate LLC created just for that purpose. The troll's company is not put at risk every time they want to threaten someone with litigation. The LLC does the dirty work.

2. Make it difficult for the target to assert any sort of leverage. If they do not know who is behind the shell, they do not know what resources the troll may have. If the troll is a practicing entity, they won't know if they have any claims they could assert against the troll. All they see is a recently formed LLC that has certain patent rights, and nothing else.
Well, (use :as) fixes that one.

Namespaces are a honking great idea, let's have more of those!

Also, I think I just realized an another problem -- if I understood the lib correctly, it scans through the PATH once at require time. This is bad, because Clojure is often deployed in places where processes run for very long times. Even things as immutable as tools in PATH can change when given long enough time.
Keep in mind that Google maps are arguably the best in the world - IE for Mac was a pretty dreadful browser.
I'm sorry, but can someone paste the part of this article where Google announces anything about 400 years? I can't find it.
1) I think Ping was a shitty idea, and that no one anywhere has gotten "social" right.

4) I said hello on IRC a little bit ago. I'm not going to argue the point on security when I'm clearly outclassed.

5) Whoops. I'm just being careless there. Sorry about that.

I'm really only arguing any of this because of the remark "Apple actually makes this kind of mistake often." This maps thing is a rare, but colossal fuckup from Apple. First other thing that came to mind was when they cut the original iPhone sticker price by $200 only a couple weeks after it came out.
That's either the worst analogy ever.

Or AAA shark.
OSM doesn't do elevation

True OSM doesn't have that, but there are some public domain datasets available for that, e.g. SRTM.

OSM doesn't do geocoding.

True. OSM is just a database, you'd have to make your own "address ↔ position" algorithm. Which is sorta hard.

OSM doesn't do routing.

OSM is just the database. You can (and people have) make a routing engine on top of that (e.g. http://map.project-osrm.org/ http://maps.cloudmade.com/ ). You can do very specific types of routing (e.g. I figured out how to cross Dublin without passing a pub http://www.kindle-maps.com/blog/how-to-walk-across-dublin-wi... ).

OSM doesn't do 3D.

True.

OSM doesn't have a cleaned up dataset of Points of Interest.

Yes and no. OSM is a database and has lots of Points of Interest, e.g. here's a Starbucks in London ( http://www.openstreetmap.org/api/0.6/node/488443269 ), so it's trivial for someone making a map app to make a database of PoIs that an application can look up.
> I'm not sure whether you're specifically talking about Google's maps on iOS or not

I'm talking about Google Maps in general.

> Google's web and Android maps clients both provide bus and train times for much of the UK.

Good on you for living in the 51st state I guess? Many still get neither.
It is true that "Java culture" leads to this case of design pattern abuse, but you don't have to do all that when using Java.

I dare you to find this kind of atrocity in Play Framework 1 (written fully in Java) or in Play 2's Java code.
This was already pioneered by Olin Shivers' SCSH (Scheme Shell). See the process notation chapter in the SCSH Reference Manual: http://www.scsh.net/docu/html/man-Z-H-3.html#node_chap_2.
Wish the SCSH project would come alive again:
https://github.com/scheme/scsh.
we've all been salivating about the potential for an 'Optimise' button. It would be really cool, it has a few wrinkles though, e.g. there might not be a unique maximum solution, so how do you choose the best one? Once there are a few variable involved it may be a job for a genetic algo, but it would have to be in the background. All food for thought ;-)
Hardly. Firstly, AOP is a very effective and useful programming technique. It's used in a lot of places, and without it OOP would be considerably harder than it necessarily needs to be.

Secondly, this is a class used to extend the Spring framework unobtrusively if it is needed. Most likely you would never need it (if you are even someone who uses Spring, which I somewhat doubt... If you are then you should really learn more about the framework you use) but there are doubtless folks who may need it at some point for some super complex or out of the ordinary project you haven't even dreamed of yet.
Everyone? Does that include me?

If you have a problem with it, take ownership of your opinion. It's annoying when people say things like "everyone knows this" or "nobody does that" because really what they're saying is "I know this" and "I don't do that".

Also, HN has never been exclusively technical. A lot of designers frequent this here corner of webland and they may well find it interesting for any number of reasons. I did.
Incorrect: the maps app in iOS < 6 had plenty of ads in the form of sponsored listings. I can recall several times on a road trip recently where I searched for a point of interest, and got a sponsored listing... Sometimes it was right on top of the non-sponsored point, so I had to zoom in really far just to be able to select the desired pin.

iOS maps is basically another ad platform... And with iOS 6 being adopted at a high rate, Google would lose all those "eyeballs" and crowd sourced data if they didn't release their own iOS maps app.
A function? Really? Without side effects?)