News for hackers. Stuff that matters.

dimovich

@geokon made some good points. The library is very well thought out, easy to use, simple, data driven, composable. The author is eager to help with questions.
thi-ng/geom is my favorite Clojure project.
Moldova is like the Shire. Green hills, good wine, nice people. Not much to see but there's something peaceful about it. Happy to call it home.
Re:Thelonious Monk’s Tips for Musicians (1960) on Saturday December 24, 2022 @04:19AM (#34115278)
For improving rhythm I really like this book by Uwe Kropinski and highly recommend it:

https://www.kropinski.com/english/timing-problems-getting-in...

Re:Clojure Web Development Evolved [video] on Saturday July 30, 2022 @08:26AM (#32286251)
Yes, and if I may add a few more libraries that are actively maintained, with wonderful documentation and great functionalitY -- next.jdbc for SQL, Timbre for logging, Sente for websockets, Reitit for routing, Carmene for Redis, re-frame for frontend state management, Datascript for frontend DB, and many more.
Re:Elk OS – Audio Operating System on Tuesday May 25, 2021 @05:09AM (#27274601)
One such project is REAPER. It includes a lot of useful VST plugins. https://www.reaper.fm/download.php
Re:The anus is an evolutionary marvel on Friday May 21, 2021 @04:41AM (#27231774)
Squating... The sitting toilets that we have now are not good for the body.
Re:How much can a Clojure developer do alone? on Tuesday March 30, 2021 @03:57PM (#26639598)
I see REPL driven development more akin to writing music. I pick up the guitar and start playing. I can work on a small fragment and improve it until it sounds good to me. Or I can play the whole song. At all times I have instant feedback and I can hear what I'm working on.

In the case of the REPL you are playing your program. You can play a file, a function, or half of a function. Until it sounds right.

I lack the skill to use music notation for composition, so I rely on my instrument to give me feedback. And I lack the skill to execute the program in my head before I press compile, that's why I rely on the REPL.

Re:Oklab: A perceptual color space for image processing on Saturday December 26, 2020 @06:31AM (#25542781)
Another option for generating gradients is using cosine based pallets [1]. And a nice implementation [2].

[1] https://iquilezles.org/www/articles/palettes/palettes.htm

[2] https://docs.thi.ng/umbrella/color/#cosine-gradients

You posted on a full moon day, and this is exactly the vibe I get from your projects. Thank you for the wonderful libraries! I've been using thi.ng/geom and thi.ng/color before and the code is easy to use and modify.
Both frontend and backend written in Clojure. The code can be found at https://github.com/descryptors

Feedback and suggestions welcome!

I like the way he hints at singularity in Rainbows End.
Re:Show HN: A simple way to set goals you actually follow on Tuesday September 29, 2020 @09:55AM (#24627830)
It depends. For a bigger task, can you divide it into smaller chunks? Do you have enough time to allocate a bigger block?

If the task took less than the block... hey, free time!

Re:Show HN: A simple way to set goals you actually follow on Tuesday September 29, 2020 @09:12AM (#24627353)
Exactly. Make space and the action will follow. Reminds me of a quote by John Carmack - “Focus is a matter of deciding what things you're not going to do.”
Re:Show HN: A simple way to set goals you actually follow on Tuesday September 29, 2020 @06:13AM (#24625859)
I have a feeling a better way to follow through your goals is to decouple tasks from the time it takes to do them. Divide your time in blocks, one tasks per block. The time doesn't depend on the task, and the task doesn't depend on which block you choose to do it. For me, 3 blocks per day is optimum.
Re:Specter – Clojure API for immutable programming (2017) on Friday September 04, 2020 @05:02PM (#24378861)
Specter is really handy for manipulating data structures, and have been happily using it.

I wonder, is it possible to select some subset of a map? Say you have these paths:

(def paths [[:some :path] [:another :deeper :path] [:yet :another :one] [:yet :another :one :deeper]])

And select from a map these paths. You could do it with get-in, but maybe Specter can do it faster? I couldn't find a way to do it with Specter...

Re:Lightweight Alternatives to Google Analytics on Thursday June 18, 2020 @07:12AM (#23561946)
Thank you for the writeup. Always nice to see new applications of Metabase. Will try it out.
Re:Luminus – A Clojure Web Framework on Monday April 13, 2020 @06:42PM (#22860995)
Another backend mini-framework is Roll.

https://github.com/dimovich/roll

Re:Boids on Tuesday March 31, 2020 @09:01AM (#22737045)
My simple implementation in C / ClojureScript.

https://dimovich.github.io/art/

Re:A Starter Kit for Emergency Websites on Tuesday March 24, 2020 @05:23PM (#22679181)
Thank you for sharing this project! This could work nicely also for people wanting to move their business online. Multumiri!
Re:Ask HN: Best way to increase typing speed? on Wednesday March 18, 2020 @06:27PM (#22621991)
I learned using this program: https://solo.nabiraem.ru/en/
Re:How I recorded an album on my own, in my room on Tuesday March 17, 2020 @06:54PM (#22611494)
I posted a similar question recently on a forum. Here is the discussion -- https://forum.cockos.com/showthread.php?t=230362
Re:HSLuv, a developer friendly perceptual color space on Tuesday March 10, 2020 @08:21AM (#22534772)
Here is a cosine based gradient generation [1]. And an example implementation from thi.ng/color [2].

[1] http://www.iquilezles.org/www/articles/palettes/palettes.htm

[2] https://github.com/thi-ng/color/blob/master/src/gradients.or...

Re:Consciousness Isn’t Self-Centered on Tuesday March 03, 2020 @08:14AM (#22474163)
When it comes to consciousness, I really like the ideas of Douglas Hofstadter [0]. This article feels like a step backwards from that.

[0] https://en.wikipedia.org/wiki/I_Am_a_Strange_Loop

Re:Book Review. Tiny Habits (2020) by BJ Fogg on Sunday February 23, 2020 @06:10PM (#22400211)
Reminds me of this quote by Larry Bernstein from Bell Communications Research:

"Prototyping cuts the work to produce a system by 40 percent."

Re:State of Clojure 2020 on Friday February 21, 2020 @01:50PM (#22385639)
Yes, the official Clojure build tool (deps.edn) is amazing. The ability to use local projects as deps is very useful. It allows to split your bigger project into smaller projects and reuse them. It's also possible to use directly git repos as deps which is useful for trying the latest libs.

This, coupled with a REPL driven development gives you a very interactive and agile dev experience.

Re:Unofficial Winamp Web Site on Friday February 14, 2020 @07:33AM (#22326005)
I'm using Reaper as an audio player. :)
Re:Clojure: `every-pred` and `some-fn` on Monday January 06, 2020 @11:41AM (#21970522)
Thank you for sharing this! Another useful library with "missing" functions is Medley[0] by James Reeves.

[0] https://github.com/weavejester/medley

Older »