skysight-inc/HackerNews huggingface dataset:
We had high hopes for nested fragments, especially to support UI interactions like those in the Gmail app: http://stackoverflow.com/q/12253965/2561578

However, in our v1 the only fragments that share an activity are our main feed & story view. All other's have their own activity. It made data flow a lot easier, our manifest file a lot cleaner when filtering for intents, etc.

Interested to hear any tips if you have them!
Matz worked on a spec for the Ruby language, which is now an ISO standard: http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_...
Stability. Once you start to build a family and lay down roots the harder it gets to be able to move because you have to put family first. What may be 'better' for you might now always be better for the family.
> That we live in the world where we aren't sure if any given cyberattack is the work of a foreign government or a couple of guys should be scary to us all.

Actually that's absolutely awesome. Especially in the light of what Assange recently wrote: http://www.nytimes.com/2014/12/04/opinion/julian-assange-on-...

I am more impressed with another of his oracles: the 1945 essay “You and the Atomic Bomb,” in which Orwell more or less anticipates the geopolitical shape of the world for the next half-century. “Ages in which the dominant weapon is expensive or difficult to make,” he explains, “will tend to be ages of despotism, whereas when the dominant weapon is cheap and simple, the common people have a chance ... A complex weapon makes the strong stronger, while a simple weapon — so long as there is no answer to it — gives claws to the weak.”

Hacking is a cheap weapon with no answer to it, what was proven over the recent years and therefore it is democratizing force for good against the tyranny of the powerful.
Maybe we're talking past each other here-- there's a significant qualitative difference between the risks of uploading data to a globally-routable server somewhere, and storing that same data on a firewalled, password-protected system on an internal network which could theoretically be owned from outside.

The former is obviously unsolvable, and "don't transmit anything you don't want shared" is good advice. But surely we want to arrive at a world where typical end users can feel secure about the data on their own computer, even if it is plugged into an ethernet jack.
Apple Canada iPod History (glitched images)
I think, what it really was was they messed with the torrents?

Which technically is not ddos, or perhaps it technically is but not commonly called that.

But I too thought that's a hell of a statement, then when the links didn't match thought something was confused.
NFC would be a great intermediate solution to address this problem. Here's hoping that at the next WWDC, Apple will open up their NXP chip to everyone.
That's what Cortana is for.

For instance today if you have a Philips hue lights and a windows phone, you pick your phone, screen is off, you press the search button, and says "huestro, set my lights to ..."

Hopefully you'll be able to say that directly from your Xbox one microphone.

But this article is spot on, that's a reason Philips released the pricey "hue tap", a switch that frees you from using a smartphone

http://www.windowsphone.com/en-us/store/app/huetro-for-hue/f...

http://www2.meethue.com/en-us/the-range/hue-tap/
Just too languages being available != "tools".

Where are the toolchains, IDEs, libs, etc for those?
Well, sorry but sed _is_ cryptic.
Let me quote an exemple for you (squeezing blank lines):

>leaves a blank line at the beginning and end if there are some already.

#!/usr/bin/sed -f

# on empty lines, join with next
# Note there is a star in the regexp
:x
/^\n*$/ {
N
bx
}

# now, squeeze all '\n', this can be also done by:
# s/^\(\n\)*/\1/
s/\n*/\
/

As soon as you begin to use sed registers, the code becomes arcanic.
Line up the left hand-edges of 'Hacker News', the post titles and descriptions and the heart icons. Lighten the background. Apart from that I like it, and the addition of images from the linked articles is really nice and refreshing.
This one sentence towards in the bottom of the article needs to happen. As we saw in the Eric Garner case, video footage means little.

> To improve accountability, complaints should be heard by independent arbiters, brought in from outside.

The prosecutors and police are on the same team.

