ML boosted

Why are recommendation engines always about consuming more and more?
With attention becoming a precious scarce resource, apps should stop limiting themselves to "you'll like this, add this, and this, and this" suggestions, and instead also give smart suggestions for things like "you don't seem to be enjoying this podcast, remove it" or "this RSS feed content seems crap, stop wasting time on it".

ML boosted

Attack Vector for FOSS 

It's sad that rude people make, unjustified demands of the open source software developers.

gemini://gemini.susa.net/attack_vector_for_foss.gmi

Creator of Clojure has expressed his view on this,

"If you have expectations (of others) that aren't being met, those expectations are your own responsibility. You are responsible for your own needs. If you want things, make them."

I looked at the Erlang part of Elixir's source code to figure out how Elixir supports definitions inside for loops, since in theory it seemed like that would require mutable state. It turns out that they basically *do* use mutable state. More specifically, they use ETS ("Erlang Term Storage") to store function definitions during the compilation of a module.

Show thread

I've been having some fun with Elixir. The macro system is really great, and it synergises well with Elixir's pattern matching. You can see it in how they implement unicode support directly in Elixir itself:

github.com/elixir-lang/elixir/

Basically they load standard unicode.org text files containing data about unicode code points, and then loop over the relevant code points and generate a function clause for each one, all this at compile time.

You can see it in action in the link, in the function do_trim_leading, which removes leading whitespace: the list of whitespace is loaded from lines 275 to 294, and the function clauses are generated on lines 302 to 304. Line 306 contains the clause for when it's not preceded by whitespace.

Being snarkily dismissive is very tempting at times, but I think I should avoid doing it.

ML boosted
ML boosted

Language 

Math is fucking awesome

For lesswrong links, a useful mirror is greaterwrong, accessed by just change the "less" in the url to "greater". It loads much faster, and you can read the comments even if you have javascript disabled.

The link I just boosted, but changed to greaterwrong:

greaterwrong.com/posts/mXgsd5o

ML boosted

Playing around with Elixir, and it seems that you *can* make a macro that generates macros in this language. I am satisfied.

I've been hesitating to post a link to my gemlog for no good reason, this is it:

gemini://gemlog.blue/users/ml/

ML boosted

I am looking for unusual pages in Geminispace! If you have any such pages, please send me information on them! Please boost! :boosts_ok:
proxy.vulpes.one/gemini/gemlog

ML boosted

If you're programming and feel like you aren't getting anywhere, I would recommend learning a field of math related to what you are doing. I've felt stuck for years, but now I feel like I am making progress that I wouldn't have been able to before.

I did need to eat something, but talking with a friend also helped :)

Show thread

I need to continue preparing a presentation but I'm too stressed to focus. I think I also need to eat something

Wow, Spectre seems like a really cool clojure library:

nathanmarz.com/blog/clojures-m

I really want to check it out!

ML boosted

Found this in the back of an old book and I thought some of you might appreciate it:

ML boosted

gemlog.blue is a convenient site for hosting a gemlog (gemini blog), for fake nerds like me who won't get around to hosting one themself for a while

gemlog.blue

The view of the city on the way home from my parents' house is gorgeous. Unfortunately I can't enjoy it properly; gotta keep my eyes on the road!

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.