Glen Mailer

17.3K posts

Glen Mailer banner
Glen Mailer

Glen Mailer

@glenathan

I'm a software developer at @geckoboard, formerly @CircleCI, and a recreational triathlete - Now mostly at @[email protected] - he/him

Sheffield, UK Katılım Haziran 2009
247 Takip Edilen1K Takipçiler
Glen Mailer
Glen Mailer@glenathan·
@jessitron Regression testing, but for the conceptual design of the system?
English
0
0
0
13
Jessica Kerr
Jessica Kerr@jessitron·
What if I had a "team member" responsible for worrying about two-faced cards? Every feature I implement, the agent asks this Feature Owner, "Look at this plan. Does it interact with two-faced cards?" It's this agent's only job to worry about that all day.
English
2
0
1
279
Jessica Kerr
Jessica Kerr@jessitron·
the invisible requirement to every new feature: "... and everything else still works" I bet we can do something new for this with agents.
English
2
0
2
771
Martin
Martin@martinrue·
I had a CORS problem. I solved my CORS problem. So now I have a CORS problem.
English
2
0
5
510
Glen Mailer
Glen Mailer@glenathan·
@matteocollina @nodejs Are you able to share clear repro steps? I tried feeding that sample payload to an app of mine and I did not get a stack overflow or a crash - it was just rejected by Express - so I’m not sure what I’m missing or whether I’m affected
English
0
0
1
159
Matteo Collina
Matteo Collina@matteocollina·
Today, @nodejs published a security release for Node.js that fixes a critical bug affecting virtually every production Node.js app. If you use React Server Components, Next.js, or ANY APM tool (Datadog, New Relic, OpenTelemetry), your app could be vulnerable to DoS attacks. 👇
English
78
456
3K
1.2M
Glen Mailer retweetledi
William Thomson
William Thomson@Williamgallus·
Fiscal rules are relatively new. They didn't exist until the Maastricht Treaty in 1992. They spread across the globe following neoliberal politics. They are purely political in nature and are not based on any solid economics.
Patricia@PatriciaNPino

The deficit should be as large/small as it needs to be to achieve full employment and prevent demand-driven inflation. That is its sole purpose. Curtailing it through arbitrary fiscal rules is causing an economic crisis.

English
1
60
231
12.6K
Glen Mailer
Glen Mailer@glenathan·
@simonw @obie I care a lot about how individual choices will lead to understandability and malleability over time I tend to work on long-lived software owned by small teams I’m not entirely anti-coding-agent, but I struggle to justify spending the time to really invest in learning the tools
English
0
0
0
19
Glen Mailer
Glen Mailer@glenathan·
@mitsuhiko We use ULIDs and this is a major reason I dislike them Imo, much like UUIDv7 they’re too big, don’t fit into URLs nicely, and aren’t recognizable enough Back when we just used autoinc you got to know the numbers for your most pathological customers - that’s much harder now
English
0
0
2
134
Armin Ronacher ⇌
Armin Ronacher ⇌@mitsuhiko·
One UX quirk of uuid7 and tagged IDs is they the leading characters are low entropy so ID shortening doesn’t work. I think I dislike ellipsis in the middle. What are good options?
English
7
0
35
8.6K
Glen Mailer
Glen Mailer@glenathan·
@jlongster @Vjeux I wonder if anyone now codes with their own preferred formatting and resets to prettier only when they’re finished
English
1
0
1
130
James Long
James Long@jlongster·
Great post by @Vjeux telling the story of Prettier's early days. Christopher was a big reason for Prettier becoming mainstream At the time I was starting a consulting business so after I wrote the first version that solved most cases, it was difficult for me to spend a lot more time on it. I did help with some of the early options like no semicolons (which I disagreed on) probably until May or so. I didn't have a salary job though so I needed to spend all my time making money through contracting and building my business. Grateful for other strong leaders/contributors that continued to build out and maintain Prettier x.com/Vjeux/status/1…
English
1
1
10
4K
Glen Mailer
Glen Mailer@glenathan·
@simonw @mitsuhiko And it hasn’t even improved at being internally consistent within a page! Which is one of the core principles of react data architecture!
English
0
0
0
70
Simon Willison
Simon Willison@simonw·
@mitsuhiko It's frustrating because GitHub was, for years, my go to example of why you don't need to go all-in on SPAs for a complex web application Now I guess it's my example for why you shouldn't give in to temptation and SPA something that works well already!
English
2
1
70
3.8K
Armin Ronacher ⇌
Armin Ronacher ⇌@mitsuhiko·
And while I'm ranting: I love react, but the GitHub react UI update is objectively a massive regression and I do not understand why they worked on that. What are they achieving by taking a perfectly working system and just making it worse?
English
23
4
188
26.5K
Pete Hunt 🚁
Pete Hunt 🚁@floydophone·
cant believe i just built a streaming ui reconciliation framework targeting... slack messages
English
4
0
17
3.5K
Glen Mailer
Glen Mailer@glenathan·
@ProCyclingStats the design tweaks look nice, especially on mobile - but I ran into a small bug: When filtering by team you don’t get the actual times anymore, you just get “ for everyone unless they were at the front of a group
English
1
0
0
29
Glen Mailer
Glen Mailer@glenathan·
@bostonou I’ve hit 100% of my deadlines in the last decade, it’s not that hard. The key is that almost none of my work has real deadlines, but when it does, we take them seriously
English
0
0
1
10
Jonathan Boston
Jonathan Boston@bostonou·
How to turn estimates into deadline: 1. Estimate happy path for all parts (~50% accuracy) 2. Find longest path of dependent work 3. Sum up that time and 2-3x it 4. Watch that longest path closely, which now has a large safety buffer
just some dude@unfollowedlogic

