Jamie R Rytlewski

105 posts

Jamie R Rytlewski banner
Jamie R Rytlewski

Jamie R Rytlewski

@jamierytlewski

Senior App Dev

Okemos, MI Katılım Aralık 2006
324 Takip Edilen263 Takipçiler
Jamie R Rytlewski
Jamie R Rytlewski@jamierytlewski·
@Dave_DotNet But saying indexed columns is kind of broad right? I could have an index on a column for states. Now would I want to use firstordefault or singleordefault probably not. But just saying indexed columns is not great advice.
English
1
0
0
107
Dave Callan | dotnet
Dave Callan | dotnet@Dave_DotNet·
#dotnet devs FYI ... there's no perceptible difference between FirstOrDefault and SingleOrDefault when used against indexed columns. If you're searching through non-indexed columns in large tables... well you've got a bigger problem, why aren't they indexed? I like to use whatever gives the most accurate expression of intent to the dev reader based on what the result set should have. Using FoD on a primary key as a performance optimization, is gaining nothing but potentially confuses the reader ... why would I potentially get multiple results for a primary key query? 🤔 In memory collections are different especially in hot paths.
Mukesh Murugan@iammukeshm

Fact: Most .NET developers write EF Core queries that negatively impact database costs. Here are the TOP 5 EF Core mistakes killing your API performance right now: 1. No projections You return full entities when the client needs 3 fields. Fix: Use .Select(x => new { x.Id, x.Name, x.Status }) Result: Less data transferred, faster serialization, smaller SQL query. 2. N+1 queries You load orders, then loop and query each customer separately. Fix: Use .Include(o => o.Customer) or a projection that flattens the data. Result: 1 SQL query instead of 51. 3. Tracking read-only data EF Core tracks every entity by default. Change tracking costs memory and CPU. Fix: Add .AsNoTracking() to every read-only query. Result: 30-40% faster on large result sets. 4. Late filtering Calling .ToListAsync() before .Where() loads everything into memory first. Fix: Always filter, sort, and page BEFORE materializing. Result: SQL Server does the work instead of your app server. 5. SingleOrDefault vs FirstOrDefault SingleOrDefault scans the entire result set to guarantee uniqueness. Fix: Use FirstOrDefaultAsync when you just need the first match. Result: Faster queries, especially on large tables. None of these are hard to fix. All of them make a measurable difference. Check your codebase today. I guarantee at least 2 of these are hiding in there. Found this useful? Repost to your network. For more .NET tips, join my free newsletter: newsletter.codewithmukesh.com

