skysight-inc/HackerNews huggingface dataset:
> Designing a pretty and elegant language is hard, but fun. You don't even need to implement it.

The parts that make Python slow make it easier to hack on, but they don't make it elegant in any meaningful sense.

> Designing a language that is deliberately amenable to optimization is also hard, but not fun (especially when optimization has to be prioritized over elegance).

Elegant languages are usually amenable to being efficiently implemented without the implementor having to do anything special. That's because elegant languages guide you towards using the simplest, least powerful features that are powerful enough to solve your problem. For example, in Standard ML, I don't use higher-order functions that much, not because they suck (they don't), but rather because first-order functions and functors (which can't be recursive) are powerful enough for most things I want to do.

On the other hand, in a language like Python, it can be very difficult to find features that solve exactly your problem and nothing more, so often you have to reach for super-powerful hammers (operator overloading, metaprogramming, etc.). These hammers are almost invariably more general than the intrinsic demands of your problem, but, since the language designer can't provide an implementation that only works for your use cases, you must pay the price of the unnecessary generality of the feature.
The interior layout of a 1990s Ford truck or Bronco. All controls can be done by feel without fat fingering anything while wearing work gloves, radio included. The radio is placed so you don't have to take your eyes off the road to tune it anymore than you would the speedometer. They even make the +/- buttons convex/concave and put little bars on the preselects to make it easier to do by feel. The motion ratio on the manual windows is pretty damn perfect. Kind of a shame so much thought was put into something a design was executed using crappy 90s plastic.

Honorable mention for industrial vacuum cleaners.
On OAuth 2.0 token substitution threat model:
https://tools.ietf.org/html/rfc6819#section-4.4.2.6

Given that OAuth is all about delegated authorization, meaning entity that uses the access token may not be the user but some third-party service using the token on behalf of the user, using it as proof-of-identity makes no sense.

This point becomes clearer with limited permissions. If access token is proof-of-identity, why limit what the user can do when you know it's the user?
This. HR is there to protect the company and not to help employees. They have to justify their salary somehow.

If they ask you to sign something it is usually not in your interest to do what they ask.
Our marriage is just fine thanks :)

My point is if we did divorce I would be screwed by the legal system whereas my wife would be supported by the legal system.

How is that fair?
Conn 79H Trombone. Just gorgeous sound, beautiful design, and even the trombone case just seemed right. Still love it.
My favorite new feature: Intel Cache Allocation Technology https://lwn.net/Articles/694800/
Spilling water was only really an issue for really old and slow people or really small people who weight about as much as the jug.
He's a CEO; that's at least 60% of the job.
Did you ever try riding clipless pedals?
I guess to some degree "protecting the company" involves implementing procedures that protect the company from losing a class action lawsuit and damaging their ability to recruit engineers, right?
XKCD was also my first thought :). That's good branding.
Dotcom Claims Victory Even as Court Backs Extradition to U.S
https://sweatshops.github.io/Komuter_Page/

An iOS app to show schedule of upcoming train in my country, I built it because I got frustrated waiting train as the train intervals is 30-45 minutes in my country, many time spent wasting for waiting train lol.
Like most 'debates' on HN, the entire thing boils down to whose definition of a word is correct. If I had stated something incorrect about actual physics, you'd have pointed it out. You never did, because I never did.
I see nothing wrong with the manager's behavior.

Given:
------

- The manager indirectly fished for mutual sexual interest with a subordinate.

- Managers and subordinates engage in workplace relationships across the country and the world. They all start with a "proposition" of one kind or another.

Only when a manager is shown to abuse their power in support of a personal agenda should there be damages imposed. Not simply for an expression of interest.

- The subordinate reported the manager. The manager appears to then have ceased any further activity that could have been offensive to the subordinate.

- Simply discussing one's sex life with an employee - regardless of the employee's interpretation - is not sexual harassment. I'd bet my bottom dollar that Fowler approached attorneys over this and was rebuffed - which is precisely why she's shame-blogging about her incident.

