skysight-inc/HackerNews huggingface dataset:
Posted this a few weeks ago, but workstation popcorn [1] is sort of like pomodoro this on a macro scale throughout the day & has helped me a ton with being more productive & simply getting stuff done.

[1] http://impossiblehq.com/workstation-popcorn
I agree, Workshop is great! No guilt, and they've got the place set up for work, no worrying about bad wifi or finding outlets. I go to other cafés for hanging out, and I go there when I need to focus on work.

The nice thing about these sort of places is that if you're a freelancer, I think you can make a decent case for expensing them (not counting the coffee).
I really don't understand why neutral statements of fact get voted down. Is somebody way too emotionally invested in the discussion? Somebody reflexively downvotes anyone who makes them examine their assumptions? That dude I told off last week stalking me? Misclick? It's just weird.
Humour must really be on the decline :P

To the downvoters: ah well :)
I noticed that too. They have demo video but the project is still work in progress.

The other interesting thing here is that they use Go inside.
Yes, that's one of the defining features of an "eggcorn", that it does make sense. Or even more sense than the original. Here's a more thurough definition: http://eggcorns.lascribe.net/about/
My friend, you sound as if you've never been in the situation of having to find work or find yourself on the streets. I spent a few months out of work early last year, and got to the point where I had to stay with an Ex girlfriend while looking for work, because I couldn't afford to move away from town. At my age - 28 and with a Comp Sci degree- it is almost impossible to even get a job at McDonalds because they know that you will leave when something better comes up.

Regardless on if I would have starved or not, it was the most stressful and horrible time of my life. To say "what is the big deal" to me says you've never actually been in that position.

Thankfully, I eventually found an ok job, and am now taking that ex-girlfriend on an international holiday just to say thank you.
Here is my company's Facebook Ads horror story:

18 months ago my company decided to run an ad campaign on various platforms: FB, Twitter, Google search and direct buys of banner ads.

On all platforms, the campaign was targeted to most EU countries + Switzerland. For business reasons we were not interested in promoting this outside these countries.

On Facebook, out of all options, we decided to promote a post, targeted to EU countries, this post included a custom bitly link to our campaign's website, etc. A few hours after launching the campaign, we checked on the post: likes/engagement, CTR, bitly link, etc. We were shock to see that almost 90% of all likes to the post and clicks where made from Brazil. Facebook had been promoting our post in Brazil and not (marginally) in the countries we specified – I clicked on a long list of Facebook profiles who had liked our promoted post and these were primarily from the Sao Paulo region. I double checked bitly's stats with the our analytics to check who landed on our site via the campaign link. Again, c. 90% from Brazil.

The first thing after that finding was to check that the campaign was correctly setup, and it was. We immediately stopped the campaign and reached out to FB via a form (they have no email nor telephone) telling them about the issue, we included screenshots and other relevant information. We never heard from Facebook. We spent around €2,000 on a useless campaign targeted to an audience which wasn't our target market. We have never used FB again.
He talks about it extensively in the video on the site, and I think he agrees with you that tilemaps would be preferable.
This is slightly off topic. Work is rather a vague term. If you break it down into it's components: effort, compensation, social-benefit, etc. then you can start to assign relative merit to different kinds of work. For example financiers which might be categorised as: high compensation, low to moderate effort and low social benefit and janitors: low compensation, moderate effort, low compensation. Now you can start to make value judgements about how different types of work are rated or (should be) valued by the general public or society as a whole. You can also factor out the ideological or moral components attributed to work by various political factions and start to answer interesting questions such how much should teachers be paid and what jobs which are low compensation, low social benefit should we be automating as fast as possible.
The same thoughts here.

Docker 0.8 added a lot of new features and fixed a lot of bugs but it is still work in progress. I.e. you can't rename containers and have to recreate (remove and create) them.

and thank you guys for the release!
That's because it isn't. Or at least not in the traditional sense. It's not just some old bullshit, scripted in PHP, running on an array of scrappy LAMP boxen.

