HackerTrans
トップ新着トレンドコメント過去質問紹介求人

sammy0910

no profile record

投稿

Deft version 0.2.0 – required-keys for Clojure protocols

sammystraus.com
31 ポイント·投稿者 sammy0910·27 日前·0 コメント

Sprinklz.io – An RSS reader with powerful algorithmic controls

sprinklz.io
1 ポイント·投稿者 sammy0910·先月·0 コメント

A simple templating library for LLM prompts

promptsrus.io
2 ポイント·投稿者 sammy0910·先月·3 コメント

[untitled]

1 ポイント·投稿者 sammy0910·先月·0 コメント

Show HN: Simple news aggregator with source bias meters

unbiasthenews.com
2 ポイント·投稿者 sammy0910·2 か月前·0 コメント

How Much LLMs is too much LLMs?

sammystraus.com
5 ポイント·投稿者 sammy0910·2 か月前·3 コメント

How Much LLMs is too much LLMs?

sammystraus.com
1 ポイント·投稿者 sammy0910·3 か月前·0 コメント

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

sprinklz.io
15 ポイント·投稿者 sammy0910·4 か月前·3 コメント

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

sprinklz.io
1 ポイント·投稿者 sammy0910·4 か月前·0 コメント

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

sammystraus.com
2 ポイント·投稿者 sammy0910·4 か月前·0 コメント

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

sammystraus.com
3 ポイント·投稿者 sammy0910·4 か月前·4 コメント

ShannonMax: A Library to Optimize Emacs Keybindings with Information Theory

github.com
83 ポイント·投稿者 sammy0910·5 か月前·21 コメント

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

youtube.com
1 ポイント·投稿者 sammy0910·5 か月前·0 コメント

Building Chess in about 350 lines of Clojure

sammystraus.com
3 ポイント·投稿者 sammy0910·5 か月前·0 コメント

Deft: A new replacement for Clojure objects using plain maps

github.com
8 ポイント·投稿者 sammy0910·6 か月前·2 コメント

コメント

sammy0910
·先月·議論
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 か月前·議論
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 か月前·議論
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 か月前·議論
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 か月前·議論
I like the analogy to social media here that's a neat thought
sammy0910
·3 か月前·議論
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 か月前·議論
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 か月前·議論
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 か月前·議論
(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 か月前·議論
i think this does make a point?
sammy0910
·4 か月前·議論
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 か月前·議論
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 か月前·議論
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 か月前·議論
this is a neat project! i know river and he is a very good engineer
sammy0910
·昨年·議論
this is a masterpiece of writing -- well done