alexanderadam

@alexanderadam@ruby.social

Software developer working in #ruby & #crystal as a #freelancer and at vade.io.

Tweets may appear in English & German.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mackuba, to ruby
@mackuba@martianbase.net avatar

Current status: I opened about 100 links to articles and threads from Google results comparing #ruby, #golang and #rustlang and I'm planning to read them 🫠

(no, I'm not really considering Go, mostly just trying to convince myself that I'm not making a mistake starting to learn Rust and not Go 🦀😛)

alexanderadam,

@mackuba maybe you want to add @CrystalLanguage to that comparison list? 🥹

alexanderadam,

@mackuba @CrystalLanguage the community aspect is true for sure but performance-wise Go isn't faster. They're more or less the same. Some benchmarks are faster in each of them. The problem is that both of them use a garbage collector.

The compile workflow thing can't be an argument if you decide to add Rust or Go to your stack. Because they need to be compiled too.

But if you keep Ruby anyway, then Crystal would be a perfect fit if you'd consider Go a viable option as well.

alexanderadam,

@mackuba @CrystalLanguage Rust is more efficient during the runtime but it also takes more development and maintenance time.

So all in an Go doesn't bring anything to the table except a bigger community.
Rust is faster but also brings more development overhead.
Crystal delivers Go performance with Ruby development speed.
The only disadvantage is that the community is not as big.
That is all.

tosbourn, to rubyonrails
@tosbourn@masto.ai avatar

I’m working on a project that has some memory issues with their jobs.

Used a memory profiler, one job made just over 1,000,000,000 memory allocations (billion, with a b!)

I’ve my work cut out, but I think I’m gonna learn a tonne about memory best practice

alexanderadam,

@tosbourn will you document that vest practices? 🥹

alexanderadam,

@tosbourn cool, thank you!
Will you ping me once you did? 🥹

mackuba, (edited ) to ruby
@mackuba@martianbase.net avatar

Oh man… I've been building several different versions of integration between #Ruby and #RustLang or JS whole evening… and I feel like this 😵‍💫 and ihavenoideawhatimdoing.jpg 🐶

But it's starting to work and it looks like it should be pretty fast ⚡

alexanderadam,

@mackuba may I ask why you decided to do it in Rust and not in something like @CrystalLanguage ?

alexanderadam,

@mackuba @CrystalLanguage I see.

Got it.
Looking forward to the bug report.

alexanderadam,

@mackuba @CrystalLanguage I think I read about the new Regex engine being slower.
Maybe this comes due to the additional valuations.
Probably @straightshoota knows more about this.

b0rk, to random
@b0rk@jvns.ca avatar

i've been adding a lot of "rules" to my posts on here about what kind of replies I want ("no starting arguments!” "no explaining what a git commit is!”)

Here's a thread about why! Some of my goals are:

  1. have nuanced discussions & stay on topic
  2. hear from a diverse set of people
  3. learn new things about how people use computers

let’s talk about each of them!

(1/11)

alexanderadam,

@b0rk I hope that my comment is kinda on topic because I have to tell you this:

Your work is amazing. All this time I've been enjoying your posts and the media that you're creating.

And your rules just emphasize what a wonderful person you are.

Have a wonderful day. 🌞

alexanderadam, to Notesnook

@notesnook there's some feedback (not mine) that might be relevant to you:

https://theprivacydad.com/im-sticking-with-standard-notes/#notesnook-cons

jwildeboer, to random
@jwildeboer@social.wildeboer.net avatar

Yay! Got git via ssh working on my test instance that runs as container in Podman on a RHEL box with full protection.

alexanderadam,

@jwildeboer do you have the setup available as an #Ansible playbook or so?
I'm looking forward to something similar but with #GitLab instead.

alexanderadam, to mastodon

@lucian did you somewhere create a list of the amazing Ruby/Rails FOSS applications or so?

Often underrated are also

alexanderadam, to linux

Does anyone who's proficient with #LUKS and #LVM on #Linux know how possibly to rescue data? 🥺

https://serverfault.com/questions/1146929/how-to-rescue-an-encrypted-luks-partition-that-was-partially-modified-by-a-windo

The underlying system is @ubuntu but I don't think that it's specific to that.

Please share for a higher chance of getting help. 🙏🏻

alexanderadam,

