Shane Osbourne's Avatar

Shane Osbourne

@shaneosbourne.bsky.social

Creating software at DuckDuckGo https://shane-o.dev

119 Followers  |  592 Following  |  19 Posts  |  Joined: 01.11.2024  |  1.9687

Latest posts by shaneosbourne.bsky.social on Bluesky

Erase the types? Have the handler return impl IntoResponse, then call .into_response() on each arm?

10.08.2025 06:11 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Looks like exactly what I need, will check later and report back! Thanks

15.07.2025 14:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@orhun.dev thanks for your work on ratatui! I was curious, in cases where I want nothing more than a fixed line at the bottom (like cargo), perhaps ratatui is overkill? Either way I really struggle to find a basic example like this. Any pointers? πŸ™

15.07.2025 08:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

It’s a little too extreme when used on a whole line - it can mask typos etc. it’s good to isolate the smallest possible case on a separate line with this, otherwise you’re effectively turning off the type checker completely

19.05.2025 21:57 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Have you considered (or used elsewhere) any playwright-level testing for these findings? Just by looking at heap dumps out of CDP etc?

19.02.2025 11:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I’m no fan of the dx, causing update chains via assignment is not my preference, but you just reach for it when your profiler shows that perf is poor

12.02.2025 07:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The ability to pass around a value (via props) that is stable (no re-renders) and can create trees of additional computed values when needed. If you’ve ever had an experience where you enjoy/appreciated derived state in react, imagine that but with efficient updates.

12.02.2025 06:59 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
3 steps towards a faster TRU (Time to Reviewable URL) - Shane Osbourne Today I am formalizing TRU - a new metric for Frontend teams that shows how quickly you can produce reviewable work. By definition, it's also a good measurement of how quickly your team can iterate on...

I also wrote about this idea - where being leaner is a good long-term strategy shane-o.dev/articles/int...

23.01.2025 19:44 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Full-stack Web Components | Crossbow

yep - I made this about 3.5yr ago to see what the SSR+CE story was. I never got as far as exploring library integration though. crossbow-wc-2ayn6.ondigitalocean.app

03.01.2025 09:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - atlassian/pragmatic-drag-and-drop: Fast drag and drop for any experience on any tech stack Fast drag and drop for any experience on any tech stack - atlassian/pragmatic-drag-and-drop

Yeah it's tough problem - the approach taken by projects such as github.com/atlassian/pr... is really great, many could learn from it. Framework agnostic, but with (p)react-friendly apis and more reliance on the web platform as a whole πŸ‘Œ CC: @alexreardon.bsky.social for the excellent work there.

03.01.2025 09:10 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@jovidecroock.com @developit.dev @marvinh.dev I've had huge success with Preact in this area, many thanks for the continued work πŸ™

02.01.2025 22:09 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
A timeline showing how TRU is a measurement of time between a pull request being opened and a public URL being created

A timeline showing how TRU is a measurement of time between a pull request being opened and a public URL being created

I've noticed that the amount time it takes for a code-change to propagate through to a reviewable URL, is directly linked to the overall simplicity of a codebase and it's processes. Read about it: shane-o.dev/articles/int...

02.01.2025 22:05 β€” πŸ‘ 10    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

Oh I see - then perhaps I’m getting a cached version, or one I downloaded when it came out?. For reference today I was listening to the episode from Dec 3rd (Matt Pocock) - and the ads just pop in out of the blue :)

22.12.2024 21:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@danshappir.bsky.social I love the podcast, listened for years!, but the new ad feed that just cuts in randomly is really damaging, I haven’t listened in the last month to any of the pods in this group :( any plans to revert those? πŸ™

22.12.2024 15:05 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Also try Poppy - Negative Spaces

19.11.2024 18:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Same!

18.11.2024 20:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Browsersync - Time-saving synchronised browser testing Browsersync makes your browser testing workflow faster by synchronising URLs, interactions and code changes across multiple devices. It’s wicked-fast and totally free.

@wesbos.com you couldn’t remember the name of a tool on your latest Syntax, it was browsersync.io - still gets a ton of use. Over a million dependant repos on GitHub πŸ˜…

17.11.2024 09:59 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@scottjehl.bsky.social I purchased your course on web components, really enjoying it, thank you. πŸ™

17.11.2024 08:58 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Shrinking a Rust binary output from 18mb to 7mb - Shane Osbourne Simple tweaks to the options in the release profile can dramatically reduce the footprint of the resulting binary

shane-o.dev/articles/rus...

05.11.2024 09:52 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@shaneosbourne is following 18 prominent accounts