Pier Fumagalli 🦋 @pier.fumagalli.org

1.6K posts

Pier Fumagalli 🦋 @pier.fumagalli.org banner
Pier Fumagalli 🦋 @pier.fumagalli.org

Pier Fumagalli 🦋 @pier.fumagalli.org

@ianosh

Katılım Haziran 2009
362 Takip Edilen171 Takipçiler
Matt Pocock
Matt Pocock@mattpocockuk·
Got an odd requirement. Need to stream a file line-by-line, in reverse order, in Node. I.e. a b c Should emit 'c', then 'b', then 'a'. How should I do this?
English
32
1
73
43.5K
Matt Pocock
Matt Pocock@mattpocockuk·
I know everyone hates them, but I really like code coverage reports. Especially when working solo (where I don't feel bad about forcing others to work to it) I find it a really helpful linter for missed tests. I also don't try to 100% everything, just certain important files.
English
23
5
118
16.4K
Pier Fumagalli 🦋 @pier.fumagalli.org
@Grady_Booch @benjedwards Hey GPT, rewrite the following (series of insults to some random idiot) and make it sound firm, but polite and professional… You don’t know how many times it avoided me getting in trouble with HR 🤣😂 Apart from this, utterly useless!
English
0
0
0
23
Pier Fumagalli 🦋 @pier.fumagalli.org
@mattpocockuk @sminnee Sometimes, the interpreter *itself* strips types (deno, or the next version of node - now experimental) so there’s NO .js file at all… requiring imports of an artifact that is possibly produced by TSC is just nonsensical to me…
English
0
0
0
15
Pier Fumagalli 🦋 @pier.fumagalli.org
@mattpocockuk @sminnee Actually it is… the generated extension is a product of the transpilation process: same .ts can be transpiled as .cjs, .mts or .js - depending on what’s actually transpiling and how the transpiler is configured (think esbuild, for example)
English
1
0
0
16
bearstech
bearstech@bearstech·
Qui a joué avec Turbo Pascal ?
bearstech tweet media
Français
111
32
403
25.2K
Pier Fumagalli 🦋 @pier.fumagalli.org
@mattpocockuk @JoshuaKGoldberg We've been using this on all our internal repos for around a couple of years, super happy with it (we have for example integrations to deploy on AWS lambda, Cloudflare workers, all our workflow) and recently I've been thinking it might be a good idea to share
English
1
0
1
56
Matt Pocock
Matt Pocock@mattpocockuk·
A lot more of you need to be using create-typescript-app from @JoshuaKGoldberg. npx create-typescript-app Perfect for npm packages, Node apps - it's ultra-configurable and extremely detailed.
Matt Pocock tweet media
English
11
45
653
49.4K