Jens Dahl Møllerhøj

Results 47 comments of Jens Dahl Møllerhøj

> Yep, where the file/class/directory lives. The thing I'm still working out, and trying to become comfortable with, is where the callback/success code lives. It has to be somewhere static/committed....

Turns out that PHPs laravel framework as a very well designed job queue built into the framework with a comprehensive set of features for batching. Worth checking out: https://laravel.com/docs/9.x/queues

You're welcome! Some thoughts: - Completely agree that serializing the callback is no good. Imagine you have a bug - now your bug is serialized to the database.. Or you...

``` Coverage report generated for RSpec to /Users/mollerhoj/work/dd/deepdivr/coverage. 897 / 14462 LOC (6.2%) covered. Traceback (most recent call last): 11: from /Users/mollerhoj/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/single_cov-1.6.0/lib/single_cov.rb:265:in `block in override_at_exit' 10: from /Users/mollerhoj/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/single_cov-1.6.0/lib/single_cov.rb:103:in `block in...

Disabling SimpleCov fixed the issue. The input to the function was: `{"[:unless, 0, 41, 4, 41, 41]"=>{"[:else, 1, 41, 4, 41, 41]"=>0, "[:then, 2, 41, 4, 41, 26]"=>0}}` after disabling,...

Autofixing the code is great, but even better if it don't require me to rebuild the project? if 'zig fmt' is only for style correction, would a new command 'zig...

Same goes for .erb templates (ruby)

Thanks for all your help guys. I implemented autocorrection, but I feel like I have to try it on our codebase before I feel I can trust it. Also, I...

> The only way I can think of that would be unsafe is if someone had accidentally defined the same method twice in a controller, so that only the later...