News for hackers. Stuff that matters.

lowleveldesign

One of the answers points the right steps to disable the Google account (and the annoying popup) in the Photos app:

- click on the account icon

- choose switch account and pick use this application without an account

Re:KDE at 30 on Monday June 01, 2026 @02:32PM (#48360779)
A bit tangential, but can you recommend any GUI applications for monitoring the system? The KDE's defualt system monitor is a bit heavy and does not provide much insights. I switched to Linux some time ago as my main system, but I miss a tool such as System Informer [1].

[1] https://www.systeminformer.com/

Interestingly, the Rust windows crate is generated from an MSIL assembly. And same metadata might be used to generate C# bindings thanks to cswin32 [1] project. The meta-assembly generation (Win32 metadata project) is based on clangsharp and it's fairly straightforward to generate interop code for native Windows libraries. Some time ago I described this process on my blog for the detours library [2]

[1] https://github.com/microsoft/CsWin32

[2] https://lowleveldesign.org/2023/11/23/generating-c-bindings-...

Re:I deleted my second brain on Saturday June 28, 2025 @01:28PM (#44406467)
I understand the burden that too much notes may take on you. I am a software troubleshooter and I used to keep my raw notes of all the interesting cases I encountered. However, with time, this set became hard to navigate. Additionally, when I was rereading my notes, they seemed chaotic and hard to follow. I now prefer to create a succinct summary of a closed case, explaining the taken steps, my thinking, and the solution, so that my future self could understand it :)
Coongrats on the release.

It reminds me of Log Parser Studio [1] on Windows. Using SQL to query text and log files is a great idea.

[1] https://web.archive.org/web/20170710212920/http://gallery.te...

Re:AI Meets WinDBG on Monday May 05, 2025 @02:04AM (#43892318)
I do a lot of Windows troubleshooting and still thinking about incorporating AI in my work. The posted project looks interesting and it's impressive how fast it was created. Since it's using MCP it should be possible to bind it with local models. I wonder how performant and effective it would be. When working in the debugger, you should be careful with what you send to the external servers (for example, Copilot). Process memory may contain unencrypted passwords, usernames, domain configuration, IP addresses, etc. Also, I don’t think that vibe-debugging will work without knowing what eax registry is or how to navigate stack/heap. It will solve some obvious problems, such as most exceptions, but for anything more demanding (bugs in application logic, race conditions, etc.), you will still need to get your hands dirty.

I am actually more interested in improving the debugger interface. For example, AI assistant could help me create breakpoint commands that nicely print function parameters when you only partly know the function signature and do not have symbols. I used Claude/Gemini for such tasks and they were pretty good at it.

As a side note, I recall Kevin Gosse also implemented a WinDbg extension [1][2] which used OpenAI API to interpret the debugger command output.

[1] https://x.com/KooKiz/status/1641565024765214720

[2] https://github.com/kevingosse/windbg-extensions

I've been using bpftrace -lv to examine available trace points. But the bpftrace output won't show you the complex types definitions and this tool can do it. Great work!
Re:Security researchers identify new malware targeting Linux on Friday November 22, 2024 @06:56AM (#42213085)
There is also Sysmon for Linux [1]. I work often with Windows systems that's how I know it (it's a popular choice on Windows to analyze Sysmon logs for suspicious events), but it's probably niche in Linux world.

[1] https://github.com/microsoft/SysmonForLinux

Re:Notepad++ is 21 years old on Saturday November 02, 2024 @03:03AM (#42024563)
Have you tried running it on wine? [1] I use it this way on Linux and, after adjusting my commands for running editors and start menu tools, everything runs smoothly.

[1] https://www.ghisler.ch/wiki/index.php/Total_Commander_under_...

Re:A comparison of Rust's borrow checker to the one in C# on Thursday October 31, 2024 @02:45PM (#42010086)
I feel that nowadays Rust is the language to go when you are doing system programming, but C# is not a bad choice either. With .NET 9 being released in a few weeks we will get NativeAOT (compilation to a native single binary) for x86 (x64 and ARM64 are already available). At work, I'm writing patches for legacy apps and needed to use C++ for most of my tasks. Nowadays, I'm doing more and more stuff in C# and enjoying it. For WinAPI there is a fantastic cswin32 [1] project that generates FFIs signatures on the fly. And it's fairly simple to extend it for other Windows libraries (I did it for detours [2], for example). And using pointers or working with native memory blocks is straightforward and intuitive for people with C/C++ background.

[1] https://github.com/microsoft/CsWin32

[2] https://lowleveldesign.wordpress.com/2024/07/11/implementing...

Re:Why pay for a search engine on Monday October 14, 2024 @04:11AM (#41835330)
Apart from search customizations, I also use the bang searches (a few mine and many from https://github.com/kagisearch/bangs). I also recently switched to ultimate and created a few assistants with system prompts for my various needs (coding, learning chemistry, etc.)
You can write drivers in Rust - it's just quite hard at the moment. Microsoft published metadata packages for WDK APIs and started creating samples: https://github.com/microsoft/Windows-rust-driver-samples
Re:Writing GUI apps for Windows is painful on Sunday June 30, 2024 @04:31PM (#40840136)
Apps developed for the modern (open-source) version of .NET may be compiled to a native code (NativeAOT). Some time ago, I tried AOT on a simple WinForms project and it worked. Unfortunately, functions using COM APIs are not yet supported (as they rely on reflection). There is an ongoing effort to fix this problem: https://github.com/dotnet/winforms/issues/4649
Re:VBScript deprecation: Timelines and next steps on Sunday May 26, 2024 @11:53AM (#40483126)
I haven't considered the execution policy such a blocker since you may change it on the powershell.exe command line (for example, run "powershell.exe -ExecutionPolicy RemoteSigned -File script.ps1" from a bat file). Also, the default execution policies changed between PowerShell 5.x, shipped with Windows, and modern PowerShell 7.x, which you need to install separately. In 7.x RemoteSigned is the default in the server environment.
Re:RIP Microsoft WordPad. You Will Be Missed on Monday January 08, 2024 @02:46PM (#38917063)
AFAIR the WordPad source code was available in older Windows SDKs and it was the most comprehensive sample of using OLE embedding.
Not to mention that WinUI is not supported on Windows Server. Therefore, if you need to deploy to server and desktop environments, it's better to stay with WinApi (WinForms) or WPF.
Re:Far Manager: files and archives in Windows on Sunday August 13, 2023 @12:29AM (#37106676)
Have you tried running it under wine? It works perfectly fine on my Linux system. You may only need to add a few shortcuts to convert paths for your custom commands.

https://www.ghisler.ch/wiki/index.php?title=Total_Commander_...

Re:Native AOT Overview on Friday May 26, 2023 @02:03PM (#36087646)
NativeAOT is an excellent way to expose .NET code to native apps. One big feature I am missing is support for x86. If you have a 32-bit app in which you want to inject your .NET library, NativeAOT won't help.

Show HN: Comon 2.1 – a WinDbg extension to troubleshoot COM

https://github.com/lowleveldesign/comon/releases/tag/2.1

The 2.1 version contains many improvements, including basic support for decoding COM method variables. It makes debugging COM (especially without symbols) much easier. I also published a COM troubleshooting tutorial at https://wtrace.net/articles/com-troubleshooting/.

( Read More... | no comments | on HN )

Older »