Searching We Love Privacy Club

Twts matching #code
Sort by: Newest, Oldest, Most Relevant

New Patches Aim To Make x86 Linux EFI Stub & Relocatable Kernel Support Unconditional
Prominent Intel Linux engineer H. Peter Anvin has posted a new patch series working to clean-up the Linux x86/x86_64 kernel boot code. Besides cleaning up the code, the kernel configuration would drop options around EFI stub mode and relocatable kernels in making those features now always enabled
 ⌘ Read more

​ Read More

PHPStan Now 25~40% Faster For Static Analysis
For those using the powerful PHPStan tool for static analysis on PHP code, this week’s PHPStan 2.1.34 is promoting optimized performance with projects seeing around 25% to 40% faster analysis times
 ⌘ Read more

​ Read More

cURL Removes Bug Bounties
Ancient Slashdot reader jantangring shares a report from Swedish electronics industry news site Elektroniktidningen (translated to English), writing: “Open source code library cURL is removing the possibility to earn money by reporting bugs, hoping that this will reduce the volume of AI slop reports,” reports etn.se. “Joshua Rogers – AI wielding bug hunter of fame – thinks it’s a great idea.” cURL maintainer Daniel Stenber 
 ⌘ Read more

​ Read More

Linux 6.19 ATA Fixes Address Power Management Regression For The Past Year
It’s typically rare these days for the ATA subsystem updates in the Linux kernel to contain anything really noteworthy. But today some important fixes were merged for the ATA code to deal with a reported power management regression affecting the past number of Linux kernel releases over the last year. ATAPI devices with dummy ports weren’t hitting their low-power state and in turn preventing the CPU from reaching low-power C-states 
 ⌘ Read more

​ Read More

LLVM Adopts “Human In The Loop” Policy For AI/Tool-Assisted Contributions
Following recent discussions over AI contributions to the LLVM open-source compiler project, they have come to an agreement on allowing AI/tool-assisted contributions but that there must be a human involved that is first looking over the code before opening any pull request and similar. Strictly AI-driven contributions without any human vetting will not be permitted
 ⌘ Read more

​ Read More

‘Just Because Linus Torvalds Vibe Codes Doesn’t Mean It’s a Good Idea’
In an opinion piece for The Register, Steven J. Vaughan-Nichols argues that while “vibe coding” can be fun and occasionally useful for small, throwaway projects, it produces brittle, low-quality code that doesn’t scale and ultimately burdens real developers with cleanup and maintenance. An anonymous reader shares an excerpt: Vibe co 
 ⌘ Read more

​ Read More

Valve Has ‘Significantly’ Rewritten Steam’s Rules For How Developers Must Disclose AI Use
Valve has substantially overhauled its guidelines for how game developers must disclose the use of generative AI on Steam, making explicit that tools like code assistants and other development aids do not fall under the disclosure requirement. The updated rules clarify that Valve’s focus is not on “ 
 ⌘ Read more

​ Read More

Spent basically the entire day (except for the mandatory walk) fighting with Python’s type hints. But, the result is that my widget toolkit now passes mypy --strict.

I really, really don’t want to write larger pieces of software without static typing anymore. With dynamic typing, you must test every code path in your program to catch even the most basic errors. pylint helps a bit (doesn’t need type hints), but that’s really not enough.

Also, somewhere along the way, I picked up a very bad (Python) programming style. (Actually, I know exactly where I picked that up, but I don’t want to point the finger now.) This style makes heavy use of dicts and tuples instead of proper classes. That works for small scripts, but it very quickly turns into an absolute mess once the program grows. Prime example: jenny. đŸ˜©

I have a love-hate relationship with Python’s type hints, because they are meaningless at runtime, so they can be utterly misleading. I’m beginning to like them as an additional safety-net, though.

(But really, if correctness is the goal, you either need to invest a ton of time to get 100% test coverage – or don’t use Python.)

​ Read More

yes, yes that’s right. Mu (”) now has a built-in LSP server for fans of VS Code / VSCodium 😅 You just go install ./cmd/mu-lsp/... and install the VS extension and hey presto đŸ„ł You get outlines of any Mu source, Find References and Go to Definition!

​ Read More

Predator Spyware Turns Failed Attacks Into Intelligence For Future Exploits
In December 2024 the Google Threat Intelligence Group published research on the code of the commercial spyware “Predator”. But there’s now been new research by Jamf (the company behind a mobile device management solution) showing Predator is more dangerous and sophisticated than we realized, according to SecurityWeek.

