Dushan888- Technology & FOSS for Humans

Technology & FOSS for Humans!

Archive for the ‘Computer’ Category

My Crazy Idea of Future Web

Posted by Dushi on October 28, 2009

Hell of work I’m doing these days. But this funny and freaking idea of future web started to ghost through my mind! May be I’m overloaded with work and started to see things. Whatever..
The future web. What would it be like? It keeps developing and developing 24 hours nonstop. Millions and billions of geeks/freaks/nerds and hackers are trying to make a new change. Speed is optimized by software+hardware and reliability is Secured by firewalls  but on other hand its not a safe place anymore to visit.

This is my crazy idea (please don’t get freaked out :D ).The future web may not have any browsers to browse or computer screens. Users may wear handy looking high tech “browsing goggles” . There will be nice comfortable “browsing chars” to give you those fancy vibrating and shaking real life effects. And your DTS surround system may serve as the noise of world wide web.

Then you power on your high power PC which definitely runs GNU/Linux. Then you turn on the browsing goggles…

First you will feel the empty 3D cyberspace around you, dark and silent. Then you may notice billions of tiny little particles of web sites. You may able to touch them,move them or throw them away in to the deep cyberspace as you wanted. Yeah they may Emmit beautiful colors too. I guess my favorite networks like google, youtube and wordpress will appear as giant colorful,glorious galaxies. Suddenly you wants to find something.. System takes 0.5mses to reads your brain signals and identify what you wanted and send a virtual character in front of you . Mostly it will be a kind looking lady in a pure white dress(mostly with the google logo). She identifies her self to you and asks your requirement. Then she may grab the the missing particle and give it to you…

Wow just think how it would be like! Freakingly awesome huh. I think Its better to stop now. Because you may already thinking that Dushi has gone crazy! Who knows this comic may be a prediction of the future web! What do you think of the future web? Will it be something like I mentioned ? Or is it just another freakish idea? What ever it is feel free to comment..

adios

Cyberspace in Future

Cyberspace in Future

Note : The technology mentioned about is never been built and I’m not doing cocaine or weed :D

Posted in Computer, Free Thoughts | Tagged: , , , , | 2 Comments »

Compressing and Archiving

Posted by Dushi on June 28, 2009

‘.tar’, ‘.gz’, ‘.tar.gz’, ‘.bz2′, ‘tar.bz2′, ‘.zip’. What are these strange extensions? Mostly you ll think these are all compressed files. But its better to understand exactly what these are. And why do we need them.

According to above extensions some are for compressed and some tells that they are archived.

Compressing

In linux/unix environment there are 2 main compression algorithms. They are ‘gzip’ and ‘bzip’. The difference of ‘bzip’ from ‘gzip’ is that ‘bzip’ is more capable of making smaller files than ‘gzip’. But ‘bzip’ consumes much more memory and takes time.

Howto bzip:

as usual open up your favorite terminal/konsole :D . Then follow the commands. I m having 4 files inside /home/dushi/test directory.

ls

ls

now im gona compress file1.txt using bzip2.

bzip2

bzip2

Thats all. Now ‘file1.txt’ is replaced by ‘file1.txt.bz2′ :D

Lets decompress that newly compressed file back to ‘file1.txt’.

bzip2 -d

bzip2 -d

it will decompress the ‘.bz2′ file into its originals.

Howto gzip:

gzip

gzip

same as above its really simple. I’m gona compress ‘file2.txt’ using ‘gzip’. it gives ‘file2.txt.gz’.

gzip -d

gzip -d

use -d to decompress.

Archiving

The ‘.tar’ format is the most common archive format in linux/unix environment. They are mostly called as tarballs. Archives are not compressed files. It combines one or more files into a single file. The idea is to achieve easier storage and transportation. Specially in web.

Howto archive:

lets go back into my /home/dushi/test/ directory again.

ls

ls

There are 4 files. Two compressed files and two normal text files. Lets archive them all into ‘MyArchive.tar’ .

tar -cf

tar -cf

from about cmd makes a tarball as ‘MyArchive.tar’ :D . To extract files from it ,

tar -xf

tar -xf

Thats all u should know :)   for more options refer,

$man tar

$man gzip

adios

Posted in Computer, Technical | Tagged: , , , , , , , , | Leave a Comment »

Tips and Tricks I use in Firefox

Posted by Dushi on May 27, 2009

firefox

firefox

I like Firefox a lot. Because its really user friendly,and secure. it kept me browsing  for about a year I think. And still I use it to snoop into cyberspace. Love it. But not 3.0.10. it has lots of bugs.3.0.2 comes in handy.  Ok cut that crap. I thought to share the things what I know about firefox, the things I use for my daily browsing.

01.Making icons small to get more screen space

View –> Toolbars –> Customize –> Use Small icons

02.Some common shortcuts

  • F5  –> reload page
  • Alt  + Home    –> go to home page
  • Ctrl + W    –>Close present tab
  • Ctrl + N   –> open a new browser
  • Shift + Spacebar    –>  scroll up
  • Spacebar   –> scroll down
  • Ctrl + L   –> go to address bar
  • Ctrl + K   –>go to search box
  • Ctrl + +   –>zoom in
  • Ctrl + -   –> zoom out
  • Ctrl + T  –> new tab
  • Ctrl + D   –>book mark this page

