skysight-inc/HackerNews huggingface dataset:
The URI<->URL equivalence that justifies "http:// namespaces" was a neat trick insofar as it means you can use the URL of the XML schema definition file (.xsd) as the URI of the namespace in a document that contains it - thus allowing XML readers to automatically perform schema validation when encountering a new schema.

...but given how well DNS-based package names in Java have worked out (i.e. poorly) I'm surprised they went in that direction.

On the bright side - URIs (and so, XML namespaces) don't need to use the http:// scheme - they could easily switch to urn: http://stackoverflow.com/questions/4116282/when-to-use-a-urn...
The whole series is worth a read. I think he makes a compelling argument - but in 2017 I don't think many people do it anymore.
So what should you do if you find yourself in one of these situations and get let go? It gets really irritating having to explain what happened at the previous job in every interview.
thx, we fixed this in the text!
Sure, but the function in question lives in CPython's own implementation of its core libraries, so it seems reasonable for it to rely on that implementation.

If PyPy or Jython want to reuse that core library code, it's on them to make whatever changes are needed to make it fast on those implementations.
Just tried it locally, latency is < 1ms..
Baahubali 2 movie
But I don't think it's a good precedent for an employer to be held responsible every time an employee self-harms.

Why not? What is there to gain by employers not having a duty to look after the mental health of their employees?
I wrote something out of our need for better monitoring/metrics for Nginx here: https://luameter.com/
And quite a few people are using it for per-vhost metrics use case just like you said. Also if you prefer something simpler and open source I also wrote this https://github.com/lebinh/ngxtop
With respect, that's not the worst job.

Imagine if it was your job to spot videos of fathers murdering their children and making sure those are taken down or other gated so that you can't accidentally run across them. I think we all can agree that would be a much worse job.

In Europe, someone who hosts content for someone else can be held civilly and criminally liable for that content, regardless of how it got there or who put it there. So, anyone working at a European ISP could have the job of policing all content on their servers and making sure that there isn't anything illegal on their systems.

I worked at an ISP in Belgium, and my desk was close to that of Thierry (the webmaster), and he had that job. I can't imagine the amount of illegal kiddie porn, snuff films, and other crap he must have been exposed to, as a result of the job he was legally obligated to perform.
This was so difficult for me to read.

I have struggled with extreme anxiety and chronic depression and brushed up against the thought of there being no way forward or out but suicide. During the closest calls, I was making the most I ever had, living in a nice house, etc. It didn't really matter though. I felt a tightness in my chest and a boiling kettle of acid in my stomach from the second I woke up until the second I fell into fitful sleep. I had a Pavlovian response to the sound of email arriving on my phone, to the point where it would be in my nightmares. But it was more than just work; irrational panic and anxiety filled everything facet of my life. I would nearly pass out from panic attacks when flying, or worry that the police I saw were going to arrest or harass me for an unknown crime, or think that any time my family was calling it would be tragic news.

About three months after I most seriously considered suicide, I got a new job, saw a psychiatrist, saw a counselor, and a few years later I was pretty much stable. I did have to detox off benzos, but that wasn't too bad.

It has to be understood that highly motivated, highly intelligent people can be driven to irrational levels of stress from their work. Unfortunately it isn't as easy as just reminding the person that they aren't their job or their career, just like you can't treat depression by telling a depressed person to turn their frown upside-down. This man may still have struggled with stress, anxiety, and depression even if he left Uber for somewhere healthier; what's important now is that people reading this story or these comments realise that there are always so many ways out, and that no matter what there are resources to keep you afloat.
I wonder if accepting such a claim also meant accepting that Thomas had faced an "extraordinary employment condition". That is, did the benefits claim come with an accusation that Uber was at fault? If so, then it's not just a consideration of "common decency", but legal liability.

Note: IANAL and didn't even know what California law was in regards to insurance claims and suicide. Genuinely curious as to the technicalities of the law, and in this case specifically.
Agreed. Unless they have a monopoly on self driving technology (which I seriously doubt).

