Hubesco's Blog

Inside a software engineer mind

Keto Diet, 30 days later

Rédigé par Pao Aucun commentaire

October 1st, I decided to start a keto diet. 30 days later, I want to write a post where I capture what I felt during the month and the results I got. It changed a lot of things in my life.

 

What is ketogenic diet ?

The ketogenic diet is a high-fat, adequate-protein, low-carbohydrate diet that in medicine is used primarily to treat difficult-to-control (refractory) epilepsy in children. The diet forces the body to burn fats rather than carbohydrates. Normally, the carbohydrates contained in food are converted into glucose, which is then transported around the body and is particularly important in fueling brain-function. However, if there is very little carbohydrate in the diet, the liver converts fat into fatty acids and ketone bodies. The ketone bodies pass into the brain and replace glucose as an energy source. An elevated level of ketone bodies in the blood, a state known as ketosis, leads to a reduction in the frequency of epileptic seizures.

Wikipedia

Disclaimer : my post is not a descriptive guide to keto or give specific details on how-to (like how many carbs I had. By the way it was less than 20 grams a day) . There are plenty of links and posts everywhere explaining what it is, and how to be in ketosis. Here I will discuss about how I experienced the keto diet, my thoughts and my feelings.

 

How I ended up there ?

I always have been engaged in sports activities in some way but from 2012 to 2014 I didn't do so much I decided to reengage with sports and thus I started the gym. During two years, it was a way to move and spend some energy, but I didn't want to push myself. But one day I wanted to give a boost to my strength so last year in October 2016, I started with a personal trainer. She is a fantastic personal trainer. We had conversations about various topics, openly and friendly. She advised me first to eat less sugar and replace with more protein for my muscles to grow. Not a big deal, just removing the morning bread/honey and replace by egg/bacon instead.

Slowly during the year, I took less and less carbs but I was not strict. I always said that if gym (diet + workout) took too much space in my life, I would stop. Therefore, if I was offered cake, I would eat it with no hesitation. 
I don't remember the exact moment but one day I heard about the ketogenic diet. I was quite surprised to hear that "if you eat a lot of fat, you lose fat". Weird equation, but it also includes the fact that you do have to remove carbs from your meals. It tempted me a lot because I was already at the strength I wanted to be and I lost some fat too but I wanted to go deeper. Lose more fat. I didn't have to lose fat at all, I was already in a good shape but you know, I wanted to have the nice flat shape.

So I decided to give it a go.

 

The Experiment

When I started the diet, I was in the "let's do it!" and "let's see what happens!" mood to give me motivation and boost. But I think what really helped me was to see it as an experiment. I had an hypothesis and a goal, I set up boundaries and I selected tools.

My goal was to lose fat and my hypothesis would be that keto diet would help me burn fat. When I started, it was my only thought : "lose fat". But after three days, my focus shifted towards another goal : be in ketosis tomorrow. And tomorrow. And tomorrow... "Lose fat" was too vague (how much?), not easily measurable and as it is a long term goal. I felt impatient and it seemed non reachable. Instead, "be in daily ketosis" is specific, measurable and concrete. I used ketogenic stripes that told me in 15 seconds if my body was in ketosis state. The first morning I had been in ketosis, I saw it as a success and I was so happy. I could remove enough carbs from my meals. And when the next day I was again in ketosis, I felt I had another success. By the end of the experiment, I had not one but 30 successes to have been every single day in ketosis. One thing I will remember from this experiment is daily successes are far more achievable and rewardings than long term goals. Long term goals create the vision but I should always find daily successes that will motivate me to continue.

My experiment had a specific duration. One month, no less, no more. When I started, I thought I would sacrify one month of food that I really enjoy (steak & potatoes, yum!). I had to prepare myself mentally to change my diet and convince myself hard to not cheat at all. To make it easier, I was comparing one month with the duration of a lifetime. I came to think that one month was nothing and a lot at the same time. Nothing compared to the rest of my life so I could sacrify things to be better after, and a lot because all the experiences and feelings lived during that month could be powerful and change my life. I also wanted to give a chance to my body and my mind to adapt but it was also short enough to stop if it does not suit me. It felt good to know when it would stop.