Long-ti 
 ⌘ Read more

​ Read More

CVE-2026-0915: GNU C Library Fixes A Security Issue Present Since 1996
CVE-2026-0915 was published on Friday as a security issue with the GNU C Library “glibc” for code introduced 30 years ago. The latest Glibc Git code is now patched for this issue introduced in 1996
 ⌘ Read more

​ Read More

Le 10Ăšme Homme – Dossier du mois : la gĂ©nomique
Imaginez un instant que vous dĂ©teniez le manuel d’instruction de votre propre vie. Un code secret, logĂ© au cƓur de chacune de vos cellules, qui dicte non seulement votre passĂ©, mais aussi votre futur de santĂ© et de rĂ©silience. Ce code, c’est votre gĂ©nome. Longtemps restĂ©e le domaine rĂ©servĂ© de la science-fiction, la gĂ©nomique est [
] ⌘ Read more

​ Read More

Linux ThinkPad Driver Ready For Reporting Damage Device - Starting With Bad USB-C Ports
Queued yesterday into the platform-drivers-x86.git’s “for-next” branch are the patches for the Lenovo ThinkPad ACPI driver to begin reporting damaged device detection. This code being in the “for-next” branch makes it material for the next version of the Linux kernel and initially will be able to report to the user on damaged USB-C ports
 ⌘ Read more

​ Read More

Ruby on Rails Creator Says AI Coding Tools Still Can’t Match Most Junior Programmers
AI still can’t produce code as well as most junior programmers he’s worked with, David Heinemeier Hansson, the creator of Ruby on Rails and co-founder of 37 Signals, said on a recent podcast [video link], which is why he continues to write most of his code by hand. Hansson compared AI’s current coding 
 ⌘ Read more

​ Read More
In-reply-to » Btw @movq you've inspired me to try and have a good 'ol crack at writing a bootloader, stage1 and customer microkernel (”Kernel) that will eventually load up a Mu (”) program and run it! đŸ€Ł I will teach Mu (”) to have a ./bin/mu -B -o ... -p muos/amd64 ... target.

@prologic@twtxt.net I’d love to take a look at the code. 😅

I’m kind of curious to know how much Assembly I need vs. How much of a microkernel can I build purely in Mu (”)? đŸ€”

Can’t really answer that, because I only made a working kernel for 16-bit real mode yet. That is 99% C, though, only syscall entry points are Assembly. (The OpenWatcom compiler provides C wrappers for triggering software interrupts, which makes things easier.)

But in long mode? No idea yet. 😅 At least changing the page tables will require a tiny little bit of Assembly.

​ Read More

Code.org: Use AI In an Interview Without Our OK and You’re Dead To Us
theodp writes: Code.org, the nonprofit backed by AI giants Microsoft, Google and Amazon and whose Hour of AI and free AI curriculum aim to make world’s K-12 schoolchildren AI literate, points job seekers to its AI Use Policy in Hiring, which promises dire consequences for those who use AI during interviews or take home assignments without 
 ⌘ Read more

​ Read More

Took me nearly all week (in my spare time), but Mu (”) finally officially support linux/amd64 đŸ„ł I completely refactored the native code backend and borrowed a lot of the structure from another project called wazero (the zero dependency Go WASM runtime/compiler). This is amazing stuff because now Mu (”) runs in more places natively, as well as running everywhere Go runs via the bytecode VM interpreter đŸ€ž

​ Read More

Patches Positioned Ahead Of Linux 7.0 Cycle For Easy Custom Boot Logo In Place Of Tux
The Linux kernel patches talked about at the start of the year for more easily changing the boot logo of Tux are now queued into a “for-next” branch and thus expected to be submitted for the upcoming Linux 6.20~7.0 kernel cycle. Those wanting to replace the Tux icon with an alternative logo during the Linux kernel boot process could already patch the file manually but this new code allows for an easy replacement via Kconfig op 
 ⌘ Read more

​ Read More

Another RADV Ray-Tracing Merge Lands Some Additional Gains For Mesa 26.0
Separate from the Mesa merge request talked about earlier today for new RADV code that can deliver 10x faster ray-tracing pipeline compilation for this open-source Radeon Vulkan driver, another merge request landed today in Mesa 26.0 that was also carried out by Valve contractor Natalie Vock. That second merge request now in Mesa 26.0 delivers some additional gains for at least some ray-tracing games on RDNA3 and RDNA4 GPUs
 ⌘ Read more

