skysight-inc/HackerNews huggingface dataset:
> Are UML diagrams used effectively in the dev industry?

Are they effective? I say they are when correctly used. For example last year I used plant UML to draw a sequence diagram to demonstrate some threading/mutex problems. [1]

I've also used draw.io to draw similar problems. [2]

I would say that tbqh using UML (or maybe just plant UML) is the "better" solution because it can be embedded in code and re-rendered as needed. But draw.io is _much_ easier to use!

I will also say that UML diagrams aren't well taught nor do most devs even know to reach for the tool.

[1]: https://github.com/mavlink/qgroundcontrol/pull/9595

[2]: https://github.com/airmap/qgroundcontrol/pull/6
I agree with the premise, but please, anything other than a todo list.
It’s not like polars is a drop-in replacement, it has a totally different API.
I like the idea, but not sure about the implementation.

What happens when there is an outage at Google or Apple?

What happens when I lose/get stolen/break/change my cell phone?

What happens if I do not have/want a cell phone?
Outside the HN/tech-enthusiast bubble, yes. In my circle Instagram is the platform of choice. The majority is generally dismissive of Meta's privacy issues.
> Unpopular opinion: Social media is a great scapegoat,

On HN that's likely to be a popular opinion, given how many members here probably work in social media corporations.

I have lots of experience looking after relatives' kids in the UK and your points don't apply at all to them.

