HNHacker News
TopNewBestAskShowJobs

lazka

101 karma · joined January 7, 2019

submissionscomments
lazka··on Britain to make salary disclosure in job ads mandatory
That's already the case where I live, but some companies use the trick that they advertise a job with high salary, and once you apply they says "sadly this job is no longer available, but we have this similar one we haven't advertised yet", which of course comes with lower salary.
lazka··on PHP's Oddities
That array keys are auto-coerced to integers has bit me multiple times.
lazka··on Tachyon: High frequency statistical sampling profiler
Here is a podcast episode were the devs talk about the new profiler: https://creators.spotify.com/pod/profile/corepy/episodes/The...
lazka··on Git: Introduce Rust and announce it will become mandatory in the build system
It's a native build. Only various tools it is shipped with are cygwin builds, like bash etc.
lazka··on EU age verification app to ban any Android system not licensed by Google
In Austria you can use a web browser + FIDO key as an alternative. It works nicely. https://ida.gv.at/de/hilfe/hilfe-zu-ida/authentifizierungsfa...
lazka··on Performance of the Python 3.14 tail-call interpreter
I'm also still using 3.11 for a FastAPI app since 3.12 and 3.13 are quite a bit slower.
lazka··on FLAC 1.5 Delivers Multi-Threaded Encoding
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
lazka··on YouTube audio quality – How good does it get? (2022)
See "Why not use graphs / frequency analysis to compare codecs?" https://wiki.hydrogenaud.io/index.php?title=FAQ#:~:text=Why%...

"I decided that analysis should focus on the higher, more conventional rates – 48k and 44k1" - opus is always 48khz, so that doesn't mean much.

lazka··on SAMA – open-source Chat server
Discord has "Forum" channels now which are similar to Zulip, with forced "threads" which they call "posts".
lazka··on Just Use MSYS2 You Say?
> > 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

lazka··on Fastly launches free developer accounts
What happens if you go over the 200GB or 2 Million monthly requests limits?
lazka··on Cython 3.0 Released
They don't use pinning in their examples: https://cython.readthedocs.io/en/latest/src/userguide/source... and https://cython.readthedocs.io/en/latest/src/userguide/source...
lazka··on I just learned: Docker edits firewall rules for you
Could UFW detect/warn that there are iptables rules interfering with its own rules?
lazka··on One does not simply 'pip install'
The next Debian/Ubuntu releases will no longer allow `pip install` outside of a venv: https://discuss.python.org/t/pep-668-marking-python-base-env...

You can still force it via `pip install --break-system-packages ...` if needed.

lazka··on MSYS2 – Software Distribution and Building Platform for Windows
For those of you who haven't looked at MSYS2 in a while: We now also have a Clang/LLVM based toolchain and ARM64 support.
lazka··on PHP 8.2
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.

lazka··on PHP 8.2
assert() is still broken if it's disabled in php.ini.
lazka··on Faster CPython 3.12 Plan
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).
lazka··on Show HN: A virtual Yubikey device for 2FA/WebAuthN
Imo that it's not phishable and that there is no secret on the target server is even more useful in practice. And both those properties don't require physical isolation.
lazka··on Some Authy 2FA accounts were compromised in Twilio data breach
U2F generates a new keypair for each origin. Public keys are not re-used.
lazka··on Don't Use RAR
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.

lazka··on Tell HN: I got 10x Hetzner storage at the same price
Nextcloud doesn't support color profiles in images, so anything not sRGB looks off in their gallery app -> I wouldn't recommend it.
lazka··on Disclosure of three 0-day iOS vulnerabilities
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"

lazka··on GitHub Actions checkspelling community workflow GitHub_TOKEN leakage via symlink
GHA tokens can be scoped, see https://docs.github.com/en/actions/reference/authentication-...
lazka··on Audacious 4.0 released, switches from GTK to Qt 5
Here is how a gtk app looked in 2014 on macOS: https://i.imgur.com/1e669Tp.png
lazka··on PyPy v7.0.0: triple release of 2.7, 3.5 and 3.6-alpha
Yeah, sorry. It shows at least that it's possible with the current PyPy C API layer to have GUI bindings working.

Here is the only PyPy related issue I found for PySide2: https://bugreports.qt.io/browse/PYSIDE-535

PyQt doesn't have a bug tracker ¯\_(ツ)_/¯

lazka··on PyPy v7.0.0: triple release of 2.7, 3.5 and 3.6-alpha
For gtk, gstreamer etc. PyGObject should just work. It has PyPy as part of its CI pipeline. Also in combination with matplotlib (GTK3Cairo backend) and numpy.

Not sure about PySide2..

lazka··on Kernel quality control, or the lack thereof
What makes you so sure?
lazka··on Kernel quality control, or the lack thereof
I've filed bugs for some of the mentioned copy_file_range() issues more than two years ago:

- https://bugzilla.kernel.org/show_bug.cgi?id=135461

- https://bugzilla.kernel.org/show_bug.cgi?id=135451

No response...