HNHacker News
TopNewBestAskShowJobs

devcat

26 karma · joined March 11, 2019

no
submissionscomments
devcat··on Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load
MacOS had compressed memory for at least a decade
devcat··on 19 random digits is not enough to uniquely identify all human beings
there are great solutions like https://en.m.wikipedia.org/wiki/Snowflake_ID if you give up randomness
devcat··on Using AI to compress audio files for quick and easy sharing
My favorite song for testing these audio compression algorithms is Adele’s hello because any changes to her voice instantly pop out.

It did a great job of reducing FLAC size from 100mb to less than 1mb using stereo 24kbps preset but audio quality suffers a lot in some places. Maybe training it with 48kbps or 64kbps would make it a feasible alternative for storing music without much quality loss.

In comparison, lame insane preset (320kbps) produces 12mb mp3 with almost indistinguishable quality from flac.

For those who want to listen to sample: https://a.pomf.cat/pcjynr.wav (first flac then encodec)

devcat··on Toyota suffered a data breach by accidentally exposing a secret key on GitHub
Same system can be applied for repo owner being pattern provider and getting notified with matches but if i had to guess only enterprise customers might get feature like this
devcat··on Toyota suffered a data breach by accidentally exposing a secret key on GitHub
Github already has system to invalidate tokens without storing any hashes themselves https://docs.github.com/en/code-security/secret-scanning/sec...
devcat··on 87% of American teens own an iPhone; 88% expect an iPhone to be their next phone
That’s called replacing your battery. All phone batteries degrade and start underperforming over the years. What Apple did only affects those people with years old underperforming batteries.
devcat··on AITemplate, a revolutionary new inference engine by Meta AI
Sadly it doesn't have Apple GPU backend
devcat··on Show HN: Create Native Desktop Apps from WebAssembly
Seems like blog post author is not aware of zig being able to cross-compile c and zig to any platform (and even glibc version) out of box without any additional toolchains
devcat··on Ask HN: Cloud 9 closing for good. Any alternatives
You can use code-server[1] to get a vscode web ide

[1] https://github.com/cdr/code-server