skysight-inc/HackerNews huggingface dataset:
Yeah but as with many complains about PHP, how would you define the default behavior? I'm seeing so many people who expect PHP to always do stuff how they want, because of how easy it is to work with. I never read those complaints about super tricky C cases.

Modifying the content by default would be completely counter-intuitive, specially with a function that is used mostly in API and thus being encoded / decoded in different places and languages.

IMO content filtering is specific to the view where you output it, and should be done there. Any hazardous content should always go through a sanitize function when you echo it in the middle of HTML.
Upvote/downvote arrows are too close togheter to comfortably use on phones, especially that the actions are not possible to reverse.
Some UI idea is needed here imo. I like what Reddit is Fun app does: you need to touch the post and then upvote/downvote appear below it next to each other. Unfortunately that wouldn't be natural for desktop/mouse users.
As it is now, downvote rights which just appeared on my account make it that I can no longer upvote anything on mobile, risk of accidently hitting the wrong arrow is just too big.
All Chrome Extensions are completely opensource (lowercase - in the sense you can unzip them and inspect the source).

The evidence seems to be that this does actually work - people do look, and find out suspicious looking issues. However, that is insufficient to protect users of extensions that were previously trustworthy and then become malicious.
I wonder if you might have skipped or didn't relate to the 50% - 75% travel part.

In my experience it's not the travel, per se, even though the jet lag can be killer. It means being On 100% of the time you're away. The raw number of hours of being Always On for your company--around the world, with different people in different contexts--creates an emotional distance to one's family, because your mental world becomes intensely focused and 100% only on work, and work issues. Product issues, team, management, all that you can balance, but being on the road is the chaos of (enterprise) customers. They may love you, but they're needy. And all the time you're together, you're considering every word, and interaction to drive to a preferred outcome. It's never a "dinner". It's part of a never-ending orchestration to achieve specific outcomes.

Coming off of /those/ trips, he should have re-engaged with his family, but the challenge is the trips exhaust your mental and (jet lag) physical energy. Re-engaging with family means another "on" time, but it also means the expensive context switch from being able to talk business any time any where, in any state--leaving that mental zone-- to talk about family issues.

No, I don't get the sense he meant only engineers should work hard and CEOs should play with their kids.

I think the message is CEO's should consider forcing family-life onto their schedule, instead of being 100% consumed by work.

Yes, there are other pressing issues, and you might not be able to predict the value, but Scott says take it from someone who has gone though the struggle--it pays dividends at home, and at work.

I can relate.
".gov and .mil gear often contains acid in glass surrounding drives and circuits."

Couldn't you just turn the circuit upside down and use a diamond tip drill (Dremel would do) to drain the acid?

I think sticking with full disk encryption would be a more reliable choice.
Unity has been packaged for Arch. I have absolutely no idea why, but it has.
Yes, because all big, incredibly complex things are just too damned hard to study or understand and thus we should instead just guess our way through problems. In economics, this is known as the Austrian school.

Now if you excuse me, I'm going to go out into the woods and try to kill animals with rocks and pray to the gods for fire.
"Princelings" are the children of the high ranking communist party members. As they have huge political influence they are probably the polar opposite of what is being described in this article - they are unlikely to leave because they are benefiting from the system not worried about being bitten by it.
Really? Geez, that was easy for my parents. "We can't afford it." Getting your kids whatever they ask for is a terrible idea anyway.
Great comment! Often I'll read "start-upy" articles about starting ventures and the flip kind of attitude towards guidelines like "and now it's time to ask friends and family for funding!" I can't fathom, nor do I know many people who I would consider sane, who would take money from their friends or family to start the kinds of businesses that are discussed on HN. If you end up with the next Google, then I guess it's all gravy but since insider giants like pg himself are constantly talking about the ridiculous odds startups face, you could literally destroy lives doing this.

But, I never considered that this viewpoint was a hallmark of the middle class. It never struck me that these people were never actually talking to me, but maybe to a different, more affluent class of people, in a very specific part of the world.
I'll take this opportunity to share another amazing optical illusion:

http://9gag.com/gag/a9d1jxj

I wonder if dynamic optical illusions such as this one will prove relevant to VR somehow.
Has anyone thought about using this new VR tech outside games? Maybe games will perfect the tech but there is so much potential outside it.

For example the OS desktop metaphors could finally be taken to the next level. Files, recycle bins, folders these were mapped concepts in the 80s to try to transfer the office to a 2D computer screen.

But now we can simulate a true desktop. Imagine you enter a room, a nice wooden desk in front of you. On the desk are documents that could be web pages videos word docs anything. You touch it and a floating screen appears to display contents. To your right is an infinite capacity filing cabinet. A trash bin under the desk. Its like the real world but without the limits of the real world.

