Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hamasho
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
hamasho
11mo ago
Love `TOTALLY RIGHT` and `COMPLETELY WRONG` as boolean, but `TRUTH` and `FAKE NEWS` sounds better. Too much social media consumption makes me feel that "truth" or "fact" are kinda sarcastic. It also reminds me TrumpScrip
62.
▲
by
hamasho
11mo ago
> Zig for ( 0..9 ) |i| { } > C for (i = 0; i < 9; i++) { } I know an open interval [0..9) makes sense in many cases, but it's counterintuitive and I often forget whether it includes the last value or not. It'
63.
▲
by
hamasho
11mo ago
> Traditional search engines were built for humans. They rank URLs, assuming someone will click through and navigate to a page. The search engine's job ends at the link. The system optimizes for keywords searches, click-through
64.
▲
by
hamasho
11mo ago
I like data lakes and their SQL-like query languages. They feel like an advanced version of the "Everything is a file" philosophy. Under "Everything is a file", you can read or manipulate a wide variety of information vi
65.
▲
by
hamasho
11mo ago
> I'm fairly pro-market, but I agree with this. I think people should do what they want if they don't harm themselves or others. Is this still pro-market though? I have the same opinion and I often labeled as "anti
66.
▲
by
hamasho
11mo ago
Remind me this useful URL when boss says "we need carousel". https://shouldiuseacarousel.com/
67.
▲
by
hamasho
1y ago
I know how important code quality is. But I can't (or don't have energy to) convince junior engineers and sometimes project managers to submit good quality code instead of vibe-coded garbage anymore.
68.
▲
by
hamasho
1y ago
It's super hard to have good faith discussions on the internet for years now. When someone has different opinions, those opinions are associated with certain groups (liberals, conservatives, etc). And it's very easy to demonize ot
69.
▲
by
hamasho
1y ago
The problem with vibe coding is it demoralizes experienced software engineers. I'm developing a MVP with vibes and Claude Code and Codex output work in many cases for this relatively new project. But the quality of code is bad. There i
70.
▲
by
hamasho
1y ago
Funny how those three posts are in hacker news top 5 now. I guess today is the low level appreciation day. * The Linux Boot Process: From Power Button to Kernel * The Journey Before main() * How programs get run: ELF binaries (2015)
71.
▲
by
hamasho
1y ago
I wonder that's because a lot of news titles are clickbait. If they hallucinate the summary based on what the title may suggest, no wonder they misunderstand half of news articles.
72.
▲
by
hamasho
1y ago
I agree with the author. DSLs are often more reasonable, readable, and authentic than weirdly ported versions for general purpose languages. On the other hand, language servers checking type mismatches and providing suggestions are very use
73.
▲
by
hamasho
1y ago
Off topic, but because the article mentioned improper usage of DOM, I put down the UK government's design system/accessibility. It's well documented, and I hope all governments have the same standard. I guess they paid a huge
74.
▲
by
hamasho
1y ago
Reminds me this: https://www.reddit.com/r/funny/comments/9ljv3n/50_cent_in_ma...
75.
▲
by
hamasho
1y ago
With LLM and coding agent, it may be become possible to highlight core business logic, or other actually important information. Imagine reading 100 lines of Go function, and the core business logic is highlighted by blue, error handling is
76.
▲
by
hamasho
1y ago
The grid layout in spreadsheets works well for prototyping UI, but I also love there is no grid system in excalidraw. In other UI tool, I can't stop aligning every elements or it really bothers me. In excalidraw I can be satisfied with
77.
▲
by
hamasho
1y ago
Every time YouTube has problems, I'm like "why YouTube doesn't try hard to work properly on my Firefox with uBlock origin, sponsorblock, and dozen of conflicted plugins? Are they stupid?"
78.
▲
by
hamasho
1y ago
I also had a very hard time to annotate types in python few years ago. A lot of popular python libraries like pandas, SQLAlchemy, django, and requests, are so flexible it's almost impossible to infer types automatically without parsing
79.
▲
by
hamasho
1y ago
I wonder how many of the cancer and heart disease reports are just about famous people who happened to die from those causes, rather than educational or awareness articles.
80.
▲
by
hamasho
1y ago
"It wasn't my intention. i3 works well with the default config, except the keybindings for moving are jkl; instead of hjkl, but I customized it extensively. I'm not an 'apple enthusiast' (I used Arch on Macbook btw)
81.
▲
by
hamasho
1y ago
My theory is that as more people compete, the top candidates become those who are best at gaming the system rather than actually being the best. Someone has probably studied this. My only evidence is job applications for GAFAM and Tinder th
82.
▲
by
hamasho
1y ago
I used to be a heavy user of i3. It's very flexible and configurable, and you can do much more than just moving windows. But after I switched to Mac, I couldn't find a tiling window manager that was both feature-rich and stable. A
83.
▲
by
hamasho
2y ago
Honestly, I'm giving up hoping for even a fraction of deserved punishment too. It's hard to handle the emotional dissonance I feel repeatedly when I see injustice, so I've adjusted myself to expect minimal or no punishment an
84.
▲
by
hamasho
2y ago
I kinda feel Bitcoin hitting $100k does not mean its success. I think it proves to fail to become a currency as intended at first, and instead it becomes a gambling target and political tools for billionaires. That's far from the origi
85.
▲
by
hamasho
2y ago
I agree both are easy to say, but IMO ${new_thing}s fail like 80% of time and, even it succeeds, take much longer time to find its useful usages and it's much narrower than we expected at first. So I think it's better to have skep
86.
▲
by
hamasho
2y ago
Adam Neely created a 15-minute video about this issue. It's redundant but a fun watch. https://www.youtube.com/watch?v=-y3RGeaxksY
87.
▲
by
hamasho
2y ago
I wish there's a standard for short UUID, like `73WakrfVbNJBaAmhQtEeDv` or `bK7nP9xM`. I mean, it's not UUID cause it can be duplicated somewhere, I just want an ID standart combination of random and short enough to remember.
88.
▲
by
hamasho
2y ago
I bet in a few years the CEO of Apple will be replaced by someone who's only interested in short-term gains, and the stock price may increase even higher at a sharp rate for like a decade or two. Then it becomes like Boeing or Intel; e
89.
▲
by
hamasho
2y ago
I once had to implement an authentication feature for a Chrome extension through Cognito with Google Workspace accounts via OAuth2 or MS accounts via SAML as IdPs. That made me want to die. Just understanding what I want to do or have to do
90.
▲
by
hamasho
2y ago
Probably that data was used to train AI models too. I hope we establish a legal framework that prevents training models without proper permission, and the companies that have already trained their models will get fined and those models will
More ›