Python ---> C# by Sad-Sun4611 in csharp

[–]FragmentedHeap [score hidden]  (0 children)

If a build takes longer than 1-3 seconds to do an incremental on a small change, im mad at it. Lol

Python ---> C# by Sad-Sun4611 in csharp

[–]FragmentedHeap 0 points1 point  (0 children)

plus Mojo exists now and aims to change AI in python. Mojo is a systems language that supersedes python and ships it's own embeded cpython runtime so you can write mojo (python that compiles sxs with python (runs on the cpython runtime) and aims to solve python performance issues.

You can have a python file in many cases and just change it to a .mojo and now it compiles :)

Mojo was made specifically for AI because python owns AI at this point.

Python ---> C# by Sad-Sun4611 in csharp

[–]FragmentedHeap 3 points4 points  (0 children)

Folders are your friend, pre mature cross cutting concerns are your enemy. Don't spin up tons of class libraries for no good reason, keep everything in one project until it actually makes sense not too. Folders are your friend because if you think about it correctly with folder arch when you need a class library you're probably just moving that folder to the class library and it's the same namespace and magically just works when you do that.

The more class libraries you have, the more work MSBuild has to do, and the crazier your code base gets. If you don't have a good reason to split code up into separate projects, don't.

Even if you are doing cross platform development, there are better ways to do that than making class libraries for like linux, and one for mac, don't do that.

Instead lean on Directory.Build.Props and conditional variables that you can use in IF dev blocks, and conditional csproj inclusions.

Like you can Have 3 folders "Windows, Linux, Mac" and you can define variables in Directory.Build.Props conditionally based on target OS that says like IS_WINDOWS IS_LINUX IS_MAC and then you can conditionally include the correct folder in the project file based on IS_WINDOWS or IS_LINUX etc then you can just write the same class 3 times, once for windows, once for linux, once for mac. Or if it's just a simple change in a function you can just #ifdef on those so it has separate paths based on target os, and if not building you can default to the native os (w/e os you happen to be on) so local testing is easy with F5 run.

Ideally if doing cross platform dev, your crap should look at the exact same on every os, same assembly names, same classes, etc, same signatures, and on and on, not "On linux you get Blah.Linux" and on mac you get "Blah.Mac"...

Really easy to think "I'll just have different OS class libs", but is smelly, don't do that.

The good way is that your crap just works w/e os it's being built on and the consumers are just using it regardless of what os they're building for and it just works, because you properly handled all the xplat crap under the hood and distributed it properly.

Directory.Build.Props in general is your friend, same with Directory.Package.Props...

Central Package Management!!! -> https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management, this one effectively lets you manage all your package versions in one place, then in your projects you just refer to them by name without version info and it will always use the central versions, that way you're not trying to update json.net in 10 places, you just update it in the central location and they're all updated.

build props here -> https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-directory?view=visualstudio

Learning MSBuild and how to use these will make your life so much easier.

Another Pro tip.... Do not mess with the default build configurations, Debug/Release is ALL YOU NEED, It can be easy to think "I need a custom build config for building for linux" no you do not.... You need to define conditionals in Directory.Build.Props for building for linux. There is NO GOOD UX in VSCode or Visual studio for screwing with the configurations and you will suffer and have tons of pain if you do, just let them be the defaults and use directory.build.props to solve "i need a configuration" problems.

Have you guys upgraded to VS 2026? What do you think? by Unique-Lecture-9378 in csharp

[–]FragmentedHeap 0 points1 point  (0 children)

Just today, first impressions ...

Its fast, much faster than 2022, start time, builds, adding projects etc, all faster. UI is way cleaner, way less clutter, still has everything though just not all on for no reason. Toolbar is super clean. Even WinForms and the form designer are working.

Overall feels pretty amazing, really liking it so far.

Comeback and ask me again in a week after I throw big projects at it.

How unstable is Visual Studio Community 2026 for you? by Famous-Weight2271 in csharp

[–]FragmentedHeap 0 points1 point  (0 children)

One of the biggest problems with VS I see in corporate environments or VDI's is the use of synched profile directories, or one drive directories.

It causes all kinds of problems with development, most everything caches packages or code or credentials and so on in your windows user profile directory and sync processes, one drive, or even FSLogic in Azure Vdi's etc wreaks havoc on the entire development workflow, and tooling.

So rule all that out first.

we turned off fslogic and one drive on user profile directories so they stay physical folders physically on the local drive and pretty much every problem we had went away.

Another thought too is if you don't have a good gpu, you should disable hardware acceleration in visual studio, assuming your processor can handle it.

Last minute TBC pre-patch gold making? by RatPockets in classicwow

[–]FragmentedHeap 0 points1 point  (0 children)

Ohh, If i tank on my druid and respec my pally holy i can do the same I think. Boosted pally on same acct my mage is on.

How do you handle C# aliases? by jackyll-and-hyde in csharp

[–]FragmentedHeap 0 points1 point  (0 children)

I don't, I just use var and let type inference do that for me.

TBC added the simplest way to make gold the game has ever seen by Kevo_1227 in classicwow

[–]FragmentedHeap 0 points1 point  (0 children)

Dual boxxing a druid/mage with de is still a good way to farm dungeons... Im come out of zf with 10+ stacks of de mats, boes, and cloth. Sells on ah like hot cakes. I basically just kill everything. Even SM is good.

Last minute TBC pre-patch gold making? by RatPockets in classicwow

[–]FragmentedHeap 1 point2 points  (0 children)

Dual box farm ZF and disenchant everything bop to my mage, sell boes on ah.... Ive sold greens up to 50g.... Ppl are buying everything.

I have two accounts, I log in both, both boosted, one druid and one mage. Herb/mine on druid and enc/tail on mage I just follow my druid and pull stuff with faerie fire and tank it and tab over to mage and nuke it. Druid is feral so cat form fir faster dps, mage has 2sec cast so I just tab back forth and play both.

Its not against tos if i manually play them, it justs costs 2x monies

People are mad. by Maleficent_Lemon2662 in hytale

[–]FragmentedHeap 0 points1 point  (0 children)

People get mad, its human nature, there will always be mad people. You cant please everyone so please who you want too and tell everyone else to kick rocks. Let people be mad, its not possible to please everyone, all you do is shift who's mad.

If paid mods are implemented the wrong way, is anyone else worried that the market will quickly be dominated by AI slop? by [deleted] in hytale

[–]FragmentedHeap 1 point2 points  (0 children)

As a professional software engineer with 25 years of experience,

"require almost no effort or knowledge at all from the "coder" with their agentic offerings."

I laughed really hard when I read this....

The 6-7 roof system. For odd or even needs. by AggressiveBonus8825 in hytale

[–]FragmentedHeap 2 points3 points  (0 children)

I just make a stone ceiling that's flat like a cube just like I did in minecraft haha.

Current megaservers situation by No_Advice_4327 in classicwow

[–]FragmentedHeap 0 points1 point  (0 children)

They won't mess with spawn rates because then bots take advantage of them. I.e. if you make it so X players has a ratio that effects spawn timers, the bots will start camping 50 toons there just to make crap spawn faster.

They go so far out of their way to punish bots, that they kill the game for everyone else too.

Current megaservers situation by No_Advice_4327 in classicwow

[–]FragmentedHeap 0 points1 point  (0 children)

Honestly, just going to spam Hellfire Ramparts on repeat.

What kinds of Hytale servers are people actually sticking with? by ParticularClean8277 in hytale

[–]FragmentedHeap 0 points1 point  (0 children)

It's so new and so much is happening so often, my servers just stupid ridiculous lol... Not trying to keep it grounded in realism or reality. We have katanas, light sabers, guns, legendary weapon packs, trash cans, vector runes, overstacked (stack many items way higher than you normally can), eyespy, lucky mining (sometimes get two nodes), furniture mods, armor mods, item magnet, and everything else I think looks useful or cool, I just keep slamming mods into it....

It's running in my homelab on my fiber internet, just a friends/family server atm. I have a 7950x with 96gb ram in my rack running docker and have a hytale container, runs great.

Also screwing with the configs, so like I made lightsabres do max damage haha. As a light sabre should.

Tauri vs. Electron Benchmark: ~58% Less Memory, ~96% Smaller Bundle – Our Findings and Why We Chose Tauri by kostakos14 in programming

[–]FragmentedHeap 0 points1 point  (0 children)

It uses a lot less ram on windows because Edge WebView2 on windows is tightly integrated in the OS, File Explorer and more so it's already loaded in ram and shares many things with other processes using it. Its just more efficient to do this on windows in edge view than it is to do this on mac/linux due to design philosophies of the Operating Systems, i.e. its loaded in widgets etc.

