HackerLangs
TopNewTrendsCommentsPastAskShowJobs

veqq

2,123 karmajoined 4 ปีที่แล้ว
https://janetdocs.org/

``` \'. \ '. .-**-. \ \ * _* _L__L_ _ * EVAL .' * //~ ~ / / .___.' G > // '. APPLY.' / \\\\-------.,// .____. / ' \\\______ |;3 | \ \\ \// ```

Submissions

Interview with Mitchell Hashimoto about Ghostty and Zig

alexalejandre.com
377 points·by veqq·เมื่อวาน·226 comments

Jolt: Clojure Interpreter on Janet

github.com
33 points·by veqq·เดือนที่แล้ว·0 comments

Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp

hyperpolyglot.org
214 points·by veqq·2 เดือนที่ผ่านมา·46 comments

Why are we still using Markdown?

bgslabs.org
233 points·by veqq·3 เดือนที่ผ่านมา·309 comments

John Earnest Interviewed about K, Lil, Decker

alexalejandre.com
5 points·by veqq·4 เดือนที่ผ่านมา·0 comments

Interview with Steve Klabnik

alexalejandre.com
4 points·by veqq·5 เดือนที่ผ่านมา·0 comments

JanetDocs – Community Documentation for Janet

janetdocs.org
2 points·by veqq·5 เดือนที่ผ่านมา·2 comments

Sh-DSL – Write/Use Shell with Janet

janet-lang.org
4 points·by veqq·5 เดือนที่ผ่านมา·0 comments

Interlingua

en.wikipedia.org
4 points·by veqq·6 เดือนที่ผ่านมา·6 comments

Star Gauge

en.wikipedia.org
2 points·by veqq·6 เดือนที่ผ่านมา·0 comments

Learn Lisp/Fennel Programming Against Neovim

github.com
70 points·by veqq·7 เดือนที่ผ่านมา·11 comments

K – simple, fast vector programming language

codeberg.org
2 points·by veqq·7 เดือนที่ผ่านมา·0 comments

Designing a Language (2017)

cs.lmu.edu
184 points·by veqq·8 เดือนที่ผ่านมา·110 comments

Janetdocs – Example Website with WASM Playground for Janet Lisp

janetdocs.org
4 points·by veqq·9 เดือนที่ผ่านมา·0 comments

GDP Hides Industrial Decline

palladiummag.com
33 points·by veqq·9 เดือนที่ผ่านมา·2 comments

comments

veqq
·6 ชั่วโมงที่ผ่านมา·discuss
|(...) is the same as (fn ...) making an anonymous function. $ is an argument (in a 1 arity anonymous function.) $ is getting the whole row which is a hashmap and e.g. ({:key "value"} :key) is a way of retrieving from a hashmap. So it's "where value in column job is "Developer".
veqq
·7 ชั่วโมงที่ผ่านมา·discuss
> when pressed, the best thing that could be said about Zig is

What do you mean? We didn't really discuss technical aspects etc. and he said he does like how they manage the project.
veqq
·เมื่อวาน·discuss
Clojure barely let you import packages without restarting the JVM recently in its life.
veqq
·3 วันที่ผ่านมา·discuss
> Why not just use Scheme directly, what's the benefit of porting to Hoot?

In other terms: Why not just use C directly, why use gcc?
veqq
·4 วันที่ผ่านมา·discuss
Could you share more about what makes CML so awesome?
veqq
·4 วันที่ผ่านมา·discuss
https://codeberg.org/veqq/declarative-dsls is built around a query language working on tables/dataframes, hashmaps, arrays, strings etc. in the same way. I ended up allowing things like :where :group-by etc. in `select` go in any order and then allowing you to use ->> macros to micromanage the execution order.
veqq
·11 วันที่ผ่านมา·discuss
What inspires your project etc.? I'm open to collaborating.
veqq
·11 วันที่ผ่านมา·discuss
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 to the maintainer to discuss certain design choices etc. Maybe I can wrap it instead of SQLite and Prolog directly as I was thinking.
veqq
·12 วันที่ผ่านมา·discuss
Cyclical industries are very common.
veqq
·14 วันที่ผ่านมา·discuss
> 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 they clearly don't spend much time on actually testing and configuring all of the models they provide. There's a reason they are very often the first provider to host a new model. I also suspect that they run models at lower quants than they claim but that is not something I can prove. https://www.reddit.com/r/LocalLLaMA/comments/1mk4kt0/be_care...
veqq
·15 วันที่ผ่านมา·discuss
This infrastructure is more secret sauce than the financial models, which change rapidly.
veqq
·15 วันที่ผ่านมา·discuss
I mean, why even use spotify?
veqq
·16 วันที่ผ่านมา·discuss
This is a big issue. https://janetdocs.org/ handles auth through GH which leads to... regular problems, unfortunately. I hope to migrate soon.
veqq
·19 วันที่ผ่านมา·discuss
Which? And do you mean compilers stopped using those approaches?
veqq
·25 วันที่ผ่านมา·discuss
> 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 there are spray-painting swastikas on synagogues and Raising Questions about whether the Holocaust was so bad after all.

The hyperbole weakens the point / or where are you to see constant Nazis? In the US, Mexico and Germany I regularly see hammer and sickle flags, t-shirts and graffiti. In Mexico city right now, there are huge banners with Stalin and Lenin, besides Marx and Engels, draped across traffic lights and streets all over the center, while it's been almost 10 years since the only big nazi protest I'm aware of (Charlottesville)
veqq
·26 วันที่ผ่านมา·discuss
> 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 platform or such and use it without problem.
veqq
·26 วันที่ผ่านมา·discuss
> the fastest way to support Mac, Windows, and Linux all at once

Tcl with TK or Free Pascal on Lazarus
veqq
·27 วันที่ผ่านมา·discuss
Pascal is quite common in Russia - many schools teach comp sci with it.
veqq
·28 วันที่ผ่านมา·discuss
That's really cool!
veqq
·29 วันที่ผ่านมา·discuss
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://ryjo.codes/articles/a-simple-tcp-server-written-in-g...

    (defrule connection
      (connection ?id)
      =>
      (println "User " ?id " connected")
      (printout ?id "Welcome to the chatroom from CLIPS!" crlf)
      (do-for-all-facts ((?f connection)) (neq ?id (nth$ 1 ?f:implied))
          (printout (nth$ 1 ?f:implied) "User " ?id " connected" crlf)))
    
    (defrule say
      (connection ?id)
      ?f <- (message-buffered ?id)
      ?ff <- (message ?id ~/me ?message)
      =>
      (retract ?f ?ff)
      (printout ?id "You: " ?message crlf)
      (do-for-all-facts ((?f connection)) (neq ?id (nth$ 1 ?f:implied))
        (printout (nth$ 1 ?f:implied)
         ?id ": " ?message crlf)))