skysight-inc/HackerNews huggingface dataset:
Past performance is not indicative of future results.

I can't tell if police behavior is getting worse, or whether it was always this bad, and it is just being caught on camera more often, thanks to ubiquitous smartphones. But you can now go on YouTube and watch only new videos of cops behaving badly every waking moment of your life. They shoot dogs. They beat up handcuffed suspects. They arrest protesters for trespassing on public property. They use pepper spray from 30 cm away against nonviolent protesters. They make racist and sexist remarks. They shoot people in the back and drop a weapon next to the body. They literally murder people, on camera, and are not required to take any personal responsibility for it.

You should give a cop no more deference than you would ordinarily give to any other person who could murder you on the spot and get a paid vacation as his only "punishment". Be respectful, and they probably won't kill you, or do a roadside body cavity search, or arrest you for resisting arrest, or drag you to multiple hospitals until they find a doctor willing to comply with their ethically dubious and medically unnecessary requests, or shoot your dog, or simply trash your car while performing a "search".

Be respectful, and they won't punish you for "contempt of cop". The Andy Griffith cop no longer exists. He has been replaced by the "made man" cop.

Your best course of action now is to avoid all police contact altogether, even while they are off duty. If they force you into contact, just keep your mouth shut and leave at your earliest safe opportunity.

My advice to foreigners is to not voluntarily visit the U.S. If you must come, do not stray from the tourist-friendly areas, and try not to be outside of your hotel or other lodgings between 11 PM and 5 AM local time. Write the phone number for your nearest consulate in permanent marker on the inside of your forearm, and make sure it stays legible for the duration of your trip. Purchase a health insurance policy designed for international travelers to the US before you arrive. If you find my advice dubious, read this: https://en.wikipedia.org/wiki/Sureshbhai_Patel .
This is a short-sighted view. JetBrains now controls pricing, and the relationship itself is coercive.

This means that you have no control over pricing, and that JetBrains doesn't need to worry about whether you'll renew year-to-year if they don't produce upgrades that make your renewal worthwhile.

Long-term mutually beneficial economic relationships are rarely built on top of coercive models that give one party such an enormous advantage.
VPNDada.com: helps Internet users in China find reliable VPN services
There's also "paper-now" which uses Jekyll Now + GitHub Pages.

https://github.com/PeerJ/paper-now
https://peerj.github.io/paper-now/
Which is why we didn't just discover FTL communication. The term "wormhole" is a fairly loaded term for the layman. One of those rider concepts is instantaneous.
How to Stop Chargebacks Before It’s Too Late
Per Wikpedia, he "was a Belgian priest, astronomer and professor of physics at the Catholic University of Leuven. He proposed the theory of the expansion of the universe, widely misattributed to Edwin Hubble. He was the first to derive what is now known as Hubble's law and made the first estimation of what is now called the Hubble constant, which he published in 1927, two years before Hubble's article. Lemaître also proposed what became known as the Big Bang theory of the origin of the Universe, which he called his "hypothesis of the primeval atom" or the "Cosmic Egg".

It would seem this guy, who got his Ph.D. at MIT, was erased from history due to anti-religious bigotry, "Let there be light" maps too well into the Big Bang, as the Pope recognized (but took too far). Fred Hoyle was one such figure: https://en.wikipedia.org/wiki/Fred_Hoyle#Rejection_of_the_Bi...
The Star Wars BB-8 droid can now patrol your home
The culture of programming is whacky and I love it
Rails is more than just a Framework
This is good news but little bit too late. Microsoft strategy of sticking with windows to slow down Linux and Mac back fired . If they opened up .Net few years back cross platform app development landscape would have been totally different today.
Whether you're a professional programmer, a student, a hacker, or all of the above, the informative material and anecdotes in this Paul Ford piece are relatable and fun.
Anecdote. I am originally from México, living in the U.S. for over 20 years now where I have not, in all that time, had a problem with police. I've been stopped, and treated with respect. In México as a teen it was not the horror stories that most Americans believe, but well, "less civilized". I travel there on occasion without event always. Except once last year, I made the mistake to drive into México in a black car with tinted windows. I was stopped and interrogated at every opportunity, fined for going 60 Km/hr (40 mi/hr) on the "International" highway. In my experience having an education and being able to communicate coherently will save you from trouble in the US, but not necessarily in Mexico, if you happen to be unfortunate enough to attract the attention of cops, unless you can convince whomever that you have certain connections or "levers" (palanca) that you can use if needed.
Ahh, I also was thinking there is some TeX templating support... What they have is only KaTeX for math formulas.
OS X has been based on an amalgamation of several BSD flavors for a while now.
Can you edit your comment to include why?
Latest strongSwan from brew repository works good on OS X. But most painful thing is connection restart after changing WiFi network. I need to reset it manually in most cases. Even low Dead Peer Detection (dpd) timeouts didn't help.

Here is this part from my ipsec.conf:

# Always up
dpdaction = restart
dpddelay = 5s
inactivity = 10s
keyingtries=%forever
auto=start

Any suggestions?
"The real problem with land [and property taxes] is the fact it tends to flow into the cost of rent and homeownership."

The price of property and rent in popular places will be what the market will bear. So with tax, the rent would stay the same. Price of apartments would go down, because buyers need to pay the tax, so they cannot afford as much.

Apartments in space efficient towers would be grow in value relatively, because they don't need to pay so much tax, so there would be incentive to build more densely.

This means more apartments and cheaper prices.
All books are stored as git repositories so you get branching, history, etc ... out of the box.

We have great GitHub integration because it's the main Git host out there, we store git repos too.

