JavaScript: How to loop through all DOM elements on a page

In JavaScript, if you need to read or manipulate all elements, you can pass a * to the getElementsByTagName method so it will return all elements in a page.

let your_variable = document.getElementsByTagName("*");

for (let i=1; i<your_variable.length; i++){
                // Do something with the element here
            }

5 Benefits Of Simplicity

I love things that are simple. By “things” I mean almost everything, from processes and tools to machines, rules and businesses.

Simplicity generates a virtuous chain of situations and benefits that I drew here:

5 Benefits Of Simplicity

Bringing simple solutions and processes that are easy to understand for others and start this virtuous chain is not always easy. It’s actually more complicated than coming up with a complex solution.

Humans tend to add complexity to things, specially in a work environment where it’s frequent to see people thinking that adding complexity will show others that they are actually working. It takes some experience to first be self aware when one is adding unnecessary complexity and then be humble enough to just add what is needed.

Also some people associate simplicity with incompleteness. The simple solutions and things I’m talking about here assume you’re trying to come up with a complete solution, something that includes everything that needs to be included. This is also a place where people tend to add complexity.

I hope this was useful to you. If you think of more benefits of simplicity please leave them in the comments below.

I’m now a Splunk Certified Admin!

Yesterday I got certified as a Splunk Admin! As I did last year when I got certified as a Splunk Power User, I will share some tips here for those of you who are interested in getting certified:

Continue reading “I’m now a Splunk Certified Admin!”

Playing Lean: the board game every entrepreneur or agile practitioner should play

Yesterday at work I had the opportunity to play a board game I had not heard about before: Playing Lean. It was one of the most entertaining days at work I’ve ever had.

Continue reading “Playing Lean: the board game every entrepreneur or agile practitioner should play”

I tried the new MacBook Pro with Touch Bar, and it’s better than I expected

Last week I had the chance to try the new MacBook Pro with Touch Bar, in 13 and 15 inches, and I got a better experience with it than I was expecting to have. Continue reading “I tried the new MacBook Pro with Touch Bar, and it’s better than I expected”

I’m now a Splunk Certified Power User!

Update (2017-08-16): Yesterday I got certified as a Splunk Admin! You can see the tips to get that certification in this other blog post.


Last week I got certified as a Splunk Power User! I took the online test after doing all the pre-required courses and passed it.

For those interested in getting certified, here are some tips:

Continue reading “I’m now a Splunk Certified Power User!”

Agile Inceptions: 5 tips to make them more efficient

Inceptions suffer from the same problems that affect long meetings full of people:

  1. Having a lot of people in a room like your stakeholders, your team, your boss and your boss’s boss means only one thing: long discussions about opinions and points of view, without real hard data to back those opinions, which make discussions even longer. This of course means you can’t obtain much value for your product after these discussions.
  2. It’s normal to also have people connected via video-conference like Skype or Google Hangouts. It’s 2016 but we still have issues with these types of virtual meetings, specially with internet connections not being as good as they should be. This means you’ll probably have to repeat something many times in order for everyone on the other side of the screen to understand what you’re trying to communicate.
  3. Since there are so many people invited to this event, there’s probably more than one that will be late and you’ll have to do a summary of what has been discussed up to that point, only for that person, but wasting everyone else’s time.
  4. The Inceptions I’ve been to have lasted 5 consecutive days. 5 days! 5 days, with at least 10 people in the room, for 8 hours a day… that’s 400 hours of engineers, designers, project managers and executives. Are you sure you need that much capacity in order to know what product to build and set your initial backlog? Do you really need these really expensive 400 hours?

Continue reading “Agile Inceptions: 5 tips to make them more efficient”

Splunk Conference 2016 (.conf2016): What a great experience!

Felipe Cerda - Splunk2 weeks ago I had the opportunity to attend the 7th anual Splunk Conference – .conf2016 in Orlando, Florida. In this post I want to briefly share my experience with you.

Continue reading “Splunk Conference 2016 (.conf2016): What a great experience!”