PinnedOshan Nanayakkara·May 28Agentic Loop in Python: A Practical Guide to Multi-Turn AI AgentsFrom prompt-response chatbots to autonomous reasoning systems, here’s how the loop works under the hood.
Oshan Nanayakkara·Jan 16, 2023Guide to clear Oracle Certified Associate, Java SE 8 Programmer exam (1Z0–808)I’m writing this article to help anyone who is facing the OCA Java SE 8 Programmer exam. I followed the below mentioned steps to clear the…
Oshan Nanayakkara·Jul 19, 2022Design PatternsSingleton Design pattern is a creational Design pattern. In this design pattern it ensures that only one object of that kind is exist and…
Oshan Nanayakkara·Jul 15, 2022Microservice projectActuator- when put this actuator endpoint to the project it give you some predefine endpoints. from spring boot 2 onward we don’t expose…
Oshan Nanayakkara·Jul 5, 2022HTTPHTTP 1.0 is persistent HTTP which has 2 parts with tunneling and without tunneling. By default http 1.1 go with tunneling(send the messages…
Oshan Nanayakkara·Jul 5, 2022TCP 3 way HandshakeInitially client send a SYN flag and set SEQ 0 because it is the first message. Then server see this message and responds with ACK server…
Oshan Nanayakkara·Jul 4, 2022Manual message acknowledge on kafkaautoCommitThreashold — Once it reaches 10 messages it send the commit offset back to the server.
Oshan Nanayakkara·Jul 3, 2022Fundamentals of JavaScriptJavaScript engine is the one that compile your code and make use of it. It works in 2 phases such as creation phase and execution phase.