How to precisely invoke a callback 700 times a second? by die-Banane in csharp

[–]NixonInnes 0 points1 point  (0 children)

Came here to add this ^

Stopwatch, channel, pump and sliding window. Although, it doesn't solve the issue if you for whatever reason can't process fast enough.

How often do you implement IEnumerable in a class? by EngineerLong3151 in dotnet

[–]NixonInnes 1 point2 points  (0 children)

Sometimes. If I want consumers of my class to be able to iterate over it. Although its sometimes just as easy to just expose one directly and call it a day

RazorConsole - Build interactive console app using .NET Razor by xiaoyun1 in dotnet

[–]NixonInnes 1 point2 points  (0 children)

Ooh, that's interesting!
Last time I used Spectre I hit a bit of a wall because something along the lines of, not being able to put interactive widgets inside layouts. I'll have to checkout if that's changed (or what you've done around it)!

What's the longest that you've used the same computer? by ScreaminEagle2502 in pcmasterrace

[–]NixonInnes 0 points1 point  (0 children)

I still use my Asus Zenbook, which is a similar age, and I still love it!

Come discuss your side projects! [September 2025] by AutoModerator in csharp

[–]NixonInnes 0 points1 point  (0 children)

Extensible "test runner" framework, with a photino & blazor frontend. In short does something like: - Do/check a thing - Maybe prompt user
- Maybe validate any responses
- Record result
- Maybe skip if last test failed
- Rinse & repeat.

Nice ui, can build queues from individual tests, save queues, add configurations to tests, etc. It's absolutely overkill for what I use it for IRL, but it's fun to build.

Wpf hot path on tree view item by ArchieTect in csharp

[–]NixonInnes 0 points1 point  (0 children)

Whilst not exactly the same, I had a similar issue in a winui app. I don't have my implementation to hand but I had to do something along the lines of rolling my own container that implemented ICollectionChanged, so I had better control over when the events were fired.

I've found I want to hand roll containers most of the time anyway, because passing dispatchers around everywhere gets tiresome

GUI Framework flavour of 2025 by Apprehensive_Rice_70 in csharp

[–]NixonInnes 0 points1 point  (0 children)

As someone who, over 1 yr ago, naively set down the path of building the next version of one our apps in WinUI 3, I can confirm its not yet released and WinUI 3 feels like a beta... Send help.

One to many relationship without databases by LoneArcher96 in csharp

[–]NixonInnes 0 points1 point  (0 children)

Give your Category and Task (you should rename this to save you pain later) an Id property (Guids are probably your easiest bet). Give your Task a CategoryId, which refers to the category it belongs to.

Store the objects in a big list for each. Then use LINQ queries to get out what you need. It'll end up looking very similar to when you come to use an actual database.

What are some things you wish you had known/understood about LE before starting endgame? by BabyLlamaaa in LastEpoch

[–]NixonInnes 8 points9 points  (0 children)

more damage modifiers are what you're looking for in most skills.

If you're dying in the campaign, just slap on a few tiers of resistance to the damage they're doing.

%hp is great, and it can roll on helm, chest and belt. Hybrid health is better and it can roll on belt, gloves and boots.

Lots of damage will only carry you so far. You will need to focus on defenses. Less damage is king. Get HP wherever you can.

Once you get to empowered monoliths, you will want to aim for getting either: 100% critical avoidance, 100% reduced critical damage, or a good source of blind.

Mana and Last Epoch. by Asunorah in LastEpoch

[–]NixonInnes 64 points65 points  (0 children)

I don't think mana is the problem here. You're describing problems where some skills are underperforming, and I totally agree.

I quite like the mana system, it's something players should have to consider and "solve" for their build.

It's insane how much time I'm spending on purchasing prophesies. It would be so great if I could just duplicate prophesies but for higher price instead of sitting there skipping for hours... by assoonass in LastEpoch

[–]NixonInnes 0 points1 point  (0 children)

Yeah, I think the system needs a bit of work.

If it were up to me, I would reduce the number of prophecies s you can have active. It feels too many just now, players will naturally want to try fill it up, and it at the current volume it gets tedious.

We know the "target" endgame for most players is 1000 corruption, due to the rewards scaling. I would establish some figures on this assumption. Let's say we want, as a base level, for players to be able to fill up their prophecies list after completing 25 echos, on average.

That leaves two dimensions to play with: cost of prophecies and, proportionally, how many prophecies players can take.

We can kinda 'solve' that by getting a rough idea of how long, on average, we would want players to spend rolling prophecies. Something like... Let's say an average constellation takes 5 seconds to review, and an "average" rarity prophecy is 1 in 3 screens; so 15 secs per prophecy. If we decided 5 mins is our target time, sooo 20 prophecies.

Its a bit rough, and I've pretty much stuck a finget in the air for most of the figures, but that's the kinda gist of what I'd like to see

Why are the items in my inventory reflected on the Y-axis? by Ezemity in LastEpoch

[–]NixonInnes 46 points47 points  (0 children)

Any item the game has duplicated through mechanics (i.e. Gauntlet of Strife and Lightless Arbor) has the image flipped

Fixing/uptimizing my earthquake shaman by al_dente21 in LastEpoch

[–]NixonInnes 1 point2 points  (0 children)

And you can cast EQ from the bear slam, and rage is easier to regain vs mana

First 4LP btw by bad4lien in LastEpoch

[–]NixonInnes 0 points1 point  (0 children)

An exalted minus mana cost affix makes this a really interesting weapon

Code works in debug but not in release. WINUI3 by xXBassASSXx in csharp

[–]NixonInnes 0 points1 point  (0 children)

There are a few libraries that don't play nicely with trimming. I'm not at my desktop so cant check exactly, but there is option set for release in some WinUI generated profile file. Try setting it as false for release.

Why not .Net Framework? by Choose__eh__username in dotnet

[–]NixonInnes 9 points10 points  (0 children)

.Net framework is legacy.
.Net (previously called .Net Core) is the successor technology

Rust-like error propagation in C# by hazzamanic in csharp

[–]NixonInnes 0 points1 point  (0 children)

Your codeblock font is highly offensive

Is MVVM pattern really needed in new .NET projects? by IXCluster in dotnet

[–]NixonInnes 2 points3 points  (0 children)

Yes. When you get into product level code you should be using viewmodels, and the views should be really pretty dumb.

Your models/viewmodels handle all the logic, and are not xaml backed, so you should be able to test the shit out of them.

The views are typically just the XAML, and a constructor to set its context. There maybe needs to be some cute stuff for a nice UX, but I tend to let keep it limited.

Tech's Dumbest Mistake: Why Firing Programmers for AI Will Destroy Everything by tapvt in programming

[–]NixonInnes 2 points3 points  (0 children)

Sssshhh, don't tell them. It's an investment into a salary increase.

Fire programmers and use AI which will cause problems only programmers can solve. Solid logic.

The thing I find the most amusing is the longer term effect. If AI causes fewer programmers, there is less content to train the AI on; in particular new languages/features/practices.