Skip to main content

Posts

A Quick Look at Machine learning

A Quick Look at Machine learning Ever heard of ‘Artificial intelligence’, of course you did after all we all watch sci-fi movies. But if you ever tried to know more about AI then you might have heard about Machine learning. Also in past few years it's been a hot topic in computer science. So, what is machine learning??. Let's talk about this…, Computer are everywhere today, even in your pocket (your phone).They help us do a lot of thing but in reality these are just calculators with logic and control circuitry.Therefore we can program them to do different tasks.But there are scenarios where we cannot predict the situation and its nearly impossible to program the computer for that.For instance , CCTV Cameras are installed at many places and surveillance has become very easy as it can be done remotely but we need a human to process the video from the cameras as a computer cannot tell us if everything is ok or not.Now imagine if the computer can automatically dete...

Creating Cookies in JavaScript

Creating Cookies in JavaScript   We all use a browser which automatically logs us in to our favorite sites without us having to login manually every time. A cookie is sent from a web site and stored locally on your computer. It is just a piece of data which allows web sites to remember their users. In this post we will learn how to create cookies with JavaScript. How are cookies stored? Cookies are stored in name-value pairs i.e. like this, user = deecoder This value is stored in a text file. Whenever the site related to this is visited, the cookie is added to the web request. Hence web-server doesn’t have to remember about you. How to create Cookies in JavaScript? Cookies can be created by assigning a name-value pair to the document.cookie object. This can be done like this.., document.cookie="username=Yourname; expires=Wed, 19 Nov 2018 12:00:00 UTC; path=/";     // username, expires, path are called parameters. Here we have created a...

Awesome games made in Blender Game Engine

Awesome games made in Blender Game Engine Hey guys, blender game engine is great software for making games if you are an artist especially if you are familiar with blender. (--And know python--).Over the time several games have been produced using it, though I haven't played all of them but many of them are amazing piece of art. So here's the list of awesome games that you should play at least once if you are a blender user.The list is not ordered by anything. KRUM - Edge Of Darkness KRUM is hardcore story based action RPG set in a fantasy world. The player has to survive and reach the end of the story.The player will fight enemies and bosses as the story reaches to the end.The game was developed by HA Studios Ltd and is available in 9 different languages.KRUM - Edge Of Darkness is currently available on steam. Tomato jones A physics-based puzzle/adventure game. The game is set in indiana jones like environment .”The  goal is to collect all coins and the h...

OOP : A Quick Introduction

Basics Concepts in OOP    One of the major drawbacks of procedural programming is that it's hard to model Real world problems with it as it is more action oriented. In object oriented programming we divide problem into a number of entities. These entities are called objects. An object have its own data and methods(or functions) which operate on this data. The data is hidden i.e. it cannot be access by functions outside of the object. OOP allows us to model real life problems in our program in a much easier way and makes the program more secure, extensible as compared to procedural approach. Basic concepts of object oriented programming There are some basic concepts in object oriented programming which must be understood before learning  any object oriented programming language. These are, Objects and classes Data encapsulation Data abstraction Inheritance Polymorphism Dynamic binding Message passing So let's discuss these one by one, Objects and ...

Best News Sites for web developers

Best News Sites for Web Developers,Designers and Enthusiasts  In the world of web development it is hard to keep track of everything happening around you. To keep yourself updated you need to be constantly observing the industry. Here are 5 best sites to help you out in this case. thenextweb (TNW) Founded in 2006 thenextweb provides the latest tech news from around the world. Internet of things, development, coding, infrastructure, security, cloud. Being a very popular blog among the developers thenextweb is a huge and is just more then a blog. The company have many other branches  TNW News, TNW Deals, TNW Conference. If you visited the site yet i will encourge you to do so. You will news on varying topics such as tech trends from the world including web development and much more. Link : https://thenextweb.com/ developerdrive   From their about page " DeveloperDrive is an ever-evolving creative blog by web developers, for web developers....

Things you really need to know about Cryptocurrencies

