Jake Bailey (@jakebailey.dev) reply parent
Definitely slidev; you can also do some incredible stuff with just plain HTML/CSS in the markdown page along with the built in animation system
According to git blame, I wrote the TypeScript compiler, don't fact check that Principal Software Engineer at Microsoft working on TypeScript Underground gopher, finally revealed https://jakebailey.dev/ https://github.com/jakebailey arch btw
3,803 followers 360 following 1,207 posts
view profile on Bluesky Jake Bailey (@jakebailey.dev) reply parent
Definitely slidev; you can also do some incredible stuff with just plain HTML/CSS in the markdown page along with the built in animation system
Jake Bailey (@jakebailey.dev) reply parent
just waiting to see if he uses bubble sort to sort one million 32-bit integers
Jake Bailey (@jakebailey.dev) reply parent
DT only tests TS 5.2+, and that is pretty conservative... What situation are you in where you are holding TS back but not other deps?
Jake Bailey (@jakebailey.dev) reply parent
It's fairly complete at this point, we have rename, auto imports, etc, as of just last week or so. I've been daily driving it for a while now
Jake Bailey (@jakebailey.dev) reply parent
Yeah, I don't really know how to set it up, but I really recommend trying out the new thing and tell us what bugs you find! Some features are missing / incomplete / maybe broken, but feel free to peruse github.com/microsoft/ty...
Jake Bailey (@jakebailey.dev) reply parent
Are you using the LSP wrapper, or the new official LSP server via tsgo?
Jake Bailey (@jakebailey.dev)
Reminder that I'm going to be at @squiggleconf.com in a couple of weeks to talk in probably too much detail about the Go port! If you aren't already going and can make it, definitely look into it! Lots of great talks on the agenda from some big names!
Jake Bailey (@jakebailey.dev)
the best part about gophercon was that nobody said "golang"
Jake Bailey (@jakebailey.dev)
shame to each and every one of you who did not make me aware of cathode ray dude
Jake Bailey (@jakebailey.dev) reply parent
Here I thought you'd have a box of 2000 of them beside the boxes of slide puzzles and gopher plushies
Jake Bailey (@jakebailey.dev) reply parent
stashes are just commits and can be referenced, so: git branch branchname stash@{0} _almost_ does what you want, just no rebase (which can't be done without checking out because there could be conflicts?)
Jake Bailey (@jakebailey.dev) reply parent
the candidate swiped left
Jake Bailey (@jakebailey.dev) reply parent
The tool is pikchr! pikchr.org/home/doc/tru... bsky.app/profile/feli...
Jake Bailey (@jakebailey.dev) reply parent
Er, throttle, I mean
Jake Bailey (@jakebailey.dev) reply parent
Or debounce it
Jake Bailey (@jakebailey.dev)
I did it
Jake Bailey (@jakebailey.dev)
I'm mic'd up, oh lord
Jake Bailey (@jakebailey.dev)
@zombiezen.com great lightning talk!
Jake Bailey (@jakebailey.dev) reply parent
it's bold to show the firehose live at a talk 😅
Jake Bailey (@jakebailey.dev) reply parent
what the heck, I must be sitting a few rows in front of you
Jake Bailey (@jakebailey.dev) reply parent
If I can't install apks from random people's GitHub releases, or use App Cloner, I'm going to lose it
Jake Bailey (@jakebailey.dev)
Yikes
Jake Bailey (@jakebailey.dev)
One day I'll remember that I don't need to bring 4 USB-C chargers on every trip
Jake Bailey (@jakebailey.dev) reply parent
i love how no matter how i read this, i can be both offended and pleased, having worked on the best checkers for both
Jake Bailey (@jakebailey.dev) reply parent
has anyone ever tried to make prev lint
Daniel Rosenwasser (@danr.bsky.social) reposted
Just filed an issue to turn `--strict` on by default in TypeScript. Maybe it's a little bit ambitious, but I'm excited for us to try this one. 😄 github.com/microsoft/Ty...
Jake Bailey (@jakebailey.dev) reply parent
Uh oh, for big projects it's so concurrent that it OOMs trying to do too much at the same time, need a limiter on that...
Jake Bailey (@jakebailey.dev) reply parent
That isn't too far away!! github.com/microsoft/ty...
Jake Bailey (@jakebailey.dev) reply parent
But basically, if you're running another tool to orchestrate tsc -p or tsc -b, maybe just try running tsc -b now. Oh, and, type away to your hearts content in the editor becuase snapshotz
Jake Bailey (@jakebailey.dev) reply parent
dt-tools is probably a bad example beacuse it's not very big or chained. Things should be a lot faster on larger monorepos with projects that don't depend on each other, since now we don't have to wait to work on them. Maybe one day, we can do fully concurrent isolated declarations emit and go brr
Jake Bailey (@jakebailey.dev)
Tonight will be one of the best nightlies of the TypeScript Native Preview ever. 1) @andrewbran.ch fully rewrote the language server infra into a snapshot model. No more data races. It's so cool 2) Sheetal added build mode (-b), and it's even _concurrent_ build mode. 10x+ on dt-tools, hot and cold
Jake Bailey (@jakebailey.dev) reply parent
do not badmouth my beloved \varepsilon
Jake Bailey (@jakebailey.dev) reply parent
--frozen-lockfile
Jake Bailey (@jakebailey.dev) reply parent
hello from the future this got added back today
Jake Bailey (@jakebailey.dev) reply parent
so that's what Stargate: Continuum was all about, going back in time to delete left-pad from history
Rob Palmer (@robpalmer.bsky.social) reposted
Type-aware linting is a fast-moving space with multiple experimental approaches, several recent changes, and potentially confusing names. This is a well-written article that describes Oxc's approach and helps clarify the overall landscape 👍
Jake Bailey (@jakebailey.dev) reply parent
Is this upstreamable? 😄
Jake Bailey (@jakebailey.dev) reply parent
who ya callin a tool
Jake Bailey (@jakebailey.dev) reply parent
I totally understand the timeline, I'm just more confused at the social aspect, it just doesn't seem like it's going to scale long-term But I mean I guess this is JS where we have 55 package managers, 55 bundlers, 55 linters, 55 formatters, 55 ---
Jake Bailey (@jakebailey.dev) reply parent
I remain moderately confused at the naming and that there's now three tsgolint repos working separately on basically the same thing
Jake Bailey (@jakebailey.dev) reply parent
Ah, we just always use the PR title, and none of us are repo admins day to day so rely on reviews
Jake Bailey (@jakebailey.dev) reply parent
It's been flawless for me except quite literally the one blip today 😅
Jake Bailey (@jakebailey.dev) reply parent
Which PR was this? (Or is this something unsent)
Jake Bailey (@jakebailey.dev) reply parent
i said this and then my PR got kicked out of the merge queue for no reason guess it's one of those days
Jake Bailey (@jakebailey.dev)
i love merge queues
Jake Bailey (@jakebailey.dev) reply parent
oh dang never thought I'd see the day where something I sent would be featured in these slides
Jake Bailey (@jakebailey.dev) reply parent
Sorry, you totally replied in the one issue on my repo and then I forgot to actually recheck this
Jake Bailey (@jakebailey.dev) reply parent
Alright, try pprof-it@4.0.0
Jake Bailey (@jakebailey.dev) reply parent
I think I fixed it, major release incoming
Jake Bailey (@jakebailey.dev) reply parent
It's still broken and they don't have an issue tracker 😞 What specifically is broken with pprof-it today? Just making sure I understand the problem
Jake Bailey (@jakebailey.dev) reply parent
Sorry about pprof-it on mac, I depend on Datadog's fork of pprof and they broke it at some point so I pinned it back and haven't gone to figure out what the deal is
Jake Bailey (@jakebailey.dev) reply parent
its too hot
Jake Bailey (@jakebailey.dev)
my favorite go 1.25 feature is whatever @thepudds.bsky.social lands
Jake Bailey (@jakebailey.dev) reply parent
Just wait until you hear about MoCA
Jake Bailey (@jakebailey.dev) reply parent
fnm all the way
Jake Bailey (@jakebailey.dev)
anyone else own one coax cable "just in case"
Jake Bailey (@jakebailey.dev) reply parent
The "can tokenize every line" separately thing is my favorite fun fact about zig There's so much wacky stuff you could do with that. Concurrently tokenize all lines in parallel. Persist the token stream and hot patch it when typing. Reliably grep code for text inside and outside comments.
Jake Bailey (@jakebailey.dev) reply parent
I meant "semver lib", obviously Thanks autocorrect
Jake Bailey (@jakebailey.dev) reply parent
Funny, I did something similar to pnpm a few years ago github.com/pnpm/pnpm/pu... I also started working on a new server lib that was a lot faster (I think I at least 10x'd it), but never got around to finishing it
Jake Bailey (@jakebailey.dev) reply parent
OMW!!
Jake Bailey (@jakebailey.dev) reply parent
also they made jay a man?
Jake Bailey (@jakebailey.dev) reply parent
But I also can't figure out what this thread is even asking for tbh
Jake Bailey (@jakebailey.dev) reply parent
Realistically the new defaults we're going to have for tsconfig and in the editor make this moot, other than the errors about bad syntax which will error at runtime anyway.
Jake Bailey (@jakebailey.dev) reply parent
We definitely can't reliably detect the node version
Jake Bailey (@jakebailey.dev) reply parent
But basically I wouldn't use GitHub as an example of why _only SSH_ should be offered (But I still use SSH anyway)
Jake Bailey (@jakebailey.dev) reply parent
EMU I think even has an option to disable SSH auth since that's "less secure" due to no rotation, two factor rechecks, etc, though I suspect it's because admins don't trust people to configure their ssh-agents securely
Jake Bailey (@jakebailey.dev) reply parent
they retired username/password over http but auth tokens/oauth/etc is very much supported
Jake Bailey (@jakebailey.dev) reply parent
🤑
Jake Bailey (@jakebailey.dev)
devs will be like "why's TypeScript so slow, I don't have that much code" and then at the top of their code it's import React from "react"; import db from "some-huge-database-schema"; import * as Icons from "library-with-10000-icons-reexported"; import gh from "the-entire-fking-github-api-graphql";
GopherCon (@gophercon.com) reposted
Why is your code allocating memory? How does the Go compiler see the world? Join Go contributor @thepudds.bsky.social for a deep dive into escape analysis—the part of the compiler that decides whether your data stays on the stack or takes the more expensive trip to the heap. 🎟️ www.gophercon.com
Jake Bailey (@jakebailey.dev) reply parent
How did I misspell "imagine"
Jake Bailey (@jakebailey.dev) reply parent
"code-switching" but it's for flipping my brain between two totally different path semantics
Jake Bailey (@jakebailey.dev) reply parent
Nope, the closest thing I can imagien is if you were using the \\?\ or \\.\ paths like \\?\D:\foo where _kinda_ \\?\ is a string "above" the drive letter but that itself is not a legal path obligatory www.fileside.app/blog/2023-03...
Jake Bailey (@jakebailey.dev) reply parent
With multiple drives, I don't know how it could do any better than how it's behaving here :(
Jake Bailey (@jakebailey.dev) reply parent
i'd use windows or linux over macos any day macOS is so uncanny valley, everything is just ever so barely wrong
Jake Bailey (@jakebailey.dev) reply parent
you are looking into the mouth of hell, yelling "please, more"
Jake Bailey (@jakebailey.dev) reply parent
please no please I beg you
Jake Bailey (@jakebailey.dev)
going through my RSS feed reader is just so depressing, hundreds of articles a day, all bad news. there's just no good news anymore
TypeScript (@typescriptlang.org) reposted
TypeScript 5.9 is now available! 📣 This release brings: ✅ An updated tsc --init ✅ Type-checking for the new 'import defer' ✅ Actual summaries in more DOM APIs ✅ Expandable quick info hovers (✨preview✨) and more! Read up more on our blog: devblogs.microsoft.com/typescript/a...
Jake Bailey (@jakebailey.dev) reply parent
Seems to render other people's posts (replied to or reposted) as some @original account?
Jake Bailey (@jakebailey.dev) reply parent
That's good too but then it asks you to hit `y` and I can't be bothered when 99% of the time I've just written commti
Jake Bailey (@jakebailey.dev) reply parent
you're welcome
Jake Bailey (@jakebailey.dev) reply parent
git config --global help.autocorrect 10
Alan Donovan (@adonovan.bsky.social) reposted
Gopls v0.20.0 is released: go.dev/gopls/releas... $ go install golang.org/x/tools/gopls@v0.20.0 Docs at go.dev/gopls. Thanks to all who contributed!
Jake Bailey (@jakebailey.dev) reply parent
first brat RM
Jake Bailey (@jakebailey.dev) reply parent
Seems functionally identical to the one also happening to npm maintainers socket.dev/blog/npm-phi...
TypeScript (@typescriptlang.org) reposted
TypeScript 5.9 RC is available to try! Let us know how it works before next week's stable release! devblogs.microsoft.com/typescript/a...
Jake Bailey (@jakebailey.dev) reply parent
I'm not really surprised; if you ts-ignore an import itself, you're in for a bad time. It's an error type, which declaration emit is happy to just leave as-is because it's an error IIRC this specifically has to do with error types and how declaration emit handles computed properties
Jake Bailey (@jakebailey.dev) reply parent
I'm honestly not sure where you're testing this or how, sorry
Jake Bailey (@jakebailey.dev) reply parent
Isn't that just the default type parameters? If it's generating those and not importing them, then yeah that's a bug, but if this is getting passed through some other tool to do bundling, then it is probably that other tool.
Jake Bailey (@jakebailey.dev) reply parent
I am mainly concerned about including ignores in a published file at all, and encoding tsconfig paths in the output is even worse :|
Jake Bailey (@jakebailey.dev) reply parent
Certainly not, though I don't think it's a bug that a dts emitter does not bring along ignores :D
Jake Bailey (@jakebailey.dev) reply parent
I can't help but feel terrified that you're publishing d.ts files containing ts-ignores and imports requiring tsconfig paths 😬😬😬
🏳️⚧️ Perfidious Josephine Riesman (@josie.zone) reposted
IT'S LIVE
Jake Bailey (@jakebailey.dev)
The world is falling apart at the seams, but at least the Go tree is open again so I have something to read while it all burns
Jake Bailey (@jakebailey.dev) reply parent
there's no way the "exclusive" thing can be explained by anything other than that they think that "exclusive" means "catch and kill" a la American Media and are confused why the WSJ didn't offer to kill the story in exchange for a payout
GopherCon (@gophercon.com) reposted
🚨 Heads up! You’ve got just over a week to dash over to www.gophercon.com and grab your pass before standard pricing zips away! 🛵 #GopherCon is rolling into NYC August 25-28, and whether you're building big things or just Go-curious, this is the place to be! 👉 Standard pricing ends July 29th!