Joined February 2009
103 Photos and videos
Pinned Tweet
11 Jan 2025
This place reeks. Find me over at the cerulean place as @py.gy, and as @pygy@mamot.fr for the elephant place.
10 Jan 2025
Elon Musk's Twitter.
1
49
11 Jan 2025
This place reeks. Find me over at the cerulean place as @py.gy, and as @pygy@mamot.fr for the elephant place.
10 Jan 2025
Elon Musk's Twitter.
1
49
12 Jan 2025

Elons Twitter
83
15 Nov 2024
If you ever need to back up your Twitter bookmarks, this can come in handy. You pass it the first bookmark, and it will hopefully get it all out. I've had it fail midway, you can reboot it by passing the intermediate results as a second argument. flems.io/gist.github.com/pyg…

2
1
1
46
15 Nov 2024
usage: results = await gather(firstBookmark) // if incomplete gather(results[lastGoodIndex].nextSibling, results) document.body.textContent = results.map(el =>el.outerHTML).join('\n')

1
19
15 Nov 2024
You need to keep the tab open and focused, the script takes 1 second per bookmark.
15
22 Mar 2024
A kid I know needed training material for getting better at deciphering unknown words. A Markov chain, the Web Speech API, and one hour later I had an app that can pronounce words that had never been uttered before. It's actually pretty fun for a minute: developer.mozilla.org/en-US/…
1
1
2
148
22 Mar 2024
flems.io/gist.github.com/pyg… Only tested on MacOS and iOS. Works best in Firefox and Safari (Chrome doesn't speak French, it reads the words as if they were in English).

1
1
42
22 Mar 2024
The Markov chain is derived From Charles Baudelaire's "Les fleurs du Mal", and looks at the previous two characters to predict the next one.
1
33
19 Jan 2024
github.com/pygy/esm-reload ... for Node.js, useful for testing code that branches out at load-time. I just packaged it. Shout out to @newllama who whipped this on the border of a napkin in a GH issue comment.
32
27 Dec 2023
I did a thing... Bunchmark.js will soon land on NPM
3
3
6
523
27 Dec 2023

1
4
49
27 Dec 2023
Here's an extreme case where I unplugged my laptop mid-run. Every data series shows a bimodal distribution, but you can still easily tell that Array.sort(18) is faster than ArraySort(20).
1
40
27 Dec 2023
Also announcing @bunchmark/stats which implements various robust statistics procedures in pure JS. npmjs.com/package/@bunchmark…

19
12 Sep 2023
Folks, if someone can share a bluesky invite I'll be grateful
1
40
Ьλ∂λ retweeted
14 Jun 2023
"We are living through the end of the useful internet"
The Last Page Of The Internet defector.com/the-last-page-o…
167
7,700
34,613
5,804,780
Ьλ∂λ retweeted
To co-sign, retweet:
25
350
614
149,490
Ьλ∂λ retweeted

1
1
4
447
Ьλ∂λ retweeted
Just got Postgres.js working with Cloudflare Workers locally (they just added tcp support today). Can't wait to test it out live. @Cloudflare @CloudflareDev #cloudflare #PostgreSQL blog.cloudflare.com/workers-…

1
14
57
4,441
Ьλ∂λ retweeted
Un peu plus tard (1904) et plus subtile…
1
7
1,244