skysight-inc/HackerNews huggingface dataset:
Some of us working in hybrid OO-FP languages or strictly FP languages might argue against IoC. I have seen and been exposed to code bases while beautifully written are completely untraceable in cause-effect debugging. Which combination causes the error? Which config was that environment set to? Let me try to divine the structure...
A useful case to use this is for custom tooltips. I'll probably rip out the JS solution in my companies app for the attr function.
And mandatory attendance. You can't force someone to learn when they don't want to. Stop treating schools like prisons and the attendees will stop acting like inmates.
Aomori Group – Solar Power Growth.
Thank you very much, this should be higher because the podcast is very insightful.
There is something to be said about human ingenuity. With minimal tools, the ability to create these weapons and armored vehicle is something special.
> Do you think this can be remedied by moving the code out of the web container?

That's what I did in my own design. My protocol's purpose is different from cryptocat's, but the problem that in-browser javascript is untrustworthy is the same.

I designed my protocol so that it needn't be embedded in the browser at all -- or for that matter, piggybacked on HTTP.
I'm jealous. Looks like they're having a mighty good time. Such freedom to be a man I'll probably never know.
It's sad to think that the time for people to truly rebel is quickly running out.
The 3rd slide (coin-based histogram) has a disingenuous scale...is the vertical axis exponential or something?!

[edit] Looking further down, it turns out that all their graphs are horrific.
Yeah, same for me with Chrome. Irritating, isn't it. The site seems poorly designed. I can see a Flashblock icon in the top left so I know what's broken, but I can't click on the Flashblock icon to enable the content, as it won't take focus. Despite being interested in the topic I didn't dig deeper, so they lose a reader.
Nikola and i just upload the posts to webfaction.
Takes considerable time to load for me on Windows and doesn't work at all for me on Linux.
For what it's worth in the UK that would still be trespass, a civil offence. If you had intent to burgle that would be a crime, but if you had no criminal intent it would stay a civil matter.

Edit: removed incorrect example - thanks seebee
If they can use video and controllers like that to control the gun, what would stop them from making it wireless?

I would imagine the benefit of using something like that remotely would be worth the risk of possible signal interception.
I'd like to read an honest account from a former bully who matured into a fully functional adult. To this day I don't understand the motivation of terrorizing other kids. I've met some former bullies but it seems that they either don't remember or don't want to deal with understanding it themselves.
I completely agree that age-based classes is stupid. But what's the alternative?

The idea of classifying 5 year old kids based on any kind of factor scares the hell out of me.
The government is chosen through a political process and so everything it does is political.

The DOJ's actions were heavy-handed in a way that has freaked out a lot of people who evidently never realized that the government was like this.

Anyone who has ever gotten a letter from the IRS or has been pulled over by a surly police officer knows well that even though there are laws which apply to everyone fairly, the way those laws are enforced is mostly left up to the discretion of whoever is enforcing them.

Try being an immigrant and dealing with INS officers or a traveler dealing with TSA. Our government has created all kinds of thugs whose job it is to put on a big show of force to intimidate people.

Why are government buildings so big and grand? To create a show of force and make our government seem formidable. Why are there so many ceremonies involving soldiers, government officials, marching, etc. Simply to put on a show and create the impression of solemnity, gravity, and importance.

Governments must continually act to keep the power they have achieved. They do this mostly through propaganda and PR efforts. Every white gloved soldier in a ceremony is a PR stunt. Every wood paneled room, dramatic monument, motorcade, marble building, podium, flag and seal are part of the PR show.

The world is full of greedy people who seek power over others. Whether it's an ambitious Carmen Ortiz or an up-and-coming young congressman or a mild mannered traffic cop. Each seeks to control others as a very significant portion of his/her motivation and life's goal.

