programming

GetRawInputData always returns null as device handle regardless of input type ( kbin.social )

Supposedly, it was only supposed to happen with high-precision trackpads, but it happens to all my devices. I do however have a graphic tablet and an old PS/2 keyboard connected to my motherboard, but all devices cause such issues on my PC at least. I tried my best to follow MS documentations as closely as possible, so unless...

Trying to find a modern alternative to my emacs workflow ( kbin.social )

I've been using emacs since 2010. I use doom emacs now, but I have written my own overcomplicated config at one point in the past. I've grown used to it, but sometimes when emacs chokes on some input due to its single threaded nature I have time to wonder if there's something better for me out there....

VS Code's Token Security: Keeping Your Secrets... Not So Secretly - Cycode ( cycode.com )

This is the full story of the vulnerability we have discovered within Visual Studio Code (VS Code) concerning the handling of secure token storage. While designed for isolated storage for each extension, this vulnerability presents a high-risk “Token Stealing” attack. A malicious extension could expose third-party...

Can I still get WM_CHAR or similar events with RawInput? ( kbin.social )

I'm writing an input-output library, and I want an easy way of handling text input without having to rely on stuff on program side, which would be extremely troubling with all the international input support. As long as I can translate them to characters in some way or another, I don't mind any kind of solution.

Make invalid states unrepresentable ( geeklaunch.io )

Some programming languages have really powerful type systems, so we're really leaving money on the table if we don't take full advantage of them. In the case of Rust, I believe the type system has been shown to even be Turing-complete! (That's not an injunction to implement everything at compile-time.)...

Petals, a federated AI, discusses the best governments for humanity. ( kbin.social )

A transcript of a conversation with AI on it's thoughts on what the best government would be. The AI is the open source Petals, and the http://chat.petals.ml/ interface was used with the Guanaco 65-B language model. Petals is the first federated AI network I've seen, and I wanted to give it a spin....

  • All
  • Subscribed
  • Moderated
  • Favorites
  • wartaberita
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KbinCafe
  • Ask_kbincafe
  • TheResearchGuardian
  • oklahoma
  • Testmaggi
  • Socialism
  • SuperSentai
  • KamenRider
  • feritale
  • All magazines