Learning C++ as a New Language
Yesterday I digested learning C++ as a new language paper by Bjarne Stroustrup. I am looking for a “correct” approach to learn programming. Programming science is giant mastodon. Programming is so huge system that it can’t be observed completely even after years of research. There are no professionals, who know all kinds of programming. Even old specialists with several areas of expertise observe only piece of puzzle. My target is to find universal guide into all, or at least most kinds of programming. A guide, that observes the whole mastodon and popularly describes every part of it.
However, the paper was not about my search. The paper is a good introduction into C++. It does not describe syntax of language, but provides a manual, guiding where and how to start learning the language. I noted, that those advises do not apply to C++ only, but applicable for any programming language. The paper is highly recommended to students, who are completely new to programming, as well as to teachers, creating their teaching programs.
I want to note, that if my teachers trained me according Stroustrup’s advises, educational effect would be higher. At least, i wouldn’t have had to discover a difference between standard library and language syntax myself. So if you are not satisfied by your teachers. but not sure where to start this paper is for you.
Speed up Firefox 3.5 on Fedora 11.
Since I moved to Fedora 10, I noticed Firefox became noticeably slower than before. Start-up was taking about 30 seconds. Even right click menu appearance had noticeable delay. I suspected plug-ins. I minimized amount of my plug-ins twice. It didn’t help.
After I suspected history and private data database. I tried to clean up history manually, but it did not decrease its size. Deleted entries were just marked as deleted, but kept remain in database. There was the last hope – trying to delete places.sqlite file manually. I had a hope that Firefox checks existence of database and recreates it in case of absence. And yes – it does it! It increased starting speed for about 5 seconds.
To eliminate large-history-problem in the future, I set a limit on it. You just need to go to about:config page and set a search filter to browser.history. Th following values need to be changed:
browser.history_expire_days;
browser.history_expire_days_min;
browser.history_expire_sites;
Personally, I set them to 30, 15 and 5000 accordingly. You may choose another values.
My last concern was language packs. There are all possible language packs installed and enabled by default in fedora’s Firefox. I disabled them all (a lot of clicking), except Russian and English ones. Miracle! Firefox starts up several times faster! Now it takes about 7 seconds only!
Cracking a WEP on HP Pavillion dv6k, Powered by Fedora 10
Introduction.
I was interested in wireless security since I have read some articles in “Xakep” magazine several years ago. They were saying “Most wireless networks are vulnerable and can be cracked within a day”. It was quite embarrassing that such a security threat can exist and really wanted to check whether it was true or not. Those years I did not not have any piece of needed experience. The task to crash test WEP stayed in my mind for years. Recently I have tried it.
Disclaimer.
All material is presented for educational purposes only. Do not apply this material’s guidelines in real life on real networks. Especially the ones, which do not belong to you.
This in not a how-to. This is a description of my experience. I do not guarantee, that process and steps, described here, will be applicable in your case and that it will work for you as well as it worked for me. I am not in charge of your failures.
System used.
I have used HP laptop with Intel 3945 wifi card installed, powered by fedora 10.