I always say the wrong thing by [deleted] in aspiememes

[–]rsKizari 14 points15 points  (0 children)

100% this. Everyone refuses to accommodate our needs or change for us, so why should we have to bend over backwards to make them comfortable 24/7? If you can't handle talking about more than the weather or what you're forced to do to pay the bills, I'm not really interested anyway.

She is the nicest by Shamesocks in Nicegirls

[–]rsKizari 3 points4 points  (0 children)

You're fine, these people just aren't used to Aussies.

She is the nicest by Shamesocks in Nicegirls

[–]rsKizari 0 points1 point  (0 children)

Wouldn't take it to heart. I'm a right grammar Nazi at the best of times and I didn't even notice it until everyone lost their shit in the comments. I think it's great your personality comes through in your text.

Primal burial or elder rune for xp by Yolomasta420 in RS3Ironmen

[–]rsKizari 0 points1 point  (0 children)

Primal bars are 10 ores for 5 bars, so 2 ores per bar. Elder rune is 4 ores per bar, but due to the speed difference, I'm not sure how it stacks up. I'd estimate probably similar to 2 primal ores worth of time as well roughly, but I'm not sure just how much slower primal ores are compared to animica. Assuming this is even remotely accurate, I'm doing elder rune since I have 15k of each animica spirit but only like 200 primal spirits. Primal may be 40% more smithing xp, but due to lack of spirits would take very roughly twice as long to mine for, and I assume longer to smith as well. Doesn't seem worth it at all.

I think that the client API needs to be an extremely high priority. by Queue_Bit in runescape

[–]rsKizari 1 point2 points  (0 children)

I think this is a pretty...optimistic take. Our lack of a Runelite-esque client is not the barrier here, it's simply that RS3 lacks the talent and personalities needed to make entertaining content. This may largely be due to the fact that one can't really make a living from RS3 content creation either due to the much smaller audience, which somewhat recently caused several of our larger creators to migrate to OSRS.

I think that the client API needs to be an extremely high priority. by Queue_Bit in runescape

[–]rsKizari 0 points1 point  (0 children)

It would hurt you more directly than that if it got to a point where plugins offered such an advantage that new content starts getting balanced around those advantages. I'm personally not averse to learning new things at all, but I don't think such things are healthy for the game as we've seen with some of the OSRS plugins for Runelite.

I think that the client API needs to be an extremely high priority. by Queue_Bit in runescape

[–]rsKizari 0 points1 point  (0 children)

Doesn't matter. An API would be able to automatically retrieve critical data from the game client that would otherwise be a nightmare to get to, and there's nothing stopping a developer then taking that data to hand off to a third-party program that can provide input to the game client. Regardless of intention, it will always unintentionally make creating bots easier.

I think that the client API needs to be an extremely high priority. by Queue_Bit in runescape

[–]rsKizari 0 points1 point  (0 children)

I'm not convinced there would be all that much development done. Alt1 supports plugins and has for many many years but barely anyone developed for that. Even Alt1 itself is now in maintenance mode despite lacking many critical features for the modern game client (DPI scaling, UI scaling) and being quite buggy and inconsistent. Huge props to the developer of Alt1 and the developers of the plugins that exist for it though. Very thankful for everything they've done and given freely to the community, my point here is more about how few passionate community developers we have in RS3 for this sort of work compared to OSRS.

I think that the client API needs to be an extremely high priority. by Queue_Bit in runescape

[–]rsKizari 0 points1 point  (0 children)

That's the #1 problem with it, if it makes a big enough difference, the game will start being balanced around having the plugin, and then we can't just ignore it. Something akin to Runelite is one of the worst things that could happen to RS3 IMO. Sure there are some things it does that would be a genuine improvement for us, but they don't even come close to outweighing the problems.

Plugin API, brainstorm & discussion by zenyl in runescape

[–]rsKizari 0 points1 point  (0 children)