@PixelCanuck @potetm @bostonou @HSVSphere how do you know if you can hit your deadline? do you maybe estimate how long it will take and if it's possible? if you hit all your deadlines, then you hit all your estimates im just saying that's impossible for any real dev in the real world

English
3
0
1
101
Glen Mailer
Glen Mailer@glenathan·
@martinrue getFullYear is not stupid, but I suppose there’s no good way to remove getYear that doesn’t break a non-zero amount of existing code
English
1
0
1
22
Martin
Martin@martinrue·
JavaScript Chose Violence (Link to full post in comments 👇)
Martin tweet media
English
1
0
1
110
Harry Roberts
Harry Roberts@csswizardry·
@glenathan Probably not gonna get their round in, either 🤨 I’ll pop down soon and we can catch up though?
English
1
0
1
29
Harry Roberts
Harry Roberts@csswizardry·
Developers: We know the bundle is huge but we fingerprint it and cache it for a year. Also developers: We release 17 times a day.
English
3
4
55
5.8K
Glen Mailer
Glen Mailer@glenathan·
@csswizardry Yeah, that’d be good. I’ve got a 6 month old now so logistics are harder than they used to be!
English
1
0
0
26
Glen Mailer
Glen Mailer@glenathan·
@csswizardry @ChaponFlo That’s the idea, yeah - most releases should only touch a few files, and it tries to group them together through some heuristics node_modules should change rarely, for example
English
1
0
0
35
Harry Roberts
Harry Roberts@csswizardry·
@glenathan @ChaponFlo Right, but the hash is deterministic: if the source hasn’t changed, nor will the hash. Are you saying webpack can rejig the source in a way that means chunks are less likely to change?
English
1
0
0
32
Glen Mailer
Glen Mailer@glenathan·
@csswizardry @ChaponFlo When configured correctly, webpack splits the bundle into a number of “chunks” each chunk contains a bunch of source files, and has its own name and hash. The idea is then that any change only invalidates a subset of chunks
English
2
0
0
48
Harry Roberts
Harry Roberts@csswizardry·
@ChaponFlo @glenathan I must be misunderstanding. Do you mean ensuring that unchanged *source* files never make it into a revised bundle? Like keeping a record? Or the fact that unchanged *built* files’ hashes shouldn’t ever change anyway?
English
1
0
0
51
Glen Mailer
Glen Mailer@glenathan·
@csswizardry A correctly configured bundler is supposed to put the same files into the same named chunks, so most releases shouldn’t modify most chunks
English
1
0
0
70
Glen Mailer
Glen Mailer@glenathan·
@csswizardry You can put the <file.txt at the start of the line too Although for most cases I still prefer the cat, I find it helps to think of everything as a series of pipes
English
0
0
0
35
Harry Roberts
Harry Roberts@csswizardry·
Does it really matter? Probably not, but it’s a marginally cleaner habit, only spawns the one process, and if the file is missing, redirection won’t run pbcopy and you won’t accidentally wipe your existing clipboard.
English
1
0
2
945
Harry Roberts
Harry Roberts@csswizardry·
If you want to copy the entire contents of a single file, don’t waste time piping cat into pbcopy—just redirect file.txt straight in!
Harry Roberts tweet media
English
1
0
5
1.3K