Sep. 25th, 2024

dybr

Sep. 25th, 2024 08:26 pm
juan_gandhi: (Default)

Not much of a meeting, but I spent all day attaching the new error-handling library to the code. It's no big deal, but...

1. It's been a while (or forever) that I couldn't run tests in IntelliJ; why? Because there is this "tpolecat plugin". Tpolecat is Rob Norris, one of those assholes that signed a denouncing letter against Jon (and John too). This compiler plugin checks all cases when a non-unit method was called but results are ignored. Now, in tests lots of checks are done inside test cases - so if there's more than one, kaboom, a warning, and we don't compile the code with warnings. Now I was out of patience - I needed to check the new library's behavior, inside.

So I googled (nothing works), and eventually asked people on slack. Got about half a dozen of advices. Neither worked. But I eventually got an idea. You can give the compiler keys to ignore specific warning texts. So I ran the shit, recording warnings, and adding them to compiler flags.

Eventually it worked. And I documented it. Good!

Next, I run it, but there's no source code available for that library. WTF, right? Updated the build script, to add source-code dependency. It did not work from scratch, and I had to restart it several times.

And eventually made it work, by our 8PM. Not bad. 

 

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

November 2025

S M T W T F S
       1
2345678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 2nd, 2025 02:17 am
Powered by Dreamwidth Studios