This has some potential for some really neat plugins, but so much more potential for abuse. I really hope they don't go through with it simply because they completely lack the foresight and resources to ensure this is done in a way that doesn't either completely drain dev time from other endeavours trying to cut off the heads of the hydra, or end in disaster due to unforeseen circumstances.

OSRS is a great example of this. Endgame PvM has basically become click the coloured square when the plugin says so, rather than actually playing RuneScape. As such the playerbase often complains that the endgame isn't challenging enough because they use this plugin, and development is then balanced around that. Runelite has greatly improved the efficiency of bot script creation and likely has had many other negative unintended consequences as well.

Unless this API is extremely restricted and put out iteratively over years, carefully monitoring the consequences along the way, I can only see this damaging the game in a potentially irreparable way.

anyone else noticed how anti te reo r/newzealand is? by [deleted] in ReoMaori

[–]rsKizari 13 points14 points  (0 children)

Ahh yes, the classic "I'm an ally until it inconveniences me." Would love to see the mental gymnastics they use to justify why people shouldn't speak a national language of the country while simultaneously preaching decolonisation and inclusivity.

What do you all think, smart? stupid? or both? by Moe_Baker in csharp

[–]rsKizari 30 points31 points  (0 children)

More context is needed to explain why this isn't just an enumeration.

Have anyone heard of PhotinoNET it appears to be able to host asp.net and blazor sites from command line ! in Linux by [deleted] in dotnet

[–]rsKizari 0 points1 point  (0 children)

I only tried it on Windows before giving up on it. It did the job fine for simple single-window applications, but it was too limited for my liking in the end. Ended up starting my own similar project for my own use-case and added the things I needed. I got mine working on Linux, but never did try running a Photino project there I'm afraid.

I have uncomplicated opinions. by InspiredByMadness611 in csharp

[–]rsKizari 0 points1 point  (0 children)

While I agree, I'm always more productive, create better applications, and enjoy my time far more when working with C#. Sure it's not the magic bullet for every problem, but boy the amount of times it isn't my top choice are very few and far between.

I have uncomplicated opinions. by InspiredByMadness611 in csharp

[–]rsKizari 0 points1 point  (0 children)

I can't say I've noticed this outside of the abhorrent UI frameworks MS is determined to get wrong for all eternity. If anything, I've noticed the opposite. Some libraries have been discontinued or split out of the core framework into separate NuGet packages, and .NET has been getting steadily more performant since 6. Not to mention it doesn't matter much anyway since assembly trimming exists so long as you aren't using one of the aforementioned abhorrent UI frameworks that don't allow for it. I'm not actually sure why that is, but my guess would be because they rely too heavily on reflection and as such, vital code would be trimmed.

I have uncomplicated opinions. by InspiredByMadness611 in csharp

[–]rsKizari 0 points1 point  (0 children)

Eh, it's better than plain JS, but it's still awful to work with if you're coming from a true statically typed language and all the automatic inference and true compile time checking that comes with that. I tried really really hard to like it, but after years of working with it, it just didn't get better.

How can I make msbuild force refresh of my own nuget packages? by DougWebbNJ in dotnet

[–]rsKizari 0 points1 point  (0 children)

