Étienne Barrié

1.5K posts

Étienne Barrié banner
Étienne Barrié

Étienne Barrié

@BiHi

Ruby lover, HTTP faithful, Git force-pusher. Born at 348ppm. He/him

Mortagne-sur-Sèvre, France Beigetreten Nisan 2007
457 Folgt354 Follower
Thomas Stringer
Thomas Stringer@tr_stringer·
@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
2
0
7
19.9K
Étienne Barrié retweetet
Ufuk Kayserilioglu
Ufuk Kayserilioglu@paracycle·
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
7
109
333
160.9K
Étienne Barrié retweetet
mike dalessio
mike dalessio@flavorjones·
I'm heartbroken to share this news about our dear friend and colleague, @ChrisGSeaton.
mike dalessio tweet media
English
106
201
924
0
Étienne Barrié
Étienne Barrié@BiHi·
@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
1
0
0
0
Xavier Noria
Xavier Noria@fxn·
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
2
3
4
0
Emmanuel (sub to my Rails YouTube)
Been going through the commits in Rails for this year, one thing's for sure: Rails 7.1 is going to be 🔥.
English
2
5
31
0
Étienne Barrié
Étienne Barrié@BiHi·
@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
2
0
0
0
schwad
schwad@schwad_rb·
y’all ever create a fake rails repo to implement certain rails concepts as a ref next time you want to do said concept
English
9
0
18
0
Étienne Barrié retweetet
Jean Boussier
Jean Boussier@_byroot·
I finally released the first (pre)version of pitchfork github.com/Shopify/pitchf… A new Ruby HTTP Server optimized for latency and memory usage 🧵
Jean Boussier tweet media
English
16
61
350
0
antirez
antirez@antirez·
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
8
1
63
0
Étienne Barrié
Étienne Barrié@BiHi·
@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
1
0
0
0
Aaron Patterson
Aaron Patterson@tenderlove·
@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
1
0
0
0
Aaron Patterson
Aaron Patterson@tenderlove·
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…
Aaron Patterson tweet media
English
1
0
5
0
Aaron Patterson
Aaron Patterson@tenderlove·
@BiHi Ya, I can definitely work around this. Just frustrating that I have to
English
1
0
1
0
Étienne Barrié
Étienne Barrié@BiHi·
@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
1
0
0
0
Aaron Patterson
Aaron Patterson@tenderlove·
Since my cwd is Ruby's root (or usually an out of source build directory), Vim can't find the file that rustc is complaining about 😩
Aaron Patterson tweet media
English
1
0
0
0
Pierre-Etienne Bram (Auteur)
Pierre-Etienne Bram (Auteur)@pebramauteur·
@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
3
1
8
0
Étienne Barrié
Étienne Barrié@BiHi·
@_byroot The difference between push and pull_request is that the latter runs on the merge commit, so it’s not entirely useless. #step:2:384" target="_blank" rel="nofollow noopener">github.com/redis-rb/redis…
English
1
0
0
0
Jean Boussier
Jean Boussier@_byroot·
Did someone ever figure out how to get GitHub Actions to trigger build when you push to a branch without opening a PR, but not to build twice when you do? I think I went over their documentation a dozen time but can't wrap my head about how it's supposed to work.
English
4
0
3
0
Étienne Barrié retweetet
Auschwitz Memorial
Auschwitz Memorial@AuschwitzMuseum·
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.
Auschwitz Memorial tweet mediaAuschwitz Memorial tweet mediaAuschwitz Memorial tweet mediaAuschwitz Memorial tweet media
English
51
901
4.8K
0
k0kubun
k0kubun@k0kubun·
It's interesting that, if you use GitHub Enterprise Cloud and aren't allowed to use the SSO from your personal device, you can't even browse pull requests on their *public* repositories.
English
3
0
8
0