English
7
3
44
7.6K
Branko
Branko@brankopetric00·
GitHub Actions cache saved us $2,100/month. The problem: - 200+ workflow runs per day - Each run: npm install (3 minutes) - node_modules: 800MB - Downloading dependencies every single time The solution: ```yaml - uses: actions/cache@v3 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} ``` The impact: - npm install: 3 minutes → 15 seconds - Build time reduction: 40% - Fewer billable minutes We then added caching for: - Docker layer cache (buildx cache) - Terraform providers - Go modules - Python pip packages Total monthly savings: $2,100 The cache is free (up to limits). The compute isn't. If your CI downloads the same thing twice, you're burning money.
English
32
51
698
69K
Jamie R Rytlewski
Jamie R Rytlewski@jamierytlewski·
@intentui @devongovett Again, make a PR. I know i made a PR for something and it was accepted. And we had a discussion on another about why it didn’t make sense and it was a good discussion. Hands down one of the better repos I’ve dealt with with PRs and issues.
English
0
0
1
107
Intent UI
Intent UI@intentui·
@devongovett I’m not unwilling, but I truly believe you can make it far better. I’ve actually been waiting a very long time for this.
English
1
0
2
274
Intent UI
Intent UI@intentui·
New update: sidebar & disclosure now use a CSS variable --disclosure-height for smoother animations. We hooked it into keyframes for expand/collapse. If RAC exposed this variable directly, it’d be even more useful.
English
4
3
17
1.9K
Codify
Codify@CodifyBaseball·
MLB games lasting 3+ hours: 2003: 28% 2004: 31% 2005: 30% 2006: 32% 2007: 39% 2008: 37% 2009: 38% 2010: 38% 2011: 40% 2012: 47% 2013: 52% 2014: 58% 2015: 46% 2016: 54% 2017: 62% 2018: 54% 2019: 62% 2020: 59% 2021: 67% 2022: 60% 2023: 17% 👀 2024: 12% 👀 2025: 15% 👀
English
402
346
11.7K
958.4K
Jamie R Rytlewski
Jamie R Rytlewski@jamierytlewski·
@useTRMNL That’s crazy a firmware update did this. It was from someone not part of Trmnl right?
English
1
0
1
199
TRMNL
TRMNL@useTRMNL·
Before/after firmware comparison. Left: 1.5.12. Right: 1.6.1.
English
3
3
51
4.6K
TRMNL
TRMNL@useTRMNL·
Fast refresh, no flicka, now live.
English
12
8
287
30.4K
Devon Govett
Devon Govett@devongovett·
Does your answer change if there is a border?
Devon Govett tweet media
English
24
0
32
5.3K
Devon Govett
Devon Govett@devongovett·
Which parts of this checkbox UI would you expect to be clickable? Only the box itself? Box and label? What about the description? Poll in next tweet. 🗳️
Devon Govett tweet media
English
7
2
28
8.4K
Jamie R Rytlewski retweetledi
Rootless Coffee Co
Rootless Coffee Co@RootlessCoffee·
If you know what a Danhausen is retweet this
English
38
917
1.4K
69.5K
Syntax
Syntax@syntaxfm·
.@figma bought a CMS (@payloadcms) to close the dreaded design to code gap
English
2
2
18
2.5K
Jamie R Rytlewski
Jamie R Rytlewski@jamierytlewski·
@alexkehr Just curious as to how you know the strain and everything? Is that in the HealthKit?
English
0
0
0
77
Alex Kehr
Alex Kehr@alexkehr·
built a whoop-style training/recovery app for my apple watch as a weekend project… no more $300/year contracts. gives me recovery scores, effort goals, trends, and more.
English
158
55
2.8K
420.5K
Mads Kristensen
Mads Kristensen@mkristensen·
Why are you still using Visual Studio 2019 or older?
English
34
1
21
9.2K
Stefan Đokić | .NET
Stefan Đokić | .NET@TheCodeMan__·
Imagine telling a junior dev: “To get the user’s name, just inject IHttpContextAccessor into your service.” #dotnet has some wild hoops for the simplest things. What’s the most unintuitive thing you’ve had to explain?
English
11
8
88
9.8K
Jamie R Rytlewski retweetledi
terminal
terminal@terminaldotshop·
day 1 an opportunity to win free coffee for life more information below
English
50
124
901
240.4K
Jamie R Rytlewski
Jamie R Rytlewski@jamierytlewski·
@pankowecki Honestly the two biggest things is running and km. I run more than ride so the riding stats didn’t mean much to me. The km isn’t a big deal for me, but it might be for others. Otherwise it’s great. I can’t think of anything I’d like implemented right now. Ill have to see the stat
English
0
0
1
15
Robert Pankowecki
Robert Pankowecki@pankowecki·
@jamierytlewski I won't be open sourcing yet but I am open to giving you access. What would you like to see implemented? Would you like a setting to display in miles instead? Ideally TRMNL would send this setting but I can also add it myself.
English
2
0
1
64
Robert Pankowecki
Robert Pankowecki@pankowecki·
This week I am celebrating the release of STRMNL - the app integrates with #Strava to display your training activities on the #TRMNL device, providing a seamless, no-pressure way to stay motivated and achieve your fitness goals.
Robert Pankowecki tweet media
English
6
2
33
3.2K
Jamie R Rytlewski
Jamie R Rytlewski@jamierytlewski·
@useTRMNL It’s so awesome that you have so many on back order and ready to ship. So excited and assembled in the USA.
English
0
0
4
184
TRMNL
TRMNL@useTRMNL·
Should we report order fulfillments for transparency? - today, 76 - yesterday, 74 aiming for 100 /daily, all are assembled + shipped by our team in the USA.
English
8
0
64
6.8K
Jamie R Rytlewski
Jamie R Rytlewski@jamierytlewski·
@useTRMNL So not to be a pain and I love all what you are doing. But is there a way I can figure out how long I’m on the list for. I have so many ideas.
English
1
0
0
45
DHH
DHH@dhh·
This is Danish police celebrating that they ticketed 64 bicyclists who drove instead of dragging their bike on a pedestrian walkway to avoid construction. This is broken-windows theory on steroids, and it's produced one of the safest metropolitan cities in the world.
English
36
40
992
197.5K