Email or username:

Password:

Forgot your password?
12 posts total
Arne Brasseur

Creating, yet not possessing.
Working, yet not taking credit.
Work is done, then forgotten.
Therefore it lasts forever.

- Laozi, 6th century BCE, talking about open source

Arne Brasseur

Heart of Clojure tickets are now available for purchase! We have a limited batch of early birds so don't sleep on it!

2024.heartofclojure.eu/

#heartofclojure

Miikka

@plexus The ticket site asks me to assign the diversity scholarship contribution to me/somebody else. I can just ignore that, right?

Arne Brasseur

We are officially open for accepting sponsors for #heartofclojure! Here's our lovely Sponsor Prospectus which lays it all out in a spiffy slide deck

2024.heartofclojure.eu/Sponsor

Now the fun* part of cold emailing starts, but if any of you lovelies already want to pass this on to "upstairs" wherever it is you happen to work or have connections, then that would be extremely appreciated.

*not fun

Arne Brasseur

What's your favorite "simple" tech? Anything that fits the template "it's like <popular thing>, but with one tenth of the complexity"

Show previous comments
Niki Tonsky

@plexus Ansible, if it counts (I guess by modern standards there are 10x and 100x tools that do the same)

Niki Tonsky

@plexus Syncthing, definitely 10x simpler than e.g. Dropbox

Niki Tonsky

@plexus Sublime Text, if you compare it to VS Code

Arne Brasseur

In light of Chrome's "DRM for web pages" proposal, let me just say that I've been using Firefox exclusively (mostly Nightly) for years. It's gotten really good. The devtools are great, the performance keeps getting better, excellent spec compliance. I really recommend checking it out.

My name is Arne Brasseur and I wholeheartedly endorse Firefox.

DELETED

@plexus would love to, but the abnormally large design of tabs irks me the wrong way, and Firefox no longer has themes that change that, instead they now have something more akin to skins, not real themes they used to.

pjaspers

@plexus I've been using it as a daily driver for a couple of years now, I can recommend it but it's no Camino

technomancy (turbonerd aspect)

@plexus trying to remember the last time I ran into a page that broke in firefox but worked in chromium but I can't, it's been years and years

Arne Brasseur

EU initiative to connect all EU capitals with high speed rail. Let's get this to the moon! Please sign (if you're EU citizen) and repost the living hell out of this!

🔥 🚆 🔥

europa.eu/citizens-initiative/

Show previous comments
Ingo Lantschner

@plexus

Ösi: »Hammas wirklich so gnädig?«

Piefke: »Haben wir es wirklich so eilig?« (»Pressierts uns a so?« für den Freistaat)

Oxford: »Are you really in such a hurry?«

Ernsthaft: Ich würde diese Idee nochmals überdenken. Hochgschwindigkeitsbahnstrecken können sich wegen der weiten Kurvenradien und geringen Steigungen der Landschaft nicht anpassen. Die dafür nötigen Trassen werden einfach in die Landschaft gekotz. Und verkehrsvermeidend wirken die auch nicht. Im Gegensatz zu einem weit verbreiteten Irrtum, spart Bahnfahren keine CO₂ sondern stößt nur weniger aus, als ein Fahrt mit dem Auto.

#Verkehrswende auch durch #Verkehrsvermeidung

@plexus

Ösi: »Hammas wirklich so gnädig?«

Piefke: »Haben wir es wirklich so eilig?« (»Pressierts uns a so?« für den Freistaat)

Oxford: »Are you really in such a hurry?«

Ernsthaft: Ich würde diese Idee nochmals überdenken. Hochgschwindigkeitsbahnstrecken können sich wegen der weiten Kurvenradien und geringen Steigungen der Landschaft nicht anpassen. Die dafür nötigen Trassen werden einfach in die Landschaft gekotz. Und verkehrsvermeidend wirken die auch nicht. Im Gegensatz zu einem weit verbreiteten...

DELETED

@plexus the project page is not clear on this, are they aware of the already ongoing projects in this area or not? For example #RailBaltica ? Lot of things are already being done


@plexus please think about the people BETWEEN the capitals first.

Arne Brasseur

Episode 3 of #ActivityPubInClojure is up! It was really quiet on the chat, which was a bummer. Hope to get a bit more interaction on future streams. A few people posting in chat makes the difference between invigorating and mentally draining...

Stuff is starting to come together though, we've implemented our first two endpoints. We can generate test users, and see them pop up in the API. So a lot of the plumbing is there now and we should be able to iterate on the protocol stuff really nicely going forward.

youtu.be/cru7E96pLAM

#Clojure #ActivityPub

Episode 3 of #ActivityPubInClojure is up! It was really quiet on the chat, which was a bummer. Hope to get a bit more interaction on future streams. A few people posting in chat makes the difference between invigorating and mentally draining...

Stuff is starting to come together though, we've implemented our first two endpoints. We can generate test users, and see them pop up in the API. So a lot of the plumbing is there now and we should be able to iterate on the protocol stuff really nicely going forward.

Ryuno-Ki

@plexus
Is knowledge in Clojure a precondition?

Arne Brasseur

Has really no one created a LISP syntax frontend for the Rust compiler, or is my google fu just failing me?

Rommudoh

@plexus You mean, like Hy for Python, or Fennel for Lua?

I did find a few Lisp interpreters written in Rust, but that might not be what you meant.

Arne Brasseur

Little Clojure tip: name sets as if they are predicates (where appropriate).

In Clojure it's quite common to use sets as functions (it acts as a function that tests membership).

(some #{a} coll)
(filter (comp #{1 2 3} :id) coll)

This is idiomatic, if you've done a bit of Clojure you will read this easily, because they are set literals it's quite obvious. But if the set is defined somewhere else, then suddenly it gets a lot less obvious.

(def admin-ids #{53 65 78})

(when (admin-ids (:id user)) ,,,)

In this case I would probably use an explicit contains?, at least that shows that it has to be a set or map.

(when (contains? admin-ids (:id user)) ,,,)

But you can also name the var as if it's a function

(def admin-id? #{53 65 78})
(when (admin-id? (:id user)) ,,,)

And this way you could refactor this later to actually be a function, e.g. something that checks the database.

#clojure

Little Clojure tip: name sets as if they are predicates (where appropriate).

In Clojure it's quite common to use sets as functions (it acts as a function that tests membership).

(some #{a} coll)
(filter (comp #{1 2 3} :id) coll)

This is idiomatic, if you've done a bit of Clojure you will read this easily, because they are set literals it's quite obvious. But if the set is defined somewhere else, then suddenly it gets a lot less obvious.

Show previous comments
Josh Kingsley

@plexus I tend to only use sets as functions when it’s a set literal or otherwise very obvious that the value is a set. contains? makes it much more readable in most cases IMO

Mikko Koski 🇫🇮

@plexus Isn't there quite strong concensus that functions ending in question mark should return boolean? Sets return the item, which isn't boolean, necessarily.

russ

@plexus an interesting idea! I love sets as functions to the point where i hardly use `=` anymore.

Arne Brasseur

The first #ActivityPubInClojure went well I think. We talked JSON-LD, RDF, and looked at how to convert back and forth to idiomatic Clojure data.

Hoping to stream again around the same time on Sunday.

Video: youtu.be/c8Gc4hIfSwc

Arne Brasseur

I'm looking for a company that would be willing to host a #Clojure meetup in #Leuven, Belgium, some time in December.

Needs: space for up to a dozen people to sit + a projector.

Who should I talk to?

Go Up