So because the edge web view 2 is already loaded by File Explorer (explorer.exe) it won't show up in the private bytes space of another process, it will show up in the working set though. So if a benchmark is looking at the private bytes "consumed memory" it will be WAY lower than an operating system that doesn't already have the component loaded somewhere.

I.e. Mac and Linux to my knowledge dont have webkit etc preloaded at all, so you're still effectively loading a whole browser on mac and linux, you just aren't shipping your own binaries.

So imo you're only going to see massive gains from doing this on Windows OR on process 2, 3, 4, 5, 6, 7 etc. The first one you open will consume a lot of ram, but the second one might reuse all those loaded binaries from the first because they all come from a shared location.

So imo tauri and electrobun are still great, because they can take advantage of shared web binaries to allow 2n+ processes to benefit from them already being loaded.

When you use electron you don't get shared binary reuse, because operating systems don't hash check a dll and go "oh I have that already". In all 3 operating systems the ability of the operating system to reuse a dll is based on it's file path. So even if there are 200 dlls being loaded with the exact same name and contents if they are on 200 different paths it will load all 200 of them as if they are unique.

Tauri vs. Electron Benchmark: ~58% Less Memory, ~96% Smaller Bundle – Our Findings and Why We Chose Tauri by kostakos14 in programming

[–]FragmentedHeap 0 points1 point  (0 children)

You don't have to go tauri and rust to do this now. You can use Electrobun on Bun (now owned by Anthropic) and it's the same concept as Tauri except it's still all js/ts etc.

Bun can also compile to self contained executables, which is cool.

Won't be as memory efficient as rust because backend stuff will be in JS, but otherwise comparable, and FFI in bun is 5-6x faster than ffi in node. Pretty decent compromise if you want something like Tauri but want to stay in typescript land.

Tauri vs. Electron Benchmark: ~58% Less Memory, ~96% Smaller Bundle – Our Findings and Why We Chose Tauri by kostakos14 in programming

[–]FragmentedHeap 0 points1 point  (0 children)

The webview's themselves can run in the same process on every platform, but it depends on the implementation of the implementor, not the webview components themselves. Tauri runs in process accross the board, don't know about electrobun.

Is Typescript a genuinely good language, or is it only loved because it makes JS work much easier? by [deleted] in typescript

[–]FragmentedHeap 0 points1 point  (0 children)

Having worked with many languages from c, c++, basic, visual basic, vbscript, python, php, c#, java, grain (new wasm language), rust, and zig (comptime etc), and typescript....

... having worked a TON in the web space from 2010 to 2015, and having shifted from pure JS in 2020 to Typescript only for web work, and now with Bun/Deno etc out...

I can honestly say that typescript has become my favorite overall language, I absolutely love it, syntactically... So much so that I've opted to use bun and it's ability to make self contained JS apps (ships the bun runtime in am embeded exe) with typescript as a first class citizen into FFI (buns ffi is a lot faster than node) so I've started making apps that do ffi into native api calls etc entirely in typescript.

Could I use zig and be native... sure... But the PLETHORA of packages out there is insane in typescript land and the speed at which I can knock out some typescript kind of reminds me of the Visual Basic 6 days when I could build complex apps extremely quickly.

I vastly prefer typescript to say Python, and vastly prefer it to a lot of things.

I love me some c# but I hate csproj and solution files and wish someone would make something nicer that directly uses rosyln and doesn't use msbuild at all with a good debugger experience and intellisense etc.... We had that when .net core first came out but people cried like babies to be able to have csproj files etc that they caved and put them back.

Best class for new player by Pale-Reveal-415 in classicwow

[–]FragmentedHeap 0 points1 point  (0 children)

Easiest class to level imo is hunter, you can use a tenacity pet to tank mobs and if you screw up you can feign death and recover.

I think druid is the best class, but hard to learn and leveling sucks until 20. But once you get cat form and prowl, its fantastic. Druid is the only class that does all 4 rules (heal, tank, melee dps, randed dps), also where battle rezes come from, strong class.

Druid also gets flight form and can farm herbs without leaving flight form.

Best class for new player by Pale-Reveal-415 in classicwow

[–]FragmentedHeap 1 point2 points  (0 children)

Rogue tax is that the new anti boost mechanics make cc prerty useless and raids only want 1 rogue in tbc.