alexanderadam's Avatar

alexanderadam

@alexanderadam.ruby.social.ap.brid.gy

Software developer working in :ruby: #ruby & :crystal: #CrystalLang as a #freelancer and at vade.io. :whyfox: Posts may appear in English & German. There might be […] πŸŒ‰ bridged from ⁂ https://ruby.social/@alexanderadam, follow @ap.brid.gy to interact

20
Followers
1
Following
109
Posts
21.01.2025
Joined
Posts Following

Latest posts by alexanderadam @alexanderadam.ruby.social.ap.brid.gy

C0DATA β€” Structure Data with Control Codes

You're looking for something that's readable but more efficient and smaller than #JSON or #YAML?
Structure data with #ASCII control codes like people did in 1963!

https://trans.github.io/c0data/

There's also a library in @CrystalLanguage available.

#crystallang #crystallanguage

10.03.2026 00:40 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
Debugger Engineer - Jobs at Apple (UK) Apply for a Debugger Engineer job at Apple. Read about the role and find out if it’s right for you.

My team at Apple is hiring Debugger Engineer to work on LLDB in London: https://jobs.apple.com/en-gb/details/200643284/debugger-engineer
If you’re interested, please submit your CV through the website. Feel free to get in touch with me if you have any questions!

10.02.2026 19:14 πŸ‘ 2 πŸ” 8 πŸ’¬ 1 πŸ“Œ 1
Original post on mastodon.phoenixtrap.com

TIL #PostgreSQL 16 and above has a level above the SUPERUSER role: the "bootstrap superuser," from whom you cannot revoke SUPERUSER privileges: https://www.postgresql.org/docs/18/glossary.html#GLOSSARY-BOOTSTRAP-SUPERUSER

And since internal components may still refer to it by name or expect it […]

26.01.2026 02:10 πŸ‘ 0 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

@kravietz what model are you using it with?

19.01.2026 09:46 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 1

RE: https://mastodon.social/@rileytestut/115917812751736532

OK nevermind, THIS is the coolest thing I’ve ever done to my iPhone

18.01.2026 20:34 πŸ‘ 15 πŸ” 65 πŸ’¬ 4 πŸ“Œ 0
Original post on fosstodon.org

Vojtux - Accessible Linux distro which is almost pure Fedora

VojtΔ›ch PolΓ‘Ε‘ek has put together a technical preview of a version of Fedora that should work well for blind or visually impaired users. While his goal is explicitly to see these improvements and changes become part of Fedora itself […]

14.12.2025 02:49 πŸ‘ 12 πŸ” 11 πŸ’¬ 1 πŸ“Œ 0
Terence Tao (@tao@mathstodon.xyz) Recently, the application of AI tools to Erdos problems passed a milestone: an Erdos problem (#728 https://www.erdosproblems.com/728) was solved more or less autonomously by AI (after some feedback from an initial attempt), in the spirit of the problem (as reconstructed by the Erdos problem website community), with the result (to the best of our knowledge) not replicated in existing literature (although similar results proven by similar methods were located). This is a demonstration of the genuine increase in capability of these tools in recent months, and is largely consistent with other recent demonstrations of AI using existing methods to resolve Erdos problems, although in most previous cases a solution to these problems was later located in the literature, as discussed in https://mathstodon.xyz/deck/@tao/115788262274999408 . This particular case was unusual in that the problem as stated by Erdos was misformulated, with a reconstruction of the problem in the intended spirit only obtained in the last few months, which helps explain the lack of prior literature on the problem. However, I would like to talk here about another aspect of the story which I find more interesting than the solution itself, which is the emerging AI-powered capability to rapidly write and rewrite expositions of the solution. (1/5)

So there's a #Mastodon instance for people that are into #math called mathtodon… and that instance allows users to use #LaTeX.

The #Fediverse is amazing on so many levels.
Ah, and also you might read about #Erdos problem 728: πŸ˜‰

https://mathstodon.xyz/@tao/115855840223258103

09.01.2026 23:38 πŸ‘ 1 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Preview
You are not required to close your <p>, <li>, <img>, or <br> tags in HTML Debunking an alarmingly common HTML misconception.

I'm writing HTML by hand today and was reminded that closing <p> and <li> tags is optional https://blog.novalistic.com/archives/2017/08/optional-end-tags-in-html/

09.01.2026 20:10 πŸ‘ 1 πŸ” 5 πŸ’¬ 6 πŸ“Œ 1
Preview
Friendly.rb 2023

@adrian is it my device/internet or is there an issue with the gallery?

https://friendlyrb.wfolio.pro/disk/2023

08.01.2026 19:18 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Editor to generate a fake internal server error page complete with You, Cloud, Server in red and green

Editor to generate a fake internal server error page complete with You, Cloud, Server in red and green

Ran into a problem in prod?
Just generate a fake cloudflare error page and blame it on them - gives you time to fix.

#foss #devops #cloudflare #infosec

16.12.2025 06:39 πŸ‘ 64 πŸ” 29 πŸ’¬ 2 πŸ“Œ 0

I lost a lot of work by accident that I didn't push yet. πŸ₯²

And I excluded them from backups because I thought that I'd push them "soon" anyway.

All it took was a mistake when running `rsync`.

Stay safe folks.

22.12.2025 13:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

@marcoroth here's the official clip from Rails Foundation:

18.12.2025 13:13 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Xavier giving Marco the award

Xavier giving Marco the award

I'm really happy to see @marcoroth receive the 2025 Rails Luminary Award! πŸŽ‰

He’s done so much for the Rails ecosystem and the broader Ruby community.
He's always humble, thoughtful, and full of positive energy.
And I think that he never sleeps. πŸ˜…
Feels great to […]

[Original post on ruby.social]

17.12.2025 19:55 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Original post on ruby.social

@eregon is `ArgumentError: UTF-16 string byte length (51) is not a multiple of 2` something that should be handled in my PR or in TruffleRuby?
ArgumentError is semantically off but I vaguely remember that it was some encoding performance stuff or so?

It would be nice if it would act like the […]

12.12.2025 18:20 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Incomplete list of mistakes in the design of CSS Comments

Incomplete List of Mistakes in the Design of #CSS:

https://wiki.csswg.org/ideas/mistakes

11.12.2025 12:13 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
uringmachine/benchmark/README.md at main Β· digital-fabric/uringmachine A lean mean io_uring machine. Contribute to digital-fabric/uringmachine development by creating an account on GitHub.

Wow, @noteflakes' #uringmachine looks very promising:

https://github.com/digital-fabric/uringmachine/blob/main/benchmark/README.md

#ruby #rubyprogramming #rubyonrails

09.12.2025 22:10 πŸ‘ 0 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
[39c3] Wie wir alte Flipperautomaten am Leben erhalten Der Vortrag gibt einen Einblick in die verschiedenen Generationen von Flippern und deren Technik. Angefangen von elektromechanischen GerΓ€ten aus den frΓΌhen Sechzigern, ΓΌber erste Prozessorsteuerungen, bis hin zu modernsten computergesteuerten Auto...

@noniq https://fahrplan.events.ccc.de/congress/2025/fahrplan/event/wie-wir-alte-flipperautomaten-am-leben-erhalten

Musste gerade an Dich denken πŸ˜…

03.12.2025 05:08 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
git/Documentation/gitdatamodel.adoc at master Β· git/git Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documen...

this fall I worked with the core Git folks on writing an official data model for Git and it just got merged! I learned a few new things from writing it. https://github.com/git/git/blob/master/Documentation/gitdatamodel.adoc

02.12.2025 16:59 πŸ‘ 5 πŸ” 56 πŸ’¬ 4 πŸ“Œ 1
zine sale!  coming november 28, 50% off PDF zines, 30% off print zines 

A cartoon of a person in a spacesuit, accompanied by a penguin (also in a spacesuit), flying through a colourful tunnel. The person has an excited expression, a medium skin tone, and big curly hair that fills the bubble helmet of their spacesuit.

zine sale! coming november 28, 50% off PDF zines, 30% off print zines A cartoon of a person in a spacesuit, accompanied by a penguin (also in a spacesuit), flying through a colourful tunnel. The person has an excited expression, a medium skin tone, and big curly hair that fills the bubble helmet of their spacesuit.

tomorrow November 28 we're doing a Big Zine Sale! Here's a thread about every zine that will be on sale (it's all of them)

(feel free to mute this thread :))

(1/16)

27.11.2025 15:07 πŸ‘ 2 πŸ” 2 πŸ’¬ 2 πŸ“Œ 0
The HTTP QUERY Method This specification defines the QUERY method for HTTP. A QUERY requests that the request target process the enclosed content in a safe and idempotent manner and then respond with the result of that processing. This is similar to POST requests but can be automatically repeated or restarted without concern for partial state changes.

HTTP has a new method: QUERY. Tl;dr: GET with a body.

https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-method-w-body-14.html

#ietf

20.11.2025 21:39 πŸ‘ 35 πŸ” 12 πŸ’¬ 0 πŸ“Œ 1

YARD-Lint looks useful https://mensfeld.pl/2025/11/yard-lint-ruby-documentation-linter/

13.11.2025 14:53 πŸ‘ 2 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
Graph showing curl's source code age over time

Graph showing curl's source code age over time

More than half of #curl's source code lines have been changed within the last four years. 1,101 lines from before year 2000 still remain "untouched".

06.11.2025 07:56 πŸ‘ 6 πŸ” 12 πŸ’¬ 2 πŸ“Œ 0
Original post on ruby.social

:ruby: #Ruby's #Float contains a bunch of interesting constants.

Like EPSILON, which is the

> difference between 1 and the smallest double-precision floating point number greater than 1.

What is it useful for you ask?
Well, Floats are kinda difficult for computers and if you want to compare […]

29.10.2025 23:37 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

@porras πŸ˜…

28.10.2025 18:04 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

@eljojo sehr gut πŸ˜…

16.10.2025 12:58 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
strcasecmp in Turkish A friendly user submitted the (lib)curl bug report #2154627 which identified a problem with our URL parser. It doesn’t treat β€œ`file://`” as a known protocol if the locale in use is Turkish. This was the beginning of a minor world-moving revelation for me. Of course this is already known to mankind and I’m just behind, but really: lots of my fellow hacker friends had no idea either. So β€œ`file`” and β€œ`FILE`” are not the same word case insensitively in Turkish because β€˜i’ is not the lowercase version of β€˜I’. Back to strcasecmp: POSIX pretty much makes the function useless by saying that β€œThe results are unspecified in other locales [than POSIX]”. I’m a bit annoyed by this fact, as now I have to introduce my own function (which thus cannot use tolower() or toupper() since they also are affected by the locale) and use since the strings in our code is clearly used for β€œEnglish” strings so file and FILE truly are the same string when compared case insensitively…

On this day seventeen years ago I learned something about locales and Turkish that has scarred me for life: I is not always uppercase i!

https://daniel.haxx.se/blog/2008/10/15/strcasecmp-in-turkish/

15.10.2025 07:28 πŸ‘ 6 πŸ” 8 πŸ’¬ 2 πŸ“Œ 0
Preview
New app Icons 🀩

I'm not in the MS ecosystem but this looks pretty cool.

@microsoft365 https://bird.makeup/users/microsoft365/statuses/1973825310681367031

12.10.2025 11:17 πŸ‘ 0 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
TikaRegexTest#test_converts_Java_double-escaped_octal_sequences:
RuntimeError: Neutered Exception Polyglot::ForeignException: invalid group reference 101
    <internal:core> core/regexp.rb:226:in `Truffle::RegexpOperations.match?'
    <internal:core> core/regexp.rb:226:in `Regexp#match?'
    test/tika_regex_test.rb:28:in `TikaRegexTest#test_converts_Java_double-escaped_octal_sequences'

TikaRegexTest#test_converts_Java_double-escaped_octal_sequences: RuntimeError: Neutered Exception Polyglot::ForeignException: invalid group reference 101 <internal:core> core/regexp.rb:226:in `Truffle::RegexpOperations.match?' <internal:core> core/regexp.rb:226:in `Regexp#match?' test/tika_regex_test.rb:28:in `TikaRegexTest#test_converts_Java_double-escaped_octal_sequences'

@eregon do you have any advice for me?
I'm surely doing something wrong.

https://github.com/rails/marcel/actions/runs/18431879625/job/52520253962?pr=132

Also I kinda wouldn't have expected a `Polyglot::ForeignException` here but rather something that could be […]

[Original post on ruby.social]

11.10.2025 16:30 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
WIP: add `tika.xml` regex support Β· rails/marcel@e0fde31 Find the mime type of files, examining file, filename and declared type - WIP: add `tika.xml` regex support Β· rails/marcel@e0fde31

@headius it has been ages that I stumbled over a different handling between #MRI and #JRuby but today it has happened. πŸ˜‰

https://github.com/rails/marcel/actions/runs/18431055272/job/52518425738?pr=132

#TruffleRuby is affected too.

11.10.2025 16:18 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0