skysight-inc/HackerNews huggingface dataset:
My girlfriend’s involuntary treatment providers decided to give her a benzodiazepine addiction, on top of the other non-helpful prescriptions they thought she needed. Initially the benzos helped her “anxiety”, but the effect wore off after a month. She ordered heroin from her street pharmacist to get through benzo withdrawal.

I said... “we’re not going to do this again.” She said it was barely any heroin at all, that she wasn’t going to get addicted again, and that she just needed it so she could sleep. Just to show me that it wasn’t much she prepared a second shot and injected that too. I don’t think she realized that her tolerance had changed and that benzodiazepines increase the potency of opiates.

Then she fell forward, said “I meant to do that”, then her face turned blue and she went non-responsive. I called EMS. They revived her with 2x2mg naloxone.

After a few minutes the firefighters decided she was okay. The police officers also decided they didn’t need to intervene. She did very well for about 2 weeks: drinking under control, benzodiazepine withdrawal mostly completed, etc.

Narcan/naloxone has much broader effects than just kicking out the opiates from the opioid receptors. The related drug Naltrexone is FDA-approved to help people get their alcohol use under control. I’m not entirely clear on how the anti-opiates help with alcohol use, but I think it has to do with fixing the metabolic problem that is associated with most cases of alcoholism.

You’re correct that narcan isn’t much of a treatment by itself. But naltrexone is almost the same drug, keeps people sober long enough to get them stabilized, and partially addresses the long-term emotional pain they’re actually self-medicating for.

If addicts are helped out of their “cage”, narcan/naloxone and naltrexone are very useful tools to support them while they recover.
Unemployment of the youth in Spain is at >33% now.
Pi-Hole is great as a caching mechanism and is easy enough for non-techie friends and family to use (just make sure you have it auto-update for them, or do it yourself once in a while).

Bind9, a true dns server, doesn't provide the privacy enhancements that pi-hole does and it is much more opaque for normal users. I think you're right - it's much easier to look at targets that are a little easier to hit rather than suggesting a bind9 setup to everyone. I have the know-how to do both, and I prefer pi-hole anyway!
Reminded me a bit of the much older https://ccl.northwestern.edu/netlogo/ : a multi-agent programmable modeling environment. It also uses a multi-turtle based approach for many of its examples.
I'd seriously look at retiring on a cruise ship. Might not be as cost effective, but it would give you a ton of stuff to do. I could probably live on a cruise ship for less than what it costs me to live.
I'm curious if that's as simple as it sounds. For example, many employees that could survive the cuts might not like an environment where they are rarely the smartest person in the room, or having to constantly prove you're worth keeping. Or maybe it's hard to find a business model with margins that could support this. Or, does it create a monoculture with other notable issues..."not invented here", and "not doing that scut work" come to mind.
I dont want to be identified here. You can consider a 1st tier metro city in India like Mumbai, Delhi , where a Holiday Inn accommodation will be far cheaper than a simple Apartment on monthly basis. You also don't need to deposit a hefty amount.
So pay top rate, completely de-prioritize work-life balance, fire everyone who complains about lack of said work-life balance, and voila, right? I know a few developers that would thrive in this environment, but most wouldn't last. But perhaps that's the brilliance: hiring people who can spend their lives working and doing nothing else.

It's clearly something that comes up on Glassdoor a lot[0]

[0]: https://www.glassdoor.com/Reviews/Netflix-Reviews-E11891_P2....
>Their engineering team universally is happy and extremely productive and I think it makes a lot of sense.

Who's word would you take for it?

Anonymous reviews on Glassdoor don't seem to agree with that.
Electrical Component Cross Sections
In the article they state that people that are hikikomori don't have a job. I would assume that if you are a content creator with income that stays at home all day you would be left out of the study.
This is ridiculous because a nursing home and the Holiday Inn are not remotely comparable. A nursing home is for people who can't take care of themselves. They have nursing staff available 24 hours a day. They assist people with going to the bathroom, eating, taking medicines, etc. A Holiday Inn does none of that.

