skysight-inc/HackerNews huggingface dataset:
The real value in commuter rail is pulling drivers off the road so traffic doesn't degrade further. A 30 mile alignment though isn't very extensive, and ridership is unsuprising considering the 3+ mile station spacing, hour long headways, and other issues.

On a 3 lane freeway, the daily ridership of this train is as though you pulled the drivers filling one lane off the road. With shorter headways and collector routes feeding each station, its likely the ridership could see a significant increase.
HelloFresh | Frontend (Full Stack), Backend, iOS, Android | Berlin | Onsite | Visa

We are the leading global company in the expanding online recipe kit delivery market. This is a unique opportunity to gain valuable and challenging experience at a rapidly growing startup. Responsibility is given from day one to use your initiative and creativity to help us grow our business. We are fast-paced and love the food world.

We're looking for Full stack, Frontend, Backend, iOS and Android Developers who are keen to gain exposure to a modern stack and work as part of a team of exceptional engineers.

For more info about our culture and projects check out our Engineering blog at: https://engineering.hellofresh.com
For our stack check out our Stackshare at: https://stackshare.io/hellofresh/hellofresh-com

We work with PHP, Go, Docker, React.JS/Redux, Angular.JS, and are currently transitioning towards a microservice focused approach.

If you're keen to join our team, please apply using the appropriate link (so we know you came from HackerNews!):
Full Stack: http://grnh.se/e3m2ki1
Frontend: http://grnh.se/5yd3vc1
Backend: http://grnh.se/p4s6yu1
iOS: http://grnh.se/ocy2f81
Android: http://grnh.se/kwlf6j1
Came here to ask the same question.
Engineer says Uber hired firm to investigate her
Just add comments to JSON, Douglas Crockford can eat his heart out.
The thesis is about designing a type system that supports both type inference and subtyping. If you program Java but hate writing explicit type annotations all day, the thesis offers the tantalizing possibility of having a type system that supports all the subtyping you want, but at the same time has as convenient and predictable type inference as ML or Haskell. Conventional wisdom is that this is hard; in this respect, the thesis proves a very surprising result.
I'm old enough to remember when Japan was gonna take over the whole world. They did great, by the by, but hit some real cultural problems and stalled. Still doing fine, but definitely plateaued. I'd expect China to do something like that, although I question whether their totalitarian state is going to be able to hold together if growth peters out. When a bad year is 4% growth, people are remarkably tolerant of the government doing whatever. In lean years, not so much.

And honestly, as bitchy and entitled as the American middle class is, they're the folks that demand progress and reform. Lacking a group of people with that level on initiative I think would be self-limiting in terms of what you could get out of your economy. They need to move up the value chain to keep going, and the kinds of people that do that are kind of pushy as a rule.
Eve/Ofise/Otele Gelen Avrupa Yakası Escort Gerçek Resimli Pınar
I have a shining counterexample to your thesis:

https://arstechnica.com/apple/2015/01/why-dns-in-os-x-10-10-is-broken-and-what-you-can-do-to-fix-it/

In almost all my experiences reimplementing established software in a commercial environment "building a better wheel" has met with failure. Or in the very least it took some time to get it back to a level of acceptable that our customers were happy with.

This idea that it's easier to start from scratch than maintain old code is almost always borne of hubris.

The thing that many people miss is that software in active use is a "living thing" that has undergone many evolutionary iterations between developer and user before it's been gotten right.

There is so much implicit knowledge & experience embedded in the code itself. When you say you want to replace something with a "new" version you're effectively doing something similar to sacking an experienced engineer and replacing them with a graduate.

That's not to say that good enough is good enough. But it's important to remember that improving on "good enough" is hard. If you don't have a commercial mandate or other good reason for improving it it just may not be worth your time.
They probably do, but the thing with these influencers and the networks they use is that for every (young) adult who stops following you, you gain a fresh (pre)teenager ready to idolize you for years. Although in all probability maintaining a long-term career is not likely for the majority of these influencers.