- This is another case of a woman who is not attracted to someone who shows interest in her making sure that she lets the world know how offended and injured she is.

Her subsequent discussions with other employees who warn her of retaliatory consequences are just that. Workplace gossip.

- I'm not sympathetic, I don't this should be legislated against. I think human beings should have the right to express interest.

If this kind of mentality is promoted, as you all wish to promote it, we'll live in a world where those who are simply seen as undesirable being automatically engaged in harassment.

:)
Am I reading it right? It looks to me like rustc didn't mark the immutable borrow as readonly, so LLVM went ahead and assumed print could mutate it.
Why wouldn't there be lots of stories about this on the front page? It is big news about a major player in the exact target market of this site. It is also actionable to the audience here: this story may affect the decisions of many current and potentially future Uber employees.
Thanks for the tip. I just ordered it. Heard of it before but never got to reading it.
What sites do Web Developers on HN bookmark?
Over the years I have found a bunch of sites that are helpful for web development or managing a website.

https://travis-ci.org/ Very commonly used tool to test and deploy code

https://www.ssllabs.com/ssltest/analyze.html Ensure HTTPS has been set up correctly.

https://greenkeeper.io/ Automatically update NPM dependencies for Node.js projects

http://stateofjs.com/ Data-driven charts on which choices are popular in the JS ecosystem.

https://developers.facebook.com/tools/debug/ See what Facebook's crawler scrapes from your site and how to change Facebook previews of your site

https://search.google.com/search-console/mobile-friendly Google's test for mobile friendly sites

https://www.google.com/webmasters/tools/home Google Webmaster Tools

http://devdocs.io/ Framework and tool documentation aggregator

https://hunter.io/ Find emails that have been posted publicly on a domain

http://shields.io/ Hipster badges on GitHub READMEs

What other sites do people on HN have bookmarked?
I'll add to your nitpicking list: the reactor at Camp Century was never secret. Project Iceworm was secret.
With Travis at the helm is anyone surprised? Don't expect anything to happen unless it has to because of more bad PR.
I sometimes code after drinking. Not often, because I'm obviously sharper when completely sober. But when I'm very stressed, my cognitive potential is significantly reduced. Taking the edge off with a single beer results in a great increase of productivity then.

Also, if you think people can't get actual, working code written when shitfaced, then I guess you haven't met the demoscene crowd ;).
Inside the game of sports vandalism on Wikipedia
21 most beautiful tourist places in the world
Exactly :)

My wife supports and enables me to be ambitious and handle high stress work.

Without my wife I couldn't handle it and would burn out in months. But the legal system doesn't care.
That attack is trivially fixed - just inspect token and see its app id. But no one should use oauth for auth.
Part of the problem is thinking that women have a natural instinct for being social and friendly. Attributing characteristics stereotypically associated with a particular gender to "natural instincts" is part of why women get such a bad rap in technical fields.
In case I needed another reason to hate Uber.
Asking for clarification: could the nuclear reactors of atomic submarines carrying nuclear warheads not conceivably release I-131?
Sorry to say this but "Reinstall windows" is a good place to start.

How much ram do you have?
My CAD software called home, and no-one answered, so it shut down
In what way is it up-to-date? From what I can tell the majority of horror stories were related to running "outdated" linux kernels, which ubuntu 16.04 fixed for us (we purposefully only started using docker with the beta version of ubuntu 16.04, hence a year).

In fact, running the postgres instances in isolation has given us far more confidence than if they were run "natively". backing up docker instances is trivially easy in comparison to running native instances, as you already know what data volumes you need to back up. all our instances use exactly the same backup and restoration script. all our instances get rolled into staging using the same script on a daily basis. no failures so far. zero.

would be interested in actual "up-to-date" reasons, other than "docker's engineering department is not dependable", which btw I can emphasise with if you were burned in the past.
Not just Uber, if this story stays high profile it could affect Uber's IPO and thus bring major cultural changes to many, many other startups in reaction.

