Ryan Rodemoyer

3.2K posts

Ryan Rodemoyer banner
Ryan Rodemoyer

Ryan Rodemoyer

@RyanRodemoyer2

Ready to unlock the power of LINQPad? Start the free course. 👉🏻👉🏻👉🏻 https://t.co/o5ikUruKnm

United States Katılım Kasım 2023
316 Takip Edilen1.1K Takipçiler
Sabitlenmiş Tweet
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
In hindsight, I've created somewhat of a unique way of coding Starting new is hard. Few people have the entire ecosystem of code loaded in their mind. Progress is excruciatingly slow at the beginning * connect the database * build repos * setup DI * database migrations * HttpClient's * configuration files * Docker files list is endless API's are frequently shifting and changing We know how to code but how these things all connect together takes time to figure out Losing hours to dumb bugs is a MASSIVE DRAIN My approach is obvious, but: * no one talks about it * no one recommends it * no one even realizes it exists It's not a hack It's not a shortcut But here it is I write a lot of code I figure out the little ways to do stuff I create a TON of examples 1-2 times per year I code a big project The big projects are based on the previous projects so I always get a head start on the next thing In the big projects, much of the code comes from my samples So that's the secret Write more code that you think is reasonable Make examples out of it Use them later on
English
4
0
24
4.9K
sunny madra
sunny madra@sundeep·
“If your $500K engineer isn’t burning at least $250K in tokens, something is wrong.”
English
611
689
7.9K
2.1M
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
First day of March Madness Mr Boss Man doesn’t schedule impromptu team meeting at 230pm Stunning coincidence
English
0
0
0
37
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
@Aaronontheweb @EricRichards22 I worked for a company that still went full speed ahead on Silverlight in the 2010’s, and then in 2019 going full tilt to rewrite to Angular 2. Fun.
English
0
0
2
16
Aaron Stannard
Aaron Stannard@Aaronontheweb·
@EricRichards22 yeah that lines up with how long it took the official public policy to align with the defacto private one
English
1
0
4
43
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.2K
Rhys
Rhys@RhysSullivan·
what's the best tool to tail the logs from my server, datadog?
English
21
0
51
13.4K
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
@devinbgoble skill issue (sarcasm. this actually sucks ass and you're completely correct)
English
1
0
1
24
Devin Goble
Devin Goble@devinbgoble·
Why is modern web dev bent on making it harder or impossible to use tried and true tools like the debugger, logs, and network traces built in to browsers. All in favor of dumping hard to parse garbage to a terminal, if you're lucky. This problem predates AI.
English
3
1
6
351
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
Hey boss, can we talk about a raise? I crushed that last project, onboarded 6 new hires, salvaged another late project and I fixed 3 prod issues in the past 6 weeks. *laughs* Was it something I said? You’re “raise” is you’re lucky you still have a job. *slap on the back*
English
0
0
3
151
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
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
@Aaronontheweb If they turn into a dumb pipe via MCP how will they upsell, distract you with their latest feature walkthrough, record your browsing session, A/B test button colors, etc
English
1
0
4
82
Aaron Stannard
Aaron Stannard@Aaronontheweb·
If SaaS providers make it tough to automate their shit with LLMs, they're going to get replaced. Expose real web APIs or MCP servers that let my agents do the thing - don't make me click around your site.
English
6
1
13
1.3K
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
Boss, you want the good news or bad news? The good news. Code is pure clean architecture, 90% test coverage, normalized database, active active AWS, completely instrumented, 100% RESTful and mini-SPA architecture. Okay great so what’s so bad? We’re six months behind schedule.
English
2
0
8
991
sudox
sudox@kmcnam1·
sudox tweet media
ZXX
14
42
391
6.6K
Tyler Gnesda
Tyler Gnesda@lord_gnesda·
@LaurennGreeneS Is 19.99/lb for some USDA prime ribeyes not a good deal? Jumped on that when I saw it at Costco over the weekend 🤷‍♀️
Tyler Gnesda tweet media
English
2
0
1
716
Lauren Greene
Lauren Greene@LaurennGreeneS·
I was at Costco today, and this lady and I were looking at steaks. She says “I love ribeyes but the cost has increased too much”… honestly I feel the same. I buy “steaks” in bulk, cut them up, freeze them. I get more out of it. But it’s insane, the price of beef is getting unaffordable. Everything is unaffordable.
English
360
75
1.6K
347.4K
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
What I find most surprising about Gemini CLI is just how shockingly bad it is at writing code to consume Gemini completions. Routinely it tells me that 2.5 is SOTA and knows absolutely zero about the capabilities in 3 and 3.1
English
0
0
0
162
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
@fjzeit Without the data is really hard to tell how much to invest into the savings. I measure every breaker in my panel. I found that my AC unit uses 1 kWh per day even when not in use (winter) so i turn off the breaker switch. Saves $5-6/month
English
0
0
2
22
fj
fj@fjzeit·
@RyanRodemoyer2 i don't have per-device metrics but i get your point. i'm staying up to save a few cents.
English
1
0
0
11
fj
fj@fjzeit·
i'd be happy with a robot who could take the washing out of the washing machine and put it in the dryer at 2am because the washing machine has a 4 hour cycle and off peak starts at 10pm. i'd pay $350 for such a device. i don't need a humanoid robot.
English
7
0
7
280
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
@fjzeit For a family of 4 my electric dryer used February 86 kWh January 116 kWh
English
1
0
0
17
Ryan Rodemoyer
Ryan Rodemoyer@RyanRodemoyer2·
@fjzeit Fully loaded electric rate for me here in my part of the US is like $.23 USD kWh
English
1
0
1
19
fj
fj@fjzeit·
@RyanRodemoyer2 > 4 hours to wash clothes? wow yes, i think i need to read the manual. the rate diff? oh no, you're going to logic me into using the shoulder rate... 14 c/kWh
English
1
0
0
29