Jun. 5th, 2024

dybr

Jun. 5th, 2024 06:48 pm
juan_gandhi: (Default)

In the morning I had fixed all those "style errors" in that big PR - turned out that it was no big deal.

And sent a PR for review: 57 files. Explained wtf, etc. But Bill suggested to split it into pieces.

Well, do I mind? First, I removed all those generated docs from the PR. Now I have 44 files. Then extracted two small PRs, five files each.

One is shell scripts, another one - build.sbt, plugins.sbt, and moving some files around, with no changes.

Now I'm waiting. And waiting.

Ok, actually, I opened one pending PR, where there was a long discussion with Brad and Devon, and decided, ok, let me do something about moving Kafka sinks from one module to another, a Devon insists on. (It will all go there, but in steps).

And I dove (dived) into the Server code. 

OMFG. It's one big "monadic for", where the monad is IO. One big main method, taking a bunch of pages, with dependencies inside dependencies, and all this is for what exactly? It's a sequential execution. Why the fuck do they use IO?

Anyway, I extracted a bunch of methods (thank you IntelliJ), and that included extracting Kafka sinks calls. The code became more readable.

It also became obvious that the sinks cannot be moved without moving the module's Backend class.

Good. Wrote to Devon. Let him suggest something.

Now I have just one more PR in Jira. Or... or maybe not. That's about strange logging. Will investigate tomorrow. No rush.

And maybe I should take a look at Jira? Well, whatever.

Oh, and we also had two meetings canceled silently (one I just joined, it was not canceled, but nobody came), and then there was a 4-hour big meeting, where I was present for about an hour. It was all about some abbreviations that we are successfully planning to accomplish.

Oh, and they also published a photo of 6 heroes who spent two years moving some user functionality from one back/front-end to another. Two years. Cool, right? Reminds me the story of Boeing's Starliner (or whatever pepelats they suddenly launched today).

For me, my job is like sudoku. But no competition.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 2345 6
78 9 10 111213
14 151617 181920
21222324252627
282930    

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 21st, 2025 04:23 am
Powered by Dreamwidth Studios