They run their PHP on HHVM for one:

https://en.m.wikipedia.org/wiki/HipHop_for_PHP

https://github.com/facebook/hhvm

...and yeah, it executes PHP code, for sure. But right there, things are already different, and the reality is that they've written a substantial code base in C/C++.

And, two, I'm sure they retain some serious business proprietary trade secrets about their server infrastructure, meaning that while the web front-end might render out HTML like a souped-up CDN, behind the scenes, there is a shit ton of other stuff going down.

Honestly, I think they just leave the file name extensions in the URL for the sake of nostalgia.
Vim was created on Amiga, so that's explainable
Is flynn.io using LXC or something Docker-like?
Whoever wrote this is probably going to be quite despondent and inconsolable whenever someone they actually care about dies.
Flynn uses Docker.
What exactly you don't follow? You need me to define 'monetary base' to you? You need me to explain to you how to use google/wiki?
Which is worse: the NSA having total control over all iPhones (citation? I obviously haven't been paying enough attention), or the NSA and all the (other) bad guys in the world having total control ...? Sure, they're both terrible, but I'd take the former over the latter.
The idea of a basic income is still sci-fi. There just isn't that much money.

Freeing people to work on things they desire will mean no one will ever wash dishes at a restaurant, no one will pick up trash, no one will spend time wiring your house for internet, or fix your computer, or do a large swath of jobs. The argument that with UBI people will still do that only for more money is crazy, since the taxes would have to be so high to support UBI that the costs would dwarf what people could afford.

As these services collapse so to will higher paying ones; lets see a doctor get up early to wash the floors of her practice since she can't afford to hire a cleaning staff and still charge patients a reasonable rate.
Show HN: SQUA(RED) Reader – Fight AIDS
Right. The 160k clicks are not clicks on a mere Facebook page. Perhaps the original 606k that Facebook is talking about are though. And the 160k are the number of those that click through to the off-site page. Anyway, probably not. Was just a theory. The article could be clearer.
There are these interesting developments that I noticed and I'm interested to see how many others noticed that:
(1) Polarization of left vs right views among people in both US and EU
(2) Sudden drastic turn to the right in many places in the EU while at the same time turn to the left in the US.

It seems to me that since 1945 the US has been mostly right wing and is turning left radically, while the opposite is true in the EU.
I'm a cynical ass, but whenever I hear the phrase "the dignity of work" I can't help but sarcastically mentally add "yeah, work will set you free".
If you allow competition the market will do this. Compensation also takes into account the joy the job provides, some jobs are relatively pleasant and thus pay less than some that are much worse.

As for automation, I completely disagree - we automate where we can get the biggest gain on output. So if something costs a lot or has high social benefit we should automate it as much as possible so that it can provide more benefits to more people.
No. It does not mean no one will ever work as a dishwasher/etc. It just means that the market rate for dishwashers/etc. will be higher. This would be due to the supply curve for labor shifting.

Certainly, some businesses will not be able to hire as many (or any) dishwashers/etc, but those that they do hire will have to be paid more. But that is a natural extension of decreasing the supply of labor.

The higher price that businesses will pay for labor will also push them to invest in capital (automation).
Everybody in the USSR had job. But these jobs didn't produce any (usually) value to the society. Who wants to have a job like this? You want to do something valuable so you know that what you produce people are willing to pay for (vs. being forced to pay for it). It just seems much more healthy too.
The SEO Is Not Enough.
I believe SEO methods are good, but they must be combined with user prediction models and utilizing user behavior for better content serving.
Damn fine point. I really don't think we can conclude this is malice; do all of our own bugs always turn out to be really tricky to spot? Do we never make utterly ridiculous mistakes along these lines?
This is a product decision.

It may be partly informed by 1) If anyone sees a photo, they can redistribute it regardless of what our restrictions are serverside, so might as well not give users unreasonable expectations. 2) We really WANT people to share photos. That's basically what Facebook's core interaction is. 3) Implementing this additional security does not increase any metric which Facebook cares about. 4) Users occasionally rely on this feature to post pictures which they host on Facebook to other sites on the Internet, which we want to support, because it means they post photos on Facebook.
"Freeing people to work on things they desire will mean no one will ever..."

Unless they want more money, of course. Hands up everyone who might want more money than the minimum needed to survive.
So we are saying that most of the people out there are of no use to the economy and thus, most probably, to society. Well, welcome to fascism 2.0, this vision is elitist, it creates a huge power lobby (the entity paying up the basic incomes...), and it sees people as sheep with no brains.
Here's a simple if perhaps naive question. Suppose UBI is $x/yr. What's going to stop every apartment complex owner and every rental landlord from raising the cost of living on that property by $x/yr/tenant? Will the government start fixing prices? (I imagine that slightly more realistically all owners of physical resources, not just land owners, would raise prices as much as they can while still maintaining roughly the same profit percentage in order to compete with other owners to capture the new income, and so no single group of actors is likely to capture it all with one type of product.)
"Misuse" of koans has long history.

After Zen master Yuanwu's Blue Cliff Records - collection of 100 classical koans with his commentary verses - started to spread around, his successor Dahui noticed how monks and laypeople treated the collection as intellectual and artistic work (Yuanwu Keqin wrote and spoke very beautifully, so they do have artistic value) and burned all copies he could find.

The original use of koan is to be meditation aid (huatou-method, koan practice) not subject of philosophical inquiry.

ps. The original MIT AI lab koans are more clever than these ESR ones. http://groups.csail.mit.edu/mac/users/dae/notes/ai-koans
Average American Conglomerate, LTD.
Washing dishes is so incredibly dumb. What should have been done long ago is standardising plates, cups and cutlery and creating integrated dish cabinet/washer that can wash those standardised items and store them.

The fact that in 2014 we still rely on manual work to wash the dishes is a disgrace perpetrated by oversupply of cheap human work.
The idea is that technology makes doing anything undesirable totally optional.

We made horses obsolete for transport, and now nobody HAS TO ride a horse (99%). You can do it for fun.

I would argue that today, most people who ride horses enjoy doing so, where the same could not be said for times before modern transportation.
False dichotomy. There is more than one dimension. For starters, see the Nolan chart:

http://en.wikipedia.org/wiki/Nolan_Chart
Doesn't look like any (major) modification to surrounding lines.

if ((err = ReadyHash(&SSLHashSHA1, &hashCtx, ctx)) != 0)
goto fail;

changes to:

if ((err = ReadyHash(&SSLHashSHA1, &hashCtx)) != 0)
goto fail;

See:
http://www.diffnow.com/?report=ob51k

Diff35
It sure feels like it.
Can someone talk about LXC security in practice?

I've read[1], and it is excellent to have options, but there I'd like guidance for what is actually usable and useful, especially via Docker.

Background: I want to be able to execute arbitrary code submitted from the web. At the moment I'm sandboxing it inside a ZeroVM[2] container, inside a Docker (LXC) container.

I'd like to lock down the Docker container more than the default (eg, disable outgoing network connections), but I don't really know where to start.

(And yes, I do find it strange that it was easier to get an entirely new, experimental and undocumented container running inside LXC than it was to work out how to configure LXC. But layers are good, right?)

[1] https://www.stgraber.org/2014/01/01/lxc-1-0-security-feature...

[2] http://zerovm.org/
That's a perfectly understandable, and common, style of writing; it's not necessarily literally directed at the author. And surely the spelling is important whether it be the first name, or any other.
Decoding female nature
I can't understand the appeal working in coffee shops has to some freelancers. I can see how an hour, maybe two could break up the day but when you have free coffee and excellent wifi you're already paying for at home why would you pay to work in a crowded, noisy public space?
The idea of a basic income is still sci-fi.