Things you need to know about Cryptocurrencies  The bitcoin has taken over the world of internet and has became one of the most searched topics on google in a very short span of time ,all because of its high value as compared to other currencies.By the time I am writing this post the 1 bitcoin is equivalent to  13543.39  USD, this alone tells us how powerful cryptocurrencies are. As cryptocurrencies are becoming a global phenomenon more and more people are trying to buy them, increasing their demand and hence the market is now flooded with several crypto currencies. But still crypto currencies were the most misunderstood topic throught the last year.People are still confused about it as china has banned bitcoin exchanges (and other countries  may do it too) and countries like russia trying to make there own cryptoRuble . With so much happening everyone irrespective of whether he will invest in the cryptocurrencies or not must know about them....

Cargo Cult Design and WHY you should AVOID IT

What is Cargo Cult Design? Have you ever tried to follow other successful games and apps design while working on yours..??.I am not talking about graphics or other stuff. I am talking about those "Special qualities" that we think made it successful.Well at some point or other we all try to make many things as they were in other successful apps. OK Dee i got it..but title of this post is about some Cargo-cult thing..........whats that ?.and whats the problem with this approach..?  The problem is that reason behind these successful ones is not there design,yes it matters but not as much as the their luck. This kind of approach can lead to the the "cargo cult design".This term cargo cult comes from the per-industrial period.You see there were many tribes in pacific region. These tribes were exposed to the cargo coming from western countries.This was obviously beneficial for these tribal people but as the westerners left the cargo ceases to arrive, l...

Lets's Learn Document Object Model

Lets's Learn Document Object Model  The " DOM "document object model) allows JavaScript to access the content of a web page.The DOM is like a class monitor, where HTML elements are the like the students of a class.It monitors or keeps track of HTML documents. JavaScript is like class teacher it tell the monitor to do something. Or in other words JavaScript can manipulate HTML elements with DOM. Show Me your ID In DOM you can give  unique names to HTML elements, these are called Id of the element, further this id can be used by JavaScript to manipulate or access the HTML elements.To give id to an element you can use id attribute like this ; <h1 id="Hello" >Hello</h1> ID  Hello then can be then used to access the heading tag <h1> later by Javascript. Let's Catch this guy Now, when we have the name given we can catch this guy and manipulate it. To use this element we use method document.getElementById in our...

Powerful Tips for writing better code and increasing productivity

Useful Tips for writing better code and increasing productivity                       I entered the world of programming back in 2011. I had no formal education in programming, I just brought a book and started learning.Today when I look at my journey I realize it I made a lot of mistakes while learning programming and it's not possible to avoid all of them and according to me you should not avoid some of the mistakes that I am made, as these mistakes teach you a lot about programming but there are some mistakes that you should avoid no matter if you are a beginner or an intermediate or an expert. I am about to share some tips with you , you may have heard many of these earlier from other people or if you are studying in some school or university from your teachers or may be you never thought about these.                             Variable Co...

Things to master while learning a new programming language

Are you Learning a new programming language While learning a new programming language we all get confused that what are things that we should focus on.There are many things to learning before diving deeper in any language.But its very hard, many times we are so overwhelmed by the advanced features of language or we want to accomplish something specific in short span of time that we don't put much effort in learning these basic concepts and then we realist that we are making silly mistakes.This happen even with experienced programmers.So here is a list of things to focus on while learning a new language.This may also help you to find right language to learn so, even if you are not learning a language right now but want to learn and you are not able to find the right one for you Keep reading it may help........., THE SYNTAX According to Wikipedia "the syntax of a computer language is the set of rules that defines the combinations of symbols that are consid...

Html 5 Canvas Text App Part II

Html 5 Canvas Text App Part II Last time we made the Canvas text app.This time we will add shadows and download functionality to it. Lets get started. If you haven't seen the first part of this series , I recommend you to do so here..., HTML 5 Shadows In html 5 you can give shadows not only to the text. HTML 5 Shadows provides four properties make awesome effects. context.shadowColor For the color of the shadow.Color is given in the format  “#RRGGBB”. context.shadowOffsetX A positive or negative number showing x offset of shadow.  context.shadowOffsetY A positive or negative number showing x offset of shadow.  context.shadowBlur Provides blur filter for diffusion of the shadow. The higher the value, the more diffusion. An example of it can be  context.shadowColor = "#00FF00"; context.shadowOffsetX = 4; context.shadowOffsetY = 4; context.shadowBlur = 1; This will produce this result..., ...