fathomdeez
Re:
on Friday July 11, 2025 @12:17AM (#44528346)
I don't think of those as business logic, per se. They're just validity checks on what the data should look like before it's written to disk - they're not actionable in the way L/N is. That being said, constraints usually end up being duplicated outside the db anyway, but having them where the data rests (so you don't have to assume every client is using the correct constraint code) makes sense.
Re:
on Thursday July 10, 2025 @11:47PM (#44528216)
This kind of issue always comes up when people put business logic inside the database. Databases are for data. The data goes in and the data goes out, but the data does not get to decide what happens next based on itself. That's what application code is for.
Re:The Death of Partying in the USA
on Thursday July 10, 2025 @03:02PM (#44524338)
I go through this with my wife for every party we throw. She wants the house cleaned, table set, food spread ready, seasonal cocktails mixed, furniture moved around, decorations just so, etc.
I’m like here’s a giant thing of ice cold booze have fun.
Re:Hugging Face just launched a $299 robot that could disrupt the robo...
on Wednesday July 09, 2025 @11:13AM (#44511029)
The conglomerate of Big Furby™ will finally be taken down
Re:Cloudflare: We Will Get Google to Provide a Way to Block AI Overviews
on Tuesday July 08, 2025 @12:25PM (#44501545)
It doesn't seem like the extra traffic is the issue. People don't want Google's AI from reading and summarizing their data and thus preventing clickthroughs. Why would I click on your site if google did all the work of giving me the answer ahead of time?
Re:Ask HN: Who is hiring? (July 2025)
on Saturday July 05, 2025 @10:03PM (#44477178)
You’d be wise to avoid this place anyway. You can tell from the description it’s not a fun place to work.
Re:Negative Two-Thousand Lines of Code
on Thursday June 26, 2025 @03:36PM (#44390529)
I see. I was wondering where the hammer and sickle came in, since without those is it really a communist flag?
Re:Better Auth, a TypeScript authentication library, raises $5M from P...
on Thursday June 26, 2025 @01:32AM (#44384451)
On the flip side I was at a startup using auth0, because as you said, not a core part of the business right? Until the traction hit and they had hundreds of thousands of users. Suddenly the auth bill became untenable - users are great but there wasn’t enough revenue to cover these costs. Auth0 didn’t budge. In fact they were outright nasty to deal with. They were holding our user logins and passwords hostage and they knew it.
Re:Negative Two-Thousand Lines of Code
on Wednesday June 25, 2025 @10:32PM (#44383738)
I'm having a lot of trouble visualizing both the flag and the list modifications.
Re:Negative Two-Thousand Lines of Code
on Wednesday June 25, 2025 @10:26PM (#44383709)
I am net negative in lines of code added to two different companies I've worked for. I wear that proudly.
Re:Better Auth, a TypeScript authentication library, raises $5M from P...
on Wednesday June 25, 2025 @10:01PM (#44383587)
I also ran into this trying to upgrade my company's auth strategy. The hardest part of auth is convincing people that... it's not actually as hard or dangerous as they think it is. It was an uphill and ultimately unsuccessful battle of mine. People can't even divorce JWTs as simple, verifiable json data blobs from the entirety of the OAuth2 spec. You see it on HN, with hundreds of circular comment threads and I've seen it in real life.
Re:Quebec provides universal childcare for less than $7 a day
on Tuesday June 24, 2025 @08:49PM (#44372642)
Did you go to high school, bn-l?
Re:Amazon Tells Employees to Relocate or Resign
on Tuesday June 24, 2025 @02:25PM (#44369188)
Why do these companies keep trying to fire remote employees? Is it so hard to let them keep working from home? Is the company's real estate portfolio that important? You could probably even pay remote workers less (or give non-remote employees a "bonus" for coming in) and everyone would still be happy.