Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts by rcmosher‭

7 posts
75%
+4 −0
Q&A Syntax match any 2 spaces at end of line

I'm using the following syntax match to conceal 2 spaces at the end of a line with a special character. syntax match Normal '\s\{2}$' conceal cchar=⏎ A line with two spaces at the end of it wou...

2 answers  ·  posted 6mo ago by rcmosher‭  ·  last activity 6mo ago by Michael‭

Question vim
71%
+3 −0
Q&A Syntax match any 2 spaces at end of line

A Fix An existing pattern needs to be cleared to allow the new rule to match on any 2 trailing spaces: syntax clear markdownLineBreak syntax match markdownLineBreak '\s\{2}$' conceal cchar=⏎ ...

posted 6mo ago by rcmosher‭

Answer
60%
+1 −0
Q&A Add an IDistributedCache to EntityFramework

Is there a standard way to add an IDistributedCached in front of a database using EntityFramework? Something that handles checking the cache for reads, updating the cache on writes, and uses distri...

0 answers  ·  posted 6mo ago by rcmosher‭

60%
+1 −0
Q&A Test Extension Method Received Call with NSubstitute

How can I verify that an extension method was called when using NSubstitute for unit testing? For a normal method I'd do something like: substitutedClass.Recieved().CheckedMethod(...) But exten...

1 answer  ·  posted 4mo ago by rcmosher‭  ·  last activity 4mo ago by rcmosher‭

Question c# nsubstitute
60%
+1 −0
Q&A Test Extension Method Received Call with NSubstitute

Extension methods can't be tested for received calls as they are not directly on the substituted class, plus they are static. However, extension methods are ultimately calling into a real method o...

posted 4mo ago by rcmosher‭

Answer
60%
+1 −0
Q&A Tilt: Ignore directory changes

I have a generated file I want Tilt to ignore for re-building. However, when that file changes, Tilt also detects that the parent directory has changed based on its contents changing. I can fix tha...

0 answers  ·  posted 6d ago by rcmosher‭

Question tilt
60%
+1 −0
Q&A Do Where and OfType preserve List capacity?

I did a quick test using LINQPad and it looks as though .Select() does not necessarily preserve capacity. For .Where() and .OfType() the capacity depends on the count, though it doesn't necessarily...

posted 5d ago by rcmosher‭

Answer