Ьλ∂λ (@pygy) header
Ьλ∂λ (@pygy) profile picture

https://xitter.cf/t.co/7HsyOr5Hiy https://xitter.cf/t.co/fVEDgnW7gM https://xitter.cf/t.co/5QQHjuSfdG

Joined February 2009
Photo by Ьλ∂λ (@pygy)Photo by Ьλ∂λ (@pygy)Photo by Ьλ∂λ (@pygy)Photo by Ьλ∂λ (@pygy)Photo by Ьλ∂λ (@pygy)Photo by Ьλ∂λ (@pygy)Photo by Ьλ∂λ (@pygy)Photo by Ьλ∂λ (@pygy)Photo by Ьλ∂λ (@pygy)Photo by Ьλ∂λ (@pygy)
This place reeks. Find me over at the cerulean place as @py.gy, and as @pygy@mamot.fr for the elephant place.
Elon Musk's Twitter.
1
51
Replying to @pygy @py
You’re unable to view this post because this account owner limits who can view their posts. Learn more
84
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/https://gist.github…
2
1
1
47
usage: results = await gather(firstBookmark) // if incomplete gather(results[lastGoodIndex].nextSibling, results) document.body.textContent = results.map(el =>el.outerHTML).join('\n')
1
20
You need to keep the tab open and focused, the script takes 1 second per bookmark.
16
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
149
flems.io/https://gist.github… 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
43
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
34
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.
33
I did a thing... Bunchmark.js will soon land on NPM
3
3
6
524
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
Also announcing @bunchmark/stats which implements various robust statistics procedures in pure JS. npmjs.com/package/@bunchmark…
19
Folks, if someone can share a bluesky invite I'll be grateful
1
40
To co-sign, retweet:
25
345
35
607
149,724
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,446
Un peu plus tard (1904) et plus subtile…
1
1
7
1,244