Gavin Baker

3K posts

Gavin Baker

Gavin Baker

@gavinb

Digital artisan

Melbourne, Australia 가입일 Mayıs 2007
238 팔로잉126 팔로워
고정된 트윗
Gavin Baker
Gavin Baker@gavinb·
What's far worse than code that gives totally wrong results? Code that gives only slightly wrong results.
English
0
0
7
0
Manish Kumar
Manish Kumar@Manixh02·
How you guys share .env files or variables to team??
Manish Kumar tweet media
English
1.1K
83
4.2K
704.7K
Armin Ronacher ⇌
Armin Ronacher ⇌@mitsuhiko·
In the past I usually wrote tests against postgres stuff by creating a transaction and rolling back. This is getting harder and harder, particularly if you have more than one service. I wonder what people do nowadays for tests to run efficiently and concurrently.
English
36
4
132
21.6K
ThePrimeagen
ThePrimeagen@ThePrimeagen·
i have been thinking about making a video about this but it mostly comes from a talk between 2 people: john on Lex's podcast @jorandirkgreef on Mine with Tiger Beetle the idea that Joran talked about was "Tiger Style" testing and one of the tenants is test "negative space" of your program and test it in production effectively every invariant in your program you codify with asserts that crash your program whether in production or in debug
English
19
6
192
22.1K
ThePrimeagen
ThePrimeagen@ThePrimeagen·
i am 19 years into programming (17 if you considering being serious) and this year i have vastly changed how i program honestly, nothing feels better than "discovering" better ways to program. it also makes me understand why it takes 30 years to master something
English
70
65
2.4K
213.4K
Gavin Baker
Gavin Baker@gavinb·
@yiningkarlli ZMQ has some really good options if you need different strategies, topologies, fanout, pub-sub, etc. If it’s point to point then Protobufs/CapnProto is probably the easiest to pass structured messages back and forth. As @ragecryx points out, discovery is important and tricky.
English
0
0
1
311
Yining Karl Li
Yining Karl Li@yiningkarlli·
I want to write a small distributed C/C++ program that can communicate with other instances of itself on other devices over the network. What's the least fussiest way to do this these days? ZMQ? NNG? Capn Proto RPC? Just go with raw low-level websockets directly? Something else?
English
52
6
105
43.2K
Gavin Baker
Gavin Baker@gavinb·
Wrote a CLI tool in Rust and was blown away. Gave myself about 1h to solve a problem and within 2h I had a polished solution. Used clap, nix, Rayon, indicatif, and simplelog. Result was incredibly fast and reliable. Much better DX than C++. 🦀
English
2
0
2
160
Gavin Baker
Gavin Baker@gavinb·
@TechCrunch Twitter is showing stealth ads (again). #1. Clicked on a regular image to enlarge it and instead was taken to the AliExpress website and a product page for contoured pillows! #2. Gambling post not labelled as “Ad” but menu reveals it definitely is an ad.
Gavin Baker tweet mediaGavin Baker tweet media
English
0
0
1
20
World of Engineering
World of Engineering@engineers_feed·
The hardest part is getting started.
English
65
232
1.6K
314.6K
Gavin Baker
Gavin Baker@gavinb·
@ConversationEDU @GrattanInst We already have a quality crisis in the building industry. Volume builders prioritise speed over quality and compliance, as evidenced by @siteinspections" target="_blank" rel="nofollow noopener">tiktok.com/@siteinspectio… - we need to fix these fundamental problems first. Reg compliance is a minimum.
English
0
0
1
25
The Conversation - Australia + New Zealand
Australia needs more housing and is getting more migrants, but we need more of those migrants to help build houses. 🏠 As @GrattanInst experts write, we’d benefit more if migration provided more skilled workers that can help fix the housing shortage. #Echobox=1706563977-1" target="_blank" rel="nofollow noopener">theconversation.com/australia-is-w…
English
1
0
2
1.9K
Tim McNamara
Tim McNamara@timClicks·
Trying to make time for generative art again
Tim McNamara tweet media
English
2
0
22
2.7K
Gavin Baker
Gavin Baker@gavinb·
@joebarnard The audiobook is extraordinary. Ray Porter does a phenomenal job of all the different voices and accents. I would recommend anything he reads!
English
0
0
3
143
Joe Barnard 🚀
Joe Barnard 🚀@joebarnard·
I'm almost finished reading Project Hail Mary by Andy Weir. It is SO good and I am requesting 400 million more suggestions for books with the same vibe, thank you!
English
125
14
927
62.7K
Gavin Baker
Gavin Baker@gavinb·
The Wes Anderson quartet of short films on @netflix from an anthology of short stories by Roald Dahl is nothing short of cinematic gold. Exquisitely carefully shot, he employs many conspicuous theatrical devices & direct narratives which break convention and beguile the viewer.
English
0
0
1
152
Gavin Baker
Gavin Baker@gavinb·
@jeffdl @engineering ??? That option is gone for me. 🫤 As to how and why it tries to download something when I select "Why this ad?" is truly baffling...
Gavin Baker tweet media
English
1
0
0
12
Engineering
Engineering@Engineering·
This has been a year full of engineering excellence that sometimes can go unnoticed. Besides all the visible changes you see on our app, here are some of the most important improvements we have made under the hood. - Consolidated the tech stacks for For you, Following, Search, Profiles, Lists, Communities and Explore around a singular product framework. - Completely rebuilt the For you serving and ranking systems from the ground up, resulting in a decrease 90% reduction in lines of code from 700K to 70K, a 50% decrease in our compute footprint, and an 80% increase in the throughput of posts scored per request. - Unified the For you and video personalization and ranking models, which significantly improved video recommendation quality. - Refactored the API middleware layer of our tech stack and in doing so simplified the architecture by removing more than 100K lines of code and thousands of unused internal endpoints and eliminating unadopted client services. - Reduced post metadata sourcing latency by 50%, and global API timeout errors by 90%. - Blocked bots and content scrapers at a rate +37% greater than 2022. On average, we prevent more than 1M bots signup attacks each day and we’ve reduced DM spam by 95%. - Shutdown the Sacramento data center and re-provisioned the 5,200 racks and 148,000 servers, which generated more than $100M in annual savings. In total, we freed up 48 MW of capacity and tore down 60k lbs. of network ladder rack before re-provisioning it to other data centers. - Optimized our usage of cloud service providers and began doing much more on-prem. This shift has reduced our monthly cloud costs by 60%. Among the changes we made was a shift of all media/blob artifacts out of the cloud, which reduced our overall cloud data storage size by 60%, and separately, we succeeded in reducing cloud data processing costs by 75%. - Built on-prem GPU Supercompute clusters and designed, developed, and delivered 43.2Tbps of new network fabric architecture to support the clusters. - Scaled network backbone capacity and redundancy, which resulted in $13.9M/year in savings. - Started automated peak traffic failover tests to validate the scalability and availability of the entire platform continuously.
English
2.1K
2.2K
18.4K
37.4M
terminally onλine εngineer
>ci/cd takes over 2h >devops team spends several months deleting everything and moving terraform files to make the pipeline faster >it's 2h and 25min now
terminally onλine εngineer tweet media
English
41
66
1.2K
110.4K
Gavin Baker
Gavin Baker@gavinb·
Literally just installed the latest version of Node.js and on the first run I get this. It's crazy how many components, packages and frameworks you need to just to get started. #webdev #wtf
Gavin Baker tweet media
English
0
0
0
79
Gavin Baker
Gavin Baker@gavinb·
Starting a side #webdev project. A million framework/host choices! Started with @Netlify for a quick result. First wizard didn't clone sample repo due to master/main conflict. Then some weird ERR_OSSL_EVP_UNSUPPORTED error due to webpack version conflict. Not a fun start.
English
0
0
0
76
Gavin Baker
Gavin Baker@gavinb·
I don't want much. World peace. A cure for cancer. And a way to hide shows I've already watched in Netflix. #wishlist #netflix
English
0
0
0
51
Gavin Baker
Gavin Baker@gavinb·
People I've met who describe themselves as Software Architects: 24 People I would describe as Software Architects: 2
English
1
0
0
63
Gavin Baker
Gavin Baker@gavinb·
Having a seriously bad IT Day where everything, even simple things, are going terribly wrong, usually for dumb reasons. #death_to_popups
English
0
0
0
45