News for hackers. Stuff that matters.

Sianko

Re:Show HN: Private Markdown-based note taking on Saturday November 30, 2024 @09:41AM (#42281873)
Another "fancy" obsidian, with providing "cool" themes by quite a lot of bucks... I do not see even the syncing method here.
Re:My Favorite CS Puzzle – An Interactive Walkthrough on Monday November 25, 2024 @01:20PM (#42238620)
I think the value of a repeated number can be found much easier: ``` long sum = 0; for (int i = 0; i < n; i++) { if(i < n - 1) { sum -= i; } sum += array[i]; }

printf("Element %d\r\n", sum); ```

Re:Show HN: Super Simple CRC32 Implementation on Friday November 01, 2024 @05:20PM (#42021666)
So there are many different flavors of crc32. Usually you can always change the initialization value. This algorithm is only one use case.

Check this table out https://www.crccalc.com/?crc=123456789&method=&datatype=0&ou...

Show HN: ThinkPad Keyboard Backlight Controller

https://github.com/MateuszMyalski/thinkpad-keybacklight

This repository provides a controller for managing the backlight of ThinkPad keyboards with integrated Systemd support. The controller offers extensive features including event-based backlight control, automatic brightness adjustments, and scheduling. This tool is especially useful for users who want to fine-tune their keyboard backlight settings based on input events, time, or system state.

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