Which would likely be a good thing.
Even if I take your assertion seriously, he should have been warned to stop at the first accusation. Literally all he needed to do at that point was to not try to date within the company, even the most clueless guy figures that out after a formal warning. If not, I question his basic reasoning skills.

This isn't a case where it was the first accusation nor was it where he or other people in management were unaware (the issue was escalated), the behavior was inappropriate.

The problem is the management was told there was an issue, repeatedly, with evidence, by several people, and choose to not act upon it. Doesn't matter if it's sexual harassment or incompetence, employees won't tolerate bad cultures if they can help it.

This is a lot of things, sexual harassment, work culture, accountability, office politics, etc., but some guy being clueless about women isn't one of them.
>Ms. Fowler’s account is another sign of Silicon Valley’s struggle with women’s issues and diversity in a male-dominated engineering environment.

That's a hell of a claim since this is a "typical corporate America" type of problem.
A sort of tldr..

"The older generation of Trump supporters the press often focuses on, the so called “forgotten white working class”, are in this sense easier to explain since they fit into the schema of a 1950s-style electorate. Like the factory workers in Factotum, the baby boomers were promised pensions and prosperity, but received instead simply the promises.

Here the narrative is simple. The workers were promised something and someone (the politicians? the economy? the system itself?) never delivered. Their horse never came in.

This telling of the story ignores the fact that, as Trump often points out, “it was a bad deal”. The real story is not that the promise was never fulfilled. Manny and Hank’s deal with the workers was the same as the factory’s deal with them: the empty promise was the bargain. The real story is not that the horse didn’t come in, it’s that the bet was never placed"

Hense the support of Trump as a joke, a prank, as it doesn't really matter, as they are powerless anyway
Uber having a terrible year in PR.
Only in general shape. Dimensions, internal systems and even the type and gauge of aluminium were different between the C-135 and 707; Boeing had to go back to the drawing board when Douglas started cutting metal on the DC-8, and the redesign process for the 707 led to a cascade of changes.

About 20% of systems and components were common ( such as the cockpit windows ).
Jobs at Google: Tech Giant Targeting Hackers in Australian Hiring Raid
> If I had to guess, a little could fix anxiety and perfectionism

This is exactly what happens to me, so I sometimes will code after a bottle of beer or a glass of whiskey. But it has to be little - more alcohol and I start losing focus.
So provide them with expert advice for free? Do you think lawyers get this urge?
Barring yet-undiscovered, below-sea-level anti-gravity rivers, perhaps through wildlife migration?
Well there are some typical corporate American companies that have this problem. But I would argue that (almost?) all tech companies have this problem.
Lenovo x220.

Upgrade ram, add a mSSd. Rockstar
Well known you never drank or well known you didn't drink at work?
Been a while since I dug into October, but last I checked its back-end admin area was very much developer-focused (as opposed to non-technical site maintainer)... editing content required editing actual code in a textarea. Has this been addressed in the system at all (or is it even a design goal?)
JobsPikr – Fresh Job Data Feeds Directly from Company Websites
In emacs, `C-u M-| cmd <enter>` does this.
I think browsing internet from your phone is much more risk than plugging to unknown charger considering attack surface.
Just about any good kitchen knife.

Pen/Pencil and Paper.

A Book.

A Cup

A Towel

A Blanket

A Pillow

What do these have in common, they're so well designed (over the years) that you don't even think about them.
Definitely have happened at Google, difference is their HR dept is not inept and does something.
I think you're laying out what is absolutely the best approach.

If you're an employee it's sometimes hard to separate the company's interests from your own, so I sometimes do a mental exercise I call "playing consultant" - where it's purely my job to "consult".

I try to honestly describe the options, give my best recommendation and then whatever they choose is on them.
Maybe this just doesn't work on mobile, but this appears to be a static two panel comic with a perspective effect applied. If it is that, I suggest the site implements a notice that it needs to be viewed on desktop.
Nice, but still has some room for improvements

