Sergey Prokhorov

Results 208 comments of Sergey Prokhorov

I use following piece of code https://gist.github.com/seriyps/671bba33eb45915ede47, but it partially extracted from project https://github.com/etnt/gettext

Yeah, I'll merge this, while still think it's not very good idea, since it requires some ".po" file writer as well. But, at the same time, I have no better...

It will be a nice option of course. Let's keep this ticket open. Hopefully I will find some time to add this.

Also, raw sample data and analysis output in a different machine-readable formats would be really nice to have (JSON / XML /YAML etc)

On OTP22 seems changing the order of arguments doesn't reduce amount of opcodes in the function, but changes opcodes itself and amount of arguments to those opcodes: ``` do_run_n(_, _,...

It might be problematic that less possible clause `N == 0 -> ok` is executed first. Would be nice to make main body execute first and jump to `-> ok`...

Last option to consider is to run `F` multiple times on each iteration loop (N should be `div 5` from original N): ``` do_run_n(St, F, N) when N =/= 0...

Hi, are you talking about this code? May you try to find out since what epgsql version your tests started to fail? https://github.com/bryanhughes/proto-crudl/blob/e0bbb2643f4edfc1581ef7d869ee51e9285af421/src/proto_crudl_psql.erl#L335-L355

epgsql uses `infinite` timeouts for gen_server calls. I don'treally understand how you can get timeout from it

Hi, sorry for the late response. Is it still actual? I don't understand the problem you are trying to solve. Can it be solved by the code that calls `epgsql:connect`...