HackerTrans
TopNewTrendsCommentsPastAskShowJobs

devcat

no profile record

Submissions

(JS) benchmark tooling that makes your heart warm

github.com
2 points·by devcat·2 anni fa·0 comments

Halide – a language for fast, portable computation on images and tensors

halide-lang.org
2 points·by devcat·3 anni fa·0 comments

comments

devcat
·3 anni fa·discuss
MacOS had compressed memory for at least a decade
devcat
·3 anni fa·discuss
there are great solutions like https://en.m.wikipedia.org/wiki/Snowflake_ID if you give up randomness
devcat
·4 anni fa·discuss
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
·4 anni fa·discuss
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
·4 anni fa·discuss
Github already has system to invalidate tokens without storing any hashes themselves https://docs.github.com/en/code-security/secret-scanning/sec...
devcat
·4 anni fa·discuss
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
·4 anni fa·discuss
Sadly it doesn't have Apple GPU backend
devcat
·4 anni fa·discuss
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