On the other hand, I feel that we will not have self driving cars for a really long time. Instead I believe we will have flying cars before that, who will solve the last mile problem. They will take you from the house to the hub and hub to the final destination. Buses can transport people between hubs.

With self driving cars you need to deal with existing regulations, traffic rules, other drives on road, people jaywalking, animals running into you.

However with flying cars - you literally have exponentially more roads in air (which don't even have to be built). No existing regulations (unless at risk of being in flight path). Technology is already there (make drones bigger). These drones will communicate using MESH networks leading to lesser risk of collisions.

I also feel that Elon Musk is doing something really smart with The Boring Company. If he can dramatically reduce the cost of building tunnels (like he did with space travel) - he could build a lot of underground roads at a lower cost and faster pace than roads on surface. No need to deal with buying out land and getting approvals.

Imagine if these tunnels are exclusive to Tesla cars, who can auto-drive these tunnels for long distances. No need to worry about other cars, animals, rain, snow, traffic regulations. All the problems that auto driving cars are facing now, will go away. Multiple Tesla cars will communicate with each other using MESH network. Teslas could be driving in these tunnels at 150+ mph and discharged cars could be swapped with charged cars on the way. Drivers might need to take over minimally just for the last mile.

If a tunnel like this could be built between SF to LA. It could be faster door to door vs flight.

To get started, a tunnel from SF to really South Bay could have an huge impact on the commute.

I do not have much experience of these industries. So these are my hypotheses. Would love to know what others think!
This is not unique to Uber.

I have worked in toxic environments that depleted and debilitated me to the point that, in two cases, I was psychologically completely incapable of even thinking about finding work for three months after being laid off from one, and quitting the other.

It doesn't even take abusive bosses who don't like you, although that just makes it far worse.

It simply takes being treated like a robotic code monkey who is expected to do everything that is ordered, without question, and micromanaged to the point of insanity, while people in management positions make decisions - and then reverse them - that are so obviously wrong to any competent engineer that it makes Dilbert's PHB look like Einstein in comparison. This is not much of an exaggeration.

This is bad enough for any regular human to endure, but take a skilled engineer who probably suffers from impostor syndrome and the upper end of the Dunning-Kruger effect, and it is a recipe for a breakdown and, quite possibly, suicide.

Those who would glibly criticize such people for not going and getting another job, or just quitting, are out of touch with how badly one's confidence is damaged by that point; it would not be unreasonable to compare the psychology to that of abused spouses who don't leave their abusers.

Also, I could not leave one of the jobs without losing my work visa and being deported (it was back in 2003 before visa portability). Maybe others are in situations that make it harder than expected to move on.

My deepest empathy goes to this engineer, and to all others who suffer in this way, and to their families. We need to pay far more attention to the destruction that is done by quasi-sociopathic managers.
Following up with this: 15-20 years ago, one would pay $40-60 for programs on your computer. Now, people gawk at even paying $4.99 for a mobile app.
after migrating, we did not encounter any problems with max connections again.

after 2 weeks of production use, we, nevertheless, switched to pgbouncer to have a more stable connection management, though.
That should've taken quite a bit of courage. Where did you grow up, if you don't mind me asking ?
Does anyone know if Uber self-insures its various plans (like most billion dollar companies), or uses regular insurance? That is, would Uber itself be liable for paying out?
Beyond the Void: A Review of the Blockchain-Based Game
Are there plans to replace Mono with .NET Core?
There has been some good discussion on Reddit about how the thrust results shown in the paper are still most likely measurement errors due to thermal effects. It is a shame that they haven't released their actual data for independent analysis.

Link: https://www.reddit.com/r/Physics/comments/5ewj86/so_nasas_em...
> Yahoo was an awesome company in 2007

Was it ? In my own reality in 2000 yahoo was already irrelevant and had never managed to be awesome in any way. It was just another web portal that no one really cared about, sort of a less obnoxious AOL.
Given that a systematic effort by a PR company with sufficient "organic" looking users and automation could probably eventually "win" any online discussion / voting mechanism, this should be illegal outright.

You may only discuss as a private person, stating your own opinion, OR disclose which company/government organization you represent.
Are you a doctor? Because that article says nothing about occasional use of a 5-ht2b agonist causing valve damage. Some of the drugs on the agonist list are used on a daily basis to treat medical conditions and may cause valve problems in some people after months of daily use. Unless you can point to a study showing what you are claiming, this is just spreading FUD.
This story was also submitted several times before (with plenty of upvotes and comments, before having what I assume was a downmod from flags/etc) , so that might have impacted the ranking of this submission.
#R2Games company breached for the second time in two years
I don't know anything about this field but the language seems sound to me.

Is there a consensus on this interpretation v. "just adding more dark matter"?
Very cool. Imo one of the big benefits of Typescript is the possibility to better tool interoperability.

In case you need to do the reverse, for example model-first in typescript and want to generate JSONSchema:

Typescript Code to JSONSchema: https://github.com/YousefED/typescript-json-schema - started this long ago but some great contributors are leading it since!
Depression is not entirely genetic / psychological. Environment (and stress) can and frequently does play a role.

If an employer creates an environment which is likely to be detrimental to their employees' mental health, shouldn't they be liable?

I haven't made up my own mind on this to be honest, and could probably argue both sides, but I think it deserves to be thought about instead of dismissed out of hand.
Ah damn, sorry, didn't realise they were EU-only. Maybe Mealsquares?
Honestly, if psychology studies were presented as opinion pieces I would take them much more seriously.
When was the last time 40-year-old banking or safety-critical software crashed?
I would agree, but my father used to drive a bottled water delivery truck. And he's seen lots of neighborhoods where roundabouts are simply not built large enough to accommodate anything with more than two axles. In California, roundabouts tend to be added into new construction, but squeezed into a space that is no larger than a normal intersection.
I agree it's not the same from the user point of view.

However from Uber's point of view - cost of 24 hours to rental company vs cost of 24 hours of taxi+driver would probably be a good approximation to get an idea of the order of saving which might make owing self driving cars feasible for Uber vs their current business model.
I think we are missing some information here:
"All suggested that he leave his job, but he was adamant that he could not. "

The question is why? what conditions need to occur where a man who most likely can get another job easily enough and who has switched jobs before decides that ending his life his a better course of action then switching jobs.

They wrote that he eventually saw a psychiatrist, was he prescribed SSRI medication (I.E. Prozac)? If so, the other articles on HN suggest that that may be the cause, and not Uber's work environment.

All of that isn't to say to Uber's work environment is ok, but unless there was some form of coercion to keep the job (debt, noncompetitive wages, medical insurance issues), I don't think it's fare to blame Uber for the suicide. Mass worker exodus or a union is the way to change a company's work environment.
Easy to say this from where you are. I was of that opinion too.

For some, it can be like a abusive personal relationship. They are so invested in this that all they can think of is to make it alright; divorce or separation is not an option. Some people just get up and go while some others want to stay and try to work things out.
> Uber denied the benefits claim through its insurance carrier.

> Deciding to do that makes them look awful, and I think that's what matters most

Yeah a dude was driven to kill himself and left his family behind and some bad optics are what matter most, please tell me I'm misreading this somehow?
If someone is in the state of mind of wanting to take their own life, will they desire to call to talk to a stranger on a hotline?

"In spite of their popularity and attractiveness, so far there is no conclusive evidence on the effectiveness of suicide prevention hot lines and crise centres" (2004)
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1414695/
Thank you for this. We need to hear more accounts like this one, and mine, to bring this issue into widespread view.
While I agree CPU perf improvements have been quite incremental, PCI express SSDs and 64gb ram make Hackintoshes worth it.

I almost wish Apple would just quietly make this easier for folks, blessing it without explicitly blessing it.
>But when I consider my own life experiences, I find that the happiest people I know are all motivated by some "higher calling," although the callings in question vary widely,

That's true. Hedonism is a treadmill (no pun intended) like most other traps. Heroin users are also hedonists...
JavaScript Is the Future of Enterprise Application Development
I've never felt like he seems to have felt, so I can't put myself in his shoes. But my first thought on seeing the picture of his family at the top of that post was that trying to reverse-engineer whatever misery would cause a man to take that step, to leave his family that way, to do it in a way that was almost certain to force his wife or even, horribly, one of his kids to confront the results, is fruitless. Maybe someone with a deep professional understanding of the human mind would have some insight. "Uber did it" is a far too coarse answer imho.
If you broaden your definition of job to "anything you work on for a long period of time", I think the answer becomes obvious: a job is a large part of your life. Not wanting to do well at it would be nihilistic.
It's sad to say but this is the only way to get a decently powerful desktop Mac right now (that's not using server grade Xenon chips, I don't need ECC).

One thing that's unfortunate though (about a Hackintosh) I think about to change (maybe already has) is the use of a R9 280x due to driver issues in OS X (i.e. there are no drivers for newer GPUs). I think now you can use, or soon will be able to, Pascal based GPUs which would great for deep learning/CUDA. It's a shame Apple has been relentless in their quest to ship inferior GPUs in Macs.

The biggest beef I have with this Touchbar MBP I've got is the GPU is pretty crap compared to NVidia's offerings-- and I think it's somewhere that Apple could dominate. Sure it'd take partnering with GPU manufacturers, innovation, and money in the space but that's exactly what the Mac needs right now and Apple is fully capable of... or someone's god forbid sacrificing a small bit of portability for the power.

I really want to love the mac but outside of iOS development I don't have much of a reason to run it these days. Windows + Linux subystem is pretty great, or just booting directly into Linux.

To be honest developing in native Linux lately has been wonderful, it's incredibly fast, driver support is pretty damn good, and desktop is attractive enough.

I even have Thunderbolt 3 ports on my desktop which have been good, I just wish VNC clients were faster so I could network-in my Macbook Pro's screen better. The latency even over thunderbolt three is pretty atrocious.

Edit: Just so I don't SPAM another comment, as the nice folks below have pointed out... PASCAL is supported. Upvoted you all because I'm so happy. Gonna get my hackintosh back in action tomorrow.

Edit 2: I'd also like to say NVMe is mind blowingly fast on the desktop I've got and something sorely lacking from Apple's offering adding another downside to the current Mac desktops.

Edit 3: Cleared up note about thunderbolt 3 and VNC.
Dropbox was barely recommendable and has become a hard no-no when they got Condoleeza Rice on their board of directors.

http://www.drop-dropbox.com/
Read my comment elsewhere in this article; it might give you a different perspective.
Be frugal. Don't buy a house unless you have at least 6 months of payments in the bank. Don't buy a car if you need to take a loan. Save as much you can. Build and maintain a strong network outside work (family/friends/professional contacts).

Every time I got into a difficult situation at work, I take a deep breath and tell myself: "Don't worry, give it your best shot to resolve this. And if that's not good enough, you know you can walk out that door and take a break for some time". It's been working well for me.
Maybe, maybe not. Regardless, we should still strive to give that person alternatives.

"Be kind, for everyone you meet is fighting a hard battle". -- Plato

Edit: @aaron695: that is what I was trying to communicate
Ok, maybe not "most". But I hope you get my point -- even at the most pragmatic, even considering that technically Uber might be right because Thomas only worked less than six months, it seems like a terrible PR move to deny the benefits claim.
That's why I'm pretty excited about what agentzh bring to the table with the commercialization (just a few weeks old) of OpenResty Inc.
This. Other comments amplify this point.
If you want to use Google translate, first expand with a dutch source and then translate:
http://www.encyclo.nl/begrip/linkerd

1) Fraud
2) Adult Person
3) Most common guy
4) Convenient guy
5) Linkmichel
6) Nice handy guy
7) Beautiful guy
8) Smooth
9) Smarter
10) Slapped person
11) False nature

