Mike Bruno

897 posts

Mike Bruno banner
Mike Bruno

Mike Bruno

@PkiMike

One of the developers of PKI Spotlight, a revolutionary PKI monitoring and alerting tool. Cybersecurity professional.

New Jersey, USA Katılım Ocak 2022
74 Takip Edilen61 Takipçiler
Voultar
Voultar@Voultar·
Well.... I thought I had the flu but now I have blisters in my mouth and this painful rash all over my body. I'm going to be down for just a few days, friends. Sorry!
Voultar tweet media
English
32
2
75
7.3K
Mike Bruno
Mike Bruno@PkiMike·
@JessicaValenti The GOP’s thirst for low-cost worker bees with no prospects is unquenchable! I wonder if there’s a book that would say what they’re doing is evil? 🤔🤔✝️
English
0
0
0
7
Jessica Valenti
Jessica Valenti@JessicaValenti·
I’m calling it now: Republicans will try to make hormonal birth control illegal for teenagers
English
545
355
1.4K
326.5K
Mike Bruno retweetledi
Mᜋtt
Mᜋtt@MMatt14·
the Microsoft Windows 2025 experience, expressed in a single picture
Mᜋtt tweet media
English
733
4.3K
67.1K
2M
Mike Bruno
Mike Bruno@PkiMike·
Wise words
Anton Martyniuk@AntonMartyniuk

𝟱𝟬% 𝗼𝗳 𝗱𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿𝘀 𝗳𝗮𝗰𝗲𝗱 𝗺𝗲𝗺𝗼𝗿𝘆 𝗹𝗲𝗮𝗸𝘀 𝘄𝗶𝘁𝗵 𝗘𝗙 𝗖𝗼𝗿𝗲 They're making the same mistake 👇 ❌ Improper handling of DbContext lifetimes. Many devs simply register DbContext as scoped and call it a day. ▶️ But reality is often more complex. DbContext isn't thread-safe — sharing it across threads will cause exceptions. It's lightweight and meant to be short-lived, instantiated frequently, and disposed properly. ❌ Improper handling leads to growing memory usage and eventual leaks. Thankfully, EF Core provides solutions to handle complex scenarios: ↳ 𝗜𝗗𝗯𝗖𝗼𝗻𝘁𝗲𝘅𝘁𝗙𝗮𝗰𝘁𝗼𝗿𝘆 Allows safe, on-demand creation of DbContext instances — perfect for background tasks, multi-threading and desktop applications. ↳ 𝗗𝗯𝗖𝗼𝗻𝘁𝗲𝘅𝘁 𝗣𝗼𝗼𝗹𝗶𝗻𝗴 Reuses pre-configured DbContext instances to minimize performance overhead. Pooling resets contexts after use, significantly cutting down memory and CPU waste. ↳ 𝗣𝗼𝗼𝗹𝗲𝗱 𝗗𝗯𝗖𝗼𝗻𝘁𝗲𝘅𝘁𝗙𝗮𝗰𝘁𝗼𝗿𝘆 Want the best of both worlds? Combine DbContextFactory with Pooling — Pooled DbContextFactory. You get on-demand contexts that are efficiently reused, optimizing your app's performance. ✅ Always dispose contexts promptly—either with using statements or returning them to the pool. ✅ Never share DbContext across threads. Proper lifecycle management boosts application stability, responsiveness, and scalability. Understanding these nuances can eliminate those sneaky memory leaks that plague many EF Core projects. Here are 10 more mistakes developers make in EF Core: ↳ antondevtips.com/blog/top-10-mi… —— ♻️ Repost to help others avoid memory leaks in EF Core ➕ Follow me ( @AntonMartyniuk ) to improve your .NET Skills