​ Read More

New RADV Code Can Deliver 10x Faster Ray-Tracing Pipeline Compilation For Some Games
A new merge request opened today for Mesa’s Radeon Vulkan driver “RADV” by Valve contractor Natalie Vock provides another significant boost for the Vulkan ray-tracing performance in multiple titles
 ⌘ Read more

​ Read More

Never-Before-Seen Linux Malware Is ‘Far More Advanced Than Typical’
An anonymous reader quotes a report from Ars Technica: Researchers have discovered a never-before-seen framework that infects Linux machines with a wide assortment of modules that are notable for the range of advanced capabilities they provide to attackers. The framework, referred to as VoidLink by its source code, features more than 30 modules 
 ⌘ Read more

​ Read More

Wine 11.0 Released
BrianFagioli writes: Wine 11.0 has officially landed, wrapping up a year of development with more than 6,000 code changes and a broad set of upgrades that touch gaming, desktop behavior, and long-standing architectural work. The biggest milestone is the completion of the new WoW64 model, which is now considered fully supported and allows 32-bit and even 16-bit applications to run in a cleaner way inside 64-bit prefixes. Wine also gains s 
 ⌘ Read more

​ Read More

JPEG-XL Image Support Returns To Latest Chrome/Chromium Code
After widespread backlash over its 2022 decision to remove JPEG-XL support, Google has quietly restored the image format in the latest Chrome/Chromium codebase. Phoronix reports: Back in December they merged jxl-rs as a pure Rust-based JPEG-XL image decoder from the official libjxl organization. At the end of December they did more JPEG-XL plumbing with the en 
 ⌘ Read more

​ Read More

JPEG-XL Image Support Returns To Latest Chrome / Chromium Code
To the frustration of many developers and end-users, back in 2022 Google deprecated JPEG-XL support in Chrome/Chromium and proceeded to remove the support. That decision was widely slammed and ultimately Google said they may end up reconsidering it. In November there was renewed activity and interest in restoring JPEG-XL within Google’s image web browser and as of yesterday the code was merged
 ⌘ Read more

​ Read More

Bcachefs Ships Latest User-Space Utilities With bcachefs-tools 1.35
Kent Overstreet has shipped the latest version of bcachefs-tools, the user-space code complementing the Bcachefs file-system kernel driver. There are a number of improvements present in this latest version with Overstreet remaining committed to advancing Bcachefs even with its current out-of-tree kernel status
 ⌘ Read more

​ Read More

LLVM/Clang 22 Feature Development Ends With Intel Nova Lake, Arm C1 & Ampere1C Support
LLVM/Clang 22 feature development ended overnight with the code now being branched and working toward a stable release likely by the end of February
 ⌘ Read more

​ Read More

Even Linus Torvalds Is Vibe Coding Now
Linus Torvalds has started experimenting with vibe coding, using Google’s Antigravity AI to generate parts of a small hobby project called AudioNoise. “In doing so, he has become the highest-profile programmer yet to adopt this rapidly spreading, and often mocked, AI-driven programming,” writes ZDNet’s Steven Vaughan-Nichols. Fro the report: [I]t’s a trivial program called AudioNoise – a recen 
 ⌘ Read more

​ Read More

I’m trying to implement configurable key bindings in tt. Boy, is parsing the key names into tcell.EventKeys a horrible thing. This type consists of three information:

  1. maybe a predefined compound key sequence, like Ctrl+A
  2. maybe some modifiers, such as Shift, Ctrl, etc.
  3. maybe a rune if neither modifiers are present nor a predefined compound key exists

It’s hardcoded usage results in code like this:

func (t *TreeView[T]) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
    return t.WrapInputHandler(func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
        switch event.Key() {
        case tcell.KeyUp:
            t.moveUp()
        case tcell.KeyDown:
            t.moveDown()
        case tcell.KeyHome:
            t.moveTop()
        case tcell.KeyEnd:
            t.moveBottom()
        case tcell.KeyCtrlE:
            t.moveScrollOffsetDown()
        case tcell.KeyCtrlY:
            t.moveScrollOffsetUp()
        case tcell.KeyTab, tcell.KeyBacktab:
            if t.finished != nil {
                t.finished(event.Key())
            }
        case tcell.KeyRune:
            if event.Modifiers() == tcell.ModNone {
                switch event.Rune() {
                case 'k':
                    t.moveUp()
                case 'j':
                    t.moveDown()
                case 'g':
                    t.moveTop()
                case 'G':
                    t.moveBottom()
                }
            }
        }
    })
}

