Showing posts with label ubuntu linux. Show all posts
Showing posts with label ubuntu linux. Show all posts

Saturday, July 8, 2017

Building android app

I think 'Android studio' is a good tool to play around. It can build some application within hours.

I drag and dropped some button in minutes (but no functionality for the buttons :-) )and simulated Nexus 5 android device.






Monday, April 10, 2017

Installing texlive in My ubuntu Machine

I want to try translating some computer programming books to malayalam...
texlive -latex full packages will give you an opportunity write good looking books.

installation in Ubuntu:

apt-get install texlive-full

I don't think texlive support malayalam fonts,but let me see whether I can copy-paste from some translator.


Monday, May 30, 2016

How to start with RUST LANG in linux machine

I am started hearing about RUST programming language http://doc.rust-lang.org/book/README.html, so thought of give a try 'helloworld' program. The impressive thing is,the language focus on safety,speed and concurrency.

Rust is a systems programming language focused on three goals: safety, speed, and concurrency. It maintains these goals without having a garbage collector, making it a useful language for a number of use cases other languages aren’t good at: embedding in other languages, programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems

There is very good documentation - http://doc.rust-lang.org

Below is the installation steps, helloworld program . I gave a 'Strace' on the program to see any difference.I couldn't understand any difference :-).. i dont know how to find the difference in speed or concurrency.. need to read more ...

Sunday, May 29, 2016

Unconventional way of studying things..

Sometimes I think that I studied lot of things in engineering text books, but don't have any clue on how the concepts/formula derived or how much analysis they put behind on those concepts.That research or hacking experience generally missing in text books. Sorry ..I am not saying school/college text books are bad. We ( as students) always needs to read text books .. but what I am trying to convey is... sometimes  textbooks are missing practical possibilities of  formulas or concepts.

There comes the importance of unconventional way of studying things..  or the hackers(in good sense) way of mastering the interested areas. Our schools and  colleges should give these kind of opportunities for students.

 Okay.....

These things came to my mind when I was watching the below video... 