That's untrue. Switzerland is having a national referendum on whether to offer one, and stipends from oil or casino money, while not enough to live on at this point, already exist in a few places. You may be correct that there's not enough money to give everyone enough to live on, but it's far from sci-fi.

(There is plenty of money in the world, it's just tied up in things like insane finance industry salaries, or $500k/yr/person for imprisonment, etc.)

And historically? People looked after their own menial tasks, where they were small enough, and where the tasks were too big for individuals (like roads, or building a town hall) the community got together and did it.
That's the only thing I can see that can go wrong with basic income. I'd counter that with progressive property tax. So that if you own 5 accomodations, of which each can house a family, you might be better off with selling the sixth one than holding it, paying exorbitant tax and risking it might stay empty for too long. I would pump money earned from this tax back into basic income.

Such tax might be beneficial even now in some places. In Japan and Italy so many properties were bought out by people intending to profit from the rent that price of accomodation rose to the point that most young people can't afford to live alone and stay with parents instead.
Take the Linux Filesystem Tour
An alternative to fixing prices would be just to compete. The government could start building its own housing, recouping the costs straight back from UBI rents, and simultaneously holding privately-owned market prices to a more reasonable level.
What exactly are you building that building it isn't already its own reward? Oh, really? I see...
I don't know if this is universal, but Yandex was quite bad in the past at stumbling around generated links (E.G. calendars that go to infinity) and it wasn't at all unusual to see 400+ links crawled in a day or so. Baidu was the same, but I think they're more well behaved these days.
'baraza' is Swahili for forum/meeting place. It was very much Yahoo Answers, targeted at the African market - here in Kenya, most people only have internet access via mobile connections, often using feature phones, hence the minimalistic stylesheet.

Baraza never really took off.

More about it here: http://whiteafrican.com/2010/10/05/google-baraza-qa-for-afri...
Misleading Graph Generator
There are many types of job where market forces cannot solve the problem. (Within the context of the Universal Basic Income) there may entire categories of types of job that could be created to solve social (in the most general sense) or civic problems. For example charitable or education related activities are low to no profit - or at least it is not easy to measure their benefit directly or immediately, but high social value in the sense that they mitigate future problem that result in increase expenditures or taxes and so have long term value. Since the market uses money and direct profit as a means to measure everything it simply cannot deal with this.
Libvirt and virtsandbox might help?
Compensation also takes into account the joy the job provides, some jobs are relatively pleasant and thus pay less than some that are much worse.

That's not generally my observation of the world. No-skill-required jobs pay less, skill-required jobs pay more. There's a slight bonus for dangerous jobs, but not a heap, relatively speaking. Pleasure derived or not only appears to have an effect on income levels outside of traditional employment and into freelancing territory, for example with starving artists and writers.
Whenever I hear the phrase "the dignity of work", I'm reminded of Jeffrey Bernard's quote:

"As if there was something romantic and glamorous about hard work ... if there was something romantic about it, the Duke of Westminster would be digging his own fucking garden, wouldn't he?"

http://www.rense.com/general56/thevirtueofidleness.htm
> We immediately stopped the campaign and reached out to FB via a form (they have no email nor telephone) telling them about the issue, we included screenshots and other relevant information. We never heard from Facebook.

How is that even legal?
The Virtue of Idleness (2004)
In switzerland it was voted down because it doesn't make economic sense. Look at the numbers, they don't work.
Yeah, and the 1.23 billion is going to be mostly ghost accounts anyway. People who check their FB once a week, if ever.
They should put a web bug on the target page to confirm the redirect was completed.
No, that is not the idea, because automatability and undesirability of tasks are largely unrelated. We will habe to find a way to deal with tasks that are unpleasant but can't be automated.
I disagree. I don't think everyone wants or needs a valuable job, and to most people, this is an unobtainable dream. The truth is that most people I've met doing menial jobs are happy doing them IF they have enough money to cover necessities and do something enjoyable outside of work and their employer treats them fairly. This means that in the balance, their life is meaningful, even if their employment isn't.

I also believe job satisfaction is completely independent of a job's contribution or value to society. Cleaning toilets has a definite societal benefit, but it is still menial work that requires little actual skill and is a job most people look for ways out of.
To the contrary, reddit is doing better than ever, but it's not the only style of humour.
Skill determines the size of the labor pool - supply. Less desirable jobs with the same skill requirements will pay more.
Has some strange black flickering (screenie http://i.imgur.com/dUOSudN.png).

I'm a webgl developer and WebGL works perfectly fine otherwise (no crappy driver, no crappy GPU etc.)

Browsers: Firefox 26 and Chrome 32.0.1700.107 (error visibile in both)

OS: Linux Ubuntu 13.04

GPU: GTX-780

Driver: nvidia 331.20
I don't understand how 'there just isn't that much money' is a meaningful statement in a world where governments can issue more currency. How much money do you propose we need to offer a basic income system?
Last I heard, instead of paying taxes, Brunei citizens all get an annual $30k outright. Isn't that real-world, non-sci-fi Basic Income?
Art? Fun? That kind of thing?
What numbers, specifically? You didn't cite any and there haven't been many real-world studies or experiments to produce data on the costs/results of a basic income program. Something this complicated isn't going to be accurately modeled by a couple economists purely using estimates...
I think it tells you everything you need to know about how much faith Facebook have in their own product.
> the Snowden leaks have shown that the NSA has total control over all iPhones

You mean: had total control over all the original iPhones that they could get physical access to. (back when jailbreaking was extremely simple and common)
> The idea of a basic income is still sci-fi. There just isn't that much money.

Sorry, but that last part is utterly dumb. There is enough of everything for everyone, money is just one of the abstractions we built for convenience's sake. Most of these abstractions for power have gone out of hand, but I assure you that there exists a theoretical parallel universe where basic income is implemented at a global scale.
VeroZM is a perfectly correct answer, that is exactly what it is designed for. The security model is excellent, far better guarantees than anything you will get from containers.

If you want another answer that works, well what kind of code is it? That does make some difference. I am assuming it is some scripting language (as I presume you are not compiling it for zerovm). And I assume it is not one with a trustable sandboxing model (I only really trust Lua, and that is with caveats).

You can lock down networking by not having any (assume you use eg a pipe to communicate), or with iptables, or by using seccomp mode 2 filter system calls. The third is the most general extra filtering, but you do need to know exactly what your container needs to do - the more minimal it is the better.
There is ~$45 trillion in the world[0]
There is ~7 billion people.

That gives ~$6500/person. That seems reasonable. Given if you distributed all money evenly worldwide the profit motive would disappear and things would be bought and sold at cost.

But yes, I've gone waaay into sci-fi.

But, back in the real world, Australia basically has one. So you're full of shit.[1]

[0] http://en.wikipedia.org/wiki/Gross_world_product

[1] http://australia.gov.au/topics/benefits-payments-and-service...
How exactly do you come up with that? I understand the concept, agree with it to a point (it is rather exaggerated) and I am no facist and do not have enough power, percieved or monetary, to be able to be an effective elitist. I'm anti-huge power lobby, unless you can find one that does much more good than harm. People are under pressure to be sheep already if you work one of these 'jobs'. I take the notion and look at how doing fixes could make society freer and better.

My curiosity is how exactly you came to the conclusion of this being a facist and elitist idea?
Okay, now I am 100% that you're just trolling indiscriminately. There have been at least a couple real-world experiments done, have you even had the decency to look it up on Google?

https://www.google.co.uk/search?q=basic+income+experiment
People are different. Some people like noise and bustle. Others don't.

I find it hard to understand people who don't get that.
Personally, ~80% of the time it's this one: "You are putting something off because you are afraid you will screw it up."
Browser screenshots at specific resolution with a phantomjs wrapper