http://i.imgur.com/EVToWfI.png
And yet, what is a status symbol is a product of the culture.
I just quit Uber SRE after only six months. There was a combination of really bad tech and really bad culture - There was a huge seniority culture despite the face that nobody had been there for more than three years. There was a focus on 'big impact' that felt just like a recent article[1] about feature mills - Despite being, you know, the division charged with keeping things going. They'd drilled and drilled on solving simple problems, but hadn't fixed the engineering reasons why those problems kept showing up. And they couldn't keep technical staff who knew what they were doing. The people I actually liked and respected at Uber were leaving in droves. Even new hires barely stuck around - A full third of my new hire orientation class left before me.

And, oh, yeah - I had three managers in that six months. One was fired, one quit precisely at his one year, and the third had 70 direct reports.

If you see candidates coming from Uber, tenure past a year is a warning sign. I knew a few I'd want to work with again - A lot more I wouldn't.

[1]https://hackernoon.com/12-signs-youre-working-in-a-feature-f...
Interesting! This type of infrastructure and coding fascinates me, thanks for sharing!
I read the abstract but couldn't understand the conclusion other than that the results for male and female were opposite. Can anyone explain?
Sure, but what's the alternative, especially in a case like this?

Your manager is engaging in harassment, HR is where you "should" raise this. Her following protocol also makes her case stronger I would argue. You gave your company the chance to make things right. After that I'd say the gloves could come off if that's the route you want to go.
Be careful with taskset and chrt, assigning realtime priority to processes and pinning on them on CPUs might lead to un-expected behavior, priority inversion or your system locking down (say if you pgrep some kernel tasks/threads in there as well by accident, I've done before).
Chrome comes with Flash, and Flash vulnerabilities are not counted against Chrome. So this is highly skewed. (Never mind CVE counts being a poor proxy of risk)
I ride clipless (Speedplay X) on all my road bikes.
And also generally released a lot more radiation than the US: https://www.damninteresting.com/in-soviet-russia-lake-contam... (ignore the bad title)
People might be less inclined to call you a shitlord if your account did something other than post one- and two-liners about hot-button political events that largely just express your opinion. OK, great, you're skeptical about her account because "too often these stories are lies", says Mr Instant Facts. Have you got anything to back this up, or are you just making things up because it's fun to post things to the Internet? The woman in question at least posts her stuff under her real name...
Teenage Engineering OP-1, a music synthesizer. Really well built, buttons and knobs feel fantastic, and the display is super fun. The OP-1 in action: https://www.youtube.com/watch?v=umatbZ0n4mE
You bring up a good point about the lights... I turn all those off, only light on my keyboard is a subtle backlighting.
In countries where unions do work, that is another door to go search for help.
Yup.

This gets posted from time to time, but if you work for a company, you really owe it to yourself to read Corporate Confidential.

https://www.amazon.com/Corporate-Confidential-Secrets-Compan...
That reminds me a bit of this Calvin and Hobbes strip redone in 3d: https://sketchfab.com/models/dd484cd2dc9e477381e152b69d32950...
It's Uber, so it's Hipchat.
Knife, pen, pencil, paper, book I can get behind. The rest seem to be less a case of being "so well designed you don't even think about them" and more a case of being "so elementary there's nothing to think about". A cup is a receptacle. So is half a coconut. A pillow is a soft thing to recline on.

Also, I really wouldn't conflate/group pencil and pen just because of their similar purposes. They're very differently designed objects with a good deal of complexity to each.
I hear this truism a lot, along with "companies must put the profit obligation first." It's only true in a very limited technical sense. When someone is harassing you, "protecting the company" generally means making sure that person doesn't harass you or anyone else, often by firing them. Because if they don't, the company is at risk of massive liability.

That doesn't mean they can't be terrible at their jobs, or fail to understand what the true purpose of their job is. But that's a potentiality that's not limited to HR.

*Not a lawyer, but this is what I was told at my employer's harassment and legal training, which all employees are obligated to attend.
It makes a lot of sense. Thanks!
I was talking to a friend about it and even he suggested the same. I'm going to start using a version control myself and see where it leads me.
Sure they're not your friend, but Jesus Christ, the amount of legal trouble this particular HR establishment exposed themselves to through their actions is breathtaking. THAT'S their job: to prevent the company from getting sued!!

In this case I'm completely bewildered as to why HR handled this particular situation so clumsily.
And considering battery life is nowhere near a consistent full day, to the extent that people are regularly using portable batteries, there's no excuse for making it so thin the camera has to protrude.
Pentel Graph Gear 1000: https://www.jetpens.com/Pentel-Graph-Gear-1000-Drafting-Penc...

Best mechanical pencil I've ever used. You can tell a lot of thought has been put into every aspect of its design. The Rotring 800 is similarly well-designed, but I prefer the grip of the Pentel.
I came to write pen and paper myself :). I think cups and books definitely belong here too.

