Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rads
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
rads
2mo ago
Sorry if I wasn’t clear, I was referring to the maps that are being destructured.
2.
▲
by
rads
2mo ago
The maps are still open to new keys even if some keys are checked. I think that fits in with how clojure.spec and Malli work already, but in a lighter syntax.
3.
▲
by
rads
1y ago
I'm skeptical because I don't think generating the Clojure code is the hard part. These ideas seem more like wishful thinking than actual productivity improvements with the current state of tech. Developer guided: For the projects
4.
▲
by
rads
1y ago
I use the REPL as lightweight form of testing while I'm in the flow state, which is complementary to TDD. If there's too much code in the comment block, that's a good signal to move it into a formal test like you're sayi
5.
▲
by
rads
1y ago
There is often a misunderstanding that “REPL driven development” means typing things into the REPL prompt interactively and accumulating state that’s not easy to reproduce. Writing code down in comment blocks as you go is the solution to th
6.
▲
by
rads
1y ago
You might see this and think, "great, another hyped up vibe coding tool". If Clojure is about simplicity and understanding your code deeply (with the end goals of long-term maintenance and reliability), why would you need this? Wh
7.
▲
by
rads
1y ago
What will be required from users of the existing Litestream version to upgrade to the new one? Is it a matter of bumping the version when it comes out or is there more to it?
8.
▲
by
rads
1y ago
What was the tipping point where you decided you got everything you could from learning Clojure and it was time to move on?
9.
▲
by
rads
1y ago
Such a low quality article. The whole comment thread is just going to be about the flamebait of "I bet Rich was just really bored". Instead, the author could have listed the reasons they actually "loved it, and by the end I h
10.
▲
by
rads
2y ago
I'm curious, how did you form this opinion? Did you have a bad experience with Clojure yourself?
11.
▲
by
rads
2y ago
Awesome work Jeaye!
12.
▲
by
rads
2y ago
Hey Matt, ex-Automattician here. I don't have any comment on the issues themselves (haven't touched PHP or WP since I left) but please consider that the fallout of these actions may hurt your own employees in ways you can't s
13.
▲
by
rads
2y ago
From my experience, GPT-4 works well with both Clojure and Zig. A lot of it depends on the way you prompt though. For example, asking to start with a C or C++ example and converting to Zig often works better than starting straight with Zig.
14.
▲
by
rads
2y ago
Check out Babashka. It's a single binary that runs Clojure without a JVM. It also starts up really fast and has a much lower base memory requirement: https://github.com/babashka/babashka It's pretty easy to s
15.
▲
by
rads
2y ago
I think the writing style is too fluffy, but I realize some people like that. The true sin of this book is that it actually starts by teaching the reader Emacs , not Clojure. That's a huge distraction for a beginner who is probably co
16.
▲
by
rads
2y ago
Here is where I'd start for the path of least resistance while still using the most modern libraries: - Dependency management: https://clojure.org/guides/deps_and_cli - Clojure->JS compiler: https://
17.
▲
by
rads
2y ago
The key thing is experienced Clojure programmers often see a lack of ORM as a feature rather than an oversight. There were some more ORM-like libraries years ago (see Korma) but my impression is that people ultimately didn't want this
18.
▲
by
rads
2y ago
It's a tradeoff. The startup time of Clojure on the JVM is slower than most, but the runtime is faster than most. It also needs a lot of memory to get going. This means it's optimized toward long-running programs like web servers.
19.
▲
by
rads
2y ago
In practice I do wrap `jdbc/execute!` with my own `execute!` function to set some default options. However, there is no ORM layer. What makes you think the code above is terribly unproductive? Edit: Not trying to dismiss your concerns,
20.
▲
by
rads
2y ago
Here's a quick example of how DB access generally looks in production: (ns rads.sql-example (:require [next.jdbc :as jdbc] [honey.sql :as sql] [clojure.string :as str])) ;; DB Table: pos
21.
▲
by
rads
2y ago
This is a good starting point if you want to get a web app going quickly: https://biffweb.com It uses XTDB by default but you can switch to Postgres: https://biffweb.com/p/how-to-use-postgres-with-biff/
22.
▲
by
rads
2y ago
Hmm, maybe we could come up with a standard syntax? We could call it “Standard-expressions”, or perhaps “S-expressions”? That way an entire family of languages could use the same syntax. Now how do we get people to follow this standard?
23.
▲
Why Tim Cook Is Going All In on the Apple Vision Pro
(vanityfair.com)
1 points
by
rads
3y ago
|
0 comments
24.
▲
by
rads
3y ago
> - Incredibly slow Huh? Clojure is one of the fastest dynamic languages. It's not intended to replace C++ or Rust. > - Hosted on the JVM, so you're going to be dealing with Java eventually In the real world this is a blessi
25.
▲
by
rads
3y ago
> I had to Grok Integrant again because I wouldn't understand my project otherwise. You can use plain functions and `reduce` for system composition if you want. Take a look at how Biff does it: https://biffweb.com/p&
26.
▲
by
rads
3y ago
> This, to me, is the equivalent of placing console.logs everywhere and running the request. Which isn't a terrible thing. Yes, I know Clojure is immutable and I can eval the function in a comment with `tap>`, and run it over and
27.
▲
by
rads
3y ago
I've been working professionally with Clojure/Script for about six years now and I don't regret it. I also work on TypeScript when I have to. Here are a few suggestions I have: > - The debugger sucks In my experience, Curs
28.
▲
by
rads
4y ago
Hooks encapsulate mutable state. It’s not much different than object-oriented programming with a different syntax.
29.
▲
A δ-CRDT Multi-Value Register in less than 100 lines of Clojure/Script
(gist.github.com)
2 points
by
rads
9y ago
|
0 comments
30.
▲
by
rads
10y ago
When I read the title I was wondering if this was a new project. It's actually a continuation of the Datomish project. I'm glad they changed the name, though.
More ›