We live in interesting times. With the advances in technology and the proliferation of the internet — software is eating the world. Coming out of the Great Recession — the world had seen massive economic growth in what was close to a 11 year bull run largely dominated by US tech equities.
Along with that, wealth inequality was increasing, central banks across the world had been expanding their balance sheets and global debt was not set to recover from its unhealthy levels — it was growing.
Then came the Coronavirus pandemic.
“There are decades where nothing happens; and there are weeks where decades happen.” …
Kotlin is an amazing new up-and-coming language. It’s very actively developed and has a ton of features that make it very appealing.
It’s been steadily gaining market share ever since Google added Android Development support for it (back in 2017) and made it the preferred language for such development exactly one year ago (May 2019)
For any Java developer coming into the language, spoiler alert, there is one big surprise that awaits you — the package-private
visibility modifier is missing. It doesn’t exist.
An access modifier is the way to set the accessibility of a class/method/variable in object-oriented languages. …
Having worked with Kafka for almost two years now, there are two configs whose interaction I’ve seen to be ubiquitously confused.
Those two configs are acks
and min.insync.replicas
— and how they interplay with each other.
This piece aims to be a handy reference which clears the confusion through the help of some illustrations.
To best understand these configs, it’s useful to remind ourselves of Kafka’s replication protocol.
I’m assuming you’re already familiar with Kafka — if you aren’t, feel free to check out my “Thorough Introduction to Apache Kafka” article.
For each partition, there exists one leader broker and n follower brokers.
The config which controls how many such brokers (1 + N) exist is replication.factor
. That’s the total amount of times the data inside a single partition is replicated across the cluster. …
Keto Bombs are a series of short, concise and informative pieces on various aspects of the Ketogenic diet.
For carbohydrate-restrictive protocols like the keto diet, it is no sercret that you need to diligently watch and control your carbohydrate intake.
Staying under 30 grams of carbohydrates may seem impossible at first glance, especially when you consider that 400 grams of broccoli contains 28 grams of carbohydrates!
Truth of the matter is, not all carbohydrates are created equal. While some are digestible, others can pass through the body without being absorbed at all! …
Keto Bombs are a series of short, concise and informative pieces on various aspects of the Ketogenic diet.
We all know that when in a ketogenic state, we utilize fats rather than carbohydrates for energy. But what kind of fats are we burning exactly?
In this episode of Keto Bombs, we dive into our main fuel source — ketones!
Ketones are the byproduct of the breakdown of fatty acids. In our body, fat gets mobilized and goes to the liver where it goes through ketogenesis.
ketogenesis — the process of creating ketone bodies from fatty acids.
Ketogenesis is not exclusively for the keto dieters. Our body always has a certain amount of ketones in the blood and does increase ketogenesis during periods of prolonged fasting or exercise. On the ketogenic diet, we also make it utilize ketogenesis under normal day-to-day conditions. …
Keto Bombs are a series of short, concise and informative pieces on various aspects of the Ketogenic diet.
A common misconception shared by many people nowadays is that you cannot lose weight fast without gaining it back. That is partly true.
On the ketogenic diet, though, that need not be the case. The latest research shows that you have some beneficial changes happen to your metabolism once you lose weight on the ketogenic diet and that you do not gain weight back quite as fast as if you were on a standard calorie-restricted diet.
The first few pounds you lose on keto will be water weight. As we’ve said before, you hold glycogen in your muscles.
glycogen — the stored form of carbohydrates
The moment you stop eating carbohydrates, your body starts burning through all the glycogen and does not replenish it. Said glycogen holds water, a lot of it! (1g glycogen contains ~3.7g water)
This is why when you first start a keto diet you very quickly lose 1–2kg of weight. …
Keto Bombs are a series of short, concise and informative pieces on various aspects of the Ketogenic diet.
Cholesterol is a complex topic. Throughout the last 70 or so years we thought that it was strictly related to bad, life-threatening conditions like heart disease and avoided it like the plague.
Saturated fat was deemed the most unhealthy macronutrient. People suddenly started preferring heavily-processed low-fat products with added sugar instead of their natural counterpart.
Back in the 1950, the heart lipid hypothesis speculated that there was a strong link in between cholesterol and heart disease. …
We live in an interesting time for knowledge work. We currently have the most knowledge, best tools and latest technological advancements at our disposal. As a result — productivity as a whole has increased in the past years and is continuing to increase.
Yet, do you truly feel productive? Do you always feel like you’ve accomplished something meaningful at the end of your workday?
It is likely that the answer to those questions is not a resounding “yes”, at least not consistently.
Why is it that we cannot consistently have productive sessions? With all that we have in our disposal, we should be able to achieve more, no? …
Keto Bombs are a series of short, concise and informative pieces on various aspects of the Ketogenic diet.
Many people report feeling very worn down once they initially embark on their ketogenic journey. Symptoms include feeling weak, becoming dizzy when standing up, experiencing muscle cramps and others.
There could be many causes to this but the most common one and what which we are going to focus on today will be electrolytes.
Electrolytes are minerals in your body that help it thrive. …
Keto Bombs are a series of short, concise and informative pieces on various aspects of the Ketogenic diet.
Word on the web is that the ketogenic diet improves your cognition. People report it feeling smarter on keto, having more lasting energy and enjoying increased focus.
Anecdotally, it makes a big difference for me and my friends. We both feel like we are riding a buzz all day long — like our brains in overdrive.
Undisturbed focus becomes way easier, our thinking becomes very clear and we do not get tired as easily.
Is there any truth to this? How could the lack of carbs and the presence of ketones in your body evoke such positive effects? …
About