Opens profile photo
Follow
Bryan English (๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰)
@bengl
Programmerish Person at . He/Him. Support your local food banks and libraries.
Occupied Canarsee Land (NYC)bryanenglish.comJoined May 2008

Bryan English (๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰)โ€™s Tweets

want: "strong" typescript. no `any` at all. only `unknown`. only casting is downcasting. call a function an "api" -> types are external only. internally `unknown`.
2
1
7
So if I'm reading this right... Literally all politicians: Pandemic's over. Party time! Literally all experts in epidemiology, immunology, etc: New variants about to drop. Hunker down, mofos!
2
6

Topics to follow

Sign up to get Tweets about the Topics you follow in your Home timeline.

Carousel

Then, if you need pointers, and can get access to their values via other means, then you can hack those in yourself via the equivalent types for your system. Such hack. Very crash.
1
4
Show this thread
Best I can think of is: assume no pointers at all, but leave space in the spec for runtimes to opt in, based on their security model. Node.js gives you mostly unfettered system access, so maybe it's okay for it to have real pointers? Maybe not. I dunno.
1
1
Show this thread
Right, so I did a little thinking on the notion of buffer-backed objects (structs) in JS, as a language feature. The biggest issue I can see is pointers. For a bunch of security reasons, you can't have *real* pointers. So, what then, a hidden pointer map?
1
2
Show this thread
10000 internet points for whoever makes a vim plugin that lets me make and read comments on PRs in-line in the editor.
1
2
Folks talk about how the Discordification of OSS communities is ruining everything, but no one talks about the VSCodification.
3
14
"tests should tear down their state so that running arbitrary/many tests in the same process is fine" ...is all fine and dandy until your codebase makes it basically impossible to even understand what the state is. Testing tools shouldn't pretend every codebase is perfect/ideal.
2
8
All tweets from everyone today: "don't forget, decisions in tech are all tradeoffs". Arguably tautological and obvious AF, but still worth repeating over and over again. Your choices are not my choices and that's a-ok! Neither of us has to be "wrong"!
1
1
9
Twitter has got to get better at rendering reply trees. It's just awful right now, and only seems to consider linear threads. When your data structure is a tree and your UI can only render linklists, with trees as an afterthought, you have a UI problem.
5
big thumbs down to RSS feeds that contain only links to the content, rather than the content itself. even worse is a "preview" of the content.
4
These new processors are pretty cool. I still don't like the idea of tying a processor to an operating system though (or vice versa). It does not sit well with me.
1
Apple has gotten even more passive-aggressive toward you if you chat with people who use Android. The desktop Messages app shows previews of sent/received URLs that use iMessage, but if SMS was used, your sent links get no preview. This broke in the last few months.
Image
6
6
51
Right now I'm packing this whole thing into the `message` property on a JS Error, so that it always shows up in a test runner. There ought to be a better way to do this.
Image
1
5
Show this thread
I'm finding more and more use cases for long/detailed error messages in Node.js. What if we normalized/standardized a `detailedMessage` property containing multiline super-helpful error messages, with ANSI diagrams even. Building support for it into test runners would be cool!
5
28
Show this thread
TIL git blame --ignore-rev abc123def useful when operating on something with refactor/styling commits obscuring the real source of some code.
2
6
Sippy-cup lids solve this problem entirely for folks who can use them. For folks who can't, it should be trivial to design a sippy-cup lid that can also take a straw.
2
Show this thread
Wordle 257 4/6 โฌœโฌœ๐ŸŸจ๐ŸŸจโฌœ โฌœ๐ŸŸฉ๐ŸŸจโฌœโฌœ โฌœ๐ŸŸฉ๐ŸŸจ๐ŸŸจโฌœ ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ
This is the kind of thing that makes me really worry about whether crypto is a cult: "Everyone who disagrees with me is in the pay of a conspiracy to discredit the thing I believe in" is *exactly* what I used to hear from Scientologists.
Quote Tweet
Replying to @doctorow
Now it's an open secret that you are one of those journalists that get paid for "exposing" Tether and whose accusations are worthless and backed by nothing ๏ฟฝ?
48
216
1,164
cool! Wordle 256 2/6 ๐ŸŸจ๐ŸŸจโฌœ๐ŸŸจโฌœ ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ๐ŸŸฉ
1
3