It's anecdata vs anecdata, but yours doesn't refute the article, and given your opinion may well suit HN biases well (we don't want to think of our work as causing mental illness) then I think the top voted comment needs a stronger counter argument than "my kids are like this".

It's not certain, but it looks pretty damn likely that social media has caused a dramatic increase in mental health problems amongst kids.

Maybe teachers could contribute something here with their experience? Parents see such a tiny sample size but teachers see 1000s of kids over a few years.
I'd actually love to be proven wrong here. I don't want to stay on Heroku, but I also don't see other viable options. My requirements are such that I cannot have a dedicated Cloud Engineer or DevOps person, and in reality, I want to spend 0 hours per week thinking about my cloud infrastructure. Heroku allows me to do that.
I really think the real cause in anxiety and depression are more related to climate change, corporate greed, work culture, inflation, the pandemic, and war. Social media just informs teens the reality of these issues and it's depressing as fuck.
> You can still fulfill the condition "be more selective" if the male populace as a whole was earning way more than the female populace before, which it very clearly was. This directly questions the notion of there being a bunch of old ladies who'd have held out: the majority would've found their "better off financially" peer.

But the original idea was that women prefer men better than their peers -- that's a direct quote from that top-level comment. You seem to be saying something distinct from that, that women prefer men who are better off financially than they are. These are very different claims.

Further, if you're right that women tended to satisfy their desire for higher-status men simply due to the fact that men used to have more money on average than women did, then where is the selection pressure supposed to come from? There's no pressure -- it wasn't hard for a woman, who had few career prospects, to find a man with a job who could bring home consistent pay.

> you only have to look for a few minutes to see the hoards of anecdotes and studies pointing towards women putting vastly higher weight on a man's finances than the other way around

Take your pick between "I don't really care about anecdotes" and "I have my own anecdotes that tell me that women don't place significantly more weight on socioeconomic status than men do". I'm curious about the studies, but I'd have to find a copy of the article you cite before I'd place too much stock in it. What I'd like to see is some proof in the data that conditioning on socioeconomic status does not significantly alter marriage rates for women but does do so for men.
It will support JS/TS in about a week
Respectfully, this doesn't change the advice. Always assume the network is compromised - that someone who shouldn't has access your hosts via the network. A user's device is taken, a new user is added via social engineering, a computer is left unlocked, a host is compromised...
Stay in power, gain power, halt scientific and cultural progress, destroy the environment, abuse and exploit native populations, embolden police brutality, murder dissenting voices...
Seeing Haskell and Scala below the averages I expected. Clojure I'm not surprised to see as I think the sharper devs self-select into that category. Ruby is the one that's somewhat surprising to me. The best guess I have for it is from the use of gems that are battle-tested units for common things, or Rails including a large amount of easy to write functionality.

Another difference is that many Ruby/Rails repos will be private being for products. This can skew the view of public use vs total use possibly more than other languages.
You can't rely on the end users to check the domain name, because

* Most users have no idea what a domain name is.

* It is tedious to compare the domain name character by character.

* Phishing sites have used many UI tricks historically to make their domain name look authentic (e.g lookalike Unicode characters).
The difference between social media and IRC / IM / fourms is the pervasiveness into all aspects of our lives. The older style communities were focused around specific topics / activites and what was done there didn't spread outside that specific community. Now anything we do is broadcast (& recorded) to anyone and everyone who might take an interest, now or in the future.
Frequent phone notifications, social media aside, must have some negative impact on quality of life.

In the worst cases, I've worked with people who had notifications go off every 2-3 minutes. I can't help but assume this destroys their ability to focus and turns every mental task into a herculean effort as they must backtrack so frequently.

Every context switch makes them forget what we spoke about, or what we were working on. Notifications turn their phones into literal torture devices.

Disable as many notifications as humanly possible, and make it the highest priority to reduce how many times per day your phone interrupts you.
States rights, that old chestnut we only ever hear about when someone wants to maintain control of other peoples bodies (slavery and abortion, included).

Also, why are you mentioning “ jewishrallyforabortionjustice” completely unprompted?
Sure it is. It mostly always is. Of course we have more work to do for women, POCs, whatever the other oppressed groups are out there, but ignoring and brushing off the progress made in the last century is sad. We've made great strides and will continue to.
Russia seems to be afraid of a Napoleonic Wars-WWII style invasion from the west but the lesson of history is that it's easy to attempt that invasion but difficult or impossible to succeed at it.
I feel like you have cause and effect reversed there. Everything feels like "blind techno-utopian optimism" because you're intentionally blinding yourself to progress and focusing entirely on the negatives.

I think this especially stands out with your example of "techno-elite fantasies of colonizing Mars" as somehow being exclusive from solving problems on Earth, despite both being fairly beneficial to each other.
no third party = shopify eats their lunch

Amazon's whole business is being the fulfillment for 3rd party sellers, you take away that you take away the whole reason people use it. If Amazon was just online 1st party Walmart they would sell almost nothing.
That's not quite right. They rotate. On any given night, one of them has to be in the building with their gear, and that's the EBUG for either team. 15-20 guys is just the length of the call list so they can make sure someone is actually there for the game.
If that's what they mean, how would that be any faster than what's going on right now? I thought normally when you hit a callable, the interpreter would just look up its name, check to see if it's a built-in, and then call the built-in if so... whereas in this case you'd still have to look up the name of the callable (is the idea to bypass this somehow? what do they do currently?), check to see if it's different than the built-in you'd expect from the name (i.e. if it's ever been reassigned to), then call that expected built-in if it's not... which seems like the same thing? At best it would seem to convert 1 indirect call to a direct call, which would be negligible for something like Python. Is the current implementation somehow much slower than I'm imagining? What am I missing?
Scary short is fine. 6 characters (case sensitive + 10 digits alone) = plenty of complexity if you are doing ANY type of intrusion detection.

Coupled with a Yubico and I feel pretty darn secure.

I don't re-use the password, because it doesn't rotate I can also remember it.
I used to make a few hundred bucks a month on good months participating in a real app called SURKUS. Went to a lot of weird places, including a Halloween party put on by a VR consortium. It sent me to someone’s actual house party at least once, but usually was a movie, or an event in the park, or music event and almost every week they’d have me order something off Amazon to review. They would pay via PayPal the value of the Amazon product plus $5-$20 for my time.
this ignores the harsh realities for life as a young person in the west.

Sure, they are not scrounging for food nor is there widespread famine but politics is increasingly polarised. There is a climate problem looming and the youngest will deal with it, western citizens or otherwise.

Economies are tanking, job markets are topsy turvy not to mention the real estate problem in a lot of western countries.

These problems, while not as dire as the problems faced by those in the developing world, are still problems. You cannot hand-wave this away by comparing one's lot in life to that of a person with no limbs. That is unfairly reductive.

The challenge, as you point out, is how to deal with this information and that is where i feel modern society has failed.
This is a net benefit over synced passwords, which everyone already trusts them to do. You haven't been forced to use a (syncing) password manager over a physical password book in the past, and you won't be forced to use Passkeys[0] or the Android equivalent in the future; hardware security keys will still be usable since this announcement is about embracing the FIDO Standard.

0: https://developer.apple.com/documentation/authenticationserv...
1942: no punchcards

1952: no integrated circuits

1962: no war

1972: no pollution

1982: no cellphone

1992: no internet

2002: no sub-quadratic multiplication algorithm

2012: no moore's law

2022: no transistors

2032: no water
There are movies that show violence against people in a way that hits and in a way that people react to. However, not in typical action/war/thriller story.

The context matters. The depictions of violence of people in media if typically very intentionally written in a way that does not make you feel too bad. The killed people rarely have personalities or matter. Modern media rarely kills characters that people had a chance to know or relate to. They are not cute and their deaths are sort of "clean".

The cute animals people are squeamish about are played up for cuteness, the owner is played up to be sad. It is all very intentionally made up to make you feel sad.
Why would I want this over something like mastodon.social or SDF's Mastodon? $7/month seems very steep for what amounts to the ability to have a custom domain and admin responsibility.
Sure. I do not argue that we should abolish the military and all defence industry. I _do_ argue that the military industrial complex is by and large profit driven and motivated by greed not the desire to protect its citizens. I do believe that anyone working for, for example, BAE systems is on average making the world a (much) worse place. I don't believe the individuals involved are necessarily morally bankrupt themselves.
Yep, a while back I got to use a Behringer X32 where you could control the volume faders remotely with an app on your phone and thought "Why don't all smart controls work that way?" Smart features, but you retain the advantages of physical, tactile controls.
I thought the attack Kyiv was a distraction the Russians planned to divert defenders way from Mariupol and the southeast.
It takes several days to drive across the US. You need a logistics network with warehouses spread across the country to service a meaningful portion of the country in 1-2 days.
Hello, author here. I did not plan to have a wide announcement today tbh. This is the repo: https://github.com/windmill-labs/windmill

I have my YC interview in 10 minutes and wanted to OSS it before. Agree it lacks a lot of polishing, but that will be done in about 2 weeks :)

JS/TS through Deno is coming in a week, I am currently working on a draft pull request for it.

Really happy to answer all the questions after my interview :)

