HN user

lazka

101 karma
Posts1
Comments28
View on HN

On Windows (so libwinpthread), 8C/16T machine:

  $ flac --version
  flac 1.5.0
  $ hyperfine -r5 "flac -f -8 a.wav a.flac" "flac -j16 -f -8 a.wav a.flac"
  Benchmark 1: flac -f -8 a.wav a.flac
    Time (mean ± σ):     13.148 s ±  0.194 s    [User: 12.758 s, System: 0.361 s]
    Range (min … max):   12.934 s … 13.318 s    5 runs

  Benchmark 2: flac -j16 -f -8 a.wav a.flac
    Time (mean ± σ):      2.404 s ±  0.012 s    [User: 14.126 s, System: 1.355 s]
    Range (min … max):    2.395 s …  2.425 s    5 runs

  Summary
    flac -j16 -f -8 a.wav a.flac ran
      5.47 ± 0.09 times faster than flac -f -8 a.wav a.flac

> After you get through this hurdle you then have to install the right software, and MSYS2 makes the "genius" decision of letting me pick which binary I want to install for every single install. Do you need to install fmpeg? Better spend an hour sifting through clang-amd64-ucrt-mingw32-ffmpeg vs. gcc-x86_64-w32-gnu-ffmpeg and tons of packages.

Huh. Yeah, that does seem odd - is it a result of MSYS2 being oriented at devs who need compatible libraries?

Yeah, we are oriented at devs that re-package our binaries and also want to be a development environment for upstreams, and also a testbed for toolchains. So we provide x86/x64/arm64, then ucrt/msvcrt, and llvm/gcc. I wouldn't blame anyone for finding this confusing. It's described here: https://www.msys2.org/docs/environments

For ffmpeg, since it was mentioned as an example, this looks like: https://packages.msys2.org/base/mingw-w64-ffmpeg

PHP 8.2 4 years ago

Sure. (1) it is a global setting so I can't decide if I want it on a per application basis, with Docker that is less of an issue though (2) it is disabled by default, so hardly anyone uses it from what I see (3) I'd like to have it always enabled, also in production, so my code doesn't end up in states that I didn't expect and I get notified.

But that might just be me and/or my particular use case.

PHP 8.2 4 years ago

assert() is still broken if it's disabled in php.ini.

Only C extensions that themselves have no global state and don't depend on the GIL for locking, which most of them do. So they will all require some porting, and it will take time since it requires newer CPython API only available in 3.9+ and some even 3.11+ (PEP 630).

Don't Use RAR 4 years ago

Microsoft ASF/WMA also has a similar limitation, where it disallows writing an open source implementation if you use the official format specification.

Luckily it is too mostly irrelevant nowadays.

According to the GDPR health data is a special category that needs extra care and heart rate falls in that category:

"Information derived from the testing or examination of a body part or bodily substance"