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.
Forwarded from Hacker News (yahnc_bot)
ELF hash function may overflow https://maskray.me/blog/2023-04-12-elf-hash-function
MaskRay
ELF hash function may overflow
This article describes an interesting overflow bug in the ELF hash function. The System V Application Binary Interface (generic ABI) specifies the ELF object file format. When producing an executable
Forwarded from Lobste.rs
Announcing the deps.dev API: critical dependency data for secure supply chains
Comments
via JamieTanna@users.lobste.rs (JamieTanna)
Comments
via JamieTanna@users.lobste.rs (JamieTanna)
Google Online Security Blog
Announcing the deps.dev API: critical dependency data for secure supply chains
Posted by Jesper Sarnesjo and Nicky Ringland, Google Open Source Security Team Today, we are excited to announce the deps.dev API , which...
Forwarded from Hacker News (yahnc_bot)
Zylin ZPU: 32 bit CPU with GCC toolchain https://github.com/zylin/zpu
GitHub
GitHub - zylin/zpu: The Zylin ZPU
The Zylin ZPU. Contribute to zylin/zpu development by creating an account on GitHub.