English
0
0
1
27
David Fowler
David Fowler@davidfowl·
I’ve not seen anything defeat developers like CORS does.
English
235
206
4K
216.1K
Mike Bruno
Mike Bruno@PkiMike·
Here’s some CoPilot features I’d like to see integrated in @VisualStudio: - Keystroke to type a prompt & have it generate code in-line - Keystroke to have CoPilot generate XML comments (without having to explicitly ask) - “Apply” button at bottom of reposes as well as the top
English
0
0
1
16
Mads Kristensen
Mads Kristensen@mkristensen·
@PkiMike I believe if you put the cursor on the "set" or "get" and hit F12, you get what you're asking for
English
3
0
3
612
Mike Bruno
Mike Bruno@PkiMike·
@mkristensen Hi! Here are a couple of things I'd really like in VS: - When adding a watch when debugging, I'd like Intellisense to autocomplete and show me the available fields & properties when I type "." - In addition to "Find all references": "Find Assignments" + "Find Gets"
English
1
0
2
660
Mike Bruno
Mike Bruno@PkiMike·
@NealCuliner @mkristensen Getting anything working in Rider is a real pain, though. Everything source control just seems to just work seamlessly OOTB in VS
English
0
0
0
33
Mads Kristensen
Mads Kristensen@mkristensen·
Is that little blue lock icon next to files in Solution Explorer useful for showing source control status?
Mads Kristensen tweet media
English
92
7
154
16.8K
Mike Bruno
Mike Bruno@PkiMike·
@davepl1968 Hey Dave, do you have any stories about mkcompat.exe? That program was a miracle that got legacy software working on XP (I think?)
English
0
0
0
4
Mike Bruno
Mike Bruno@PkiMike·
@Ifindjewtards @FrankAtHPP @VEsoterica It’s apples & oranges because the 32X was an intermediate upgrade to a platform in deep decline, while the PS5 was a full generational leap, following up a platform that was still going strong
English
1
0
0
10
Francis DiPersio @ PAX EAST
Francis DiPersio @ PAX EAST@FrankAtHPP·
I'm spending my Saturday morning imagining how things would have played out had Ultimate DOOM 32X Resurrection been the game that released in holiday 94. What an incredible port that really shows what the hardware could do. Thanks for the tip, @VEsoterica!
Francis DiPersio @ PAX EAST tweet media
English
15
13
221
10K
Mike Bruno
Mike Bruno@PkiMike·
@Voultar You’re like a member of the party fighting Zeromus at the end of FFIV. He keeps hitting you with Big Bang, but you keep getting back up after some Curaja from Rosa!
English
0
0
0
34
Wassim Alhajomar
Wassim Alhajomar@Wassimulator·
Wanted to check on a patient, but Windows decided it’s update time. Thanks, @Microsoft for keeping us connected to the traditional ways of doing medicine.
Wassim Alhajomar tweet media
English
454
317
7.4K
546.2K
Shiviii
Shiviii@shivi1026·
First programming language you ever learned ?
English
3.7K
204
5.4K
478.3K
devleader
devleader@DevLeaderCa·
Do you find that you use reflection (explicitly) in CSharp and DotNet? Or avoid at all costs?
English
40
2
44
8.8K
Mike Bruno
Mike Bruno@PkiMike·
@davepl1968 ML (pure functional language. Relatively useless but fun), QBASIC, Pascal, VBScript. Oh and AppleSoft/GW BASIC.
English
0
0
1
55
Dave W Plummer
Dave W Plummer@davepl1968·
What programming languages have you learned along the way that are now obsolete? For me, it's Ada, Prolog, VBScript... and maybe REXX if you count that!
English
705
19
878
146.4K
Gaurav
Gaurav@GauravArora_·
@rqobela Any Pascal programmers here ?...My first language ..I loved it..Time from history when floppy disk ruled...I did a school project of creating Quiz master...like "Who wants to be a millionaire" or a KBC in India..
English
88
2
537
40K
Rezi
Rezi@rqobela·
Programming language you learnd but never used again is...?
English
6K
150
5.5K
950.7K