Free e-books for developers

E-books written by experienced developers and is available free. Site has vast categories with many books on popular as well as new technologies. Check it out – DevFreeBooks.

 

Another similar website is – DZone. It has reference books as well as guides.

 

Comments and suggestions are always welcome. Pass the information on. Share this post and let your friends know too.  Thanks.

 

Who am I?   |   Contact me   |   Shop

Syntax reference for programming languages

Found another great website that allows reference as well as searching for syntax for different programming languages along with integration with DuckDuckGo, Slack and Visual Studio Code as well as API’s. Check it out –The programming syntax database: SyntaxDB.

 

Comments and suggestions are always welcome. Pass the information on. Share this post and let your friends know too.  Thanks.

 

 

Who am I?   |   Contact me   |   Shop

View popular Java projects online

Found a great website – GrepCode for searching and viewing source code for popular Java projects online. It also has plugins for Eclipse and InteliJ IDE. It also supports searching by stack trace. Check it out.

 

Comments and suggestions are welcome. Pass the information on. Share this post and let your friends know too.  Thanks.

 

Who am I?   |   Contact me   |   Shop

 

 

Building Apps JSON style

Prologue:

Developing apps for mobile devices requires considering the constraints and features of these devices. Mobile devices run on battery and have less powerful processors than personal computers and also have more features such as location detection and cameras. Developers also have to consider a wide array of screen sizes, hardware specifications and configurations because of intense competition in mobile software and changes within each of the platforms. Then there is challenge to make app as interactive and user friendly as possible. Mobile content management is also another major key area.

Recently, I started an Android project on an idea I got. It was supposed to be an simple app for my parents and own personal use. Due to limited time I had, was looking for an framework or system which would make app development less complicated. I didn’t had anything particular in mind but wanted a system that can abstract many complicated things in underlying layer(Android in my case) and let me work on just the important core stuff.

Sometime back, while surfing on Github explore projects section, I came across this project. It was exactly what I was looking for. Jasonette, as it is called, takes a JSON file from any server pointed to, parses it and delivers a app on the fly. This JSON contains all the required properties such as layout details, data to be populated and external event management. True to what their project states “One JSON to rule them all.

2017-04-27 13_20_58-Jasonette - Native App over HTTP

I downloaded their project and tested a quick sample. It worked!!! The project is actively supported on GitHub and new features are being added even as I write this. As an programmer will know, it has bugs and some features missing. But one big advantage is that it is open source. It can be extended as per requirement or users can contribute directly into its development.

Their official website has extensive documentation on usage and even have samples. Some users have apps live on Google Play developed on using this framework. For me, it makes sense as I need to update s single JSON file each time I wanted some minor changes instead of going and making code changes and re-generating apk file. Of-course, this will won’t work much in case of big complicated and large scaled apps but small, simpler ones will fit perfectly.

Give it a try if you are into app development. It is even more interesting for it’s working perspective if you wanna dig deeper into it’s architecture and functionality.

The whole project is hosted on GitHub. Get Jasonette for Android from here and for iOS from here.

Comments and suggestions are always welcome. Pass the information on. Share this post and let your friends know too.  Thanks.

Who am I?   |   Contact me   |   Shop

Introduction to Algorithms

I was recently searching for a good website for studying Algorithms. After going through various websites, I stumbled upon this educative.io course.

I was immediately hooked upon seeing the quality of the study material and that how easy it is for anyone to start learning. Course material are very visual with lots of explanations, pictures and demos.

It is divided into sub sections as follows –

 

 

 

 

 

 

 

 

 

 

 

Website – https://www.educative.io

 

And no, this post is not sponsored or anything. As I found it useful for myself and so I have shared. Pass it on and help others learn if you have too.

 

 

Java Programming Cheatsheet

Here is the quick reference for Java Programming I found on the web. It summarizes common features and usage in shortest and easiest way possible. 

This is just a blog post taking useful content from Princeton University’s site. For the good intend to share the knowledge with other users and programmers. No intention of modifying or removing credits. Just thought to share this awesome resource with everyone. For more in depth reference, above link to university’s website is advised. It is well documented with excellent documentation and programming examples. 

Hello, World.

Hello, World in Java

Editing, compiling, and executing.

Compiling Hello, World in Java

Built-in data types.

Built-in types of data

Declaration and assignment statements.

Assignment statements

Integers.

int data type

Integer expressions

Floating-point numbers.

double data type

double expressions

Booleans.

boolean data type

Boolean operators

Comparison operators.

Comparison operators

Comparison examples

Printing.

System.out.print()

Parsing command-line arguments.

parsing Command-line arguments

Math library.

Math library API

Java library calls.

Expressions that use Java library methods

Type conversion.

Type conversion

Anatomy of an if statement.

anatomy of an if statement

If and if-else statements.

If-else statements

Nested if-else statement.