> If an officer is accused of a crime, the decision as to whether to indict him may rest with a local prosecutor who works closely with the local police, attends barbecues with them and depends on the support of the police union if he or she wants to be re-elected. Or it may rest with a local “grand jury” of civilians, who hear only what the prosecutor wants them to hear.
Regarding the use of Google Play alpha/beta testing, I created a Jenkins plugin to automate app uploads:
https://wiki.jenkins-ci.org/display/JENKINS/Google+Play+Andr...

Though personally I use HockeyApp as you can upload iOS/Android apps and they become immediately available to testers — no waiting for several hours for your apps to appear, as occurs with Google Play. HockeyApp doesn't tie you to a particular form of user management either. Hopefully Microsoft doesn't change too much there.
J Dilla is truly a legendary musician.
ElloBEE transforms the way you network
I think what people are hinting at, but not explicitly saying is the $10M vs. $1M tradeoff between hardening a database and notifying users is a very narrow perspective. They're not weighing the possible monetary losses to their users or possible damage to their reputation.
Not at all. I'd say it's practically impossible if you need each of those relationships to be a 70%+ favourite.
Is there such a thing as dangerous information?
The accelerator is pretty tiny! Unless you count the FREAKING GIANT LASER sitting next to it. Seriously, it's not just big, it's old-computer big:

http://www2.lbl.gov/ehs/news/assets/img/news/setupBELLA.jpg
http://www2.lbl.gov/ehs/news/assets/img/news/finalBELLA.jpg

Although smaller than the LHC, i guess.
Is Your Website or App Ready for Mobile?
That is a fantastic way to handle this situation. I hadn't thought about this before, but it's great to know that the money will never go to waste!
Similar:

print '\n'.join(['FizzBuzz' if x % 15 == 0
else 'Fizz' if x % 3 == 0
else 'Buzz' if x % 5 == 0
else str(x) for x in range(1, 101)])
Another thing i dont understand is why people hardcode 15. I would rather write (3 * 5) and let the compiler figure out that 3 * 5=15. This way i think it more clearly states where the number 15 comes from. Any reason to write 15 over (3 * 5)?
Depends how you phrase the question. Do I want a water sensor by my sump pump that will alert me if it overflows? Yes. Do I want to have my garage door close automatically if I forget to close it? Yeah that makes me feel safer. Do I want to be able to set the thermostat when I'm not at home? Yeah, that's handy.

Do I want to turn on lights, lock the doors, or raise the temp when I'm actually at home with a smartphone? No, that's just silly.
The size of your latte has everything to do with your status at work
> But by then Sony Pictures as an entity may no longer exist.

Is that a bad thing? I'm asking honestly.

Why would you think that Sony Pictures ceasing to exist is a bad thing?

Many other companies that made bad decisions ceased to exist before thus releasing their employees so they could work at places that don't make that many bad decisions.

Why is that bad?
Yes. Peaceful. Until cops started beating people, arresting them and chucking teargas.

The people vandalizing have nothing to do with the protesters.
Small complaint (about an otherwise very good article):

> Eric Garner ... guilty only of selling single cigarettes

The cops involved suspected this, but I don't believe it's known that he is guilty of this. Especially in a legal sense: he did not live to see a trial.
some kind of controls on who can legally hold personally identifiable information on their systems and who cannot

Like EU data protection legislation? This has the added benefits of discouraging speculative accumulation of personal data by all and sundry.
Completely agree. Some of the unhappiest engineers & designers I know are on teams trying to copy the company's iOS app on Android.

We were admittedly in the position you describe: a company of majoritively iPhone users who shipped the web & iOS apps, cleaned up the API and were starting on Android.

I don't think there's a perfect solution but we found digging into some of the guides & sample apps listed here to be particularly useful: https://github.com/nstevens/androidguide/wiki/General-Androi...

We also ordered a range of devices and hooked them up to our Play Store alpha channel so every build had to go through the 3" phone and 10" tablet test.

