skysight-inc/HackerNews huggingface dataset:
>Nurses?

I know a lot of nurses. They make decent (not outrageous) money, but their work environment is frequently a shitshow. Many are quitting.

>Tenured professors?

I know a few. I guess some of them are paid well, but they often make a lot less than their students. They do have job security (like tenured teachers).

Doctors don't make money because they help people. They make money, because people with money think what they do is important.

[UPDATE]: Note the downvotes. I didn't post anything that attacked anyone. I made a "blanket statement" that has been made millions of times, and is, regardless, quite true.

I also talked about some projects that I've done (a few that are easily accessible, for anyone interested). These were not mentioned to be "snotty." They are simply what I have done, out of Gratitude and for deeply personal reasons.

Don't like to look at things that make us uncomfortable? Join the club. However, it often makes us better people.
Correct, although the profit is coming from substantially different places and that influences the end product. It's like the difference between an artist selling a painting, and an artist selling parts of his painting by chopping it up and offering different pieces at different prices. In the latter example you end up with something that is less cohesive and a different experience.
Not sure if I agree with the idea, but it wouldn’t necessarily require changing tort law. Just require that the licensing body also provide liability insurance, as hospitals do for doctors; and “disbar” any police officer who uses anything other than the group-plan insurance to pay out a settlement, or who goes to court.

I believe unions already tend to kick out union members who don’t accept union-appointed lawyers and instead attempt to litigate their own cases. This wouldn’t be much of a stretch from that.
IMO reusing types is an anti-pattern. It leads to knots of functions which are all tightly coupled since they “use the same types” even though they actually only need small subsets of those types. Changing one of these functions will then often break several of the conjoined functions.

When you start to hear people say of their PRs “it works but I just have to fix the types”, that usually means the codebase is trying to re-use too many types. In my experience.

The beauty of TypeScript is that you can have two different very narrowly specified types and the compiler will tell you if they’re compatible or not.

Reusing types is throwing away the most valuable feature of TypeScript.

For me, the type signature is part of the function signature and therefore should not be re-used.

Imagine what a disaster it would be if function signatures were reusable:

sig UserDatabase(user, db)

create: UserDatabase =>
db.write(“users”, user)

update: UserDatabase =>
db.get(“users”, user.id).update(user)

It’s too much. DRY can be taken too far.
What "special status"? It simply is how the world is, as we've seen over all of history.

Yes some marriages end in divorce and families disconnect in some cases, with various outcomes. The family still exists even if no-one participates in it. The guy is being overworked and unable to see his kids, I'm all for that guy seeing his kids. It can have huge knock on effects if it's ignored. You aren't forced to participate in family.

Family is built from natural impulses, biological connections and installs in the children an inheritance of values, schooling and relationships. There are reasons from first principles for families and the surrounding neighbourhood, city and country benefits from families. You can't hand-wave away the meaning of family as 'power' and 'arbitrary'.
You missed quite a lot in German politics. This is no longer true, in fact Habeck already said couple times that if nuclear would still be an option they would do it. Unfortunately it is not, yet every discussion on HN about German energy policy eventually gets back to bashing Greens for „their nuclear policy“. You‘d better ask Merkel and CDU why they decided to shut down nuclear plants faster and build NS2.
I don't remember ever seeing a policy specifically requiring a writing resignation. But I just assumed it was better for all involved to have an official email after an in-person discussion just to formalize it
It took longer than I expected.
Do you realize you are agreeing and providing supporting evidence for the point I was making? There is significant gun ownership in this country and support for guns. The idea that gun owners are some persecuted minority is ridiculous.

"They are coming for your guns" has been consistent messaging put out by those with an intrenched interest with no basis in reality.
my programming career started when my friend convinced me to help him build a minimal redstone calculator
> or if it is a political agenda like the post elsewhere in this thread talking about how bad "progressive cities" are (I wonder how progressive SF really is, given its policies around housing, zoning, taxing, political funds going to non-progressive groups like Grow SF nd Together SF, etc...)

You put "progressive cities" in quotes here, but everyone knows SF as a progressive city because that's how it brands itself. I agree that SF is probably not as "progressive" as some will claim, given the massive wealth inequality (among other things), but to say it's a "political agenda" to brand SF as a progressive city is nonsense. Sure, people will use that sentiment to paint it in a bad light, but the leaders of SF very much want SF to be known as a progressive city.
Show HN: Read Wikipedia privately using homomorphic encryption
Hi, creator here.

This is a demo of our recent work presented at Oakland (IEEE S&P): https://eprint.iacr.org/2022/368. The server and client code are written in Rust and available here: https://github.com/menonsamir/spiral-rs. The general aim of our work is to show that homomorphic encryption is practical today for real-world applications. The server we use to serve this costs $35/month!

A quick overview: the client uses homomorphic encryption to encrypt the article number that they would like to retrieve. The server processes the query and produces an encrypted result containing the desired article, and sends this back to the client, who can decrypt and obtain the article. A malicious server is unable to determine which article the client retrieved. All search and autocomplete is down locally. The technical details are in the paper, but the high level summary is that the client creates a large one-hot vector of encrypted bits (0’s except for the index of the desired article, where they place a 1) and then the server computes something like a ‘homomorphic dot product’ between the query and the plaintext articles.

I’d like to caveat that this is an in-browser demo to show it is practical to use homomorphic encryption at this scale. As a real product, you’d probably want to distribute a signed client executable (or Electron app) since otherwise, a malicious server could simply deliver bad client JS on the fly.

Happy to answer any questions!
>This is like saying we should let people drive unmodified T-72 tanks around...

You can literally own a tank in the US. Tanks probably weight to much to be street legal, but you might be able to trim off some weight and make it street legal. You can drive armored humvees with guns on top on the street.

>They are inherently capable of killing a lot of people quickly.

And? So are cars.

>The “civilian” model AR-15s are simply M4 Carbines with with less automatic firing modes.

Most AR15s cannot fire 5.56 due to the extra pressure and can only fire .223. So most of them are a bit more different than just firing modes.

>If you go back 50 years and show an AR-15 to nearly any soldier, they’d happily swap you.

Which means nothing? They don't use AR15s in wars. I'm sure you could find a soldier to trade knives with. Would you suggest banning knives since they are a weapon of war.

Regardless, a solider almost certainly wouldn't trade their gun for an AR15 because the ammo didn't exist, they wouldn't know how to repair the gun, and they can't get replacement parts. All of those are necessary for weapons of war.

>Don’t take my word for it, listen to this soldier

If you really want me to I can find a solider that says the opposite. A weapon of war isn't really a weapon of war if it isn't used by militaries.

Even if something is used by militaries it can't always be classified as a weapon of war. Soldiers have killed others with a headbutt during war so let's decapitate everyone so they can't use their weapon of war.

Regardless, the whole thing is moot. The US Constitution allows civilians to own real weapons of war. During the time of the writing of the Constitution individuals were allowed to own warships, cannons, machine guns (yes you read that right), rifles, hand guns, swords, and anything else I forgot. The idea that automatic weapons are banned now is highly questionable since it was allowed at the time of the Constitution.
I still prefer Atom's UX design over VSCode and I can't explain why. Amazing job on that front! I hope it gets traction with community support.
What have you had to build and rebuild, everywhere you go?
Doing a quick one question survey for all the software engineers out there, who are tired of reinventing the wheel every 5 or so years.

https://forms.gle/MFWS8KnszXkVfeR97
VS Code Pro already exists. It's called Visual Studio.
"VS Code Pro" came out in 1997
I do live there, they look cool. Greetings from the Netherlands. Seriously though, what is this comment supposed to achieve?
I wrote a bit about this here: https://news.ycombinator.com/item?id=31663316

In brief, I think Haskell is still the purest expression of what makes it great. This is both a good thing, for the reasons I outlined there, and a bad thing, because e.g. stringing together a few iterator methods in Rust may be a functional style but it still prepares you for the concepts you'll encounter in Haskell about as well as zooming a Hot Wheels around on the kitchen floor prepares you to drive a lap in an F1 car without stalling out or flying off the track.

People with a modern imperative background know this intuitively---or maybe they just assume it, and happen to be correct---as soon as they look at a page of nontrivial Haskell code.

One thing people seem to miss about laziness in Haskell is that it's (unfortunately?) really tightly coupled with how "control structures" are expressed. For instance, instead of writing a loop with some infinite or indefinite condition, you might declare a list using a generator function and iterate over its values. I would like to see how other similar languages (e.g. Purescript) have done away with it, and how it impacts them. But my recollection from when I actually knew Haskell is that it was an incredibly powerful feature tightly integrated with the language design, not only from a data perspective but also from a perspective of allowing code structures to map much more closely onto the data structures they're manipulating.

(This is a big part of why, as I think I mentioned somewhere else in this thread, Haskell is so ergonomically suited for working with tree-like linked data structures.)
What other editors are better and could be recommended? I guess I'm replacing Atom today
Are there any GenZ people on here that can provide some illumination? How'd you get into coding?
> They're supposed to prevent you from harm not be nice to you.

Treating someone with mental illness effectively requires compassion. If being put on a psychiatric hold is a unnecessarily traumatic experience, you prevent some short term harm while causing long term damage. Not only do you add additional trauma that complicates recovery but you teach those in need of help to hide their suffering as long as possible.

> There aren't many people who can do those jobs without compartmentalizing their emotions.

So let's pay them well and not overwork them while holding to high standards for how they treat the vulnerable people in their care.

