I don't want a social network. I want a network for discovering and sharing content.

ActiveRecord::Persistence defines an update instance method, accepting attributes, that tries to save to database and returns false if it did not work.

It also defines .update class method, accepting id and attributes, that returns object no matter if persisting succeeded.

This is most Rails thing I discovered in a while.

Holy crap, google is apparently taking down all/most fediverse apps from google play on the grounds that that some servers in the fediverse engage in hate speech. At least three apps I know of anyway and I'd imagine the others will follow soon under the exact same reasoning.} Seems to be the case with Husky, Fedilab, and "subway" tooter.

this is a scary precedent if google play is going to ban any apps that can in any way be used to access content with hate speech. So what about a forum client, do they take that down just because there is a forum somewhere on the internet posting hate speech?

This is particularly worrisome because for most people Google Play is the only way they understand to install apps at all.

Picture attached of one of the notices received by fedilab.

toot.fedilab.app/@fedilab/1047

mastodon.social/@Gargron/10476

@fedilab @tateisu #fediverse #mastoadmin #freespeech #censorship

OH: "GNU Emacs, which is a sort of hybrid between Windows Notepad, a monolithic-kernel operating system, and the International Space Station."

I might have found an architectural/code organisation pattern to "fix" Rails, i.e. no quickly end up with unmaintainable entangled mess. I coded a small REST API with it and:

* I was able to add new endpoint+feature as fast as with Rails Way
* Whole application logic was coded and tested before writing any controller code
* Seventy-something tests for 8 endpoints run in under a second

Those Mozilla news are quite depressing.

Mozillians told me several years ago that org strategy and management were crappy, here's the result.

But consequences for the web evolution (monoculture, standards committees), developers (MDN !) and user privacy are profound and bad.

Okay people, we've seen #Mozilla degrade more and more for years, and we've always hoped it will find its way and get better.

Now people working on Developer Tools, #MDN, and the Rust team - arguably some of the most useful and valuable teams at Mozilla - have been laid off, to make space for more profit making activities.

This is utter bullshit.

But perhaps this is also an opportunity. The FLOSS community forked OpenOffice, XFree86, and other huge projects.

#ForkMozilla?

#MozillaLifeboat

Today was one of those fascinating days when you spend eight hours hunting down stale cache and redundant model associations in huge and quite legacy codebase.

This weekend I finally finished working on Heroku buildpack for / Joy framework. The background job using jurl (curl wrapper for Janet) works with Heroku scheduler. Still need to write some readme and properly cache curl upgrade compilation.

So I built my first "web app" in

isjanetthereyet.herokuapp.com/

I'm not gonna lie, this wasn't easy, but in the end quite rewarding. Lot's of low-level stuff (for example pg driver does not handle date, because Janet does not have date type, so you have to do it manually).

It's been a while since I wrote a blog post. Here's one from few days ago about using profiling tools to understand how Ruby apps work: katafrakt.me/2020/05/03/unders

Interesting thread on Twitter about Rails, Spring and Bootsnap: twitter.com/avdi/status/125674

Personally I think Bootsnap is pretty good, although it does not need to be added right away for every Rails app. Spring on the other hand only causes problems.

Current status: trying to write PEG grammar to parse SDLang documents using Parslet.

Links for reference:

SDLang: sdlang.org/
Parslet: kschiess.github.io/parslet/

This is surprising, but Zoom works sooo much better on Linux than on MacOsX.

I decided to create an account on ruby.social, so: hello all!

I had previous mastodon account but nothing really going on there, so I probably won't bother with a proper migration.

Ruby.social

A Mastodon instance for Rubyists & friends