Finally, it helped to have a couple hard core Android users on the team who could explain why simple features like the 'back' button are truly game changers. There's a good post on some of these differences here: http://paulstamatiou.com/android-is-better/
The one feature I miss from Mercurial is the "hg serve" ability. When combined with the zeroconf extension, it made it really easy to push/pull changes to/from other developers. Since switching to git, I don't think we've had one (vcs) push that included commits from multiple developers, but we used to do that all the time. I know git can coerced into doing something similar, but hg made it so damn easy that developers actually used it.

Addressing your actual point, most shops won't use the full value of a dvcs, but they'll all get some benefit of it being a dvcs because each and every developer's machine has a backup of the central repo which, in the event the main git server dies, can be used to restore everything to it's previously happy state. When you use a vcs like svn, you need to be a lot more paranoid about backing up the central server or you risk losing revision history.
This is really awesome and a good example of a cheap Android device as glass for software (what a world). Do you just have it instant-on when you push the power button? What about having it automatically wake up when you pick it up? (Since yours is a web-app, it might require you to use something like Tasker to do it.)
It doesn't. But that's why people are protesting now. I doubt they are protesting anything to do with Peter Thiel. Just they want to bring attention to their cause.
I'm pretty sure Sony pictures had nothing to do with running Linux on your PS3, but regardless, many people being hurt here are just regular employees, not executives who made the decisions you/we don't like.
Tab (https://bitbucket.org/tkatchev/tab) is another interesting recent text processing language.
How about also ending grand juries altogether (or at least in cases of potential homicide)? It's obvious that the people on the grand juries are not qualified to asses anything and it's an archaic system not employed by any other country (http://en.wikipedia.org/wiki/Grand_jury).

In addition, the prosecutors' powers need to be curtailed. Such crimes should always be charged, regardless of what the prosecutor wants. If there is doubt, bring in an outside prosecutor like the article suggests.
It seems to me that you want to be involved in startups that have just got traction in the B2C market, AkA created that 'wow' factor that you mentioned.

Your long track record in a fortune 50 company might be the thing that steers you away from getting accepted to such companies. If I was hiring you, the first red flag I'd get is 'this guys experienced' - how much is this going to cost me?

Likely, the jobs at small disruptive companies probably work on recommendations. I see your options like this if you want to make the change:

Option 1: Get a recommendation to a company your interested in and expect a pay cut.

Option 2: Find a startup that you're interested in, offer to help them out, make connections; or, join one.

Option 3: Start your own B2C startup, do it as a side project, build a team and quit your day job when you're ready.

There is nothing worse than doing a job that you're no longer interested in. I know your pain, everybody has been in your shoes at one stage in their life.

This is my email, your welcome to email if you want any advice, lukejamesfitzpatrick@gmail.com
How about a thumbdrive computer that can be attached as needed?
I've been in contact with the said governor and Land Border Integration (WHTI) to see if they'll accept ETC (Enhanced Tribal Cards) along side the application.
My hopes are that I can start creating digital cards for tribes, a long side hard cards.

This will save so much time imo, and more secure than you're standard hard card which is way to easy to replicate.
Well, troubleshooting why the heck Google's or FastMail's message didn't reached the recipient or why customer's e-mail hasn't arrived is much more difficult than looking at your own logs.
You should feel relatively secure, but you should not be amazed if that information gets copied/stolen.
From the article linked above it seems like people at Sony were exploiting the security budget, they had eight managers for three analysts: ”documents leaked after the recent attack show the company had just 11 people assigned to its information security team: ‘Three information security analysts are overseen by three managers, three directors, one executive director and one senior-vice president.’”
This is not meant as a troll post but a genuine observation after spending the last year or so migrating various businesses away from MongoDB (or from parse which uses mongo):

Has anyone ever built a non trivial application on MongoDB and been happy with their decision, say, 1 year later? If so, what kind of use case was it? I am genuinely curious.

The impression I've received is that Mongo is ridiculously easy to get started with but the flaws become more and more of a hindrance over time, eventually making certain types of application features virtually impossible to implement.
I wouldn't want to spoil it for you ;)
I mounted the tablets on walls with $10 kits from Amazon that use those 3M removable strips to hold the mounts, and drilled small holes for charging cords. I have the screens set to never turn off, and leave the browser open. So all the buttons are always just there on the wall, ready to be pressed. Nothing needs to wake up first.

BTW, Windows 8 8" tablets are now under $100 at Wal-Mart and Best Buy, so you aren't even limited to Android for this kind of thing anymore.
Does anyone know the project cost for developing this app? I've done a fair amount of google'ing to little avail.
I feel like I must be missing something about the concept of a "smart home". Why can't I just leave the light switch (or any other controller) how it is and just have an additional Internet-based fancy control for automation or use when I am away from home? I don't see the need for any new control interfaces for things I can already control perfectly well.
That’s overly reductionist. http://federalevidence.com/pdf/EvidViewPoints/aug.2012.EVP-K...
HttpRouter: A high performance HTTP request router that scales well (Go)
> I'm torn. On one hand, I want to see Sony the company suffer, but it still feels unfair to attack and expose the people who work there - the folks who are just trying to pay their bills.

Companies can and should die. That's their secret superpower, that they can die without destroying and killing of all they consisted of.

That's why economy works. Companies that make bad decisions die and resources (human and the other kind) are absorbed by other entities. Sure it might hurt, but keeping alive company that makes bad decisions causes much more hurt to the world. Pissing off lots of competent people to the point that some of them did what they did is not a good decision for a company to make in XXI century.
great! added a link to the wiki
7 illusions to mess with your brain
Critical thinking is overrated, constructive thinking is underrated.

Too many turn into critics rather than creators because saying to the world "this is what I stand for, this is what I created" is so much harder than to simply tear someone elses down.

The US is actually much better than Europe but unfortunately academic disciplines and craftmanship are mostly separated in the education system when they should never have been separated to begin with.

Its a shame really cause creation is what matters. And yes I understand the irony of my comment :)
I like three general types of comments: 1. Personal stories that expand on the submitted article. 2. Corrections or expansions to the submitted article in details. 3. Corrections or expansions to the submitted article in the core theme.

The ones I dislike are uninformed or overly emotional.
Sony is a pretty terrible company. That doesn't mean that their rank-and-file employees deserve what happened, but you don't have to search very far to come to the realization that the Sony conglomerate is one of the most anti-consumer organizations in the business world.

Examples:

http://boingboing.net/2005/11/14/sony-anticustomer-te.html

http://arstechnica.com/uncategorized/2005/08/5165-2/

http://www.techhive.com/article/240213/sonys_no_sue_playstat...

https://defectivebydesign.org/sony
Properly airgapped systems are really tedious to work with. You can only install software from physical media. In a world of digital distribution that's a huge inconvenience; what do you do when you want an update to Adobe Premiere?

And if you don't airgap all the editing systems you might as well not bother.
The article is completely wrong. There's hardly any negativity on the Internet at all, and none of it comes from our training.
Does anybody even use the Amazon app store for anything other than the free app deal they have every day? I just don't see why a user would prefer it.
You should run your own mail server, both personally and professionally.

The whole internet thing gave us all a post office, gave us all a printing press and a newspaper. If we let corporations make running a web server or mail server or whatever too hard for a garage tinkerer, we as a species have lost a lot of freedom. Keep the Internet free: run your own damn servers.
That was my interpretation of your comment, but I'm still not sure I follow. In my understanding, by using RAID 0, any single disk failure will brick a node. Each node would then have 3 disks that are ticking time bombs (multiplying the failure rate by 3). How is that more reliable?

In RAID 5, I can have 1 disk failure on a node with no problem. 2 disk failures on the same node, and I only lose 1 node of my 12 node cluster (I.E. cluster is fine). I can also theoretically lose 12 (1 on each node) + 2*(RF-1) disks, and gracefully repair the situation with 0 interruption.

What's the benefit of RAID 0 other than increased usable disk space and perhaps write performance? It seems you're decreasing reliability significantly for those gains.
Yooo: Python URL Shortener API
Inverview Smells: Observations from the candidate side
What's the advantage of using the limited termbox interface over (n)curses, or just using the low-level terminfo library directly?
You're basically saying that nothing on a networked computer should be considered private, including all the authentication details, which kind of makes banking (and bitcoin!) meaningless.
tl;dr Paul Graham's Hierarchy of Disagreement [image]

http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Gra...
Having learned and put into practice formal proofs of correctness at CMU, I can say that it has fundamentally improved the discipline with which I write production code. The undercurrent of "Is this provably correct" is still there 30 years later, and it produces better code than the more obvious "Will this work here". The cost in production time is small compared to the later revision, refactor and maintenance issues.
Seconded. To elaborate, it is essentially a lightly edited transcription of all the lectures of an undergraduate introduction to categories course, complete with diagrams, exercises, and dialogue, and even including students' answers (right and wrong!) to review questions. It's a very unintimidating format, and the book does very well to help a beginner get firm footing with the foundations.
Rendering SVGs with D3 and Node
I'm inclined to agree about limits on discretion in these cases. You can't take back homicide, so it's better to hold a trial automatically and air the entire issue out. In cases of justifiable homicide, the justification will be much stronger for having been challenged and considered.

The English jurist Lord Hewart said it best: 'Not only must Justice be done; it must also be seen to be done.' http://en.wikipedia.org/wiki/R_v_Sussex_Justices,_ex_p_McCar...
How would you value the loss that Sony has faced here? If you guessed more than $1M, you did better than this guy.
I'm in the middle of doing an embedded control system project and I'm using Python 3.4 to do it. The embedded computer runs Debian Linux on an ARM processor. The Python program interfaces with the following: J1939 (CAN bus) network, dual RS232 serial ports, HTTP over TCP on wireless ethernet (for remote operator's panel). The HTTP server is Tornado. Most of the remote interface is done using Javascript.

I'm using Python 3 because I'm using the new asyncio library designed by Guido. So far, it is working out really well. There was some learning curve to get started but now it is very easy to add new modules to the system. I designed a very lightweight version of an internal message bus, similar to NASA's GMSEC. This allows separate modules to communicate without tight coupling between them.

The asyncio library doesn't have high-level support for socketcan so I had to use some lower level facilities. That took a little research and some digging through the asyncio source. The asynchronous design provides great responsiveness without heavy resource use (CPU or memory). I've done other similar systems using threads or polling but this Python 3 version is more elegant by far.

It would have been nicer if the migration path from Python 2 to 3 was smoother. However, after using it for serious work, Python 3 works great. I still wish 'print' was a keyword or there was some other debugging version of print (e.g. "dump var1, var1"). That's not a showstopper though.
I'd suggest mastering Java before moving on to another language. Every language has issue and none of them are 10x better than the others. Mastery will help you more than learning three languages to a novice level.

If you choose to do Java, I am a big fan of Google App Engine because it forces you to write scalable code from the beginning.
A team of three analysts with eight bosses. That's a new circle of hell right there.
Some of the first world problems of HN users using technology are beyond the pale. I was arguing mouse vs remote/phone for playing media on a media server, and someone's retort was that a mouse would require them to have a surface upon which to use the mouse at their couch. I've spent way too much time envisioning this mythical surfaceless couch and person.
Who cares who writes the essay? If you aren't reading the content without regard to who wrote it, yes, it will be less credible. You're using a system of authority / ad hominem, and those two sides of the same coin are not a good barometer for truth.

Who cares that he made money on it? If you want to really get into this discussion, anyone who writes about startups has a vested interest in advocating them -- that way their work is relevant instead of confusing ("let me tell you about how bad this thing you weren't going to do is" doesn't make sense to write). This whole line of thinking leads no where.
See also: Why our kind can't cooperate. http://lesswrong.com/lw/3h/why_our_kind_cant_cooperate/