Clearly this man is capable of taking care of himself, which is great. He doesn't even need assisted living. He would fare just fine in a regular retirement community or just in a regular apartment, so the question is not how a Holiday Inn compares to a nursing home. It's how a Holiday Inn compares to an apartment.
Well clearly if I publicize my ill deeds they become clean through the magic of your assumptions.
What? Are you including a large private office in costs?

Obviously there is a cost past salary but it’s not over 100%
Needs Adobe Flash to watch live steam of the pitch drop.
Nobody will probably watch it fall then. LOL
http://www.thetenthwatch.com/
Ah, pretty. Hoping the 4x10 Gbe is optional, since I bet it costs as much as the rest of the board ;)
Please point out where I am (completely!) wrong.

I have formally dealt with approximation algorithms before and I skimmed the wikipedia article, yet I did not find anything that contradicts me. Note the in the section on hardness, P and NP (obviously) appear as bounds of solutions. Where is the contradiction?

Further, all this (approximation algos and P/NP algos) are discrete, complete algorithms. ML is a completely different story, as one is never certain whether some optimum is global or local. Hence, ML is a heuristic, while Djikstras shortest path algorithm is a series of steps with a success guarantee (with provable worst runtime behavior).
Everything old is new again. It used to be common to live in hotels, specially towards the end of one's life, at a time where specialized facilities were scarce or nonexistent. Just off the top of my head Tesla's last years were spent at the Hotel New Yorker, with Westinghouse footing the bill.
> My impression is that it has caused a fair amount of confusion among Java developers because it forces a more complicated understanding of time upon people who in many cases aren't interested in writing applications that deal with describing events accurately across centuries or with multiple time zones.

I think this is spot on, and is the reason why it's so hard to design time libraries, particularly in language standard libraries. How do you allow all users to express what they need, while not requiring any users to express what they do not need?

Bear in mind that Joda/java.time are still oversimplifying, because they take UTC as their ground truth, which means they can't account for leap seconds. A really thorough time library would take TAI as the ground truth, then have a layer which knew about leap seconds to convert to UTC [1], then a layer which knew about timezones to convert to local times. Not knowing about leap seconds means you can't calculate the time between two Instants accurately - if there is a leap second in the interval, the time will be off by one. However, since most people don't mind about gaining or losing a second every now and then, UTC is a decent tradeoff.

> Personally I find the API confusing and arbitrary. Why include a Year class?

So you can't accidentally pass the year and month, which would otherwise both be integers, the wrong way round to a method which takes those, as i did earlier this week.

> Why include both OffsetDateTime and ZonedDateTime?

There's a time format which looks like '1918-11-11T11:00+01:00'. You can parse that to an OffsetDateTime, but you don't have enough information to parse it to a ZonedDateTime. Was that Paris winter time, or Lagos standard time? If you wanted to find the exact six-month anniversary of that moment, you would need to know, because it would be at 11:00 local time [2], which could be 1919-05-11T11:00+02:00 in Paris but 1919-05-11T11:00+01:00 in Lagos, and those are different moments in time.

> What is the difference between Instant and LocalDateTime for my application that doesn't travel across time zones?

If your application, or one of its users, resides in one of the timezones which have summer and winter times, then you still have two offsets to think about. Every Instant identifies a unique moment in time for you (up to leap seconds!), but a LocalDateTime does not, because there is one hour a year of LocalDateTime values which identify two different moments an hour apart, and one hour a year of values which don't identify anything at all.

[1] inb4 someone goes off about relativity