Most people who do startups just want to build something and work with interesting technology and so we often forget just what government is. We must wake up and realize that it's about control and force, and now and then the victim of this control and excess is a fellow hacker and we start to take it seriously for a few minutes before we forget about it again. Don't assume that you won't be the target, don't adopt that conservative worldview.
Getting started with Solaris 11 Zones
I think it may very well be the other way around. Example: I used to do sports. Then the bullies came. Then I stopped doing sports because that's where they were.
I have the same feeling. The new generation takes dynamic content being generated on the fly for granted, even though in many cases it's not necessary at all.
http://en.wikipedia.org/wiki/M._R._Prajapati

This simple, rural guy from India created
non electricity refrigerator for rural areas that dont get electricity. People now can save their veggies and food longer even in extreme poverty and no energy access.

He is now working on making a house with Air conditioning without electricity. Super hacker.
You have to include them. It's a mentality, not a medium.
New Solution Can Cut Video File Size By Half – Without Losing Quality
(And a real life example of one http://www.fransmaes.nl/genk/en/gk-zw08-e.htm (with diagrams!).)
"imagine he had downloaded loosely protected private emails or credit card account lists"

Respectfully I don't think that's a great argument. That what he did is in the public interest (imo) is central to the issue. You can't just ignore that.
And what about handling HTTP 500 errors? Although rare, they can still happen. And you cannot make the user's browser retry in such case (as you could do if you were making the request in your app). Amazon's Best Practices document http://aws.amazon.com/articles/1904 clearly states that that's what you should do:

500-series errors indicate that a request didn't succeed, but may be retried. Though infrequent, these errors are to be expected as part of normal interaction with the service and should be explicitly handled with an exponential backoff algorithm (ideally one that utilizes jitter).

However, I still think hosting on S3 is a great option. They are pretty reliable anyway.
The "Use j/k keys or ←/→ to navigate" functionality on this page is really useful.
Expel the bullies, force them out of the system. The government has an obligation to educate children, it does not have an obligation to educate bullies. If your child is a bully then you, as a parent, need to fix that if you want them to be able to be educated.
well a quick "goog" brings up this: http://code.google.com/p/doxygen2gwiki/
looking at the video, they good quite a lot of opera specific features in it though. Anyways, this is just a preview, the finished product could look different (and have different features).
38 Unique Musical Websites for Bands and Musicians
Taming the Monolith: Modularizing a Monolithic legacy system.
Not a bully, but a bullied person who is still forced to sometimes interact with his former bullies. In my case, these people are quite functional in society, and when confronted laugh it off - seeing it is one big joke that isn't to be taken too seriously.

It may be understandable that to this day, I honestly still feel my blood boil when bullying gets mentioned.
Ok, as a teacher you come into the classroom and the normally shy kid with glasses is standing there angrily over the popular, loud, boisterous kid who looks shocked. Do you really need to call NCIS? I don't think its unreasonable to suggest you know exactly whats going on here.

(hint: the shy kid probably did not suddenly decide right this moment to pop up and decide to fight for alpha status)
I really like the english "he had seen it coming". Sometimes it would be best not punishing people that just fought back (even if they fought back with violence against non violent bullying).

Problem is though who has the right to decide if it was just or not. This sadly always leads to unjust sentences.
It might be interesting to introduce you people to the concept of humor.
How to negotiate the long, slow, SaaS ramp of death [video]
Hey fellow countryman! What good would it do for kids in our country to learn Open Office, an office suit nobody uses in a workplace?
I must say, I love the WhatIf? weekly feature of xkcd. Always thought provoking.
You were modded down (Score: -1, Bloodlust or whatever), but you still have a good point: if the Syrian regime were as technologically well-equipped as most Western governments, this uprising would have been a very short one.

We are going to be in a lot of trouble if a major Western power ever goes ape the way Germany did only one lifetime ago.
But in school thats not true. The bully has the monopoly on violence, which is enforced by actually committing said violence.
I'm not so certain they're having a "mighty good time". More like "let's hope we'll survive tomorrow".
THANK YOU for the youtube link! The original site made my blood pressure go up and my damn browser freeze.
Beautiful clip!
I strongly disagree. DRY does KISS. Much easier to maintain one instance of a function/method/block of code than multiple copy/pastes. If something requires different behaviour to what is in that extracted piece of code, then it shouldn't be using the piece of code at all. Therefore KISS and remove that reference. In conjunction with the other principles - delegate and DI/Inversion in particular - it'll be easy to substitute the delegate and minimise change.
:) I can agree that it is implicit. I just want it explicit.
Bad sleep dramatically alters body
I disagree. Bullying in public schools has one of the biggest impacts on social, cultural, and personal development. It's not just "a thing that happens" and has no effect, it's ubiquitous and it has a profound negative effect on millions upon millions of people. We give it short shrift so often because we have become inured to it. Too often we think it's just an inescapable fact of life, but it's not.
If you're trying to stop a train with a BB gun conversion errors are not going to be your primary worry.
To append a relevant quote from Einstein
"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
Am I missing something or did you not read the post you replied to?
Seriously, is there anyone who buys rebels story anymore?
Wasn't Libya enough?
But, to open ones eyes, one must face the ugly truth.
Get yourself a book like "How to design programs" and a computer, and hack away.
The more I see pictures like these The more I wonder how well America would have fared if the rest of the world disengaged its self from our revolution the way we are disengaging ourselves from the Syrian one. I understand you don't want to put boots on the ground, but at least give them something so they are not fighting tanks and airplanes with giant slingshots.
"Sure, you don't need to remember anything you can look up in a book (or Google), but you do need to know how to get to the right book again."

Well, I would actually say you need to know "why" you're looking for said book/solution first. Then after you've found the right book/solution then its a matter of how to get there.

In my case, its all about having a good plan of attack. If you know where you're going, then its easy to Google for that solution to get to the next step in your plan.
Ortiz tried to prosecute a lawyer who was just doing her job. The judge threw it out of court. So fortunately for Ortiz, the kind of miscarriages of justice which she advocated for aren't too likely to happen.
>if the Syrian regime were as technologically well-equipped as most Western governments, this uprising would have been a very short one.

What's the gap between most dictatorships and most western governments look like anyway? Is it mainly Nuclear arms?
Beautiful photos, good lighting, great casting... what's not to like. They still missed one "rebel" in flip-flops, must've missed the memo from the Lebanon crew. Though he's technically working on a secret factory, so I guess it doesn't count.

(edit) For those downvoting - you can't be in combat and wear flip-flops. Ask your favorite person who's been to the military service. If you are in flip-flops and holding a gun or throwing a grenade, then you are an actor re-enacting fighting in a staged photoshoot.
Kudos to a Journalist
I doubt you're going to win this war
Not that it makes you any less right, though
Agreed. There is a fine line on how much of this should be used. Teams can spend cycles trying to design everything based on IoC which might be overkill. All rules regarding keeping things simple should also apply to IoC.
yeah no point! at this point its kinda mute... to be useful you need to have your friends in it! and the way its setup its not easy or user friendly to have people join, something like gmail gained traction with invite only because gmail is useful by itself you dont need anyone else using it to make it more useful, at this point it really doesnt matter if its dev friendly... twitter might suck right now for any dev, but app.net limited scope puts it in competition with way more tools than just twitter and facebook's of the world, if you are this limited, you might prefer to go use something like tumblr or do it yourself with your own hosting, why use app.net?
Show HN: I made a site that calculates the market price of items on ebay
Your comparison is incorrect. The citizens of a company are its shareholders, not its customers. And if you are a shareholder the company is indeed spending YOUR money.
How is any of this specific to the mess of the language that is Java?
[video] David Allen on "How to Hack your To-Do List"
This reminds me of:
http://grossfater-m.livejournal.com/1113851.html
(Not related to any rebels, but it's claimed to be a real device)
This was my weekend project. I made it after being frustrated at not knowing what a fair price for an iphone 5 would be on eBay. I posted this a month ago but wasn't ready for HN traffic. Learnt about load testing the hard way and have optimized it since. So, here it is again.

Feel free delve into any questions.
Just what I wanted to read after pulling two all nighters. So how do periods of no sleep followed by equal periods of very long sleep affect the body? And to what extent, if at all, are these changes reversible?
Yes, they can, and the teacher can also get into trouble for not defending children too. Some bullies when they are 15 can be terrifying which is I think the real reason teachers don't confront them. The bullies aren't criminal masterminds and legal experts, they just claim foul on all discipline.
Theres five photos of people in flip flops. With more than one in a combat position.

Can we at least put some effort into the conspiracy theories?

EDIT: Actually six, 14, on the right in 18, 21, 33, 34, 35.
Looks awesome! Some outlier elimination would be great (on a search for a graphics card there was skew due to unrelated items)
Not since 6 months ago: http://www.justice.gov.uk/news/features/2012/squatting-new-c...
+ 1 this is an important point.

We live 200 metres from a very large off leash dog park. Lots of dogs means good socialisation. Lots of off leash exercise means a contented dog who doesnt bark or cause trouble.

If the park wasnt so close we either wouldnt be living here or wouldnt have a dog. Its essential in an urban area.
Just in case anybody from the Loom project reads this:

> Loom licensees receive full C++ source code (and did we mention that Loom licenses are FREE right now? (link to signup page)).

I think there "link to signup page" is a placeholder that made it on the webpage :)
The traffic signals in one intersection a block away from my house include six cameras. I don't know what they're all for... but I'm guessing that it would be a bad idea for me to trundle my homebrew trebuchet up to that intersection and start chucking grenades around.
can anyone invite me
hskoder@gmail.com
will be highly obliged
What are the benefits though? I wouldn't say using Lua is a "primary factor", but Lua is:

