Étienne Barrié
1.5K posts

Étienne Barrié
@BiHi
Ruby lover, HTTP faithful, Git force-pusher. Born at 348ppm. He/him
Mortagne-sur-Sèvre, France شامل ہوئے Nisan 2007
457 فالونگ354 فالوورز

@kelseyhightower What made you settle on 3%? A 4% withdrawal rate is pretty conservative and safe, and a 3.5% rate is apparently a guaranteed safety given return history
English

@_swanson “Laravel is to Apple what Rails is to Android” doesn't make sense?
I think you meant
Laravel : Rails :: Apple : Android
en.wikipedia.org/wiki/Miller_An…
English
Étienne Barrié ری ٹویٹ کیا

I'm so hyped as we get closer & closer to the Christmas Day release of Ruby 3.2. Actually, there are so many great things in 3.2 that we couldn't wait for release day, but already deployed it for all Shopify storefront requests.
Allow me to do a deep dive on all the details 🧵
tobi lutke@tobi
All storefront requests are now served by the latest version of ruby with YJIT enabled! We are seeing ~10% speedups across the board. YJIT that has been developed by @Love2Code's and team at Shopify.
English

@lucasdicioccio #Documentation/git-update-index.txt---no-assume-unchanged" target="_blank" rel="nofollow noopener">git-scm.com/docs/git-updat…
QME
Étienne Barrié ری ٹویٹ کیا


@fxn C is pass-by-value, but Ruby and Java are a bit different.
You can't reassign the variable, but if you mutate the value, it's also mutated in the caller. I didn't know that but apparently it's called call by sharing. #Call_by_sharing" target="_blank" rel="nofollow noopener">en.wikipedia.org/wiki/Evaluatio…
English

I normally use Perl to show pass-by-reference, but I just realized @nim_lang has it too and this simple snippet shows it
proc f(x: var int) =
x = 1
var i = 0
f(i)
echo i # 1
C, Ruby, Java, etc. are pass-by-value, you cannot do that.
English

@davidstosik I don't think it's uncommon for doormats to be prohibited in common areas, quickly looking online I found this explanation for example reddit.com/r/london/comme…
English

@schwad_rb By fake repo you mean a new rails app? I do this all the time to reproduce issues and test PRs in rails/rails.
English
Étienne Barrié ری ٹویٹ کیا

I finally released the first (pre)version of pitchfork github.com/Shopify/pitchf…
A new Ruby HTTP Server optimized for latency and memory usage 🧵

English

After, like, 10 years, I updated my web page. It's an HTML page I edit using vim: invece.org
Maybe in 10 years I'll find the time and motivation to even add SSL.
English
Étienne Barrié ری ٹویٹ کیا

@tenderlove It's set per-compiler which is set per-filetype no?
#L35" target="_blank" rel="nofollow noopener">github.com/rust-lang/rust…
#L19" target="_blank" rel="nofollow noopener">github.com/rust-lang/rust…
English

@BiHi Would it be generic enough though? Like, how can the quickfix thing know that we're building Rust source? If I just run `:make` from Vim, I could be compiling any lang, and matching on "Compiling *" seems dubious
English

Blech. Apparently Cargo projects always show errors relative to the workspace root, and since the YJIT Cargo.toml can't live in the root of Ruby, any YJIT compilation error messages show the wrong path (even if you supply `manifest-path` to Cargo) github.com/rust-lang/carg…

English

@BiHi Ya, I can definitely work around this. Just frustrating that I have to
English

@tenderlove Maybe you could use the "Compiling yjit" line with the %D feature of errorformat to have Vim automatically prepend the directory? #errorformat" target="_blank" rel="nofollow noopener">vimdoc.sourceforge.net/htmldoc/quickf…
English

@Bouletcorp La sonnerie d'un SMS du NOKIA 3210 (toi et moi noussachons) signifiait SOS en Morse.
Autre sujet, le bon rythme pour un massage cardiaque consiste à suivre le rythme de 103BPM immortalisé dans "Stayin Alive" des Bee-Gees.
Français
Étienne Barrié ری ٹویٹ کیا

31 July 1919 | Primo Levi was born in Turin. An Italian Jewish writer & chemist. From 26 February 1944 a prisoner of the German Nazi #Auschwitz camp (no. 174517). He suervived. In September 1947 he published his book "If this is a man". He passed away in 1987.




English







