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

October 2025

S M T W T F S
    1 23 4
5 67891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 6th, 2025 10:52 pm
Powered by Dreamwidth Studios