These 'social influencers' are great for marketing, because they allow you to reach a demographic — indirectly, so it all seems sincere and authentic — that is notoriously hard to reach via traditional channels.
Python: Generator Cleanup
> "In this post, I have chosen to implement it as a binary search tree. There are a few reasons, most prominently because I wanted to eschew using anything more sophisticated than basic Python, and using a sorted list efficiently would mean resorting to Python’s bisect."

Other reasons:

- Other blog posts about consistent hashing fall prey to favouring 'clever' implementations, which is great for advanced Pythonistas, but serves to obfuscate for anyone else. Similar arguments hold for many existing BST implementations.
- Implementing the custom lookup I sought for this implementation was easier if I went with something hand-rolled, and was fine since I don't expect anyone to actually use this implementation in production (I mean, they can, but there are better implementations out there).

Essentially, my goal was transparency and clarity. This was the best way to do it, all things considered.
From the FAQ:
Will lectures be recorded?
Because this is a student initiated course, the lectures won't be recorded.
That's not super interesting (to me personally, an acknowledged idiot) because working programmers are hardly ever confused about types. Intellij pretty much already does that thing.

I have this idea that this paper does something super interesting that I'm too stupid to understand.

Is there a correctness angle I'm totally missing where you can constrain subtypes and ... not sure?

EDIT: I watched a thing earlier today where people felt they could reasonably subtype zero away and therefore never think about NAN as in the range or domain of their mathematical functions.

I want to learn more. Probably my degree of ignorance is such that I'm unable to ask the right questions. Can you help? This is probably an unfortunately hilarious question.
Actually there have been a couple of times when people called me a cunt and it was funny in context. Now granted, whether this article is that kind of context, is a different question.
Oh, Wow. That's cool. Didn't know that. I'm a closet Lisp'er, myself.
I was wondering, what could interns even say if they have answered the phone...

Adulate the customer, make empty promises and lie about the whereabouts of the responsible people, implying they're busy working to fulfill their specific requests. And generally avoid passing the impression that people leave early (read: "are slackers", from the customer's perspective).

Not that the reaction was appropriate, mind you. It's hardly reasonable to expect interns to know how to "service the account", as Carlin put it. I've been answering clients for a few years and I'm still quite junior at it.
https://blog.fastmail.com/2011/05/15/outage-report-a-cascade...

I was the guy who deployed the update to every one of our servers as I walked out the door for the day. So I know what this feels like.

You learn to get through it fast, because there's no other choice, you're almost always the best placed person to clean up the mess.

And one day you can look back and the scars have healed.
> The drugs could enhance the player’s ranking by 35 Elo points

Is this significant enough difference that it would make a difference between a good day and a bad day? I've played a fair amount of Go and a good day and bad day can definitely change your "rating" by well over 1 rank either direction.
My cousin and two of his friends recently did New Delhi - Brussels[0] on 1971, 1973 and 1974 Royal Enfields.They made it but they got a lot of mechanical problems. I guess that was part of the fun ;)

I almost bought a Bullet Classic 500 (sold with injection in Europe). It is probably much more reliable but it is probably a bit too limited for a 100km daily commute.

I went with a modern Triumph Street Twin instead. The mechanic told me he had to plug the bike to the computer to start it the first time. I don't know if he was joking but it made me feel uneasy.

[0]: http://theroyalsilkroad.com/bikes.html
This is a well known issue [1], and isn't due to ORMs being poorly written.

It's not true that people who know SQL always prefer using it to using an ORM. In one of my prior jobs we had strict controls on the queries that ran in production for performance reasons. We screened all of the query plans the planner generated, but we also used an ORM. Sometimes we needed to work around or even reimplement the queries that used to be in SQL due to niche features like index hinting or the HAVING clause. And yet usually we used the ORM because it was more concise and reduced manual mapping of columns to fields.

[1]: https://en.wikipedia.org/wiki/Object-relational_impedance_mi...
That's what they do in China (of course replacing "America #1" with "China #1"), it's been quite successful so far.
And why would we not want to name the company? That doesn't make any sense.
Even searching for usql on GitHub [1] returns an Azure U-SQL related result first.

