News for hackers. Stuff that matters.

safetytrick

Re:The bottleneck was never the code on Wednesday May 06, 2026 @08:37PM (#48043950)
Being a junior engineer was a good time!
Re:Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords on Saturday March 21, 2026 @03:55PM (#47470662)
Yes, this mattered when 6 character passwords were common.
Re:AI made coding more enjoyable on Thursday February 19, 2026 @01:02PM (#47076840)
It's actually been useful for me to explain certain best practices now that I can show that the LLM cares.

Why is this name bad? Because an llm will get confused by it and di the wrong thing half the time.

Re:The Timmy Trap on Friday August 15, 2025 @12:38PM (#44914512)
Yes, I agree, we seem to need to feel "special".

Language is really powerful, I think it's a huge part of our intelligence.

The interesting part of the article to me is the focus on fluency. I have not seen anything that LLMs do well that isn't related to powerful utilization of fluency.

Re:PYX: The next step in Python packaging on Wednesday August 13, 2025 @08:27PM (#44895477)
Python packaging is the least zen of python thing about python.
I don't think changeable code is the number one priority. The goal is to solve a problem and code that solves a problem without needing to change is sufficient.

Code that doesn't need to change is a really good sign that you've got something good.

Re:Against Best Practices on Monday November 18, 2024 @06:06PM (#42178144)
Quoted: "Likewise, you can repeat yourself but classes only have a single (duplicated, but subtly different) responsibility."
Re:Against Best Practices on Monday November 18, 2024 @05:45PM (#42177925)
I'm proud of my little joke on dogmas: "The only dogma I believe is that all dogmas are wrong".
Re:Against Best Practices on Monday November 18, 2024 @05:42PM (#42177901)
I like to phrase this kind of thought as: "The only dogma I believe, is that all dogmas are wrong".
vim is late 1991, vi was 1976, sublime text was 2008. Just seems like garbage writing (very easily could be LLM).
Re:How I Use AI (Nicholas Carlini) on Sunday August 04, 2024 @08:41PM (#41157299)
In the article the author mentions wanting to benchmark a GPU and using ChatGPT to write CUDA. Benchmarks are easy to mess up and to interpret incorrectly without understanding. I see this as an example where a subtly-wrong idea could cause cascading problems.
Re:Superfile – A fancy, pretty terminal file manager on Friday May 10, 2024 @12:55PM (#40321187)
With a dependency on a font. Wow, it's been a while since I've seen that.
I think they are talking kilometers
Re:SQLite 3.45 released with JSONB support on Tuesday January 16, 2024 @05:24PM (#39020002)
I forget that this has been a very popular strategy for a long time with more traditional databases.
Re:SQLite 3.45 released with JSONB support on Monday January 15, 2024 @06:10PM (#39007295)
Who is doing this and where can I read more? What are the tradeoffs?

I imagine that you get a a dataset that is significantly smaller but it is much trickier to keep a dataset in memory the way you could with MySQL.

It's like having a free implicit index on the customer (because you had to lookup the sqlite db file before you could start querying).

I spend a lot of time thinking about tenancy and how to handle it. Tenancy is such a common problem.

Performance is the number one reason tickets are hard to estimate. The second in my experience is security.

Time and tenancy are the number one opportunities for SQL to just be better (I always need tenancy and my Order By or at least one constraint can typically be satisfied with time).

Re:Chesterton's Fence: A Lesson in Second Order Thinking on Saturday December 16, 2023 @04:12PM (#38667719)
It's okay to erect a fence that is less than ideal but please explain yourself.
Re:Chesterton's Fence: A Lesson in Second Order Thinking on Saturday December 16, 2023 @04:09PM (#38667694)
Whenever I am in that expedient hack mode I've started commenting to explain my dilemma. My most valuable comments typically come out at that time.

Such and such can't be done right now because of such and such.

Often it doesn't matter if I ever resolve those comments or solve that problem I hacked through. The value comes from avoiding the rabbit hole next time.

Re:Microservices aren't the problem. Incompetent people are on Wednesday November 08, 2023 @05:21PM (#38197991)
An under-rated solution to this problem is saying No and having quality retrospectives.

Microservices adoption has largely become a cargo cult thing. It is a part of being cool like FAANG.

Instead of being cool, focus on solving your problems.

Re:Why companies still want in-house data centres on Saturday October 07, 2023 @07:02PM (#37806242)
Some services just don't stop at night. Healthcare has trends but it never stops.
Re:Why companies still want in-house data centres on Saturday October 07, 2023 @03:45PM (#37804917)
It just depends on the business, b2b can be very consistent. Some workloads just have predictable behavior.

I worked at a medium sized place where we had plans in place to handle the workload for our entire market on-prem (if we were ever to capture that market).

We realized that horizontal scalability wasn't important to us because we had enough of the market to know that the other half of the market could be supported on our existing solution.

Re:Show HN: Backname.io – every IP address gets its own domain on Thursday September 28, 2023 @10:10PM (#37698503)
I've been patiently watching for a nice way to plug in a local development DNS resolver (patiently waiting for someone to document and script the a few tiny patterns).
Re:Kafka as an Antipattern on Monday September 25, 2023 @11:20PM (#37653910)
I'm a big Avro fan, it isn't easy to be good at but if you follow its rules it is so much easier to evolve than plain json is.
Re:You Don't Need UUID on Monday September 11, 2023 @03:17PM (#37472311)
Random ids require random inserts and that is bad for performance. It isn't a deal-breaker in most situations but it is a real cost that you do pay.
Re:You Don't Need UUID on Monday September 11, 2023 @03:14PM (#37472271)
ulids are beautiful little ids without many of the drawbacks and risks of other id systems. They are sufficiently unique for most work (anywhere that you don't need to actually uniquely engineer your ids) and their built in ordering and slick encoding are just icing on the cake.
Re:Be sceptical of your own work (2009) on Wednesday August 16, 2023 @09:26PM (#37156020)
Sometimes I encounter those snippets and I still have a discrete memory of writing something that "I knew my future self will understand".

That is especially frustrating.

Re:Asus Zenfone 10 on Thursday June 29, 2023 @09:07PM (#36529216)
Why is this interesting here?
Re:Is it my fault if you can't handle the truth? on Friday April 07, 2023 @10:49AM (#35482121)
You can build a toxic environment out of kindness too. You do need to coach and mentor and guide people towards the truth (regardless of if you even have it).

I also just don't have time to make everyone's ignorance my problem. I wish I did, but I don't, I have a hard enough time dealing with my own ignorance. Sometimes all I can do is point out the problem.

Re:How to use weekends for mental health on Wednesday March 30, 2022 @10:06PM (#30863110)
How to write platitudes for clicks.
Re:Minecraft as a Kubernetes admin tool on Wednesday January 05, 2022 @10:01PM (#29818718)
This would be a really fun way to implement a "chaos monkey".

Older »