Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klibertp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
301.
▲
by
klibertp
2y ago
Then Netanyahu came and made both Iraq and Ukraine look almost sane. I suspect we're still not anywhere near the inflection point: it's going to get much worse before it starts to get better.
302.
▲
by
klibertp
2y ago
> Is this just fashion? Yes. Readability is a characteristic of the reader , not what is being read . This simple truth seems to be so hard for many people to internalize. My theory as to why is that most programmers never get exposed
303.
▲
by
klibertp
2y ago
You can't tell me something "can't reason" or "has no intelligence" without also telling me what reasoning or intelligence is. Or what you think it is. That's the technical detail that's missing. From
304.
▲
by
klibertp
2y ago
7 distinct points in the number of words that would suffice for 70 points... Anyway, it's just my opinion: to me, the length of the article was artificially increased to the point where it wasn't worth my time to read it. As such,
305.
▲
by
klibertp
2y ago
I read the article you linked. I feel like I wasted my time. The article has a single point it repeats over and over again: OpenAI (and "generative AI as a whole"/"transformer-based models") are too expensive to run
306.
▲
by
klibertp
2y ago
It, unfortunately, looks immune to zoom in a browser, for some reason.
307.
▲
by
klibertp
2y ago
To playing well with Python, this was on a front page some time ago: https://arxiv.org/abs/2308.15893 "The Janus System: Multi-paradigm Programming in Prolog and Python"
308.
▲
by
klibertp
2y ago
What's your definition of "convincing"? From what I understand about propaganda, you don't need any single article to be "convincing"; you just need to hammer your point long enough and frequently enough. Not t
309.
▲
by
klibertp
2y ago
> churns out a flood of blog posts about best practices? ...most of which are cargo-culting carbon-copies of "gurus" and "authorities" (and "Uncle Bob"). No critical thought in sight, but a lot of mental gym
310.
▲
by
klibertp
2y ago
Thanks! :) I hoped it'd be a Lisp or Smalltalk - great to hear I almost guessed right, though I never imagined an RDBMS to be in the mix :)
311.
▲
by
klibertp
2y ago
Yeah, if only it didn't run on a "first past the post" system...
312.
▲
by
klibertp
2y ago
> Is it just me? No, it's the same for everyone: unfamiliar things seem "wrong" until you internalize them. Try working in Elixir for half a year - you'll see that the syntax you now find verbose is that way for a bun
313.
▲
by
klibertp
2y ago
I assume you avoided identifying (or even hinting at) this "great technology" on purpose, but could you persuaded to divulge what it was?
314.
▲
by
klibertp
2y ago
Is it just me, my extensions, or are the controls broken in Firefox?
315.
▲
by
klibertp
2y ago
Try not to write code like this in statically, nominally typed languages (Java, Kotlin, C++, etc.). Without a good compile-time metaprogramming, you're bound to need code like this sooner rather than later [EDIT: you still should try t
316.
▲
by
klibertp
2y ago
One important characteristic of this `readline(const char*)` call is that it blocks. So, if you're trying to write a REPL for a language that uses green threads for concurrency - I'm looking at you, GNU Smalltalk - then DON'T
317.
▲
by
klibertp
2y ago
> In other words, you don't like Lua, because your favorite IDE doesn't properly support it? That's normal. Many - perhaps most - programmers lack appropriate mental tools to compare languages meaningfully. They instead us
318.
▲
by
klibertp
2y ago
Yes, you can control a namespace (in the form of a table, of course) in which a module you require executes. The global definitions are then placed in the table. You can implement copy-on-write using this namespace and a metatable, you can
319.
▲
by
klibertp
2y ago
> But they [regexes] also tend to be completely unreadable Regular expressions can be constructed using various syntaxes. Some are optimized for writing them out quickly, and some are not. Choose the latter when going to production, and
320.
▲
by
klibertp
2y ago
OMG, just yesterday I wrote a comment saying that I regret not learning K (I instead chose J) due to being too hung up on the notion of free software at the time... What a coincidence! Now I have no excuses anymore, time to learn K!
321.
▲
by
klibertp
2y ago
I'm baffled. Which part of my comment triggered you so? You come across as ballistic here. Can't you just "don't mind" my comment? I specifically asked for this, signaling that I don't feel too well right now..
322.
▲
by
klibertp
2y ago
Oh, I know! While I got discouraged trying to learn K (I was a little too hung up on the notion of free software back in the day...), I learned J and had a terrific time interacting with the community. There were some bad apples, but the ba
323.
▲
by
klibertp
2y ago
> It's not just a science. It's an art, too. It was... I will miss that until retirement, too, but the artisan part of this craft has been gradually dying for over a decade. I think this change started when "popular kids&q
324.
▲
by
klibertp
2y ago
> idea that a frontend developer would send a ticket to somebody so they can get all the data they need... it's just crazy. For me, what's crazy is that there are "web" developers who can't just add the endpoint
325.
▲
by
klibertp
2y ago
Thanks for a great explanation. It looks like the thing Scala does with its by-name parameters, but for every parameter by default. Even closer analogy, I think Io works in a very similar way - bodies of methods can access their arguments a
326.
▲
by
klibertp
2y ago
Rash ( https://rash-lang.org/ ) and Oil ( https://www.oilshell.org/release/latest/doc/ysh-tour.html ) come to mind. Xonsh, too, as mentioned. Powershell too. Most high-level languages have packag
327.
▲
by
klibertp
2y ago
I wrote something similar on top of TMUX and zsh. I use zsh hooks to dump the current TMUX pane to a file (/tmp/lastcmd) just before a new prompt is displayed; I also set variables $O1, $O2, ... to respective output lines. It neve
328.
▲
by
klibertp
2y ago
In comparison to what? Making a chroot env for such a project is way harder than dockerizing it. VirtualBox and Vagrant might not be much harder, but are slower to the point of being irritating. I might be missing some alternatives, but a
329.
▲
by
klibertp
2y ago
Counterpoint: I bought a System76 laptop last year. As it came, the CPU fan was never off for longer than a few seconds, even when there was no load at all. The fans are not very loud, but the coil whine just before re-enabling the fan was
330.
▲
by
klibertp
3y ago
No. It's neither about race nor ethnicity; it's about culture and religion. It's not about the people, either, since the differences from person to person are as pronounced there as everywhere. It is, though, about the societ
More ›