[2] because everyone knows that the armistice was signed at 11 o'clock on the 11th day of the 11th month, so if you rock up and say "bonjour mes amis, le cérémonie de l'anniversaire c'est à 10h" you will get bayonetted
In addition, GP, you were prob downvoted because it’s posted on every post about Zuck and it gets annoying
Secure a member budget for online classes (e.g. Coursera), conferences and books. Have them do presentations on various subjects related to their craft (new things they've learned, new frameworks), add standards (coding, testing, linters, etc.) to the team's workflow, send them to conferences and have them do presentations on what they learned and how could help the team grow, etc. Voice your concerns, ask them to participate. Remember that ppl have difference backgrounds and learn in many different ways.

NOTE: None of the above should be done if the employers free time, except from the Coursera classes ofc which the company will have to pay if the team member agrees. A team needs to have at least some time per month spent in personal development, where you need to combine what everyone in the team likes with what is useful to the company/team. All the above needs to be decided on a team level, but as a leader you can drive the discussion.
This is a toxic attitude as this can be said about pretty much any language / thing, "lol Ruby developers discovering what LISP developers have been doing since the 80s", "lol LISP developers discovering lambda calculus", etc.

A better attitude would be to appreciate that these solid practices are being rediscovered everywhere, and focus on the good rather than the "us versus them". It's not productive.
For me, gets really fascinating towards the last part. How he relates human anatomy to the domestication. Large eyes, smaller face etc.
I think that Gravity’s experiment is a sign of society waking up to other viable operating models. Capitalism is just one way to do business, but it comes with some downsides that are now well documented. I doubt anything of value would be lost if the goalposts got moved away from “capitalism by default”.
The blog post and this comment are oriented towards direct commandline use of PostgreSQL, and to the extent you want to use the database as your primary front facing programming API, you need all the conveniences of opinionated types and conversion functions. But when the database is in its more traditional role as persistence for a large layer of business and presentation logic running in a front facing process, having a stricter model with less chance of implicit decisions made by the database itself is better. I think that's part of the disconnect here why some people are downmodding like crazy while others are agreeing. People are coming from two different perspectives, perhaps data scientists vs backend engineers.
How is there more stuff to do on a cruiseship than on mainland?
This looks like a good, modern intro. Thnx for posting!
Yes. He wanted journalists to select which documents were in the public's interest, and only those to be released.
Yes, it covers both OpenGL and WebGL.
I don't think that that Mandelbrot benchmark is single threaded. It would mean that this processor is much faster than Skylake in computational instructions per clock, which would be a huge game changer (and it clearly isn't). That 25s vs 18s figure makes a lot more sense if the benchmark is multithreaded, since Skylake is around 1.7x to 2x faster than Sandy Bridge.

Moreover, the benchmark source code [0] clearly uses OpenMP to parallelize the benchmark tasks.

[0]: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Stack Overflow 90s Theme
I'm a sweaty dude and I'm also O-. I very rarely ever notice mosquitoes around and maybe contend with 2-3 bites a year. My wife is an A type, who doesn't sweat profusely, but she is harassed by mosquitoes every year. She gets it really bad, to the point where we're both actively trying to defend her against them with sprays and portable fans when we're out hiking or backpacking, etc...
Regarding the payload size argument: If you’re pulling jQuery in from one of the popular CDNs (which you should be), your clients will almost certainly already have it cached locally anyway.

Can you elaborate on the runtime overhead issue? If you write your own JS functions to replace jQuery, you’re still adding runtime overhead... and jQuery likely wrote a more efficient implementation to begin with; jQuery is battle tested and one of the most widely used pieces of software in history, what makes you think your code will have less runtime overhead?
in python:

>>> from collections import defaultdict
>>> map = defaultdict(int)
>>> for word in ['hi', 'there', 'hi']:
... map[word] += 1

I am glad Java has this stuff now, but it's a little surprising that its tools are still so obtuse relative to competitors.

edit: I should have foreseen the derailment caused by and nitpicking to follow a comment like this. Sorry folks!
Paying top of market (in cash, like Netflix) is tough for companies that don't have a very large revenue stream. When you start, if you try to pay Netflix-like salaries, you'll run out of money very fast.

The traditional workaround for startups had been to award equity instead, but for a variety of legitimate reasons, workers these days are cynical about the value of startup equity.
While I generally agree with the sentiment there is no such thing as a labour shortage, only a pay shortage, money is not a panacea.

