skysight-inc/HackerNews huggingface dataset:
> "Well, I could take the same route every single day, and don't see the same people twice. It is just horrible."

Have you tried to see them twice? Have you asked?

Having lived in quite a few large metros in my life, and now living in NYC, I have to say: the city is as impersonal and isolating as you let it be.

My challenge to you: forget every preconceived notion you have about strangers, how you're supposed to behave in public, and the how and the whys of friendship and hanging out - and go talk to some strangers.

You'll get some weird looks, but your success rate will be 1-2 orders of magnitude higher than what you'd expect.

I've seen this stance expressed on HN before and receive some flak - but I say fuck the naysayers. They can have solitude if they wish, but there is no crime in asking a stranger to shoot the shit over coffee, and anyone whose day would be ruined by such a request is oversensitive and paranoid to the point of absurdism.
I find that I like it when classes store configuration that's known at load time, rather than state. That way it's a lot like a Common Lisp program, except multiple programs can run in the same process, have different configurations, and communicate with each other.
and its Nastiness extends only as far as its borders...

This is not strictly true - for example in recent years there has been the sinking of the Cheonan and the shelling of Yeonpyeong Island.
Maybe this is really stupid but why can't they just drive it closer for a better look?
I think those photographs reveal how frail human creation really is.
First of all, it took an hour to refuel at a “fast-charging” station. Not many people have that kind of time to spare.

I think that as electric cars become more mainstream, people would be willing to make adjustments to their lifestyle to accommodate charging times. I think that over the next 10 years there could come a point where case reaches a threshold and charging time decreases enough where the scales tip in favor of electric. I'm not sure where it is, but there has to be some point on the continuum where people say "let the car charge for an hour while we eat at Denny's rather than paying $6-7/gallon.
How is the jQuery selector $('#foo a') evaluated?
Top Gear did not use the truth as a defense. On the contrary the judge ruled that the truth did not matter. In other words the judge ruled that Tesla would not be entitled to win even if Top Gear had lied. The case never got to the fact finding stage.

Tesla did have evidence that Top Gear lied -- the car had never run out of charge, even though Top Gear said it did. But the case never got to the stage where Tesla would present this evidence.
"I was changed. Until then, I’d felt my talent was a shield, that I could break the rules without consequence, because there was something special and even righteous about me."

The analogy he tries to draw is stretched too far, and too thin. There is a difference between brandishing your talent on one hand, and simply standing up for righteousness on another.

Aaron put all he had in to a cause much bigger than himself, and even in his death, put a spotlight on the lopsided legal system.

The author, on the other hand, considers his becoming the establishment as "right of passage" in to some higher level of maturity. While it may be fair for the author to characterize his youth experiences as plain basking in talent, he could not be more far off in describing Aaron the same way.
Ask HN: Any interest in a Brisbane, Australia HN meetup?
I'm from Brisbane and I'd really like to organise a meetup of some kind - are there any other Brisbane HN users interested in this?
Samsung's David Eun: ongoing Apple v. Samsung litigation 'a loss' for innovation
" his biggest fear was and continues to be North Korea."

Can you go into why? The sentiment runs at odds with Bush's obsession with Iraq/Iran.
Huh? Have you ever heard of the Soviet Union?

The US had a brigade of soldiers stationed in West Berlin whose survival time was ~72 hours in the event of hostilities with the Soviets.

We almost went to war multiple times over things like geese flying over radars. Both the US and Soviets played little games like parking ballistic missiles in Turkey and Cuba to measure the reaction.

Iran has the ability to control the Straight of Hormuz. Iraq had the ability to harass shipping traffic in the Gulf. That waterway is far more important to the US (and Japan, and to a lesser extent, China) than Paris, London and Berlin.
Some nations having nukes stops industrial scale war. There is no way to go to before there were nukes... it's necessary for enough of the power players to have control of them but not all of the players.

The adults are the non-nationalist people who see the world as a global community. These people are rare in politics it seems.
Well if any company is inspired, I'm ready to be remotely hired.
Researchers say AI prescribes better treatment than doctors
How to have your /blog hosted on a different IP
I think the real point the author is trying to make is: use modular, layered designs of composable components, instead of monolithic APIs that only have a single entry point. The single-entry-point model imposes costs and decisions onto the application that are hard to work around.

I think this is a good point. I think that it's hard to get from there to "more classes are always better" though. More classes don't always make a design more flexible. You have to consciously design for flexibility and reusability, and even then it takes a lot of deep thought and hard work to get your interfaces right, such that they are truly reusable in practice.
This kind of thinking is disappointing. North Korea is a dictatorship that is irrational enough to starve it's citizens- if it has that little care for it's people, why wouldn't it launch some nukes?

