Hacker Newsnew | past | comments | ask | show | jobs | submit | polarcuke's commentslogin

Ruby and Swift (and other languages I'm pretty sure) allow you to have named functions nested in functions


What the video specifically suggested was not any old nested function, it was nested functions that do not capture upvalues from their context.


PHP has those (e.g. function() use ($var) { })


Django Unchained - Cloud Atlas - Looper - Argo - Easily the best movies I saw this year, they were all really, really awesome.


I agree with this article, typing the code out (as long as you are focusing on it and not just typing absentmindedly) really forces you to read all of the code, which should help you understand what is happening. Just as in the article I have also found myself unable to write my own code at times due to working off of other programs or snippets. When I type it out though I gain a much more thorough knowledge of the api or language.


My friend and I have been working on Protobowl, a realtime multiplayer quizbowl game.

http://www.protobowl.com


what is the software stack you're using? thank you.


It seems like sites like this are becoming more popular, or at least the idea of them is. This is the second one I've seen recently, the other is http://www.codewa.rs/, this one looks interesting since it's for more languages than just javascript. Regardless it defiantly looks like fun, can't wait till the real version is released.


Sort of off topic but that app you linked, typing.io is really cool, thanks for sharing.


Wow, this is easily the strangest top post I have ever seen on hacker news. I actually can't stop laughing. I guess it's because most people just don't think about technology and sex in the same thought unless you are thinking about internet porn. An interesting read no less.


I still don't understand how cases like this are brought up. It seems to me like random people are targeted at random times. I see stories like this every day, not about Darknet specifically but about rulings against file sharers and pirates. Could anyone shed light on how a select few people are singled out of the masses of people who fileshare.


In this case, the defendant added the anti-piracy monitoring company as a friend.


I don't understand how these company's are legal. It just seems to me that in order to get a list of illegal sharers they "must" at least attempt to download or share the copyrighted material. So why aren't they are just as guilty as they people they report?


In most cases they are authorized (and paid by) the legal copyright holders to find violators. At least in US most cases are brought by industry organizations.

I heard (and believe it's true) that in Germany, lawyers are given the right to bring cases against law breakers (maybe only civil) with no client, without support or even knowledge of the "victim". Paid on a bounty system. Idea being all these lawyers are incentivized to go out and deter crime.


Well if this is true I guess there is one more thing for us to be thankful for today!


It doesn't matter because we wouldn't be here thinking about it. On the other hand, the extinction event would have been a gold mine for the future archaeologists that would have evolved on Earth in the next 100 million years.


You're right, let's NOT be thankful that we're still here.


What do you mean? You can't be subjectively thankful of something that you wouldn't otherwise exist to be the subject of. However, I'm thankful that everyone else is here, including you.


> You can't be subjectively thankful of something that you wouldn't otherwise exist to be the subject of.

Sure you can. You couldn't be disappointed if things had gone the other way, but you can certainly be thankful to have dodged a bullet.


Yeah, this seems like pretty typical misuse of government money. Even if these radios are an effective investment why wouldn't they spend a couple million more and train the employees responsible for using them? It's pretty ridiculous in my opinion.


Because the official who gets credit for the bullet-point on some report doesn't gain anything from the training. The incentive is only to be able to brag about having led the initiative on communication in their department.

(100% cynical conjecture; I'm sure the reality is much more nuanced)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: