skysight-inc/HackerNews huggingface dataset:
Utter nonsense. Automated driving aids have been developed for a long time by European car manufactuerers. Audi is now testing a fully automated var. Daimler just released a partially self driving truck.
>>> grew fed up with covering for mediocre performance by my peers

Would love to hear your peer's thoughts about this.
I found the writings of Samuel Colbert invaluable when I took on a management role http://www.performancepreview.com/
It was the first piece of management advice that rang true with my own personal experience.

In a similar vein I'm currently reading Frederic Laloux's Reinventing Organisations which is great although may be difficult to enact depending on your company.

Specifically around managing software engineers I would do some reading on bricolage and how to cultivate that mindset, I've found adopting it in my teams sees motivation soar. I don't have any specific reading material to point you at on that though.
Be a Leader Who Can Admit Mistakes
I haven't tried getting commercial transport insurance, but my gut feeling based on moves and mailing items says that insurance claims in moving cargo are way more common than in moving passengers.

With passengers, the only real risk is a traffic accident, which are reasonably rare.

With cargo, traffic accidents are still rare, but it is much more likely for the movers to damage something while loading/unloading or when boxes shift in transit. It's hard to accidentally damage a passenger, while it's easy to drop a TV while carrying it down the stairs.

Perhaps these risks can be minimised if the owner is responsible for loading/unloading and for safe packing of boxes in the truck.
Fashion is weird. Throughout history and cultures, man/women clothing changed and still changes wildly.

It's a bit sad that in western culture there's such a strong bias between sexes in clothing, were each sex has his own set of "acceptable" uniforms. With feminism women gained much more freedom in that regard, but men don't have much choice.

It's not unthinkable that while men tend not to care, there are men that also like pretty/colorful/different things, irregardless of their sexual preferences, but simply abstain to express due to social pressure.
U.S. Was Warned of System Open to Cyberattacks
And with a few trivial bits of syntactic sugar, they get even closer.
Eurorail is a complete waste of money. The companies who sell it in the US are there to screw you over.
It's the same problem XML has. It's bloated and unreadable for a human. YAML is much better in that regard, and I wonder if one could build a document language with a syntax that resemble json.

Have you ever opened the html content of any common webpage ? It's insane, in size and indenting, it's impossible to make sense of it, it would make much more sense to have an open binary format and let developers deal with it. HTML has way too many attribute that stacked on each others. People will defend its openness, but I pity the guys who write html parser for internet browsers.

HTML thrived because its openness allowed to bypass microsoft and its closed solutions, but other than that...
Guy, instead of arguing with me on HN where nothing will happen run in for politics or something where you can impact people's lives instead. Our family left long ago. Though we've left we're still quite attached.

68 years is long enough after colonial rule not to blame them on the current problems. Singapore did it and got independence later than India did.
A big breakthrough at Microsoft was when they applied a classifier system to sorting the error reports and automatically bringing similar ones together for analysis. That happened early in the Windows 7 era.

The other big breakthrough in error handling at Microsoft was the Static Driver Verifier.[1] This is a formal proof of correctness system which analyzes kernel level driver source code to see if it does anything that can crash the kernel. All signed drivers have passed the Static Driver Verifier.

Those two innovations made Windows 7 far more stable than previous releases. The Driver Verifier eliminated almost all crashes caused by drivers breaking the rest of the kernel. It also eliminated blaming third-party drivers for crashes that were not their fault. The automatic classification of error reports made it possible to deal with a huge volume of error reports without ignoring most of them.

[1] https://msdn.microsoft.com/en-us/library/windows/hardware/ff...
Trains reliably run to timetable. Buses don't.
Write better headlines than I do (ie. the science behind clickbait)
> "You've been down-voted, probably because this assertion seems somewhere between weird and offensive to most people here, but I'm genuinely curious as to why you believe it."

I have come to believe it because I have come to realize that it is the only notion of "nice" that has real utility.

