skysight-inc/HackerNews huggingface dataset:
yeah but then there is badusb

http://www.wired.com/2014/07/usb-security/

which attacks the usb firmware on devices. ANY data communication and your usb device/port itself can get hacked

the usb condom might actually prevent that,
Microsoft ordered to hand over overseas email, EU privacy rights in the fire
Doesn't work for Swedish citizens either.

To avoid Swedish tax, you have to either pay taxes in the country you are living in or prove that you no longer have any lasting connection to Sweden (no partner or children there, no house or apartment and no ownership in any companies).
You are right. This paper proposes to use freebase(it can be any other source) as prior knowledge.
> or prove that you no longer have any lasting connection to Sweden (no partner or children there, no house or apartment and no ownership in any companies).

Which is not hard at all: Don't have kids there, house or ownership. And you're free from taxes
Thank you for your comment. I Had not thought about it like that.
Peter Ferrie has written an encyclopedic book (released in 2011) on Windows anti-debugging:

http://pferrie.host22.com/papers/antidebug.pdf

Pretty cool stuff...
This speaks to me as I coincidentally decided to start automating my provisioning to standardize to the same vagrant environment.

I'm not a sysadmin or servers guy, but these days I happen to manage most of the devops and so getting servers and machines set up is my responsibility.

Ansible docs are not great for getting started, and I pretty much just learned by skimming through some Playbook, and figuring it out their — often intuitive — purpose.

After a few hours I got to a close to getting my machines set up with most of my Django stack: Nginx, Gunicorn, Redis, supervisor, celery, etc. The only thing that I couldn't properly set up was PostgreSQL. And here is something that most of these automation tools lack: debugging. When my postgres roles was failing, I had no clue how to even start debugging it, so after an hour or so, I just stepped back and went in to set it up manually.

I feel some of these tools need to be more friendly with devops that don't have quite the same knowledge and experience than the target audience of sysadmins and ops people. That said, I learned a ton starting to use Ansible and automated a big chunk of the process.
Another example of the same zip code interaction idea, with some pretty UI: http://benfry.com/zipdecode/
Most European countries won't allow you to change your place of residence without sufficient documentation of your residence in a different country, e.g. work permits, proof of residence in new country, etc. Otherwise it would be all to easy to skip on paying taxes in your home country.

Perhaps in Russia it's a bit... easier?
> After all it's just a "first world problem" of the bigger calibre ("oh, I miss my big fridge and and my huge monitor").

I turn into a "digital nomad" every now and then, but I wouldn't consider monitor size a first-world problem. There's just no way to work on a 13" MacBook without ruining your back :( Luckily I have a 24" screen that fits nicely into my suitcase.
This really varies from phone to phone, sadly. When I plug mine in I am only given a choice of which protocol to use to give the host computer access to all my files (and it connects using the default one as soon as you plug it in).
Sales, demographic, and usage data report of Entertainment Software Association [pdf]
>There are agencies and recruiters who specialize in matching freelancers with projects, seek them out and establish a relationship.

Can anyone here make some recommendations from experience?

I feel like I'd need to be a 'rockstarninjahacker' before taking remote jobs and being able to complete them (and demand enough to pay for this lifestyle)
The term 'Hacker' is a lot like the n-word. It's okay when we call each other hacker, but when someone outside our community does it, we get offended.

It's time to let the word go. The meaning changes depending on who you speak to. It's an exclusive word that needs to be marked obsolete.
Hey, just wondernig how your model works. I'm an SAT tutor and want to implement something similar. So you give away the explanations for free online, and charge for PDF? And get tutoring opportunities from the free book marketing. Do you teach online?
I'm well aware that many laws are not enforced well if at all in Thailand, but that doesn't mean they don't exist.

Generalising about 70 million people as if they are all the same isn't a great way to identify as anything other than a middle-aged farrang who wants a young brown girl(s) in his bed.
I use COPS as a Web frontend. http://blog.slucas.fr/en/oss/calibre-opds-php-server
> I think the point is that the macronutrient compositions is the driver in how food affects your behavior.

That is absolutely not the point of Taubes's research. Reread the article.
Right there with that famous cloud-to-butt extension someone keeps mentioning on HN all the time. I could use both.
Thanks for your feedback! Looking into it.
Agreed, this wasn't great (and as idlewords points out, how could he use such a lackluster opening of his own?). The straw man and exaggeration approaches both struck me as poor suggestions in particular.

Here's my main suggestion -- the "shitty first drafts" strategy is important with openings in particular. Take a stab at an opening, and probably fail (but start your brain thinking about it). Write the rest of the article, polish your ideas as you go and gain a bit more insight into what you're talking about. Think how it looks from the perspective of a reader. THEN you'll be in a much stronger position to go back and write a good opening.

Of course, you may realize that your inspired opening also implies a different structure for the piece, but so be it.
This (free PDF) article contains some examples of programming with typed two-dimensional input:

M. Klerer and J. May, A user oriented programming language, The Computer Journal (1965) 8 (2): 103-109. doi:10.1093/comjnl/8.2.103 http://comjnl.oxfordjournals.org/content/8/2/103.abstract
You can be very smart but have no connections and no money and be unable to find a job.
Who you know matters way more than what you know.

This list is only an excuse for not being smart, not for being unable to get a good job.
That might be out of context. There were a whole lot of points where the mission could have been safely aborted had any parameter been unacceptable. Look at Apollo 10, which was identical to 11 except for turning around when the lander was a few km above the surface. Failure to land does not mean a risk to safely. The risk wasn't survival, it was failing to complete the primary mission objective.
> To be fair: they have no choice in whether or not to participate.

That depends on whether there is another country that they could move their companies to, but which does not have similar laws in place :)
Huh. Why did the explosion produce two distinct, different-colored smoke clouds?

Also, what's the environmental impact of this kind of accident?
He's saying that they didn't do it because it's cool, they did it because it's harder to make a case than a PCB. And I agree. It's insane how many "I made this board, how do I get a case for it?" posts I see online from n00b hardware hackers. An engineer with experience will consider packaging from the outset. Thinking about it after the fact can make the manufacture much more difficult and expensive.

That said, I think $10 is a good price for something like this. I, personally, would look for a corporate/industrial application that would justify a price 10x that.
Some info on Alexander Sarcophagus in Istanbul Archeology Museum: http://en.wikipedia.org/wiki/Alexander_Sarcophagus

Wikipedia image shows some color traces: http://en.wikipedia.org/wiki/Alexander_Sarcophagus#mediaview...
Assuming it is true that who you know matters most, then why not use your smarts to figure out how to get to know the right people?
The above is from Michael Pollan. The "Eat Food" refers to eat real food that is identifiable as such. Basically if it has over 4 ingredients listed on the label, its probably not "real food".
the site said nothing about finding a good job.
it only says you have no excuse not to learn something.

and being smart != being educated.
Thank you. May I take this one step further ?

The very first step is exercise. Walk. Do some yoga or martial arts. Resistance training (weights).

There is very little point in discussing or pursuing any of this in the absence of daily, vigorous exercise.
The "get around with basic english" part might be true if you live like a tourist and don't venture outside of Bangkok/Pattaya/Phuket/Chiang Mai.. some parts of the country are surprised just to see a westerner, much less have any chance of speaking english. I say this not to disparage them in any way (it's their country after all), simply as an observation.

To the parent: for some (particularly either young and unattached, or middle aged/older unattached men) the attraction is likely somewhat related to what they do besides work.
Regarding 2., I'm going to assume they have at least some unit tests.

It's not clear that even 100% coverage would have picked up this bug, since it doesn't automatically appear as a result of taking a particular code path.

I think that comparing to a naive algorithm on a large number of strings, or using a fuzzing tool, might be helpful, but this might also slow down the test suite excessively.

I find unit tests are a bit like good form at the gym. Whenever someone gets injured, they think back to the last exercise they did and find some imperfection in their form. They then attribute their injury to not using perfect form. Similarly, whenever a bug appears, there is a tendency to find a unit test that would have caught the bug, and therefore attribute it to insufficient testing.

The real value of testing (and good form) can only be demonstrated by having a criteria for good testing and seeing if following this reduces the number of bugs.
This isn't a particularly new revelation as the article makes it seem (the article is dated 2008, but I remember learning about this when I was in school even earlier than that).

That said, it's rather interesting how many people - even very educated people - are unaware of this fact. I've heard art critics refer to the color as a sign of the 'pristine' and 'pure' aspects of Greco-Roman[0] art, completely ignoring the fact that they were actually painted with incredibly bright colors 2000 years ago.

(Of course, one can make a somewhat postmodern argument that the piece of art with the colors as they appear today should be evaluated in its own right, independently of what it was 2000 years ago, but I don't think that's what they were going for).

[0] Another fun fact - we actually have very few Greek art (statues) to study. Most of our knowledge of Greek sculpture comes from Roman reproductions, along with a few pieces that were hidden in tombs, etc. for centuries and forgotten. The Greeks, unlike the Romans, made a lot of statues in metals, and these were subsequently melted down for the materials[1]. The Romans produced original art, but they also produced mass reproductions of Greek art (marble, and other materials) - this is largely what we study today.

[1] https://en.wikipedia.org/wiki/Ancient_Greek_sculpture#Materi...
> Low calorie is just forced starvation and although you will always lose weight this way, it's an uphill battle because you're fighting the body's fat regulation mechanism. You might be eating high-carb but low calorie, causing insulin spikes, extreme hunger, and protein wasting. It's not an easy diet to follow and it might even be counterproductive.

This is based on a false dichotomy of dieting sustainably low carb or unsustainably starving yourself.

Let's say we have someone who is 6' and 260lbs. To get to that state you need to consistently eat a diet of around 4000 calories. If that person eats 2000 calories of ANYTHING for the rest of their life, which should be completely sustainable, they will not only lose the weight (down to about 180 lbs), they will keep it off.

On the other hand, if that person continues to eat 4000 calories but they change their diet entirely to a ketogenic diet, guess what: they will still be fat.

The point is that when we are dealing with the 30% of Americans who are now obese, the low hanging fruit is in simply eating less. There may or may not be a suboptimization in macronutrient composition, I'm not saying that's definitely wrong. I'm just saying there's more low hanging fruit than that.
It should answer the question "why?" As in "why are those the best?" Or at least carry a short review to help users choose.

For example, while not recommended, MIT Open Courseware is fairly high on the list but it's not very good for self-study. I even remember reading somewhere that it's actually targeted at teachers.

Other than that, it's a fine list.
Show HN: Accident Crossfilter
Found a comment by Gregory Meeker about "underpainting", which used to be on the Smithsonian article [1] [2]:

"It’s reasonable to assume that the painting on the figures was at least as sophisticated as the figures themselves. By the time of the Alexander Sarcophagus the subtlety of the sculpture has far outstripped the colors identified and applied by Brinkmann. This does not mean that Brinkmann has left the path of accurate reconstruction; it may mean that his ultimate goal is impossibly distant. The colors he has identified on later pieces are clearly just underpainting for a far more realistic final finish. This was the process used in Renaissance oil paintings of equivalent visual sophistication. The assumption that the painting was as sophisticated as the figures is an extremely conservative one. The artistic and manual skills required for realistic sculpting are far greater than those required for life-like painting of a finished figure. And the painting task was a relaxed one, far more amenable to messing around until the artist got it right. So painting was easier, less risky and, because of weathering, constantly in demand. It is reasonable to conclude that until sculpting reached its zenith, painting of figures was substantially more sophisticated than the figures themselves. With luck, Brinkmann will eventually find a piece with all the layers intact."

[1] http://100swallows.wordpress.com/2008/08/20/greek-statues-we...

[2] http://www.simorgh.de/objects/091008_1/
Indeed, cssh is great for getting a quick visual on a few servers, but you're pretty much limited to what will fit on your screen. Ansible really shines when you scale it up a bit further, and it grows well, allowing you to add bits and pieces as needed.

The hosts/inventory in ansible as a source of truth for your infrastructure is also a nice feature. You could use a selection from your ansible inventory to open a cssh with 'top' running on all your webservers, for example.
> For example, you have 500 calories left, and it's 16:00. You could eat a slice of pizza and that would be it. But you could also eat two slices of bread with cheese (250) and in the evening have a moderate snack of 250.

"Intelligent management of cravings" naturally requires you to go beyond calorie counting to thinking about the impact of different kinds of food on your satiety. For example, instead of two slices of bread (160 calories), and a slice of cheese (90 calories), I'd instead do: 2 oz of lean roast beef or turkey (80-90 calories) wrapped around a slice or two of avocado (~50 calories) wrapped in a slice of cheese (90 calories) + half a cup of steamed veggies (= 25 calories). YMMV, but that would keep me from thinking about food a lot longer.
I've seen some very strange things in my career. I find posts like this delightful, because I can point to them and say "see, here is proof that even code written with the best of intentions can still have bugs."

Programmers tend to fall into (at least) two camps: the skeptics and the pragmatists.

Sometimes when I report a finding, programmers accuse me in one way or another of messing something up because “that can’t possibly be failing.” Those are the skeptics, using incredulousness almost like a shield to protect their worldview. They tend to have an up-close/what’s right in front of them approach to programming, are prolific and usually take a positive stance on programming.

At other times, reporting a finding is met with resignation, almost like “please work around it because we just don’t need this right now”. Those are the pragmatists, taking the long view/forest for the trees approach, knowing that programming is more than the some of its parts but also that it’s a miracle it even works at all. They are the daydreamers and sometimes are perceived as negative or defeatist.

I was a pragmatist for as long as I could remember, but had a change of heart working with others in professional settings. I saw that certain things like databases or unix filesystems could largely be relied upon to work in a deterministic manner, like they created a scaffolding that helps one stay grounded in reality. They help one command a very mathematical/deliberate demeanor, and overcome setbacks by treating bugs as something to be expected but still tractable.

But here is one of those bugs, where the floor seemed to fall out from under our feet. One day I mentioned that “SSL isn’t working” and about half the office flipped out on me and the other half rolled their eyes and had me track it down:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694667

The gist of it is that OpenSSL was failing when the MTU was 1496 instead of 1500, because of path MTU discovery failing and SSL thinking it was a MITM attack and closing (at least, that is how I remember it, I am probably futzing some details).

That was odd behavior to me, because I see SSL as something that should be a layer above TCP and not bother with the implementation details of underlying layers. It should operate under the assumption that there is always a man in the middle. If you can open a stream to a server, you should be able to send secure data over it.

Anyway, we fixed the router setting and got back to work. All told I probably lost a day or two of productivity, because the office network had been running just fine for years and so I discounted it for a long time until I ruled out every other possibility. I’ve hit crazy bugs like this at least once a year, and regret not documenting them I suppose. Usually by the time they are fixed, people have forgotten the initial shock, but they still remember that you are the one weirdo who always seems to break everything.
I've lost about 50 pounds over the last two years by reducing my food intake without any additional exercise.

In fact, I can't really do much in the way of exercise because of chronic knee problems, which is one reason why I wanted to lose weight in the first place.
It is less likely if only because the flight regulations aren't as strict--it used to be any measurable ash closed an air space, but this has now been revised to close airspace only if the ash levels are 4mg per cubic meter of air or greater.

http://www.iata.org/pressroom/facts_figures/fact_sheets/page...

http://www.icao.int/publications/documents/9974_en.pdf
Sex Bots, Robo-Maids, and Other Sci-Fi Myths of the Coming Robot Economy
Microsoft Fights Cloud Gaming Lag with DeLorean
Hard to tell, the icelandic weather service has upgraded Bárðarbunga volcano to color code red which is:

"Eruption is imminent with significant emmission of volcanic ash into the atmosphere likely
OR
eruption is underway or suspected with significant emission of volcanic ash into the atmosphere [ash-plume height specified, if possible]."
I don't think they will release anything. Have they ever released any videos of their early failures?
>If I start feeling hungry, I'm going to want to eat, and it's not much use telling me that I shouldn't

So you admit that eating less calories is a valid way to lose weight, but that it takes willpower to stick to the diet? Use that free will of yours to eat less calories, and not less yourself become an inanimate eating machine. Sounds like you're letting your body control you, not the other way around.
Oh a cable, of course. I thought I was looking at hot air blowing out from a vent on the side.
Yeah, I like the phrase "suspecting a compiler bug is the principle of last resort". (Maybe there should be an "unless you're using Rust" thrown in there.)

It's not that compilers can't have bugs. It's that you're more fallible than the compiler, and should use that likelihood when deciding where to investigate to fix the bug you're seeing.
I've always felt that software bugs are much like typos in nature (not necessarily complexity).
Exercise is important for fitness, but it's really irrelevant for weight loss. For a male, running burns about 100 net calories per mile: http://www.runnersworld.com/weight-loss/how-many-calories-ar... (depending on weight). To achieve a weight loss of one pound per week, you have to run five miles a day every day. If you're out of shape, that'll take an hour a day, every day, time you almost certainly don't have.

Exercising your way to weight loss is an incredibly inefficient use of time. And telling people that they shouldn't even try to lose weight until they can fit in daily exercise into a schedule that's already full is needlessly setting them up for failure.
Prototypes, #noestimates and practice vs. theory
SpaceX Falcon 9-R Dev1 Explosion
Hey everyone, author here. I first want to say, I appreciate the feedback. This is my first article that I think people have actually read and going back, I saw all the mistakes that you guys did. I've gone through and done some edits.

I apologize for the inaccuracies. I was just looking to help some beginner JavaScript developers.
Don't get me wrong. Exercise is good. But from personal experience and the advice of very smart people, diet is at least 80 percent of losing body fat.

Even in Taub's book "Why We Get Fat", he lays the blame squarely on eating highly-refined carbohydrates.
How often is setting up a package just running apt-get? There is an overwhelming majority of times where you have to change something in the config file somewhere. Ansible can do anything you want to provision your boxes.
Ironic how you're on Hacker News
I work for VividCortex[0] and this looks similar to what we're doing for MySQL. It's not an open-source service but you may get some ideas of what can be done.

[0] https://vividcortex.com/
As someone brand new to Ansible, and having been developing on OSX for years now, I'd just like to play devil's advocate.

Finding the Ansible docs (http://docs.ansible.com/) was not as easy as it could be, however, the install instructions were easily accessible from there, exactly where I'd expect them: Introduction > Installation > Latest Releases via Homebrew.

Second, yeah, pip sucks, I try to avoid it at all costs. However, homebrew (http://brew.sh/) is that one thing that all OSX power users should install as soon as they touch their workstation. 90% of the software - CLI or GUI - on my MacBook is installed and managed by homebrew. I cannot recommend it highly enough. In fact, I didn't even install Ansible through their instructions. I read about it somewhere else, and thought, "Hmmm, I wonder if this is in homebrew? `brew search ansible` Oh! Sweet! `brew install ansible`" Worked perfectly the first time, and I haven't fiddled with it since.
While the NSA has a huge budget, it's not infinite, and what gets one promoted and what analysts are boasting about in their slides gives you a definite idea for what the organization values. Do any of the leaks sound like there might be huge contingents of mathematicians off in side-corridor making breakthroughs? Not really.
Strange Google Hangout Phenomenon
Why does my laptop's camera light briefly turn on after making a phone call using Google voice? It's a simple phone call that doesn't use my camera, so why does the light flicker on briefly afterward?

Does anyone else experience this?