HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sammy0910

no profile record

Submissions

Deft version 0.2.0 – required-keys for Clojure protocols

sammystraus.com
31 points·by sammy0910·27 giorni fa·0 comments

Sprinklz.io – An RSS reader with powerful algorithmic controls

sprinklz.io
1 points·by sammy0910·mese scorso·0 comments

A simple templating library for LLM prompts

promptsrus.io
2 points·by sammy0910·mese scorso·3 comments

[untitled]

1 points·by sammy0910·mese scorso·0 comments

Show HN: Simple news aggregator with source bias meters

unbiasthenews.com
2 points·by sammy0910·mese scorso·0 comments

How Much LLMs is too much LLMs?

sammystraus.com
5 points·by sammy0910·2 mesi fa·3 comments

How Much LLMs is too much LLMs?

sammystraus.com
1 points·by sammy0910·3 mesi fa·0 comments

Show HN: Sprinklz.io – An RSS reader with powerful algorithmic controls

sprinklz.io
15 points·by sammy0910·4 mesi fa·3 comments

Sprinklz.io – A news reader where you control the algorithm

sprinklz.io
1 points·by sammy0910·4 mesi fa·0 comments

[satire] Claude Code build my open source project in 5 minutes

sammystraus.com
2 points·by sammy0910·4 mesi fa·0 comments

[satire] Claude Code build my open source project in 5 minutes

sammystraus.com
3 points·by sammy0910·4 mesi fa·4 comments

ShannonMax: A Library to Optimize Emacs Keybindings with Information Theory

github.com
83 points·by sammy0910·5 mesi fa·21 comments

Deft – a class and interface system for Clojure[video]

youtube.com
1 points·by sammy0910·5 mesi fa·0 comments

Building Chess in about 350 lines of Clojure

sammystraus.com
3 points·by sammy0910·5 mesi fa·0 comments

Deft: A new replacement for Clojure objects using plain maps

github.com
8 points·by sammy0910·6 mesi fa·2 comments

comments

sammy0910
·mese scorso·discuss
I just found it useful for myself, because I tend to find myself writing the same gpt prompts over and over again with just a few letters changed, so it just makes that a little easier
sammy0910
·2 mesi fa·discuss
as a user i dont like it, and am disappointed. it will take a bit of time to transition our systems off of posthog, but we will need to.

if you are looking at your metrics, I want to be clear that this transition will not happen overnight, but it _will_ happen for this reason, so just be aware that your short-term metrics won't tell the full story
sammy0910
·2 mesi fa·discuss
you may be interested in this recent PR https://github.com/clj-kondo/clj-kondo/pull/2840

that supports building macros from source (!)
sammy0910
·2 mesi fa·discuss
For a long time I've been thinking about like how to solve modern problems with modern technology, but maybe in the end the solution is to just like turn everything off and get outside more
sammy0910
·2 mesi fa·discuss
I like the analogy to social media here that's a neat thought
sammy0910
·3 mesi fa·discuss
it is very similar, but it is easier to evaluate sub-expressions thanks to the unique syntax of lisp.

there's a detailed explanation here: https://youtu.be/Djsg33AN7CU?t=659
sammy0910
·4 mesi fa·discuss
the big challenge is figuring out the right way to port the settings menus to a smaller screen without losing the feel and energy of the application.

I'm making good progress on it though and hope to release an improved mobile experience in the next month or two.
sammy0910
·4 mesi fa·discuss
I'm working on it!

You can still create a feed on desktop, and then view it on mobile if you sign in to the same account, but I'm in-progress of making a mobile-only experience.
sammy0910
·4 mesi fa·discuss
(the thought is to push back on the recent claims of LLM built xxx popular project that otherwise took humans xxx years of effort by reminding us all how much of the original project is the training set)
sammy0910
·4 mesi fa·discuss
i think this does make a point?
sammy0910
·4 mesi fa·discuss
there are some

I built a little mafia game a few years ago, but it was never very popular. http://gptmafia.io/

and someone i know made one too: https://talktomehuman.com

maybe the games market is just hard in general, but i dont know that ai games are super popoular even though people are building them. playing mafia against the ai feels somehow tiring, even if it is also occasionally fun
sammy0910
·5 mesi fa·discuss
it should be -- as long as you have like the right logging set up, I think the theory would also be applicable.

currently the calculations in this library are done with a clojure jar, so if you're interested, you might have an easier time calling that directly
sammy0910
·6 mesi fa·discuss
announcing Deft: A new replacement for defprotocol and defrecord, using plain maps + malli schema

on youtube: https://www.youtube.com/watch?v=dlW6YzwUZ-M on clojars: https://clojars.org/org.clojars.sstraust/deft

Today I'm releasing deft!

It took me about 6 months to really think it through all the way, and get the design just right, so it feels good to finally publish it.

TLDR of 'why deft'

The problem is that: - Clojure records use single-colon (unnamespaced) keyword access to lookup record fields - Clojure records do not allow you to define abstract classes, or things that rely on complex dispatch behavior. - Clojure records do not reload easily in the REPL, so you have to re-instantiate the object to see changes to method defs.

- Clojure maps are difficult to nail down. Even with libraries like Malli, it's hard to declare interfaces that explain "what can I do with this thing?" and "what multimethods do I need to implement?" - Defining maps with Malli schema is not as enjoyable and ergonomic as the syntax of defrecord

The library is basically just plain maps, multimethods, and malli schema, but adds macros to allow you to use the same syntax as defrecord, and to define interfaces and implementations as lists of multimethods a type must implement.

The goal is to give something that's still enjoyable to work with, but lets you really nail down the behavior when you want to (and still keeps it ergonomic and fun).

A secondary goal was to make something that is reliable and stable, and is (hopefully) easy to adopt in existing codebases.

(more detailed explanation in video and on github)

check it out!
sammy0910
·10 mesi fa·discuss
this is a neat project! i know river and he is a very good engineer
sammy0910
·anno scorso·discuss
this is a masterpiece of writing -- well done