I only wish somebody had explained that to me earlier in life. I spent too much of my youth disadvantaging myself socially by failing to prioritize how I present myself to others.
It is impressive how much people hate Java. It is currently used in billions of devices already and it is the obvious high-level language to go.
Nothing prevents using a stale cache pointer. The stale cache still contains correct data, so using it is benign, up until it gets deallocated.

A stale cache pointer may become wrong if a method implementation is replaced, e.g. by a category, but replacing a method while calling it in another thread is inherently racey.
Just one idea: you don't come across things in multiples of 7 that often.

UK: eggs come in 6s. Pizzas get cut into 4s and perhaps 8s for a really huge one, so multiples of those numbers get seen around. Half is sort of easy (all my adult students can usually find half of a figure, especially if I encourage them to think of paying it out in money with £10 notes and £1 coins). 5 fits into the decimal system nicely. Threes are easy to count up.
Apart from all the Arriva-branded services, several train operators in the UK belong to Arriva (CrossCountry, Chiltern, and Grand Central Railway). Also, on the freight side of the railway business, DB own EWS (which is now called "DB Schenker Rail (UK)"). Since DB is fully state-owned, parts of Britain's railway system are state-owned again, but by the German rather than the British state :D

But to defend rail travel in the UK, advance tickets are much cheaper (I don't think I ever paid more than £25 between London and Leicester, maybe £15 on average, but then I didn't use the peak trains), but do require planning ahead. If you're lucky you can even snag a first class advance ticket for less than £3 more than standard, which is quite nice (tea! biscuits! juice!). Railcards are also quite affordable (certainly more so than DB's BahnCard) and amortise rather quickly, even more so when considering that you can have the Railcard discount applied to your Oyster Card. All in all, I was quite positively surprised given all the negative things I heard beforehand.
I'm not sure if I follow, I don't see what the benefit is in defining an authentication protocol like this based on passwords. If websites are going to actually work with this protocol, why not use public key authentication or any of several other existing authentication protocols. Maybe I'm missing something, but unless this somehow eases the distance between password based authentication and other methods then it seems kind of like trying to shuffle our human password schemes into a protocol where details like a unique password shouldn't need to matter anymore anyway.

I'm a little confused.
A good forgetting
See also Jackpot[1][2] (James Gosling himself was involved with the project) which is now integrated with NetBeans.

For example, given the rule:

$1.isDirectory() :: $1 instanceof java.io.File
=> !$1.isFile()
;;

It will rewrite this:

java.io.File testFile = new java.io.File("/tmp");
if (testFile.isDirectory()) {
System.err.println("/tmp is a directory");
}

into that:

java.io.File testFile = new java.io.File("/tmp");
if (!testFile.isFile()) {
System.err.println("/tmp is a directory");
}

Another cool feature is that simply placing the rule files in a library's META-INF/upgrade directory, will activate them in the IDE, offering automatic refactoring to users of the library (i.e. if the library is in your project's classpath).

Jackpot is used extensively by NetBeans.

[1]: https://bitbucket.org/jlahoda/jackpot30/wiki/Home

[2]: http://www.devoxx.com/display/DV11/Jackpot+3.0+-+Large+scale...
The Leiningen tooling around Clojurescript is not very good.
Mobile ads are less effective - there's less screen space available for them, and CPCs are lower, as Wall Street analysts have pointed out every conference call since 2013. Most of Android's revenue comes from the 30% cut Google Play takes.
Type 4 the type where you have no idea what you're talking about with regards to British rule in India

Type 5 is where you start enumerating during your rant to make it seem as you have a point beyond "never mind mass murders, famines.. colonialism sure did a lot for culture"
The problem isn't that those principles are bad - they're useful - but the languages we're attempting to use them from are not sufficiently expressive enough to follow them all in a practical way. "Design patterns" and DRY don't mix very well - because the act of implementing a design pattern is largely repetitious. We create XFactory, YFactory, ZFactory for example, with largely the same structure but slightly different logic - then someone takes DRY to the extreme and tries to abstract it away into a FactoryFactory, using reflection or some other tool to get around the host language's lack of expressivity.

