HNHacker News
TopNewBestAskShowJobs

lights0123

2,054 karma · joined May 27, 2020

he/him

https://lights0123.com/

github.com/lights0123/

submissionscomments
lights0123··on Tell HN: The “Y” logo in the top-left corner has been upgraded to SVG
It doesn't need to be valid XML if you embed it in the HTML, which was their point.
lights0123··on Fakespot Is Acquired by Mozilla
BSSIDs of nearby WiFi networks that are compared to lists sent by mobile devices with real GPS
lights0123··on Web LLM – WebGPU Powered Inference of Large Language Models
For Intel, it seems that per their chart under "What is the maximum amount of graphics memory or video memory my computer can use?" and discussion under "Will adding more physical memory increase my graphics memory amount?" at https://www.intel.com/content/www/us/en/support/articles/000..., iGPUs included with 5th gen/Broadwell processors were their first to do so in 2014.
lights0123··on Making Python faster with Rust
It appears that you didn't enable optimizations. That's needed for SIMD, which can only be taken advantage of with contiguously packed data.
lights0123··on Microsoft Teams is blocking Firefox Nightly
Microsoft could just keep an independent fork—just match features at a slower pace. Google can't change the license of Blink, their renderer, since it's a fork of KDE's LGPL renderer.
lights0123··on Valve bans 40k Dota 2 accounts using honeypot patch
https://www.reddit.com/r/wow/comments/zp8sg/tracking_persona...
lights0123··on Making macOS Apps Uninstallable
From the bottom of the linked article, it did so in this case:

    215781406   0x00020200=[removed]    /Users/alin/Library/Application Support/Lunar
    215781409   0x00010200=[removed]    /Users/alin/Library/Preferences/fyi.lunar.Lunar.plist
lights0123··on Replacing Mapbox with open source solutions
Although I used to exclusively use it, Canvas-based maps just run so much smoother and support things like rotation that are really helpful for changing perspective.
lights0123··on Forking Chrome to render in a terminal
> One of the unicode characters we can render is the lower half block element U+2584: . Knowing that cells generally have an aspect ratio of 1:2, we can render perfectly square pixels by setting the background color to the top pixel color, and the foregound color to the bottom pixel color.

Even better: https://en.wikipedia.org/wiki/Sixel Doesn't support 24-bit color though.

lights0123··on Intel's horrible quarter revealed an inventory glut and underused factories
If I understand it correctly, Intel would lose their patent cross licensing with AMD upon a "a Change of Control", significantly reducing its value. However, there are exceptions to that that are redacted from the public license.
lights0123··on Detect breaches with Canary credit cards
Capital One does
lights0123··on Detect breaches with Canary credit cards
> Savvy attackers may start looking for patterns in the bank identification numbers (BINs) that we issue, and proactively deleting or excluding them from their dumps. For this reason we are in discussions with a number of banks to onboard their BINs to the system too, further mixing in legitimate cards with tokens.

> It’s a compelling argument: “Would you like attackers to first remove your bank’s cards from dumps they steal?”

lights0123··on Reasons Python Sucks (2018)
No, lists are implemented in CPython as an regular, contiguous array of PyObject. There is an array library (https://docs.python.org/3/library/array.html) for more efficient storage, comparable to JS's Uint8Array and friends.
lights0123··on Reasons Python Sucks (2018)
"Reason 7: Pass By Object Reference": isn't this the case of almost every GC'd language? Java, JS, PHP, Swift, and C# all do so, although C# doesn't if your type is a "struct" not a class. Go is the only popular exception I can think of.
lights0123··on A practical comparison of build and test speed between C++ and Rust
The exact same thing happens in C++—when you're not using LTO, you can pass multiple source files to the compiler at a time to allow these files to be optimized together, but keeping them separated at a file-level prevents optimizations such as inlining functions between them.

Compiling with and without optimizations is another example of that choice.

lights0123··on A practical comparison of build and test speed between C++ and Rust
rustc needs to look at the entire crate because there's no header files that provide information about other items like C++. rustc does parallelize internally though: https://doc.rust-lang.org/rustc/codegen-options/index.html#c...
lights0123··on Golang disables Nagle's Algorithm by default
> OP didn't mention that its extremely easy to configure this

Maybe not explicitly, but it was definitely mentioned:

> From there, I went into the git-lfs codebase. I didn’t see any calls to setNoDelay

lights0123··on Wiretapping Google smart speakers
> How do you scan MACs without being on the network? Is it like Bluetooth, where everything is constantly broadcasting?

It's actually the opposite—WiFi broadcasts MAC addresses in the clear (although likely a random one per-network on modern devices) even with WPA, while BLE can use an Identity Resolving Key when it's not in active discovery mode. This way, a Random Resolvable Private Address can be created that only the paired device can decrypt and find the actual MAC address.

lights0123··on “Fun disabled by administrator” (2015)
My college offers a similar program, and I've heard good things about it from other students who have taken courses with it. https://gradecraft.com/
lights0123··on Offline Voice Assistant on a Microcontroller with 192KB RAM
Although interestingly enough, the README for the linked repo (https://github.com/Picovoice/picovoice) states that "The SDK is licensed under Apache 2.0 and available on GitHub to encourage independent benchmarking and integration testing." While source isn't provided and only compiled binaries are provided, that should give you permission to flip some bits to skip a license check. However, they may make you agree to a stricter license to use their online training tools.
lights0123··on OpenAI quietly launched Whisper V2 in a GitHub commit
I've done this with Google's video transcription model, which works surprisingly well.
lights0123··on MagSpoof: Wireless Magstrip Spoofer
They’re talking about store-specific gift cards, not generic visa/Mastercard cards.
lights0123··on Some projects moving AWAY from TypeScript. Reasons: build times, code complexity
The first project is using tsc as the transpiler, which is becoming less common in new build setups. esbuild and babel can already transform TS to JS extremely quickly and with full flexibility, they just don't perform type checking—which could be performed in parallel or even in a completely separate CI pipeline.
lights0123··on Valve Introduces Proton Next
https://www.forbes.com/sites/jasonevangelho/2019/09/19/fine-... Valve has contracted Codeweavers
lights0123··on Mold linker may switch to a source-available license
As an example of a company that doesn't touch AGPL, Google's policy is to "maintain an aggressively-broad ban on all AGPL software": https://opensource.google/documentation/reference/using/agpl...
lights0123··on Wii U Architecture
The article says:

> Similarly to how the Wii Remote mangles the Bluetooth protocol to avoid third-party usage

with "mangles the Bluetooth protocol" being a broken link. Anyone have information on this? I'm interested in how so.

lights0123··on reMarkable 2
Yes. Official support for uploading PDF and unencrypted EPUB over USB but the interface is designed for annotating instead of reading. koreader or plato can be installed (unofficially) for a much better reading-first experience.
lights0123··on Valve's latest Steam Deck trailer briefly plugs a Nintendo Switch emulator
Pirating games. Valve doesn't care if you play games you buy not on their hardware (being their original business), while Nintendo doesn't want you playing Switch games on a computer even if you bought the game.
lights0123··on ASML's Secret: A view from inside the global semiconductor giant [video]
It's interesting to see that Mapbox blurs its highest zoom level there, but it's second-highest zoom still provides quite a lot of detail to the point where you can make out every car and their color and rough shape.
lights0123··on Postgres WASM
That's the old one. https://web.dev/usb/ is the supported one.
← PreviousPage 6 of 20Next →