Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
veqq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
veqq
4mo ago
This looks really cool! After building various logic programming engines on top of Janet: https://codeberg.org/veqq/declarative-dsls I was considering something similar (though more bare bones). I'd love to talk t
62.
▲
by
veqq
4mo ago
Cyclical industries are very common.
63.
▲
by
veqq
4mo ago
> NovitaAI is a low cost provider who's strategy seems to be to host as many models as possible for the lowest cost possible so that OpenRouter's routing algorithm will default to them as often as possible. The problem is that
64.
▲
by
veqq
4mo ago
This infrastructure is more secret sauce than the financial models, which change rapidly.
65.
▲
by
veqq
4mo ago
I mean, why even use spotify?
66.
▲
by
veqq
4mo ago
This is a big issue. https://janetdocs.org/ handles auth through GH which leads to... regular problems, unfortunately. I hope to migrate soon.
67.
▲
by
veqq
4mo ago
Which? And do you mean compilers stopped using those approaches?
68.
▲
by
veqq
4mo ago
> only one group ran a Dachau is a strange example since it was just a complex of work camps, with the Japanese, British and so on having far worse than that. > Because there are fewer people waving hammer-and-sickle flags around than
69.
▲
by
veqq
4mo ago
> If the difference didn't matter, we wouldn't have so many different lisps Literally the opposite. We can make and use so many, because writing them is more or less the same. We can quickly throw together a new lisp for a new
70.
▲
by
veqq
4mo ago
> the fastest way to support Mac, Windows, and Linux all at once Tcl with TK or Free Pascal on Lazarus
71.
▲
by
veqq
4mo ago
Pascal is quite common in Russia - many schools teach comp sci with it.
72.
▲
by
veqq
4mo ago
That's really cool!
73.
▲
by
veqq
4mo ago
MTG: Arena uses a rules engine CLIPS (a s-expr expert system based on the RETE engine), which an acquaintance wrote a course for: https://ryjo.codes/tour-of-clips.html and even a declarative chat server: https://
74.
▲
Jolt: Clojure Interpreter on Janet
(github.com)
33 points
by
veqq
4mo ago
|
0 comments
75.
▲
by
veqq
4mo ago
It would be really cool to declare multiple modules in the same file, somehow. Also, the Janet community's generally against the word namespace, saying we don't have them. (I don't fully grok why not.)
76.
▲
by
veqq
4mo ago
> Parinfer Have you explored Paredit? Structural editing turns the parentheses into a huge plus so navigating feels like flying.
77.
▲
by
veqq
4mo ago
> perhaps one would have invented more expressive higher-order functions or macros to denote s-exp math if that was what everyone used for centuries. Have you ever looked into APL? It was made as a better notation for math over a decade
78.
▲
by
veqq
4mo ago
> Edgar Codd formalised relational algebra in 1970. SQL sits on top of it as a declarative interface. You describe what you want. The database engine decides how to get it. The engine improves every year. Your query stays the same. Altho
79.
▲
by
veqq
4mo ago
If you're only willing to use languages with the same features, what's the point? Learning how a different paradigm manages without types can be more insightful.
80.
▲
by
veqq
4mo ago
Besides the 2 the others shared, Joy does that too.
81.
▲
by
veqq
4mo ago
> What's the quintessential "now I get it" experience, in your mind? Learning that https://calva.io/paredit/ exists and moving your cursor along the AST or moving expressions around with nice hotkeys.
82.
▲
by
veqq
4mo ago
> Clojure is incredibly data-driven, which wins me over Janet. I'm curious what differences you see? I've been all in on Janet, but barely used Clojure. What more data driven aspects does Clojure have .... offer? My mental mode
83.
▲
by
veqq
4mo ago
> exists already The helloworld of macros lets you do `(infix 1 + 2)`: (defmacro infix [a op b] ~(,op ,a ,b)) A useful one with precedence letting you to `(infix 2 + 4 * 5)`: (defmacro infix [& toks] (def
84.
▲
by
veqq
4mo ago
In my tests, it's 5-10x Python for long running things (about 30% slower than Fennel on LuaJit) but for small things, because you can easily shift work to compile time, it beats normal Go: https://codeberg.org/veqq/
85.
▲
by
veqq
4mo ago
> I never thought it could happen to me. But I am truly biased. I have basically forgotten how to code everything else (besides APL family languages) in the past _checks notes_ 10 months since I started Janet. I even run a community [doc
86.
▲
by
veqq
4mo ago
> can actually be extended in useful ways I just made a library with [query syntax]( https://codeberg.org/veqq/declarative-dsls ) over various data structures a la sql: (import declarative-dsls/dataframes :
87.
▲
by
veqq
4mo ago
All new Lisps since ~2010 have been Clojure-y-: https://p.hagelb.org/new-lisps.html (Lone Lisp and LispE are the only exceptions and LispE still has _some_ Clojure features.)
88.
▲
by
veqq
4mo ago
> advanced HTTP routing What do you concretely mean by this? I use https://github.com/joy-framework/joy for all web stuff and can probably get your missing features in within the week.
89.
▲
by
veqq
4mo ago
We recently migrated to a standard library version: https://janet-lang.org/1.41.2/spork/api/sh-dsl.html
90.
▲
by
veqq
4mo ago
I have some gentler introductory stuff like: https://janetdocs.org/tutorials
More ›