Searching We Love Privacy Club

Twts matching #code
Sort by: Newest, Oldest, Most Relevant
In-reply-to » @lyse Is it this one? https://github.com/rivo/tview It’s almost 10 years old but hasn’t seen a 1.0.0 release yet? 🤔

@movq@www.uninformativ.de Yes. The author tries hard not to break existing code, but apparently he did this time. In his defense, it’s not an official release, I just updated to master. Which is exactly what I always did in the past as there are no real versions (I even think that in one ticket he wrote years ago that master is always stable). That has finally changed a year ago, though: https://github.com/rivo/tview/releases/tag/v0.42.0

⤋ Read More
In-reply-to » Every now and then, I think that I have carefully proof-read my message enough times and hit the "Add message" button in tt. But then, in the message tree, I spot another missed typo. My process is then to go to my twtxt.txt and fix it by hand. However, I still have to clean up tt's cache. This is rather tidious:

Fuck me! I tried to upgrade tview and the first thing I notice is a shitload of added dependency versions:

go.mod | 18 ++++-----
go.sum | 97 ++++++++++++++++++++++++++++++++++++++-----------

My code does not compile anymore as the view.FormItem interface was extended. Get/SetDisabled(…) are quickly implemented, no worries.

But the tview.Primitive (what makes a widget) interface has now a bunch of PRIVATE methods. For focus handling. Would you believe that!? Thanks, I cannot satisfy this interface in my very custom widgets anymore. Okay then, I just embed *tview.Box. tt now successfully compiles, but does not react anymore on key presses and the message tree is not focused either.

I’m not in the mood to debug this shit. :-( Lunch time.

⤋ Read More
In-reply-to » Every now and then, I think that I have carefully proof-read my message enough times and hit the "Add message" button in tt. But then, in the message tree, I spot another missed typo. My process is then to go to my twtxt.txt and fix it by hand. However, I still have to clean up tt's cache. This is rather tidious:

Getting the vim key bindings to work for focus switching in this modal dialog took me forever. Only cursors and (Shift+)Tab are supported out of the box. I absolutely understand that, it’s fine. I installed an input handler on the dialog, but the focus always stayed the same.

After two wasted hours, I was in despair to copy the tview.Modal into my own code base. Of course, I had to fix all the private tview field accesses first. But even installing the input handler directly on the buttons themselves did not work. Even though, the handler was definitely executed, the focus did not shift. Forcing redraws as a last resort also did not work.

Looking through all the messy chained input handling, I eventually stumbled across another place in the tview.Form, which is internally used by tview.Modal. This messed around with app focus receptions and input handlers. This gave me the idea to make the tview.Application refocus my modal dialog after I told the modal dialog which button to select. And would you look at that, this did the trick! I haven’t completely figured out what is going on exactly, but I could get rid of my Modal clone again.

I always go through hell with focus handling in tview. Each and every time. It just does not feel natural to me. Complete brainfuck to wrap my head around. The Urwid API felt sooo much more refined, it never was an issue. It just works. In fact, I cannot think of any other TUI library that has remotely the same pain level when it comes to focusing widgets as tview.

Now I’m curious how movwin deals with that. ;-)

⤋ Read More
In-reply-to » Oh boy, I absolutely hate this stupid trend of not writing changelogs anymore! Why the fuck would one seriously consider it to be a viable option to just let some shitty bot spew all merge requests on a goddamn GitHub release?! First of all, these merge request titles suck balls. The order of the changes in this "changelog" is completely random (well, probably merge time, which is as useless as the dick on the Pope). They are not grouped by anything at all. Additions, changes, removals, deprecations, etc. randomly mixed up in one giant list. And then "Add feature X", seventeen kilometers further down "Revert 'Add feature X'". Fuck you! Don't include this shit in the first place!

@lyse@lyse.isobeef.org Thanks!

On the AI changelog part, though, I’d rather recommend to just not have a changelog at all.

I’m afraid that ship has sailed. You can rest assured that someone who uses AI/LLMs for their code (which is almost everybody at this point) will most certainly also use it for changelogs.

I actually considered not mentioning AI output at all, because this just opens a huge can of worms … 😞

While going through these terrible GitHub release pages, I also found these “New Project Contributors” sections

Yeah, they play on a nerd’s pride.

Now, it’s just the same auto shitshow with MR titles in a rolling date-versioned release scheme. It’s just our team who has to deal with that, though. I think I’m the only one who is not a fan of it.

I’ve found that this whole situation is much worse at work than it is in the Free Software world. At work, it’s literally work and hardly anybody actually cares. We still don’t have all people convinced that writing good commit messages or using good branch names is worth the time. It’s … oh god, no, I’m going to stop here, this is bad for my mental health. 😅

Suffice it to say, all release notes at work are now AI-generated. Nobody gives a fuck.

⤋ Read More

GCC 17 Merges Function Multi-Versioning For APX & AVX10.2
Earlier this month I wrote about Intel working on function multi-versioning support for APX and AVX10.2 with the GCC compiler. This allows developers to write optimized code paths specifically targeting Advanced Performance Extensions (APX) or Advanced Vector Extensions 10.2 capabilities of future processors while being able to otherwise fall-back to generic or other optimized code paths for other ISA target features. This work is now merged for GCC 17.. … ⌘ Read more

