Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klibertp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
91 ms
·
901.
▲
by
klibertp
6y ago
Actually, it might be. The comment was dead, I vouched for it, so it appeared.
902.
▲
by
klibertp
6y ago
You're right. I'm constantly surprised how much of the history of programming I'm still missing, despite trying to learn as much as I can about it. The feature set of Algol blew my mind when I first learned about it, for exam
903.
▲
by
klibertp
6y ago
Yes, though I believe knowing about him and his vision can be helpful in understanding the evolution of OOP and its current mainstream incarnations. Basically, "those who don't know history are doomed to repeat it", "his
904.
▲
by
klibertp
6y ago
Good read, thanks. I knew about Simula, but never analysed it deep enough to know how much of an effect it had on early Smalltalk. Still, the definition Kay gave as late as in 1998 resonates with me the most: OOP to me means only messaging
905.
▲
by
klibertp
6y ago
Which is why they should be educated, given a chance. No?
906.
▲
by
klibertp
6y ago
Nim also has this. You can also leave out the parens from calls, which adds to the syntax flexibility.
907.
▲
by
klibertp
6y ago
Actually, Erlang and Elixir are one of the most OO languages out there. The original definition of OO, by Alan Kay, was to have a lot of miniature computers, with state and computation ability, called objects, which communicate by sending m
908.
▲
by
klibertp
6y ago
> but Emacs can be more everyday-friendly. But it seems that it won't ever be. I don't think it can; and yes, it probably won't ever be. There's simply no incentive for Emacs to become more everyday-friendly. For oth
909.
▲
by
klibertp
6y ago
> I don't know that anyone has come up with a good solution for measuring programmer productivity. Well, the only people who could meaningfully search for such solution - programmers - have all the incentive in the world not to find
910.
▲
by
klibertp
6y ago
> smelled like elitism and I had to call it out It's not elitism. It might be a lack of empathy, but it's not premeditated. The thing is that, being the live environment in the vein of Smalltalk is a major selling point of Emac
911.
▲
by
klibertp
6y ago
> It's very common practice In certain parts of the world. Meanwhile, the rest of the world doesn't try to ruin the whole lives of people who made a mistake and already paid for it by serving their time in prison (or whatever
912.
▲
by
klibertp
6y ago
At the time I started working on my scripts - sometime in 2019 - I think neither Teal, nor TSToLua existed. Not 100% sure about that, but I remember searching for type systems for Lua and coming back empty handed back then :( I'll take
913.
▲
by
klibertp
6y ago
My config is on Github[0] and it's an absolute mess: at first I used plain Lua, then tried MoonScript (which was a huge let down, unfortunately), then switched to Haxe. In all 3 cases this config was my first time using the languages i
914.
▲
by
klibertp
6y ago
Not a comment about try.haxe, but Haxe in general: There's this Window Manager called Awesome, which is scripted with Lua/LuaJIT. It features an extensive library of objects for use in user scripts. There's a lot to like abou
915.
▲
by
klibertp
6y ago
nimsuggest and nim-mode work quite well in Emacs with auto-complete, go to definition, and find references. There's also an LSP server in the works IIRC. If you want good auto-complete for less popular languages, you need to use an edi
916.
▲
by
klibertp
6y ago
Function objects, including closures, can be serializable - they are in Erlang/Elixir. You can send a lambda/closure over to another node (on another machine) to execute. It's actually one of the basic building blocks of OTP.
917.
▲
by
klibertp
6y ago
Tail Call Optimization, better called Tail Call Elimination. Haskell, OCaml, Erlang/Elixir, Scala with @tailrec, Scheme, Lua(!), most other functional languages. Basically, if there's a call to a function B at the very end of func
918.
▲
by
klibertp
6y ago
How does that matter for the subject at hand, ie. the price of GameStop shares?
919.
▲
by
klibertp
6y ago
> will you personally fight in it? Personally, like in piloting a drone? It's a good question to ask, to be sure, but its value continues to diminish as more and more tech is deployed in warfare.
920.
▲
by
klibertp
6y ago
One example: https://gitlab.com/FascinatedBox/lily
921.
▲
by
klibertp
6y ago
You're caring too much. Why is it so important to you that two particular implementations of two programming languages are badly implemented and thus (which doesn't actually automatically follow, but nevermind that) slow? Are you
922.
▲
by
klibertp
6y ago
> `reduce()` was removed from the standard library Not true: it was moved from builtins to `functools` module, but it's still there.
923.
▲
by
klibertp
6y ago
Hopefully you learned to version control your config files after that...
924.
▲
by
klibertp
6y ago
> but for most headsets, resolution still isn't high enough to read bodies of text without eye fatigue. Most? Is there anything, no matter how expensive, which is currently capable of clearly presenting large bodies of text? The mo
925.
▲
by
klibertp
6y ago
About the editor: In general you can use any editor, but there are some features which your editor should have to make your life easier. I wrote a blog post about it some time ago: https://klibert.pl/posts/tools_for_l
926.
▲
by
klibertp
6y ago
You could mention that it was almost 15 years ago in your previous post. That's more than enough time for the whole community attitudes to change, and they did.
927.
▲
by
klibertp
6y ago
Linux CD , author being current "high-school senior" (from the profile), and "my lawyer said"...
928.
▲
by
klibertp
6y ago
From GP: > Problem being, "depends_on" was removed in version 3, with no replacement in sight. How is v2 relevant?
929.
▲
Merging ZSH history files from different hosts with Scala
(klibert.pl)
2 points
by
klibertp
6y ago
|
0 comments
930.
▲
by
klibertp
6y ago
> Does J have a notion of the relationship between certain functions and their inverse? Yes. Many built-in words have inverses assigned, and you can assign inverse functions to your own words with :. https://code.jsoftware.com
More ›