Kissaki

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

Lenard Flören, a Germany-based art director at an advertising agency, said he quickly realized that trying to create his dream fitness app with one lengthy prompt would lead to a plethora of bugs that “neither ChatGPT nor my clueless self had any chance of solving.”

If everyone can create programs, and everyone fails, maybe it'll bring increased appreciation to development and good development and products? One could hope. I guess the worst offenders won't even try themselves either way. The services are not that accessible.

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

I've aired my frustration about the terminology previously; anyway, I'm trying to accept the terminology in the interpretation it could make some sense:

You tell the AI the "vibe" of what you want the result to have, and it does that - but of course it's not necessarily that simple. You may end up doing prompt engineering, multiple iterations, trial and error, etc

When we tried a product at my workplace generating a web app prototype in react seemed viable and reasonable, possibly good for prototyping and demonstrating. We also tried a Blazor app, and it utterly failed. I suspect because of less training on it and much more complex mixture of technologies.

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

, but it works reliably well. It takes a second or two to be redirected to the site you’re visiting.

Do you mean it works reliably well in letting users through, or in blocking AI?

Do you have sources or more information about the effectiveness of it in blocking AI? What else it blocks as collateral damage would also be interesting.

/edit: Clicking through some links (specifically canine.tools) I have to say - it may also be effective in annoying me personally, and eventually exiting those websites. Similar to consent dialogs you could go into settings for and save with opt-outs. But it's a barrier and user-opposing functionality.

I certainly don't see it as a simply or only good and effective thing.

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

It doesn't open with a summary or overview but dives right in to exploration, but I think the point comes across:

The copy and paste key codes, which have no physical keys anymore, are - to a degree - supported in software. Their claim is that those key codes are the tool for universal copy and paste, and then it's the input interpretations job (key and combination mapping) to offer bindings to those key codes.

GTK added support the copy and paste keyboards in January 2025. QT also added support for copy and paste key codes the same month. I'm not sure of the first released version of the GTK toolkit that will contain the fix. For QT, it will be QT 6.10, scheduled for release in September 2025. Together, this will cover many apps built for Gnome and KDE as well as others that use the same toolkits.

… followed by some more "current state of support for those key codes".

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

You linked a tutorial to sh. Note that nobody ends up shell scripting in sh. People will use bash, which is an alternative shell and shell language, and almost universally available where sh is available. sh is very old and limited. bash is much more common.

There's many other kinds of shells as well though. And you such an automation task you could use any number of scripting languages. The part that makes it a shell, which is interactive use, is not necessary for a scripting task like this of automating an operation. Shell languages can be used as scripting languages too though. I just want to point out alternatives and context.

Personally, I use Nushell as my daily shell and for scripts and am very satisfied with it. It's not universally available as in pre-installed, but is multi-platform and easy to install through an exe or package. Because it's a newer project, there's not that many resources yet, and still occasionally makes changes to its language with new releases. But, for me, the upsides to other shells are obvious and significant. I posted my Nushell solution in a separate comment (separating concise solution from this general prose exploration).

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

My preferred shell is Nushell. I would write:

glob **/*.mp3 | wrap mp3 | insert txt { $in.mp3 | path parse | update extension 'txt' | path join } | each { ^mp3splt -A $in.txt $in.mp3 }

or with line breaks for readability

glob **/*.mp3
  | wrap mp3
  | insert txt { $in.mp3 | path parse | update extension 'txt' | path join }
  | each { ^mp3splt -A $in.txt $in.mp3 }
  1. glob to find the files (according to pattern from current dir)
  2. wrap list values in a named column
  3. add column txt with extension replaced by txt
  4. => now I have a table with mp3 and txt columns with respective full paths
  5. call mp3splt for each
[–] Kissaki@programming.dev 6 points 2 months ago (2 children)

The HackerOne report that does not even apply has 44 upvotes.

What do upvotes mean on HackerOne?

I guess, at least here, they're mindless "looks interesting" or "looks well worded" or something?

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

The license doesn't get revoked. It does not apply to things it does not allow in the first place.

Some kind of restrictions are easier to describe and assess than others.

I doubt someone that generates AI slob reports would care about the restrictions anyway.

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

3 hours, no chapters? :(

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

When you're working for Heinz, is it a mustard bottle?

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

At my work we explored a low-code platform. It was not low on code at all. Beyond the simplest demos you had to code everything in javascript, but in a convoluted, intransparend, undocumented environment with a horrendous editing UI. Of course their marketing was something different than that.

That was not the early days of low-code mind you. It was rather recently; maybe three or four years ago.

11
submitted 1 year ago* (last edited 1 year ago) by Kissaki@programming.dev to c/dotnet@programming.dev
 

Some of the changes:

  • System.Text.Json now provides the JsonSchemaExporter type, which supports generating a JSON schema that represents a .NET type.
  • System.Text.Json: The JsonObject type now exposes ordered-dictionary-like APIs that enables explicit property order manipulation
  • [GeneratedRegex] on properties
  • The Regex class provides a Split method, similar in concept to the String.Split method. With String.Split, you supply one or more char or string separators, and the implementation splits the input text on those separators.
  • Generic OrderedDictionary<TKey, TValue>
  • ReadOnlySet<T>
  • new Base64Url class
  • System.Diagnostics.Metrics now provides the Gauge instrument
  • NuGetAudit now raises warnings for vulnerabilities in transitive dependencies
  • dotnet nuget why
  • MSBuild BuildChecks
  • C#: Partial properties
  • ASP.NET Core: Fingerprinting of static web assets
 

That intro though.

 

When you pause while debugging, you can hover over any delegate and get a convenient go to source link, here is an example with a Func delegate.

If you already know about delegates, there's not a lot of content in this dev blog post. Not that that's necessarily a bad thing either.

 

Mapping C# array types to PostgreSQL array columns or other DBMS/DB JSON columns.

 

Available and enabled by default from version 17.11 Preview 2 onwards.

New resource explorer additionally supports search, single view across solution, edit multiple files and locales at once, dark mode, string.Format pattern validation, validation and warnings, combined string and media view, grid zoomability

 

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

UI Components: Smart Paste, Smart TextArea, Smart ComboBox

Dependency: Azure Cloud

They show an interesting new kind of interactivity. (Not that I, personally, would ever use Azure Cloud for that though.)

 

UI Components: Smart Paste, Smart TextArea, Smart ComboBox

Dependency: Azure Cloud

They show an interesting new kind of interactivity. (Not that I, personally, would ever use Azure Cloud for that though.)

 

Backwards compatibility is a key principle in .NET, and this means that packages targeting previous .NET versions, like ‘net6.0’ or ‘net7.0’, are also compatible with ‘net8.0’. […]

The new “Include compatible frameworks” option we added allows you to flip between filtering by explicit asset frameworks and the larger set of ‘compatible’ frameworks. Filtering by packages’ compatible frameworks now reveals a much larger set of packages for you to choose from.

 

Truly astonishing how much generalized modding seems to be possible through general DirectX (8/9) interfaces and official Nvidia provided tooling.

As an AMD graphics card user, it's very unfortunate that RTX/this functionality is proprietary/exclusive Nvidia. The tooling at least. The produced results supposedly should work on other graphics cards too (I didn't find official/upstream docs about it).

For more technical details of how it works, see the GameWorks wiki:

view more: ‹ prev next ›