Kissaki

joined 2 years ago
MODERATOR OF
[–] Kissaki@programming.dev 2 points 2 months ago (2 children)

and use CRLF (on Windows) for newlines with at most a setting to configure it in the editor for that session

How would you handle text files with LF newlines being opened on Windows? Recognize and use LF too? Write CRLF on newly added lines? Save everything as CRLF, effectively transforming all LF?

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

That's an inherent problem of the current Lemmy implementation, though, isn't it?

If you don't spread-post, it doesn't reach the appropriate communities and people, and communities are missing content. If you do, discussions are spread by community and posts, with only cross-post links under the post.

I'm hoping to someday be surprised that they are suddenly in a shared view by default. I haven't checked whether there's a feature request for it.

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

Given the announcement of edit replacing the old 32-bit MS-DOS edit.com with minimal footprint, I was surprised Microsoft considered multi-platform to even be in-scope.

I guess, given it's Rust, it was simple to say "sure, why not". But this ticket shows that you automatically have to discuss and handle multi-platform questions that arise.

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

Are these all YouTube videos?

A note on that would be helpful.

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

Thank you for sharing your experience. Sounds like it's like in any other field.


How do you experience good and bad reviews on your games? How much are you checking, looking at, and maybe hurt by reviews and negative reception? I've always wondered about impact of those on devs. Especially when I'm reviewing small indie games and they're subpar / no recommendation.

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

Or "a novel published as authored by Lena McDonald contains AI prompt"

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

Good to see an alternative to Anubis - with a reduced or configurable legitimate user impact

https://git.gammaspectra.live/git/go-away/

This tool started as a way to replace Anubis as it was not found as featureful as desired, and the impact was too high.

go-away may not be as straight to configure as Anubis but this was chosen to reduce impact on legitimate users, and offers many more options to dynamically target new waves.

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

The point is it makes them identifiable. If you block anything not authenticatable, and everything that auths via *.google.com, you are effectively blocking everything from Google.

If you fear they will evade to other domains, you'll have to use an allow-list.

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

Obligatory link to https://choosealicense.com/ - which gives some guidance and overview of license differences

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

I'd guess trying anything is fine if you keep a prototype and experimental mindset. You could try a CMS that looks interesting or viable. Maybe that helps getting a better idea of viability with specific products or approaches?

Personally, I'd try/experiment with what I laid out in my last comment - have data files (maybe json or markdown files) and generate and push and pull data from and to that. But that may be because of existing experience and expertise. Not necessarily the best approach for others.

Using a CMS means more integration, which has upsides and downsides.

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

For those building bots, we propose signing the authority of the target URI, i.e. www.example.com, and a way to retrieve the bot public key in the form of signature-agent, if present, i.e. crawler.search.google.com for Google Search, operator.openai.com for OpenAI Operator, workers.dev for Cloudflare Workers.

They're proposing the request will include public key source information and request target. Through the public key source, you can verify the origin via source domain name.

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

Makes me wonder if the main content source would not be better separately, from which you generate the other stuff - e.g. Hugo Markdown page source.

I'm still not sure I grasp the fundamental structure of your data and desired workflows.

Hugo being simple Markdown files for content, if they can not be used as the source of truth, maybe that can be elsewhere, maybe even in Markdown, and you copy to Hugo? Then you'd be less restricted in your form of data and doing other things with separate tooling like sync to other services.

If you already invested into Hugo theming I'd also be hesitant about switching to a CMS/hosted solution. Especially since I suspect there's no ready solutions for your integrations? I assume you'd have to do the integrations yourself. If that's the case, my intuition says to better be independent of a CMS (with unknown efforts or how long it will remain useful). Once you're in a CMS env as a primary source it owns the data and exporting won't be as easy as if you have the primary source separately in a simpler, independent manner.


You say you have contacts, newsletter, events. You said you have Hugo (yaml), Thunderbird, Google Contacts, CSV.

Is it a matter of synchronizing contacts between them? Or more? Sending the newsletters?

 

An interactive dotnet tool dotnet scaffold has been released in preview.

dotnet tool install --global Microsoft.dotnet-scaffold

dotnet scaffold has support for the following ASP.NET Core project types:

  • Web app
  • Web API
  • .NET Aspire
  • Blazor

From the README:

For more information on ASP.NET scaffolding, see the following tutorials:

  • Add a model to an ASP.NET Core MVC app
  • Add a model to a Razor Pages app
  • Tutorial: Create a web API with ASP.NET Core
  • Scaffold Identity

For context: Entity Framework has Reverse Engineering with the dotnet ef dbcontext scaffold command/tool.

 

Command dl opus to download highest quality audio as or into an opus file through yt-dlp.

Add to config.nu:

# Download highest quality Opus audio as/into .opus file
def "dl opus" [url: string] {
    yt-dlp --extract-audio --audio-quality 0 --audio-format opus $"($url)"
}

Usage:

dl opus <url>

I have set up dl as an alias for yt-dlp via alias dl = yt-dlp. The def above adds an overlaying sub-command.

8
Announcing .NET 9 - .NET Blog (devblogs.microsoft.com)
submitted 9 months ago* (last edited 9 months ago) by Kissaki@programming.dev to c/programming@beehaw.org
24
Announcing .NET 9 - .NET Blog (devblogs.microsoft.com)
submitted 9 months ago* (last edited 9 months ago) by Kissaki@programming.dev to c/programming@programming.dev
6
Announcing .NET 9 - .NET Blog (devblogs.microsoft.com)
submitted 9 months ago* (last edited 9 months ago) by Kissaki@programming.dev to c/dotnet@programming.dev
 

Today, we’re thrilled to announce Deno 2, which includes:

  • Backwards compatibility with Node.js and npm, allowing you to run existing Node applications seamlessly
  • Native support for package.json and node_modules
  • Package management with new deno install, deno add, and deno remove commands
  • A stabilized standard library
  • Support for private npm registries
  • Workspaces and monorepo support
  • Long Term Support (LTS) releases
  • JSR: a modern registry for sharing JavaScript libraries across runtimes

We are also continually improving many existing Deno features:

  • deno fmt can now format HTML, CSS, and YAML
  • deno lint now has Node specific rules and quick fixes
  • deno test now supports running tests written using node:test
  • deno task can now run package.json scripts
  • deno doc’s HTML output has improved design and better search
  • deno compile now supports code signing and icons on Windows
  • deno serve can run HTTP servers across multiple cores, in parallel
  • deno init can scaffold now scaffold libraries or servers
  • deno jupyter now supports outputting images, graphs, and HTML
  • deno bench supports critical sections for more precise measurements
  • deno coverage can now output reports in HTML

Deno is a single binary for the TypeScript and JavaScript ecosystems. Deno is secure by default (installing npm libs do not automatically have full system perms/access).

The new standard library stabilizes a vetted collection of safe binaries instead of having to search for and install random libraries for basic or common use cases with [or without] own security assessments.

Deno compile compiles the TS/JS project into a single binary.

The backwards compatibility to npm and npm/js frameworks enables deno usage in existing projects and with existing libs with the benefits of deno and a path to incremental migration.

The announcement video is worth watching. The intro is great.

 

Every second Tuesday of October Ada Lovelace Day is celebrated - to commemorate the famous English mathematician of the XIX century, and the first programmer in history.

To mark this occasion, we rounded up a party of games that are not only fun to play, but can teach you to think like a true engineer and feel like a tech wizard!

Welcome to Ada Lovelace Day Sale. Hello, world!

ends 14th (tomorrow)

view more: ‹ prev next ›