Forwarded from 每日沙雕墙 (投稿机屑人)
设备商:我们的路由器和嵌入式设备的存储空间一定要精打细算
程序员:嗨害害 你看我往U-boot里面加了什么?!
https://github.com/u-boot/u-boot/commit/a554ee7edee8e10b38c6899ad8556daf58ca3afe
程序员:嗨害害 你看我往U-boot里面加了什么?!
https://github.com/u-boot/u-boot/commit/a554ee7edee8e10b38c6899ad8556daf58ca3afe
🤯4🔥1
Forwarded from Hacker News (yahnc_bot)
RISC-V Bytes: Exploring a Custom ESP32 Bootloader https://danielmangum.com/posts/risc-v-bytes-exploring-custom-esp32-bootloader/
Danielmangum
RISC-V Bytes: Exploring a Custom ESP32 Bootloader
I recently acquired an ESP32-C3-DevKitC-02 module, and, as I tend to do, jumped right into reading about how the system boots and how the (pretty good!) tooling Espressif offers works. We have typically used QEMU in the RISC-V Bytes series, but getting our…
Forwarded from Hacker News (yahnc_bot)
ArmorPaint and ArmorLab: open-source alternative to Adobe Substance https://armorpaint.org/
armorpaint.org
ArmorPaint | 3D PBR Texture Painting
ArmorPaint is a software designed for physically-based texture painting.
Forwarded from Hacker News (yahnc_bot)
Dancing Plague of 1518 https://en.wikipedia.org/wiki/Dancing_plague_of_1518
Forwarded from Hacker News (yahnc_bot)
static_assert is all you need (no leaks, no UB) https://twitter.com/krisjusiak/status/1645360641538945025
Forwarded from Hacker News (yahnc_bot)
Sunset at the South Pole https://brr.fyi/posts/sunset
brr.fyi
Sunset – brr
Hunkering down for the winter!
Forwarded from Hacker News (yahnc_bot)
Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75% https://bugzilla.mozilla.org/show_bug.cgi?id=1441918
bugzilla.mozilla.org
1441918 - Antimalware Service Executable (Windows Defender) very active / high CPU when using Firefox
RESOLVED (nobody) in External Software Affecting Firefox - Other. Last updated 2024-02-23.
Forwarded from Solidot
微软修复了一个导致 Firefox 高 CPU 占用的 Windows Defender bug
2023-04-11 18:24:00 by 艾米七号
微软释出了更新,修复了一个导致 Firefox 运行时高 CPU 占用的 Windows Defender bug。该 bug 最早是在五年前报告的,在 Firefox 运行时 Windows 10 内置的安全软件 Windows Defender MsMpEng.exe 的组件 Antimalware Service Executable 会表现出异常行为,导致了高 CPU 占用浏览器运行缓慢。上个月开发者终于找到了问题根源,MsMpEng.exe 在跟踪事件时高频呼叫了操作系统内核的 VirtualProtect 功能。Firefox 在生成大量事件的同时 MsMpEng.exe 执行了大量无用的计算,两者的组合导致了高 CPU 占用,Moziila 和微软合作解决了这个问题,补丁于 4 月 4 日释出,Firefox 的 CPU 占用减少了四分之三。微软同时向 Windows 7 和 Windows 8.1 推送了更新,Firefox 将一直支持这两个操作系统到 2024 年。
https://bugzilla.mozilla.org/show_bug.cgi?id=1441918
https://www.techspot.com/news/98255-five-year-old-windows-defender-bug-killing-firefox.html
#Bug
2023-04-11 18:24:00 by 艾米七号
微软释出了更新,修复了一个导致 Firefox 运行时高 CPU 占用的 Windows Defender bug。该 bug 最早是在五年前报告的,在 Firefox 运行时 Windows 10 内置的安全软件 Windows Defender MsMpEng.exe 的组件 Antimalware Service Executable 会表现出异常行为,导致了高 CPU 占用浏览器运行缓慢。上个月开发者终于找到了问题根源,MsMpEng.exe 在跟踪事件时高频呼叫了操作系统内核的 VirtualProtect 功能。Firefox 在生成大量事件的同时 MsMpEng.exe 执行了大量无用的计算,两者的组合导致了高 CPU 占用,Moziila 和微软合作解决了这个问题,补丁于 4 月 4 日释出,Firefox 的 CPU 占用减少了四分之三。微软同时向 Windows 7 和 Windows 8.1 推送了更新,Firefox 将一直支持这两个操作系统到 2024 年。
https://bugzilla.mozilla.org/show_bug.cgi?id=1441918
https://www.techspot.com/news/98255-five-year-old-windows-defender-bug-killing-firefox.html
#Bug
Forwarded from ✨【HZR】星咲®ラジオα (老 天川)
Forwarded from Hacker News (yahnc_bot)
Nolibc: A minimal C-library replacement shipped with the kernel https://lwn.net/Articles/920158/
LWN.net
Nolibc: a minimal C-library replacement shipped with the kernel
The kernel project does not host much user-space code in its repository, but there are exceptio [...]
Forwarded from Hacker News (yahnc_bot)
Real-time quantum error correction beyond break-even https://www.nature.com/articles/s41586-023-05782-6
Nature
Real-time quantum error correction beyond break-even
Nature - A study demonstrates the extension of a lifetime of a quantum memory using active quantum error correction and reinforcement learning.
Forwarded from Hacker News (yahnc_bot)
GPT-4 gets a B on my quantum computing final exam https://scottaaronson.blog/?p=7209
Shtetl-Optimized
GPT-4 gets a B on my quantum computing final exam!
Update (April 14): On the suggestion of my TA Justin Yirka, I gave GPT-4 problem 2 from the final exam, along with its own answers and my and Justin’s grading comments, and asked it whether i…
Forwarded from Hacker News (yahnc_bot)
Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency https://www.infoq.com/news/2023/04/virtual-threads-arrives-jdk21/
InfoQ
JEP 444: Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency
JEP 444, Virtual Threads, was promoted from Candidate to Proposed to Target status for JDK 21. This feature offers a lightweight threading model to simplify the creation, management, and monitoring of high-throughput concurrent Java applications, allowing…
Forwarded from Lancern's Treasure Chest
Leanpub
C++ Initialization Story
Forwarded from Lobste.rs
introducing io_uring support in libuv
Someone openend a PR for io_uring support in libuv, this should help a lot of projects including node to speed up a lot of IO workComments
via vi_mi@users.lobste.rs (vi_mi)
Someone openend a PR for io_uring support in libuv, this should help a lot of projects including node to speed up a lot of IO workComments
via vi_mi@users.lobste.rs (vi_mi)
GitHub
linux: introduce io_uring support by bnoordhuis · Pull Request #3952 · libuv/libuv
Add io_uring support for several asynchronous file operations:
read, write
fsync, fdatasync
stat, fstat, lstat
io_uring is used when the kernel is new enough, otherwise libuv simply
falls back to...
read, write
fsync, fdatasync
stat, fstat, lstat
io_uring is used when the kernel is new enough, otherwise libuv simply
falls back to...
😱2
Forwarded from Hacker News (yahnc_bot)
A Cryptographic Near Miss https://words.filippo.io/dispatches/near-miss/
Filippo Valsorda
A Cryptographic Near Miss
A recent issue in scalar multiplication makes for a good case study of how unsafe interfaces, undocumented assumptions, and time lead to vulnerabilities.