Shirsh Zibbu

Results 6 comments of Shirsh Zibbu

> Probably the other way to parse Kotlin is to use IntelliJ's PSI / Kotlin compiler API like it is done in detekt (static Kotlin analyzer): https://github.com/arturbosch/detekt/blob/master/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtCompiler.kt new url: https://github.com/detekt/detekt/blob/main/detekt-parser/src/main/kotlin/io/github/detekt/parser/KtCompiler.kt

i figured another way out - cache busted URLs. :sweat_smile: i am using this caching logic in [my project](https://github.com/zhirzh/dood/blob/7ca7f74eff099f8dd403eef810e8e66b5d0fa9ce/src/sw.js#L118-L143) and it works just fine.

@pranjal-jain @radex I have merged these changes into latest master here pranjal-jain#4. With latest master merged, here's the updated [diff with nozbe/master][2] [1]: https://github.com/pranjal-jain/WatermelonDB/pull/4 [2]: https://github.com/Nozbe/WatermelonDB/compare/master...zhirzh:observable_columns#files_bucket

seems to work just fine [here](https://flow.org/try/#0C4TwDgpgBAFglgcxhATgfQPYoCarQMwFcA7AY2Dg2LVEigF4oAeAFQD4AKfYgLihYCUDNvwDcAKHG5SAGwCGKaADcFUGRgQAlCAGdCM4H3hI8WXOiJkKVGuAiioAekdRCO6AAMVKD1HxYoYGQ-EnJKYklLMKo1DW09Ay5QoQBvcSgnFxgMAHdAjCg5YmIMYDlgaCDoMAU5AFsICpRC4mwoRWBCFGJAux0-AIagjDb-FByFbDhiBHT2xq6eqOsejgA6DYUEHVS5jNIqHWB5hOPGKPXNlG2BCQz9w4wZCDX1BA4PeP1DKAASFMUpwAvh5bnt5p1uidvncoECJEDIqEVlAdJA5ABrS5rHJmHR8ACCKBQchATCOKGmCDYAj4FKpUDSGQ6iyguJwOjWACsMNMOAByKD8sGI8QHYhHVHojEAGQ0DFiWl03w4aIgmLB4jVmLl735AEZ+QAaIUAJmFEiAA) ``` type higher_order_function_type = (fn: T) => T; declare var logResult: higher_order_function_type; // use `var` for the function function logResult(func) { // how to...

i think `startOfYear` is not correct. if target date is "1st March 2020" and year start is set to "April" then target date's year should start on "1st April 2019"...

I was going through the code and I think it might possible. In https://github.com/modesty/pdf2json/blob/0433368198a2faa8600a854d96724719b4ba5ce0/lib/pdf.js#L334, a for loop traverses over range `[1, pagesCount]`. If instead some indexes are passed?