Another interesting effect is memory. I remember reading somewhere that in ancient times they would memorize lots of data by imagining walking through a house. As you walk you would place relate objects like a closet to the item you want to remember. In this way you memorize the data and its order. This is where the phrase "in the first place...and the second place..." came from.

And its something I've noticed in real life. My desk looks like a mess except to me. There's a order to it I understand and I can find things. A similar thing happens with the mess of icons on my desktop. I can often find something because I know I put it in some folder on some place on the desktop. But in both the real desktop and my windows desktop I sometimes need help finding things and use the search tool.

The VR desktop can be the best of both worlds. It allows that natural chaotic organization I do with my real world desktop. But a floating search box can appear anytime to help me.
In some(? european?) countries you can't deduct stuff bought in a shop from taxes unless you have an invoice.
That tendency of Arch users to port everything and try everything (Arch is my favourite Linux distribution, I quite like this style)
Regarding the first-edition Nexus 7 - Canonical will no longer produce Touch images for it, so the author of this article is going to be even more disappointed during 2014.

https://lists.launchpad.net/ubuntu-phone/msg05889.html
There exist a variety of ways to handle this. Declining maintenance work is a strategy. If that works for you and your clients, bully for you. Maintenance work sold properly can both have fat margins and be a powerful sales tool, though, so many consultancies offer it.

I think you're correct that slicing off 30 minutes here and 2 hours there is nearly useless for clients because of the switching costs involved in intellectual work. You need to reach flow state to do well by them. So don't sell them anything which structurally inhibits flow state.

Let's say, for the sake of argument, that we're mutually skilled, that our core offering is charged by the hour (cough though it would be better for everyone if you switched to daily or weekly rates cough), and that the core offering costs $200 an hour.

Here's the maintenance contract you sold: "We'll do maintenance work on an as-available basis, up to your budget of 20 hours a month. I'm not going to carve out preferential scheduling for it, though, so it will be dribs and drabs when the team has downtime. Maintenance work costs $200 an hour times the number of hours consumed."

Here's the maintenance contract I'd sell: "Thanks for investing $200,000 in getting your project completed with us. You and I both know that, after we deploy this project, you're going to discover through your customers' use of it that we didn't anticipate 100% of the stuff you'll want. That's totally natural in software. Tell you what: we'll sell you a maintenance contract on the project for $5,000 a month. We agree to maintain internal expertise about your project and the staffing flexibility to promise you development services in a timely fashion responding to any fixes or feature requests you have, up to 2 days worth per month. If you need more than that, or if you do not buy the maintenance contract but need help anyhow, we're more than willing to listen to a proposal for a new MSA and SOW, subject to our then-prevailing rates and availability."

After I've sold four clients on maintenance contracts, one of my developers is essentially full-time paid for by maintenance, so I will always schedule engagements with one developer hidden behind my back. (One dev means one full-time equivalent, not necessarily "Hey Bob, you're our maintenance engineer, who suffers so all the rest of us can do the fun, intellectually engaging work.") They're paid for but, crucially, not 100% utilized, which allows me to have a slack-time reserve for e.g. unplanned employee absences, internal projects, or one-off sprints for maintenance customers which are technically in excess of what we've sold them but justified by our desire to delight long-term good customers who probably haven't been diligent about using their entire allotment every month. (Note for people who haven't run consultancies: What does a $5,000 a month maintenance contract cost if you don't require any work in a given month? $5,000. It's like health insurance: just because you don't have your appendix burst doesn't mean we give you a rebate.)
I'm kind of surprised China allows the money to leave.

But with the air so toxic I don't blame them.

Of course if they are coming to the US, they best avoid the water.
Dear submitter, as the article states, it's a summary of a post from the Wall Street Journal. The actual article is at http://blogs.wsj.com/canadarealtime/2014/01/16/canada-says-b... . The link is even given at the bottom of the page.

This reported statement, the Bitcoin isn't legal tender, has a very specific meaning. It says that people are not required to accept Bitcoin as a form of debt. This report should not be shocking or at all surprising.

