Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hamasho
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
hamasho
3y ago
My biggest problem with infinite scrolling in general is it clears scrolling state by browser back or page refresh. Sometimes there's no good result in the first page, or I want to keep searching for more investigation. When I find a s
152.
▲
by
hamasho
3y ago
Not 100% but it looks like using ~10% of single core on my macbook too (It's too much for a static landing page). Perhaps it's caused by the black Rubik's cube animation on canvas.
153.
▲
by
hamasho
4y ago
Probably it's not against shuhari. Shihari is often used to describe professional principles in martial arts or playing instruments. It assumes they're trained to the point where if they do it, they unconsciously follow all the ru
154.
▲
by
hamasho
4y ago
I think emojis are an objectively better communication tool. You can pack more emotion and nuances in emojis with much fewer characters. Yet I hate when I see them... Probably because I'm getting older and becoming less tolerant of you
155.
▲
by
hamasho
4y ago
Previous problems of human bias and corruption thus belong to the past I hope so too. But in many cases, machine learning based systems just amplify human bias, like ML based hiring systems. After all, it's been trained by us
156.
▲
by
hamasho
4y ago
(Probably) related discussion. Natural language is the lazy user interface (2 days ago) https://news.ycombinator.com/item?id=34549378 Chatbot is often a useless, unintuitive UX for solving problems. We already know how most
157.
▲
by
hamasho
4y ago
Sounds dumb, but I want JSON field schema validation. I added a JSON column for flexible data, and although I'm happy with its flexibility, I kinda hope I can validate the JSON data structure. Recently I just found an extension [1] and
158.
▲
by
hamasho
4y ago
Yeah, the boss didn't care about user's battery. From the article: I said to the manager, 'This can harm somebody,' and she said by harming a few we can help the greater masses. Any data scientist worth his or her
159.
▲
by
hamasho
4y ago
I love this, thanks! It would be nice if the heatmap showed addition, deletion, and possibly modification separately. I can't think of suitable visualization methods, but if I can see them individually, it gives more insights.
160.
▲
by
hamasho
4y ago
I'm already sure that this somehow slips into a dependency of a dependency of a dependency of React, and the world will end.
161.
▲
by
hamasho
4y ago
For anyone who wants a deeper understanding of the atmosphere, it's good to know that in the series B round, they raised $420.69m from 69 investors. https://blockworks.co/news/sam-bankman-frieds-ftx-raises-pre...
162.
▲
by
hamasho
4y ago
Thanks, I'll check them! Those self-improve materials don't always work for me, but sometimes I can find some good points that resonate with my lifestyle. I hope to find them in his videos.
163.
▲
by
hamasho
4y ago
I know low-quality sleep is the cause of a lot of diseases and bad daytime conditions, and still, it's difficult to have high-quality sleep. It takes a long time to fall asleep when I go to bed, and I'm so bored I can't stop
164.
▲
by
hamasho
4y ago
In C++ it's harder to shoot yourself in the foot, but when you do, you blow off your whole leg. Bjarne Stroustrup Is it though? I feel it's as easy to shoot my foot as to modify few lines of C++ code and get 200+ lines
165.
▲
by
hamasho
4y ago
I googled the original quotes because I didn't know what it means. Here are the full quotes: “People think focus means saying yes to the thing you've got to focus on. But that's not what it means at all. It means saying
166.
▲
by
hamasho
4y ago
Lovely article. For interactive reading about sound and music, I also recommend Ableton's "learning synth" site. It leverages web audio capabilities and provides exciting learning resources about how to create synth music. h
167.
▲
by
hamasho
4y ago
When I started creating a simple blog system as a newbie developer, I needed to design its category/tagging system. Then I was surprised by the lack of good resources on how to design such basic features. I just wanted to know several
168.
▲
by
hamasho
4y ago
One way to exploit this is to send the QR code through email or messaging app. When I open the email or see the message, the image may be downloaded, scan starts, and it makes requests which expose my information, including IP, without real
169.
▲
by
hamasho
4y ago
“Bitter chocolate tastes bad, therefore it must be good for you,” he said. “It’s like a religion.” This is exactly what I think too. If I read the fake article, I would easily fail his trap. Fast food tastes good, and it's bad
170.
▲
by
hamasho
4y ago
Looks nice and clean! Can it support static type checking like mypy? Not only type level like str, but the time format level like “hh:mm” and “n minutes” too. I hate when I misspell “3 minuts” and realize only after execute it. Much nice if
171.
▲
by
hamasho
4y ago
As a programmer, it's my precise job description to "engineer google search terms for information I need."
172.
▲
by
hamasho
4y ago
First time to hear "Prompt engineering" but I feel familiar with this term. It's my daily job to adjust google search queries to get the information I need, even though sometimes I don't know what I need.First time to he
173.
▲
by
hamasho
4y ago
I'm redesigning my project's architecture and like "Wow! This article is so timely!" It's exactly what I felt too.
174.
▲
by
hamasho
4y ago
Great project! I can imagine this helps me get used to new codebases. As others have already mentioned, it's better if it ranks important files like main.js higher than other util files. models.js and dataUtils.js can be imported from
175.
▲
by
hamasho
4y ago
Even though some languages allow to use UTF-8 characters in the source code, we don't use it other than commenting. But sometimes, it's really wired. If you work in a team with members who don't care about naming, you see som
176.
▲
by
hamasho
4y ago
No problem. It's almost Friday's 5 PM in Japan right now. It's time to stop working and go out for some beer.
177.
▲
by
hamasho
4y ago
I understand that some websites are poorly implemented and can't handle hundreds of requests. IANAL, but AFAIK whether it's a DOS attack or not partially depends on the scraper's intent. In this case, after volunteer engineer
178.
▲
by
hamasho
4y ago
Every time I hear news like this, I remember this local news in Japan [0]. An old bureaucratic company developed a system for a local library. It was very slow, so a user started scraping it and developed his own library system. A few weeks
179.
▲
by
hamasho
4y ago
> What you encountered sounds like a traditional lack of product management focus Yeah, you're right. I misunderstood a little that the YAGNI principle can apply to both programming and product management. It was not the devs implem
180.
▲
by
hamasho
4y ago
YAGNI is such a great principle. I can't emphasize this enough. I once inherited a messed-up codebase. The project started to solve the company's internal problem for the sales department, but they also wanted it as a complete Saa
More ›