Are you a confused developer?

Confused
Image courtesy – http://www.ideachampions.com/weblogs/Confused.jpg

Are you a confused developer?

By confused I do not mean a developer who scratches his head for answers to complex programming problems on StackOverflow or Quora. In this scenario, the developer actually knows what needs to be done. He has an absolute idea about the problem.

My idea about a confused developer is a lot generic. Answer the following questions.

  • Do you feel like being in the middle of an ocean of languages and frameworks or more generically technologies?
  • Do you find difficulty in choosing the right tools before you write even a single line of code?
  • Do you become restless and depressed when you see others at your workplace or friends’ list doing a lot but you are not?
  • Do you feel unhappy about going to your office and work on whatever shit you are asked to do?

If majority of your answers are “YES” then congratulations! you are in the “Confused Developer’s” club. Now the question..WHY?

The answer is we are humans. We think, behave and react. We fight for survival and they say, to survive in IT industry, you need to be updated with virtually every other technology that’s out there.

Everyday when you learn something you gradually start filling up  the stack of your brain. With time, even for a small problem, you find yourself diving into the ocean of language / framework -options rather than actually factoring and analyzing the problem. Finally instead of coming up with some solution, you come up with nothing. Reason – a lot of options create confusion ( although it blesses you with control, but still).

As a solution, I am not gonna advice you to meditate :P. You doctor is “basics“.

  • Think about the problem at the very first step. Chop a complex problem into small bits of individual problems and analyze them.
  • Choosing the technology is the second step where you think about the needed performance and ease which comes from the analysis in step one.
  • Next you find the initial solution and implement it. It does not have to be perfect. It should work and that’s what going to boost confidence in you. With time it will become a better solution.

The last two problems that I have mentioned are more about career options. In India, be it the quality of education or the downfall of economy, candidates choose jobs more based on “packages” provided by companies rather than the scope to learn. Some choose it just because of the company brand. Some choose it just because people call them unemployed. Some choose it just to… choose it; no particular reason.

Whatever it may be, the end result after sometime is disappointment at workplace. You get annoyed ‘coz you don’t understand whats going on and more importantly why.

Choosing the right job is kind of a mission. You do a self-analysis and find out your strenghts. You sharpen your skills and then make a strategy to target all those companies which allow your thoughts to flow smoothly.

That said, finding a job like that is a real tough job again. But you don’t need superhero powers for that. All you need is knowledge, expressiveness, confidence and yes! SAMPLES!. Having a good GitHub or StackOverflow profile can be of great help.

Also make time for personal projects that may or may not be from your core background e.g. DIY with Raspberry Pi  or Learn how to create an Android App etc. If you like those  you may even find a job that does not suck! and is far more interesting.

Who does not like to get paid for doing what they like? eh?

That being said, everything needs time and practice. Becoming a developer is not like becoming an overnight hero. Its more like becoming a ninja that asks for dedication and determination. So!, lets dig in!

 

 

Better Sublime with better User Preferences.

Better Sublime with better User Preferences.

Sublime is a highly customizable text editor and with custom settings, you can make it totally yours. Here are my preferences as a developer that makes my sublime my own.

{
	"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme",
	"font_face": "DejaVu Sans Mono",
	"font_size": 11.0,
	"ignored_packages":
	[
	"Vintage"
	],
	"theme": "Nil.sublime-theme",
	"font_options": ["subpixel_antialias"],
	"line_padding_bottom": 2,
	"line_padding_top": 2,
	"indent_to_bracket": true,
	"draw_minimap_border": true,
	"highlight_line": true
}

The font family is DejaVu Sans which can be downloaded from here.

The color scheme used is one of the Tomorrow Color Schemes for Sublime Package. You can find it in Package Control.

The theme that I am using is Nil Theme. The theme can also be installed via Package Control.

For more customization, you can always refer to the Default Sublime Settings and make the necessary changes in your User Preferences.

Setting up Wamp Server in Windows 8. (Bonus – Windows 10)

Unable to run WAMP/XAMPP in Windows 10? Try this.

Have you ever tried installing WAMP Server on your brand new Windows 8 ? If you have I am sure you have found WAMP crashing OR your

access to localhost has been forbidden. 

