Multiple Related Projects With Same Package Structure In Python

I started Python programming 4-5 years ago. However, I usually still use Java to write more complicated projects such as data processing platforms for many reasons. One reason is the that writing complicated projects where you have to separate one project into many related and dependent projects much easier. Lately, I started writing a RPC platform using JSON-RPC that would enable me and possibly my team to write Machine Learning code in various languages and execute these functions from using

Continue Reading

Introduction To Git With a Little Taste of HTML and CSS

I know there are many tutorials on Git out there and it may not seems a great use of time to write a new one. However, I’m writing this for my recitation hoping it would benefit everyone. Therefore, I will not spend too much time writing same things over and over. Instead I will link to other tutorials and pages.  Also I will include few tips to keep your code well organized and modular when your writing HTML, CSS and later one when

Continue Reading

Save D3.js data models into files

I needed to be able to save the workspace of a project of mine into file so I can load it later. To do so, I needed to save D3 data models into a text file. Here, I’ll explain how one can save a D3 data model into a file. But, before that, I’ll have to explain a number of concepts.   JSON JSON or Javascript Object Notion is a open standard format that uses plain text to transmit JS object

Continue Reading

Customizing Sublime Shortcuts

If you want to know how good you have become with programming, count the number of times you take your hands of the keyboard when you work :D.  Though not serious, its still true that using mouse slows down programming and on the contrary, keyboard shortcuts are the saviors of a programmers time. Sublime provides numerous keyboard shortcuts for its users. They can be found using the following links: Keyboard shortcuts for OS X Keyboard shortcuts for Windows/Linux They can also be found in

Continue Reading

How to check android applications’ CPU usage

I’m currently working on a project for which I need to read the CPU usage by applications. There are question and answers on this topic but I could’t find any tutorials on it so I decided to write one. Basically, there are many things that you can’t do using the Java api, but, with a quick tweak you can. In order to read cpu usage of applications you will need to run a bash command on the device. Java Runtime class provides this feature

Continue Reading

A, B, C, C++ … Maybe its the turn for D now

Today, when I was randomly reading hacker news, I noticed an article that “Facebook is using D in production starting today“. Will, it seemed funny first, the idea that their coming up with a new programming languages in alphabet order. However, the fact that D has to have some sort of magic that a gigantic company such as Facebook that has just started using it, though, it might have enormous costs. So this actually, persuaded me to google it a

Continue Reading

Java Integer needs 128 bits

Recently, I found a Youtube video posted by Oracle Learning which discussed efficiency of Java heap memory. I found it significantly useful and really encourage you guys to take a look at the video. But, in order to give you guys an insight about what you will be expecting to find in this video read this post. Well, if you’re a Java programmer you have probably ran into memory problems so many times. Usually much before the time you expected.

Continue Reading

Site Footer