* Simple yet powerful

* Supports multiple paradigms

* Fairly concise

* DSL friendly

* Very robust

* Small footprint

* About as quick as they come in this language space, even without LuaJIT

* Supported by tools, debuggers and a community

If I were contemplating building my own dynamic language to support something like a game engine there would have to be some pretty compelling arguments not to just use Lua. I'm sure you've thought about it - so what's the reasoning?
This is the youtube URL, btw: http://www.youtube.com/watch?v=ltun92DfnPY
Dashboards for Graphite
I had a period in my life when I was going sleep in the morning and waking up at 3PM, sometimes sleeping for more than 12 hours. It wasn't devastating so much to my physical health as to my mental health. Sleeping too long is as bad as sleeping too short, not to mention going sleep in the morning for several days in a row. Sleeping properly really is essential for good physical and mental health, don't sacrifice it just to 'do more'.
I'm a bit sceptical of such glorious claims from a company that apparently just made a UI for a libjpeg.
The Atlantic did this same feature with Libya 2 years ago
http://www.theatlantic.com/infocus/2011/06/diy-weapons-of-th...

Here's a great post about how an Afghan refurbished a PKM machine gun:
http://atwar.blogs.nytimes.com/2011/10/20/afghan-gun-locker-...
Getting a precise email regular expression straight is much harder than most questions about algorithms you will ever be asked in an interview.
To me, that describes "maintainability", not "simplicity".
Electrolysis was suspended for desktop Firefox.

Firefox on Android used to use Electrolysis until it switched to the current Java front-end. And FirefoxOS is using it for sure: process per app, so that apps can be easily killed in low-memory conditions.

As for "legacy add-ons", that would be "every single add-on". Not to mention that the desktop Firefox UI itself would have to be heavily rewritten as well. The judgement, as mcpherinm says, was that the cost was too high for the possible gains. I agree that process isolation is good for security, but there are various other security mitigation strategies that can be used that had a higher bang for the buck at the time.
I know I sound fairly like a white imperialist bearing the burden and all that, but bear with me.