This is where the mess begins, because it becomes so cryptic to figure out how to use the FactoryFactory to create your own Factory to create some other types you need. It may be trivial to people who've been hacking with the same languages and frameworks for years, but the principle of least surprise is abandonded for new users attempting to use a framework for the first time.

Functional programming suffers from the same overuse of idioms which are unwelcoming to novices, and often throws away some useful ones in favor of ease of use. FP doesn't necessarily dismiss OOP, and it's often used in combination with functions to write practical programs.

Functional programmers don't see OOP as a problem - it's a very practical tool. The problem is that it's the wrong tool for many problems - particularly if you're just computing functions[1]. That a lot of developers are proficient with OOP and see it as a good way to develop programs is part of the cause - they're blind to alternative methodologies and shoehorning something into an object where it doesn't fit is seen as a being skillful. Also, anything that doesn't conform to the language's narrow view of "the right way" is considered an anti-pattern.

[1]:http://www.yegor256.com/2014/05/05/oop-alternative-to-utilit...
The writing is "Spencerian Penmanship" and is considered a distinctly American form. Its influence is still recognizable in the Coca Cola and Ford logos. Many homeschoolers still buy reprints of the classic manual for use in their curriculum.

http://www.amazon.com/Spencerian-Penmanship-Theory-Book-copy...

http://en.wikipedia.org/wiki/Spencerian_script

I've been using the script for all of my handwriting for over a decade, even filling out cursive-prohibited official forms without issue. The swift transition from being notorious for "Dr.'s handwriting" to being sought after to fill out wedding and funeral cards was startling.
Thanks! Will think about how I can add that in the next version.
Apple WWDC next week
Really? That's the criteria?
In Germany I usually buy my ticket on my phone on the way to the station (I do have a BahnCard 50, i.e. 50% off all journeys). I could typically save a few quid if I booked non-flexible tickets a few days in advance (3-7 days). For longer distances (>400km) the savings become more noticeable and my trips less spontaneous, so I do tend to book those in advance as far as possible.

In the UK (I had a Railcard), I booked everything as far as possible in advance (quite often on the day advance tickets became available), as prices for advance tickets do vary quite a lot when you get close (weeks instead of months) to the day of travel. If you don't care which train you take, then you'll usually find affordable tickets a week in advance, but when meeting people at a fixed time, booking close to the day can yield unwelcome surprises.
The newer versions of Freeling have a socket server you can use from any socket client. I wrote one as my first go project a while back

https://github.com/Hendler/goling
Part of the preference for trains is that the sunk investment in right-of-way is a strong disincentive to move or discontinue service. This allows people to feel confident that they can depend on the service to stay there, and invest in the areas around these transit corridors.

Anecdote: I lived in Seattle for 10 years without a car. (A city with surprisingly high transit ridership considering the lack of any sort of rail network, notwithstanding toy trolleys and the lone light-rail line from downtown to the airport.) More than once I moved apartments due to bus routes I relied upon being discontinued or rendered unreliable by drastic service cuts (e.g. instead of all-day service, you now have 4 trips per weekday, peak direction only, and if you miss them you're either making two transfers or walking 2 miles to the nearest direct all-day service. Weekend service? hahaha.)

This doesn't (often) happen with rail, heavy or light. Being unable to depend on bus service in any particular corridor to last more then a year or two without realignment or service cuts made it hard to justify settling down. If I wanted to buy a car and drive everywhere, why pay the premium to live in the city in the first place? In the end, I moved back to a real city where I could depend on the metro.
2 * n is easy. 3 * n is easy, just multiply by 2 and add one n. 4 is easy, just multiply by 2, two times (or multiply by 5 and subtract one n). 5 is easy. Six is easy, just multiply by 5 and add one n. 9 is easy, just multiply by 10 and subtract one n. But 7 and 8 are not 'reachable' with two operations.
Exactly the same issue with myself and my girlfriend. It feels nice for both of us to be nearer in height.
This is neat. Kind of reminds me of the built-in LRU cache decorator[1] (as the author points out). I'd be interested to know what kind of policies there were to control the cache size (will it just expand to fill up Redis / memcached?), as well as how cache TTL is handled.

Being able to determine which parameters "matter" is an interesting feature. It doesn't immediately seem useful (if the value of the parameter won't change the return value of a function, why does it matter?). It'd be interesting to see some kind of dynamic support for the keys. For example, having a cached value for if parameter `a` is larger than parameter `b`, or for if the first argument of a function is "None".

