Better HN
topnewbestaskshowjobs
Log inSign up

schroffl

17 karma · joined May 29, 2018 (8y ago) · 21 submissions

Submissions

comment 3mo ago · link · parent

Alright, thanks a lot :)

comment 4mo ago · link · parent

Are you talking about "Fundamentals of Musical Acoustics" by Arthur H. Benade? I'm interested in buying the book, but I'm not sure which one you mean. Do you perhaps even have the ISBN?

comment 1y ago · link · parent

The language reference has a section about naming identifiers https://ziglang.org/documentation/0.14.1/#Names

comment 2y ago · link · parent

This produces an error in version 7.1 for me:

[AVFilterGraph @ 0x6000008b59d0] More input link labels specified for filter 'aeval' than it has inputs: 2 > 1

[AVFilterGraph @ 0x6000008b59d0] Error linking filters

Failed to set value '[0:a][1:a]aeval=val(0)-val(1):c=same' for option 'filter_complex': Invalid argument

Error parsing global options: Invalid argument

comment 4y ago · link · parent

I'd love to try it :)

But it seems like the server is not reachable.

comment 5y ago · link · parent

In what way?

comment 5y ago · link · parent

I recently played on an electronic drum set and it was absolutely fine with headphones. But when we hooked it up to the speakers across the room there was a very noticable delay (~5ms as we calculated) when hitting the pads with the stick.

Since I only used acoustic drums until then I never gave much thought to the idea of having your drums sound delayed. It was quite eye opening.

comment 5y ago · link · parent

Now that sounds like an accessibility nightmare :P

comment 5y ago · link · parent

I asked a similar question on StackOverflow recently.

https://stackoverflow.com/questions/64049757/are-swiftui-com...

comment 6y ago · link · parent

According to the website in their comment it apparently stands for "Tension Myositis Syndrome (TMS)" (https://www.tmswiki.org/ppd/An_Introduction_to_Tension_Myosi...)

comment 6y ago · link · parent

Not really on-topic, but I have to say that I really enjoy the audio narration :)

It's well recorded and the music is not too loud either.

comment 6y ago · link · parent

Well, you don't have to open the link in a new tab.

comment 6y ago · link · parent

You can see the planned releases in the milestones on GitHub: https://github.com/ziglang/zig/milestones

I would say at least two more years then.

comment 6y ago · link · parent

Well, to be fair, Elms WebGL interface is surprisingly easy to use.

15.

LCH colors in CSS: what, why, and how?(lea.verou.me ↗)

4 points · by schroffl · 6y ago · 1 comment

comment 6y ago · link · parent

Well, then go buy some pasta immediately!

comment 7y ago · link · parent

Having properly separated and single-purpose commits is awesome when running `git bisect` [1] — especially with automatic tests. As well when you revert said commits after the offender is found.

[1]: https://git-scm.com/docs/git-bisect

comment 7y ago · link · parent

I made a custom password manager a while back [1] where I used the MutationObserver API [2] to detect when a field is unhidden or newly added. I mainly did it to deal with iClouds login flow. The performance of that could probably be improved by figuring out the container of the login and only attaching the observer to that. But the whole thing was never really finished and I eventually forgot about it.

[1] https://github.com/schroffl/browser-password [2] https://developer.mozilla.org/en-US/docs/Web/API/MutationObs...

comment 7y ago · link · parent

I rembember the same thing on some other website I visited a few months ago, it's absolutely horrible. Imagine the face of the engineer that was told to implement this.

comment 7y ago · link · parent

It's nice to have this when you need to debug issues which only occur on certain versions. A good example would be the recent change of the c++ addon api, which caused my code to crash on some installations while it worked fine on others.

comment 8y ago · link · parent

At least in chrome you can enable "Show user agent shadow DOM" in the Settings. I don't know about other browsers, sorry.