HNHacker News
TopNewBestAskShowJobs

safetytrick

103 karma · joined June 18, 2008

submissionscomments
safetytrick··on The bottleneck was never the code
Being a junior engineer was a good time!
safetytrick··on Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
Yes, this mattered when 6 character passwords were common.
safetytrick··on AI made coding more enjoyable
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.

safetytrick··on The Timmy Trap
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.

safetytrick··on PYX: The next step in Python packaging
Python packaging is the least zen of python thing about python.
safetytrick··on Figma files for proposed IPO
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.

safetytrick··on Against Best Practices
Quoted: "Likewise, you can repeat yourself but classes only have a single (duplicated, but subtly different) responsibility."
safetytrick··on Against Best Practices
I'm proud of my little joke on dogmas: "The only dogma I believe is that all dogmas are wrong".
safetytrick··on Against Best Practices
I like to phrase this kind of thought as: "The only dogma I believe, is that all dogmas are wrong".
safetytrick··on Developer tool 'diff' is 40 years old: can it be improved?
vim is late 1991, vi was 1976, sublime text was 2008. Just seems like garbage writing (very easily could be LLM).
safetytrick··on How I Use "AI"
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.
safetytrick··on Superfile – A fancy, pretty terminal file manager
With a dependency on a font. Wow, it's been a while since I've seen that.
safetytrick··on BYD launches $15,000 EV
I think they are talking kilometers
safetytrick··on SQLite 3.45 released with JSONB support
I forget that this has been a very popular strategy for a long time with more traditional databases.
safetytrick··on SQLite 3.45 released with JSONB support
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).

safetytrick··on Chesterton's Fence: A lesson in second order thinking (2021)
It's okay to erect a fence that is less than ideal but please explain yourself.
safetytrick··on Chesterton's Fence: A lesson in second order thinking (2021)
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.

safetytrick··on Microservices aren't the problem. Incompetent people are
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.

safetytrick··on Why companies still want in-house data centres
Some services just don't stop at night. Healthcare has trends but it never stops.
safetytrick··on Why companies still want in-house data centres
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.

safetytrick··on Show HN: Backname.io – every IP address gets its own domain
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).
safetytrick··on Kafka as an Antipattern
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.
safetytrick··on You Don't Need UUID
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.
safetytrick··on You Don't Need UUID
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.
safetytrick··on Be sceptical of your own work (2009)
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.

safetytrick··on Asus Zenfone 10
Why is this interesting here?
safetytrick··on Is it my fault if you can't handle the truth? (2019)
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.

safetytrick··on How to use weekends for mental health
How to write platitudes for clicks.
safetytrick··on Minecraft as a Kubernetes admin tool
This would be a really fun way to implement a "chaos monkey".
safetytrick··on Ask HN: What are some “10x” software product innovations you have experienced?
To me, the value proposition is still tabs. I have hundreds open at a time. Once or twice a month I will cleanup hundreds of windows and tabs. I've created habits to open up most everything in new tabs and new "projects" in new windows.

I think I do this as a self-remedy for my ADHD, I am likely to allow an interruption to disrupt me but I do need to close the loop on whatever I was working on before an interruption. A window or set of open tabs is enough of a reminder to help me close the loop.

Page 1 of 4Next →