HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sammy0910

no profile record

Submissions

Deft version 0.2.0 – required-keys for Clojure protocols

sammystraus.com
31 points·by sammy0910·قبل 27 يومًا·0 comments

Sprinklz.io – An RSS reader with powerful algorithmic controls

sprinklz.io
1 points·by sammy0910·الشهر الماضي·0 comments

A simple templating library for LLM prompts

promptsrus.io
2 points·by sammy0910·الشهر الماضي·3 comments

[untitled]

1 points·by sammy0910·الشهر الماضي·0 comments

Show HN: Simple news aggregator with source bias meters

unbiasthenews.com
2 points·by sammy0910·قبل شهرين·0 comments

How Much LLMs is too much LLMs?

sammystraus.com
5 points·by sammy0910·قبل شهرين·3 comments

How Much LLMs is too much LLMs?

sammystraus.com
1 points·by sammy0910·قبل 3 أشهر·0 comments

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

sprinklz.io
15 points·by sammy0910·قبل 4 أشهر·3 comments

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

sprinklz.io
1 points·by sammy0910·قبل 4 أشهر·0 comments

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

sammystraus.com
2 points·by sammy0910·قبل 4 أشهر·0 comments

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

sammystraus.com
3 points·by sammy0910·قبل 4 أشهر·4 comments

ShannonMax: A Library to Optimize Emacs Keybindings with Information Theory

github.com
83 points·by sammy0910·قبل 5 أشهر·21 comments

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

youtube.com
1 points·by sammy0910·قبل 5 أشهر·0 comments

Building Chess in about 350 lines of Clojure

sammystraus.com
3 points·by sammy0910·قبل 5 أشهر·0 comments

Deft: A new replacement for Clojure objects using plain maps

github.com
8 points·by sammy0910·قبل 6 أشهر·2 comments

Automatically create a Dark Mode from your existing Emacs theme

github.com
3 points·by sammy0910·السنة الماضية·0 comments

Show HN: Use AI to create an Alert about Anything

alertonanything.com
1 points·by sammy0910·السنة الماضية·2 comments

Why Lisp is the Language of Legends [video]

youtube.com
6 points·by sammy0910·السنة الماضية·1 comments

comments

sammy0910
·الشهر الماضي·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
·قبل شهرين·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
·قبل شهرين·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
·قبل شهرين·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
·قبل شهرين·discuss
I like the analogy to social media here that's a neat thought
sammy0910
·قبل 3 أشهر·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 أشهر·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 أشهر·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 أشهر·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 أشهر·discuss
i think this does make a point?
sammy0910
·قبل 4 أشهر·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 أشهر·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 أشهر·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 أشهر·discuss
this is a neat project! i know river and he is a very good engineer
sammy0910
·السنة الماضية·discuss
something I found challenging when I was building was -- how do you make the speed fast enough so that it still creates a smooth browsing experience?

I'm curious how you tackled that problem
sammy0910
·السنة الماضية·discuss
I built something that did this a bit ago

https://github.com/sstraust/simpleweb
sammy0910
·السنة الماضية·discuss
I built a project that basically does this for emacs

https://github.com/sstraust/simpleweb
sammy0910
·السنة الماضية·discuss
this is a masterpiece of writing -- well done
sammy0910
·السنة الماضية·discuss
yeah -- it takes a little work to kind of get things to work consistently and get it exactly right, but it's information gathering + a validator to see whether the condition has been met.
sammy0910
·السنة الماضية·discuss
most people I know eschew the use of with-redefs for testing because it's hard to verify that the testing environment is configured correctly as the codebase changes (but otherwise I second the points about immutability by default, and static/pure functions!)