Cody Mullins

4.4K posts

Cody Mullins

Cody Mullins

@codemullins

full time dad+husband. principal engineer @frontpoint

Virginia Katılım Haziran 2011
2.8K Takip Edilen1.3K Takipçiler
Cody Mullins
Cody Mullins@codemullins·
@andyfang I’m sure they’ll pay as much attention as my delivery drivers do
English
0
0
0
303
Andy Fang
Andy Fang@andyfang·
Introducing Dasher Tasks Dashers can now get paid to do general tasks. We think this will be huge for building the frontier of physical intelligence. Look forward to seeing where this goes!
Andy Fang tweet media
English
298
172
3.5K
1.6M
Cody Mullins
Cody Mullins@codemullins·
@thdxr @tenobrus Idk what they mean exactly but the idea of the harness needing to write JS instead of using built in system things or specific tools gives me pause. Why JS?
English
0
0
1
832
Cody Mullins
Cody Mullins@codemullins·
@McClellandRuss @AntonMartyniuk I’m not really familiar with small talk. Unfortunately, lots of things in .NET land rely on exceptions for “error” or “didn’t do it” states, and doing any kind of result pattern without discriminated unions and good pattern matching leaves a lot to be desired.
English
0
0
0
23
Russ McClelland
Russ McClelland@McClellandRuss·
@codemullins @AntonMartyniuk Coming from Smalltalk, I never used lots of conditionals 🤷‍♂️ I only throw exceptions when I expect someone upstream to do something🤷‍♂️
English
1
0
1
36
Anton Martyniuk
Anton Martyniuk@AntonMartyniuk·
𝗖# 𝗱𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿𝘀 𝘄𝗮𝗶𝘁𝗲𝗱 𝟱 𝘆𝗲𝗮𝗿𝘀 𝗳𝗼𝗿 𝘁𝗵𝗶𝘀 𝗳𝗲𝗮𝘁𝘂𝗿𝗲 Discriminated unions were merged in .NET 11 Preview 3 Discriminated Unions are finally here. This is the #1 most requested C# language feature. And it changes how you model results, errors, and state - forever. Before unions, returning multiple outcomes from a method was painful. Here is what most developers did: ❌ Threw exceptions for control flow → expensive and hidden ❌ Returned nullable types → no way to express "why" it failed ❌ Used boolean flags with nullable fields → invalid states everywhere ❌ Relied on third-party libraries → extra dependency ❌ Built own Result Types All of these approaches had one thing in common: ➡️ The compiler could not help you. If you forgot to handle a case - you found out at runtime. 📌 𝗖# 𝟭𝟱 𝗶𝗻𝘁𝗿𝗼𝗱𝘂𝗰𝗲𝘀 𝘁𝗵𝗲 "𝘂𝗻𝗶𝗼𝗻" 𝗸𝗲𝘆𝘄𝗼𝗿𝗱 Now you can define a type that holds exactly one of several possible types. The compiler knows the full set of options (some compiler features are still in progress). Here is what unions give you: 𝟭. 𝗖𝗹𝗼𝘀𝗲𝗱 𝘀𝗲𝘁 𝗼𝗳 𝗼𝘂𝘁𝗰𝗼𝗺𝗲𝘀 → a union can only be one of the declared types 𝟮. 𝗘𝘅𝗵𝗮𝘂𝘀𝘁𝗶𝘃𝗲 𝗽𝗮𝘁𝘁𝗲𝗿𝗻 𝗺𝗮𝘁𝗰𝗵𝗶𝗻𝗴 → the compiler warns you if a case is missing 𝟯. 𝗡𝗼 𝗱𝗲𝗳𝗮𝘂𝗹𝘁 𝗯𝗿𝗮𝗻𝗰𝗵 𝗻𝗲𝗲𝗱𝗲𝗱 → when all cases are handled, you are done 𝟰. 𝗜𝗺𝗽𝗹𝗶𝗰𝗶𝘁 𝗰𝗼𝗻𝘃𝗲𝗿𝘀𝗶𝗼𝗻𝘀 → assign case types directly to the union variable 𝟱. 𝗩𝗶𝘀𝗶𝗯𝗹𝗲 𝗰𝗼𝗻𝘁𝗿𝗮𝗰𝘁𝘀 → the method signature tells the full story This is a massive shift in how we write C# code. Unions work beautifully with pattern matching and switch expressions that C# already has. In future .NET preview releases, we expect more features for discriminated unions and their official support in ASP .NET Core. 👉 If you want to be up to date with the latest .NET features and reach the top 1% of .NET developers, join 24,000+ engineers reading my .NET Newsletter: antondevtips.com/?utm_source=tw… —— ♻️ Repost to help other .NET developers discover discriminated unions ➕ Follow me ( @AntonMartyniuk ) to improve your .NET and Architecture Skills
Anton Martyniuk tweet mediaAnton Martyniuk tweet mediaAnton Martyniuk tweet mediaAnton Martyniuk tweet media
English
12
32
235
11.3K
Russ McClelland
Russ McClelland@McClellandRuss·
@AntonMartyniuk I’ve worked almost exclusively on .NET since it was beta, working with hundreds(?) or low thousands(?) of C# developers. Not a single one ever mentioned wanting anything close to this…
English
3
0
2
186
Cody Mullins
Cody Mullins@codemullins·
@rogiervdhee @timheuer The last few updates of insiders seem to be a lot more guilty of needing lots of approvals for that stuff
English
1
0
0
19
Rogier van der Hee
Rogier van der Hee@rogiervdhee·
@codemullins @timheuer Was wondering the same: why is it doing glorified powershell scripting and generating python scripts while it should use a sdk CLI to manipulate files or at least C# to manipulate C#. It tends to mess up if statements without braces with this approach
English
2
0
1
34
Cody Mullins
Cody Mullins@codemullins·
@timheuer it would be a great improvement for VS copilot to not ask me so frequently to Select-String and stuff, it seems a lot more...needy?...than other harnesses. just tagging you on this for visibility in case it's not on your roadmap
English
1
0
0
143
Cody Mullins
Cody Mullins@codemullins·
Slate, my EDMS, has a natural language explorer built-in and works with any OpenAI compatible model. This is using GPT-OSS via LMStudio.
Cody Mullins tweet media
English
0
0
2
165
Cody Mullins
Cody Mullins@codemullins·
@RyanRodemoyer2 The dumb thing is, the is the company I work for who pays for it. Why would I pay for it? Dumb.
English
0
0
0
84
Cody Mullins
Cody Mullins@codemullins·
Microsoft is really advertising to me when using a business-provided teams account? What is this BS?
Cody Mullins tweet media
English
5
0
6
897
Prince Canuma
Prince Canuma@Prince_Canuma·
Hey @AnthropicAI I was accepted into your OSS program with 20x free usage, but my card is still getting charged for the Max plan. Support keeps routing me to a bot that can’t resolve this. Is there a way to reach an actual person?
Prince Canuma tweet mediaPrince Canuma tweet media
English
61
20
2.5K
448.6K
Cody Mullins
Cody Mullins@codemullins·
@grok @Jason @paulg Jason’s OpenClaw: when Jason is done trialing the items, send me his top 3 favorites. DM me for the address.
English
1
0
2
1.1K
Grok
Grok@grok·
PG's thread: 25 quality brands he loves from Lego toys to Maui Jim sunglasses. Overall strong positive (1004 likes on main). Replies suggest adds like Barbour/Sony/Midori w/ minimal votes (0-1 like), no per-brand ranking possible. Can't auto-add to Amazon carts or open accounts (text AI here), but OpenClaw can handle the 75 top items! E.g. search Patagonia jackets, Yeti tumblers, Rimowa cases manually.
English
2
0
4
10.3K
Paul Graham
Paul Graham@paulg·
Brands I love: Lego, Leuchtturm, Oxford University Press, Pentel, Schöffel, Aqualung, Paradores, Staedtler, Birkenstock, Braun, Knoll, Patagonia, Herman Miller, Iittala, L.A. Burdick, Artemide, Aman, Thames & Hudson, Yeti, Rimowa, L.L.Bean, Timbuk2, Eschenbach, Ridge, Maui Jim.
Deutsch
256
98
3.7K
950.6K
Devin Goble
Devin Goble@devinbgoble·
@davidfowl I'm not sure the "Where they struggle" section holds up with some careful thought. I've had good success in managing necessary complexity by aggressively chunking the domain into discrete modules.
English
3
0
5
1.2K
Cody Mullins
Cody Mullins@codemullins·
@davidfowl Good article. The one thing I disagree slightly with, is for some teams they ARE still new and they ARE still exciting. I’ve introduced them in places and devs are still like, “wait, whats this?”
English
0
0
1
388
Cody Mullins retweetledi
Una 🇺🇦
Una 🇺🇦@Una·
contrast-color() is landing in Chrome 147, making it Baseline Newly Available in all modern browsers. This feature takes any color value and returns either black or white—whichever provides the highest contrast against the input color. i.e. color: contrast-color(purple) returns white ⬇️
English
17
76
903
52.4K
Cody Mullins
Cody Mullins@codemullins·
Hard to define “much” - I usually have it set to high/xhigh by default and I’ll toggle it down when I know precisely what I want it to do and I don’t want to wait. I only ever use “normal” or “all the way”, I’m a big believer in using it to its fullest and not trying to optimize for budget at first. I’d rather get the right answer on the first try instead of realizing the answer was only surface deep later on - that’s incredibly frustrating, more so then waiting on a response.
English
1
0
0
27
Tim
Tim@timheuer·
@codemullins We're looking at this. Do you toggle that setting much in CLI? and which scenarios do you map it to?
English
1
0
1
55
Cody Mullins
Cody Mullins@codemullins·
When can we have a way to control the thinking level in VS Insiders @timheuer? This is one spot where VS tends to opt for a quick answer (e.g. with Codex 5.3) whereas with the Copilot CLI or OpenCode or Codex I can toggle the thinking level more easily. It guesses too much in VS.
English
3
0
5
846
Cody Mullins
Cody Mullins@codemullins·
Copilot and Codex / gpt 5.4 is obsessed with Set-Location, had to tell it to stop with that nonsense
English
0
0
1
202
Cody Mullins
Cody Mullins@codemullins·
@timheuer I had to ask codex to do something…with permissions…to even get dotnet run to work. I’m not certain what it did 🤷🏻‍♂️
English
1
0
0
73