> This is exactly the kind of progressive-libertarianism the article is arguing against. As if we should tolerate suicides to avoid infringing on the rights of the suicidal.

Not only are you misconstruing the point of the comment you are replying to, your response lacks a single drop of empathy for those affected, including the commentor who shared a painful and personal experience.

Please try to practice more empathy, it might help you think of better solutions rather than just defending decades-old failed policies that created our current crisis.
I’m kind of bummed nobody has copied how they transfer files on The Expanse. For those that haven’t watched, if someone is standing across from you, you simply swipe it to them.

I feel like Apple’s ‘Find my’ tech could work to get positional data and make it possible. You’d need whitelists and the like of course.
I am sticking to my Intellij products for this very reason. They work great and the motives of the company are straightforward.
Step 1: Obtain gethotdogs.com

Step 2: Make billions.

Step 3: Buy hotdogs.com with your massive amounts of VC funds^W^Wcash.

This is what Facebook (thefacebook.com), Dropbox (getdropbox.com), etc did.
What is toleration of fascism? Most people I talked to don't even know what fascism is, but they use the term very liberally. Do you have national-socialists in California?
The code isn't being sunsetted, and anyone who wants to take it and keep working on it is free to do so.

But winding down the project is still a major event, and I think that it is appropriate to call that sunsetting. The existing project organization will go away. The team will presumably dissolve, with any people being paid to work on it going on to other things. I've seen this happen enough times to know that it is, indeed, an end of sorts. "The community" is almost never large and organized enough to keep a project like this vital. At best, they can only slow its descent into obscurity.
I think that's what happens if you hit enter from within the search bar. We search as you type, so no need to hit enter in order to search. Not our finest bit of UI, will bring that back to the team to see if we can improve on it.
Why would this happen to VsCode? VSCode is a proprietary form of Atom is not? It’s hugely successful Microsoft would never do such a thing.
This reminds me of a comic strip I saw during Obama's term, when he was hailed as a great compromiser.

It showed Obama standing opposite a Republican, and the Republican saying:

"If you take a step towards me, I'll take a step towards you."

So Obama takes a step towards the Republican, who doesn't move and just says again:

"If you take a step towards me, I'll take a step towards you."
Great link, thanks for that.

The dark cynic in me says that in a country with a for-profit health
system all these effects are considered good features of the
workplace.
Brackets in nearing end of life or is already at that point. Adobe announced it a while ago.
The lack of corporate pressures to just get features out the door and clean them up later (never) I assume is a huge factor. I agree, Blender releases new capabilities at such a rapid clip that there's certainly a solid base on which they're building that we could all learn a few lessons from.
Seems you have a problem with Microsoft I guess?
From everyday work experience, I strongly believe people to be totally unable to fairly assess a surgeon in an everyday clinical context. Looks, manners and personal sympathies are the main drivers for that kind of judgment.

I know a surgeon with a substantial rate of spectacular failure and a very bad reputation. But most of the time, outcomes are excellent. Is that a bad surgeon on average? No idea. And Im in the OR every day.
Definitely. The important thing is to not hide the facts. In a counter example sometimes a botched procedure can lead to suicide (if the person is in too much pain for example). That should probably count as a fatal medical error but I doubt it would be counted as such.
I have a scar from my breastbone around curving up my back, tracing the route of a rib. When I was 12 I had heart surgery, and that's how they did it back then.

My new doctor was amazed - said I'm a walking museum. That technique lasted just a couple of years before they turned to poking holes and putting cameras and instruments through the holes.

I guess most of medicine seems pretty primitive to what we had even a few years back!
I agree. But let's be clear, in Europe for the forseeable future installing solar & wind basically 'locks in' natural gas as a backup source.

Also, the price of the natgas plant will be much higher than otherwise - if it's only getting used 10-20% of the year, as capex and opex will be spread over a far fewer amount of kWhs.
I've used many text editors back and forth and keep going back to Kate. It's what I use now. I'm not sure I'd say it's the best choice for everyone but it's what works for me the best it seems.
Does anyone remember brackets? I cant remember if brackets or atom came first but I remember switching from sublime to brackets to atom. Good times, I heard DHH is still using TextMate.
One of the weirder side effects of the early retirement (FIRE) movement is that it selects for people who value freedom and time away from work and then convince them that they need to work the highest paid job they can find no matter how miserable it makes them right now. A lot of tech companies capitalize on this by offering 20% raises to recruit people and then demand 50-100% more work until they burn out. They can always recruit more people to backfill because 20% (or more) raises are hard to turn down.

Not everyone, of course, but this theme plays out far too frequently in FIRE communities.
vim bindings in Emacs are so great that when something isn't implemented properly (eg. editing macros, global marks) it hurts so much more.
Another Brackets user! There must be dozens of us!