Nested if-else statements in Java

Anatomy of a while loop.

While loop

Anatomy of a for loop.

For loop

Loops.

While and for loops in Java

Break statement.

Break statement in Java

Do-while loop.

Do-while loop in Java

Switch statement.

Switch statement in Java

Arrays.

An array

Inline array initialization.

Inline initialization of arrays

Typical array-processing code

Two-dimensional arrays.

2D array

2D array inline initialization

standard output library.

Standard output API

Anatomy of printf

Formatting codes for printf

standard input library.

Standard input API

standard drawing library.

Standard drawing API

standard audio library.

Standard audio API

Command line.

command line

Redirection and piping.

Redirecting standard output                Redirecting standard input

Piping

Functions.

Anatomy of a function

Example functions

Libraries of functions.

Library abstraction

standard random library.

Standard random

standard statistics library.

Standard statistics

Using an object.

Using an object

Instance variables.

Anatomy of instance variables

Constructors.

Anatomy of a constructor

Instance methods.

Anatomy of an instance method

Classes.

Anatomy of a class

Object-oriented libraries.

Object-oriented library abstraction

Java’s String data type.

String library API

String operations

Java’s Color data type.

Color library API

input library.

Input API

output library.

Output API

picture library.

Picture API

stack data type.

Stack API

queue data type.

Queue API

Iterable.

Anatomy of an iterable

symbol table data type.

Symbol Table API

set data type.

Set API

graph data type.

Graph API

 

 

Pass it on and help others learn if you have too.

Python Programming Cheatsheet

Here is the quick reference for Python Programming I found on the web. It summarizes common features and usage in shortest and easiest way possible.

There are also some Princeton University developed modules which are very useful. I have also included them with direct links to it’s corresponding webpage on University’s website.

This is just a blog post taking useful content from Princeton University’s site. For the good intend to share the knowledge with other users and programmers. No intention of modifying or removing credits. Just thought to share this awesome resource with everyone. For more in depth reference, above link to university’s website is advised. It is well documented with excellent documentation and programming examples.

So, here it goes –

 

Hello, World.

import stdio

# Write 'Hello, World' to standard output.
stdio.writeln('Hello, World')

Editing, compiling, and interpreting.

Editing, compiling, and interpreting Hello, World in Python

Built-in data types.

Built-in types of data

Assignment statements and traces.

Assignment statements trace Assignment statements formal trace

Strings.

Str data type

Integers.

Int data type

Floating-point numbers.

Float data type

Booleans.

Bool data type Boolean operators operators

Comparison operators.

Comparison operators

Common functions.

Common Python functions

Type conversion.

Type conversion API

if and if-else statements.

If-else statements

if-elif-else statements.

if   income < 0:      rate = 0.00
elif income < 8925:   rate = 0.10
elif income < 36250:  rate = 0.15
elif income < 87850:  rate = 0.23
elif income < 183250: rate = 0.28
elif income < 398350: rate = 0.33
elif income < 400000: rate = 0.35
else:                 rate = 0.396

while and for statements.

While and for loops

break statements.

while True:
    x = 1.0 + 2.0*random.random()
    y = 1.0 + 2.0*random.random()
    if x*x + y*y <= 1.0:
        break

Arrays.

suits = ['Clubs', 'Diamonds', 'Hearts', 'Spades']

An array

a = stdarray.create1D(n)
...
for i in range(n):
    stdout.writeln(a[i])
... 
for element in a:
    stdout.writeln(element)

Array operations.

Array operations

Array aliasing and copying.

Array aliasing Array copying

Two-dimensional arrays.

2D array 2D array initialization
a = stdarray.create2D(rowCount, colCount)
...
for i in range(rowCount):
    for j in range(colCount)):
        stdio.writeln(a[i][j])
...     
for row in a:
    for element in row:
        stdio.writeln(element)

 

Redirection and piping.

Redirecting standard input Redirecting standard output

Piping

Functions.

Anatomy of a function

Example functions

Modules.

Module abstraction

Module control flow

The str data type.

The str module

Defining a class.

Charge API

Charge class

Creating an object.

Creating an object

Using an object.

p = c1.potentialAt(.20, .50)

Special methods.

Special methods: arithmetic

Special methods: comparison

Special methods: functions

 

stdio module: writing functions.

Standard output API

Anatomy of printf

Formatting codes for writef

 

stdio module: reading functions.

Standard input API

stddraw module.

Stddraw drawing functions

Stddraw control functions

Stddraw shape functions

Stddraw text and color functions

Stddraw animation functions

stdaudio module.

Standard audio API

stdrandom module.

Standard random module

stdarray module.

Standard array module

stdstats module.

Standard stats module

Color data type.

Color API

Picture data type.

Picture API

InStream data type.

InStream API

OutStream data type.

OutStream API

 

 

Pass it on and help others learn if you have too.