(I host the demo on a small hetzner node, please be gentle to it, I will scale it up asap :))

PS: Since it's HN: The backend is all in Rust and the feature I am most proud of is automatic parameters and dependency inference for locking the dependency versions and generating the frontend of your app by analyzing the scripts using simple but surprisingly good heuristics :)
What car do you use to go to the supermarket? An F1 car? A truck? A sedan?

JavaScript is totally fine for serving thousands of reqs per second. In many cases the bottleneck will be third party APIs or the DB. The cost of running that will be negligible.

If you have hundreds of thousands (or millions) of reqs per second, then of course cost can become an important factor. But at that stage you probably have the resources to build whatever you want with the best possible language for the use case.
Well not completely as I see it. Yes functionality is limited, but I was able to execute multiple applications and multiple instances of them. I could also switch between then.

With Norton commander you could only spawn one process from NC. NC itself had quite a lot for built in tools (viewer, editor, comparison, 2 file panes).

So I’d call windows 1.0 more an OS in terms of process “management”, UI, etc. No hardware layer of course.
His dogs?
Not at all, because before anybody could take your account away from you if you did not accurately compare two visual strings, potentially in Unicode.

By replacing that operation, which humans can not perform reliably, with computer operations, users are no longer subject to others taking control of their account.

It is wonderful.
At least until the next case hits SCOTUS. With a far-right majority like that, anything is possible.
Tween-me would have been wondering what the adult showing me the film was thinking right around the time a grinning man suggested for the crowd "Ass to ass."
Faster-cpython is not the main topic here but certainly welcome since it's the most used python. They've done great things so far. Though I remember I heard the promise of 50% improvement in each of five separate steps :)
Yes it is silly. The article actually ends with some useful tips:

As a user, you can force allow zooming:

In Firefox find the settings, select “Accessibility” and activate “Zoom on all website”

