HNHacker News
TopNewBestAskShowJobs

lights0123

2,054 karma · joined May 27, 2020

he/him

https://lights0123.com/

github.com/lights0123/

submissionscomments
lights0123··on Format Strings in Rust 1.58
No. That was invalid syntax previously.
lights0123··on _Application.Run(Object, Object, Object, Object, Object, Object, Object, Object
That hasn't been the case (except for Default) for a few months.
lights0123··on Rust: Experimental real-time global illumination renderer
The message is https://discord.com/channels/691052431525675048/692648638823..., and you can see the video demo at https://cdn.discordapp.com/attachments/692648638823923732/92.... They say:

> I'm working on cleaning up the plugin I hope to put something out there this week

lights0123··on "Log4j trigger in my signature so I can see logging copies of my mail"
Many WAFs now block HTTP requests that will exploit it. Cloudflare (not what Reddit uses) does it for all customers automatically, for example.
lights0123··on We check our node_modules folder into source control
That makes a lot of sense for file sizes—otherwise, common dependencies patch versions apart would be duplicated many time, and it would block you from upgrading a library's dependency for a security fix. You still get the important part of reproducible builds for your program. Rust's Cargo behaves the same way.
lights0123··on I bought those AR cycling glasses that were on HN last month
From the first sentence of Wikipedia:

> Augmented reality (AR) is an interactive experience of a real-world environment where the objects that reside in the real world are enhanced by computer-generated perceptual information

I agree in that there needs to be some interaction between real-world objects and virtual ones to be considered more than a simple HUD.

lights0123··on CPython's main branch running in the browser with WebAssembly
You can use Atomics.wait() to block a non-main thread.
lights0123··on Apple sues NSO Group to curb the abuse of state-sponsored spyware
https://en.wikipedia.org/wiki/Computer_Fraud_and_Abuse_Act

Yes it is a federal crime, but was recently limited by https://en.wikipedia.org/wiki/Van_Buren_v._United_States

lights0123··on Fun with Red Star OS
> which certain color laser printers and copiers

Inkjet printers are far more likely to not let you print without color ink, because they need to add the color inks to produce a darker black. Laser printers are far more likely to let you print without color toner (and as such, I've never worked with a laser printer that requires non-empty color toner cartridges), because they don't need to add additional colors for black.

lights0123··on I ended up liking GNOME with the loss of one hand
https://extensions.gnome.org/extension/4114/fildem-global-me... exists, but only kind of supports GNOME 40
lights0123··on Restic – Backups Done Right
Restic is great. Used to use Duplicati because of its GUI, but Restic is far faster, reliable, and restoring files via FUSE is extremely easy to use.
lights0123··on Safari Ruined My Tuesday
GNOME Web is officially recommended by Apple for testing WebKit on Linux. The devtools even look identical to those on Safari.
lights0123··on ProctorU is dystopian spyware
One big problem with QEMU is that its virtual hard drives has the word "QEMU" hardcoded in their name, which proctoring software easily detects. When I checked there was a patch 1 year ago to make that configurable, but it was unmerged.
lights0123··on WSL2 can now mount Linux ext4 disks directly
WSL2 doesn't support sharing part of a disk yet, it's all or nothing.
lights0123··on Ask HN: Will there ever be a vendor agnostic GPU interface?
And MoltenVK isn't just an experiment or hobby project, it's already being used in production—one prominent example is Autodesk Fusion 360, which even uses it on M1.
lights0123··on 14-inch MacBook Pro review: A Mac Pro in your backpack
reduced (key travel and keyboard reliability), not (reduced key travel) and keyboard reliability
lights0123··on Servicing and repairing electric cars requires new skills
Those are going to be mostly solid metal, so they're going to have very low resistance. Worst case scenario, you have a silver ring, which has the lowest resistance of any common metal at normal temperatures. Even at a high value of 0.1 ohms (it's sure to be much lower than that), you're looking at 1440 watts, around the heat produced by many plug-in heaters in the US.
lights0123··on Apple M1 Max Geekbench Score
MoltenVK is Vulkan's official translation layer to Metal, and doesn't have too much overhead. Combine with dxvk or d3vkd to translate from DirectX—DirectX before 12 is generally faster with DXVK that Windows' native support.
lights0123··on The Frame.work Marketplace Opened
It's on the power button, but there's no need to use it if you don't want it.
lights0123··on Facebook Dangerous Individuals and Organizations List (Reproduced Snapshot)
One example from a few years ago: Genius.com was accusing Google of taking lyrics data from their site and displaying them on search results. They changed some apostrophes into the similar-but-different ’ U+2019 RIGHT SINGLE QUOTATION MARK in a specific pattern. https://www.pcmag.com/news/genius-we-caught-google-red-hande...
lights0123··on Valve opens up a Steam Deck to explain why it thinks you shouldn’t
They actually made it very clear to say that "the warranty doesn't cover any damage that you do" by opening it, not the act of opening it.
lights0123··on Twitch source code and customer data has reportedly been leaked
No. https://www.gnu.org/licenses/gpl-faq.en.html#StolenCopy
lights0123··on A USB Fan Controller that now works under Linux
Not if you run out of fan headers and need an expander.
lights0123··on FOIA requests show Apple’s emails pitching state agencies on IDs and Wallet app
It was October 2020, but it was extended to April 2021. Now past the deadline, gas stations are liable for fraudulent transactions using chip cards.

https://adeptpayments.com/blog/2021/05/12/emv-compliance-dea...

lights0123··on Cloud Run quietly swaps HOME env var in Docker
> will do something else if she wants something else

How should that be communicated by the user? A prompt when opening every application asking where you'd like the data, config, state, and cache dirs to live? And if so, how would the application figure out where that config is stored?

These env vars are explicitly only (with the exception of XDG_RUNTIME_DIR) for when the user cares to override them.

lights0123··on Epic launches anti-cheat support for Linux, Mac, and Steam Deck
If you want client, not necessarily sync, GNOME has it built-in. It'll mount your Drive using FUSE.
lights0123··on Waydroid – Run Android containers on Ubuntu
Yes they can. It's been an advertised feature for a few years.
lights0123··on Inspecting coredumps like it's 2021
It's not. It sets ACLs so that the user that owns the process may read the coredump, but typical ls doesn't show that.
lights0123··on iOS 15
The whole point of the parent comment asking is that you can now install proper WebExtensions, so depending on what APIs they allow, this could change.
lights0123··on Provenance: iOS and tvOS multi-emulator front end
> finally debug my websites in Safari

GNOME Web uses WebKit and is officially recommended by Apple to test websites on WebKit.

← PreviousPage 8 of 20Next →