[1]: https://github.com/search?utf8=%E2%9C%93&q=usql
Alibaba has controlling stake in Paytm with fresh $200m funding
Also by Stephen (and previously discussed on HN): https://www.cl.cam.ac.uk/~sd601/papers/mov.pdf

As usual, he injects just the right amount of humour. Eg. this footnote in his thesis:

"*This paper is out of print, in Russian, and quite difficult to get a hold of, so the interested
reader is directed to a shorter proof by Conway [Con71, p. 105], which is merely out of print."
Well, it appears that you teach something more akin to CS basics, which is definitively not suited for being taught on an iPad or a Chromebook, indeed...
For the rest, I think both devices are fine, especially for younger students. The big issue is content created by the big players in school publishing, that might not be up to par or just come from a quick porting job of older paper content to digital.
Show HN: A theme color extracting library implemented in C
You know that thing about how old ideas in science can only really be replaced when their supporters die?

Unix greybeards, this is about you.
So you've read SICP, now what?
Perennial Lisp newb question...
SICP used a scheme dialect. How big of a difference is there really between Common LISP and scheme? Which would be the better place to start if building apps for other people to use?
Not a major issue, nor does it deal with your website but - your resume should be in LaTeX!

How to:

- Copy the source code from a .tex template[0] you like.

- Create an account at ShareLaTeX[1].

- Start a new blank project, name it 'firstnamelastnameresume' (always save your resume with your first name, last name, followed by the word resume).

- Delete the code in the main.tex file and paste the code from the .tex from the template you would like to use.

- Edit the file with your content.

- Recompile to preview resume.

- Then download the PDF.

[0]: https://www.rpi.edu/dept/arc/training/latex/resumes/

[1]: https://www.sharelatex.com
This commit really does tell the story of the disproportionate influence HN comments had on this decision:

https://gitlab.com/gitlab-com/www-gitlab-com/commit/8f7d618d...
BOOKING.COM - Amsterdam, The Netherlands | ONSITE | VISA support| Relocation to Amsterdam
Booking.com is hiring smart people just like you, if you want to live in beautiful city like Amsterdam and work at Booking.com, I recommend you to apply for these jobs:

Software Developer - http://grnh.se/ci7oka1

Sr. Software Developer - http://grnh.se/gahd3r1

Android Developer - http://grnh.se/iaf6et1

Sr. IOS Developer - http://grnh.se/qs4fru1

UX Designer - http://grnh.se/v4fgwh1

Frontend Developer - http://grnh.se/mf4e3d1

Full Stack Software Developer (Beijing, China) - http://grnh.se/hrt4cv1

More about job vacancies at http://grnh.se/6tnb3v
"Anyone behaving consistently like that is a cultural
liability that needs firing immediately."

Some behaviors are jarring because of mismatch of personal styles, not because the person intends to be disrespectful.

First the person needs to made accountable for their actions. This is the first cop out of incompetent managers - rather than hold a person accountable by pointing out their lapses - and giving them the opportunity to improve - they just fire them.

There is a possibility that the reprimandee will apologize and improve, thus leaving everyone feeling better. On the other hand, he might not.
Tribotronics
amazing stuff to learn !!!!!
Also, if they support Coreboot, they'll probably get some AMD chips in some Chromebooks as well.
Abnormal vs. normality, who are you?
Apple doesn't have that many engineers - they have a chronic shortage, I'm told - a friend of mine at Apple worked on a major built-in iOS app and said his team was only "8 people, including PMs" - and given iOS devices alone are the majority of Apple's revenue it makes sense for them to allocate resources where they're needed to maintain cashflow, which necessarily means neglecting less-popular lines (namely the MacPro).

