Archive for category Uncategorized
The “private” keyword in C#: I get rid of it!
Posted by claudiolassala in Uncategorized on July 13, 2017
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.
Come checkout the new Improving Houston office
Posted by claudiolassala in Uncategorized on June 8, 2017
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
Fun with C#: ForEach for everyone!
Posted by claudiolassala in Uncategorized on March 6, 2017
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!
Time for me to improve
Posted by claudiolassala in Uncategorized on September 6, 2016
From time to time I like to embrace new challenges in my professional life and it’s happening again now, as I start a new full-time job at Improving!
I’ve known several folks at the company for many years now from speaking at conferences and user groups. In the last two years I’ve done some gigs with them as a contractor at clients in Brazil and Argentina. I’ve had a lot of fun and was very fortunate as they offered me a full-time job as I move back to the US.
I’m looking forward to working with several like-minded guys I’ve known for years, taking on new challenges, and as it is bound to happen, Improving myself as a professional and a person (yes, pun intended!).
Full-time <-> Independent cycles
I started my first full-time job 26 years ago. Since then, I’ve alternated between full-time and independent jobs, but always staying at least a couple of years on each. Doing so has helped me both working on my own as well as working with others. As a hobbyist musician, I can relate this with making music in a band or as a solo artist (but I’ll save this to another post…).
Five years ago I’ve blogged about the fact I was going to work on my own, after solid 9 years on a full-time job. At the time I really needed that change both from professional and personal points-of-view. Now, five years later, I feel I’ve succeeded on that change and am ready to do it again. Working on my own during this time was great as I managed to be involved in some great projects, and it has also allowed me to go on with some big changes in my personal life.
Back to speaking…
I’m also going back to doing presentations at user groups and conferences. I’ve been missing those things, so I did a presentation last month in Buenos Aires, Argentina, and will be doing two presentation at the Houston Tech Fest 2016. I’m looking forward to hanging out with a bunch of my old buddies out there.
2015: Annual Review
Posted by claudiolassala in annual review, lifestyle, Uncategorized on January 7, 2016
Inspired by James Clear’s “Annual Review”, I decided I should to mine, too. Heck, I do that on the projects I work on, I might as well do it to my own life as well.
So, the famous 3 questions that get the ball rolling:
- What went well in 2015?
- What didn’t go so well?
- What am I working toward?
I will be brief on this post, and later write up posts to detail more of each item. There are things that worked well in 2015 that I won’t list here, but will write up dedicate posts later this year.
1. What went well in 2015?
Defining goals, writing them down, and tracking them: at the beginning of the year I had defined goals, outlined them with key motivations, and kept reviewing them (at least once a week) in order to make sure I was tackling them as time went by. This has not prevented me from NOT accomplishing some of the goals, but it DID help me accomplish most of them, as well as it helped me reflecting on my failures.
Workout habit, results, and side-effects: I wanted to get in better shape. I don’t want to run a marathon or look like a bodybuilder. I just want to feel better about myself. Working out is boring for me. Tracking workouts and building the habit has made me find out how I can make this fun and harvest some benefits as side-effects.
Filing my taxes on time: Over the last several years I was always filing for an extension because I just couldn’t file my taxes by Apr 15. Well, in 2015 I’ve filed exactly on Apr 15. Huge improvement from previous years!
2. What didn’t go so well?
Make my professional blog more active: this post you’re reading is published to what I consider my professional blog. This is where I post things related to how I make a living (mainly, software development). I ended up only writing two posts last year, despite the fact there are many things I’d like to write about.
Personal project related to my experiences living in the US: this is something I want to do because I always have people asking me about this, so I figure I should share this with a wider audience somehow. I have some very specific ideas on what I want to do, I’ve picked a name for it, created the channels, the logo, but just didn’t start delivering the content.
Personal/Professional secret project: this is a somewhat secret project just because I want to keep it low before it is all confirmed. What bums me on this one is because I did everything I could do on my end, but there are things that are just outside of my control. But, in order to cope with that, a Plan B is on the works.
3. What am I working toward?
Less ideas, more action: I think I’ve been very good at keeping track of ideas. And there are quite many ideas that keep popping in my head. I think I’ve finally started to take action on a few hand-picked ideas. I’m turning those into projects, putting effort into them, tracking it, and at this moment I’m feeling good about them.
Take one day at a time: Having ideas flowing and figuring out some sort of a plan is good, but I need to learn to focus on taking one day at a time, live in the moment, make the best off of it. There’s only so much one can do.
Get better: I feel like at one point I was better than I am today. I also feel like I can get better than I was before. Working on that!
There are a couple more things I could add to each one of those bullet points, but I’m still thinking through it, figuring out the good things I want more of, the bad things that need to be addressed, and the things I just need to let go.
Notes from January-2015
Posted by claudiolassala in Uncategorized on March 4, 2015
When I was running the Virtual Brown Bag (VBB) a few years ago, I used to share weekly links to things I thought interesting or useful. I don’t currently have time to go back at hosting weekly VBBs, but I’ll start posting my links monthly, mostly for my own reference, but it may also turn out to be helpful to my readers.
10 tips for better Pull Requests
A brief history of web design for designers
Better Specs rspec guidelines with ruby
How We (and You) Use Alfred Remote Every Day
Find Work You Love by Identifying Your Unique Angle
27 Simple Things to Start Doing for Your Happiness
How to Stop Procrastinating by Using the Two Minute Rule
How to Trick Yourself Into Drinking More Water Every Day
The Secrets Of Highly Efficient Napping
How to Stay Focused When You Get Bored Working Toward Your Goals
Identity-Based Habits: How to Actually Stick to Your Goals This Year
Tim Ferriss: How to feel like the Incredible Hulk
A couple of years ago I posted about how I use Evernote. I’m still using it a LOT, and am always looking for ways to improve the way I use it…
How To Use Evernote To Achieve Your Goals
How To Get More Done Using Evernote and Have Peace of Mind Every Single Day Part 1, Part 2, Part 3, Part 4 Dictate Notes Into Evernote for iOS
Scannable: A New Mobile Scanning App from Evernote
Command + J Will Save Your Day
Plug Sunrise Into Your Daily Routine
How I organise Evernote
How Susan Orlean Writes With Evernote
Bring Creativity to Life With Evernote Post-it® Note Camera & Scannable
I mentioned over a year ago that I help my wife organize and run her online store on Etsy. I read several articles about improving Etsy sales…
How to Boost Sales One Step at a Time
Wholesale Guide for Etsy Sellers
8 Pinterest Marketing Tips for the Holiday Season
3 Keys to Enticing International Shoppers
Top Tips for Managing Custom Orders
Essay · The future of the book
How Facebook and Candy Crush Got You Hooked
Hello? Is this thing on?!
Posted by claudiolassala in Uncategorized on February 27, 2015
It seems like my blogging fever comes in waves. Ever since I started this blog (almost 10 years ago), I spend some months blogging somewhat frequently, then I go on a hiatus, and then I come back to writing, and the cycle goes on like that. The last wave came when I switched over from .NET to Ruby on Rails development. With so many things new I had to learn, there was certainly no shortage of things to write about. My posts related to Rails can be found here.
In the last three years, I’ve had just way too much going on in my personal life and blogging just gradually dropped in priority. Another thing that has made me slow down is that I really liked using Windows Live Writer
(WLW) as my blogging editor, and I could never find a similar tool, or a tool that I liked, on the Mac. Since I’ve been using more and more the Mac as my main machine, and less and less the PC, it just didn’t make sense for me to keep a PC around just for blogging.
As I’m currently having to work on some things that require a PC, I’ve set up one as a virtual machine (using Parallels on the Mac), and also set up WLW on it, so I should be able to be back into blogging here more often.
Even though I haven’t been writing, I do have been keeping track of ideas of things I’d like to write about, so that should give me a head start.
I know some of my readers have also enjoyed posts related to my musical endeavors. I decided to create a separate blog just for that! Go check it out: it’s called Sanctuary of Nevermore. A technical note about that new blog: I’m publishing it to Postach.io, straight from Evernote!
More Free “State of .NET” Events Announced
Posted by claudiolassala in Uncategorized on October 28, 2010
Three Locations – Houston, Dallas, and Phoenix
- Houston: Tuesday, November 9, 2010 1:30 – 4:30 PM
Microsoft Houston Office – 2000 W Sam Houston Pkway S, Houston, TX 77042
- Dallas: Monday, November 15, 2010 1:30 – 4:30 PM
Microsoft Dallas Office – 7000 SR-161 (George Bush Turnpike), Irving, TX 75039
- Phoenix: Thursday, November 11, 2010 1:30 – 4:30 PM
Microsoft Phoenix Office – 2929 N. Central Ave, Suite 1400, Phoenix, AZ 85012
Brought to you by Microsoft, CODE Magazine, CODE Training & EPS Software, this free afternoon event presents an unbiased look at the current and future development with .NET. Join me for an afternoon of free and independent information about current Microsoft development technologies! What is the state of .NET today? Which of the many .NET technologies have gained traction? Which ones can you ignore for now? What other Microsoft technologies should you include in your development efforts? This event is completely free of charge and is designed for developers as well as IT decision makers. Specific prior knowledge is not required. Attendees of this event will come away with a clear understanding of which technologies to use for various technical challenges.
Topics will include:
- Latest News from PDC!
- Visual Studio 2010
- Silverlight 4.0
- Visual Studio LightSwitch
- Expression Studio
- ASP.NET MVC 3.0
- Windows Phone 7
- and more!
Note: The final list of topics is always subject to change as we are always aiming to have the most up-to-date content possible!
Signup is free, but you have to let us know you are coming. Here are the appropriate links:
- Houston Signup Link – Tuesday, November 9, 2010 1:30 – 4:30
- Dallas Signup Link – Monday, November 15, 2010 1:30 – 4:30
- Phoenix Signup Link – Thursday, November 11, 2010 1:30 – 4:30
Questions? Please e-mail firstname.lastname@example.org or call 832-717-4445 begin_of_the_skype_highlighting 832-717-4445 end_of_the_skype_highlighting x32.
This event is co-hosted by EPS Software Corp. and Microsoft Corporation. EPS is responsible for all content presented at this event.
Speaking at TDC and Northwest Arkansas CodeCamp this week
Posted by claudiolassala in Presentations, Software Development, Uncategorized on October 18, 2010
Last year I couldn’t make it to Tyson Developers Conference (I was speaking at TechEd Europe in Berlin that same week), but this time it worked out, so not only will I be speaking at the TDC, but I’ll also staying over an extra day to speak at the Nortwest Arkansas CodeCamp. I have made some good buddies in that area, so I’m looking forward to going there.
Here are the topics I’ll be presenting on at TDC:
- Beyond the Core Concepts of OOP (SOLID)
- Be a Professional Developer and Write Clean Code!
- Refactoring, Patterns, new language features, code quality, and more!
- Tips & Tricks to Boost Productivity
And here at the topics for the Northwest Arkansas CodeCamp:
See some of you there!
Moving my Blog to WordPress
Posted by claudiolassala in Uncategorized on October 5, 2010
I’ve decided I should finally host my blog in a decent engine since I’ve never been too happy with the Spaces Live one. I went ahead and signed up for WordPress. When I pointed the browser to my old Spaces Live blog, it told me Microsoft has partnered with WordPress and could move my content over. How appropriate! :0)
I’ll go through my old posts and better organize them, and hopefully I’ll go back to start blogging at least once a week. To the very least, I want to blog my thoughts on the latest Virtual Brown Bag‘s meeting; it’s not meant to be a “summary”, since we’re using a wiki for that now, but instead, just my thoughts as they are at that moment on some of the topics discussed.