To help me during the journey, I used tools to measure my diet but also add a bit of fun. 
First tool was ketogenic stripes. It showed me everyday if I was in ketosis. It is cheap and easy to buy. I would say it was a must have to be sure that I respected the diet. 
Second tool was My Fitness Pal. It is a fantastic mobile application. The main feature is select an objective of calories per day, then you insert what you eat (or scan your food!) and it tracks how many calories you eat, showing the breakdown per nutriment (fat/protein/carbs). Almost perfect but I used it during 2 days only. Although it is indeed very precise and useful, I couldn't resolve myself to use the app everyday for every meal. It was too much for me and I didn't even enjoy my meals because I knew I had to enter everything in the app. Instead of using the app, I made a list of high carbs / medium carbs / low carbs food and trusted myself to buy and eat only medium/low carbs food to avoid being over 20 grams per day of carbs. Keto specifies also that I had to eat more fat but that was the easy part. I added more olive oil, more cream, more cheese, more bacon in my meals.
Lastly, I wanted to keep a record of my journey. Something I could go back and remember. There is this blog post but I wanted to show progress. I like pictures so I installed Instagram. I felt it could be a great channel to share my workouts and my meals and everytime I cooked something new, I would post it and added some keto hashtags. It was motivating to see people like my pictures. In the end, I didn't use as much Instagram as I had thought (my first idea was to post everyday) but at least I now have something and I like it. Also I remember I wanted to post a picture before/after like, and see how transformed I was. But I didn't do it because I didn't want to measure the progress in terms of aesthetics or look but in terms of how much weight I lifted at the beginning and at the end.

 

The Results

Did I lose fat? With a diet that burns fat and 4 workouts per week, yes of course I did! Did I reach the flat shape? No I didn't. But it didn't matter because I experienced new things that I didn't expect when I started and these things motivate me to continue.

I didn't notice anything during the first 2 weeks of the experiment, and then it occured to me : my level of energy was high, very high and everyday. Like I could wake up in the morning without moaning, I could workout 4 to 5 times a week, I could recover quickly, I was light, I was calm, I was patient, I was listening, my mind was sharp, I had clear thoughts, I had lot of ideas, I was always ready to get things done, I was proactive, I was motivated and motivating, I was confident, I was happy and smiling, I was enjoying a lot more things around me. As far as I can remember, I never experienced that before. It felt so good. It became a drug, a state where I wanted to stay forever. Today I can't pinpoint exactly what drove me to that state, if it was because I was in ketosis, if had no alchohol during keto or if it was because I created a routine. I am guessing it was surely a combination of differents things. What I am sure of is if I wish to return to this high energy state, I could start another keto diet.

During the month, my body and my mind were adapting to this new lifestyle. I had to give time to process the changes. Little by little, I was creating a routine. I built my life around specific tasks at specific times (breakfast, workout, go to bed earlier) and I had to eat specific food to stay in ketosis. I gave a structure to my days and except unexpected events, I was always doing the same thing. By the end of the experiment, I tackled these recurrent tasks in a robot state. It released my mind of thoughts like "When should I do this ?", "Where should I do it ?", "Will I have the time to do it ?", "Should I finish what I am doing before lunch ?". My mind was ready for everything else instead of thinking about the daily needs and tasks.

Another benefit I found was the discipline I imposed myself to stay in ketosis during the whole month. It was a quiet month regarding going out with friends so I was lucky to not have too many external sollicitations that could made things harder. I still had to dine out four times but I always managed to find a keto meal in the menu. It was hard sometimes and people didn't always understand why I was doing that. I had to be patient and explain a lot. My big problem was I didn't really know why I was doing the diet except "losing fat" but people used to tell me "You don't have to lose fat". So I questionned a lot myself if finally it was worth it. As said previously in my post, daily success of being in ketosis state helped me a lot as my main reason of doing this became to be in ketosis.
Discipline didn't stop at the diet. It expanded to a lot more things than I expected. Keto diet was all about taking care of my body, and I could see the benefits of saying no to things than could harm it or harm the diet. As I gained this new power of saying "no", it occured that I used also to take care of my mind. I said no at work if I had no time to handle some tasks, I said no to hanging out if I was tired, I said no to watch-another-episode-before-going-to-bed, I said no to more food if I was not hungry anymore and I said no to probably more things. It just amazed me of how quiet and strong my mind was. It was resting and it saved me a lot of energy I could then use to tackle complex tasks.

Lastly, I would add that keto diet itself seemed to be suitable for my body. Before the diet, I experienced sometimes the "I ate too much", "I feel heavy", "I didn't manage to digest the previous meal". I don't really know of often but I had these thoughts but during keto, I never felt that. I was always hungry for meals and I was always light. My digestive system seemed to appreciate eating more fat and less carbs.

 

What's next ?

October 31st, I am not in ketosis anymore (it was so sad to not see the keto stripe turning keto coloured) although I wanted to continue after experienced such benefits I am very happy to have managed to complete the 30 days keto. I stopped because it was so difficult for me to cook things for lunch. Around where I work, it is practically impossible to find keto lunch, except two salads at a takeaway. Cooking the evening for the next day took time and energy that I would rather spend with my wife. It also required increased creativity and time to find new recipes. During the first 15 days, I had the motivation to cook but I lost it because it didn't suit me and at the end I was eating only these two salads for lunch.

My only rule post keto diet is I allow myself to eat only one meal with carbs per day. For instance if I eat rice during lunch, I can't eat carbs for breakfast or dinner. With this new rule, I am in a wait-and-see mode. I have no idea how I will change or which impact will occur. I still continue the workout 4 times a week. I see it is a new experiment. Let's see during 30 days if I can accomodate without keto diet.

 

Acknowledgements

I would like to thank you people who helped me to do this :
- my colleagues, who were comprehensive and keen to see the results
- my personal trainer, who motivated me and pushed me beyond my limits
- my wife, who supported me and cooked me delicious meals 

 

Classé dans : Non classé Mots clés : aucun

Facebook, or where your data live forever

Rédigé par Pao 38 commentaires

Facebook, or where your data live forever. Because it's not yours anymore.

OMG Facebook -_-

Back in 2015, after two years not using my Facebook account, I decided to delete it. I was using it only to keep in touch with people but in reality I used it only for birthday reminder. Not very useful.

I was looking for a way to not simply "deactivate" my account but also completely wipe all data. I did find some blog post back then saying that the only way to do so is to contact Facebook, sending them an email asking them to destroy your account.

So I did.

Present times, July 2017, I was involved in a project where we created a Facebook Messenger chatbot and in order to test it, I wanted to create a new Facebook account, using the same email address as previously.

So I did.

Everything was there. Photos, Videos, Likes, Friends, Personal Info, ... As I left them more than two years ago. No changes. No wipe. It's like leaving your home during holidays and you come back and everything is still there at the same place.

After the surprise, comes the anger. Seriously ? It's scarying. Your data don't belong to you anymore.
That's why I created my own server and domain to host my emails and other data.

Hubesco <3

Classé dans : Non classé Mots clés : aucun

Final Fantasy XV revisited

Rédigé par Pao Aucun commentaire

I finished Final Fantasy XV yesterday and I was thinking that it was a great game but not as good as I hoped. I've seen all the efforts they've put in this game, and yet it's not perfect.

I spent nearly 50 hours on it so I clearly enjoyed it. I wanted to share what I feel about this game.
This feedback covers  all the quests that can be done before Chapter 15 only. I am not sure if I will explore the rest of the content now that I finished the main story.

What I liked

  • Combat system, Action-RPG like. Very dynamic
  • Noctis warp ability !
  • Ability point and competence tree
  • Explorations. Although they are too dark (almost all of them are in shade or underground) they are still good to explore
  • Epicness of fights (giant monsters !)
  • Beautiful cutscenes
  • Chapter 14 ambience, style and design
  • Gladio and Ignis !

What I didn't like

  • Magic is nearly useless
  • Story is ok but it's not well told
  • Prompto is irritating
  • Put more efforts on main scenario rather than hard and long post game event. I am not sure to continue to play with a finished scenario, just for the sake of the difficulty
  • Primals (Shiva, Titan, Ifrit, Ramuh, Leviathan) are nearly inexistant (random apparition during fight)
  • Cindy clothes
  • Not required to have all royal arms although the story tells you that it is the source of Noctis power
  • Open world at the beginning and constrained storyline at the end
  • Camping is useless. You have enough gils to afford hotels and restaurants
  • Forced rests
  • Playing a king and doing crap side quests (hello frogs !). One can argue that it's helping one's people but come on we are not a random adventurer but a king !
  • Inaccessible platform even if Noctis have his warp ability (available during fights only...). He can teleport himself but is not able to reach a 2 meter high platform

Although "Didn't like" list is longer, it is less significant and bullet points are more kind of details compared to the "Liked" list.

It's still a Final Fantasy, it's still epic, it's still good !

Classé dans : Non classé Mots clés : aucun

New in Dungeons and Dragons

Rédigé par Pao Aucun commentaire

Finally !

I enjoy a lot RPG games. Playing a character, evolving, unraveling mysteries of new worlds. After discovering Dungeons and Dragons universe thanks to video games like Baldur’s Gate, Neverwinter Nights, Eye of the Beholder (ouh very old video game!), I always wanted to try tabletop games.

I tried a few attempts, never been successful. The main reason was because no one could play the dungeon master (DM) and so we spent hours trying first to read the rules and then understand them. And as I was completely new to this sort of game, I had a lot of difficulties to understand that improvisation is the key. Story telling. Imagination.

A friend of mine asked me if I wanted to play a tabletop D&D. Just after I found out that there was already a dungeon master knowing how to run the game, I immediately jumped on the occasion.

One fear I had is to set up the characters. You can spend an enormous amount of time creating your character, throwing dice, creating a background, find starter equipment, ... but this experienced DM created some pre generated character. So you just have to pick one of them. It was so smooth and easy. It lacks of customisation of course but for beginners that have to learn everything, deep character customisation in my opinion should be dismissed (I'm saying deep because name at least should be chosen by the player). First try to play the character you are given and then for futures games, create your own character.

I took the monk of course because monks are great !

One another thing I learned too during our sessions is that even there are rules, everything is about improvisation and fun. You forgot something about this particular rule ? Make something ! A player is "cheating" because he was too enthusiast and broke a rule ? That's fine ! Players spend 2 hours discussing of weapons in an armory ? Let them ! Remember only one thing, as a player or as a dungeon master : fun. As long as everyone is having fun and enjoy this fairy moment, just play and don't bother.

I started a new blog that relates the stories of Rin, my current character : https://memoriesofrin.wordpress.com/
I did this because when we played the second time, we couldn't remember what happened the first time, especially names of NPC, places, what we did, what we decided and why we are here (but it could be because we did the second session 2 months later or because I am a beginner). Having the stories written in a book is valuable for us to remember. And it's fun too to go back in time.

Some people ask me to be a dungeon master because they want to try at least once a tabletop game. I am preparing myself and I will write another blog post about my experience of dungeon master.

Classé dans : Non classé Mots clés : aucun

Firefox, I'll never let you down

Rédigé par Pao 1 commentaire

Sad day today.

Recently in my project I worked on a feature that was about adding different colour on the application. After releasing it and moved it to test, it came back because the hexadecimal codes were wrong. I used DigitalColor Meter (OSX software) but the tester used Eye Dropper, a Chrome extension.

Another feature another failed test. This time it was because the scroll bar was overlapping a video. But it did not on Safari, neither on Firefox. Again the tester was using Chrome.

Today in the office I am looking at the screen of my colleagues all working with Chrome. For the first day of many years, I suddenly realize how sad I am.

According to Wikipedia browser market share page, in 2016 Chrome is always more than 46,42% and Firefox is always less than 15,43%. It's not new that Chrome is number one. It's just that today I took 10 seconds to think about it. And it made me sad.

There was a time when Firefox was popular around developers back in 2007 (when I started to code for the web). It was a time when Internet Explorer was the leading browser because it was installed by default in Windows. According to the frictionless law (completely invented law which states that people will do the least effort), people used it instead of installing a new one. But developers adopted Firefox because :

  • We were writing more and more web applications
  • We started to think that a web browser should be more respectful of the W3C standards, which IE didn't do very well (remember differences between IE6, IE7, IE8 ?)
  • Firebug started in 2006 and was an incredible tool to develop web applications
  • It was highly customizable and extensible thanks to plugins
  • Rendering was faster than IE

But Firefox didn't manage to get rid of IE because IE was pre installed in every Windows version. Enterprises wanted IE support.

We had to wait until end of 2009 to have the ballot screen which let users choose their web browser when they open their Windows session the first time. But Chrome was already here. The ballot screen didn't really profit to Firefox but to Chrome. All the features that were the strengths of Firefox Chrome took them and made them its own strength in a context where people were now ready to change. Firefox opened the door, Google went through it with maestria.

Chrome had three killer features :

  • Rendering was faster than any other mainstream web browser
  • UI was minimalist (e.g. merge of address bar and search bar)
  • Short cycle updates

To achieve the supremacy, Google pre installed the browser in Android and they were good to go.

Apart from  short cycle updates (that Firefox does now), Firefox always rendered web pages fast enough for me (even today) and interface is minimalist (compare two fresh installations of Firefox and Chrome and see. Ok one search bar and 3 buttons more for Firefox but come on, this is minimalist too).

BUT...

Chrome is not open source. And don't say a word about Chromium, please. Firefox is not totally 100% open source but it tries to be as open source as possible. Open source should be the default. Open source is collaboration. Open source is transparency. Open source is interoperability. Open source is learning. And it is much more than that.

Firefox, I love you, and I'll never let you down.

Classé dans : general Mots clés : aucun
Fil RSS des articles