While the details depend on the jurisdiction, "legal tender" is usually defined as a medium of payment which is valid for discharging debt. Other forms of payment, like checks and credit cards, are not legal tender but widely accepted. This being Canada, scrip like Canadian Tire money (see http://en.wikipedia.org/wiki/Canadian_Tire_money ) is also not legal tender, even if people other than Canadian Tire accept it a a form of payment.

For that matter, the US dollar is not legal tender in Canada, even if some people and places in Canada (especially those at border tourist towns) will accept it as a form of payment.

So, Bitcoin isn't legal tender in Canada? Big whoop. It isn't legal tender in the US either. Or any other country.
Ah Trumpet Winsock!

Berkeley sockets for Windows

Terrible Haiku...
Prepaid services are technically a debt, but a very low risk one. In contrast, paid leave is a high risk liability - an employee with 4 months accrued leave can quit at any time and they are owed 4 months of pay when they do.

(I think the company can opt to pay out their 4 months of leave over the course of 4 months to smooth cash flow issues, but I'm not sure of this.)
Those two possibilities aren't mutually exclusive at all, though.
iOS cache_encryptedA.db contains unencrypted geo-locations harvested by apps
I think Canonical are determined to become financially viable. That means trying to generate a fairly high income stream somehow. I'm dubious about these deals with carriers/manufacturers but that is the direction they have decided to go in, rather than trying to do a Red Hat on server/virtualised support.

I would quite like a phone that becomes a desktop OS when I dock it. If they can actually pull that one off I think a lot of people might get interested.
Which is indeed the point of the article I think.

Secret courts are an aberration to any civilised society.

England is at the forefront of such things in many areas - not just the dreaded terrorism. The Family Courts routinely operate in secret with it being a criminal offence to report on their activities or even any of the people involved. Recent examples are a woman who was sentenced to prison in absentia for taking her father out a care home to go on holiday - she was arrested on her return and taken straight to prison as she had already been sentenced to 5 months. It was a further offence for her to even tell people /why/ she was in prison !

Only after diplomatic intervention was an Italian woman able to reveal one of these secret courts had forced a cesarian on her and the removal of her baby after she had been treated for depression. Social workers used the secret courts to sieze the child and then to try and prevent her publicising the injustice. This became a serious diplomatic incident once the Italian authorities found out about it.[http://www.theguardian.com/society/2013/dec/03/forced-caesar...]

There are hundreds of examples of secret courts making outrageous decisions but very few ever make it into the papers due to the knee-jerk imprisonment meted out for any discussion of the cases.

Some small hope has recently arisen as the new president of the court had indicated he does not agree with the total secrecy but it is too early to tell if there really will be any rolling back as it has become a comfortable area to operate for public bodies who know they not only get to operate without oversight but can vexatiously imprison anyone who tries to argue they have overstepped their authority (or common sense).

[edit: minor corrections and link to article on Italian woman]
In Canada, Walmart.ca was experimenting with same-day delivery, as are a few other retailers. We don't have weekend delivery at all, however.
I imagine the packager liked Unity and prefers Arch!

Unity as an interface is OK ish, apart from the bugs about accelerator keys in LibreOffice and other applications (e.g. Alt-F no longer brings up the file menu).
Yes, but it's only in the AUR, so I didn't count it as "properly packaged", in the same way that I wouldn't count something as "packaged by Ubuntu" if it were available in someone's PPA.

It's a fair point, but I think that my assessment still holds.
Also, I'm pretty sure I spelled "California" wrong.
Win Friends – What would Lincoln do if he were in my Shoes?
1. Try to understand the reason for which that person is doing or saying whatever he/she says to you. Put yourself into the other person's shoes.
2. Never act impulsively. You show no wisdom. You only show a lack of control.
3. Wait 10 seconds before saying something. Let your mind digest whatever you have to say before saying it. If you still find your argument appealing enough to say it, then say it. However, I don't think you will.
On the contrary, communist officials know better than anyone how arbitrary power based on political connections can be and many are buying homes in the US in preparation for any sudden changes in their status. Many of these princelings have prepared escape routes in case the tide turns against them.
He's a geologist, not an archaeologist.

When somebody outside of a specialisation comes up with an idea that'll overturn the entire field, they're usually wrong.
Its sad when idle business men think its labor in the first place.

That'll be 5 bucks, you read my comment. Pony up.
The account page looks 100% the same as it was, they only changed the header.

Now things look out of place.
The problem is that Java has consistently failed to be secure enough to safely execute untrusted code, that is code coming from unknown, potentially hostile sources.

For running trusted code, Java is fine.
This seems to be a pretty common problem -- I've inherited a couple of projects suffering from this, and I've been guilty of it plenty too.

When a project goes to maintenance, it really becomes a completely different project. The skills that launched the project aren't the skills that are needed to keep it alive forever.

There are people who really prefer doing maintenance. They hate looking at a blank page, but they're happy to chew through bug reports and feature requests and make small changes to code or design all day long. Try to hire one or two of those people (and, honestly, they rarely command the kind of pay rate that a creative team does).

Client's happy, team's happy, you get residual income.

...I might be talking out of my ass though, I haven't gotten to this step yet.
B-b-b-but Bitcoin news?!
I don't think it can be said that they're isolated when the majority of Linux users and (non-system) developers run Ubuntu. And having run various Linux and BSD systems for close to two decades I can say that there is a good reason for that - it's by the far the best distribution out there.
honestly this sounds like a pain in the ass
I was introduced to sine in elementary school. Then we had 6 months of trigonometry in high school. We even touched infinite series at the end of high school.
Then at univ we had some trigonometry again but not much, some infinite series and stuff.

Nowhere along the way I was shown that sine is actually how high above the ground you are when traveling around the circle. It was always some length of side in right triangle divided by length of another side. That was technically the same thing but nowhere close as intuitive and natural.
Even when at some point I got interested in math and start thinking about sine as y coordinate it was always in relation to angle of a triangle (rooted in the center of the circle, one point at radius, the other at x axis below it) and not in relation of actual distance traveled along the circle. At some point radians appeared and we were just taught that's other way to measure angles, so you know: 0 degrees is 0, 90 degrees is 1/2 of PI and 360 degrees is 2 PI. I thought it was kinda weird to this that way but w/e probably people have their reasons...

The concept is so beautiful and natural yet it was made as artificial as possible during math education I had.
No wonder so many kids don't get or like math :(
This article is several years old. Its concepts have been implemented in http://aurajs.com with the author as the project lead.
The limit for free users appears to be 10GB/month, you're wrong by a couple of orders of magnitude!

Still, the data transfer limit is annoying, and they don't publicise it (I only knew of it through reading your comment!)
And so it begins, possibly. China has a very big economic adjustment ahead of it; this may well be a sign that the long-delayed change has begun, or is about to begin, in earnest. (I'll refrain from any nautical metaphors here.) All those complacent expectations of the next five years or so of the world economy seem to depend on things being mostly okay in China. I suppose we'll see how that works out.
New ways of explaining things should always be welcome

This is a 30 second animation that could be shown to a junior high school class room and most would get some of the idea (if not all).

The real beauty of this is that it could just as well be broadcast to the stars as a quick primer in linking earth based, fundamental mathematical symbols with universal constants.
I'm learning sign-language at the moment (my son is deaf, and we live in Switzerland, so we're learning SDGS [Schweizer Deutsch Gebaerdesprache]) and I believe you could be right on this although I do not know what those particular symbols might be at the moment (subject to further research)

Having also used VR in the mid-90's (Virtuality systems etc), I am pretty excited about the movement in VR (oculus) and AR (meta) at the moment. Interesting times!
"Not to be dismissive or condescending"

but you are... there's nothing wrong on trying to make concepts more understandable.
In my experience, some narcissism is a requirement to be a startup CEO. And I don't mean that in a smart-ass way. The incessant representation of the company seems to require a strong identification of one's self with the company. It's sort of an enabling trait which has some potential negatives consequences. Among the latter would the perspective that sees everyone around them in the company as an extension of their will.
Getting to the point of being a "real" CEO also usually requires some more-than-usual self-involvement and identification of one's endeavor with one's self.
Good CEOs (by my standards) just have a touch of this. Many have too much.
As you indicate, there's a certain logic to it.
I've never seen a BART station shorter than ten cars, though many rush hour trains only use eight or nine.

I seem to remember that BART has an outdated and overwhelmed computer system which requires greater spacing between trains (and sometimes fails all the way down to manual control). At least new cars will have three doors instead of two, which should get a train out of a station faster.
> Java not running in the browser, i.e. running as a service on the target platform.

Thank you for clarifying - my initial interpretation was wildly off.

> Personally I am not a proponent of running Java in a browser, but I am a proponent of the JVM as a service. So please educate me on the security issues as they relate to running Java not in a browser.

I'm afraid I lack the practical detail you're probably after in terms of defending or mitigating attacks against Java services. Sorry! Some of the CVEs would still seem relevant, but you'd be better off turning to them directly instead of having me poorly parrot them.
Is there an implementation of the JVM in Javascript? That should address some of the issues outlined.
But he's sure to get his own History channel special now, airing right after the alien guy.
Also: https://github.com/Respect/benchmarks/
The water? America has extraordinarily clean water systems overall, among the best in the world in fact. It also has one of the highest renewable water foundations (trailing only Brazil, Russian and Canada). It's also very diverse, some cities are much better than others. The notion that a person moving from China to America would worry about the water is borderline comical.

Most of America's cities have an overly abundant supply of clean drinking water. Those that don't are almost always situated in a desert.
I think that since adopting the 2D desktop metaphor, we've all started working with way too much data for it to be reasonably represented as a 3D world. The trend in OS design recently seems to be away from representing physical objects and more towards

* dashboards (Windows 8 start screen and Mac OS dashboard)
* lists (browser tabs, Windows taskbar jump lists)
* search

I think we're evolving towards a common visual language for representing information, and the concept of a physical piece of paper or a table on which to store it is going to become a distant memory.
I think the problem is that most single page apps are badly designed.

Each resource must have a unique URI or the original web model (as envisioned by TBL) is broken.

This can be, and in many cases has been (google plus for instance), solved. It's just a matter of good design.
What is that little angle after the 3rd r that completes the pi-r?