Great work, and thanks for making it open source! Further props for making it Python3.

[1] https://docs.python.org/3.3/library/functools.html#functools...
Well, but they're right on the attempted mind controlling through media, aren't they? I think the technical term is PR.
You need HTML for search.
Twitter-text: libraries for identifying URLs, at mentions, hashtags in text
Ask HN: To New York, or Not to New York
Hi,

Thank you for taking the time to read this.

My current workplace (California) is pretty relaxing in the following sense:

1) Arrive at 8AM and arrive home before 5PM.

2) My job is turning existing academic research papers into products.

3) 25% each day, each member of the team I am in are allowed to read whatever is productive (e.g. ICML, CVPR, CHI, OSDI, NSDI).

4) I can propose my own projects as long as it can make money.

The following are the downsides:

1) If you want to do real research, it must either fail within two weeks or it must succeed within 3 months.....you can't fail repeatedly :)

2) Your own project's priority can shift; it's not cancelled, but other tasks needs to be done first.

3) You juggle between 2 to 4 projects, but one project can suddenly take top priority (even if you think the project itself is useless).

4) Incompetent (in the worse sense you can think of or experience) individuals (some even have a PhD) have positioned themselves as project leads/managers; I try my best to avoid those people.

5) Salary for entry B.S. is ~80k, M.S. ~90k, and PhD ~ 100k. 6) I have roughly $1k left every month after maxing out Roth 401k, Roth IRA, and soon even my HSA.....on top of company stock purchase and life fees (e.g. food, housing). I am in the ballpark of the mentioned salary range. Since I'm at the bottom of the totem pole, that $1k will increase should management ever decide to throw me a bone (I'm well liked by my team members and got very high reviews cause I get stuff done).

TLDR: Recently Two Sigma listed positions that caught my interest; my current work is only related in the machine learning sense. I've only lived in California thus far :) I'm not sure if Two Sigma can even offer a salary that will maintain my frugal living style.

I would like to ask those of you with vast experience and knowledge, would you jump ship and join <insert your company of interest>?
Maybe he reasoned about his code in his head/on paper?
Binary Millionaire 2015 Review need to know
> BahnCard 100

Nice! How much does that cost you? Also, why would you have that? (Those are really expensive)
UK: Pop your buses on tracks set in the bus lanes and can have the train wheels! We used to call them trams. A tram service often referred to as 'the metro' these days to make them sound modern because we spent loads of money in the middle of the 20th century ripping up the tram lines in many of our larger cities.

http://www.metrolink.co.uk/

and the route map at

http://www.metrolink.co.uk/stationinfo/Documents/Route_map.p...

Also Sheffield, Leeds and a single route in Birmingham.
I wonder what would happen if they also included trolleybuses in the mix.
I don't really buy it, while men are expected to put a masculine spin on things, they still have lots of freedom in their fashion choices, most just choose to abstain out laziness or because they don't like drawing attention to themselves.
The best font in the world is included in LaTeX: New Century Schoolbook.

Don't let the name fool you, the font is optimised for readability which means you can drop the font size and it will still be easier to read than CM at a higher font size but you get more space to work with.
I think the bigger issue in the US it that it appears no longer possible to start large public infrastructure projects that aren't bogged down by corruption and incompetence at every level.

