Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Borkdude
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
Joyride: Making VS Code Hackable like Emacs since 2022
(marketplace.visualstudio.com)
5 points
by
Borkdude
4y ago
|
0 comments
62.
▲
by
Borkdude
4y ago
That blog post wasn't about nbb, but about bb, right?
63.
▲
Babashka Babooka: Write Command-Line Clojure
(braveclojure.com)
118 points
by
Borkdude
4y ago
|
14 comments
64.
▲
by
Borkdude
4y ago
Blog post published here: https://presumably.de/how-to-do-things-with-babashka.html
65.
▲
How to Babashka (Clojure vs. Bash)
(github.com)
3 points
by
Borkdude
4y ago
|
1 comments
66.
▲
How to do things with babashka vs. bash
(presumably.de)
3 points
by
Borkdude
4y ago
|
1 comments
67.
▲
by
Borkdude
4y ago
Babashka doesn't have a built-in HTML parsing library but it supports it through pods: https://github.com/babashka/pod-registry Pods can be written in any language and they can expose functions to babashka by impl
68.
▲
Advent of Code using babashka and nbb
(github.com)
1 points
by
Borkdude
4y ago
|
0 comments
69.
▲
by
Borkdude
4y ago
In Clojure, you don't typically type code into the REPL, but write code in a file and then evaluate that code in a REPL connected to your editor. We don't just type into a console window, then reboot for some OS updates and forget
70.
▲
by
Borkdude
4y ago
That should work. Feel free to post an issue if you have any problems.
71.
▲
by
Borkdude
4y ago
Author here. Feel free to ask any questions.
72.
▲
Babashka Clojure nREPL as a system interface
(yogthos.net)
115 points
by
Borkdude
4y ago
|
23 comments
73.
▲
by
Borkdude
4y ago
Babashka is a native, standalone, batteries included and fast starting Clojure interpreter for scripting. The intended use case for babashka is to use Clojure for scripting in places where you would previously use bash. It comes with severa
74.
▲
Babashka (native Clojure interpreter) reaches 1.0
(babashka.org)
6 points
by
Borkdude
4y ago
|
1 comments
75.
▲
Analyzing Every Clojure Project on GitHub
(blog.phronemophobic.com)
5 points
by
Borkdude
4y ago
|
0 comments
76.
▲
Show HN: Scittle – run Clojure directly from browser script tags
(babashka.org)
3 points
by
Borkdude
4y ago
|
0 comments
77.
▲
Show HN: ClavaScript: a ClojureScript syntax to JavaScript compiler
(github.com)
24 points
by
Borkdude
4y ago
|
1 comments
78.
▲
Show HN: Cherry – experimental ClojureScript to ES6 module compiler
(github.com)
1 points
by
Borkdude
4y ago
|
0 comments
79.
▲
by
Borkdude
4y ago
Nbb still has faster startup time with any system-installed Node.js than lumo with its v8 snapshot.
80.
▲
by
Borkdude
4y ago
Nbb has nbb.core/await for top level await which is handy for REPL usage. Furthermore it has promesa which is a library for dealing with promises.
81.
▲
by
Borkdude
4y ago
There was a self-hosted CLJS project for Node.js which is now abandoned. It was called lumo. It came with a custom image of Node.js with lumo built-in for better startup times since the JS bundle of self-hosted CLJS is quite large resulting
82.
▲
by
Borkdude
4y ago
Multimethods are fully supported. Protocols, defrecord and deftype are supported with some caveats.
83.
▲
by
Borkdude
4y ago
The main difference is that nbb lets you execute a .cljs file straight away, without a compilation step. As such, it doesn't need any JVM tooling. You can create an AWS Lambda with only a couple of lines of code: https://blo
84.
▲
by
Borkdude
4y ago
Nbb isn't a compiler, but a Clojure interpreter. Clojure is a hosted language, but can be compiled or interpreted. The ClojureScript compiler compiles Clojure to JavaScript, but nbb only interprets Clojure.
85.
▲
by
Borkdude
4y ago
Author here. Ask me anything on nbb.
86.
▲
by
Borkdude
4y ago
Author here. Nbb is a scripting environment for Clojure running on Node.js. Clojure is a Lisp that emphasises functional and data oriented programming. Scripts are executed using an interpreter, so there is no build/compile step necess
87.
▲
by
Borkdude
4y ago
Check out babashka tasks. It's a take on Make for Clojure. https://book.babashka.org/#tasks Everything you do in there except shelling out will be portable, and if not, you can dispatch using the `fs/windows?` pre
88.
▲
by
Borkdude
4y ago
An introduction to babashka CLI: https://blog.michielborkent.nl/babashka-cli.html
89.
▲
Babashka tasks meets babashka CLI
(blog.michielborkent.nl)
4 points
by
Borkdude
4y ago
|
1 comments
90.
▲
by
Borkdude
4y ago
Thanks a lot for the article! I have a few notes: "No compromises": there's always compromises, but thanks for the marketing :) "Startup sub-millisecond": nbb and Node.js don't start sub-millisecond, but around
More ›