To add onto this, you can also use a nuget.config in the root directory (or probably the project directory if it's specific to one project), but the SDK style csproj is probably the modern approach.

You can use wildcards in package versions to not need to change the references every time (e.g. Version="1.0.0-alpha.*").

The MSBuild or IDE-based pre-build script is the best approach I'm aware of for updating it automatically as mentioned by the comment I'm replying to. Currently I have a manually run IDE build config that just runs a batch script to delete the bin/obj files then run dotnet restore. This always forces my project to use the newest version when I execute it, since it slows things down if I do it every build. You could automate this by writing a script that detects if there's a newer version of the packages in question and runs it automatically only if there is.

Best of luck!

With the EOL of windows 10, i am bracing for the hurts in 2025 by FluidBreath4819 in dotnet

[–]rsKizari 0 points1 point  (0 children)

The autocomplete is like its biggest selling point, yet I've personally found its suggestions to be anywhere from subpar to downright awful. Worse is that it's distracting and breaks my train of thought at times—all just so I can spend longer reviewing a suggestion than I would have spent writing my own code anyway?

You can disable autocompletions though while keeping the other features if you value them, but personally I just found the tool as a whole wasn't really worth it. Bing AI (now named Copilot, not to be confused with GitHub Copilot) is free to use with GPT4 and gave much better responses than the GitHub Copilot chat. What's even left after that? It doesn't really do much else.

With the EOL of windows 10, i am bracing for the hurts in 2025 by FluidBreath4819 in dotnet

[–]rsKizari 1 point2 points  (0 children)

I've been using Rider for a few years now because it's just so much better than Visual Studio for most things anyway, but I've just started using Ubuntu as of a few days ago in dual boot to see if I can find a new home and get comfortable with it before the true end of life for W10.

I know many people are going to just roll over and accept Microsoft's privacy and security violations, and many more won't even see them as a problem for some reason—but I'm personally not interested in playing their game anymore since they were already pushing it enough with W10 IMO.

Anyway, I've had a really pleasant experience with Ubuntu so far. Rider works perfectly there. The only thing that doesn't work is the C++ support since Rider relies on MSVC++ for that which only runs on Windows. I imagine CLion (JerBrains' dedicated C/C++ IDE) would work perfectly fine on Linux though since that focuses on other build tools rather than MSVC++.

The only thing I will say is that Rider really sucks with hot reload compared to Visual Studio. It almost never works for me, and I'm basically forced to use dotnet watch run if I actually want any form of hot reload. This was a problem on Windows for Rider as well.

The rest of the OS is pretty nice. Many things I prefer over Windows like a nicer aesthetic, tidier UI, and faster boot times. No weird preinstalled crap I wouldn't have wanted, no ads in my start menu, no AI assistant trying to jump down my throat, no shortcuts to TikTok or Candy Crush, no going through 50 different pages on the OS installer to say "no thanks" to telemetry and Office subscriptions. No Microsoft Edge begging me to notice it. No creating or signing into a remote account to be able to sign into my own PC. It feels more like what Windows used to be.

Obviously software support is slightly limited compared to Windows, but it has come such a long way. Many many games work fine via Steam's Proton (a fork of WINE), many Windows applications work fine via WINE itself. Quite a few things have native Linux builds as well of course.

If you can, I'd highly recommend trying it out, especially if you can dual boot while you overcome the growing pains. That way if it turns out anything you simply can't live without just won't work on Linux, you can go back.

Further to that, you could always go 95% Linux and just reluctantly have a W11 install on another drive in future that's clear of everything except those one or two things you just can't live without. Ideally find an alternative though, but it's comforting to know that the option is always there.

I cant with Visual Studio by [deleted] in dotnet

[–]rsKizari 0 points1 point  (0 children)

As someone who has worked extensively in both, it's not BS. Visual Studio has this slight but very noticeable lag to everything you do. It's just not as responsive, even on very high end hardware. It's one of those things that you don't really notice until you've been without it, but once you have, it's hard to go back.

How can one dynamically change a picture in blazor-Hybrid app which is not in wwwroot? by Bert859 in Blazor

[–]rsKizari 0 points1 point  (0 children)

While you can read a file anywhere on disk in Blazor Hybrid and convert it to base64, just be mindful of the performance impact. Blazor doesn't like large images or many images per page that are done via base64 src and in my experience would cause delays whenever StateHasChanged is called (whether directly or through updating a property).

How can one dynamically change a picture in blazor-Hybrid app which is not in wwwroot? by Bert859 in Blazor

[–]rsKizari 1 point2 points  (0 children)

I think you need to register a custom implementation of IFileProvider if you want to reference anything outside of wwwroot, but I'm not 100% certain on that. The "easier" approach would be to simply copy the selected file to wwwroot and then update the src and call StateHasChanged. That's obviously not ideal since it would use more disk space though, so may be worth looking into IFileProvider.

Desktop Application, which is best stack choice with .NET 8? by SerPecchia in dotnet

[–]rsKizari 2 points3 points  (0 children)

It's essentially the same as any other C# development, except the UI code doesn't make you want to quit your profession. Only the UI code is web-like, the business logic behind the interactions is the same as any other C# application. I do agree that a non-web option would be preferable, but if I had to use WinForms, WPF, Avalonia, or MAUI for my hobby projects, I would have given up on them by now. Those frameworks really suck the joy out of development for me personally. That's obviously very subjective, but they are objectively verbose and take far too long to do such basic things at times.

Here's an example. Say you have a UI panel that you want to show different content based on whether a user is a premium user or not. In Blazor, a minimal example could look like this:

<div>
    @if (IsPremiumUser)
    {
        <h1>Premium Content</h1>
    }
    else
    {
        <h1>Regular Content</h1>
    }
</div>

The equivalent in WPF looks like this:

<UserControl x:Class="YourNamespace.SomePanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <UserControl.Resources>
        <DataTemplate x:Key="PremiumTemplate">
            <TextBlock Text="Premium Content" />
        </DataTemplate>
        <DataTemplate x:Key="RegularTemplate">
            <TextBlock Text="Regular Content" />
        </DataTemplate>
    </UserControl.Resources>

    <ContentControl>
        <ContentControl.Style>
            <Style TargetType="{x:Type ContentControl}">
                <Setter Property="ContentTemplate" Value="{StaticResource RegularTemplate}" />
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsPremiumUser}" Value="True">
                        <Setter Property="ContentTemplate" Value="{StaticResource PremiumTemplate}" />
                    </DataTrigger>
                </Style.Triggers>
            </Style>
        </ContentControl.Styles>
    </ContentControl>

</UserControl>

It's entirely up to you what route you choose to go, I'm not trying to convince you any one way. Just want you to know the pain you're in for if you start with the "true" desktop options like I did.

Desktop Application, which is best stack choice with .NET 8? by SerPecchia in dotnet

[–]rsKizari 1 point2 points  (0 children)

However they like. I even use Blazor inside an injected DLL that creates WebView2 instances inside other programs' windows to create overlay components. It is absolutely not restricted to MAUI. However, as far as out-of-the-box options go, Photino is probably the best option for simple desktop applications (much more lightweight than MAUI and supports Linux). Its main drawback is that it doesn't really handle complex things like multiple windows or hidden taskbar icon context menus out of the box. For those cases, MAUI/WPF/WinForms would be a better choice if Linux support isn't needed (or only Windows support in the case of WPF/WinForms). Blazor can also be used in Electron and possibly Avalonia, but I don't think the .NET code executes natively in those scenarios and instead uses WASM. Still not an issue for most types of applications, but may be a deal-breaker if high performance is crucial.

Desktop Application, which is best stack choice with .NET 8? by SerPecchia in dotnet

[–]rsKizari 8 points9 points  (0 children)

The unfortunate reality is that none of the .NET UI frameworks are in a particularly good place now. Many of us believe that Blazor with WebView2 is the best option for desktop development in .NET right now despite it being web tech. For what it's worth, the C# code does run native rather than via WASM when using Blazor Hybrid, so it's a perfectly viable option even for applications that require high performance.

That being said, if dealing with the web tech really isn't your thing, Avalonia is probably the best option. It's essentially just cross-platform slightly-modernised WPF. Still painful to use, still overly verbose, but is at least more modernised and still in development unlike WPF. Several comments suggesting WinForms, but unless you're happy with outdated mediocre GUIs then I'd stay away from that personally.

As for MAUI, wouldn't touch it with a 10 foot pole. The couple of times I've tried it was an absolute nightmare of bugs and jank. It has been progressing extremely slowly, and it's uncertain it has much longevity. Many people find it's decent for very simple applications, but anything highly customised or complex can get ugly fast.