I prefer my own translation
Does anyone think that this culture of extreme competitiveness and "working hard" benefits employers before it reaches the employees?
Not really. The same circular reasoning can be used to make altruism selfish, etc.

It makes far more sense to define those things by their external manifestations rather than by some final (and worse, sometimes even subconscious) motive.
I mean that the outrage at Uber for this is what is ridiculous. Maybe not the story, or even the lawsuit (I understand the family seeking compensation for something like this), but the vitriol directed in Uber's direction for this seems more to do with their place as the current evil tech boogeyman more than anything else.

It was his decision to live in a HCOL area, from what I read his family was encouraging him to quit the job and decompress but he refused to listen. My point is that this sounds like a psychologically compromised and severely depressed man who ended up committing suicide. I'm sure a big part of that was because of his job. But I'm not sure that this ipso facto means Uber should be the subject of our ire.

And to be clear, I'm bearish on Uber, and frankly I usually enjoy the Uber schadenfreude that gets posted here recently. I just don't think this particular instance has much merit, it's just more ammo for the Uber = The Devil bandwagon jumpers.

>>> "Before his death, Thomas expressed both to his father and wife that he felt immense pressure and stress to the point where he was scared he would lose his job. In meetings with a psychiatrist, Thomas told the doctor he was experiencing panic attacks, trouble concentrating, and debilitating anxiety. Everyone instructed him to leave his job, but he was adamant that he could not.

