skysight-inc/HackerNews huggingface dataset:
> It's really not all that bad, there's also the cache coloring and memory ordering stuff, but it's well documented at least. There is a lot more historical baroque stuff about x86, like int 80, syscall, or sysenter?

That's not relevant for current processors; it only matters if you need to support older processors, and in any case you always use the most capable interface provided by your processor. The older interface only matters if you support processors that are well over a decade old. Current processors have to support old software; current software need not support old processors. So unless you're hacking on the guts of the Linux syscall layer...

> For extra credit how do you find-out and are you sure your approach works on Cyrix and Via too?

Cyrix doesn't exist anymore, and VIA doesn't appear to have any current-generation hardware. So, unless you used to work on them and you have to avoid regressions, you can almost certainly safely ignore legacy hardware, just as you shouldn't optimize code for the Pentium 4 anymore. Especially if you're writing 64-bit code.
Yeah, that specific article was on my mind when I wrote my comment. But I didn't say there were no more discoveries left to be made; I said they weren't happening in people's garages anymore, which is true in the majority.
I agree. The name confused me until I spent more time with the docs than should have been necessary.
Why do people think that it's OK to allow kids to drink soda? In fact, why do people think that drinking soda is something that anyone must do?

I used to drink soda. Gave it up many years ago. Have not missed it. Have much less of a sweet tooth now; don't eat desserts very often, and when I do, a very small portion is plenty. I think giving up soda helped with that.

If I want a caffeinated beverage, I drink coffee, black or with cream but no sugar. If I want a cool, carbonated beverage, I drink beer (which has most of its sugar fermented out; still has some calories, but not nearly so sweet). If I just need to be rehydrated, I drink water.

It seems to me that so many people have this idea that sugary drinks, whether in the form of soda, sweet juices, sports drinks, and so on, but drinking those on a regular basis is a fairly new thing that I don't thin our bodies are well adapted for.

Cutting out sugars via drinks are some of the easiest empty carbs to cut out of your diet.
It always felt a lot better than facebook and twitter except few outside of FOSS, certain photographers etc used it.
Or that you have two parties use these on each other. No malfunction needed.
Here's a few basic reasons:

a) There are business incentives to give the AI more capabilities and more information about the world.

For example, if you have a cheeseburger bun factory with a complicated production line then you could use the AI to come up with more efficient layouts and machines for making cheeseburger buns. After awhile you realize that humans implementing what the AI explained is by far the slowest part of the pipeline, and ask if there's some way to have the AI build the production line by having it directly do the online ordering or 3d printing or whatever. At first you pay people to sanity-check what the AI is ordering and doing, but they never notice any problems so eventually you cut costs by laying them off.

b) Side channels and exploits are a thing.

Imagine yourself in the AI's place [1]. Is there really nothing you can do? Or is the security based around the fact that you don't try to escape?

"Hey Larry, why is the description for so many orders coming out as 'Warning: ketchup parameter set too high. See <a href="javascript:{...sudo...WebSocket...dumps.wikimedia.org.../resetpassword/?user=billgates...}">the manual</a>.'?".

"God damnit Ted, do you not see the link that says 'the manual'? Maybe you should click that before bothering me!"

c) Instrumental goals.

Any optimization process with an unqualified goal like "find a way to use this API to make lots of burgers, then do that" will favor plans where said process ends up with huge amounts of power over the world; simply because more burgers get made in that situation than in other situations. In some senses, failing to actively search for escape exploits could be seen as a design flaw because the algorithm is failing to find clever solutions that are better according to the stated goal.

1: http://lesswrong.com/lw/qk/that_alien_message/
The Internet of Sound
Modern weapon systems are already largely autonomous. Humans do not have the speed or cognitive bandwidth required to be effective on a modern battlefield given modern capabilities. Instead, the human operator is there to operate the "on/off" switch, do maintenance, and to watch for when things go wrong.

If you look at the design requirements for recent American weapon systems, they frequently require the entire sequence of detection, discrimination, analysis, and reaction to be completed in less than 50 milliseconds. Because a slower reaction means you won't survive. Only computers are going to be delivering those SLAs.
> It is pretty easy to setup your own repo on a server using reprepro or aptly

Sure, it'd easy to set it up yourself. But the point is that PPAs are managed by someone else and have already been set up.

If I want a new software, and there's a PPA, I can just use that PPA and be able to use it straight away.
There are certain areas where you just don't want to do business unless you're connected. Here we have a Pampered Prince, son of President Jimmy Carter's arguably worst Cabinet member (https://en.wikipedia.org/wiki/Cyrus_Vance) who's obviously targeting the vulnerable instead of connected criminals like Jon Corzine of MF Global infamy. I'm sure the Sungs are wondering why they aren't operating in the PRC where the racket is more open and honest (granted, escaping in 1952 was a very good idea, but nowadays...).
Hopefully they decouple G+ from Youtube for everyone. The G+ comments are somewhat unhelpful below a Youtube video.

Before there were always discussions with answers, nowadays you see mainly "check out this video my friends on G+" kind of "trash" in the video comments.
Just threw v0.0.4 into gedit for a trial run. I like it a lot, very readable. I will echo JohnDeHope's comment that the double quote seems a little too light to match well with the other characters. I'm eager to see where this goes!
It's ramping up:

Square Enix's solution
https://www.shinra.com/us
But there's no reason you can't have the cake and eat it too; you can create a virtualenv from a requirements.txt file on your build server, then package it up in a deb package that installs those files in a custom directory (not in the shared Python modules path).

That way, you get static artifacts you can deploy (instead of deploying using pip, which requires compiling any non-pure-python package on the server), you get to use apt's dependencies for non-Python packages, like system libraries, and you can easily rollback by simply pushing the previous version of the deb package, which is cleaner than rolling back with pip, in my experience.
I think the difference between having a bag of candy every day and a diet pop every day is that it isn't healthy to have candy that often. As far as we currently know, there isn't anything wrong with that level of diet pop consumption.

I am in the same boat, I probably have 4-5 diet pop drinks per week. However, if it was naturally sweetened pop I wouldn't consider it OK to drink more than one a week. Everything in appropriate moderation. Although, to be fair, I don't consider the level of pop I drink to be "reduced", but it's less than what some children will drink if left unmoderated.
Ask HN: What advice do you have for non-technical people interested in tech?
Didn't find much by searching through old posts, but I think this is becoming more and more relevant. Would be interested to hear from engineers, non-technical people who have learned from experience, and ideally a few founders as well.
>even if you trust, say, the United States government to hold to the spirit of any such agreement, which I'm sure many here already wouldn't -- there is no reason to imagine that nations like Russia or China would

This is so wrong. When it comes to war, do not expect any side to be the innocent one. US would violate just as many frameworks and treaties as Russia or China can.
You're kidding me. Have you tried to manage a cross platform build using make?
Depends on what you mean by 'chips'— Qualcomm sells both discrete modems, which many cell manufacturers use, and systems-on-a-chip including modems, which they had recently been doing very well with, but just had a bad round of.
Sennheiser CX 685. They are a little pricey but work well. I got them for the gym and for when I run. They stay in your ear pretty well even when your running and all sweaty. That might not be what your looking for but I figure I would throw it out there. It's funny you posted this because they just crapped out on me last week after 2 years of daily use. I've had Sony earbuds before them and they would only last about a year.
http://www.amazon.com/Sennheiser-CX-685-Adidas-Headphones/dp...
950 Million Android phones can be hacked via a single unopened MMS
I know it's standard tin foil hat territory, but wouldn't the biggest non-governmental risk be large multinational corporations? Some companies have incomes comparable with nation states, I'd have no reason to suspect they'd be any less capable of building military technology that rivalled those from a country.
Twitter [curate your followers] and Reddit [for things not on your own radar]
It felt horribly invasive.

I hope other sites learn from this and not jam social networks down people's throats.
Wearable technology for Safety
The problem: Women’s safety is a big social concern. Sexual assaults on women are increasing over time and there is an Epidemic of Fear. 92 women are reportedly raped in India daily. 34,000 rapes were reported in 2013. But 90% of rape cases are unreported. In a New Delhi survey, 95% of women had experienced some form of harassment in the past year. Hot spots are bus stops, buses, metro, autos, parks and roads. The emotional as well as physical consequences of such attacks are great, and often result in depression and post-traumatic stress.

Share your opinion: Do you think wearable technology can offer help and offer an increased peace of mind?
Leadership Lessons from the Biggest Drug Dealer in History
I feel like people are actively trying to worsen their diets, despite vocalizations to the contrary. (I'll be speaking from an American perspective here). I mean, people say they want to eat healthy, but all the actions I see are in the opposite direction.

First, there was the anti-fat movement. Everyone ran from fat like it was the plague, believing it to be responsible for heart disease and obesity. Turns out, neither is true, quite the opposite in fact, and fat is generally good for you (excepting, e.g. trans fat). What happened, though, was that fat was replaced by sugar in our diets. Leading to obesity, diabetes, and heart disease...

Alongside the anti-fat movement came olestra, the fat substitute that solved the problem that people created with the fat witchhunt. This was their fat savior, and what was the general response? Everyone was afraid of this scary chemical, worried that it would cause anal leakage (hint: it doesn't); they burned it alive and went about their merry lives with a jug of soda in their hands.

So, now we're knee deep in the consequences of that previous diet, and people say they want to be healthy again. Science creates artificial sweeteners, so as to sate the new desire for sugary food and drink. The response is again one of unfounded and irrational fear.

So people turn to what they view as their last bastion of hope: vegetables. But no, we couldn't just eat vegetables. We could only eat them if they were organic. The general thinking being that organic vegetables must be healthier, and avoid dangerous, scary pesticides (hint: the pesticides on organic food are worse). Problem is, vegetables were expensive and difficult to use in the first place (they spoil quickly, requiring frequent market trips). Organics only made it worse, for both organic and non-organic sources. And to top it off, people are wailing against GMO, which would have presented a solution to the insane desire for "organic" foodstuff.

I just don't get it. The average person bemoans their health and cries for a better diet, but every step they take is towards something worse. A great example I've found is bacon. I tell people that bacon is good for them; a healthy choice. Every time I receive puzzled looks and they think I'm joking. Usually while they stuff their faces with hamburgers. But guess what? That hamburger comes with a calorie loaded, glucose spiking bun, and sugary sauce. The beef it's made from has perhaps the worst impact on the global environment of any animal based food. And people will scarf down their entire 1000+ calorie burger, only to feel hungry enough to eat some fries to top it off. My bacon? It's a measly 43 calories per slice, with me maxing out at 4 slices on my best days. I feel full and sated afterwards, with none of that hamburger bloat. Pork is significantly better for the environment compared to beef. And I didn't have to put sugary sauce or carb heavy buns on my meal. And all that fat? Bacon has the same fat content as a hamburger.
I agree it's strange. If you pull any fan, the machine hard shuts down a few minutes later (it even warns you of this in a note printed inside the case). Presumably if a fan fails and you don't manage to get to it in a few minutes, then you're out of luck. The only good thing is that it is possible to hot-swap a fan in a few seconds if the fan is failing-but-not-failed (if that ever happens - it seems unlikely).

Edit: Would love to know what the list price of my machine was back in 2006. Probably thousands ...
Rebuilding a Detroit neighborhood with faith and vines
Here is how I fall off the atkins diet.

First I was on strict diet, less than 10 grams a day sugar first two weeks, then restrict to less than 20 grams and gradually increase... Then one day I had craving for chocolate, got one with malittol - first a little chunk, then a bit more, a bit more... Then I had troubles in the loo, more troubles, more troubles, and... switched back to normal chocolate.

It did not worked for me. But it could the next time...
This is them finally admitting they were being evil. They put their empire and monopoly ambitions (defeat Facebook and dominate social networking as they do search and ads) ahead of the actual interests of their users.
Another open tool is Wireshark,
https://wiki.wireshark.org/CaptureSetup/USB
https://www.wireshark.org/docs/dfref/u/usbdfu.html
Take a look at the history of the Manhattan project.

It's a fascinating case study of how the most brilliant minds on the planet, can end up on opposite sides of a moral question.

For every Robert Oppenheimer who has a doubt and raises the moral question, there is an Edward Teller who is charging ahead doubt free.

At the end of the story the strength of the personalities mattered much more than the soundness of their arguments.
Community AMI

ec2gaming or ec2 gaming
I know zero people that had a Sega Genesis and didn't love it as a kid.
At first I thought Stagefright was the catchy name for the bug, and I expected to see a nifty logo for it as well.
Sega handed Nintendo its ass during the early 90s in the USA by positioning themselves as the modern video game company for the 90s, full of rebelliousness and attitude. This was reflected in their positioning of characters like Sonic and their admittance of games with blood and other violent content like Mortal Kombat.

The only problem is 'tude only gets you so far, and without a cohesive technology strategy to see them through into the next generations, Sega faltered big time, stretching themselves too thin and spending resources on wacky go-nowhere strategies like the 32X. The Saturn had weak 3D capability but more memory, allowing for impressive sprite-based games the PlayStation wasn't capable of; yet such a system was difficult to position in the American market and Sega never recovered from that.

Also Nintendo realized that gamers were getting older and starting in the late SNES era, loosened some of its content restrictions, negating Sega's edginess advantage.

Still, I think more Gennys were sold to Americans than SNESes, so Sega may have been able to say in some sense that they "won" the fourth console generation in that market. The true pain for them would come from trying to stand against Sony in the fifth and sixth generation eras.
Isn't it interesting how 3 years is such a long time to support things now?
7 Ways to Keep Your Startup Team Motivated
Show HN: Twin Cities Single Track Conditions (Angular Webscrape)
I've moved stacks a few times. Here's what works for me.

Learning a new stack, is like baking bread. You can't just throw all your ingredients in at once. You have to start with a base, and then slowly fold in more as you're kneading the dough.

In software concentrate on the core language first. When I moved from .NET to Ruby, learning the language was pretty straight forward. Almost everything I knew in .NET is there in Ruby, just under a new name. I spent a few weeks getting really comfortable there. Then I started learning rails, then i started learning active record etc. Just fold in one framework at a time. After a while you'll have a good skeleton, and then you can start using your previous experience to ask more pointed questions.
Out of curiosity how did you find that out? I've been looking for a decent debugging workflow for React.
For the amount of passion it seems a lot of animators put into their work it seemed more interesting that there was an artistic decision about how the audience will connect with their character to explain the style and not that it was just too difficult. But that may very well be the case and the other is just a convenient side effect.
> our only option as purported "good guys" is to arm ourselves

So do you think it was a mistake by the "good guy countries" to sign the 1972 Biological Weapons Convention?

https://en.wikipedia.org/wiki/Biological_Weapons_Convention
Same goes for green juices. Our bodies were not meant to receive an immediate intake of 10 freshly pressed celeries or 3 bunches of kale in one sip.
Read the article, it clearly says...

On platforms which do not support “-apple-system,” the browser will simply fall back to the next item in the font-family fallback list. This provides a great way to make sure all your users get a great experience, regardless of which platform they are using.

There are currently discussions in the w3c regarding standardizing this value so authors could simply specify “system.” However, these discussions have not reached consensus, so WebKit prefixes this value.
It's not, but it seems like the term is being used that way anyway. I've heard "is your device vulnerable to Stagefright?" quite a few times already.
There's a line to be drawn between "don't be evil" and "don't do evil". With such a huge organization, things slip through the cracks and accidents happen that result in bad things. But I find it hard to believe that Google decided to out someone.
I'm curious if this will work even if components use (e.g.) PureRenderMixin. Because I've been looking for a simple way to "inject" props downstream with pure components.
> trans fat

Saturated fats are not good either.
Unless Apple makes it available for your use, no. Every system has its own system font and you can find them easily on the web.
APJ once said, "the best leader when failed, take the complete responsibility of failure, and when succeed give the credit to his team - this is the best management principle i have learn for the first time"

https://www.youtube.com/watch?v=wZkT0tcqEG0
I was using Orkut(here in Brazil) in 2004. Long before Zuckerberg was even thinking about building one, and before the MySpace fever in the US.

About the time Facebook was catching up here in Brazil(about 2009/2010), Orkut had years ahead of social networking history.. they lose to themselves, or to the social class system here, because too many people was using it, and the early adopters, and the "cool people" were abandoning the ship, because it loose the energy, and became too spammy
Lost&Found story via self narrative video spread virally via social media
G+ lost because Google forced G+ to every Google account. Post something to Youtube, you silently created a G+ post. Upload something to Picasa, you silently published the photo to your G+ newsfeed, etc. - quite toxic. And have they learned from their Google Buzz (G+ predecessor)? Nope, same behavior.

I have somewhat similar feeling about the upcoming Win10 launch, and in near future a lot normal user will learn the hard way why they got Win10 in exchange for the current Win7/8 license.

Simply don't outsmart your user base.
Satellites can actually be destroyed using weapons that aren't in space. Back in 1985, the US had a F15 launch a missile which took out a satellite in orbit. China also recently destroyed a satellite with a ship-launched missile.
I use old fashioned pen and paper.

I have a weekly calendar, one column for each day and it is 8.5x11 landscape. I plot out my week with things like errands, standard weekly things like "put out the garbage", "pick up co-op share", etc. Add in work tasks, etc. Cross off when done. Circle when not finished.

I also have a "shit list" as it is entitled. Tasks here need to get completed or bad things happen :-)

So I carry around a few pieces of paper and my trusty pen.
Rent vs. Buy: If You Have to Ask, You Should Probably Rent
Most people seem to either not realize it's bad for you, or not care because they are so used to it.

I significantly cut back on soda last year, and haven't had any at all for months. I drink mainly water. I don't miss soda; doesn't even sound appealing any more.
I once met Dr. Abdul Kalam. He said, he wanted to become a pilot but couldn't because of his height/eyesight (not sure which). But he did not become dejected. He still got into flying, as an aeronautical engineer.

May his soul watch over the world.
I'm typically skeptical of GUI-ish things, but I trust mixpanel (and their awesome support team who I harass on the regs) to make sure that I'll be able to get the info I need about our app. Should be interesting to see how this product plays out.
A bag of candy daily isn't a usual occurrence. In the US, multiple sodas a day is pretty usual.

One by itself at some point in the day, one with lunch, and often times once with dinner as well.

That's how my teenage years went and I wasn't alone. As an adult I "limit" myself to 1 a day - although more typically I limit it to 2 or 3 a week. Which I still feel is too much.

Water all the time is "boring", I'm lactose intolerant so milk is out of the picture, juice makes me more thirsty. I often have tea, but I dislike chilled tea and hot tea during a hot summer isn't pleasant.

I feel like my dislike of having "plain old water" all the time is my only issue with consuming less soda. If I could get over that hurdle I'd be fine.
Good points. Important to note that "current generation" hardware means something different to VIA given they focus on low power and embedded. They do plenty with 20-30 watts, though:

http://www.via.com.tw/en/products/processors/quadcore/index....
In Praise of the AK-47
> The G+ debacle was greedy, annoying, and user-hostile, but _evil_? Really?

If it was greedy, annoying, and user-hostile, then yes--according to the context of Google's motto[1]--it could be considered evil. "Evil" in this case doesn't mean the same thing it does when we're talking about rapists, murderers, and Dow Chemical.

[1]https://en.wikipedia.org/wiki/Don%27t_be_evil
Sorry, but anecdotal evidence like that is not a valid counterargument. To the contrary, anecdotal evidence is oftentimes damaging. It spreads misinformation and fear, and is a common tool used by those with perverse agendas (I'm not imply this is the case here).
How Mobile Games Can Increase Awareness?