In Chrome find the settings, select “Accessibility” and check “Force enable zoom”
It reminds me of a simpler version of Apache NiFi (https://nifi.apache.org/)
No. Sometimes it's good to disable zoom (e. g. in web apps that function as a big canvas, like Figma). Pages should use the feature correctly. People shouldn't have to fiddle with browser settings just because someone can't CSS properly.
Defaults matter. Always have. And if there's one thing everyone is guaranteed to lose as they age, it's eyesight.
It’s probably too expensive to divorce the two parts now
How about using one of the open hardware + open software security keys?
> Your average user is more concerned about losing their password than they are about authenticator sovereignty

Right up to the point when they’re locked out from their Google, iCloud or Facebook accounts with little recourse or appeal. And then they discover it’s not just Google, a whole host of other services don’t work.

And it does happen, and I for one don’t want to wait for legislation to mitigate this blatant attempt at yet more centralisation.

Better to not centralise in the first place.
It comes down to interpretation. Droping the word pride, the idea is that you can love yourself and be comfortable in the skin you are born with, and see value in your family culture and history.

We should teach this to all children and encourage them to feel this way.
We should not teach some children that they are inferior or carry the the guilt for crimes committed by others just because they share the same skin color.
Isn’t the meaning of meaning itself a trick question?
Ask HN: Depth Psychotherapy and Behavior Therapy
What is your experience with one or the other approach of therapy? Thoughts, observations, information, anecdotes?

---

In Germany, therapists are differentiated between 'depth psychotherapy' and 'behavior therapy' (there are more, but those are the most common ones). I don't know if that's a distinction made everywhere in the world, but here you go. If you wonder what the difference is - in my own words and simple terms:

depth psychotherapy: more of an analytical approach to find the underlying root cause and take care of it (bottom to top)

behavior therapy: improve your life by fighting the symptoms and let your restored mental health sink in and resolve the cause (top to bottom)

---

Disclaimer: I'm not asking about the 'better' way of doing therapy. The best way is the one that works for YOU. The decision about one of those approaches might not even be the critical point to make therapy work for you. Stay safe!
I build a somewhat similar app, DataStation [0], that is in JavaScript and Go. It supports scripting in Python, Julia, R, JavaScript, Ruby, etc.

The server version of it exists and I run it myself but that process is not documented yet. (Most people use it as a desktop app today.)

[0] https://github.com/multiprocessio/datastation
> Youth culture seems dead.

I feel this is very true, I'm still in my twenties.
When I was a little bit than ten, I remember that things like "teenage rebellion" and unbearable young people were still a thing.

I feel like a certain stereotype of the teenager of the 90's has completely disappeared.

Being a teenager a few decade ago was all the rage, even in self identification, I feel now people just go through 10 to 20 progressively, with maybe their set of problems but nothing as typical.... like I did.
In fact I think I just saw it died when arrived in this age.
> What happens if I do not have/want a cell phone?

WebAuthn works with hardware tokens, so something like a Yubikey will also work.
IMO If you dont have kids, you do not have the knowledge to comment on how to raise them.
No matter how many kids or families you have known or seen, having your own is a completely different world.
This is it I think. https://news.ycombinator.com/item?id=31033758
Being a 3PL is a brutal business, that's true. Logistics is, for what it's worth, regardless of industry. Not sure if it is actually a race to the bottom, because costs are the same for every player, more or less, in the same region. And the region is defined by infrastructure, customer requirements and so on. Which leaves salaries, and there it is sometimes a race to the bottom. Amazon, funny enough, is paying their own warehouse workers above average so (at least in Germany last time I checked).

Amazon does have an advantage on small item (sortable in Amazon parlance). For larger items 3PL operations are actually pretty straight forward. Edit: or rather items you don't mind to ship as singles, one item per package.
I feel like this is an unintended consequence that the neurodivergent crowd overlooks.

Those most able to advocate for social justice towards (and de-medicalization of) autism are going to be the highest functioning and most socially astute autistic people. The most ‘privileged’ and able to lead comfortable lives.

Making the medical model of autism taboo is going to really negatively impact parents of the severely autistic kids who need constant supervision and access to medical professionals who take the condition seriously.
How large are the diagrams you’re trying to create?
Apple, Google, and Microsoft commit to expanded support for FIDO standard
Without your personal context, recommendations are difficult. If you like science fiction, check out "Stories of your Life" by Ted Chang; if you like historical strategies for success, check out "The 48 Laws of Power" by Robert Greene; if you like grand philosophical views of an entire life well lived and how to have one "The Glass Bead Game" by Hesse; if you're interested in extremely practical advice in how to be successful today read (believe it or not) Harvard Business Review - it is far more down to earth than should be possible. If you like cynical SciFi, read Philip K Dick's Valis trilogy - it's a failed 2nd coming of god, wreaked by modern brand marketing.
> some get lucky and get tapped into undeground water and immediately gets low resistance.

You need to be careful about this. In many places the depth of the water table varies a lot depending on the season of the year.

Generally it sounds like your electrician was correctly following a well designed code of practice.

Regarding what the other electrician said, for current to flow there needs to be a potential difference and a circuit. In this case your house (roof, frame, etc) is very well connected to the ground it sits on. If it's a long way from your house to the transformer, with exposed overhead power lines, there could be a potential difference with those.

This is where the "level 2" (building entry point) protection mentioned by another commenter comes in. It used to involve fuse(s), heavy duty spark gap(s) and heavy duty varistor(s). I don't know about these days, but I wouldn't trust anything with active control to continue to protect after a lighting strike. Or during it.