A Journey in Software Engineering
Monday, May 2, 2016
Learn The Basic Linux Commands With This Awesome Cheat Sheet
If you are willing to become a system administrator or trying to make a shift from Windows to Linux, you need to become well-versed with basic Linux commands.
Even if you adopted Linux a long time ago, it becomes difficult to remember all the commands and use them to perform powerful tasks with just a few keystrokes. In such times, you feel the need of an ultimate cheat sheet that could act as an answer to all your problems.
Recently, I came across a basic Linux commands cheat sheet that one could easily use as a refresher or a learning guide.
This cheat sheet organizes all the commands in 13 different sections according to their usage to help you out with the information on package installation, how to call up system info, or how to manipulate a file.
Prepared by LinOxide, you can go ahead and download the cheat sheet in PDF format and take a look at a more detailed reference guide.
Below is the image that you can save and print:
Most Popular Programming Languages at Hackathons
In the recent years, the number of hackathons have risen at a fast pace. At these hackathons, budding as well as experienced programmers stay awake for days- living on coffee and Pizza- they make and break codes. So, which are the most popular programming languages at hackathons? And, which hardware, platforms and APIs are used the most by programmers at hackathons? Today, we are going to share these answers with you.
Devpost- formerly known as ChallengePost- is a tool that is used as a backend infra for the biggest and most popular hackathons. Recently,Devpost released tons of data about the preferences of programmers at hackathons. This data includes questions like what mobile platforms used at hackathons the most? Which APIs do people use most often? Which are the popular programming languages at hackathons?
Devpost- formerly known as ChallengePost- is a tool that is used as a backend infra for the biggest and most popular hackathons. Recently,Devpost released tons of data about the preferences of programmers at hackathons. This data includes questions like what mobile platforms used at hackathons the most? Which APIs do people use most often? Which are the popular programming languages at hackathons?
Devpost’s digital infrastructure is used at most student hackathons and engineering schools. To rank the technologies, data of 13,281 students from 160 hackathons and 9,898 projects was used.
Talking about the mobile platform was Android with 38.2% followed by iOS 22.7%. Windows Phone too has a considerable amount of share of 4.9%.
So Which are the most popular programming languages,
- HTML/CSS (HTML isn’t quite a “programming” language — it’s a markup language. But, it’s still a “language” and used by all web developers. And.. Devpost added in their list.)
- JavaScript
- Python
- Java
- C/C++
- PHP
- Objective-C
- C#
- Swift
- JSON (not a programming language, but is on Devpost’s most popular programming languages at Hackathons list)
- Ruby
Sunday, May 1, 2016
Learning NodeJS
If you haven't been living under a rock for the past five years or so, chances are that you have definitely heard of an up and coming Javascript framework called 'NodeJS'. NodeJS is a server side Javascript framework allowing you to implement entire servers (API endpoints or just static web page servers) in Javascript. It has excellent community support and has pleanty of resources to learn. However learning NodeJS the right way can be a little tricky so I have put togeter a few resources that helped me out on my journey.
As any Javascript developer will tell you, MDN is a great source for all things Javascript.
https://developer.mozilla.org/en-US/docs/Web/JavaScript
And next is of course NodeJS's own documentation which is really very good, but I cannot really say how extensive it is. But it certainly did help me understand the framework a lot better:
https://nodejs.org/api/
I highly recommend Dmitry Soshnikov's work to those who truly want to understand the language. It is deep-level stuff that may require a few passes, but it rewards persistence -- you will truly understand the language
http://dmitrysoshnikov.com/ecmascript/javascript-the-core/
These are good places to start for Node instruction:
http://www.nodebeginner.o rg/
http://book.mixu.net/
http://howtonode.org/
The best way to learn is to actually do things. So I recommend that you actually get stuck into a proper project and find your way from there. Tip: an application I always turn to is to build a To-Do List.
As any Javascript developer will tell you, MDN is a great source for all things Javascript.
https://developer.mozilla.org/en-US/docs/Web/JavaScript
And next is of course NodeJS's own documentation which is really very good, but I cannot really say how extensive it is. But it certainly did help me understand the framework a lot better:
https://nodejs.org/api/
I highly recommend Dmitry Soshnikov's work to those who truly want to understand the language. It is deep-level stuff that may require a few passes, but it rewards persistence -- you will truly understand the language
http://dmitrysoshnikov.com/ecmascript/javascript-the-core/
These are good places to start for Node instruction:
http://www.nodebeginner.o
http://book.mixu.net/
http://howtonode.org/
The best way to learn is to actually do things. So I recommend that you actually get stuck into a proper project and find your way from there. Tip: an application I always turn to is to build a To-Do List.
Saturday, April 30, 2016
Front-end validation with jQuery Validation Plugin
First let's talk about why do we need to consider about front-end validation, As we all know front-end validation is done on the client side. Let's take a look at the the architecture of a normal application.
| 1.0 - Server./Client Architecture |
As you can see if we don't use front-end validation to do simple validations such as null checking, min-length, max-length etc it'll consume lot of server's resources, But server-side validation is a necessity. You can't simply ignore server-side validation because you have used front-end validation, reason is users cannot be trusted and there are plenty of ways to bypass front-end validations. When you're trying to implement front-end validation it's kind of a tedious task because we have to implement all the event listeners and individual checkers for them. This is where jQuery Validation Plugin comes in.
jQuery plugin makes simple client-side form validation easy, whilst still offering plenty of customization options. It makes a good choice if you’re building something new from scratch, but also when you’re trying to integrate something into an existing application with lots of existing markup. The plugin comes bundled with a useful set of validation methods, including URL and email validation, while providing an API to write your own methods. All bundled methods come with default error messages in English and translations into 37 other languages.
You can download the plugin by visiting http://jqueryvalidation.org/. Configuration is very easy, First
you need to do is initialize.
| 2.0 - Example code |
As you can see first we have to select the form we need to validate. And other essential parameters are listed below
- ignore : defines the things the validator needs to ignore.
- rules : defines the rules apply to specific elements
- errorPlacement : used to define the position of the error message.
Hope you got an idea about the plugin.
Subscribe to:
Comments (Atom)
