Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pnt12
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
pnt12
1y ago
I switched to ruff for the great linting. When they introduced a formatter, I gave it a try and: - got similar results - but runs faster - I could delete one dev dependency Given black's motto (any color as long as it's black), no
92.
▲
by
pnt12
1y ago
Those would be all articles posted in HN :)
93.
▲
by
pnt12
1y ago
Nowadays that's actually Switzerland (at least I hear great things about Zurich, except the cost of living).
94.
▲
by
pnt12
1y ago
But those are technicalities. I imagine the intended feature is learning about who read some information, and who modified it. The implementation varies, but on a CRUD app it seems easy: an authenticated GET or PUT request against a file pa
95.
▲
by
pnt12
1y ago
I'm not a hater, but also not the biggest fan of bash. What do you consider its pros and cons? Pros: easy to interact with different tools, included in many Unix OSs, battle tested. Cons: complex stuff gets messy, with weird syntax, ha
96.
▲
by
pnt12
1y ago
It sounds different to me - a regular git submodule would keep all history, unlike a file storage with occasional snapshotting.
97.
▲
by
pnt12
1y ago
OK turns out it was not a summary, just a preview paragraph that mixed headers and text from the original, leading to strange casing and reading. I'd suggest not to include headers there or distinguish them! Example (had to search on k
98.
▲
by
pnt12
1y ago
Also when going back the page, I don't see that post anymore - it was featured in random blogs, so I lost it. It's a cool idea, but maybe a improvement could be to select a random handful per day, and let them stay there for a wh
99.
▲
by
pnt12
1y ago
I was surprised that I started reading one blog on your site, and it was badly written. Only afterwards below the text, did I notice it was a summary! I'd advise to put it at the top, before the text, to let people know beforehand an
100.
▲
by
pnt12
1y ago
(sorry for the bad Matrix analogy)
101.
▲
by
pnt12
1y ago
To me, it's the opposite. In Python, every time I see 'requirements.txt' without lock files, I cry a bit. A: You're handling problem X and then unrelated problem Y suddenly arises because you're not locking package
102.
▲
by
pnt12
1y ago
This is baffling. Those files are the most important information the car contains after an accident. Let's not be naive, or deceptive, about a malpractice from a multi billion company owned by a multi billionaire.
103.
▲
Tools to setup great Python projects (2025 update)
(github.com)
3 points
by
pnt12
1y ago
|
1 comments
104.
▲
by
pnt12
1y ago
A guide to using uv, ruff, reorder-python-imports and pytest to manage packages, formatting, static analysis and testing - all under a centralized configuration that is easy to re-use across CI/CDs, CLIs, IDEs and scripts.
105.
▲
by
pnt12
1y ago
Well, the money doesn't appear with magic, so someone is paying: the government (forfeiting taxes) or the consumer (more pressure to tip). To me, the bad part is the tax reductions only appear in behavior I don't agree with: high
106.
▲
by
pnt12
1y ago
"It’s worrying how much research seems to operate from the premise that they do." They are testing an hypothesis, we don't know if they're optimistic or pessimistic about it. Is it even relevant? They have studied that L
107.
▲
by
pnt12
1y ago
Cool! 27 here! And I thought of myself as a connoisseur!
108.
▲
by
pnt12
1y ago
On YouTube, I follow: - Steve the bartender - How to drink - Cocktail time with Kevin Koz - The educated barfly - Anders Erickson Good recipes, sometimes adding new things, but usually tasteful. But maybe they're better to search for t
109.
▲
by
pnt12
1y ago
A decent bartender will measure the drinks regardless of ice. I've been doing them at home and a generous amount of ice leads to better results, especially if you like ice cold drinks!
110.
▲
by
pnt12
1y ago
I did some work in this area, concerning data pipelines, and it was a fun experience. It's really satisfying to optimize (or any kind of refactor) on well tested code. Change the code, run the test, fix if it fails, keep it if it passe
111.
▲
by
pnt12
1y ago
A quick summary that does it for me: a log is something you read, a metric is something you measure. Usecases: Log: search, get context, read Metric: measure, plot dashboards, define alerts My theory for the concepts being so mixed up toget
112.
▲
by
pnt12
1y ago
Kubernetes is really complex but I'm surprised by this - for a simple setup, I think those 2 resources are not that difficult. I'd describe a really simple setup as this: Pod: you put 1 container inside 1 pod - you can basically r
113.
▲
by
pnt12
2y ago
Some software gurus really grind my gears, and Robert Martin is one of them. When confronted with bad advice he gave, he's quick to say it's not meant to be taken literally. Then, gurus like Kent Beck, say that you cannot criticiz
114.
▲
by
pnt12
2y ago
The GPU main advantage is its parallelism - thousands of cores compared handful of cores in CPUs. If you're training models with billions of parameters, you're still gonna need that.
115.
▲
by
pnt12
2y ago
Some counterpoints: > when work is done, I leave, and it's done. My experience from WFO is worse: task may be done earlier, but feels wrong to leave earlier, and colleagues may not take it badly. >not using my resources (electric
116.
▲
by
pnt12
2y ago
Wow - that is the fastest loading site I've seen!
117.
▲
by
pnt12
2y ago
The story about pc stores is way off. First there was steam, and for many years it was the only store. Many launchers came to be, with half assed community features. They didn't want a thriving marketplace, they wanted a piece of the p
118.
▲
by
pnt12
2y ago
Their vision, which I disagree with, of customer choice, is that its store is an alternative to Steam. Probably they justify their exclusives by not being a monopoly, which gets weird: steam has the monopoly numbers, but epic has the monopo
119.
▲
by
pnt12
2y ago
> If it's so good, why haven't all C libraries adopted the same tricks? A man and a statiscian are walking down the street when they see a 50€ bill. The statistician keeps walking but the man stops and says "hey, look at t
120.
▲
by
pnt12
2y ago
Can you elaborate on what's TOAST/DETOAST?
More ›