Kissaki

joined 2 years ago
MODERATOR OF
[–] Kissaki@programming.dev 6 points 1 month ago

That 10 years ago.

Looks like they weren't able to borrow a 'was' for the sentence.

[–] Kissaki@programming.dev 8 points 1 month ago

AI-assisted coding […] means more ambitious, higher-quality products

I'm skeptical. From my own (limited) experience, my use-cases and projects, and the risks of using code that may include hallucinations.

there are roughly 29 million software developers worldwide serving over 5.4 billion internet users. That's one developer for every 186 users,

That's an interesting way to look at it, and that would be a far better relation than I would have expected. Not every software developer serves internet users though.

[–] Kissaki@programming.dev 9 points 1 month ago (1 children)

Unfortunately, that poisons not only the AI.

[–] Kissaki@programming.dev 4 points 1 month ago

It's possible their communication happened before that, and it just took a while to write and post OP post. 16 days is not that long or delayed. I haven't checked the dates of the commits in question though.

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

My preference is Visual Studio. For some technologies, and mass-text-replace, I use Visual Studio Code.

A long time ago my main IDE was Eclipse for C++ and Java before that. Recently, I've tried RustRover for Rust as an alternative to VS Code.

[–] Kissaki@programming.dev 1 points 1 month ago

I guess the 11 MB micro was too big.

It does look like it has a lot of functionality for 250 kB.

Clickable menus instead of separate help functionality or lines are a good way to make them obvious and discoverable, teaching about them.

[–] Kissaki@programming.dev 2 points 1 month ago

7 moves in 5 months. Sounds about right for chess. /s

[–] Kissaki@programming.dev 1 points 1 month ago

Video titles have recently been disappearing for me on the home page. I guess no-text-titles would also solve it. /s

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

Notice: sr.ht is currently in alpha, and the quality of the service may reflect that.

Are these all different services? Seems like quite a hassle. Like a split of project resources.

An alpha classification doesn't spark confidence in using it productively and for significant projects.

[–] Kissaki@programming.dev 2 points 1 month ago (1 children)

Unfortunately, I find the need to have an account in order to contribute to projects a deal breaker. It causes too much friction for no real gain. Email based workflows will always reign supreme. It’s the OG of code contributions.

After opening with a need to be open-minded, this seems quite close-minded. Sure, it's their article. Still, I was hoping for a more neutral and substantiated advocating and description.

I certainly didn't feel like it answered [all] my questions and concerns in multiple sections.

 

cross-posted from: https://programming.dev/post/26112122

Hi, I made FuncSug to make GUI programming in the browser easier. It's a new language that aims to enable a clearer and easier code structure.

Can you tell me what you think about it?

 

Our 17.13 release of VisualStudio.Extensibility includes the following features:

  • Enhanced editor extensibility through tagger support
  • Expanded settings API to allow for observation of changed settings values

What are taggers/tags?

In Visual Studio, text decorators are one of the key differentiators that enhance this experience. These decorators, such as text colorization and CodeLens, offer contextual information to help developers understand and navigate their code more effectively. At the heart of these decorative features is the concept of taggers. Taggers are the mechanism to mark the text in the editor with hidden information, enabling the editor to adopt various text decorations later.

 

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?

view more: ‹ prev next ›