For one, people's expectations change. I couldn't count the number of times I've seen a Bay Area software engineer 4 years out of college genuinely believe they're justified in complaining about their lot in life because they can't afford a 5 bedroom house in Palo Alto, all the while being driven around and being fed for free by workers making $20 an hour who have to try and live in the same area.

Look at the obvious internal strife at places like Google over efforts like Maven and Dragonfly. If it was just money motivating them, would you see that? Would you see people who leave over it?
PHP 8 to Add a JIT
I used a ThinkPad x230, now I use a ThinkPad x280. Both machines work nicely with Linux. If you are a programmer and use the keyboard a lot, the poiting stick is simply the best poiting device you can get. With it, you never have to leave the home row. I find the keyboards of both machines quite nice as well.
Saudis accessed Amazon CEO Jeff Bezos' phone and gained private data
Unfortunately the market probably won't. Intel still has enough clout and resources to incentivize OEMs to sell as many Intel systems as possible.

For consumer hardware most buyers are completely oblivious to the situation but they are most likely familiar with the Intel brand. For enterprise the inertia is a lot higher and they are probably waiting to see that AMD manages to deliver for an extended period (multiple generations) before considering wider scale adoption.
That sounds like a horrible place to work. I wouldn’t even think of applying to Netflix with this sort of practice.
Cool stuff! I wish GPU programming was more accessible for mortals, so one could implement similar thing with any mainstream programming language as a normal library.
This article would be a lot better if it started with the introduction: TI decides to end funding for work on the Snowden archive to cut expenditures. Laura Poitras is very angry about this, here are her thoughts.
I don’t think the move and the Jesus look are an accident. Read this piece by Esquire: https://www.esquire.com/lifestyle/a46922/dan-price-the-proph...

He being portrayed as Jesus on multiple magazines is nauseating, to say the least.
Do any of these services provide point-in-time backup recovery? It is very easy to implement with WAL archiving on my own deployment but I haven’t found any hosted services who do it.
Until you stop playing fantasy company CEO and start a real business, at that point you finally would have to learn about the human race and quickly delete your comment on HN out of shame.
See also: http://www.vanilla-js.com/
I note without comment that this was posted on International Transgender Day of Visibility.
Seems like a great reason from me to keep using jQuery. It's not as if I was eschewing React and such, to write SPAs with jQuery.

jQuery is a utility that abstract/hides away all the hideousness that is JavaScript and its prototypes-based nature. And it does its jobs well, plus it has universal support.

Above all -- "work smarter, not harder".
StackExchange: Does not work on Netscape Navigator 3.0
I remember hearing about the Cowboy Bob robberies, and seeing the security camera photo. Never heard how it ended, though.
I am sure 99% of people would sign up for the latter immediately if they were promised a good sized payout. Torture is a gross overexaggeration.
Not sold on LTC. That’s great if your goal is to live in a facility some day. But hopefully I never have to. Can downgrade from big house to maybe a smaller condo over time. Take care of myself so hopefully will end up OK.

If not? I get checked into the same home as a LTC user with Medicare. I pay for it until I am broke, then Medicare takes over.

I really don’t see the upside. In the case I have a large estate and need LTC, the LTC insurance protects my estate so I can pass more of it on. But as not a huge fan of generational wealth, I see no benefit to me or the world to buy LTC insurance. In fact, less money to enjoy now or grow my estate.
Machine Learning Fairness
Too broad of a statement. Title should have used 'Criminal System' instead. Afterall, criminal trials are just a small part of the Judicial System.

