Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bo-tato
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
bo-tato
2y ago
there's a much faster regex library: https://github.com/telekons/one-more-re-nightmare
2.
▲
by
bo-tato
3y ago
The main thing I like is basically you always have a debugger present. When you run into some issue you don't have to restart your program in a debugger and recreate it. Even running in production you can remotely connect to your progr
3.
▲
by
bo-tato
3y ago
And why I love doom emacs, it's almost like vscode in ease of getting set up for different languages. There's a init.el file with a :lang section where you can uncomment languages to enable them. Support for sh is enabled by defau
4.
▲
by
bo-tato
3y ago
The experience with distributions like Spacemacs, doom emacs or lazynvim really isn't that much worse than vscode, you select the language you want to code, it installs a reasonable set of plugins and you get to work.
5.
▲
by
bo-tato
3y ago
configuring vanilla emacs from scratch is certainly a lot of work. There's various distributions (Doom emacs, Spacemacs) that while not perfect have a pretty decent 'new user' experience without too much work. I don't us
6.
▲
by
bo-tato
3y ago
You are loading code you wrote, not evaling untrusted user input. Common Lisp is actually safer than a lot of languages in that Java, Python, Javascript, etc all do lots of runtime reflection and metaprogramming that leads to vulnerabilitie
7.
▲
by
bo-tato
3y ago
If you're just using it for quick scripting, which is where startup time mostly matters, and you only use the stdlib and no external gems, you can use --disable-gems and it starts in half the time as python for me.
8.
▲
by
bo-tato
3y ago
In the annual lisp game jam it seems a lot of the submissions and the most polished ones are using fennel, which is a lisp that compiles to lua from the same creator of Janet. Then for lua (and fennel) there is high quality game engines LÖV
9.
▲
by
bo-tato
3y ago
easiest solution I found was building SBCL targetting an old glibc using zig as the c compiler: CC="zig cc -target x86_64-linux-gnu.2.28" LD="zig cc -target x86_64-linux-gnu.2.28" zig bundles in all the glibc headers, so
10.
▲
by
bo-tato
3y ago
It seems with the massive amounts of money and full time engineers JVM has to be far more advanced technically, but does it actually make a difference? I don't know anything about compilers I just know LuaJIT is faster than any dynamic
11.
▲
by
bo-tato
3y ago
I come from traditional "unix hacking" background and don't know at all the JVM or .NET ecosystems, and share the irrational distrust of them many unix hackers have, though I'd get over it I could actually get stuff done
12.
▲
by
bo-tato
3y ago
I tried elixir and enjoyed it. I'm don't have strong feelings either way on static vs dynamic typing, I think the current craze for static typing is a lot because of people's experience with javascript vs typescript. With eli
13.
▲
by
bo-tato
3y ago
> a GC language from the ML family. What other option is there? I thought the same and wanted a higher-level GC'd language than rust, and played some with Ocaml, Haskell and F#. In theory they should be more productive and I'm
14.
▲
by
bo-tato
3y ago
it's a normal way to develop in clojure. The primitive no-IDE support needed trick is to just define variables with the names of your function inputs, as in: https://blog.michielborkent.nl/inline-def-debugging.html and
15.
▲
by
bo-tato
4y ago
Interesting, thanks for sharing your experience. I don't doubt the Taliban is evil, but I don't think they're stupid. That they hold family hostage to force people to fight for them I can easily believe. That they kill the fa
16.
▲
by
bo-tato
4y ago
Why do you assume the taliban killed his family? if they go around killing family of people that do bombings for them they aren't going to find many people willing in the future. I know nothing of afghanistan but where I'm from (l
17.
▲
by
bo-tato
4y ago
you're totally right that it's often easier to read in the order the functions are being applied. That's why just about every lisp/scheme family language has thread-first and thread-last macros -> and ->> so f(g
18.
▲
by
bo-tato
4y ago
same, and I surprisingly found it quicker to get used to doom emacs coming from vim, than it took me to get used to a modern neovim setup which I also tried briefly