Is the US perfect? No. Is it a democratic, accountable country? Largely, yes. There is no perfect system of government, and people should stop pretending that everyone is on the same moral level.
> ... and specifically Japan. US didn't decide out of the blue to build nukes.

Seems a little unfair to Japan.

As FDR approved a project to investigate the Military Application of Uranium Detonation in October 1941. This was 2 months prior to the December 1941 Pearl Harbour attack. It seems unlikely that Japan, specifically, prompted the R&D that led to ...

In July 1945 the end result of the MAUD project came about in the Trinity tests of the first nuclear weapon, this was two months after the May 1945 German surrender, leaving the US with a weapon that needed testing and a Soviet frenemy that needed impressing.

As for the need to use nuclear weapons on Japan, well, the post war FDR FUD on that matter has obfuscated the extensive saturation bombing, using a mix of incendiaries and high explosives to burn Japanese cities to the ground that was already at play - from the Japanese perspective Hiroshima and Nagasaki were just another two cities levelled to the ground by the US, just two among the many others similarly destroyed.

There's an argument to made, and it's one for the historians, that the decisive factor for the Japanese was the fact that the Soviets were now free to invade Japanese territories. This is usually not part of the post WWII US narrative.
Ask HN: Should I Learn Python?
Hi,
I am reinventing myself to be a web and app programmer at the ripe old age of 36. I am done with CSS and HTML.

I now have to learn a scripting language. Which one should I choose between Ruby, Python, and PHP?

Thanks
Write no classes!

Joe Armstrong: "I think the lack of reusability comes in object-oriented languages, not in functional languages. Because the problem with object-oriented languages is they've got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle. If you have referentially transparent code, if you have pure functions-all the data comes in its input arguments and everything goes out and leaves no state behind-it's incredibly reusable. You can just reuse it here, there, and everywhere. When you want to use it in a different project, you just cut and paste this code into your new project. Programmers have been conned into using all these different programming languages and they've been conned into not using easy ways to connect programs together. The Unix pipe mechanism-A pipe B pipe C-is trivially easy to connect things together. Is that how programmers connect things together? No. They use APIs and they link them into the same memory space, which is appallingly difficult and isn't cross-language. If the language is in the same family it's OK-if they're imperative languages, that's fine. But suppose one is Prolog and the other is C. They have a completely different view of the world, how you handle memory. So you can't just link them together like that. You can't reuse things. There must be big commercial interests for whom it is very desirable that stuff won't work together."

- Peter Seibel, Coders at Work: Reflections on the Craft of Programming
> The battery drain is from the constant polling of GPS information in my experience though.

Why would that use a lot of power though? It's just receiving a signal. I have the impression that it's when sending out a signal that a lot of power is used. And in that sense electromagnetic radiation at GSM, Wifi or visible spectrum-frequencies are all the same.

I'd say it's both keeping the screen on and constantly downloading new map information from the cellular network.
Another point that I forgot to mention is that states like New York are rapacious about the collection of income tax. Setting foot within the boundaries of New York State or New York City is a taxable event for the average absentee billionaires.

Example: http://www.akerman.com/documents/res.asp?id=1089
After the world ends, bikes and etc. will be fine. For about two years ( less in warmer climates ).

After that the roads are going to be torn up by weather and no maintenance and then riding a bike may or may not be such a good choice.
Reactions to 95% Typography (2006)
The Amazon Elastic Transcoder
Let alone the spare time.
"[Online dating] has greatly expanded the pool for people
to choose from without ever having to spend the time to meet
the person," he wrote to Tea Leaf Nation via email. "The
development of mobile apps in conjunction with the Internet
has allowed people to meet each other anywhere at any time.
Mobile dating has effectively merged online and offline
dating elements to give people more opportunities to meet--
and the odds of finding someone is then much higher.

Online dating doesn't really help the assortative mating problem; it actually makes it more acute by reducing the usual geographical / random walk barriers to finding potential partners.
This is amazing, a big thanks to that museum!!

He wrote latin and that too right to left (that was drm) if that helps anyone here. Of course, it's just easier to check out the commentary on than his actual work.
As you say, many responses have been meaningless, but this contradicts your point: it is indeed a force if they express a preference on the issue, and their lack of stance on many topics reveals that words have consequences. There's nothing wrong with calling Obama out on this, even if not much results, because the population will realign if Obama takes the opportunity to advocate for a difference from the status quo.
Isn't that the internet anyways?
Fake. And ridiculously so.

You can only see around 2000 stars in total with no light pollution across the entire sky

Perhaps the photographer is not saying they are realistic, it might be nytimes being misleading.
Court: Gov’t Can Secretly Obtain Email, Twitter Info from Jacob Appelbaum
The philosophy and nature of the features Rails provides are what causes these security vulnerabilities. Auto-magic features are prone to this sort of exploitation.
Meanwhile the S Korean themselves could care less about N Korea's nuke tests.

