Cheers to a fresh new week, gang, may your plans work out, your sleep be enough, and your problems mind their business😁
@devwitheyob
#newWeek
@devwitheyob
#newWeek
Article of the day
Eager vs Lazy Initialization in singleton
When we create objects and want to make one a singleton, we have two options. one is eager initialization, which means we create an instance right away when the code starts to run, and then when we need that instance, we can return it from a static factory method.
The second option is lazy initialization. It creates and returns the object instance on demand. When we call the static factory method, it will create the instance if there isn’t one already, and return it if there is.
Here is the interesting thing, when we use lazy initialization in multi-threaded environments like the JVM, it might create multiple instances if two threads try to create and get the object from the static method at the same time.
So it is important to know which one to use in different situations. If we care about thread safety, have enough resources to create the object at startup, and know the object will definitely be used, then eager initialization is usually the better choice because it is simpler and safer. But if the object is expensive to create or might not be used at all, lazy initialization can be a better option, as long as it is implemented carefully in multithreaded environments.
@devwitheyob
#ArticleOfTheDay #SystemDesign
Eager vs Lazy Initialization in singleton
When we create objects and want to make one a singleton, we have two options. one is eager initialization, which means we create an instance right away when the code starts to run, and then when we need that instance, we can return it from a static factory method.
The second option is lazy initialization. It creates and returns the object instance on demand. When we call the static factory method, it will create the instance if there isn’t one already, and return it if there is.
Here is the interesting thing, when we use lazy initialization in multi-threaded environments like the JVM, it might create multiple instances if two threads try to create and get the object from the static method at the same time.
So it is important to know which one to use in different situations. If we care about thread safety, have enough resources to create the object at startup, and know the object will definitely be used, then eager initialization is usually the better choice because it is simpler and safer. But if the object is expensive to create or might not be used at all, lazy initialization can be a better option, as long as it is implemented carefully in multithreaded environments.
@devwitheyob
#ArticleOfTheDay #SystemDesign
Every day it gets easier, but you gotta do it every that's the hard part
night fam😊
@devwitheyob
#TechVibe #nights
night fam😊
@devwitheyob
#TechVibe #nights
❤5⚡4
Forwarded from Dagmawi Babi
Moltbook got acquired by Meta (along with the team - which aren't really engineers) It's good to start vibe-coding even if you're not in tech. You'd be surprised how many creative ideas you can come up with :)
❤1
Forwarded from Yohannes Haile (Yohannes Haile)
Forwarded from Eyu's Terminal
When I make ____ money per month , I will drop out ( the minimum )
Anonymous Poll
4%
10k/month
4%
30k/month
6%
50k/month
12%
100k/month
6%
130k/month
22%
150k/month +
37%
Not dropping out ever
10%
Already graduated
So fam, here’s the thing, I got a job on Upwork for OpenClaw/n8n automation to create, post, and manage ads automatically. Here is the job denoscription. Please, if you are interested, contact me. I’m so busy right now, so maybe we can work together.
“Hi Eyob,
Hello Eyob. Samuel Tadesse recommended you for an OpenClaw setup. I’ll paste below the message I sent him.
I’m looking to finish setting up OpenClaw on my PC and create workflows for running social media ads. This includes using videos and photos I provide, along with B-roll and perhaps AI-generated content. Since I’ve never used OpenClaw before, I’m not even sure what it is capable of doing. Is it smart enough to perform this task? Also, how much do you charge?”
please since my friend recommended me and this is one of the first few upwork job contact me only if you have experience on n8n and openClaw, he wants someone experienced
@devwitheyob
#TechVibe #ooportunities #n8nAutomation
“Hi Eyob,
Hello Eyob. Samuel Tadesse recommended you for an OpenClaw setup. I’ll paste below the message I sent him.
I’m looking to finish setting up OpenClaw on my PC and create workflows for running social media ads. This includes using videos and photos I provide, along with B-roll and perhaps AI-generated content. Since I’ve never used OpenClaw before, I’m not even sure what it is capable of doing. Is it smart enough to perform this task? Also, how much do you charge?”
please since my friend recommended me and this is one of the first few upwork job contact me only if you have experience on n8n and openClaw, he wants someone experienced
@devwitheyob
#TechVibe #ooportunities #n8nAutomation
❤3👍1
Forwarded from Information Systems Hub 💻🔁
🎉 Big Achievement for Our IS Community! 🎉
Hello everyone!
We’re excited to share that a project by our fellow 3rd year Information Systems student Mebrie Awoke has been featured on Zulu Tech and has won 🥇 1st Place in the Zulu Tech Challenge! 🚀🔥
This is a great achievement and a proud moment for our IS community.
🔗 Check out the project here:
https://news.1rj.ru/str/zulu_tech/5051
👤 Student: Mebrie Awoke
📢 Telegram Channel: @codewithmemo
Congratulations to Mebrie for this amazing accomplishment! 🎉👏
Hello everyone!
We’re excited to share that a project by our fellow 3rd year Information Systems student Mebrie Awoke has been featured on Zulu Tech and has won 🥇 1st Place in the Zulu Tech Challenge! 🚀🔥
This is a great achievement and a proud moment for our IS community.
🔗 Check out the project here:
https://news.1rj.ru/str/zulu_tech/5051
👤 Student: Mebrie Awoke
📢 Telegram Channel: @codewithmemo
Congratulations to Mebrie for this amazing accomplishment! 🎉👏
Telegram
Zulu Tech 👨💻💼
I have developed an integrated Smart Farm system for African agriculture to boost productivity and sustainability. It tackles inefficient practices by using data analytics to recommend suitable crops based on soil, climate, and environmental conditions. The…
Information Systems Hub 💻🔁
🎉 Big Achievement for Our IS Community! 🎉 Hello everyone! We’re excited to share that a project by our fellow 3rd year Information Systems student Mebrie Awoke has been featured on Zulu Tech and has won 🥇 1st Place in the Zulu Tech Challenge! 🚀🔥 This is…
I’m just seeing this now. sorry guys, I didn’t win the challenge 🙃 but this is my classmate. glad for you, buddy, you deserve it! 🔥
@devwitheyob
#TechVibe
@devwitheyob
#TechVibe
❤13
Forwarded from Tech World
#Lesson_of_the_day
You look at the world today and see how life evolved into constant consumption. From the moment we wake up until we sleep our brains are fed nonstop data. Information is good but too much overwhelms the mind scrolling through social media floods us with countless bits of information in minutes leaving us foggy, drained, and unable to focus on the next task. If something is hurting your health, you have to stop doing it. Mental health matters more than endless consumption.
Mute notifications, set specific times to check social media, and don’t open your phone the moment you wake up or right before sleep. Give yourself calm mornings and calm nights. Step outside...touch grass... enjoy the things you loved in childhood and dedicate screen free time. Instead of only watching others live go out and experience life yourself. Create more memories create more than you consume
@tech_world_o1
You look at the world today and see how life evolved into constant consumption. From the moment we wake up until we sleep our brains are fed nonstop data. Information is good but too much overwhelms the mind scrolling through social media floods us with countless bits of information in minutes leaving us foggy, drained, and unable to focus on the next task. If something is hurting your health, you have to stop doing it. Mental health matters more than endless consumption.
Mute notifications, set specific times to check social media, and don’t open your phone the moment you wake up or right before sleep. Give yourself calm mornings and calm nights. Step outside...touch grass... enjoy the things you loved in childhood and dedicate screen free time. Instead of only watching others live go out and experience life yourself. Create more memories create more than you consume
@tech_world_o1
💯2