December 28, 2023

In Memoriam: Reflecting on the Gentle Spirit of Yadav Uncle


Earlier today, the security guard shared with me that he couldn't identify the person who had passed away, but he noticed a considerable gathering of people arriving to offer their last respects. Later, upon checking WhatsApp, I discovered the news of Yadav Uncle's demise. The revelation brought a sense of sorrow, as I recalled a couple of fond memories with him. 

#WebSockets: Part 3 Key components of the Java WebSocket API



In Part 1, we discussed some basic Socket programming interview questions. In Part 2 we discussed some basics of WebSockets. In Part 3 we will learn about the Java API for WebSocket (JSR 356), the key components of the Java WebSocket API, and how to handle WebSocket events in Java.
    
The Java API for WebSocket, specified by JSR 356, supports creating WebSocket applications in Java and is defined in the javax.websocket package. It provides a set of classes and interfaces that allow us to create WebSocket-based applications in Java. The WebSocket API was introduced in Java EE 7 and is designed to simplify the development of real-time, bidirectional communication between clients and servers.

December 27, 2023

#WebSockets: Part 2 WebSockets Interview Questions in Java

 

In Part 1, we discussed some basic Socket programming interview questions. In part 2 we will discuss WebSockets.

What is WebSocket?
  • WebSocket is a thin, lightweight layer above TCP, which is used to create a communication channel between a client and a server.
  • It provides efficient communication between the server and the web browser by providing bi-directional, full-duplex, real-time client and server communications. The server and client can send data to each other at any time.
  • Since the WebSocket runs over TCP, it also provides a low-latency, low-level communication, and reduces the overhead of each message.
  • WebSockets are typically designed to be implemented in web browsers and web servers, however, they can be used in any application where real-time communication is needed.

December 26, 2023

#WebSockets: Part 1 Socket Programming Interview Questions in Java




Recently in one of my freelance projects, I was asked to replace existing Java Sockets with the websockets. In this series of tutorials, I will explain some basic details of Java Sockets and Websockets. I will also provide a working code in which 2 servers communicate via WebSockets.

During the migration from Java Sockets to WebSockets I faced a couple of issues, I will also explain how I resolved those issues.

December 21, 2023

Believe In Magic

 


The little boy Nikolas, who used to believe in happiness, elves, trolls, pixies, and Santa was heartbroken. His eyes started welling with tears, and he murmured, "Everything seems so gloomy. This darkest night doesn't seem to be ending, either."

December 07, 2023

Abrar’s Entry Jamal Kudu Lyrics From Animal Movie



Sandeep Reddy Vanga's Ranbir Kapoor starrer 'Animal' is supported by a stellar cast including Anil Kapoor, Rashmika Mandanna and Tripti Dimri along with Bobby Deol and Saurabh Sachdeva. The film has become a rage ever since its release, minted more than Rs 700 crore at the global box office.

Bobby Deol played the character of Abrar Haque in the movie. He enters the screen with the song ‘Jamal Kudu’ playing in the background, and ever since the movie was released this song has become a rage.

Jamal Kudu was first sung by Shirazi Choir of the Kharazemi Girls High School in the 1950s and over the years it has become a popular wedding song. 

I am not sure about the exact translation of Jamal Kudu in English, but the song’s hook line, "Jamal Jamalek Jamaloo Jamal Kudu" means "Oh my love, my beloved, my sweet love".

In short in the song, the lover is saying, "Oh! The black-eyed beauty, don’t break my heart with your brutality. Oh, you are leaving me to embark on a new journey and I am going crazy like Majnu. Don’t mess with my heart darling. You’re leaving me to go on a voyage and I’m going crazy like Majnu."

Here are the lyrics of the song in English:

Aaye Siyah Ey Zangi Delamo Nakon Khun
Vaaye To Rafti Konja Manam Chhu Majnoon
Aaye Siyah Ey Zangi Delamo Nakon Khun
Vaaye To Rafti Konja Manam Chhu Majnoon

Jamal Jamala Jamaloo Jamal Kudu
Jamal Jamala Jamaloo Jamal Kudu
Jamal Jamala Jamaloo Jamal Kudu
Jamal Jamala Jamaloo Jamal Kudu

Del Tumakhteki Sineh
Oye Aarum Nami Shineh
Hel Yosa Halel Yosa
Aishraar Nimi Khosa

Ey Mar Mar Seeneh
Belajoon Belajoon Bela
Ey Kertoko Manaye
Bechatun Bechatun Becha

Ey Mar Mar Seeneh
Belajoon Belajoon Bela
Ey Kertoko Manaye
Bechatoon Bechatoon Becha

Jamal Jamala Jamaloo Jamal Kudu
Jamal Jamala Jamaloo Jamal Kudu

Aaye Siyah Ey Zangi Delamo Nakon Khun
Vaaye To Rafti Konja Manam Chhu Majnoon
Aaye Siyah Ey Zangi Delamo Nakon Khun
Vaaye To Rafti Konja Manam Chhu Majnoon

Jamal Jamala Jamaloo Jamal Kudu
Jamal Jamala Jamaloo Jamal Kudu
Jamal Jamala Jamaloo Jamal Kudu
Jamal Jamala Jamaloo Jamal Kudu.