The reason why it happens is IPV6. Windows 8 is by default an IPV6-first Operating System. How? Well just go to command-prompt and run the command

ping localhost  

You will be getting response from ::1 i.e. the loopback address for IPV6. When you try to connect to the server it uses the port 80 along with IPV6 to locate it.

WAMP by default runs on IPV4 and it is not configured to run on IPV6. This creates a conflict in the server configuration. What you should do is open the file…

your-wamp-installation-folder\bin\apache\Apache2.2.21\conf\httpd.conf   e.g.  C:\wamp\bin\apache\Apache2.2.21\conf (In my case)

Find a line that says Listen 80 and replace that with Listen 0.0.0.0:80

Go to your hosts file that is located at C:\Windows\System32\drivers\etc folder and edit the file using Administrator Rights. Make sure the line ::1 localhost is commented and 127.0.0.1 localhost is uncommented or add a line if it does not exist.

Thats all. Restart WAMP Server and everything should work fine.

Get rid of old facebook emoticons!

Well…yes! that’s possible.

I was recently trying my hands on how to develop a  chrome extension and just for fun I made this first simple extension that replaces old facebook emoticons with new-to-world cool simple emoticons. The new emoticons come from David Lanham and the set is named riceballs.

The icon set contains all the emoticons we use on facebook. Have a look. Some of the icons are not available in the extension though.

My extension is on github at https://github.com/praveenpuglia/New-Faceboook-Icons.

If you are a developer then just clone the repository and modify it the way you want.

If you are a normal user, just download the CRX file and then follow the instruction provided at the above github link.

If you like it, like the post and feel free to comment if any changes are required!.

Nice CSS Avatars for your wordpress site!

Nice CSS Avatars for your wordpress site!

Love to style WordPress? If you have created a theme for your wordpress site and have fiddled with the commenting system, you may have wanted to style how the avatars show up with each comment. Here is a nice CSS snippet that will make your avatars look a lot nicer.

Things to know before-hand…

  • Individual comments are basically li elements within an ol with the class comment.
  • Within each li element there is a div with the class comment-author that contains the image/gravatar/avatar/photo that has the class avatar.
Now that image needs to be wrapped within a wrapper. In my case it is div class avatar-wrap. The CSS rules for the div are…
.comment .avatar-wrap {
width: 64px;
height: 64px;
border-radius: 42px;
float:left;
border: 8px solid #bdbdbd;
margin: 0 10px 5px 0;
position:relative;
box-shadow: 0px 5px 5px -2px #848686;
}
.comment .avatar-wrap::after {
content: "";
position: absolute;
width: 0px;
height: 0px;
right:-15px;
top: 0px;
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
border-left: 15px solid #bdbdbd;
transform: rotate(-27deg);
-ms-transform: rotate(-27deg); /* IE 9 */
-webkit-transform: rotate(-27deg); /* Safari and Chrome */
-o-transform: rotate(-27deg); /* Opera */
-moz-transform: rotate(-27deg); /* Firefox */
}

…and the image with the class avatar will be having the following CSS rules just to make the image look circular.

.avatar-wrap .avatar {
border-radius:42px;
 }

That’s all! We are done! 🙂 Feel free to try this out and leave a comment if something goes wrong.

Sublime Text – 2 Snippets.

Sublime Text – 2 Snippets.

You might have heard of Sublime Text 2! Haven’t you? If not then you SHOULD go ahead and try this out here!! This is my favourite text editor of all time. Its simple, easy to use and the best thing about sublime is that it’s free! 🙂

Well those, who wanna do more but write less with codes, use snippets. What is a snippet? check here.

There are tonnes of snippets available for sublime and those can be found out from sublime itself!. You can install packages using Package manager. See the installation process here. Yeah! and you are done!! 🙂

Now go to tools -> Snippets.

Remove the text “Snippets:”.

Type “Install Package“. and hit Enter.

Package Control: Installation of Packages
Package Control: Installation of Packages

Now search for the type of snippets you want, you will find almost everything in there. Its just awesome! Some of the most popular code snippet packages are,

jQuery snippets package, CodeIgniter snippets, etc.

So?? party!! \m/ get the packages and build apps in lightning fast speed! 🙂