NeXeNstupid and as silly as it sounds, it actually works. a very complex thing i've been building from a vision for months (man maybe year and a half now) and it can make a boolean value upper or lower case, as designed!
NeXeNman that's why i love coding, fsck them llms they make you lazy
NeXeNsmall accomplishments give me energy
jreicherUmm, huh?
NeXeNworking on a gui app and just testing. doing simple stuff
NeXeNbut you know, it's nice after putting a lot of effort into a thing, even a simple accomplishment makes things fun
jreicherOh I absolutely know the feeling. It's one of the reasons I like using Emacs. Tiny tweaks have a big impact, and always feel simple in a way. But I'm curious what the thing is you're working on.
* hugdru joined #java
NeXeNoh, it's a library
NeXeNlets you provision a pipeline. has a schema code generator (not an llm, think boilerplate reduction) and a gui that lets you essentially do some of the design work visually instead of with json or xml, though you could i guess
NeXeNthe code schema is used to enforce type safety across the pipeline no matter the language. there will be a TS library so can pass via protobuf or classic serialization
NeXeNbut to get to the point where i can simply drag and drop a thing and see that it's type safe and doing it's thing is kinda cool. i had doubts if i had the stamina to stay with a personal project
deeboisn't protobuf typed already?
NeXeNyeah that's why i wanna use it
NeXeNi have become a fan, but it's not always straightforward you know....most people just serialize
deeboprotobuf could be interesting to use instead of json over rest for internal data
deebothink netflix does it like that
NeXeNit's definitely more efficient. but i'm supporting jackson and gson as well just because
deeboapis would have to be more explicit about errors etc as well which would be beneficial
NeXeNyeah
NeXeNi mean you know, i can build tools to inspect protobuf as easy as json. but i'm hoping to keep it at a lower layer where i don't ever have to think about it
deeboour end user apps log all http traffic currently (even most bodies) for debugging etc, would be easier to filter protobuf too, http json has too many gotchas and "non-trivial" parsing to do that
NeXeNoh yeah no joke!
NeXeNhrmm you gave me an idea
deebomaybe time to let claude prototype something :)
NeXeNi have built a filter to filter out pii in logs, i bet it could be adapted to do a similar thing
deebowe use zalandos logbook, it can easily do header and property filtering, like "password": "hunter2" -> "password": "xxx"
NeXeNyeah. i dunno why you gotta log everything, but it sure is handy in a pinch
deebobut what it couldn't do (well), was when given a massive blob of data, like {"id": 5, ... hundreds of nested props ... }, we couldn't just log: {"id":5}, since that's the only important bit
deebowe use MDC with user session ids etc, so it's really easy to see what an user did that lead to an error, or check their claims of some problem that supposedly happened to them
deeboRUM could achieve the same, IF everyone agreed to third party scripts etc, but they don't :)
* five618480339176 joined #java
NeXeNcouldn't you change from a full dump of the req/resp body just filter with something simple to parse the stream and just extract top level keys and full parse just for things i dunno diagnostic, like /id or /status and such and drop the rest, just keep what you need?
NeXeNmaybe you could even populate the mdc at the gateway/filter layer with userId, sessionId, etc and the extracted entity's id?
NeXeNthen you don't really need the raw request, i mean ...you know to figure out what they did
NeXeNmaybe you got plenty of space. you know that's always a thing
deebothat would mean reading the streams going in and out into a buffer, trying (and sometimes failing) to parse into json, filter via code and then output to logs
NeXeNyeah, probably better to just rely on the route bindings instead
deebowe tried it but it didn't really work, would probably be easier with protobuf
NeXeNselective field extraction is cheap
NeXeNi like protobuf. i'm trying to push it into my personal projects. you know it sucks doing that at work....using a new shiny toy just because
* hwpplayer1 joined #java
* pebble joined #java
* Etoxiuq joined #java
* nimaje joined #java
* hwpplayer1 joined #java
* Cae2 joined #java
* marcel joined #java
* Afroboy joined #java
* mixfix41 joined #java
* MikeBux joined #java
* evilscreww joined #java
* hugdru joined #java
* acidjnk joined #java
* fgarcia_ joined #java
* fgarcia joined #java
* Afroboy joined #java
* Adrian35 joined #java
* yeahitsme joined #java
* GreenResponse joined #java
* Munnu joined #java
* Hobbyboy joined #java
hassoon'morning
* metalmaniac joined #java
* ne555 joined #java
* onu joined #java
* mrcrabs827769651 joined #java
* jreicher joined #java
jreicherjavabot is napping on the job again.
* tkjay joined #java
* Artea joined #java
* ChaiTRex joined #java
dreamrealI dunno why it's so inconsistent lately, I don't think anything's changed in the code
jreicherI thought it was "consistent" in its behaviour of not reconnecting? Maybe the change is in external factors causing more frequent disconnections?
dreamrealNo clue, not watching the logs
dreamrealnot my server, not my bot :/
* iusr joined #java
* hiredman joined #java
Paralibera servers don't allow immediate authentication either, so if the bot's too quick to authenticate, it can fail
* iusr joined #java
* iusr joined #java
* iusr joined #java
* jamezp joined #java
* iusr joined #java
* hugdru joined #java
* Adrian35 joined #java
* iusr joined #java
* acidsys joined #java
* B_fd joined #java
* sa02irc joined #java
* hugdru joined #java
hassoon'afternoon
sbalmoswhat isn't "immediate authentication" about authenticating on connect with SASL?
* hwpplayer1 joined #java
* Nav94 joined #java
* m joined #java
* dgregory joined #java
* dostoyevsky2 joined #java
* lockdown joined #java
* fstd joined #java
* zimal joined #java
* genpaku joined #java
* zimal joined #java
* benjwadams joined #java
* handicraftsman joined #java
* benjwadams left #java
* hwpplayer1 joined #java
* CodeGeek joined #java
* lockdown joined #java
* LtHummus_ joined #java
* hwpplayer1 joined #java
* Adrian35 joined #java
* dostoyevsky2 joined #java
* dostoyevsky2 joined #java
* dostoyevsky2 joined #java
* dostoyevsky2 joined #java
* mindCrime joined #java
* deavmi joined #java
NeXeN* NeXeN shrugs
jreicherPara: what do you mean? I'm still learning about how IRC works but I thought only nickserv auth mattered, and if the nick is still in use you can use REGAIN. (That's how I have my IRC client setup for when I have a network glitch; it reconnects ASAP)
nimajeyou should use SASL auth with a client certificat if the irc network supports it, like libera does https://libera.chat/guides/certfp
nevetLogin With a Certificate (CertFP)
* fwumo joined #java
* metalmaniac joined #java
NeXeNsome people don't use sasl, and you auth a moment later. i dunno i think the bot might have other troubles
NeXeNbut also the network kicked my znc off, which hasn't happened before. like two days ago