As an example the "Big Dig" in Boston was almost $12 Billion over budget and many years late. There are huge water leaks and there are many cases of bad work. In one case a woman was killed because the epoxy bolt of a ceiling panel broke and fell on the car she was a passenger in. [1]

Compare this with the Swiss NEAT train tunnel [2] which cost $10.3 billion and will be open for rail on December 2016 under budget by $300 Million. It had Problems as well, such as a stuck drill and bad concreet delivered by a company cheating by selling lower quality for the higher quality price. However these kinds of problems can occur and can be dealt with if you hire the right people for the job which may not always be the lowest bidder.

[1] http://en.wikipedia.org/wiki/Big_Dig_ceiling_collapse
[2] http://en.wikipedia.org/wiki/Gotthard_Base_Tunnel
It was banned for new projects in one part of Ericsson in February 1998. The official reason was that they only wanted widely used languages because of the synergy effects.

An interesting note is that Ericsson only a month later released their very successful ATM switch AXD 301 that was written mostly in Erlang.
If only someone had done that! Oh wait... http://www.freedos.org/
Interrail is only really worth it if you are under 26. If you have to get the "Adult" price then you only save money if you travel very frequently on expensive routes (e.g. once ever 2-3 days). Also you have to deal with the hassle of using interrail - nobody knows how the hell it works, you can't book tickets online!, you have to pay supplements on many journeys but again nobody knows which ones and how much.

Worth it if you're under 26 though because it is much cheaper.
Haha, I need to try this but for the whiteboards at work. We sometimes try to come up with ridiculous names too
Not to mention the 1.24 million killed by motorists every year http://www.who.int/violence_injury_prevention/road_safety_st...

vs a couple of hundred in train incidents.
Having travelled by train in other European countries, I'd say it is actually very good. It connects more places than most countries, buying tickets is easy, trains are frequent.

The downside is that is it is phenomenally expensive. Far more than any other country. Yeay privatisation?
LightSail, a Private Spacecraft, Goes Unexpectedly Quiet
This is what happens when you focus mostly on offensive capabilities and surveillance and do almost nothing about the actual security of the systems.

Sounds like the main culprit of this data breach was not patching their systems and not using 2-FA. Also, when you want to make it easy for the NSA to get data on Americans, you're also making it easy for China to do the same - I wonder if this is finally when the administration will get it (but I'm not holding my breath):

> And a number of administration officials in interviews on Friday painted a picture of Chinese adversaries who appear to be building huge databases of information on American citizens, useful for intelligence gathering and other purposes.

Also, it didn't help the security that Obama hired technological morons as CISOs and "cyber czars" with their "big picture" ideas.

> Mr. Earnest said Mr. Obama’s efforts to push legislation would bolster the nation’s data.

“We need the United States Congress to come out of the Dark Ages and actually join us here in the 21st century to make sure that we have the kinds of defenses that are necessary to protect a modern computer system,” he said.

Yup. So still not taking this seriously. The current "cybersecurity" bills are all about surveillance, not about actual security defense. Well okay then.
The silent war between black markets in the deep web
I can only guess it's because he was faaar too generous with the credits. One article per day? I send maybe one-two per week. Maybe a better solution would be to give each user 5 credits total, and then they would have to pay to keep sending articles(I would do it as an unlock thing, rather than selling them more credits though).
Also: https://www.reactos.org/
See also

SWAMP, or Standardised Web Account Management Protocol https://github.com/ashward/swamp

Password-manager friendly (PMF): Semantic annotations to improve the effectiveness of password managers http://mypico.org/documents/2014-StaSpeJen-pmf.pdf
Depends on the city though. Bus routes in London haven't changed for a long time. The buses I used 30 years ago all have basically the same routes. There are probably routes that are over 80 years old. But buses could never be grade separated in London. There's just not enough room.