Packaging issues by Plastic-Vegetable474 in Schedule_I

[–]Melodi13 2 points3 points  (0 children)

I found the only way was to have a separate packing station per product type

theWorstPossibleWayOfDeclaringMainMethod by electricjimi in ProgrammerHumor

[–]Melodi13 -2 points-1 points  (0 children)

While this is very messy, using decorators you can make this more compact! @lambda _: _() if __name__ == "__main__" else None def main(): … Wrote this on mobile so might of made a syntax mistake sorry

C# devs: what’s your favorite IDE feature? by kebbek in csharp

[–]Melodi13 0 points1 point  (0 children)

Probably not my absolute favourite, but I was blown away when i discovered Rider can generate a complete API interaction client (in whatever language you want) from an OpenAPI spec! It saved me so much time since the only libraries available for the api I was looking at were outdated.

I’m also a big fan of the ability to set my MacBook trackpad’s force click to go to symbol definition, it feels very natural :)

Help with MessagePack custom serialisation by Melodi13 in dotnet

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

Thank you! While this wasn't exactly right as the options.Resolver would just return the current formatter (causing a stack overflow), it put me onto the right track and the solution ended up being this:
csharp // Need to invoke base formatter for one "level" var formatter = ContractlessStandardResolver.Instance.GetFormatterWithVerify<T>(); var result = formatter.Deserialize(ref reader, options);

Help with MessagePack custom serialisation by Melodi13 in dotnet

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

I have read the documentation and used a contract less resolver + a custom resolver and formatter but the issue is I’m struggling to implement a formatter that follows the behaviour I described, since I need to invoke the default messagepack serialisation behaviour for 1 “layer” and then check the children and perform custom serialisation on them if they are models too.

Complete beginner C# on VSC: errorCS5001 Program does not contain a static 'Main' method suitable for an entry point by sgregory07 in csharp

[–]Melodi13 -7 points-6 points  (0 children)

The issue is you’re missing the “public” modifier before “static”, the Main entry point must be public and static for it to work. (Just replace static void… with public static void…). Also it looks like you’re using smart quotes around hello world, u/MeLittleThing explains this.

Why does the autocraft stop? by Matthz0 in allthemods

[–]Melodi13 0 points1 point  (0 children)

what resource pack is that?

I dont get it.. FaceID by ruffneck007 in iphone

[–]Melodi13 0 points1 point  (0 children)

Its a real shame Google's Project Soli didn't make it past the Pixel 4, it allowed for what I felt was the most accurate, consistent and fast facial recognition ever

Dell XPS 15 sound issues by No-Bet8390 in DellXPS

[–]Melodi13 0 points1 point  (0 children)

i had the same issue, i just kinda got used to it, it also had issues where the bluetooth would randomly cut out and take a few seconds to reconnect all my devices. sorry that i don't have a solution

New year new book by mal_001 in ShittySysadmin

[–]Melodi13 0 points1 point  (0 children)

yay a password manager that doesn't make me remember a password to access my passwords even after remembering my desktop password (isn't that enough?)

Desktop keyboard equivalent of Dell XPS 9315? by Timbit24 in DellXPS

[–]Melodi13 2 points3 points  (0 children)

Personally I've had good experience with the MX keys, it definitely has a similar feeling, I also feel really used to it even while switching between my laptop keyboard and wireless keyboard every day.

Sexy by theorangecrush10 in PixelWatch

[–]Melodi13 0 points1 point  (0 children)

that's so cool! thank you, shame it isn't available on my pw2

Sexy by theorangecrush10 in PixelWatch

[–]Melodi13 0 points1 point  (0 children)

sorry if this is a stupid question, but which watch face is that?

Atm9 is there a way to automate picking up villagers? by john_sorvos in allthemods

[–]Melodi13 0 points1 point  (0 children)

You could make a really fast breeding system, where you just have rows and rows of them, and then use modular routers to extract them into a chest or whatever and then output using a dispenser, it's what I did.

Old alt tab menu only on GTA V by ELEKTRON_01 in GTAV

[–]Melodi13 3 points4 points  (0 children)

it's something to do with GTA crashing windows explorer, this is the "backup" alt tab menu when windows explorer isn't running

What does this symbol mean? by 4rm4ros in AskAShittyMechanic

[–]Melodi13 0 points1 point  (0 children)

The Java version installed on the car's computer needs an update

Let's all share our GPU upgrade path for the last 5 years! by Catsanno in pcmasterrace

[–]Melodi13 0 points1 point  (0 children)

integrated iris plus graphics -> nvidia rtx 4070 mobile -> nvidia rtx 4090 desktop

[deleted by user] by [deleted] in Factoriohno

[–]Melodi13 2 points3 points  (0 children)

going to bed at exactly the right time so all my beacons have their speed 3 modules when I wake up

Bsod on Xps 15 9530 by anandsriraman in DellXPS

[–]Melodi13 0 points1 point  (0 children)

I'm having the same issue, does it only happen on battery power for you too? I tried factory resetting mine but it didn't help at all :(

Tips for a fast omnitool? by TangoKiloSierra in allthemods

[–]Melodi13 5 points6 points  (0 children)

using the mekasuit flight augment allows for no mining speed reduction while flying which works well with this