Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klibertp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
151.
▲
by
klibertp
9mo ago
Make is a very good choice for storing common maintenance commands for a project. We use it at work for this. It started when we migrated to Docker more than a decade ago - before docker-compose was a thing, building and running a set of co
152.
▲
by
klibertp
9mo ago
Some people will answer without being asked. The most we will get out of that is that the word "saboteur" will get a more modern synonym (not sure what it will be, but the inventor of cheap EMP granades will have the biggest say i
153.
▲
by
klibertp
9mo ago
> I would say that you are very unlucky. > or in the context of very conservative societies in certain places (e.g. in multiple African and Asian countries). Also in a few European ones, I can personally assure you :) It's fortun
154.
▲
by
klibertp
9mo ago
I'm sorry. I assumed too much about you, and I'm a bit ashamed for sounding so patronizing in my previous post. You seem wiser than me, and you're definitely wiser than I was back when it happened: I tried to defend myself. T
155.
▲
by
klibertp
9mo ago
You're fortunate. Very fortunate. I've had friends - they really felt like friends at one point - tell me that they don't want to know me anymore when they learned I'm an atheist. One told me that "without God there
156.
▲
by
klibertp
10mo ago
> Why not? Time. CPython compiles in a few minutes on an underpowered laptop. I don't recall last time I compiled GCC, but I had to compile LLVM and Clang recently, and it took significantly longer than "a few minutes" on
157.
▲
by
klibertp
10mo ago
If a language has a well-designed collections library (think Smalltalk and derivatives, not C++'s STL), the difference between 1 and 0-based indexing is hard even to notice, much less lead to "less elegant" code. Between Stre
158.
▲
by
klibertp
10mo ago
It would be nice if the eventual AI overlord was called Borland...
159.
▲
by
klibertp
10mo ago
> I'd like to believe there is some correlation between proper punctuation and the quality of the answer. I'd love to believe that, but it's unrealistic in 2025, given all the correctly punctuated slop that brings negative
160.
▲
by
klibertp
10mo ago
Arainach: > Using proper language is how I think. logicprog: > because it's closer to how I think them — usually in something like the mental form of full sentences Yeah, I'm the same. However, I'm also very aware that
161.
▲
by
klibertp
10mo ago
Isn't it the other way around - people, especially when young, like to imagine themselves as someone special, so the media give them the perspective of the most special individuals they can find? Being a king, on its own, may not quali
162.
▲
by
klibertp
1y ago
Kagi uses Yandex to improve search results for relevant queries. That's all they do. As a company providing the service of web search, Kagi should do whatever it takes to improve search results. I imagine Yandex is the biggest and mo
163.
▲
by
klibertp
1y ago
They use the first element. Like, it's random enough, right? :) (I mean, it still works, but goes badly for lists already sorted in reverse, etc.)
164.
▲
by
klibertp
1y ago
As long as you still offer an easy way to highlight the button text. Triple-click (at least in FF on Linux) highlights paragraphs or other block-elements contents; it should be allowed on things where a single-click does navigation. This wo
165.
▲
by
klibertp
1y ago
Yeah, that's about it. Personally, I'm not sure I'd get this much out of the picture, but you can see the information is there. > surely it can't be just three iterations? To save others a search: you stop when the re
166.
▲
by
klibertp
1y ago
If I didn't know how quicksort works - and I had to learn, since for some reason in FP languages quicksort is typically next after "hello world" - I would struggle to make sense of the pictures, I think. However, it's ab
167.
▲
by
klibertp
1y ago
I think it's pretty clear that there are both kinds of power users: the ones who take pride in being able to learn whatever defaults there are, and the ones who take pride in being able to customize the defaults to their preference. I
168.
▲
by
klibertp
1y ago
> the same kind of approach you get from Lisp In what way? Lisp (Common Lisp) is the most stable and unchanging language out there. If you learned it anytime after the late 80s, you still know it, and will know it until the end of time.
169.
▲
by
klibertp
1y ago
> I noticed myself that really large HISTSIZE ...right, I totally forgot that. Yeah, my history file is 4.5MB, and $HISTSIZE is 1M. I even wrote a Scala app[1] some time ago to collect hist files from all my machines (I used many more th
170.
▲
by
klibertp
1y ago
It takes 3.5 seconds for a new login shell to open on my laptop, which has a decent CPU and a fast SSD. I do have quite a few lines of config, but no oh-my-zsh and almost no plugins. I have around 2k SLOC of ZSH config. Meanwhile, I have 22
171.
▲
by
klibertp
1y ago
You're right, as much as I'd like not to be aware of it. Indeed, the bar is very low. Whether heeding ChatGPT advice would be better or worse than no advice at all, I honestly cannot say. On the one hand, getting some advice would
172.
▲
by
klibertp
1y ago
No, the problem here is not being dead drunk and immobile; it's everything before that. Even if you drink strong alcohol, it's going to take a while before you're that intoxicated - in the meantime, you have enough time to vi
173.
▲
by
klibertp
1y ago
> You can't refuse to submit evidence to court, including things like encryption keys or things only stored in your head Out of curiosity, how does this work? If I claim I don't remember a particular password that I (provably
174.
▲
by
klibertp
1y ago
> I think sobriety is a reasonable condition of freedom for someone with psychiatric self-control issues, that have lead them to commit felonies in the past. Were he high on weed, maybe he'd not commit the felony in the first place.
175.
▲
by
klibertp
1y ago
If they mostly ask how to raise their children and follow the received advice... Then yeah, in some 20 years we'll see what kind of return we get. People raised on social media are one thing; people raised by (with the assistance of) C
176.
▲
by
klibertp
1y ago
Yes, but. OpenResty is a platform with multiple advantages. It's fast (Nginx), it's async via stackless coroutines (no function coloring), it's again fast (LuaJIT), it's relatively easy to deploy, it's feature-rich
177.
▲
by
klibertp
1y ago
What GP (probably) meant is that in Lisp you're supposed to write macros, and when you do, this "is simply not worse" than the dotted message sends: (-> params (op1 mod2) (op2 mod2)) params .op1(mod2) .op2(mo
178.
▲
by
klibertp
1y ago
I love it. I didn't know. It's going to take a while to make this a pervasive feature of most Erlang codebases, but it seems like a good feature to introduce. I know there are monad libraries using parse transforms and/or lis
179.
▲
by
klibertp
1y ago
There's an entire genre of games (immersive sims) that focus on experiencing the world with little to sometimes no skill required on the part of the player. The genre is diverse and incorporates elements of more gameplay-focused genres
180.
▲
by
klibertp
1y ago
> We obviously have smaller pre-merge tests as well. This. I feel like trying to segregate tests into "unit" and "integration" tests (among other kinds) did a lot of damage in terms of prevalent testing setups. Tests
More ›