But I have always had serious issues with pillows. I don't mean the basic concept and coarse design of pillows, but rather the details of the design and manufacturing. For example different kinds of pillow case may hide or expose seems, that latter be far inferior to the former in my opinion. There is also the question of firmness and size, both of which are the subject of many a pillow focused infomercials. There is a huge variation in overall pillow quality. I could also rant about blankets, but maybe all of this is just my deficiency :)
8GB Showdown: Linode vs. DigitalOcean vs. Amazon Lightsail vs. Vultr
Deluge and qBitTorrent look much the same.
This. The controls design on this car is essentially perfect. And the interior space use is amazing. When we moved my son to go to college in another city we had the whole living room piled with his stuff, yet some how it all went into the Fit. The TARDIS of small cars. Pretty nice to drive too.
86 Tercel station wagon. Most comfortable seats ever. Every position works. The wiper and blinker controls are nice and clicky. All the adjustment controls are clicky and located exactly where you expect them to be when you reach blindly. The A and B pillars don't block your vision. There's a little spot between the e-brake lever and the seat that's the right size for a can of pop (handy because there's no cup holders). The trim is impeccable. After 30 years of driving, the weatherstripping doesn't peel off, the handles and latches aren't broken, the upholstery hasn't faded. It was amazing in the snow even the 2WD version. I could go on... I loved that little car.
Crack window, wedge towel in leaving a small inlet for cold air.
> Specifically: I cannot imagine that a quality news site (say the NY Times, Atlantic, or WSJ) would not mention such uncertainty.

Not sure about the others but NY Times has lost much credibility over the years, getting worse during the election.

Before the Iraq war, it deliberately spread misinformation from the government during the WMD episode to drum up support for the war. It basically acted as the propaganda arm of the U.S. government. For this election, they backed the wrong horse and missed out.
Nuclear reactor on the sub, yes. Nuclear warhead, no, unless there was a detonation.
> In countries where unions do work, that is another door to go search for help.

That assumes your union rep is inclined to help you. In practice (not principle), they have the same incentives as the other managers and HR do in this story. The union rep could decide that the harasser is more important to their union, politically, than you are, and decide not to take action.

Plus, the union can simply terminate your membership as retaliation. For a closed shop, that's equivalent to firing you, but without many of the legal protections that come against wrongful termination.
Yes, there hasn't been any verifiable action other than the press release. Then again, it's a weekend.
Please reach out to your state labour commissioner. Here are some numbers for California [1] and New York [2].

[1] http://www.dir.ca.gov/dlse/DistrictOffices.htm

[2] https://labor.ny.gov/immigrants/language-access.shtm
Just curious, what happens to employees who don't drink?
>What would be nice instead: A chasm opens up and sucks Uber into the bowels of Hell, never to be seen again. The tech industry rejoices.

ftfy
> satisfies anyone actually drinking.

If your culture is one where that's necessary then the entire management chain should be fired.
Recently a small blast occurred in Flamanville station in France.

http://www.independent.co.uk/news/world/europe/french-nuclea...
Woman. Ms. Fowler is a woman, not a girl.
The Nokia 3310 will reportedly return this month
I was once rejected from a job interview at a DC startup because I didn't order a beer when they took me to lunch.