If we shutdown, our toolchain and book format is already open source (https://github.com/GitbookIO/gitbook), so no matter what you'll always be able to use that to build your book locally. Secondly our Desktop Editor (https://www.gitbook.com/editor) works offline so you could even continue to use that. And well since your book is a git repo, you can have a local copy, a copy on GitHub or any other git server of your choice. So I think you should be good :)

We don't believe in vendor lock, we're big supporters of open-source and we want users to use our tools and platform not because they're obliged to, but simply because it's the best workflow/product for them.

Does that make sense ?
Oh thank god. Go is bearable in most areas, but the template system makes me weep. Is there any particular reason the string concatenation doesn't work? Seems special enough to be specialcased ;)
Here's a strong opinion, based on my own experiences here at Labs. As is traditional on HN, it doesn't directly answer your question, but instead assumes the universal superiority of my own preferences.

1. Pair program.

2. Drive code from tests, outside in.

3. Rotate pairs frequently. Daily for short stories, no more than 2 days for long stories.

4. Review your commits together.

Every other reviewing scheme I've seen quickly becomes an unacceptable bureaucratic drag on forward movement.

At best you wind up with an average of around 2-3 days lag, giving plenty of time for the original engineer(s) to lose context and for the master branch to be well out in front.

At worst you have patches sprinkled around multiple branches of multiple repos, everyone is blocked on everyone else and continuous integration is thought of as a joke about mathematicians.

The original literature on code reviews is based on a very particular and extremely rigid manner of developing software. I think pair programming captures 80% (or more) of the value for less than 20% of the effort and disruption.
>Oh and in the UK - mephedrone, which was banned purely because it became popular. Nobody did themselves much harm with it until after prohibition.

That's not true. There have been quite a few fatal mephedrone overdoses in the UK.
It seems all relative... I'm 29 and wishing I was in my early twenties again. I'm seeing my younger ambitions slowly seeming less and less plausible. And yet, I've seen posts from 23 year olds wishing they had done more studying in highschool/college to get a better head start on their career.

Maybe it would help to try to imagine genuinely being another decade older in the same situation, looking back on today - and then do the thing you regret not doing!
Live Chat with Ben Horowitz Entrepreneur
I agree and wanted to make a similar point. This is a false dilemma.

It seems to me that every feature has a debt component (cost of maintenance) and an asset component (value to customers and business). Evaluating those together, one can determine whether a feature is a net asset or net debt/liability. In this frame, there _can_ be "neutral" features, where the feature debt and asset entries sum to zero.

If all features were simply debt, it would be hard to imagine how there could be any sustainable software companies.
This is rubbish. You are not children.

If a coworker needs to talk to me, he sends me a message. If he really needs to talk to me, he waves his hand in front of my screen. If we are pairing on something, I obliviously don't wear the headphones or we both do and simply communicate using chat.
Starts at 10am PDT Today
Inside Facebook's plan to build a better school
suit = Integer(i / 13)
suit = Math.floor(i / 13)
Wind Shortage?
"I can switch to the $149/yr 'everything included` plan and get a couple tools I don't already have"

I bet you think cable TV is a bargain too considering the literally thousands of channels you receive...

I'd prefer to pay for what I need... and keep it. And update when I feel I need to.
Hi, this is Jakub, Co-Founder of Estimote, Inc.

Last May we have announced a new robust mobile SDK for Indoor Location using beacons: blog.estimote.com/post/118294444205/super-simple-and-accurate-indoor-positioning-with

Today we are happy to announce that we have integrated Indoor Location with #nearables and allow tracking objects in the physical space with tiny, battery-powered beacons.

People who use mobile apps with our SDK opt-in to act as crawlers scanning for nearby beacons and updating their position when they walk around..

Hope you enjoy our tech and I will be more than happy to answer any questions here.
As someone in my early-towards-mid 40s, is it really hard to stay employed? I get that lots of folks are into consulting at this age or other versions of self-employed, but as a guy who got into this field fairly late, I'm concerned that I'm going to end up 50 and jobless which will really mess with my retirement plans.
The Mono framework[1] has been pretty popular in some circles for years now, so I imagine a decent amount of adoption can be expected once .Net Core proves stable.

1: http://www.mono-project.com/
On top of the money going out periodically, it's about the cognitive load it places on the customers. I have enough decisions to make every day; additional services to consider adds the amount of time I need to think about writing off certain subscriptions from my taxes, whether or not I renew, time to make sure my credit card is up to date, check to make sure my subscription doesn't require when I'm on vacation without Internet and want to code, etc. A one-time purchase loads all of that into a single occurrence where I need that product instead of bringing it up at a calendar-determined interval.

My company uses WebStorm regularly because it's a solid IDE for Linux; I've heard of Visual Studio Code running on Linux; have people found that comparable?
It's not really that terrible. If he became the republican nominee, all it would accomplish would be to hand the election over to the democrats on a silver platter.
This is a very good explanation of why this is bad for consumers.
http://www.motherjones.com/politics/2012/10/solitary-confine...

"four years ago Pennington was "validated" by prison staff as an associate of a prison gang (one formed on the inside, as opposed to a street gang). That's the reason he and thousands of others are in the SHU with no exit date."

"Gang evidence comes in countless forms. Possession of Machiavelli's The Prince, Robert Greene's The 48 Laws of Power, or Sun Tzu's The Art of War has been invoked as evidence. One inmate's validation includes a Christmas card with stars drawn on it—alleged gang symbols—among Hershey's Kisses and a candy cane. Another included a poetry booklet the inmate had coauthored with a validated BGF member. One poem reflected on what it was like to feel human touch after 14 years and another warned against spreading HIV. The only reference to violence was the line, "this senseless dying gotta end.""

"THE DECISION to put a man in solitary indefinitely is made at internal hearings that last, prisoners say, about 20 minutes. They are closed-door affairs. CDCR told me I couldn't witness one. No one can."

"At one point he initiated a hunger strike that involved 120 inmates. Two days later, he was put in ad-seg for "conspiracy to assault staff." The claim was based on confidential information that the person in charge of reviewing ad-seg assignments later found did not exist; it couldn't be found anywhere in his file. He spent a year in isolation."

e: to state the point explicitly, few conclusions can be drawn from the official records because the standard of evidence is near zero, the guards can write anything they like, and they do.
By TeX support I meant that we fully support TeX equations.

The website mentions TeX but means LaTeX, I'll get that fixed, sorry for the confusion.

Our TeX support allows you basically to write Markdown/Asciidoc and use TeX formulas wherever you need to, which gives you the best of both worlds (the simplicity of Markdown and the power of TeX formulas).
Note that failing to pay traffic fines or show up in traffic court can also result in an arrest warrant in Canada: http://www.slsedmonton.com/criminal/unpaid-fines-and-debt.
All true. The cannibinoids themselves are far more potent than THC too, much higher binding affinities for the receptors, so while it's more or less impossible to actually overdose on THC, that's not the case with these.

yeah I know, it's easily possible to have more than you're comfortable with...
When you live in a society dominated by agriculture children are an asset. When you live in an industrial/service based society like our own children are a cost. So generally speaking, most people have fewer children. As the world develops the trend continues. China is probably a data anomaly because of it's one child policy... however if it had not had it, i'd be willing to bet you could watch the trend.

I'll just throw this out there, I pay $1600 a month for daycare. It's the reason I have 1 kid, and waiting before having a second. Throw into the mix better birth control tech/education/use, and this kind of restraint is possible.
College students are now smoking more pot than cigarettes
I find that 1-2 days, maybe 3, is a good number before getting a review. This doesn't mean they have to be finished with their piece of work, or that they even have to commit the code at the end of the review, this is just so a second pair of eyes can see it and both can agree that they are on the right track.

Then when the functionality is complete, the same reviewer can glance over the already reviewed sections before focusing mainly on the new changes.
Seconded. Performance is the main thing holding me back.

I'm very excited about C# and other .NET languages for server applications, and would like to make it my primary server side environment, but am waiting for three things:

1) A production ready compiler and runtime on Linux (coming)
2) Tooling to support the new .NET project structures and dependency management (coming, it seems)
3) A production ready server solution with reasonable performance. On Mono, .NET Linux server apps consistently score near the bottom of benchmarks, essentially ruling it out. (Who knows? It seems too early to know whether this will happen.)
Not uncommon, I'm 52 and still beat most of the men who are literally half my age. I even outright win a race once in a while if I'm not on the west coast (much more competitive, I've found). Granted, there's a bit of innate talent and hard training involved.

Frankly, I don't give it a lot of thought, I just run like I always have. It's not until someone else points it out that I'm like "hmm, I guess that isn't too bad for an 'old guy'".

As a sibling commenter pointed out, 50-ish is when the kids move out and you've finally got a little money and vacation time, as well as time to train. Time for that $7000 Colnago race bike you've always wanted, eh?
This is really nice. Does it allow to work on multi file documents? i.e. when wiring a big document like a thesis, it's nice to have the chapters divided by different files.
Secret? It was talked about a lot here for a while. It started with a secret IP address in a trailer for The Imitation Game. Here's a later discussion.

https://news.ycombinator.com/item?id=8589835
String-based templating is a bad pattern fraught with security issues that shouldn't be translated from old languages to new ones.
The Plan – Larry Lessig for President
Legion of Tech Volunteers Lead a Charge for Bernie Sanders
I'm curious when you last looked at Rust, because in the past year the built-in ~T and @T pointers were all removed. Nowadays there are just references and raw pointers (and the latter are primarily just for FFI).
Sad but true
When I'm in a good environment and haven't slept all too recently, I can also easily get a 15-minute 'cat nap' with full on dreaming. I sometimes wake up from them multiple times in a mild dream-state panic, but I don't really consider that a problem.

I wear contact lenses, and keeping my eyes closed for more than 5 minutes will really dry up and irritate my eyes (beyond relief with lens solution). The problem is that when I take them out before taking a nap, beside the effort that that takes, my eyes will not take kindly to putting them in so quickly again. In the morning it's not usually a problem. Does anyone have anything to share about that?
Love is bonding. But to get there you first have to fall in love. And as you grow older, at least in my case, you don't get so easily enthusiastic when you meet an interesting woman. You've learn to keep your hopes down in case the whole thing goes south. It's a defensive mechanism to keep you from feeling heart-broken every so often.
Evidence?

As far as I could ever tell there was only one widely reported (before prohibition), and it was misreported by the press. The substance that killed that guy was methadone.

--edit-- I see from a quick scan of wikipedia that there were a very few deaths

The only one definitely cause by mephedrone and pre-ban I can see was "The first death reported to be caused by mephedrone use was that of 46-year-old, John Sterling Smith, who had underlying health problems and repeatedly injected the drug"

It's not exactly a surprise at that point.
It will be very nice to be able to do CI/compilation on extremely cheap and fast (to spin up) linux slaves as opposed to requiring an expensive (license, hardware) and slow (miserably slow ec2 boots) Windows servers.
I feel like land is such a good example of the destructive powers of a good with a heavily deflationary value (deflationary due to policies and not by nature). It just leads to hoarding and benefits the early buyers, while at the same time hindering innovation because people who can make better use of the land cannot afford it. Land use regulations are probably one of the biggest blunders in modern capitalist economies. And the worst of it: The problem is not even visible to a lot of people: Very restrictive building codes in European city centers are rarely ever questioned - this wouldn't be of much concern if we talked about single digits km^2, but usually they affect huge districts. Incidentally land ownership was for many historically despised "capitalists" the goto way of acquiring wealth: If you have an emerging company which requires lots of labour, the best investment you can make is building company housing for your employees, that way a part of the salary you pay ends up right back in your pocket. All you have to do then is lobby for restrictive building regulations and your family's wealth and estate is secured for centuries to come.
Sorry if my comment ignored the contributions many companies make to OSM - but I think the article expresses concern that OSM's potential as something that can be contributed to within a local community is threatened by people from first world cities mapping swathes of area from satellite images. I disagree with that idea of course - I think the nature of contributing to OSM already favours in the field volunteers.
I start to get a bit cabin-feverish on the odd weekend when most of my friends are out of town and I spend a couple of days alone...and even then I talk to a few people. It feels awful just imagining what it would be like to spend years in solitary confinement. A form of hell for sure.
Anyone who does not like MS because of the $ cannot at the same time like Java.
Not sure why you'd think it "interesting". Why would you want any kind of drug-induced high? It's basically just screwing around with your neurotransmitters and giving you a similar experience to what you can achieve naturally, but with the disadvantage of receptor downregulation. I've tried weed, and to be honest the stoned "high" wasn't really much fun or very interesting -- I have much better experiences in real life. (If you haven't, I'd perhaps suggest that you're doing real-life wrong).
I'm interested to hear an alternative, particularly one that will work with separate front end dev teams etc.
> A coding test doesn't tell you how well a candidate can collaborate.

Agreed.

> But white boarding is excellent for answering all those questions.

I disagree. There is no team social dynamic in a white-board interview. There is one person in a position of power who is judging you with a critical eye. The other person is being judged and either really wants this job or, worse, needs the job.

That is the social dynamic in the room.

That doesn't go away by saying "Let's play pretend like we are working on a project as equals".

Interviewers will often discuss their rationale as if the candidates know what it is, or that they should be able to know it.

For instance, "I want to see if they can take suggestions and run with it".

Great, how does the candidate know that's what you want? Maybe the last interview they were in wanted to see if they could take bad advice and quickly explain why that strategy wouldn't work.

Those both look the same from a candidate's point of view. They need to toss the dice and assume they interpret your intentions clearly.

> Being willing to jump through hoops means you're willing to cooperate and go the extra mile

I don't know if I fully agree, but working at a big company does involve a lot of hoop jumping in your day-to-day, so I guess it is something good to test for.
Protected branches and required status checks