This data structure is just awful to handle and especially initialize in my opinion. Some compound tcell.Keys are mapped to human-readable names in tcell.KeyNames. However, these names always use - to join modifiers, e.g. resulting in Ctrl-A, whereas tcell.EventKey.Name() produces +-delimited strings, e.g. Ctrl+A. Gnaarf, why this asymmetry!? O_o

I just checked k9s and they’re extending tcell.KeyNames with their own tcell.Key definitions like crazy: https://github.com/derailed/k9s/blob/master/internal/ui/key.go Then, they convert an original tcell.EventKey to tcell.Key: https://github.com/derailed/k9s/blob/b53f3091ca2d9ab963913b0d5e59376aea3f3e51/internal/ui/app.go#L287 This must be used when actually handling keyboard input: https://github.com/derailed/k9s/blob/e55083ba271eed6fc4014674890f70c5ed6c70e0/internal/ui/tree.go#L101

This seems to be much nicer to use. However, I fear this will break eventually. And it’s more fragile in general, because it’s rather easy to forget the conversion or one can get confused whether a certain key at hand is now an original tcell.Key coming from the library or an “extended” one.

I will see if I can find some other programs that provide configurable tcell key bindings.

​ Read More

Linux 6.19-rc5 Brings Fix For Newer NVIDIA GPUs, Logitech HID++ For Anywhere 3S & Fixes
In addition to Linus Torvalds doing some vibe coding and more with his new “AudioNoise” project this week, Linux 6.19 kernel development ticked back up with the holidays having passed. A variety of fixes made it into today’s Linux 6.19-rc5 release in working toward v6.19 stable in early February
 ⌘ Read more

​ Read More

Latest Linux 6.19 Code Fixes Rust Binder Driver, Adds Intel Nova Lake Point S To MEI
Ahead of the imminent Linux 6.19-rc5 release, the char/misc pull request was merged earlier today with a notable fix to the Rust Binder driver as well as adding the Intel Nova Lake Point S device ID to the MEI driver
 ⌘ Read more

​ Read More

Since I used so much Rust during the holidays, I got totally used to rustfmt. I now use similar tools for Python (black and isort).

What have I been doing all these years?! I never want to format code manually again. đŸ€ŁđŸ˜…

​ Read More

Linus Torvalds’ Latest Open-Source Project Is AudioNoise - Made With The Help Of Vibe Coding
In addition to Linus Torvalds’ recent comments around AI tooling documentation, it turns out in fact that Linus Torvalds has been using vibe coding himself. Over the holidays Linus Torvalds has been working on a new open-source project called AudioNoise that was started with the help of AI vibe coding
 ⌘ Read more

​ Read More

Elon Musk: X’s New Algorithm Will Be Made Open Source in Seven Days
“We will make the new ð algorithm
open source in 7 days,” Elon Musk posted Saturday on X.com. Musk says this is “including all code used to determine what organic and advertising posts are recommended to users,” and “This will be repeated every 4 weeks, with comprehensive developer notes, to help you understand what changed.”

Some context f 
 ⌘ Read more

​ Read More

AI Fails at Most Remote Work, Researchers Find
A new study “compared how well top AI systems and human workers did at hundreds of real work assignments,” reports the Washington Post.

They add that at least one example “illustrates a disconnect three years after the release of ChatGPT that has implications for the whole economy.”

AI can accomplish many impressive tasks involving computer code, documents or images. That has prompt 
 ⌘ Read more

​ Read More

Linux 7.0 Readying Improvement For Rust + LTO Kernel Builds
Alice Ryhl of Google has been working on an improvement to the Linux kernel code for inlining C helpers into Rust when making use of a Link-Time Optimized (LTO) kernel build. At least some of the patches are queued up for merging in the upcoming Linux 6.20~7.0 cycle for helping those enabling the Rust kernel support and also making use of the LLVM/Clang compiler’s LTO capabilities for greater performance
 ⌘ Read more

​ Read More

Torvalds Tells Kernel Devs To Stop Debating AI Slop - Bad Actors Won’t Follow the Rules Anyway
Linus Torvalds has weighed in on an ongoing debate within the Linux kernel development community about whether documentation should explicitly address AI-generated code contributions, and his position is characteristically blunt: stop making it an issue. The Linux creator was responding 
 ⌘ Read more

