Work in spite of disapproval or ridicule!

I’ve been places I wouldn’t be and experienced things I’d never experience! It comes with tears!

The absurd thing? Some (most that know me including family) people think I failed*! I don’t blaim them, after all they know just their side of the story and I haven’t jet told them mine. But..reallity couldn’t be more different.

You want to be successful? Yes? Ok then – It all comes down to a mindset. Here is mine…

I work hard, strive hard and I appear to be too ambitious. I try to stand out from the crowd. I get out of my damn comfort zone!! 

Pleasing the (average-performing) crowd I don’t worry about. I hear the criticism, I take the potshots, I endure the laughter or derision and even hostility and I keep on measuring myself and my efforts ONLY by my own standards. And they are MUCH higher than average. You can’t even imagine. I keep pushing!

It’s a lot easier and much more comfortable to reel it in to ensure you fit in. To stay in your comfort zone – which is perfectly ok if it works for you – don’t get me wrong there.

Someone really smart once said..

Only the people who believe they can change the world are really able to change it! No one else will even try!

Switch the mindset and in the process, you’ll achieve what you want to achieve.

If we managed to lunch platform we’re working on by the time of this writing their opinion is probably different.

Javascript: escape() vs. encodeURI() vs. encodeURIComponent()

Are you great JavaScript programmer? Yes? Do you know the difference in mentioned methods and when to use which? No? Oh I see…you take a peek at w3schools.com when you need it! Ok, me too!

I’m searching for this too many times! So I guess If I write about it it’ll stick for a few days longer in my head…will see about that.

So let’s go..when it’s appropriate times to use which?

The escape() method does not encode the + character which is interpreted as a space on the server-side as well as generated by forms with spaces in their fields. Due to this shortcoming and the fact that this function fails to handle non-ASCII characters correctly, you should avoid use of escape() whenever possible. The best alternative is usually encodeURIComponent().

This function encodes special characters, except: * @ - _ + . /

Use of the encodeURI() method is a bit more specialized than escape() in that it encodes for URIs as opposed to the querystring (which is only part of a URL). Use this method when you need to encode a string to be used for any resource that uses URIs and needs certain characters to remain un-encoded. Note that this method does not encode the ' character, as it is a valid character within URIs.

This function encodes special characters, except: , / ? : @ & = + $ #

Lastly, the encodeURIComponent() method should be used in most cases when encoding a single component of a URI. This method will encode certain chars that would normally be recognized as special chars for URIs so that many components may be included. Note that this method does not encode the ' character, as it is a valid character within URIs.

This function encodes special characters. In addition, it ALSO encodes the following characters: , / ? : @ & = + $ #

That’s it, now you know and I remember!

Can you do your best on your worst day?

I know I can’t! Or sometimes I even refuse to! But sometimes I suceed – it takes effort and practice to master this.

Norman Mailer said, “Being a real writer means being able to do the work on a bad day.”

Remarkably successful people don’t make excuses. They forge ahead, because they know establishing great habits takes considerable time and effort. They know how easy it is to instantly create a bad habit by giving in–even just this one time.

It is said that doing something to become “a habit” takes you for about a month in the first rounde (then there are 2nd and 3rd month).

So stop wasting your time with on/off(s) and start “a habit” for things you do.

I will start so called “Technical how to series”

I’ll do it. From introduction, start to finish. I’ll deliver whole package – with some extras even.

I was wondering for some time now If I should write tutorials or how tos. The doubt was related to the fact that “out there” covers almost anything one could imagine. And to the fact that it takes effort and time to do it right. And time is a limited resource I fight with all the time.

So why bother to write my own?

Well decision was partly rationale partly emotional – of course (without emotions nothing worts nothing). So every topic from series will include one or more of the arguments described. So lets examine arguments:

  • I want to share my experience and best practices
    I’m working on my technical startup for about 5 years now, mostly in R&D all the time and I gained load full of experiences across array of technologies. If one person has learned something from this series, It works for me. It’s my (first) way of contribution back to the community
  • Keep personal reference
    Being in R&D and CTO of my own startup means I keep forgetting stuff and that’s just plain stupid. The in-flow of information, resources etc. is crazy! If have to find info how to do something twice I feel stupid and un-optimized and no one wants to feel stupid, right. Time is currency, I’ll try to profit from it here.
  • Making better understandable how tos and learn from you – great community
    I think I can do better than some tutorials and how tos out there. And I’m willing to take criticism and fixes, optimizations and other suggestion along the way (with authorship of course) – I’m far from knowing everything, that’s where you came to play.
  • Learn some new stuff
    It’ll be extra push to learn new stuff since someone could “profit”(knowledge) from it – myself included. Here I’m basically tricking myself into making a step and learn something new every now and then. The problem here is not that I don’t want to learn, but that I just don’t want to reserve/take the extra time for unconnected stuff since I’m fully occupied with my startup and parenting.

So the first series topic is: “How to contribute back to community on GitHub“. I’ll describe this series in another post where I’ll also introduce TOC(table of contents) so you can better decide if you want to follow along.

I wanted for few years now make a better contribution to OpenSource community, now I have created a chance.

Idea…from Start…to Finish

Did you have an idea, started it and never finished? Yes? Me to!

If a thought that you at least started the damn thing (the idea) – realising how hard it is to start one off the ground in the first place – comforted you, then I’m the one telling you how the reality looks like. You did not reach your goal!! So your effort could be perceived as next to worthless – but it’s just half of the truth. The raw, nasty one, the one I’m writing this post about. The other one talks about learned lessons etc. – but you know..you didn’t reach your goal. Ask yourself why?

Was it lack motivation and self-discipline? Were you distracted? Did you fear failure or success?

Procrastination is a part of what makes people human; it’s not possible to completely overcome any of those shortcomings. Wanting to put off a difficult task is normal. Avoiding a challenge is normal.

Just think for a moment about a time you put off a task, finally got started, and then, once into it, thought, “I don’t know why I kept putting this off–it’s going really well. And it didn’t turn out to be nearly as hard as I imagined.

It never is!

That’s the big secret of highly productive people. They try not to think about the pain they’ll feel in the beginning; they focus on how good they will feel once they’re engaged and involved – and it takes lots of practice to achieve this kind of thinking!

And they get started. And then they don’t stop until they’re Finished! Unless there’s a really, really good reason not to finish–which, of course, there almost never is.

You are on the move now – finish what you started and don’t look back untill you reach the goal.

Creativity comes from effort, not inspiration

Are you still waiting for that ultimate super-duper idea to came by and hit you in the face? Yes? Then what? Oh yes, you’ll heroically jump into making it happen. Aha..not! Sorry to disappoint you – the clock ticks clockwise, not other way around. And I just described “other way around” if you still don’t get it.

Well don’t be too disappointed, most people wait for an idea to happen – I was the same few years back. Most people think creativity happens.

Then what? Well they wait and wait and wait and….you know…never ending a starting story.

Well it’s not entirely true. Occasionally, great ideas do come out of nowhere. And some success stories are created this way – but they are exception not the rule! Mine creativity come from effort too (for all you guys who know me – don’t think otherwise)

But mostly..well mostly is creativity the result of effort: toiling, striving, refining, testing, experimenting etc. The work itself results in inspiration.

Remarkably productive people don’t wait for ideas. They don’t wait for inspiration. They know that big ideas most often come from people who do, not people who dream.

And please don’t get me wrong on “dreaming”. Without a dream nothing happens..ever. Don’t just dream but do dream! And dream BIG!

Regarding ideas…starting and executing them is another story for another post.

Now go do your creativity...do, fail, learn, iterate and become Creative!