Wolfgang Herget

Results 20 comments of Wolfgang Herget

another similar pattern I just came across (in https://github.com/ariakit/ariakit) is ```js const maybeFoo = typeof other["foo"] === "function" ? other["foo"] : undefined; ``` which seems redundant (as in, if it's...

Oh yes, I see how this is important for optimizing css modules, even better that it works for computed expressions. While I personally think that `"x" in other` would be...

As an addendum to @anki-code 's workaround, there's not even a need to download h2, as all the tools are already included in the `metabase.jar` in the docker image. There's...

Just to give this another bump: I was confused by the difference as well, but the confusion is not what irks me most; it's the double maintenance in the view...

I'm not really a fan of flags, though I will acknowledge that backwards compatibility is much easier to achieve using such a flag. However, it doesn't really help the confusion...

I just stumbled accross this. Should that also be possible with hooks sourced from secret gists? I'm in no way defending security by obscurity (that's what `env` is for), just...

@Marak - thanks for clarifying. Yes, private gists work. On second thought, I also see that `/source` doesn't change anything about the "private" aspect, one just needs to keep both...

Oh, never mind, I misread that; The handler does fire after the "Pong". (Possibly along with the Completed Handler, when looping only once?). Still, an event after the "Ping" would...

Well, thanks for rubber ducking, GitHub. My current workaround is this: ```python def get_form_class(self): base_form_class = super().get_form_class() # uses report_form_factory class PatchedDates(base_form_class): def get_start_date(self): return self.cleaned_data.get("start_date") or self.initial.get("start_date") def get_end_date(self):...

Hi! Thank you for your reply, that does indeed help. In the meantime I opted to override `get_report_data` (and throw out crosstab functionality in the process), which looks to have...