I used Brackets too back then and tried Atom a few times but it was always too slow and laggy. I was so glad when VSCode came out and that it was actually good. I was in the midst of switching to VIM but it was just too much of a bother.
It's running on GCP, the backend is written in Rust (with a smattering of legacy Go) and the frontend is written in React + Next. Any other questions?
> Having a lay-accessible domain that rewards tinkering and provides a path into a related professional domain is to a large extent an artifact of an immature technology.

I agree with this. I wonder what fields are lay-accessible these days. Are the opportunities now in video productions?
> it’s the type of unethical behavior you wouldn’t want in a colleague

we're talking about Microsoft here, embrace, extend, extinguish, and all manner of other perfidy.I'd say he fit right, apart from his conscience.
Sounds like a dream come true to me, and once again, the OGs.

"To preserve liberty, it is essential that the whole body of the people always possess arms, and be taught alike, especially when young, how to use them." ~ Richard Henry Lee

"What, Sir, is the use of a militia? It is to prevent the establishment of a standing army, the bane of liberty .... Whenever governments mean to invade the rights and liberties of the people, they always attempt to destroy the militia, in order to raise an army upon their ruins." ~ Rep. Elbridge Gerry of Massachusetts

"Guard with jealous attention the public liberty. Suspect everyone who approaches that jewel. Unfortunately, nothing will preserve it but downright force. Whenever you give up that force, you are ruined. The great object is that every man be armed. Everyone who is able might have a gun." ~ Patrick Henry
It really depends on which state you live in (you said "bucks" so it's a good guess that you are in the US). Some are surely better than others in this regard. I got about $50 back from Illinois and the paperwork took less than 5 minutes to complete - so we're talking about $625 per hour for my efforts. Definitely worth it. If you only stand to get $3, that would be closer to $36 per hour - still a pretty good return on your time though perhaps not at the top of your list of priorities ;)
Virtual desktops sounds like what you want. Just press Win+Tab.
Over the past year I've tried a few times to switch from Atom to VS Code, but there's always a little thing that brings me back. With effort most of the functionality could be reproduced in VSC, but the stupid MS typography can't be themed away.
Probably under a new name - I’d expect MS to be in control of the “Atom” trademark and branding, and they would stop further use.
I know a lot of people love vscode but are there any people who have tried something like IDEA/WebStorm/PHPStorm/etc that then went back to vscode?

I had to help a developer setup deploys to a dev server from vscode the other day and I wanted to pull my hair out. I'll admit it's at least in part due to not using vscode myself but I was a heavy Sublime Text user which is very similar to vscode when it comes to how you find/configure plugins.

I understand that vscode is very powerful and infinitely extendable but I feel like I shouldn't have needed to try 4-5 different vscode plugins (all configured via json) before I found one that worked and did what I needed.

At least 2 of the top downloaded plugins when searching for "SFTP" were read-only/archived on GitHub, the top one had a "reloaded" version which was also discontinued from what I could tell.

I'm comparing this experience to IDEA which has this built in (including support for deploying to multiple servers at the same time) and all configurable in the GUI.

Maybe I'm just getting old and cranky but vscode seems to get unwieldy very quickly (plugin conflicts, not being able to tell what's doing what, writing almost all config in json). The plugin ecosystem seems to be much lower quality that I what I see in the Intellij product line. I guess I'm just not interested in "building my own IDE" and forever tweaking it, I'd much rather buy a product that does almost everything I need in a sane way.
Do registrars still hike up the price/purchase domain names they notice people searching? I feel like I haven't seen any reports on that in awhile. If it's still happening this could be a nice way to avoid that.
Super sad, atom's column editing still rocks. are there alternatives for vsCode?
Eh VSCode killer atom long ago.
For the average Joe? Nothing. Just like there was no incentive to use Facebook when MySpace existed.

The average Joe will be the last person to use it daily, just like every other technological invention. That's why they're average.
> We value individuality and selfishness. In fact, we actually deify these qualities... (especially US society)

I don't think it's "US society", as much as it is urban and suburban society which has become dominant over the last few decades. Traditionally in the US, people were a lot more communal--neighbors and families would share farm equipment, help each other through busy seasons, watch each other's farm while the other was away, help raise each other's kids, etc. Maybe the problem isn't our Americanism, but rather the lack of it, and maybe the solution is figuring out how to integrate more of it into our modern society rather than doubling down on our increasingly isolated, me-first sub/urban existences.
Lol, yeah no shit. If I owned a place and could afford to live indefinitely yeah, I might just quit my job for mental health reasons.

Until then I'll have to work on these minor feats of engineering. lol.
Isn't it considered SOUP ? https://en.wikipedia.org/wiki/Software_of_unknown_pedigree
Does Microsoft not "like" Atom, or has its market share dwindled to the point that it is no longer worth maintaining?