She (http://jvns.ca )  explains the tool 'strace'

I tried 'strace' against our normal linux command 'ls'. This actually listed me amazing tracing log ...

 This is just an example .All concepts that we are studying/hearing should have unconventional way of mastering it or we should at least try to develop it !!!

None of the computer text books might have taught you on, what actually happens behind the 'ls' command. But the unconventional way is, find out some tool which can list the activities behind 'ls' and mastering what is it doing.... obviously it is very difficult, but  it gives you the full concepts behind the 'ls' upto very low/machine level.

Unconventional way of studying things opens opportunities which are not described in most of the text books That gives you the confidence to question the actual concepts or current implementation.

But it will have some initial difficulties and extra research  out of your text books or tutorials. But I am sure that there will be always some supporting tools/methods which somebody might have implemented already or you can implement such a method if it's not there!! :-)

Below is the screenshot of 'strace' on  'ls' in command line



some research on each system calls behind means ..











LXR Cross Referencer to read linux kernel source code

LXR Cross Referencer

This is the best place to refer one who like to know about linux kernel. http://lxr.free-electrons.com/ LXR Cross Referencer, usually known as LXR, is a general-purpose source code indexer and cross-referencer that provides web-based browsing of source code, with links to the definition and usage of any identifier.

I also found the following site is very helpful to start with linux kernels http://kernelnewbies.org/FirstKernelPatch

Saturday, October 3, 2015

Ubuntu internet wifi speed increase tip

Probably you can try the below steps in the Ubuntu machine to see whether your Internet speed is increasing or not

Step1:Put the below code in the bottom of the file using the bellow command



sudo vi /etc/sysctl.conf

net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
net.ipv4.tcp_wmem = 4096 87380 524288
net.ipv4.tcp_rmem = 4096 87380 524288
net.ipv4.tcp_mem = 524288 524288 524288
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_ecn = 0
net.ipv4.route.flush = 1

Step2: run the below command
sudo sysctl -p

You can also disable your IPv6

Step1: go Wifi symbol and click it , you will get a edit connection option

Step2: select the wifi you are using and edit the configuration , in IPv6 configuration , select method as 'ingnore'

Thursday, August 20, 2015

Why linux ?

Why Linux ?

More than an operating system, Linux is a nice learning platform which takes you through some challenges always..


And there is great community loves GNU

why Linux, reasons is explained nicely in this website http://www.whylinuxisbetter.net/

Linux commands - http://www.tutorialspoint.com/listtutorial/Linux-Shell-commands/2596

Linux Concepts - http://www.tutorialspoint.com/listtutorials/linux/basic-concepts/1

Get Ubuntu Linux here - http://www.ubuntu.com/download


Saturday, July 11, 2015

Baking Pi University of Cambridge course video tutorials

Baking Pi video tutorials

If you are really going to bake raspberry pi board, these are the tutorials we can follow ..
Baking Pi is course/guide to deverlop operating system on the Raspberry Pi board

https://www.raspberrypi.org/forums/viewtopic.php?f=72&t=82871

http://www.cl.cam.ac.uk/projects/raspberrypi/

Saturday, January 8, 2011

going to implement CPU and OS from single book ( 152 Rs)

I have ordered the book introductory CS course called The Elements of Computing Systems. . Hoping I can revist the ALU,CPU, .........assembler/vm/language/os .

Course simplifies Computer Science into a single course ( no need to study Computer Architecure , Assembly, language, complier, OS text books seperately ) ...one shot everthing in it . Don't know much about it ,but ordered the book. read below .TECS - The most amazing CS course I have seen!

Sunday, July 27, 2008

Experience ubuntu

What is Ubuntu? I am searching new answers. I will say this is more than an operating system... more than a software or man made computer intelligence. This is derived from people who offer humanity or allow or make a way others to grow in the computer science world.

see this

Saturday, July 26, 2008

Ubuntu become very much advanced

Today I tried to play video in Ubuntu 8.04 LTS. Then its asked for some file encoding software. After checked them to installation , amazing it automatically download the data from net and installed in lap. Now i am quite confident to say after 2 years in Kerala you can see more Ubuntu Desktops in Schools and Houses compared to MS.Ubuntu gives you the power and flexibility for business, education and home use.

Sunday, July 20, 2008

Ubuntu can change everything

Yesterday I had installed Ubuntu 8.04 LTS Desktop Edition. I really wondered on seeing the installation as well as appearence of latest Ubuntu. In that cover of Ubuntu CD ( www.ubuntu.com ), they have described their mission. After one round usimg I realised the tremendous differance between 6th and 8 th version of Ubuntu.You can feel the differance in windows closing ,utilities and in booting ,opening screen. Moreover I understood the strength of ubuntu community ( www.ubuntu.com/community ) . "Ubuntu" is an ancient African word that means "humanity to others " . This Linux distribution brings the spirit of Ubuntu to software world.

But this time also I missed to make a swap partion. Actually I don't know how to make a swap? How much space needed ? How it should be specified at the time of installation??

Sunday, June 29, 2008

Open source business tools

Now I am doing everything with opensource( for my personal things and personal business) . For writing documents openoffice, for editing images GIMP and 'vi' as program coding.Everything is free and available in UBUNTU operating system.

Wednesday, May 21, 2008

ubuntu counting my patience

I tried to get play audio and video in Ubuntu Linux. But it's showing "Totem could not start up" message. After that I went for downloading some other player.Then Synaptic Package Manager is showing some error like

W: Couldn't stat source package list http://archive.ubuntu.com hoary-updates/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hoary-updates_main_binary-i386_Packages) - stat (2 No such file or directory)


this. I tried toinstall php also in ubuntu. But it also failed. 'apt-get install' is also not working. Now I am totaly upset.

Friday, May 2, 2008

ubuntu running

Today only I installed ubuntu linux. After installation I had xserver configuration problem in ubuntu so that I could not go to graphics mode. I tried lot off time to login as root(super user) . Actually ubuntu will not ask root password at installation time. Finally I had to google for that. Then I got 'sudo' command. https://help.ubuntu.com/community/RootSudo . Reconfiguring command for xserver is 'sudo dpkg-reconfigure xserver-xorg'

Thursday, May 1, 2008

TATAINDICOM broadband in my laptop ubuntu

I have adsl router.
step1: http://192.168.1.254 (type adsl username and password as 'admin')
step2: in Interface Set Up -> select ISP as PPPoE/PPPoA
. enter your broadband provider given username and password
. encapsulation : PPPoELLC
. give ip address : dynamic (in that page)
. SAVE

. click Maintenance -> Sysrestart
. click current settings
. RESTART
. wait upto RESTART complete.

step3: in Ubuntu
. System -> Administration -> Networking

. Enternet connection -> Properties

. configuration - > static ip address
. ip address : 192.168.1.7
. subnet mask: 255.255.255.0
. gateway : 192.168.1.254

. DNS : 202.54.6.60