News for hackers. Stuff that matters.

erlich

Re:Authorization Terminology Is a Mess: Let's Fix It on Friday September 04, 2026 @06:13AM (#49562629)
What is missing is a graph of all the data and its relationships. Then its just a matter of grouping things together appropriately for humans to understand.

It's funny how a graph underlies absolutely everything but no one seems to use them.

Re:Reverse Engineering My ADHD Test on Thursday September 03, 2026 @03:29AM (#49546963)
> I do appreciate this conversation

Me too :)

I like discussions like these because its always an opportunity to absorb more information.

Re:Reverse Engineering My ADHD Test on Wednesday September 02, 2026 @03:12PM (#49540980)
We are just talking past each other now.

> not how most psychiatric conditions are diagnosed

Psychiatry as a whole is questionable. https://en.wikipedia.org/wiki/Psychiatry#Controversy_and_cri...

Read about the history of the DSM regarding ADHD. You can look at all the versions/volumes and how and why it evolved over time. Ask yourself if you think it is actually good science.

Re:Reverse Engineering My ADHD Test on Wednesday September 02, 2026 @05:22AM (#49533828)
Why should 6 symptoms constitute ADHD while 5 don't?

The person with only 5 doesn't have it?

This is not science.

Change the diagnostic criteria to a blood test or brain scan and then we are in the realm of proper science. But until then the burden of proof should be on the ADHD community not on those trying to dispute it. It's like having to use proper science to disprove something that is not conclusively proved in science.

It's fine to publish all this science and evidence, but it all comes back to the diagnostic criteria which is so wishy washy. The diagnostic criteria has evolved from a completely arbitrary definition. There is no reason the DSM stuff should be used at all, and trying to find science to support a diagnostic criteria that was arbitrary to begin with is silly.

That's why, after all this, the main point I make is that the boundary between ADHD and non-ADHD is arbitrary and will always be and its more about having a disorder to point to to be able to prescribe stimulants to "people it would help".

Mark my words: there will never be a biomarker or test used to diagnose this condition because it would only reduce the number of people who can access treatment.

It's an elaborate exercise on how to be allowed to use a scheduled medication as treatment. If the government didn't ban drugs then all this ADHD diagnosis stuff wouldn't exist at all. It would be the reverse exercise: which people should not be allowed it because they abuse it and it negatively impacts them.

Re:Reverse Engineering My ADHD Test on Tuesday September 01, 2026 @05:47PM (#49528702)
Everything I have said is explained with citations here: https://pmc.ncbi.nlm.nih.gov/articles/PMC9189308/
Re:Reverse Engineering My ADHD Test on Tuesday September 01, 2026 @10:53AM (#49522778)
Amphetamine used to be legal.

As an example, President JFK received regular injections containing high doses of amphetamines from his personal physician.

Then the risk of abuse and side-effects in the population were observed and it was banned.

Did JFK have ADHD? No, it just helped him with energy levels. Like it would anyone.

There are no conclusive bio-markers for ADHD. Therefore its not possible to say who doesn't have it and should not get stimulant medication.

The only commonality is that there is an impairment. It's not possible to say: this person has difficulty focusing and has ADHD but this person has difficulty focusing but doesn't have ADHD.

The board of psychiatrists who decide what symptoms constitute it just essentially make it up.

The only thing that is real and measurable is the level of impairment to someone's life.

Stimulant medications works, but it would work for anyone regardless of an ADHD cause. ADHD is like a catch-all for people who can't focus that doesn't match any other condition that could be resolved differently.

Stimulant medication definitely carries risks and health impacts. This is black and white.

Re:Reverse Engineering My ADHD Test on Tuesday September 01, 2026 @09:37AM (#49521869)
People are way too happy when they find out that the treatment is taking speed every day for their whole life, as if this isn't going to take its toll on the body and that the brain is not going to adapt to this.
Re:Reverse Engineering My ADHD Test on Tuesday September 01, 2026 @06:17AM (#49520054)
The biggest risk for ADHD treatment is that most diagnosed people are told: "you brain doesn't make enough dopamine" which makes it feel safe for you and why they say non-ADHD people cannot take it.

But for your specific brain it does make enough and it will fight to maintain that via homeostasis (usually by creating more dopamine vacuums/re-uptakes that stick around a long time...there is good science on this).

So you become dependent on the medication and tolerance can occur making your situation worse than it was in the end.

ADHD-as-a-diagnosis is just a clever way to make the government okay with prescribing stimulant medication to "people who it can help" and having someone safely monitor its usage, and to assure the government that we won't end up with too large of percentage of the population taking it.

Re:Reverse Engineering My ADHD Test on Tuesday September 01, 2026 @05:31AM (#49519818)
ChatGPT's take was that 10 ADHD people/animals would go exploring and if one produced a new source of food then it would be advantageous for the group, but the other 9 could fail and be completely useless. A bit like venture capital funds haha.

So there is still room for complete failure in life, and maybe its a lot of luck/environment that some ADHD people succeed naturally.

Re:That's a Lot of YAML on Friday August 28, 2026 @05:12AM (#49476214)
I actually like the SQL example.
Re:How Europe is killing makers and micro-entrepreneurs on Tuesday August 25, 2026 @08:35AM (#49432911)
Australia has 28M people and isn't part of any supranational union. Same with many other countries.

Why are Europeans so obsessed with this integration?

Re:Bun 1.4 on Thursday August 20, 2026 @10:58AM (#49375581)
> "whatever Jarred feels like should be in there"

This is the main draw. Everything he implemented was fast and minimalist and he usually implements a standardized api (web apis, esbuild bundler api).

The opinionated stuff is usually very common sense.

Most of the libraries OC mentions are things you would just like to be as fast as possible above all else.

Re:PostgreSQL for Everything on Wednesday August 19, 2026 @10:24AM (#49362067)
It's more "what one tool can do everything", not that its ideal. Like why people use Microsoft Teams even though its terrible.

The relational model and sql force us to simplify our data models too much by eliminating relationships or just not dealing with them.

Think about a nested json blob from some web service api and storing it in SQL in normalized tables. No one is going to do that. Everything just becomes a denormalized mess and everything is hacked around it.

Instead of modeling things in the proper way, most of the world's data is modeled in a way so that we don't have join explosions in sql queries because they look scary. Data pipelines become these scary batch transformations where data is dumped somewhere else without anyway to trace back where it came from.

I encounter so many end-user applications and systems where you wonder: "why couldn't they allow a list of items here instead of a single box" or "why can't this reference this other thing".

Re:Why I don't discuss politics with friends on Thursday April 03, 2025 @04:56PM (#43575302)
Political discussions for me are like programming. I enjoy them because I like finding bugs in people's logic like I do in programming.

I find a lot of people's political arguments wouldn't compile because of basic logic errors, and I try to point this out. But not many people are interested in this kind of analysis, they instead prefer the tribalist point-scoring like the OP mentions.

I dream of a world where political debates can be syntax-checked. I'm sure you could do it with AI today.

But in the end its all about feelings.

I can't describe how many times I will just go along with someone's passionate ranting on something I disagree with and egg them along because its makes them happy. This is tribalism. I will disagree with the group, and if you saw me you'd think I was the strongest supporter, but I actually vehemently disagree with everything.

There are very few people it's worth having a real discussion with these days.

I don't change my opinion of people for what they think, but it's very rare to find people who reciprocate this.

Re:Why I don't discuss politics with friends on Thursday April 03, 2025 @04:25PM (#43574933)
> to realize fundamentally different visions of the world, based on fundamentally different values

I think your use of the word "world" is telling.

Trump, the Republicans, and the global right are focused on their citizens.

The Democrats and the global left are more focused on the world and their role in it.

It's no longer just two approaches on how we can have the strongest economy. Each party has a weighting for how much to consider every issue across the world.

For example, there are people who would be happy with less growth, lower income, but more action on climate change.

Ask HN: How is the Spotify app so bad?

The library tree view is so terrible.- You cannot shift+click select to easily add playlists into a folder.- Any podcasts you follow cannot be moved into folders to tidy things up. They just clutter the sidebar.- You have to click on a tiny arrow to expand a folder. Clicking on the folder navigates inside the folder.The fact that podcasts are in the same Spotify mega-app is terrible too. And...

( Read More... | 81 comments | 10 points | on HN )
Re:Ask HN: Is Lisp Simple? on Tuesday August 22, 2023 @05:58AM (#37220599)
Thanks! Lisp is so damn cool.
Re:Ask HN: Is Lisp Simple? on Monday August 21, 2023 @01:23PM (#37212598)
So are these "specials" being parsed by a grammar?

Would be interesting to see how the interpreter works actually...

I would guess it checks what `defun` is, which is a macro...then expands it, and the expansion should ultimately result in an s-expression, which is then parses? Is this right?

Re:Ask HN: Is Lisp Simple? on Monday August 21, 2023 @01:12PM (#37212426)
CLOS looks really interesting. So many good ideas. A lot that I have been thinking about for a while.

https://lispcookbook.github.io/cl-cookbook/clos.html:

> arguably one of the most powerful object systems available in any language.

https://en.wikipedia.org/wiki/Common_Lisp_Object_System:

> Another unusual feature is that methods do not "belong" to classes; classes do not provide a namespace for generic functions or methods. Methods are defined separately from classes, and they have no special access (e.g. "this", "self", or "protected") to class slots.

Love this.

And the multiple dispatch.

> :before, :after, and :around

Guess these are similar to aspect-oriented programming. Maybe useful for plugin systems.

> change-class

This looks pretty cool for GUI apps. So many times you want to change a component to something else.

Ask HN: Is Lisp Simple?

I thought Lisp was suppose to be simple in that: it's all just lists.I thought everything would just be s-expressions, and be consistent, so it would be easy to read to figure out what is going on.But it seems like there are so many special constructs and macros, that make it hard to read. And behind the scenes of these macros it gets really complicated. Whereas in other languages its readable...

( Read More... | 17 comments | 3 points | on HN )
Re:This Can't Go On on Sunday August 20, 2023 @05:11PM (#37202963)
There's always gonna be space when you jack into Zuck's metaverse.

Ask HN: Where to discuss programming and software architecture?

I find it really useful to learn about programming by discussing code examples.There is a ton of code out there, and also blog posts, but I find it especially motivating if there is someone to discuss/debate with.Sometimes there are great discussions on HN about such things when the right article surfaces.What are the best places for this?

( Read More... | no comments | on HN )
Re:Water on Monday August 07, 2023 @03:15AM (#37031273)
When people talk about us living in a simulation...you have to wonder if they have ever tried to simulate real liquids (e.g. computation fluid dynamics).

Computer graphics in films gives people an unrealistic expectation of what we can do. I would think a lot of people look at this CGI and then think such things are possible in real-time gaming/simulation.

This furthers my point. They even got an exclusive and still run Trump stuff.
I love how the nytimes front page is just all Trump and political crap. Literally not a word about this, and if it's real, its like the biggest thing ever.
> guessing your current state & figuring out the next one

I look at React from a Backbone lens. In Backbone, you had view with a model that managed a dom element tree. You could render whenever you wanted and exactly when needed.

> functional components...reducing development complications

Hooks and the like just feel like an entirely different programming language. It's impossible to trace what is actually going on. Yet, everyone ends up having to learn all the nuances and rules and know somewhat how they are working under the hood, and then also contort their code to work with hooks too.

React and these big frameworks draw people in because under the hood they are so damn complex that people feel like they could never write something like this themselves. But they don't realize that the code they actually need is extremely simple and something they can easily step-through with their debugger.

> we got directed data flow

We kind of didn't need it though. Think about your SQL database backend. It's a big ball of mutable state, and people get by fine with it. If I have an object, and just listen to changes to it, and re-render, its much easier than having some complicated event-sourcing thing going on.

So much of React's design is chasing this functional-programming purity kind of thing. Contrived examples can be made to look super elegant and clean, but then there are all these edge cases and the realities of interop with a big ball of DOM state. Instead of chasing these kind of concepts, the goal should rather be day-to-day developer experience. Which mostly involves debugging and tracing through code.

> Flow

Ocaml was a terrible choice. Things moved so slowly. No one could contribute. There were just so many usability issues and waiting for things to compile. Just an excuse to use shiny tech. And oh boy did they tell you often about how Ocaml was a great choice for such a project.

...

The peeve I have is the distortion of the ecosystem. For many years to come, no one can stray too far for React to innovate because of the familiarity and risk. Look at projects like Solid, Qwik, etc. It's not Meta's fault but more the community hype machine.

Tell HN: Unpopular opinion: All Meta's open source front end stuff sucks

I was just thinking the other day how everything Meta has put out on the frontend, I felt compelled to use it because of the hype. But I've ended up being frustrated by almost all of it.It really feels like Meta has led us on a shitty frontend path for the past 5+ years that we need to leave behind.- Flow- Jest- Metro- React- React Native- GraphQL- Flux/ReduxEverything they do is just so overly...

( Read More... | 15 comments | on HN )

Older »