We (i.e. first world countries) created really fantastic consumer devices for our daily lives. #30 showed a Samsung Galaxy S3 being used as a guidance tool for a missile. Do we have a moral obligation on the carnage brought about by our devices?

Yes I am aware that you can hack anything into weapons, given the breadth of human ingenuity, but does anyone else here feel a little morally obligated that these technologies are being used for targeted mass destruction?

(that said, I'm really impressed by the S3 being used... as well as the pirated PS3 controller being used to control a machine gun)
Have you considered the possibility that the Bulgarian success was at least partially based on doping ?

I don't know much about weight-lifting, but I recall many scandals in the past years about disqualified Bulgarian athletes for doping.

(I am Bulgarian.)
"Yes, intent only matters if you've committed a crime, but it's not at all difficult to argue that Swartz probably did commit a felony under the CFAA"

You are not saying much here. The CFAA is so broad that one could argue that any Internet user has violated it at one time or another. We might as well pass a law that says, "You are a criminal if the government does not like you."

"If you can't see that, imagine he had downloaded loosely protected private emails or credit card account lists."

Hm, I see where you are going. You are saying that if a business posts a bunch of credit numbers on its website, and says to everyone, "Please only download these numbers one at a time by manually clicking on the links on our website," it should be a felony for someone to write a script that automatically downloads all the numbers.
Erm, what scares you about ability-based classes? The single strongest motivator for me to do well at school was to get into the top set which was free from bullies.
I'm just hoping that once this conflict ends eventually all of these bombs, rockets etc. won't be used to attack other countries in the region (i.e. Israel)
‘Action plan’ for unified EU mobile market
Another interesting answer:

http://stackoverflow.com/questions/233192/detecting-stealth-...

What options are there to detect web-crawlers that do not want to be detected?

(I know that listing detection techniques will allow the smart stealth-crawler programmer to make a better spider, but I do not think that we will ever be able to block smart stealth-crawlers anyway, only the ones that make mistakes.)

I'm not talking about the nice crawlers such as googlebot and Yahoo! Slurp. I consider a bot nice if it:

identifies itself as a bot in the user agent string
reads robots.txt (and obeys it)

I'm talking about the bad crawlers, hiding behind common user agents, using my bandwidth and never giving me anything in return.

There are some trapdoors that can be constructed updated list (thanks Chris, gs):

Adding a directory only listed (marked as disallow) in the robots.txt,
Adding invisible links (possibly marked as rel="nofollow"?),
style="display: none;" on link or parent container
placed underneath another element with higher z-index
detect who doesn't understand CaPiTaLiSaTioN,
detect who tries to post replies but always fail the Captcha.
detect GET requests to POST-only resources
detect interval between requests
detect order of pages requested
detect who (consistently) requests https resources over http
detect who does not request image file (this in combination with a list of user-agents of known image capable browsers works surprisingly nice)

Some traps would be triggered by both 'good' and 'bad' bots. you could combine those with a whitelist:

It trigger a trap
It request robots.txt?
It doest not trigger another trap because it obeyed robots.txt

One other important thing here is:
Please consider blind people using a screen readers: give people a way to contact you, or solve a (non-image) Captcha to continue browsing.

What methods are there to automatically detect the web crawlers trying to mask themselves as normal human visitors.

Update
The question is not: How do I catch every crawler. The question is: How can I maximize the chance of detecting a crawler.

Some spiders are really good, and actually parse and understand html, xhtml, css javascript, VB script etc...
I have no illusions: I won't be able to beat them.

You would however be surprised how stupid some crawlers are. With the best example of stupidity (in my opinion) being: cast all URLs to lower case before requesting them.

And then there is a whole bunch of crawlers that are just 'not good enough' to avoid the various trapdoors.