​ Read More

NVIDIA Optimizes Printing Of Linux Memory Stats For 11% System Time Savings
A NVIDIA engineer restructuring some of the printf-related code within the memory resource controller “memcg” statistics printing code to reduce the system time by 11% for dumping those stats
 ⌘ Read more

​ Read More

Linux Kernel Considers Linking The Relocatable x86 Kernel As PIE In 2026
To allow for additional security hardening of the Linux kernel, a patch series has been updated more than one year later to link the relocatable x86_64 kernel as Position Independent Executable (PIE) code
 ⌘ Read more

​ Read More

Vacation: Doing crazy things like C on DOS, lots of Rust, bare-metal assembly code, everything is fine.

Back at work: How the fuck do I move an email in this web mail program? Am I stupid? 😼‍💹

​ Read More

Compiler-Based Context & Locking Analysis On Deck For Linux 7.0 Paired With Clang 22+
A new feature in the queue for likely introduction with the next version of the Linux kernel (Linux 6.20~7.0) is compiler-based context and locking analysis. This kernel code depends on the yet-to-be-released LLVM Clang 22 compiler but can provide some powerful insights to kernel developers
 ⌘ Read more

​ Read More

DRM Splash Screen Updated To Simply Drawing A Colored Background, Displaying A BMP Image
Back in October was an initial proposal for a DRM splash screen client for the Linux kernel that would be primarily useful for embedded systems for rendering a simple “splash screen” when updating the system firmware/software, early display activation at boot, during system recovery, or similar processes. Sent out today was a second revision to the DRM splash screen code
 ⌘ Read more

​ Read More

Creator of Claude Code Reveals His Workflow
Boris Cherny, the creator of Claude Code at Anthropic, revealed a deceptively simple workflow that uses parallel AI agents, verification loops, and shared memory to let one developer operate with the output of an entire engineering team. “I run 5 Claudes in parallel in my terminal,” Cherny wrote. “I number my tabs 1-5, and use system notifications to know when a Claude needs input. 
 ⌘ Read more

​ Read More

Linux’s Old Mount API Code On The Chopping Block For The 7.0 Kernel
The Linux kernel’s “new mount API” that has been in the kernel since 2019 and recently made rounds for taking 6+ years to land the man page documentation on it will soon be the the only mount API internally within the kernel. Removing the “old” Linux kernel mount API internals is a candidate for the upcoming Linux 7.0 kernel cycle
 ⌘ Read more

​ Read More

Google Will Now Only Release Android Source Code Twice a Year
Google will begin releasing Android Open Source Project (AOSP) source code only twice a year starting in 2026. “In the past, Google would release the source code for every quarterly Android release, of which there are four each year,” notes Android Authority. From the report: Google told Android Authority that, effective 2026, Google will publish new s 
 ⌘ Read more

​ Read More

I came across this on “Why Is SQLite Coded In C”, which I found interesting:

“There has lately been a lot of interest in “safe” programming languages like Rust or Go in which it is impossible, or is at least difficult, to make common programming errors like memory leaks or array overruns.”

If that’s true, then encountering those issues means the programmer is, simply, horrible?

​ Read More

GStreamer 1.28-RC1 Brings A Rust-Based GIF Decoder, Other New Rust Components
On Monday the first release candidate of the GStreamer 1.28 multimedia framework was released. As is a recurring focus in recent releases, more GStreamer code is written in Rust for memory safety especially around decoding content
 ⌘ Read more

​ Read More

Valve & AMD Developers Delivered The Most Code Contributions To Mesa In 2025
A developer from Valve working on the RADV Vulkan driver was once again the most prolific contributor to Mesa in 2025 followed by AMD’s Marek Olơák with continued improvements around RadeonSI and Gallium3D
 ⌘ Read more

​ Read More

Intel Xe Driver Preps THP Support For “Significant” SVM Performance Gains
Intel engineer Francois Dugast today sent out the new patch series for enabling Transparent Hugepages (THP) support within the drm_pagemap code with a focus on the Intel Xe kernel driver usage. This enabling of THP support and in turn 2MB pages by the Xe driver is yielding “significant” performance improvements when using Shared Virtual Memory (SVM) such as for GPU compute workloads
 ⌘ Read more

​ Read More