my net house

WAHEGURU….!

Category Archives: Ubuntu Linux

Julia Why and how not te be Python!(GD Task)

 

 

This post is intended to be rough draft for preparation for Julia presentation at TCC GNDEC. I am excited.

Now one thing always comes to mind why another Language/Technology?(I am nerd and geek as well, That’s what I do for living passionately!)

There is quite great trend has reached in field of computer science and that is all want to become Data-Scientist. or at least want to get paid as high as possible. DS seems to be right choice. 😉 (this is really a troll 😀 )

 

First thing how Julia is born?

Someone posted on Reddit!

 

We want a language that’s open source, with a liberal license. We want the speed of C with the dynamism of Ruby. We want a language that’s homoiconic, with true macros like Lisp, but with obvious, familiar mathematical notation like Matlab. We want something as usable for general programming as Python, as easy for statistics as R, as natural for string processing as Perl, as powerful for linear algebra as Matlab, as good at gluing programs together as the shell. Something that is dirt simple to learn, yet keeps the most serious hackers happy. We want it interactive and we want it compiled.

(Did we mention it should be as fast as C?)

 

WoW!!! that’s real, interactive,compiled,with the speed of c and also easy to learn. as well as general purpose like Python? 😀 I am laughing yeah really laughing.

 

Well that’s how Julia came to life, or that’s the real motive behind Julia Project.

 

How you know Julia is for You?

  1. You are continually involved in computationally intensive work where runtime speed is a major bottleneck. (I just do that with each code block of mine if possible)

2. You use relatively sophisticated algorithms. (sometimes I do that)

3. You write a lot of your own routines from scratch (I don’t do that)

4. Nothing pleases you more than the thought of diving into someone else’s code library and dissecting its internals. (do that ‘a’-lot!)

Most of the above tasks listed I try to Do with ‘Python'(I am actually in serious relationship with this tool 😀 😉 because it never puts me down in Day job and just works! )

HOW JULIA A SO MUCH FASTER????

images

 

Julia is a really well-thought-out language. While the syntax looks superficially Matlabby,(Is that really a word?) that is about as far as the similarity goes. Like Matlab, R, and Python, Julia is interactive and dynamically typed, making it easy to get started programming.

But Julia differs from those languages in a few major ways.

Under the hood, it has a rigorous but infinitely flexible type system, and calls functions based on “multiple dispatch”: different code is automatically chosen based on the types of the all arguments supplied to a function.

(is it some kind of skipping type-checks each time?)

 

When these features are combined with the built-in just-in-time (JIT) compiler,

No GIL.. yeahhh!!!!!

they let code–even scalar for-loops, which are famous performance killers in R–run as fast as C or Fortran.

Yes I want it fast LIke SEE (C)

But the real killer is that you can do this with code as concise and expressive as Python.

Still Pythonic!

 

I am excited are you to sale the SHIP in the sea?

 

 

 

Advertisements

Docker and other important things

One thing I am sure about now is there are toys around me whose I need to learn to play.. ❤

REST Python API

Requests module

Docker

Django

WSGI-> well what I know is it is medium between Webserver and your Application.

Application <WSGI> Python-application

Docker… Why?

It is Linux container, You can use containers to development.

Container seems better options to do things rather than normal..

Dear GOD, Please provide me chance to play with it!

Install BIMserver on Ubuntu

OK first of all if you have no idea what is BIM,IFC,BIMserver than you should be go for some Google and come again. I am writing a guide to setup BIMserver on Ubuntu.

$ sudo apt-get update
$ sudo apt-get install openjdk-7-jdk
$ sudo apt-get install openjdk-7-jre

Set the “JAVA_HOME” environment variable (If you do not know you can Google it or ask in the comments)

Again come to terminal:

$ wget https://github.com/opensourceBIM/BIMserver/releases/download/1.3.0-FINAL-2014-04-25/bimserver-1.3.0-FINAL-2014-04-25.jar

$ mkdir BIMserver

$ cp bimserver-1.3.0-FINAL-2014-04-25.jar BIMserver

$ cd BIMserver

$ java -jar bimserver-1.3.0-FINAL-2014-04-25.jar

This will extract the content of the jar file and create two subfolders, i.e. home and bimserver-[version]. Now an application window will open. You have to click on “start server”
Bingo..!! I have not tested it. Let me know(in comments) if you got any problem. Good luck with BIMing. 😉

Dpkg packages fix Bodhi/ubuntu/debian