http://english.chosun.com/site/data/html_dir/2013/02/08/2013...

Favorite part in the article
################################################
"Conservatives are miffed. "The so-called leaders of progressive groups vehemently oppose the use of nuclear energy and condemn domestic nuclear power plants citing environmental concerns, but they are silent when it comes to North Korean nuclear facilities,"
Is the collapse still influencing you in everyday life? I wasn't quite aware of that (sorry). For example in Sweden all signs of it seem to have long gone, then again it's been quite a bit longer in the past.
Here is the direct link to the manuscript: http://www.bl.uk/manuscripts/FullDisplay.aspx?ref=Arundel_MS...
Think of all those poor suffering people starving to death, eating bark off trees, just so the government can afford to do this.

It's just sickening.
Nice quote, but did you read the article at all?

Something else I want to mention: what's written above will most likely result in some sort of warmed up discussion in regards to object oriented programming versus something else. Or inheritance versus strategies. Or virtual methods versus method passing. Or whatever else hackernews finds worthy of a discussion this time around.

All of that is entirely irrelevant to the point I'm making which is that monolithic pieces of code are a bad idea. And our solution to monolithic code in Python are classes. If your hammer of choice is Haskell then use whatever the equivalent in Haskell looks like. Just don't force me to fork your library because you decided a layered API is not something you want to expose to your user.
That said, it's not been that long since Carmen Ortiz had this petition aimed at herself:
https://petitions.whitehouse.gov/petition/remove-united-stat...

As you can see, the petition reached over twice the required amount(and when it reached 25k, there was a discussion about raising the required amount to 100k). The site's been criticized several times now, because of this reason.

I personally think they should add a tab for petitions that reached the requirement, so that these petitions aren't lost, which would make it easier for people to see which petitions still require an answer.
I have some really old j.b.weld that still works a treat. Being an epoxy with separate hardener and resin, it seems to last quite well.
Scala and TypeScript do it right, though.
I hate when websites put seasons rather than a date, it confuses international visitors........
I don't have any experience with Qt&QML, though I've heard lots of good things about it.

I don't think a wholesale replacement of HTML/CSS is feasible though. There's just too much inertia behind the incumbents, not to mention that HTML/CSS is very good for the document centric web which applies to 90%+ of the existing web.

More flexible CSS layout modes such as display:flex are quite usable and go some of the way to addressing app-style layouts, however movement on these standards is slow and doesn't go far enough IMO.
Horse have some advantages over bikes.

They make more of themselves.

And a horse is, last resort, dinner.
> Kicking this sacred cow has consequences so my feeling is, let's not make it sacred.

That sounds wonderful. Make it so.
Possibly, and also another reason to bet on these guys as they are founded by a lawyer.
Write patterns still matter until you're talking about like megablock granularity. Mmap will swap out pages at random (relative to disk layout) and page granularity is far smaller than a megablock. It's certainly possible for controllers to handle this properly, and I don't want to tell you that they never will, but even the very expensive PCI-E flash we use at fb demonstrated this "bad behavior".
Neither is NK. They could wreak some havok with conventional weapons, but their last two nuclear tests were 1 & 2 kt, respectively. That's enough to take out a couple city blocks, with a fireball about 100 ft across. Couple that with the fact they can barely get a missile to go into the sky without blowing up, let alone land where they want it to, and NK's nuclear threat is pretty minimal. They'd cause far more damage with conventional weaponry.
The USA has nuclear weapons in South Korea, and they are the only country to actually use them. If they withdrew then maybe the two Koreas could negotiate peace.
Um, where are you getting the "we're not going to look into it further; case closed" part?

This is NASA saying "hey, here's how things like this can form, sometimes, please stop freaking out". But that's a far cry from saying that it's not still interesting or from saying that they don't plan on studying it more.

The overwhelming likelihood here is that this is "just a rock". And I think it's fully justified for NASA to dump a substantial amount of water on the overheated ideas that it's some sort of alien artifact.
Do you know JavaScript yet? That's essential for front-end development, and if you get pretty good at it you can use it serverside with Node.js
I think there is also the issue that Iran is more likely to fight asymmetrically than North Korea would. I imagine that North Korea has all their nuclear weapons mounted on ballistic missiles. Iran on the other hand probably support an asymmetrical war where nuclear weapons are brought into the country by "stateless" terrorists and then deny involvement.

I would also venture that Iran, being a "non-secular" government where the more fundamentalist members see US influence as a threat to their religion and way of life, is more likely to foster radicalists that would try to enter the US with a suitcase bomb. North Korea has completely isolated itself and its people from US influence. Iran on the other hand has "porous" borders that permit western media and western culture to permeate. The permeation of western culture is seen by some as a threat to be stopped.

Edit: can the downvoter, please explain their down vote?
I could not understand how classes can help with JSON-example.

