# my net house

WAHEGURU….!

## Sage and programming!

http://www.sagemath.org/doc/prep/Programming.html

http://www.sagemath.org/doc/tutorial/programming.html

## Learn Parsing in 40 minutes

http://parsingintro.sourceforge.net/

## Ahaaa!!! SageMath Oh man :D

x < 0 > y

Now in the above expression 0 is always greater than the any value of x and y.

There are following four chances generates between x and y:

x=y(both=-n) [both are equals, but less than zero]

x!y(-m,-n) [both are not equal, but less than zero]

x><y(when -m!-n) [either one is big or other]

x<>y(when –m!-n)[either one is less or other]

When you understand how to write an mathematical expression that is “True for all the numerical” that means You are working with CAS. Computer Algebraic System

## My S^2 :D (y)

S=Sage

S=Sufi

Yes Listening Sufi Music and doing Sage is like my mind is in the Best stable state ever!

http://www.walkingrandomly.com/?p=1879

## Sage and fourier series power-pack

Hi these are just initials. You can use these for quick learning of Fourier and SageMath together. :) IMHO Video is awesome..

http://www.walkingrandomly.com/?p=1879

http://wdjoyner.com/writing/teaching/sage_fourier.pdf

In the below sawtooth function really looks like saw-tooths. :)

http://sage.curtislab.org/tutorial/fourier.html

## Fourier Series and ………….

Ok first of all according to Sir Leonardo “imagination is everything”. We are lucky we have brain to imagine the things. My imagination if Using the fourier or discreate fourier transformation we can create the \$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$Fourier Series->Vibrations->Transformations with power packed with SageMath Civil people can solve all the vibration  problems only with few clicks\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$ Well even I have no idea yet what the problems civil Engineers face with Vibrations. :D ;) (Imagination+believe) Ok First of I need to understand Fourier Series. Fourier Series: It decomposes Periodic functions or periodic signals into sum of simple oscillating functions. Simple oscillating functions can Sines,cosines or complex exponential. ################################################################################################# IN SIMPLE:Periodic function = Simtion(i=0,n)[Xn] Were n= number of sets and X=osculating function ################################################################################################# But that is not enough of the Fourier series learning: Periodic functions: (Ctrl+c Ctrl+v from Wikipedia :D) In mathematics, a periodic function is a function that repeats its values in regular intervals or periods. The most important examples are the trigonometric functions, which repeat over intervals of 2π radians. Osculating Functions:  Seems little difficult let’s start with Oscillation. (simple) Oscillation is the repetitive variation, typically in time, of some measure about a central value (often a point of equilibrium) or between two or more different states. Ok that means in my language it is just a graph that how the values changes from -ve to +ve value in some interval of time For example Alternate current. (AC) Ahh, got you. Oscillations occur not only in mechanical systems but also in dynamic systems in virtually every area of science: for example the beating human heart, business cycles in economics, predator-prey population cycles in ecology, geothermalgeysers in geology, vibrating strings in musical instruments, periodic firing of nerve cells in the brain, and the periodic swelling of Cepheid variable stars in astronomy. Ok now feels I am the following kind of situation:

# Oscillation Troll: http://imgs.xkcd.com/comics/string_theory.png

## You had my Curiosity but Now you have my Attention…!!

First of all it is Django! The D is silent. ;)

http://www.youtube.com/watch?v=eUdM9vrCbow (You can move forward without watching it, if you are tasteless and non-passionate) but don’t be serious. :D

Web2py is almost similar like Django then why Django? (Life, Liberty, and the pursuit of vengeance)

So to learn Django…!? (Bounty hunter business is really Risky thing!)

To do only template work we don’t need start all the big Django ship. A small boat is enough!

http://wagtail.io/#get is a small boat.

What  happen when the storms are big and fluffy?

Django and Wagtail can work together. :) We can use Wagtail code inside Django.

How to install?

And the things running on localhost:8000 are really awesome. :)

Django is off the chains!!

SQLite is supported as an alternative to PostgreSQL – update the DATABASES setting in wagtaildemo/settings/base.py to use ‘django.db.backends.sqlite3′, as you would with a regular Django project.

## LTSP Load Balancing Part One (Installation+Booting)

There are many Linux Flavors which provide easy and simple solution with  load-balancing upto ten Thin-clients on single server. For the specific conditions like more than one server and large number of thin-clients equipped labs we have to do some small tinkering with the configuration files. This is later part and I will describe it one the next part.

Available options are Edubuntu, Open-Suse(Kiwi), K12LTSP, and Skolelinux.

We will use Skolelinux for our purpose. It is better documented and well supportive.

First of all let me explain a very simple logic how Booting and Load-balancing happens between Linux server and Thin-clients.

Linux server+LTSP+DHCP = Complete [(Load-balancing) + (Fail-over) + (Thin-client boot)]

Basically DHCP works to boot thin-clients from the Linux server and LTSP decides what kind of applications+resources should be provided. To save all users data Open LDAP. (This is very much later)

Now first of all you have to download the ISO file from the link below. (It has 5.4 GB size)

http://ftp.skolelinux.org/skolelinux-cd/debian-edu-7.1+edu0-USB.iso

Now you need to burn it on pendrive using the the following links.

http://unetbootin.sourceforge.net/

Unetbootin is the application to make bootable pendrive from ISO file.

Before starting the installation make sure your Ethernet card/cards should not be connected to LAN cable.

Start the installation.

There are various options to install and configure “Skoole Linux” but here I am providing simplest and best one. :)

In the following PDF to see the installation instructions please direct jump to Page No. 9. (You can read all the technical data explained in the page 1-8 but presently please follow my tutorial as is )

http://maintainer.skolelinux.org/debian-edu-doc/en/debian-edu-wheezy-manual.pdf

All the installation procedure is from page No. 20-28 should follow as described in the PDF.

#########################################################################################

In between the installation you may have problem with Partitioning you hard disk. I suggest to use the option “Use Entire Disk” only if you have nothing to lost on your hard-drive. Otherwise for advance Partitioning Scheme you the following link.

https://www.debian.org/releases/stable/i386/apc.html.en

#########################################################################################

After the installation completion connect your LAN cables as you normally do with windows setup and boot your server.

The same procedure has to be done for all of other three servers but I suggest to try it only one server first and let your Thin-client boot from it.

This is simple Thin-client booting from server. No load-balancing or other implementations has not been done yet. Let me know when you will be able to complete your work till this step and I will write the Second part which will Explain how to make one ROOT server ans other Three Application Servers.

## MATE and ME

`sudo apt-get install mdmsudo rm /usr/bin/startlxdesudo ln -s /usr/bin/mdm-run /usr/bin/startlxde`