I'm sorry for mentioning you @popey, but is there any chance that you know someone or that you have a resource that might help?

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

what git jargon do you find confusing? thinking of writing a blog post that explains some of git's weirder terminology: "detached HEAD state”, "fast-forward", "index/staging area/staged", “ahead of 'origin/main' by 1 commit”, etc

(really only looking for terms that you personally find confusing, not terms that you think someone else might be confused about)

alexanderadam,

@b0rk most of it really. I just got used to it over time.

Even knowing the background of "pull request" lets it still be confusing in my head and I'm glad that #GitLab didn't copy the term blindly and went for "merge request" instead.

tenderlove, to random
@tenderlove@mastodon.social avatar

Please people. It's not "Mastodon", it's "ActivityPub/Mastodon"

alexanderadam,

@tenderlove I'm so Masto…done with these jokes.

fedora, to fedora
@fedora@fosstodon.org avatar
alexanderadam,

@fedora @slimbook I would love to know how the noise level is and how long the battery lasts.

alexanderadam, to random

I was a little bit hoping that @lucianghinda would also mention @CrystalLanguage after mentioning #opalrb at @friendlyrb. But #CrystalLang isn't Ruby to be fair. 😄

It's cool though to see #roda, @ronin_rb and @bridgetownrb mentioned at #friendlyrb though. 🤩

b0rk, to random
@b0rk@jvns.ca avatar

bluesky has this cool feed where you can see every post from your followers and I wish I had that on mastodon

(i can imagine a few different ways to achieve the same thing here but it’s really nice to be able to just click on it casually)

alexanderadam,

@b0rk

/CC @toddsundsted maybe that would be a great feature idea for the ktistec UI?

It would only work for the posts that the instance is aware of but it still sounds pretty neat‽

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

some notes on using a single-person Mastodon server https://jvns.ca/blog/2023/08/11/some-notes-on-mastodon

alexanderadam,

@b0rk you might also be interested FediBuzz which is basically "trends".

People can donate their read only tokens to donate their timelines. Amazing idea by @astro:

https://fedi.buzz/

And there's also a single user ActivityPub server written in @CrystalLanguage called "ktistec" by @toddsundsted (super complicated name — I know):

https://github.com/toddsundsted/ktistec/

threemaapp, to random
@threemaapp@mastodon.social avatar

Abgseh vo offesichtliche Sache wi Fondue, enere Sprach ohni Rächtschribregle und Threema, was gfallt Ihne bsunders a de Schwiiz? 🇨🇭🎆

alexanderadam,

@puniko @threemaapp hubbla? Umcha tschalppu? 🥺

alexanderadam,

@puniko @threemaapp mercii viumau 🙌

alexanderadam, to android

Thanks to HertzDevil
you can now natively install @CrystalLanguage on your @android device's .

Before you had to use or @homebrew for that.

https://github.com/termux/termux-packages/pull/17428

b0rk, to random
@b0rk@jvns.ca avatar

also, if you used to use Linux on your personal computer but don't anymore, what made you switch away from it?

for me: I'm on a break from Linux right now because I was having some extremely annoying power management issues I couldn't figure out (it kept running out of battery while asleep), and there was some Mac/Windows-only software I wanted to use

alexanderadam,

@b0rk hardware is usually one of my concerns too. 😔
Before I buy hardware I'm usually double checking the sources how the experience of others is with this particular device.

Some distributions have lists where it's written how good or bad something runs and I'm sad that this is even necessary.

Also I don't want to install unstable Kernels or drivers.

I know that it doesn't help you much but I'm sorry that you're experiencing power management issues.

b0rk, to random
@b0rk@jvns.ca avatar

if you use Linux on your personal computer: what do you like about it?

I used to be super into customizing my window manager, but now I mostly like that it's so easy to install software, and that the environment is the same as on a Linux server

(please no arguing about whether people "should" use Linux on their personal computers, I'm just curious about why you personally like it)

alexanderadam,

@b0rk the reasons for using it changed over the years.
Nowadays I'm customizing close to nothing.
But before I buy a computer I check whether all the hardware runs smoothly on Linux.

But I guess some of the current reasons are:

⚪ Flatpack is the perfect distribution format for applications in regards of dependencies, security and the possibility of getting the new stuff
⚪ running Podman/Docker is smooth and does not involve any VM

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines