@oscarmlage

1 Followers
62 Following
218 Posts

Hey there! I'm Óscar, a software developer living in Lugo, a small and beautiful city in the Northwest of Spain.

I enjoy playing with tech in general - specially if it implies console mode: ♡ keybs ✖ mouses - trying to learn new things, doing sports and lately I've discovered the wood-working and go-lang ^_^.

Oh as unpaid work... I have twins too.

webhttps://oscarmlage.com
combomosh+tmux+vim

How to migrate from one Mastodon server to another without losing your social connections (follow(ers|ing)):

1. Create an account on the new server.
2. NEW server: Preferences > Account > Moving **FROM** another account (Migrar de una cuenta diferente).
3. Submit old account ID.
4. OLD server: Preferences > Account > Moving **TO** another account (Mudarse a otra cuenta).
5. Submit new account ID.

It's a pity you can't migrate the toots too.

Estaba ya tan aburrido de insomnio que hasta he abierto Twitter, 4 anuncios ha durado la experiencia.
Listo! Migración completada con éxito, ahora le toca el turno a los DNS.
---
Done! Migration completed successfully, now it's time for the DNS to update.
Apreciados usuarios, se va a migrar mastodon.bofhers.es a un server más grande, el actual se está quedando pequeño. Perdón por las molestias.
---
Dear users, mastodon.bofhers.es is being migrated to a new bigger server, actual one is reaching its limits. Sorry for the inconvenience.
Take in account it's a quick-and-dirty script to help in the migration not a masterpiece of code :)

Finally found some time to migrate #gogs and #github to a new #gitea instance.

As they were/are a lot of repos, I'm having fun with bash:

Finally wrote a post that's been stewing for a while: What You Miss By Only Checking GitHub

Many researchers, entrepreneurs, open source sustainability commentators, et al. assume that GitHub activity is a reasonable proxy for FLOSS as a whole. It's not.

https://harihareswara.net/posts/2022/what-you-miss-by-only-checking-github/

Goes over some examples, a marketing graphic that made my eyebrows go up, research about how unrepresentative GitHub can be, and some tools to try.

What You Miss By Only Checking GitHub

Too many researchers, entrepreneurs, marketers, open source sustainability activists, and commentators assume that activity on GitHub and data from the GitHub API is a reasonable proxy for activity in and data about open source as … | Cogito, Ergo Sumana | Blog by Sumana Harihareswara, Changeset founder

Cogito, Ergo Sumana

I was playing a couple of hours with #golang in order to get something like a script that inserts #toots directly in the #mastodon database from the `outbox.json` file (you can request it in your preferences account... and yep, I'm still thinking about migrating).

Got something more or less readable (not usable yet, but almost):

https://git.oscarmlage.com/oscarmlage/mastodon-importer

I'm not so confident for now, but it's a *startpoint*.

oscarmlage/mastodon-importer

Mastodon, toots importer tool

Trying to Unmarshal a 560K json file to a custom struct got a stack overflow:

```
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc023700418 stack=[0xc023700000, 0xc043700000]
fatal error: stack overflow
```

I'm sure it's me doing something in a wrong way, but its weird #golang

Summer 2022 (kind of summary about some summer photos I've been posting over here) -- https://oscarmlage.com/posts/summer-2022/
Summer 2022

Summer went away and memories -for now- are between the retina and short term memory. This entry …

oscarmlage