Civil cases could benefit enormously from ML, helping judges with rulings suggestions based on jurisprudence.
Out of curiosity, is the encryption salt really that quote from William Wordsworth's poem ("I wondered lonely as a cloud...") or was that a joke? Can't extract sarcasm from presentation slides :(
App Ideas Using JavaScript That Turned into Million-Dollar Startups
I always find it funny that links like “you don’t need jQuery” seem like jQuery advertisement to me.

The jQuery examples are always cleaner, shorter, more intuitive.
Why I Dropped Out of the Explorers Club
I did a bunch of research and wound up chooosiing the xmate pro huwaeii. It's been excellent so far. I bought it about 3 months ago. It was the best in all dimensions.
Learn Hash Tables and you won't code the same way again
It's very neat and well worked out, but in hindsight it seems kind of obvious. If the "judge" trusts an "uncorruptible" witness then deniability can't hold.

Now if only Intel could actually build a secure TPM! :P
What if we tweak it to, “More stuff to do within (walking/assisted mobility device) distance of your personal living quarters?”

There are assisted living residences in urban areas, of course, but even then you may need to use public transit or taxis to get to all of the activities you enjoy.

I doubt the statement is always true, but it feels like it might be true enough of the time for it to be worth a “Hunh, that’s an interesting conjecture to explore.”
Any large project can be broken down into a set of small projects.
I use the free grocery circulars that invade my mailbox to catch the cut hair. Layer them over the bathroom sink and chop it all off. Cleanup is mostly crumpling up the papers and a little bit of wipe down.
Russia Ordered a Killing That Made No Sense. Then the Assassin Started Talking
I'm not sure if that's a function of your particular college, or of the decade. Perhaps both.

Today, I'd expect any recent CS graduate to have studied most, or perhaps all, of those topics. In my CS degree we covered every one of them.

(Of course, I'm simply mirroring beambot's comment, here.)
> This is my project

Ownership is essentially the main problem of OSS here.

> If it stops being fun, I will stop working on it, which will pretty much kill the project.

See what I mean ?

Makes me think of Hickey's "Open source is not about you" rant and I can't prevent myself from hearing "It's about me".

https://news.ycombinator.com/item?id=18538123
It has always been like that. Remember then the Macintosh didn't have arrow keys? When they dropped disk drives?

They try being ahead of the curve and are know to ignore market interest. Sometimes they get a hit, sometimes they fail.
Clearly you missed the tongue-in-cheek humor the old dude had throughout the entire article. Lay off the adderall.
> The 10-100G ports are no extra cost. It is available on the SOC and brought out on the COM Express pins so we wanted it available for those that could use it. Additionally these are raw SERDES lanes so in theory could be attached to a PCIe expansion cage.

https://www.cnx-software.com/2019/03/29/clearfog-itx-worksta...

Looks like anyone who makes these 16-core A72 chips is making them for networking (this NXP one, Mellanox Bluefield is a somewhat similar idea I think). So you can't not pay the cost of the NIC that's on the chip already…
I prefer listening to the opinions of the half dozens Netflix engineers and finance employees that I know personally rather than anonymous reviews.
I spent a week on a cruise ship. I was done with most available activities in a couple days. It also was not cheap.
As a foreigner, I would hate that choice. I want to use an app that makes me feel like the parties are aligned on the agreement. When the driver didn't cancel my fare, it made me suspect he was needing to cheat me to make it fair, and I stopped using 99 completely since I started to assume everyone would need to do something like that to make money. A poor marketplace if that is the case.
Thanks.

So at boot, one would run "erase-machine-id". Then create a random 30-character hexadecimal number. And then either set "the systemd.machine_id= kernel command line parameter" to it. Or pass it via "the option --machine-id= to systemd".
Lenovo X230 with Heads, me_cleaner, Qubes.

Used OpenCompute enterprise server from eBay, with LinuxBoot as BIOS.

Future: OpenCompute platform based on OpenPower CPU, Open System Firmware and an open-hardware implementation of Microsoft Cerberus / Google OpenTitan.
It'd help if you clarified the ambiguity/incorrectness you perceive. I can't see any.
But very interesting article on a very boring but necessary aspect of chip tech. By analogy, it's not about AI around your house, but keeping clean water running.
I appreciate this.
>Lay off the adderall.

Don't be that way.
On Flooding: Drowning the Culture in Sameness
No idea is above scrutiny. Ridicule is mostly harmful.
Why Are Economists Giving Piketty the Cold Shoulder? (2017)
All of these paradigms assume no one is trying to urgently contact you right now. It's fiction.