$ sudo dpkg –configure -a
$ sudo apt-get –fix-missing
$ sudo apt-get -f install
$ sudo apt-get autoclean
$ sudo apt-get autoremove
$ sudo apt-get update
$ sudo apt-get upgrade
Bingooooo….!!

Bodhi linux , Bodhi and linux ,Bodhi and linux in india

THIS ARTICLE IS FICTIONS ON LINUX AND THE RISE OF BODHI LINUX, PLEASE DON’T TAKE IT SERIOUSLY AT ANY COST 😉

What is Linux:
http://en.wikipedia.org/wiki/Linux
http://www.linux.com/
http://www.linux.org/

There are millions or may be billions pages are available about Linux, Which you can find on the Google who also use Linux. Google has also promoted Linux very well to get great and stable services. Like Android which is also a fork of Linux. IMHO Linux is just not an operating system it is a thinking and when we use Linux we don’t use it we do Linux-ism. 😀

So that was all I wanted to say about Linux.
Now let us go to bodhi linux which is now one of my favorite Linux distro ever.
First: Who is Bodhi Linux
http://www.bodhilinux.com/
http://forums.bodhilinux.com/
http://www.bodhilinux.com/downloads_desktop.php

Bodhi Linux is the minimalist. Well it depends on how bodhi linux stuck in my mind. This is just the linux distro I ever wanted. That is Bodhi Linux. while tlking about Bodhi linux there are many other concepts those comes in our mind about Linux distros.

What actually all Linux user want from linux?

Light weight and fastest, Yes true. We want Light weight and fastest Linux distro because that is the actual standard of Linux but Linux with Gnome3,XFCE,ABC,XYZ, there are also good distros of Linux but not as good as Bodhi Linux. So we want fastest and Light weight linux.(Men’s style) But as we know there are lots of girls are taking lots of interests in the Linux so they want their Linux little bit dashy,sparky and styliey (I don’t know actual meaning of these words I just Listen from some of the girls :D). Due to this lots of graphical Linux developments has been started like Bodhi Linux. I am sure creator must be Indian because from the name of bodhi Linux we can see the Indian name Bodhi.

Basically Bodhi is Indian name:
http://en.wikipedia.org/wiki/Bodhi
http://www.facebook.com/wearebodhi
bodhi.in/

It is not Just enough that Bodhi is only a class of people or a clothes brand in bodhi, Bodhi is also a scared tree of India we also call it Bohad in Punjab. You can search the Images of Bodhi tree on Google by just typing the keywords “bodhi tree” or “bodhi india” or “india bodhi”(I just try to did some SEO trick for bodhi and linux here 😉 ) You can also see in the following Link.
http://en.wikipedia.org/wiki/Bodhi_Tree

Now you got how cool Bodhi and Linux are. Either the come together bodhi Linux or just separated bodhi and linux.

Now lets talk about features of bohdi linux.

Bodhi Linux is fastest Linux. When I say that about bodhi Linux you must have a question about Why it is fastest Linux? Number one about bodhi linux is that: Bodhi linux uses one of the light weight Linux desktop environment which is Enlightenment. You can find more about Bodhi Linux and enlightment in the following Linux related to Bodhi Linux and enlightenment.
https://www.enlightenment.org/
http://www.bodhilinux.com/e17guide/e17guideEN/
http://www.raspberrypi.org/forums/viewtopic.php?f=66&t=20423
Nuber two is ease of use of Enlightenment: Which is one of the biggest reason for bodhi linux to be one of the fastest Linux. It is common fact that how easy something will be to operate we will operate it fast. Just like hand pump is easy to operate than throwing a basket in the well. Using the handpump we can do much work with less time and less effort. (ahh handpump wali example tan siraa e c 😀 ) so using Bodhi linux due to ease of use we can do more work with bodhi in lesser time. Third point is smart design of bodhi and enlightenment. As I have already told you about hand pump in the bodhi Linux example, Ease of use comes from the smart design same as Hand pump is smart design than basket pull method so we can do easily and get maximum output same is due to smart design of enlightenment on Bodhi Linux. Graphics design, Application minimize, Software installation from browser in Linux, Reliability of Ubuntu Linux, Style of Debian Linux and Power of simple Linux are the best key features of Bodhi Linux.
There are lots of good reviews about Bodhi linux those you can see just type the keywords “bodhi linux” and you will get the lots of good stuff about bodhi linux. 😀 (apne wallon tan poora jor laya dekho ki banda 😀 )

en.wikipedia.org/wiki/Bodhi_Tree

%d bloggers like this: