Leigh Halliday

2.8K posts

Leigh Halliday banner
Leigh Halliday

Leigh Halliday

@leighchalliday

@wrapbook | English / español | YouTube: https://t.co/xBBy4Y0djt

Toronto, Ontario Katılım Mart 2010
193 Takip Edilen1.9K Takipçiler
Leigh Halliday
Leigh Halliday@leighchalliday·
@SumitM_X I'd use `explain analyze` rather than guessing. More importantly you'd want an index on the status column.
English
0
0
0
140
SumitM
SumitM@SumitM_X·
Which SQL QUERY performs better? SELECT * FROM orders WHERE status = 'NEW' OR status = 'PENDING' OR status = 'PROCESSING'; vs SELECT * FROM orders WHERE status IN ('NEW', 'PENDING', 'PROCESSING');
English
77
30
923
349K
Leigh Halliday
Leigh Halliday@leighchalliday·
@TheZvi Shopify doesn't have a QA team, doesn't mean their app isn't tested, it just means that their engineers and product teams are empowered to test and own their work.
English
0
0
0
168
Zvi Mowshowitz
Zvi Mowshowitz@TheZvi·
"Safety is a dead org at xAI." "There is no safety team on the org chart." "There is zero safety whaotsever in the company - not in the image [model], not in the chatbot." "xAI engineers 'immediately push to prod[uction]. You survive by shutting up and doing what Elon wants.'
Hayden Field@haydenfield

Former xAI employees told us that this week's restructuring followed tensions over safety and being "stuck in the catch-up phase." theverge.com/ai-artificial-…

English
200
100
1.3K
804.2K
Leigh Halliday
Leigh Halliday@leighchalliday·
@AdamRackis It can pretty much one shot feature flag cleanup... not that this is very hard, but it's good at finding all the references to the flag and removing the branch of code that's not longer needed. It's good for large refactors (ie. hundreds of places) that aren't just find/replace.
English
0
0
2
139
Adam Rackis
Adam Rackis@AdamRackis·
Where are my gainfully employed software engineers who use AI tools (vibe coders just sit this one out - here’s some crayons to play with) Am I using it wrong, or is it just faster to do smaller / non-obvious tasks by hand, vs writing a clear prompt and then verifying?
English
255
1
309
77.1K
Darrin Henein
Darrin Henein@darrinhenein·
@leighchalliday @RepFitnessEquip Thanks! Yea the Ares 2 was what I was initially looking at, but it’s an add-on to a rack — so gets $$ quickly. That bench looks awesome though, might be time for an upgrade.
English
1
0
0
43
Darrin Henein
Darrin Henein@darrinhenein·
Planning an upgrade to the home gym—right now adjustable dumbbells + bench, bike, concept2 rowing machine. Looking to add something like the @RepFitnessEquip Arcadia — any reason not to/what would you recommend instead?
English
3
0
2
1K
Leigh Halliday
Leigh Halliday@leighchalliday·
@dhh Curious how you think about testing when it comes to stimulus controllers. There is minimal system testing (amen) and I am not seeing JS testing. Is client-side behaviour validated in other ways and/or regression is caught through regular usage of the app?
English
0
0
2
1.6K
DHH
DHH@dhh·
The Fizzy test suite runs in UNDER FOUR SECONDS! Nearly 2,500 assertions. The magic is to lean hard on vanilla Rails fixtures and parallel test runners. Not only is this blazingly fast, but it's also achingly beautiful. github.com/basecamp/fizzy…
DHH tweet media
English
15
25
482
211.3K
Dreams of Code
Dreams of Code@dreamsofcode_io·
Personally, I believe any CTO should have a basic understanding of software licensing. Perhaps that’s a moronic thing to expect in 2025.
Igor Alexandrov@igor_alexandrov

Some morons latched onto what I called Fizzy by @37signals an Open Source product. I will do it again. It is Open Source, whether you like it or not. Open Source can be different. It can be a library that you can directly use in your software. It can be a documentation or a schema that you can learn from. It can be a codebase. Fizzy is an Open Source codebase to explore and study. Spend your time on learning and not on explaining to me the license.

English
9
2
143
29.7K
Wes Bos
Wes Bos@wesbos·
Any other sad angry bois got me beat?
Wes Bos tweet media
English
15
0
36
9.2K
Jason Charnes
Jason Charnes@jasoncharnes·
I'm out of the loop. Ruby folks: have any of you built an MCP? What gem did you use? I like that there's an "official" Ruby SDK, but is there a better one I should be using?
English
10
2
32
5.6K
Yaroslav Shmarov
Yaroslav Shmarov@yarotheslav·
@strzibnyj You can use custom turbo_stream actions to break out of a turbo_frame on demand. We've been successfully using this one-liner approach over multiple projects for years: #issuecomment-1934729149" target="_blank" rel="nofollow noopener">github.com/hotwired/turbo…
English
4
2
27
1.3K
Josef Strzibny
Josef Strzibny@strzibnyj·
We need a conditional _top target in Turbo Success? Close modal and redirect Failure? Keep the modal and morph Seems almost as oversight not having it. How do you all solve this?
English
12
2
55
6.3K
Leigh Halliday
Leigh Halliday@leighchalliday·
@victorelexpe @levelsio Also similar on maps, you search for locations within the bounding box of what is visible on the map rather than the whole earth's coordinates.
English
0
0
0
123
victor hasim
victor hasim@victorelexpe·
@levelsio Broadcasting only nearby players’ positions could lighten the server load, especially with 500+ users. It’s a common trick in MMOs to scale for big crowds
English
2
0
8
1.7K
@levelsio
@levelsio@levelsio·
Okay it works again, still some spammers who made some floating plane crash above the runway but all good 😁👍 I'm parked next to the runway plane spotting everyone taking off 😊 Right now update rate is 1 second, if I go below I hit some limits and the server stops Tomorrow I'll try fix the performance issues so it gets smoother, and try adding multiplayer shooting so you can shoot each other down Would be sick with 500+ ppl 😬
@levelsio@levelsio

LMFAO ofc ppl started hacking it, we need some data validation maybe

English
85
8
551
182.2K
Leigh Halliday
Leigh Halliday@leighchalliday·
@levelsio Rather than updating the position of the plane each tick, it would be cool to use old/new location to calculate trajectory + speed and smooth out the plane's flight path to avoid the jumps.
English
0
0
0
57
Leigh Halliday
Leigh Halliday@leighchalliday·
@MorriceGavin That's basically our exact stack at Wrapbook, right down to the creatine gummies. We've started to port our RN screens back to web views, moving away from the need to support GraphQL... good old Turbo. 100+ engineers working on the monolith.
English
1
0
5
781
Gavin Morrice
Gavin Morrice@iamtheantislop·
If I was hired to start a new tech startup tomorrow, web + mobile app, this would be my stack: - Rails 8 monolith - PostgreSQL - AWS hosting - Creatine gummies - Cloudflare - Sidekiq - Jbuilder for JSON templates - ViewComponents + Slim in the FE - Dart SASS written in BEM - Vanilla JavaScript - ReactNative for iOS and Android I would veto any attempt to add any of the following to the stack: - Service objects - Tailwind - Any JS framework
English
45
8
162
16.3K
Darrin Henein
Darrin Henein@darrinhenein·
After 8.5 years, I'm excited to share that I’m taking on a new role as VP of UX at Shopify! The last few years have been filled with immense challenge as I stepped into a new part of the business, and continued to have additional teams added to my scope. It's been a period filled with tremendous growth and I'm forever grateful to everyone who supported me along the way, but especially: @jingleyfish @archieabrams @CynthiaSavard @nejatian and of course @tobi for taking a bet on me nearly a decade ago 🙏 And after all this time — I don't think I've ever been as excited about the future for commerce and the good, good work we're doing here on behalf of entrepreneurs around the world 🚀
Darrin Henein tweet media
English
71
4
763
61.9K
Leigh Halliday
Leigh Halliday@leighchalliday·
@RogersKonnor It needs to know the row height (variable height is a WIP... complicated) and the IDs of the records to render... using that it can calculate the scroll distance and lazy load/render data from the server. Has some rough edges, but could at least serve as a proof of concept.
English
0
0
0
33