Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klibertp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
331.
▲
by
klibertp
3y ago
> Carrier pigeons I wonder if the NSA has a trained falcons corps for that...
332.
▲
by
klibertp
3y ago
Thank you. I felt for years that this is the way to go: I hate moving without purpose, and "being fit" is too abstract a goal for me to keep at it. But I don't mind at all moving to accomplish something, and honestly, get
333.
▲
by
klibertp
3y ago
What's closer to "bug-free" (here, inside the cave) than formally verified software running on verified hardware in a distributed[1] system? [1] Because "you can't type-check being hit by lightning"...
334.
▲
by
klibertp
3y ago
> Or just be completely unaware of what is going on but not necessarily in poor health? It's not either-or, it's both. It takes time to reach the point where you're "unaware". Before that, you're fully aware
335.
▲
by
klibertp
3y ago
My biggest fear. The nightmares I had for years after reading. They returned, years later, when observing Alzheimer's from up close, in family members. No way out, no cure. Memory, reasoning capabilities, character, everything that mak
336.
▲
by
klibertp
3y ago
> Except for when your data is in it. Replacing the DB before it gets any actual data inserted into it solves this problem. You just switch to Postgres before you go anywhere beyond staging, at the latest - in practice, you need Postgres
337.
▲
by
klibertp
3y ago
You seriously consider Gradle - a kitchen sink and a monstrosity scripted in obscure, extremely dynamic language - a better solution just because it has a... wrapper script?! With Gradle, where do you define dependencies? All with version n
338.
▲
by
klibertp
3y ago
> They may save you a bit of time initially but when your company gets bigger, the ORMs will become a bottleneck. At which point - but not earlier! - you just make your ORM print the queries, fix them manually (or write them from scratch
339.
▲
by
klibertp
3y ago
> PostgreSQL is ALSO dead simple to get going I'm not saying it's hard to set up Postgres locally, but sqlite is a single binary with almost no dependencies and no config, easily buildable from source for every platform you can
340.
▲
by
klibertp
3y ago
Also make it maintain 2 cursor positions and switch between them depending on the mouse. It would be pretty neat with multiple monitors, with focus following the (active) cursor. (Assuming you're ambidextrous, of course :))
341.
▲
by
klibertp
3y ago
> but for devs passionate about programming languages, python is a relic they hope vanish Such devs are increasingly rare and, in some domains, almost nonexistent. For example, Kotlin borrowed a lot of nice features from Scala and Groovy
342.
▲
by
klibertp
3y ago
As sad as it is, video is already a preferred and main content format for most people. It always was. The closer to reality, the more engaging [EDIT: and easier to digest] the content. We had some text renaissance due to technical limitatio
343.
▲
by
klibertp
3y ago
It's never too late. You can start coding after work even right now. You can serve a well-cooked app to your friends and family instead of shipping a feature you don't care about to an amorphous mass of users (that you don't
344.
▲
by
klibertp
3y ago
It is, but I guess the reason it's mentioned so much right now is that the author posted a pretty convincing video a few days ago to Reddit: https://youtu.be/bsRnh_brggM (post: https://old.reddit.com/r&
345.
▲
by
klibertp
3y ago
It's not hallucinated, it's not written by AI, it's creative, tongue-an-cheek writing by a person who has literally decades of prior art in this very style on his blog. Try reading it with these statements held as truth and s
346.
▲
by
klibertp
3y ago
I'm just as much of an atheist as the next (not you, not you, not you either, oh, here you are) person, but I'm even less of a capitalism believer. Like it or not, the Pope is rather famous - in a completely different way than the
347.
▲
by
klibertp
3y ago
> Francis called for ethical scrutiny of the "aims and interest of (AI's) owners and developers" warning that some applications of AI "may pose a risk to our survival and endanger our common home," a reference to
348.
▲
Pope Francis calls for binding global treaty to regulate AI
(reuters.com)
3 points
by
klibertp
3y ago
|
4 comments
349.
▲
by
klibertp
3y ago
We're talking about parallelism here, not concurrency. async/await solve concurrency, not parallelism (on their own). Kotlin coroutines solve parallelism only because they piggyback on Java threads. I'm not sure about Go, but
350.
▲
by
klibertp
3y ago
Well, threading - shared-state parallelism, more precisely - is hard to do well, and retrofitting it into a program that wasn't designed with that kind of threading in mind is even more challenging. I don't think any popular langu
351.
▲
by
klibertp
3y ago
> I think it’s basically impossible to safely live-patch part of a compilation unit in most programming languages There's no argument there; you're right. That's why V and Nim, for example, put reloadable things in a sep
352.
▲
by
klibertp
3y ago
> the language has to be designed to handle redefinition correctly. I believe it's more a question of how easy the redefinition is to implement. You can live-update a running Java or C programs, it's just less convenient/h
353.
▲
by
klibertp
3y ago
What you're describing is a feature of the system as a whole. You can have the same workflow with any dynamic, reflective environment. All Smalltalks give you the same ability to "jump to definition" of anything, turtles all
354.
▲
by
klibertp
3y ago
Having worked with Lua and Elisp extensively, they have very different pros/cons profiles. In my experience, Lua is great as a scripting language - tiny, speedy, and completely dynamic. For "programming in the large(r)," Lua
355.
▲
by
klibertp
3y ago
That's not a JIT. It uses `libgccjit` (IIRC the name), but the native code is produced ahead-of-time. JITs compile using info available on runtime, and native-comp doesn't do that. LuaJIT, by contrast, is a "real" JIT. S
356.
▲
by
klibertp
3y ago
Yes, I know. I think this "HTML, the programming language" is obviously a joke, so I'm asking whether htmx is also a joke - or an attempt at trolling web devs, more precisely - just disguised better... There is a whole book o
357.
▲
by
klibertp
3y ago
...now I'm starting to wonder whether htmx and _hyperscript are similar to this, just disguised better...? And I was seriously considering using htmx for one thing, too.
358.
▲
by
klibertp
3y ago
Considering that I only learned about `read-symbol-shorthands` last week by accident (the feature landed in 28, I think), that does rings true... :)
359.
▲
by
klibertp
3y ago
Lua is very weak for "programming in the large". It's just a little bit better than early JavaScript. Scripts are OK, but anything that requires more code with more structure requires incredible amounts of perseverance and di
360.
▲
by
klibertp
3y ago
> Sadly, multithreading is an afterthought for Emacs It is, but it's usable. I'm actually amazed that, even after three major versions, the built-in threading is not used by the community. Yes, the threads currently are not usa
More ›