Elektrine lite

← Feed

Jari Pennanen

Ciantic@twit.social

<p>Developer. This is my main account for the time being. I have six profiles now on Mastodon, sigh.</p><p>I will remove followers who haven&#39;t posted anything.</p><p><a href="https://twit.social/tags/Rust" class="mention hashtag" rel="tag">#<span>Rust</span></a>, <a href="https://twit.social/tags/FSharp" class="mention hashtag" rel="tag">#<span>FSharp</span></a>, <a href="https://twit.social/tags/CSharp" class="mention hashtag" rel="tag">#<span>CSharp</span></a>, <a href="https://twit.social/tags/DotNet" class="mention hashtag" rel="tag">#<span>DotNet</span></a>, <a href="https://twit.social/tags/TypeScript" class="mention hashtag" rel="tag">#<span>TypeScript</span></a></p>

Posts

  • Post #4078638

    Updated to #KDE Plasma 6.7, I made the mistake of moving the animation speed slider, I can&amp;#39;t get the old behavior back. With old behavior I had faster animations, now the slider has those &amp;quot;gaps&amp;quot;, which makes the second fastest too slow!

  • Post #4078637

    Why I&amp;#39;m so happy that I can set date format myself to the #KDE taskbar widget.

  • Post #4078636

    Geez, I&amp;#39;m annoyed. I bought new phone Realme GT 8 PRO, but it uploads images to Google Photos in some potato quality, even though Google Photos think they are in original. Opened a Reddit post: https://www.reddit.com/r/Realme/comments/1utv30i/realme_8_gt_pro_is_uploading_compressed_images_to/ #Google #Android

  • Post #4078635

    Some reason in my Fedora setup, crash reports itself has started to fail. KDE/Fedora&amp;#39;s crash reporting uses GDB, and it crashes when normal crash happens. Thus I usually can&amp;#39;t see the details of actual crash, just the GDB entry. #KDE #Linux #Fedora

  • Post #4078634

    #KDE greatness. Do you know hard in Windows it to find this kind of codec settings? In KDE it is right there where you choose the output device. #Windows #Preaching

  • Post #4078633

    I figured best way to detect I&amp;#39;m connected to home network in Android WorkManager API is to query IP address. If it begins with 192.168.8.X I am home. I know you probably shouldn&amp;#39;t do things that are untrusted anyhow, but it doesn&amp;#39;t need location permissions (SSID check requires those). #Android

  • Post #4078632

    AI vampire lifestyle can be exhausting. I even thought what if I could program from phone when traveling, because it would be pretty easy to setup, but I&amp;#39;d rather not. Rest is good. #AI #Programming

  • Post #4078631

    Why is Google Gemini kind of useless? Only time I really want it to work is when I drive a car. &amp;quot;Start driving directions to airport, add detour to gas station X, then start playing podcast X.&amp;quot; Should be simple to do, I probably could slop that togehter if I had KDE/PC desktop mounted to car. #AI #Google #Programming

  • Post #3686288

    Got my Steam Controller. First experience in Linux is one of frustration. It appears in KDE controllers, but doesn&#39;t appear in Gamepad Webapi testers. I downloaded steam and started a game, it didn&#39;t work. I fiddled with &quot;layouts&quot; for couple of hours, nothing. Then I found out that holding the hamburger turns on gamepad mode in *desktop*. That solved most of things. Suddenly it worked in webapi testers and in-game (Ascent). #Steam #Linux #SteamController

  • Post #3026032

    Someone is vibe-porting TypeScript compiler to Rust, it is already faster than Go version. https://tsz.dev/ #Rust #Go #Typescript

  • Post #3026031

    Why does every bad day start with Github Actions something something, compromised? #Tanstack #NPM #Github

  • Post #3026030

    Tried to update to Fedora 44, at 99.999% (there is no percentages, but the litle bar was at the end) it gave me error about NodeJS... because unwisely I had used `sudo alternatives`. Now the KDE Discover doesn&amp;#39;t show update option anymore. I hope I didn&amp;#39;t hose myself. Will try to restart, remove nodejs alternative. #Fedora

  • Post #3026029

    Updating to Fedora 44 was suprsingly smooth. It didn&amp;#39;t even try to sell me a subscription to One Drive or Office as I restarted! #Fedora #Linux

  • Post #3026028

    Google Chrome in Linux reliably crashes to me when zooming in and out Ventusky&amp;#39;s view. It has happened ever since I owned AMD RX 9070 XT, ~7 months. Some of these days I will figure out how to report this bug! https://www.ventusky.com/ #Linux #AMD

  • Post #3026027

    &amp;quot;The 7.0.9-102/202 stable kernel builds contain additional mitigations for new code paths in fragnesia, and a couple of other security updates without fancy names or CVEs assigned yet. &amp;quot; Keep on patching, even though they don&amp;#39;t have yet fancy names! #Linux #Fedora

  • Post #3026026

    &amp;#39;enterprise grade&amp;#39; PostgreJS (client library) for NPM, has very difficult type mapping setup. I&amp;#39;ve tried Codex, DeepSeek v4 Pro, and none of them find a good way to do what I want. Probably because it uses some binary format as default which other client libraries didn&amp;#39;t even bother. #NPM #Postgres

  • Post #3026025

    I made a thing, and documented how to make unfied type mapping for PGLite and PG (and postgres) https://github.com/Ciantic/pg-unified-mapping/tree/main It is very rocky road! Timestamps, dates are *totally* broken by default, arrays are flaky. If you ever use PGLite for unit tests you need to unify the mappings so that tests and runtime doesn&amp;#39;t differ. #NPM #Postgres #NodeJS #Javascript #Typescript

  • Post #3026024

    Here is the madness, mapped. https://github.com/Ciantic/pg-unified-mapping/blob/main/DEFAULT-MADNESS.md #Postgres #NPM #Nodejs

  • Post #3026023

    Ever since I switched my desktop to Linux, I haven&amp;#39;t really worried about node_modules. With Windows they used to cause problems with various background services and what not, it hasn&amp;#39;t been an issue. I did have to disable KDE&amp;#39;s file indexing, because it was just as bad as other file indexing software, getting stuck for hours dbus-monitor showed constant activity stuck in loop... But I don&amp;#39;t really need file indexing as ripgrep works for most occasions. #Linux #...

  • Post #3026022

    Sometimes writing #Rust is like figuring out how to draw a line in Java. First you make a Brush, Pen, Color, Stroke, and then you call the new Line... I&amp;#39;m talking about WGPU APIs at the moment, but it just word mess. #WGPU #Rust

  • Post #3026021

    Wakeup and suspend has worked really well this year. Today got first issue. Network stopped working after wakeup. I have always stored the journalctl log for each of the issues, today DeepSeek v4 Pro came up a reason of some sort. For todays issue at least. DeepSeek V4 PRO saying network driver becomes fragmented after multiple wakeups? Who knows! #Linux #Debugging

  • Post #3026020

    I just want to celebrate how well #KDE fixes bugs. This would never happen in Windows. I reported a bug where Virtual Desktop name didn&amp;#39;t update from overview textbox, they fixed it incorrectly briefly. I mentioned it, and right away it got fixed correctly. I might have opinion on this spaghetti of C++ what KWIN is as Rustacean, but it works. https://bugs.kde.org/show_bug.cgi?id=512212

  • Post #3026019

    Android TV&amp;#39;s are pain of the existence. They are so slow, that even old people don&amp;#39;t know how to use them. Problem is that if you click a button, uninitiated people think it is broken, because nothing happens. Then during this pause, some folks just keep clicking buttons and end up to menus etc, and are totally lost! #Android #TV

  • Post #3026018

    Why some qemu service has \x2 in the path? #Linux #Qemu #Fedora

  • Post #2332606

    With a notable vulnerabilities found lately one could assume closed source is safer. It is not, source code of lot of closed source software has leaked many times. Those holding the leaked closed source code will weaponize... Whereas open-source code, by having a lot more eyeballs, and tokens, gets fixed. #Linux #CopyFail #DirtyFrag #OpenSource

  • Post #2172493

    Steam Controller already sold out, it is almost like Valve is running crowd funding launch. #Steam

  • Post #1353185

    @schwa Yeah it is pretty good. Some weird mutation interfaces in the API, that might then report back wrong data if you don&amp;#39;t know what it did. But I really like it nontheless.

  • Post #1353184

    @schwa I haven&amp;#39;t tested RPC mode, as my things work via node/deno. However, as I quickly skimmed it, it seems to also not have an easy way to override the system prompt without an extension. One of the first I did (as I used pi cli tool) was to write a command /.set so I can override the system prompt. Default system prompt has a lot of urls to pi-coding-agent and it&amp;#39;s behavior, it is not meant to be used as is.

  • Post #1353183

    EGUI&amp;#39;s rendering has very nifty trick with the scheduled frames. Your widget can request render for example 500ms from now. Like the text cursor in a text field. It doesn&amp;#39;t make a queue of requests, but keep only the next time it needs to render in memory. Suppose I render something 2ms from now, then the text widget will request render in 498ms from now. On every tick each widget schedules the next one, but latest only counts. #ImGui doesn&amp;#39;t have this, and I wish it di...

  • Post #1353182

    JavaScript/TypeScript ecosystem has a huge problem with database connectors and typing. Is Bigserial bigint, string or number? Is string &amp;quot;2026-04-13&amp;quot; allowed to `Date` field? How about should the `timestamptz` return +03 or UTC result? Your guess is as good as mine, and each version seems to have whole new ideas. Duckdb and SQLite adapters seems to be most flakiest. Postgres is most stable. #Duckdb #Postgres #Sqlite #Javascript