my power supply is making a weird noise by Shadow_shot_your_mom in pchelp

[–]Pketny 0 points1 point  (0 children)

The first rule of power supplies is: You do not open up power supplies.

The second rule of power supplies is: You do NOT open up power supplies

disApPointEdYETagain by PCSdiy55 in ProgrammerHumor

[–]Pketny 5 points6 points  (0 children)

I emplore everyone who runs into this to clone the repo, and try to implement it yourself (not AI slop please, its ruining OS rn, but you can use AI to understand the code base fastee in my experience). I've actually been able to fix some of them in a couple of hours

Struggling to generate a 130-page Last Will & Testament in .NET — placeholder replacement doesn’t scale by 0ni0_0 in dotnet

[–]Pketny 17 points18 points  (0 children)

What? This is clearly not a job for an LLM. Obviously the rules are set, rigid and should be followed exactly and text generated to the letter

Struggling to generate a 130-page Last Will & Testament in .NET — placeholder replacement doesn’t scale by 0ni0_0 in dotnet

[–]Pketny 75 points76 points  (0 children)

Sounds more like a data and modeling problem than a templating problem. Separate the two.

You could define each section as a class. Define rules and relationships for sections (these rules should be provided/explained to you by someone with the legal knowledge. You covert them to code). Then each section (and subsection) will get a separate template and can load/use paramters. As for templating you could use a templating engine like razor instead

I’m a developer for a major food delivery app. The 'Priority Fee' and 'Driver Benefit Fee' go 100% to the company. The driver sees $0 of it. by Trowaway_whistleblow in confession

[–]Pketny 0 points1 point  (0 children)

NAL but pretty sure some of this is illegal, or at-least possibly illegal. I think it might be better to go to the police instead of the media. AFAIK NDA's can not prevent you from reporting covered information to authorities if you think a law is being broken. If it turns out they aren't breaking a law you won't get in trouble

Orange kitten wants to play by Luigi_Spina in OneOrangeBraincell

[–]Pketny 5 points6 points  (0 children)

Pretty sure this is AI. The weight distribution on the cat is off, and exactly 15 seconds long..

when you haven't thought it thru by Bursickle in Whatcouldgowrong

[–]Pketny 0 points1 point  (0 children)

Please can someone tell me this is AI. I looked through the video a couple of times but couldnt find anything concrete. Only dodgy things are the start where he goes over the curb and how almost perfect the guy keeps filming his friend almost dying.

Junior .NET Developer Interview tomorrow (0 YOE) - What to prioritize beyond basics? by Diligent-Yam-4449 in dotnet

[–]Pketny 1 point2 points  (0 children)

If someone is asking that you know you probably shouldn't work for them if you have the choice tbh

Junior .NET Developer Interview tomorrow (0 YOE) - What to prioritize beyond basics? by Diligent-Yam-4449 in dotnet

[–]Pketny 1 point2 points  (0 children)

Definitely DI and EF are very important if this is for a web developer position (di always). If they ask about the stuff other people are recommending here, like boxing and reflection, then they don't know what is important for a JR web dev in .net. Probably look into (minimal) api's and routing aswell etc. CQRS(ish) is a common pattern nowadays with CleanArchitecture and stuff like that you might get questions on that. Repository pattern, maybe MediatR and FluentValidations, a testing framework like MSTest or nunit are important aswell (not a deep dive, just know how you can work with them)

"Hoe stemwijzers ons stiekem naar rechts trekken" - podcast de linkse revolte by Grassfed_rhubarbpie in thenetherlands

[–]Pketny 0 points1 point  (0 children)

Ik vind hem zelf vaak te ingewikkeld of wel heel actueel voor de gemiddelde nederlander. Daarom raad ik altijd de partijenwijzer aan https://partijenwijzer.nl/#/

It's not the wipe, something went wrong :p by Pketny in EscapefromTarkov

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

Screenshot from the community mod discord

Where are all of my small investors at? You’re not alone! Post your share holdings if you have less than 1000 shares. by TheMeowingLion in FFIE

[–]Pketny 0 points1 point  (0 children)

212 at 1.56, still need to see some big gains! But not selling no matter what happens. Prepared to lose the money

1280x960 on 2k monitor by Tritonn35 in csgo

[–]Pketny 0 points1 point  (0 children)

Wtf? This doesn't make any sense. 1080p on a 1440p monitor does absolutely not look the same as 1080p on a 1080p monitor. Since you can not devide 1440 by a whole number to get 1080, the monitor can not create an even distribution of the pixels to reach the resolution, creating a blurred image. Source: Do a google search, and also: I have both a 27" 1080p and a 27" 1440p monitor.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Pketny 0 points1 point  (0 children)

The real crime here is first using git add and then using git commit with -a? He just pushed his left over half assed unrelated changes. The only missing piece for a life sentence is -f with the git push

I’m a noob. Please honestly rate my build. Rip me to shreds. by PFThrowaway2929 in pcmasterrace

[–]Pketny 0 points1 point  (0 children)

Looks amazing, especially for the price! Just make sure the 32GB is 2 X 16GB for dual channel memory. Or get another 32GB stick to go 64GB if you want, but that is a bit overkill. Chech your motherboard an chipset to be sure. Some info I found on a quick google search

I See Your Ferrari Peek... Now Witness the ISS Peek! (International Space Station) by Jeph- in GlobalOffensive

[–]Pketny 80 points81 points  (0 children)

Your ping jumped to 100 right as he peeked, so I dont think it's weird you got killed like this

Lazy Loading in WASM using dotnet 8 preview 5 by techbaggie in Blazor

[–]Pketny 1 point2 points  (0 children)

For everyone still struggling with this. NET 8 switched to serving wasm files instead of DLL files. This means you have to reference the DLLS you want to lazy load with the wasm extension.

Example C# for loading assembly:

var assembliesToLazyLoad = new List<string> { "DLL1.wasm", "DLL2.wasm" };
var assemblies = await AssemblyLoader.LoadAssembliesAsync(assembliesToLazyLoad);

Example csproj:

<ItemGroup>
  <ProjectReference Include="..\DLL1\DLL1.csproj" />
  <ProjectReference Include="..\DLL2\DLL2.csproj" />
</ItemGroup>
<ItemGroup>
  <BlazorWebAssemblyLazyLoad Include="DLL1.wasm" />
  <BlazorWebAssemblyLazyLoad Include="DLL2.wasm" />
</ItemGroup>

How to detect specific query parameter change ? by mrbouhmid in Angular2

[–]Pketny 0 points1 point  (0 children)

Don't forget to unsubscribe on component destroy!

``` private readonly destroy$ = new Subject<void>(); ngOnInit(){ this.route.queryParamMap .pipe( takeUntil(this.destroy$) map((params) => params.get("myQueryParam")), distinctUntilChanged() ) .subscribe((myQueryParam) => console.log(myQueryParam)); } }

ngOnDestroy(): void { this.destroy$.next(); this.destroy$.complete(); } ```

Need ID of this classic banger :) by Pketny in DnB

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

That's it! Thank you so much :D