It looks the same as XML SAX vs DOM: you feed NN-Mb to DOM-parser (SQLServer xml-datatype for example) and you have problems. No matter: classes or functions.
The problem I still can't seem to adequately solve is remote teams working entirely in sync with local teams.

For example, I need to hire an additional 2-4 JavaScript or PHP developers, but most of our team is in Houston, TX, which is not really a hot spot for these.

I already have some remote workers, but their projects tend to live more in isolation until the PR needs to be discussed, while the local team constantly works together, on their own accord, through the whole process.

How can this gap be bridged where remote and local can cohesively share the same projects without the "latency?"
The choice between Ruby and Python is something of a matter of taste. For what it's worth, Ruby on Rails appears to be more popular than Python's Django (though a quick search didn't give me any current numbers). In present day web development there is really no getting away from PHP, so you should learn it whether you choose Python or Ruby; same goes for JavaScript.

To make it easier to answer your question you should provide more background on your past programming and general computer experience.
I love the name. Super clear - "Pay up bitches"
When you are trying to parse extremely large documents or you only care about a small subset of a document, needing to load the entire parsed file into memory is problematic. Simplejson doesn't provide an API that allows for any other option.

This is in contrast to something like an XML sax parser, that allows you to register for events like "a foobar element was loaded". You get the foobar element while all the other tokens are thrown out the window as soon as they are parsed.

The complaint is that, somewhere, under the hood, simplejson is doing that token parsing, but because of their API, a user can't plug into it.
"I never heard in a disaster novel of people having problem to find glasses,"

Justin Cronin, The Passage.

It's a hundred years after the world ended, one minor character is terribly near-sighted. And he's gone through all of the glasses 'from the old days' his small community has in the storeroom and none of them help.

It stuck with me because, hey, he's about as near-sighted as I am.
> Fake.

Yes. If you scroll down you'll see the explanation :-)
Aha! Good point. TL;DR! Only skimmed, as others have commented, it was far too long. Perhaps the title should have been Python rant: Write More Classes!. The point is, the themes touched upon in the article are greater. The author's wish not to raise them is .. hereby noted, but not understood, really, when appealing to a larger audience. You can't have it both ways.
There is no process of correcting the record, unless they are freakishly honest or you bring in lawyers.
Hah, that's not very "remote" of them indeed.
Not really an ideal frame of reference
Pakistan and India were sanctioned after their tit-for-tat round of nuclear testing in 1998: http://articles.cnn.com/1998-06-18/world/9806_18_india.pakis...

Furthermore, as a member of the United Nations, North Korea has agreed to abide by binding decisions of the Security Council; UNSC resolution 1718 demands that North Korea not conduct any further nuclear test. This resolution was adopted under Chapter VII, meaning that the UNSC has identified North Korea's nuclear testing as a threat to the peace.

http://www.un.org/ga/search/view_doc.asp?symbol=S/RES/1718%2...
Dustin's post was not simply about whether to prepend labels with "my" or "your". That choice was an example of a more fundamental concern: whether to imagine the user as seeing an app as an extension of themselves or as seeing the app as a separate entity, and the implications of that in the interface.

It may have been helpful for the post to consider the effects of using no pronouns on a user's mental model, and a better response to the post would be to explore those effects, not to dismiss it outright as a false dilemma. A much better method of dismissing posts that have obvious answers is to not comment on them.
It really comes down to the country's leadership. All of the other points in other comments here are certainly valid, but he feels that NK's leaders are more likely to be willing to push the button and the US is in range.

What I can't say is if this belief in NK's leaders is based on actual intelligence or some sort or just his opinion. Given their willingness to take pot-shots at SK, I know I'm concerned about this.
This is a cool idea. I'd like to see something like Wevorce on the other side, i.e., a startup that gives couples more flexibility in creating a marriage contract that meets their needs. Does anyone know if that already exists?
Why Airline Passengers Are Not Provided With Parachutes
I wish the article would at least point out the cardinal rule of time duration measurement: always use the same clock to measure the "start" and the "end". There's a lot of verbiage but the key point is lost.

As an example of a discussion where someone made much ado about what turns out to be a clock issue:

Original article: http://news.ycombinator.com/item?id=5146508

My comment (which reflected the essence of the article): http://news.ycombinator.com/item?id=5146805
The Axis of Evil included North Korea along with those two countries.
I think the underlying premise in all these statements is that working hard the "right" way is what makes the difference.

I also agree that if you are selling garbage in the slums of India, no matter how hard you work, it's likely going to make very little difference in your overall life situation.

At the same time, if you take the average person living in a western society, working hard does make a difference. With it you have a chance, without it you are leaving it very much to luck and circumstance.

I also find that very few of us know what working hard really means. Working hard with a focus and a goal in mind will get results.
Love it when people write about OO without OO experience.