03.Navigate between tabs

  • Ctrl + Tab   –> navigate forward among tabs
  • Ctrl + Shift + Tab –>go to previous tab
  • Ctrl + 1-9 –>go to corresponding numbered tab

04.Some cool mouse tricks

  • Middle click on a tab –> closes tab
  • Middle click on a link –> opens in a new tab
  • Shift + scroll up –> go to next page
  • Shift + scroll down  –> go to previous page

05.Auto Complete

I really like this shortcut! Go to address bar by pressing Ctrl + L then type ‘Wikipedia’. Yes without the www and com. Now press Ctrl + Enter. Wow it automatically filled ‘www.’ and ‘.com’. Like that you can use,

  • Shift + Enter for ‘.net’
  • Ctrl + Shift + Enter for ‘.org’

Awesome huh!

These are just basic tips. Now lets go little deeper. Hacking ‘about:confin’ is the coolest part. This ‘about:config’ contains all the configuration settings of Firefox. So you should be more careful when handling it.

Accessing ‘about:config’ page  –  type ‘about:config‘ in the address bar. Yes make that promise! and here we go….

about:config

about:config

These are the configuration entries of about:config. You can filter them by entering the key words in the ‘Filter’ field. All fields can be updated with double clicking on them. Ok lets do some work…

[1]  Control RAM usage

If you’re having low amount of memory in your PC, this option will be useful. Filter ‘browser.cache‘. Double click on ‘browser.cache.disk.capacity‘. The default value will be 50000. If you’re having between 512MB and 1GB of ram, 15000 would be fine.

browser.cache.disk.capacity

browser.cache.disk.capacity

[2]  Reduce RAM usage further when the browser is minimized.

In ‘about:config‘ right-click anywhere. Then select new boolean. Name it as ‘config.trim_on_minimize‘ and set it to true. Finally restart the browser.

[3]   Disable Antivirus Scanning

This is for windows users. By default Firefox 3 scans all the downloads with the default antivirus software for your protection. But how ever this will reduce your speed (when the file is big). If u want to stop that (but better f you can keep it) edit the following,

‘browser.download.manager.scanWhenDone’ and modify its value into False.

browser.download.manager.scanWhenDone

browser.download.manager.scanWhenDone

[4]   Handling spell checking in all text fields

Filter ‘layout.spellcheckDefault’. By default the value is 1.

layout.spellcheckDefault

layout.spellcheckDefaul

You can change it into following value

  • 1 – spell checker for multi-lines text boxes only.
  • 2 – enable the spell checker for all text boxes.
  • 0 – disable the spell checker.

[5] Open Search Box Results In New Tab

Filter into  browser.search.openintab‘. By default its value is false, tells to display the search results in the same window. Make it into ‘true’. Then the search results will show in a new tab.

[6] Configure Backspace Button

I like my browser takes me to the previous page when  press  ‘backspace’. Make it your own. Fined ‘browser.backspace_action’. You can have 3 options,

  • 0– go back previous page
  • 1-page up
  • 2-does nothing (default case)

[7] Autohide Toolbar in Fullscreen mode

browser.fullscreen.autohide ‘ this config decides whether to show the tool bar or not in fullscrean. True – always auto hide and False – always show.

[8] Configuring the Scrolling Tabs

When you open many tabs a scrolling bar will show up.

Configuring the Scrolling Tabs

Configuring the Scrolling Tabs

And you can use it to find your tabs. Instead of that, you can change the tab width or else make it ‘0′ so that scroll bar will never show up. It’s very easy for me to find what I wanted because every thing is in a single frame. Filter into ‘browser.tabs.tabMinWidth‘ and change the default 100px for your choice.

[9]  Show/Disable Close button on Tabs

Maybe you would like to have close buttons for your choice. It’s possible with ‘browser.tabs.closeButtons‘ config. The following options are available,

  • 0 – display the close button on the active tab (what I m using)
  • 1 – display on all tabs(default)
  • 2 -  don’t display any close buttons
  • 3 – display a single close button at the end of the tab strip
Show/Disable Close button on Tabs

Show/Disable Close button on Tabs

[10] speed up Firefox

These setting are for people who use broadband connections like me. They really work. Helps to optimize your browsing speed. You can also give a shot and see.

Config name: network.http.max-connections
Default: 30
Modified value: 96

Config name: network.http.pipelining
Default: False
Modified value: True

Config name: network.http.pipelining.maxrequests
Default: 4
Modified value: any value higher than 4, but not more than 8

Config name: network.http.max-connections-per-server
Default: 15
Modified value: 32

Config name: network.http.proxy.pipelining
Default: False
Modified value: True

So these are some of the thing which I use for my daily browsing. It’s really helps me. There are so much other things too. I’m leaving them you to find out. Enjoy the tricks+hacks.

Adios

Posted in Computer, Technical | Tagged: , , , , , | 2 Comments »