Preferences

lights0123
Joined 2,013 karma
he/him

https://lights0123.com/

github.com/lights0123/


  1. Yes, Firefox 147 will respect XDG dirs.
  2. GCC adds similar syntax as an extension to C: https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html

    It's used all throughout the Linux kernel and useful for macros.

  3. noexec now prevents mmaping files on that filesystem as executable.
  4. Python absolutely can run scripts in installation. Before pyproject.toml, arbitrary scripts were the only way to install a package. It's the reason PyPi.org doesn't show a dependency graph, as dependencies are declared in the Turing-complete setup.py.
  5. Both consoles allow more than 8GB to be used for the integrated GPU.
  6. My university still does! Though they're replacing it next year.
  7. Any of those that mention ONVIF or RTSP will do if you put them on a LAN without internet access
  8. Can confirm: 1:28 AM Eastern in Ann Arbor, Michigan, my iPhone shows zero bars even after reboots.
  9. It's not for ES, but the same group is responsible for changes to both.
  10. You could always translate to DXIL directly, though the Chromium team has brought up drivers are used to DXC's output
  11. reMarkable tablets end up exposing a USB ethernet device with a /23 private subnet and listing an IP address to visit in a browser. It works much more reliably than it should.
  12. I tend to use https://github.com/coder/code-server#code-server for my remote development needs.
  13. ignore_chown_errors will allow mapping root to your user ID without any other mappings required.
  14. It does, and location and captions are stripped by default using the system picker. It's the switches icon in the bottom left.
  15. exit(), execve(), and friends do immediately stop execution—I could understand why you'd think a redirect would as well.
  16. You specifically don't want to use the bundled codecs since those would be CPU decode only.
  17. There are a lot of hardware features inaccessible from webgpu because its devs still have a lot of work to do for the current implementations—no browser is even shipping it on Linux by default.

    Vulkan is closer, but CUDA still exposes more features.

  18. My tips for speeding up builds (from making this same project but with ebpf):

    - switch to ninja to avoid that exact issue since CMake + Make spawns a subprocess for every directory (use the binary from PyPi for jobserver integration)

    - catkin as in ROS? rm /opt/ros/noetic/etc/catkin/profile.d/99.roslisp.sh to remove 2 python spawns per package

  19. Mesa can be used on other operating systems. See https://www.phoronix.com/news/Zink-Windows-Kopper-Progress for an example of using its OpenGL-to-Vulkan translator on Windows.
  20. It surprised me that Linux 6.12's QR code generator is written in Rust and enabled in at least Arch and Fedora.
  21. I would consider the entirety of one of those Electron apps to be a client since their main purpose is to interface with an external server—even if a small part of them internally is itself a server.
  22. They're extremely common in hashtables. You follow standard open addressing or separate chaining procedures: https://en.m.wikipedia.org/wiki/Hash_collision
  23. Most programs do encryption without syscalls! eBPF can intercept userspace execution, which they do as mentioned in the post:

    > The key idea is to hook into common TLS libraries (like OpenSSL) before encryption and after decryption

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal