Archive for category Uncategorized

One Full Year of Daily Meditation!

I’ve finally done it: a streak of 365 days of meditation!

Let me tell you why this is a big deal to me…

It’s NOT about the achievements!!

Over the last 4 years or so, I’ve blogged about (or mentioned) meditation. I’ve been consistently meditating daily for the last 365 days. However, it wasn’t always like this.

The app I use for guided meditation, Headspace, like many others, award you with badges based on your streak of days meditating: 1 day, 3 days, 10 days, 15 days, 30 days, etc. Getting up to 30 days was relatively easy for me: come on, 10 minutes a day shouldn’t be that hard! However, the next badge after that is for 90 days.

In order to hit that next mark, at some point I started cheating: there were days where I was too busy with everything else, so I’d start the guided meditation on the app, and proceed with doing whatever else I was doing. Yeah, just so I could earn my super badge. Really?!

Fortunately, my blog tagline’s got to me: “Why do we do this again…?”. Oh, the shame.

With that realization, I got back on track, now decided that I’d never cheat like that again; if I had to miss a day because I couldn’t honestly afford 10 minutes to meditate, I’d simply start over from day 1.

Guess what? I did find time to meditate!

I remember reading or hearing somewhere: “If you don’t have time to meditate 10 minutes, you should meditate 20 minutes”. There’s a lot of truth in that. Over time I started meditating 15 minutes, and then got to 20 minutes (I have pulled back to 15 minutes a few months ago after adding a couple minutes to the evening, too, but I’ll likely go up in my morning session again soon).

But the streak was broken again… and again…

I got my for the 90-day streak. And then for 180 days. But then, one weekend in mid 2017, I camped at a racing track and thought: “yikes, how am I going to meditate here?”. And I skipped two days of meditation. I then convinced myself there’s absolutely no reason to meditate wherever I am, and ever since, I have meditated inside of my camping tent, inside of my car, at hotels, at work… I don’t care.

After that, how would I get to the next (and last) badge, for 365 days? Well, that one couldn’t be easy.

At one moment, I passed 200+ days, but then I had one bad day when the sun didn’t want to smile at me and the streak was broken. I started over.

Then, I passed 300+ days. And then again, a mix of a bad day and a timezone change for a trip to Europe have caused that streak to be broken again. Man, so close…

…and finally, 365!!

I’ve really earned this badge:

If there’s a day that’s, let’s say, complicated, I will NOT skip meditation. I may have a short session (the minimum I did was 3 minutes), but I’ll still sit down, put myself together, meditate, and then carry on.

Now I just have to keep doing what I’m doing, collecting the benefits of living a mindful life, and eventually, I’ll get to 2 thousand meditation sessions completed. 🙂

2 Comments

Improving Houston is Hiring!

Improving Houston is hiring. We have a TON of positions available!

  • Senior and Principal level Java consultants
  • Consultant, Senior, and Principal .NET consultants
  • Senior and Principal UI/UX consultants
  • Agile Coaches and Scrum Masters

If you’re interested, or know somebody who’d be, contact me at claudio.lassala AT improving.com

Leave a comment

Got the Golden Owl for Italian in Duolingo!

As I’ve mentioned in my 2017 Annual Review, I was very close to finishing the Italian course on Duolingo. I finally did it last Sunday!

I got there after a 158-day streak. In the first month I was reviewing the Spanish lessons, while going back to the first lessons of Italian, which I had started on a few years ago, but had dropped in favor of finishing off Spanish (the two had too many similarities that were throwing me off). After that, I was solely dedicated to Italian, so it took me about 4 months go finish the lest lesson and earn the Golden Owl. 🙂

So, can I speak Italian now? Well, not really.

My initial focus has been learning words and building vocabulary. Now I can recognize way more words than I could five months ago. I can also understand some simple sentences, and write a couple of simple sentences. I also understand some basic grammar. I can listen to some spoken Italian and pick out words and context of the conversation. Not nearly enough to have a conversation on my own.

On one hand, Italian shares a lot of similarities with Portuguese and Spanish. On the other hand, it has some nuances that keep throwing me off. For example, there are words that sound and mean exactly the same things across the three languages. Then, there are words that sound and look the same in all three languages, yet, they mean things completely different.

The singular and plurals also throw me off. For example, in Portuguese, Spanish and English, we can easily recognize plural words when we see an “s” at the end (“boy, boys”, “menino, meninos”, “nino, ninos”). In Italian, that’s not the case (“ragazzo, ragazzi”, for “boy, boys”, and “ragazza, ragazze” for “girl, girs”, respectively). That, and verb tenses, are the main things I’m currently struggling with.

My plans moving forward:

  • Continue practicing it on Duolingo for a while (maybe a month or two);
  • Read articles and at least a book in Italian. Since I’m enjoying sportbike riding at the track, I’ll be reading about and following news on Valentino Rossi.
  • Watch videos in Italian. Again, I’ll probably watch videos related to sportbike riding (such as this one), as that’s a topic a really enjoy.
  • Watch an Italian movie I’ve seen before: Cinema Paradiso. I’ve watched this movie several years ago and enjoyed it, so now I’ll watch it again, with the original audio and subtitles in Italian.

Once I’m done with those things, I may venture into practicing some conversation, but we’ll see when I get there.

Leave a comment

Creating a TODO template in Resharper

It’s been a while since I created a template in Resharper. I wanted to create one yesterday, and it took me longer than I thought it would, so I figured I should write a post I can refer back to. I probably got spoiled by how awesome CodeRush is when it comes to creating templates and was expecting similar experience in R#. Anyway…

The template I want to create is one where I type todo to expand the template, and then I can type whatever comment I want to attach to my todo:

Here’s how we do that. Go to Resharper -> Tools -> Template Explorer…

Select C# and new on the New Template button:

Type in the template:

For shortcut, I typed todo.

Notice I’ve included $date$. Anything within $ indicates we want to create a parameter. On the righthand side we can select from a list of macros that get evaluated for the parameter:

I’ve picked “Current date…” and set the specific format I want (yyyy-MM-dd):

Now when I type todo in the code editor…

I get the result I want and can type in whatever else…

Leave a comment

Improving is Improving

The company I work with is doing what it does best: Improving is improving!

We have recently finalized a partnership with ProSource Solutions, a management and information technology consulting firm headquartered in Ohio. This merger will continue growing the value we can bring to our clients, our services, and adds great expert Improvers. Those new Improvers significantly strengthen the breadth and depth of our technical consulting services, and training offerings.
 
Furthermore, it will expedite efforts for Improving to pursue its strategy to grow vertical technology specializations, through the delivery of Microsoft and cloud computing based solutions. ProSource is a preferred Microsoft Partner and has been awarded 5 consecutive “Top U.S. Partner of the Year” awards from Microsoft.
 
With similar company values and a focus on culture, we see significant alignment in business strategy and overall approach. It remains our top priority to establish and maintain trust not only with each other but with our clients, partners, communities, and others.
 
We welcome ProSource Solutions to the Improving brand and look forward to our future collective growth together!
 
To read more about this acquisition, please visit http://improving.com/thoughts/improving-acquires-prosource-solutions

Leave a comment

What opinions are worth sharing?

In the last 40 days or so, I’ve published 20 posts (including this one). That’s my biggest number of posts ever! A personal goal I’ve had in the last two or three years has been to make this blog more active, and that’s what I’m doing.

The high number of posts has been motivated by my realization that I’m often asked about my opinion on a number of things, so I might as well share my opinions through this channel, as it may be of interest to a wider audience. Also, I can always point people to a blog post in case I ever get asked the same thing again.

Now, what opinions are worth sharing? I’m sure the answer to that question varies from person to person. In my case, I’ve been sharing both requested and unrequested opinions on things I care enough (at least at the time) about.

Of course, opinions can change. If I change my opinion on something, I’ll probably blog about it.

My bottom line is: since I started writing down my thoughts on a number of things people ask me, I haven’t run out of ideas on what to post about. People can always ignore/delete a post. I can always go back to my posts to think about my progress on certain aspects of things I do. Some of my posts may get my readers to think about things they weren’t thinking of before. If one post is ignored by 1000 people, but helpful to a single person (which could even be myself!), then post was already worthy.

And the next time I’m thinking whether something is worth a blog post or not, I’ll think of this piece of Internet Wisdom:

Leave a comment

My Morning Ritual

I’ve introduced morning rituals in my life a long time ago. These rituals change over time, based on whatever’s going on in my life, as well as what constraints I have, what resources, etc.

Currently, here’s what my morning ritual looks like (starting after hitting the snooze button a few times – a bad habbit I need to break! – and going to the bathroom):

  1. Stretch: I stretch my body, mostly using a foam roller like this one, to roll my legs and back and get things back into place;
  2. Water: After so many hours without drinking or eating anything, I like drinking about a glass of water so that my body can flush its system; 🙂
  3. Protein shake: I don’t feel like having a large breakfast in the morning, so I at least try to get some protein, which will help me not feel hungry way before lunch time;
  4. Meditate: I’ve blogged about how meditation is paying off. I’ve been meditating for 15 minutes for several months. I’m thinking about going up to 20 minutes soon. 
  5. Journaling: For many years I’ve been writing down things I’m grateful for. For the last several months I’ve been using the 5-Minute Journal, which just adds a little more structure to it;
  6. Watch to short inspirational video or listen to song that gets me going:  I may either watch a video off the QuickTalk YouTube playlist Short, or listen to a song off my Morning Songs playlist;
  7. Organize my day: I first review things that I know are going on that day and then set up my Daily Execution note, which drives my day;
    8. Quick email scan: this happens real quick! I barely skim over email subjects, specifically looking for anything that could somehow mess up with my plans for the day (set in #7). For instance, maybe a meeting got cancelled last minute, or something urgent has come up and I must include in my agenda for the day. 
  8. Go to work!

Seriously, I do NOT read emails in the morning. I ONLY go through subjects and see if there’s anything that could change my agenda for the day. I’ll only spend more time checking email once my main activies have been put in motion at work.

Also, I do NOT check any social network in the morning.

Important: I set my cellphone to “flight mode” when I go to bed, and I only set it back when doing step #8 above; that way, I don’t hear and dings for new messages in the middle of the night, and I don’t take the risk of seeing updates on my cell phone when I pick it up to run my meditation app, so I don’t get any interruption.

I’d like to add workout to my morning ritual, but I haven’t found a way to make that work with my current constraints. Anyway, as it is now, my morning ritual is helping me get ready for the day and get a sense of being productive since early in the morning.

Leave a comment

The “private” keyword in C#: I get rid of it!

I have a special dislike for walls of characters in code and I try to get rid of it whenever possible, as I mentioned in this other post. The keyword private in C# is another one that bugs me. Take the following code:

What do I see there?

I like this way better:

Every class member is private by default in C#, as it should be. We should always keep public members to a minimum, so I rather be explicit as to what’s NOT private in my classes. By removing the unnecessary private modifier keyword, I clean up my code. The less garbage there is around the code, the easiest it is for anybody to read and understand it.

For ReSharper users out there: you can set the tool so that it’ll remove “private” modifiers when you run Code Cleanup.

 

Leave a comment

Come checkout the new Improving Houston office

We are celebrating the opening of our newly designed office space. We would love for you to join us On Thursday, June 15th from 4pm to 7pm. We will have the Houston West Chamber of Commerce in attendance for the ribbon cutting. Come out and see what Improving is all about. Please register here

 https://improvinghoustonribboncutting.eventbrite.com

Leave a comment

Fun with C#: ForEach for everyone!

Whenever possible, I like using a ForEach method, instead of a for-each block. Take the code below for example:

The iteration part could be rewritten like so:

Or, even better, since the AddToPizza method takes in one parameter with the same type of the items we’re iterating over…

The iteration could simply look like this:

However, not every thing we iterate has the ForEach method. For example, regular arrays don’t. So, if our items source looked like the one below, we wouldn’t have a ForEach method:

So how do we get a ForEach method that works on Lists, Collections, Arrays, etc? Just create the extension method on IEnumerable<T>, like so:

Make sure to import the namespace for your extension methods (using statement) wherever you’re trying to use them!

Leave a comment