⤋ Read More

Launch HN: BitBoard (YC P25) – Analytics Workspace for Agents
We’re Connor and Ambar from BitBoard ( https://bitboard.work). BitBoard is an agentic analytics workspace. We give you the infrastructure and visualization layer to analyze data with AI.

Today, we’re launching dashboards that you and your agents can work on together. You can connect your coding agent or AI chat to BitBoard and build live reporting. Here’s a demo: https://www.youtube.com/watch?v=HPl0K565a7c.

AI … ⌘ Read more

⤋ Read More

Open-Source Success Achieved For Greater Transparency & Security: Running AMD openSIL + Coreboot On EPYC
Ever since AMD announced openSIL in early 2023 for open-source CPU silicon initialization to eventually replace AGESA and enhance their Coreboot support, I have been eager to try it out. The openSIL code drops to date though have just focused on select reference platforms with only aiming for production status in the Zen 6 timeframe. But thanks to 3mdeb porting openSIL and Coreboot to a Gigabyte server mothe … ⌘ Read more

⤋ Read More

Fast & Furious Star’s Cyberpunk Thriller Gets US Release Push, Frank Grillo Calls ‘Bulls–’
A cyberpunk action thriller just landed a domestic distributor, but not everyone attached to the film is celebrating. Frank Grillo fired back at the project’s marketing on Instagram, while Quiver Distribution prepares for a July digital release. Cyberpunk action thriller Kill Code finds a domestic studio Quiver Distribution has picked up the domestic rights to cyberpunk actio … ⌘ Read more

⤋ Read More

YSERVER: Modern X11 Server Written In Rust With The Help Of Claude Code
Open-source developer Jos Dehaes wrote in to Phoronix today in announcing a new X11 server he has been working on from scratch that has been quietly developed to this point but now ready to announce to the world… The YSERVER… ⌘ Read more

⤋ Read More

MiMo Auto 免费 API 使用指南:从 MiMo Code 中提取免费的 MiMo Auto 模型
小米发布了基于 OpenCode 的 MiMo Code 终端工具,并且限免了 MiMo-V2.5 模型,但仅限制在 MiMo Code 中使用。不过青小蛙使用 MiMo Code 自身,将其提取出来,可以在其他工具上使用。@Appinn 过程 && 效果 下面的内容来自 MiMo ⌘ Read more

⤋ Read More

小米发布 MiMo Code,基于 OpenCode,限免 MiMo-V2.5
MiMoCode 是一个终端原生的 AI 编程助手,基于 OpenCode fork 构建,能读写代码、执行命令、管理 Git,通过持久化记忆系统,在多次会话间保持对你项目的深度理解,并自我进化。@Appinn 上面的内容不重要,重要的是 MiMoCode 内置了一个可以直接使用的免费 MiMo A ⌘ Read more

⤋ Read More

[$] LWN.net Weekly Edition for June 11, 2026
Inside this week’s LWN.net Weekly Edition:

  • Front: Suspicious AI activity in Fedora; fork() + exec(); splice() + vmsplice(); BPF loop verification; fanotify; trusted publishing.

  • Briefs: CA age bill; Bundler cooldowns; insecure code completion; Asahi and macOS 27 beta; Buildroot 2026.05; Ubuntu MATE; rsync 3.4.4; Quotes; …

  • Announcements: Newsletters, conferences, securit … ⌘ Read more

⤋ Read More
In-reply-to » First draft of a file selection popup / widget:

@movq@www.uninformativ.de That is really cool! Maybe it would look nicer if the selected entry highlighted the whole row, not just the individual cells in that row without the column spacers. :-? But maybe I’m wrong. Everyone has their own taste.

And no, it’s not pointless at all. I find this really interesting. The videos and photos are perfect for me. Even if I had the source code, I would not use that toolkit, as I’m not a fan of movable windows in TUIs. I want all my own programs to be fullscreen all the time. 8-) Having said that, it’s still an absolutely brilliant source of inspriation that will come in handy one day. So, keep posting. :-)

⤋ Read More

[$] AI agent runs amok in Fedora and elsewhere
Agentic AI systems can be used to do a variety of things
autonomously on behalf of a human user: open or manage bugs, generate
code, submit pull-requests, and (apparently) even complain about\
rejection. In May, a Fedora developer discovered that an allegedly
rogue agent had been pestering the project in a number of ways:
reassigning bugs, fabricating unhelpful replies to bugs, and even
persuading maintainers to merge questionable code into the [Anaco … ⌘ Read more

⤋ Read More

Linux Firmware Repository Preps For AI Coding Agents
The linux-firmware.git repository that serves as the de facto home of all the binary blobs used by the mainline Linux kernel open-source drivers has now introduced AGENTS.md documentation and other preparations for embracing AI coding agents… ⌘ Read more

⤋ Read More

AMDGPU Linux Driver Preps For HDMI 2.1 Compliance Testing
While not as exciting as features like HDMI 2.1 FRL and Display Stream Compression itself, as part of AMD’s efforts to provide a fully open-source HDMI 2.1 driver implementation for AMDGPU, new code is being prepped for their kernel driver to support the HDMI compliance testing efforts… ⌘ Read more

⤋ Read More