...which is further evidence of the amazing foresight Apple had in basing macOS on an open-source core (BSD): it means Apple doesn't need to expend resources on maintaining critical functionality that isn't central to their profit strategy (e.g. BSD userland) (and it's why I believe the open-sourcing of key parts of the NT kernel and userland will happen eventually)
Python Sheets
Back in my day (this was like 10-15 years ago), the Windows machines at an elementary school I worked at for a bit had a piece of software installed that undid any changes done to the computer after a reboot. IIRC that was more effective than locking the system down with all kinds of hacks.

(we famously circumvented a block on using the browser in a very locked down windows machine by opening up Notepad or whatever, opening a file, right-clicking and managing to open an Explorer screen, which changes to IE when entering an URL)
Airtable – Organize Anything
Most professors, you really gotta slow them down. This is their life's work and they know it bottom to top. If you let them run at their natural clip, you're gonna miss stuff. Making them write it down is great for that. If you let them use slides, you gotta ask them questions and break their rhythm or they'll just roll right over you.
It was back in the 90's in Texas, but I had a manager that used the word "nigger" casually in conversation. I saw this same guy sit a pair of shoes on a desk in front of a woman and ask her to get them shined.

That happened.
Case filed against McDonald's India for serving deep-fried lizard in fries
Ask HN: What questions do you have about solar energy?
I work at a small selective liberal arts university with a pretty good football and basketball team. There is a feeling and maybe it is backed up by some research, I just don't know, that competitive sports teams attract more applicants.

If you have a larger applicant pool you are considered more selective. Being more selective, overtime, helps the school's 3rd party rankings.

I don't know if it really works out that way but that is the prevailing view. For us the sad part is that football games and basketball games attract very few students in the stands.

My wife and I enjoy going to some games and we are always surprised at how small the student crowd is.
Filter bubbles and the neutrality of online news
I had a job in which the management had no idea how reliable software gets developed, and their MO was to hire the cheapest people possible (H-1Bs, back when you couldn't transfer) and work them to death. Not being on a visa myself I should have quit after a week, but I was young and naive. They were perennially going to go public "in six months or so". Every Friday my boss would walk through the cube farm and we had the same discussion:

Boss: "We're not meeting our schedule, so the team decided we need to come in tomorrow for a half day.

Me: "The... team?"

Boss: "Don't worry, I'll throw in lunch."

Me: "I really need a day off. I had to buy underwear yesterday because I haven't had time to do laundry."

Boss: "It's just until we get version 1.3.7 out. After that we'll all have a chance to catch our breath."

So we'd come in on Saturday, and of course after a half day nothing was working, so he'd extend, and then ask everyone to come in Sunday "so we can catch up and not have to do this any more."

It got so bad people started taking Fridays off under the theory that a single day of vacation plus some mumbling about being out of town was good for three days off, and you could always tell when someone got his green card, because that would be his last day.

This is the company that sent a team to a customer site "for a few weeks", and that team was still there working around the clock months later. So the wives of the employees in question got together and somehow found them new jobs. The entire team quit on the same day and flew home, leaving the company scrambling to explain (by which I mean "lying their asses off") what was going on and trying to pull people in from related projects to salvage that install.
Agree, it's wonderful except for thinking clearly about things and clearly expressing them in other terms than a diagram. And in the iPaid view of the world, if you write a responsive comment, only paid subscribers will see it. Because that's "premium content".
Being told you have to go to a Strip Club, and that sort of environment is something that makes you uncomfortable (male or female), then that is sexual harassment.

Defending it just because most of you are 'mates' in/out of the workplace is not acceptable.
Too bad!
The Unix-Haters Handbook (1994) [pdf]
That's outrageously unprofessional. Is the company still alive?
I'd like to see RPis in schools - they're cheap, just $5 or $10 for the wireless models. Providing the accessories required to use it is more costly, but kids can't really hack screens and $3 keyboards. RPi's are ideal for learning basic computer usage and programming, IMO. Slow though, but the RPi 3 should be fast enough for that too.
It's tough. I used to have to go to strip clubs with managers and customers. Required attendance. It gets weird after a few trips.
There are many such games. I just finished Gravity Rush, and currently playing Tales of Zestiria, both of which has a very cartoon style art style.
"Each tool does just one thing well" doesn't mean "just one tool does one thing". In fact, ETDJOTW means that interoperable alternative tools -- loose coupling -- is more readily supported. So that, say, you can transparently migrate from unsecured rsh to secured ssh. Actually: you can even gain capabilities, since rsh is (misfeature) limited to the 512 low-numbered ports, and hence, a maximum of 512 outbound connections. SSH has no such limitation, and can scale far higher as a management tool.

(That bug, and option, was what finally convinced one old-time shop to swap in SSH for RSH for such tasks, after I identified the problem and the solution.)

A better example would be "one tools" that do many things. Rob Pike suggested Perl, though IMO that's kind of foolish: Perl is Yet Another Programming Language, and programming languages, rather by design, tend to do multiple things (not always, or not always easily: see sed as an example of both caveats -- text replacement or branching code).

Other examples are generally nexus points of complex interactions. Editors (most especially Emacs). Email management (communications protocols, format protocols, ties to DNS, anti-spam, filtering, remote-access (POP and IMAP), extensions, authentication (at various levels), encryption (at various levels). The problem domain is complex, so the tools are complex.

The tool you're very likely using right now to read this would be another case in point: the Web browser. Not just for CERN any more.
Travelling salesman competition by Kiwi
If you see iPads as a hindrance to education, you are a terrible teacher. If I had been given access to an iPad at age 10, I would have been completely, endlessly obsessed with the possibilities of it. As it was, I had access to a TRS80 at that age, and I had to fight the fussy old math teacher to get access to it, let alone any meaningful instruction or encouragement to match my curiosity. Meanwhile, the same teachers kept an Apple II in their office strictly off limits from students except their favorites. Even if it isn't your favorite tool in 2017, an iPad is literally the kind of thing I dreamt of when I was a kid. If you can't make that work in the classroom, you're failing.
"leaders are rational and will optimise for the success of the company"

More like leaders are rational and will optimise for their own personal success which may or may not involve optimising for the success of the company. Of course we all do this to a certain extent just that, from what I've seen, senior leadership types of large companies tend to be much more obviously dedicated to personal success at all costs.

A while back I worked at a multinational and, being fairly senior, was directly exposed to the whims of the executive class - which frequently seemed rather odd (to say the least). When a colleague explained how bonus compensation was linked to their decision making things became much clearer!
>> what I never understood was the reason for bragging about being unethical and/or immoral

http://www.paulgraham.com/founders.html

> Though the most successful founders are usually good people, they tend to have a piratical gleam in their eye. They're not Goody Two-Shoes type good. Morally, they care about getting the big questions right, but not about observing proprieties. That's why I'd use the word naughty rather than evil. They delight in breaking rules, but not rules that matter. This quality may be redundant though; it may be implied by imagination.

> Sam Altman of Loopt is one of the most successful alumni, so we asked him what question we could put on the Y Combinator application that would help us discover more people like him. He said to ask about a time when they'd hacked something to their advantage—hacked in the sense of beating the system, not breaking into computers. It has become one of the questions we pay most attention to when judging applications.

Lots of people misunderstand their unethical behaviour as naughtiness.

In the example given if you make your customers pay on delivery or pay 30 days after month end of invoice date, and you can pay your suppliers 60 or 90 days after month end of invoice date you've given your company a cashflow advantage. For unethical people if 60 days is good 365 days is obviously better.
Because maybe it shows people who are suffering that they are not alone, and that it is ok to speak up about it and to do something about it.

Workplace harassment in any form is bullying, and needs to be stamped out.
Security and Development: How to Manage Disparate Goals
Slightly off topic, but I was recently looking for a tool like mytop but for Postgresql. Does any one know if it exists?
Currently most modern hardware we own contains a backdoor at the BIOS level. It's a black-box blob of code that does all the initialization and can potentially call home (Intel/AMD) and do almost everything on your system. Another thing is that we can't debug and fix BIOS-related problems (like software suspend). More here https://libreboot.org/faq/#intelme