“He was always the smartest guy in the room,” said his father, Joe Thomas. But while working at Uber, “he went down the tubes. He became someone with very little confidence in himself. The guy just fell apart.”

His wife added, “It’s hard to explain, but he wasn’t himself at all. He’d say things like, ‘My boss doesn’t like me.’ His personality changed totally; he was horribly concerned about his work, to the point it was almost unbelievable. He was saying he couldn’t do anything right.” "
Related: how bundler deals with it: https://github.com/bundler/bundler/blob/master/lib/bundler/d...
> There's only so much of the hardware rat race worth keeping up with anymore at the desktop level.

I believe there's only so much of the hardware rat race worth keeping up with at all. Assuming most of Hacker News is coding, we're spending a lot of time in text editors; even if you are constantly recompiling code, CPU-wise is anything giving you that much of a boost over anything past Haswell or the PCIe/NVMe drives in the current MBP?

However, my work machines are a 2014 MacBook Pro 15 with a GTX 960 eGPU / TB2 when I need mobile hashcat, a T440s, and a Surface Pro, all pretty old hardware. 90% of the time I don't notice RAM pressure or that I am CPU bound, even when running a few VMs (say, Kali + Win10 on my MBP, or a few Win10 images in Hyper-V on the T440.) When I need more power than that, I can usually just rent it out of AWS/Azure.

I think sometimes the hardware game - especially on the Apple front - seems about keeping up the cycle and appearances of getting the new hotness. Yes, the exhilaration of having the next big thing is great, but functionally I'm inclined to believe that having the old thing is just fine 99% of users, and probably 80% of HN readers.
> When they analysed results of studies combined by setting and intervention, and by exposure to intervention, sadly enough, the highest percentage of reduction in suicide rates observed was 4%.

Wow, that's unfortunate. I wonder if any follow-up studies have been done with more modern technology. For instance would / does SMS or other message services fair better than a phone call today than the phone call itself faired in 2004?

I wonder if there are any ways to help when simply existing as an anonymous person on the internet. You always see hotlines and other resources copied and pasted and I had always hoped they helped.
Retrieve Data from Broken Android
Show HN: Hacker News Bot (FB Messenger) – daily updates and keyword subscription
I was surprised, too. My gut feel is that most Muslim people I've known _would_ be surprised, because they don't espouse such beliefs themselves, and they're not common among Muslim communities in the West.
Please encourage your friend to see a psychiatrist. It may save their life.