Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
swlkr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
swlkr
4y ago
It's crazy that it doesn't have sign in with apple support too
62.
▲
by
swlkr
4y ago
Rails is still relevant. It's tricky more generally to see if a technology is still relevant because there is so much hype of new stuff in web development. Usually after the plateau of productivity, you don't see too many people t
63.
▲
by
swlkr
4y ago
I use sqlite and litestream for all of my projects, deployment very simple, performance is great, litestream backups to backblaze b2 cost pennies per month
64.
▲
by
swlkr
4y ago
Oh yeah that's interesting, I wonder what the threshold for year timestamps is, I thought it was > 6 months after a new year
65.
▲
by
swlkr
4y ago
I did gloss over a few things there, the goal was to say, yes I understand that C-land hasn't always been as free and open source as it is now
66.
▲
by
swlkr
4y ago
That is true, getting back to the same state in other languages is usually done with unit/integration tests, definitely not as nice as the repl. Although it is nice to have them written down and more explicit
67.
▲
by
swlkr
4y ago
The downsides of clojure on the jvm which I had kind of forgotten about until today like long stack traces and using a lot of memory kind of outweigh the upside of the repl
68.
▲
by
swlkr
4y ago
Fair enough. This might also come down to editors and things that I didn’t cover in the post too. There’s probably a happy path for clojure/jvm via an IDE that I didn’t try (I use neovim) or something else I might have missed in my clo
69.
▲
by
swlkr
4y ago
Wow that’s crazy, I love learning new tidbits about how older tech like cobol or mainframes or something are still around and plugging along
70.
▲
by
swlkr
4y ago
Yes the repl was one of clojure’s strong points, definitely, but I would argue that a fast restart + logging + irb gets you most of the way there
71.
▲
by
swlkr
4y ago
Yes, the newer clojure runtimes like planck or native-image, or babashka definitely take away some of the jvm pain
72.
▲
by
swlkr
4y ago
These days I care less about how the language looks and more about the development/deployment experience, and how much memory it’s going to take on a VPS, since that’s the primary thing driving VPS costs. Ruby (and rails) for web appli
73.
▲
by
swlkr
4y ago
I will say as far my limited understanding of the JVM goes, it seems like container tech can take care of any system dependencies that you might need for a complex c++ build. It also seems that the JVMs original purpose of running the same
74.
▲
by
swlkr
4y ago
This is exactly what I experienced too, the tidy clojure ecosystem can come undone pretty quickly
75.
▲
by
swlkr
4y ago
I should have gone into more detail for sure. The problems with the JVM are more cultural or political and not necessarily technical, although at the time clojure on the jvm did require quite a bit of memory and the cold startup times weren
76.
▲
by
swlkr
4y ago
clojure on the jvm has much better performance than ruby, but for my small side projects, that doesn’t matter. I guess I was trying to describe the frustration of switching languages and ecosystems while also trying to ship, thought I could
77.
▲
by
swlkr
4y ago
I'm not sure if it's about clojure's weak points or my own weak points haha
78.
▲
by
swlkr
4y ago
Yes, this is pretty much it. It's funny the presentation specifically mentions clojure for the "new and shiny." Today it would be something else, like rust or zig or something. But yeah it's difficult for me to build my
79.
▲
by
swlkr
4y ago
Fair enough, I usually start with the title and try to let the rest flow from there, but it's definitely the JVM that was getting me down, not clojure specifically.
80.
▲
by
swlkr
4y ago
I'm not quite sure why my stuff keeps hitting the front page, but I'm here for it. I've since abandoned janet for web app side projects and gone back to ruby entirely but yeah, I still love lisp but it makes more sense to ali
81.
▲
by
swlkr
5y ago
One notable thing is the ruby apps in a single .wasm file. This may make ruby CLI apps easier, as well as eventually replacing things like docker or shipping your ruby code to a server.
82.
▲
by
swlkr
5y ago
https://swlkr.com Just a vanilla hugo static site hosted on github pages. I’m writing my own dynamic blog hosting backend thing for no reason in particular and plan on moving it over there once it’s ready.
83.
▲
by
swlkr
5y ago
there is joker https://github.com/candid82/joker but you may as well use the small clojure interpreter instead
84.
▲
by
swlkr
5y ago
I’ve tried graal and native-image, both are awesome. clojure still relies on the jvm though, for repl things. sci and babashka were interesting, but at that point I had already moved on to janet
85.
▲
by
swlkr
5y ago
Yeah that’s the long and short of it. I spent a lot of time in jvm land though, a few years of nights and weekends, but I finally learned that it wasn’t for me. I’m a C (or rust or llvm or what have you, wasm?) person, not a jvm person.
86.
▲
by
swlkr
5y ago
This is mostly ring / hiccup, just a layer on top to make it easier for beginners. I would say if you’re not new to clojure, roll your own.
87.
▲
by
swlkr
5y ago
So much fun working on that project! Turns out it's really hard to beat the productivity of rails
88.
▲
by
swlkr
5y ago
Yeah, I did move on, but if someone were to pick up the torch, I would help out any way I can!
89.
▲
by
swlkr
5y ago
Always nice when one of my projects makes it to the front page! I haven’t worked on this one much lately, but I’m happy to answer any questions!
90.
▲
by
swlkr
5y ago
This is great! Thanks for this, it never occurred to me that I could improve on ssh + sqlite3 on the cli, but here it is. Great for those times when I want to check some data but don’t want to ssh in
More ›