Kissaki

joined 2 years ago
MODERATOR OF
[–] Kissaki@programming.dev 4 points 3 months ago

How do you plan to style or lay out UI, statically and dynamically, or at all, in WASM?

[–] Kissaki@programming.dev 5 points 3 months ago* (last edited 3 months ago) (2 children)

When programming.dev became practically unusable most of the time in the last several days I was considering moving elsewhere. No post or announcement even acknowledging the issue here in meta didn't make me hopeful in the issues subsiding at all. (I've experienced instance death before on feddit.de.)

Great to see this development.

Thank you for your continued work and efforts! 👍

[–] Kissaki@programming.dev 2 points 3 months ago* (last edited 3 months ago) (1 children)

It's intended to become a spiritual successor to ThiefMD.

What does it want to or already do different or better than ThiefMD?

I see the release has a flatpak. A Windows binary or installer would be great too, attached to the release, so it doesn't require cargo toolchain and build to use.

Wait. Does it even support Windows? I guess not? I read Rust and GTK and assumed it would.

[–] Kissaki@programming.dev 1 points 3 months ago

At work, I don't have to work with node projects at all.

Outside of work, some drive-by contributions or where I contribute or would have liked to contribute. For example, on OpenTermsArchive, or the Nushell website (where it doesn't work with their vuepress, unfortunately).

[–] Kissaki@programming.dev 6 points 3 months ago* (last edited 3 months ago) (1 children)

Are you still actively working on/developing on the project?

Skipping new developments can be fine. Moving slow or not at all can mean stability and predictability.

The biggest issue is missed security updates, if they exist, or a lack of identification and fixing of open security issues.

And, of course, developer convenience if the project is still being actively worked on.

[–] Kissaki@programming.dev 3 points 3 months ago

Struggling with Legacy Code and not enough time to clean it up?
⛑️️ My First Aid Kit can help you rescue any codebase quickly and safely!

"rescue any codebase quickly and safely"? [x] doubt

But who knows what "rescue" means for them.

[–] Kissaki@programming.dev 6 points 3 months ago (1 children)

What do you mean by "instead of watching"? OP links to a text article.

I still prefer your MDN link though. Concise, and a more readable layout. Dunno why OP felt the need to increase the font size that much into a wide layout.

[–] Kissaki@programming.dev 3 points 3 months ago (2 children)

I refuse to install nodejs on my personal PC. Too big, too pervasive, not observable. These tools, Deno and Bun, allow me to work on node/js/ts projects. At least, when they are compatible, which sadly they are not always.

[–] Kissaki@programming.dev 22 points 3 months ago (1 children)

Patches for two high-severity ZIP parsing flaws have quietly been available since July.

If you updated at some point since July 5th you already have the update.

[–] Kissaki@programming.dev 1 points 3 months ago

The hosted version shows me a network error, and endless loading state. api/posts request failed due to CORS missing allow-origin.

[–] Kissaki@programming.dev 5 points 3 months ago

When I explore or consider alternatives, I don't think of or ask myself about design principles, but consider and weigh what could and would make sense where I am.

More than principles, the guiding goal is Maintainability - Readability, Graspability, Consistency, Correctness, Robustness. Weighted against constraints.

I guess separation of concerns is a big one I use implicitly. Like many others.

[–] Kissaki@programming.dev 2 points 3 months ago

I can assure you the quality is top without looking at the product! /s

 

Extract to Component refactoring and the new Roslyn-based C# tokenizer are now available

This new tokenizer is not on by default until .NET 10 but is available in both Visual Studio (17.13) and Visual Studio Code for .NET 9.

To enable the C# tokenizer today, check the Use the C# tokenizer for Razor files in the IDE option under Tools > Options > Preview Features and add <Features>use-roslyn-tokenizer;$(Features)</Features> to a property group in your .csproj or directory.props file

This new lexer does currently come with some breaking changes, particularly around preprocessor directives

 

My website is implemented through Hugo, with content sources in Markdown. Metadata is added through a so-called "front matter" header within Markdown files. I noticed date metadata (front matter) was missing on content pages and consequently had 2001 on RSS feeds.

I used Nushell to en-mass add page dates after-the-fact, with date values determined through Git.

# Determine pages with missing date front matter (may be missing pages that have `date = ` as content)
glob **/*.md | where {|x| $x | open | not ($in | str contains 'date = ') } | save missing.json

# Determine content creation dates through Git add authoring date
open missing.json | wrap path | upsert date {|x| git log '--follow' '--diff-filter=A' '--format=%ad' '--date=iso' '--' $x.path | into datetime } | save dates.json

# Prepend date TOML front matter to closing fence
open dates.json | each {|x| $x.path | open --raw | str replace "\r\n+++\r\n" $"\r\ndate = \"($x.date | format date '%Y-%m-%d %H:%M:%S')\"\r\n+++\r\n" | collect | save -f $x.path }

Example [inline] result/fixup:

date = "2022-08-07 18:31:18"
+++

Some work details and manual cleanup (e.g. pages with resource front matter where the date declaration must be placed before them) omitted.

 

Whether you are using Expecto, MSTest, NUnit, TUnit, or xUnit.net, you can now leverage the new testing platform to run your tests.

In this post, we’ll highlight the test frameworks that have embraced Microsoft.Testing.Platform, share their unique characteristics, and provide resources for getting started.

 

The !just_a_test@programming.dev community is an empty, dead community created (moderated) by an inactive, empty account.

I would prefer it if it were deleted so as not to clutter the instance community list.

Does this instance have a concrete guideline or precedent for that or would be able to decide at the discretion of an admin?

 

I added two solutions to the Rosetta Code FizBuzz page in Nu.

The one that was already there was quite confusing/non-intuitive to me; with string determination, and by index value fixups.

I like the match solution because it's structurally obvious and demonstrates the record-field-value match and logical case matching:

1..100 | each {
  { x: $in, mod3: ($in mod 3), mod5: ($in mod 5), }
  | match $in {
    { mod3: 0, mod5: 0, } => 'FizzBuz',
    { mod3: 0, mod5: _, } => 'Fizz',
    { mod3: _, mod5: 0, } => 'Buzz',
                        _ => $in.x
  }
} | str join "\n"

Do you have alternative suggestions or improvements?

 

This year, we are introducing updates in the HTTP space, new HttpClientFactory APIs, .NET Framework compatibility improvements, and more.

 

This post only applies if you’re using ASP.NET Core on .NET Framework.

ASP.NET Core users on .NET Framework should update to the latest ASP.NET Core 2.3 release to stay in support. This update enables ASP.NET Core 2.2 users to update to a supported version by doing a NuGet package upgrade instead of a downgrade. ASP.NET Core 2.1 users updating to ASP.NET Core 2.3 should experience no change in behavior as the packages contain the exact same code. ASP.NET Core 2.2 users may need to remove any dependencies on ASP.NET Core 2.2 specific changes. Any future servicing fixes for ASP.NET Core on .NET Framework will be based on ASP.NET Core 2.3.

Microsoft making changes for something five years out of support (the 2.2 version).

lol at every instance of ASP.NET becoming a link here

view more: ‹ prev next ›