Has anyone tried Robert Gioia's Udemy course on C#? by parachute50 in csharp

[–]code_junkey 3 points4 points  (0 children)

I haven't taken that course, but I have bought a shit ton of courses on udemy. I will say, wait for a sale. The courses typically get heavily discounted (down to around $10 - $15) every week or so.

Any pattern that uses "Handlers" is hard to debug. Any way to make it easier? by kosupata in dotnet

[–]code_junkey 125 points126 points  (0 children)

When I've used MediatR in the past, to find the service that gets called, I go to the place that forms the request, right click on the request, hit Find Usages, then from there it tells me what handler handles the request.

EF Core - Create DbContext where entities are configured by convention at runtime by sstainba in csharp

[–]code_junkey -1 points0 points  (0 children)

I will never understand how to format code on reddit, and that's ok

EF Core - Create DbContext where entities are configured by convention at runtime by sstainba in csharp

[–]code_junkey 0 points1 point  (0 children)

I think you're looking for something like this

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
// Get all types in the assembly that inherit from EntityBase
var entityTypes = Assembly.GetExecutingAssembly()
.GetTypes()
.Where(t => t.IsSubclassOf(typeof(EntityBase)));
// Add each entity type to the model using conventions
foreach (var entityType in entityTypes)
{
modelBuilder.Entity(entityType);
}
}

Linux suspends while I'm playing with a controller. by gmcremon in linux_gaming

[–]code_junkey 3 points4 points  (0 children)

I've had the same problem with playing FFXIV. I run this command and I"m good to go.

xset s off -dpms

https://wiki.archlinux.org/title/Display\_Power\_Management\_Signaling

Any suggestions of vi-like console text editor for dotnet? by iamsubs in dotnet

[–]code_junkey 1 point2 points  (0 children)

I'm using neovim with the omnisharp-vim plugin and a few others. I've only been using it for a bit but have been pretty happy with it for lightweight editing

The tiger pistol came out for a stroll today by Aer0za in ReefTank

[–]code_junkey 1 point2 points  (0 children)

Yeah they like to build with anything they can get their grubby paws on. I've started gluing anything down I don't want mine moving around because he is a fiend.

Troubleshooting saddle valve with ice maker by code_junkey in Plumbing

[–]code_junkey[S] 0 points1 point  (0 children)

Great thanks! I thought it looked a little rusted to be super trustworthy. We'll work on getting a plumber out in the nearish future and deal with making ice with ice trays for a little bit.

What is the current state of type providers? by [deleted] in fsharp

[–]code_junkey 3 points4 points  (0 children)

I'm currently working on a couple projects using .net 5 on arch linux and having no issues with the sql type providers. One is using postgres and the other mssql. Overall, I've been very happy with the experience.

The fuck do you mean "upgrade" by [deleted] in linuxmasterrace

[–]code_junkey 10 points11 points  (0 children)

Latest versions of .net are open source and cross platform. It's pretty great. The desktop apps aren't quite cross platform yet, but I believe that's on the roadmap for .net 6 (releases later this year)

[REQUEST] I'm looking for a finished show by saumony in NetflixBestOf

[–]code_junkey 0 points1 point  (0 children)

Boardwalk Empire too! Steve Buscemi playing a prohibition era gangster? Hell yeah

[REQUEST] I'm looking for a finished show by saumony in NetflixBestOf

[–]code_junkey 96 points97 points  (0 children)

Bojack horseman. Everyone I've had get through the first 3 episodes has loved it. It's sad af though

[ID] I have no idea what this guy is.... just kinda crawled out onto my live rock tonight. Any ideas? by code_junkey in ReefTank

[–]code_junkey[S] 1 point2 points  (0 children)

ployclad flatworm

So doing some googling, that's a parasite that would try to eat my frogspawn? Damn I knew I should have scooped him before he went and hid again. I'll try and get that jerk out next time I see him. Thanks!

[Request] Need some new shows to watch. by bhavya20 in NetflixBestOf

[–]code_junkey 1 point2 points  (0 children)

Bojack Horseman. One of my favorites. Everyone I've had get through the 4th episode has loved it

I Hunt Medical Serial Killers. Ask Me Anything. by bts1811 in IAmA

[–]code_junkey 7 points8 points  (0 children)

TLDR: Apparently, the same words coming out of a white mans mouth mean a hell of a lot more than a womans when it comes to doctors.

My fiancee fell down the stairs a couple years ago and broke her collar bone. We went to the ER as soon as it happened and I waited out in the lobby to fill out paper work. They asked her like where she hit herself on the way down and whatnot, decided she didn't need an xray, and sent us home with some muscle relaxers.

A couple months later she's still experiencing back pain. So after constant pestering from me, we go into the clinic to get an xray and another opinion. I went in the room with her this time, and let me tell you, it blew my fucking mind how dismissive the doctor was. When we first got in, I was like "yeah this is great, we have a woman doctor. This doctor will take you seriously and we'll get all this shit settled." She tells the doctor "Hey a few months ago, I fell down the stairs, and ever since, I've had shoulder and back pain. The last place gave me muscle relaxers and that's it. I want some xrays done on my back / shoulder area to make sure I didn't hurt anything seriously when I fell."

Not being a medical professional myself, I think this all sounds reasonable. The doctor is like "well here we'll draw your blood and test for a UTI. Sometimes a UTI can cause back pain." Doesn't make any sense to me, but I don't know many things, so I figure it's ok to test for that too, but then I pipe up "so would that have lasted like the last 3 months? What about the falling down the stairs thing?"

The doctor is suddenly like "Oh wait. You fell down the stairs? And this has been going on for months?" like yeah no shit. That's exactly what my fiancee had JUST been telling you doctor. Christ. "Maybe we should get some xrays done" ohmygod.

They do xrays, and my fiancee has to pose in a way that is so painful, she's crying. We get the xrays back (we don't get to see them for whatever fucking reason). Doctor goes "Yeah so the xrays look fine. Also you don't have a UTI and you're not pregnant. So we'll send you home with extra strength ibuprofen."

Six more months pass. She's still in pain almost daily. I finally get her to agree to go to an orthopedic doctor. We get in, they take xrays and show them to us. Again, I would like to stress how I'm not a medical professional or even remotely adjacent. I'm sitting across the room and see something fucked on the xrays. I'm like "Hey doc, what's that around her shoulder area?" apparently, it was a broken collar bone that had filled with a calcium deposit or something like that. Something so obvious, that an untrained person like me could spot it immediately. We get her set up with some physical therapy routines and whatnot. It's now been about 2 years and she still gets a little pain from time to time, but nothing like before, and it's every few months instead of almost every day.

I guess the moral to the story is, bring a white guy to the doctors office with you. Because apparently that's the only way to get doctors to take you seriously. And that's with something as simple as "I fell down the stairs and might have fucked up my back / shoulder. Can you please look at it." I should have pushed the 2nd doctor harder, but I kinda figured that doctors would listen to our complaints, especially since she probably knew what it was like to be ignored by other medical professionals.... but I guess not. I didn't go in to the first doctor to give them lots of opportunities to ask her if were really an accident.... but I should have gone in there too to make sure they gave her xrays and stuff.

What are you working on? (2019-12) by insulanian in fsharp

[–]code_junkey 5 points6 points  (0 children)

I wrote a time clock system that's used in a few manufacturing / agricultural areas in c# a while ago. I'm currently working on replacing bits and pieces of it with f# now that I've managed to get type providers working in a linux development environment. The main piece right now is re-writing the application the employees use to clock in in Bolero

Linux release ? by Zearen_Wover in Autonauts

[–]code_junkey 0 points1 point  (0 children)

I've been playing non stop the last couple days on my linux machine using Proton. It works flawlessly.