tag:blogger.com,1999:blog-62509158555383132852024-03-12T18:06:15.542-07:00News from Planet OS-88Blog from an [O]pen [S]ource Planet to my friends, and visitors.akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.comBlogger47125tag:blogger.com,1999:blog-6250915855538313285.post-19394012550960912672009-12-12T16:56:00.000-08:002009-12-12T17:01:15.571-08:00Moving...Hi!<br />I always wanted to try out wordpress... so I've created an accounted there, and transfered all of my post.<br />You can follow me at <a href="http://mydailyhash.wordpress.com/">http://mydailyhash.wordpress.com/</a>.<br />Thank you for reading / following / commenting. :)<br />Have a nice day.akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.com3tag:blogger.com,1999:blog-6250915855538313285.post-26192065920182013312009-09-25T00:43:00.000-07:002009-09-25T02:40:50.626-07:00openSUSE 11.2 Milestone 7Hi!<br />The openSUSE community released the 11.2 M7 on September 10 - yes I know it was about 15 days ago... so there is nothing new in this post :D. I've just wanted to publish some screenshots from my <a href="http://en.opensuse.org/VirtualBox">VirtualBox</a> about the upcoming release of openSUSE.<br />For the complete list of changes see <a href="http://en.opensuse.org/Factory/News">http://en.opensuse.org/Factory/News</a>.<br /><br />The bootloader is still using the old 11.1 artwork - it's a <strike>bug</strike> feature:<br /><table style="width:auto;"><tr><td><a href="http://picasaweb.google.com/lh/photo/fBhvVyo1AVTLvHRo4Zjr5Q?feat=embedwebsite"><img src="http://lh3.ggpht.com/_EtOhK920p0c/SryK1gYsK4I/AAAAAAAAAJI/CTkTBhJrx2M/s144/m7_3_blogspot.jpg" /></a></td></tr><tr><td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/akoskm/OpenSUSE112Milestone7?feat=embedwebsite">openSUSE 11.2 Milestone 7</a></td></tr></table><br /><table style="width:auto;"><tr><td><a href="http://picasaweb.google.com/lh/photo/aKoNz_YA6iGa28BwBq16-w?feat=embedwebsite"><img src="http://lh6.ggpht.com/_EtOhK920p0c/SryK1xAae-I/AAAAAAAAAJM/K_QrqylTzj8/s144/m7_6_blogspot.jpg" /></a></td></tr><tr><td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/akoskm/OpenSUSE112Milestone7?feat=embedwebsite">openSUSE 11.2 Milestone 7</a></td></tr></table><br />The new KDE4.3 artwork - KDM login screen (Air theme):<br /><table style="width:auto;"><tr><td><a href="http://picasaweb.google.com/lh/photo/Qwgji3DQqkLjOI6hUC5AAQ?feat=embedwebsite"><img src="http://lh6.ggpht.com/_EtOhK920p0c/SryK2T8U7vI/AAAAAAAAAJQ/TqtK9mgbm2E/s144/m7_8_blogspot.jpg" /></a></td></tr><tr><td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/akoskm/OpenSUSE112Milestone7?feat=embedwebsite">openSUSE 11.2 Milestone 7</a></td></tr></table><br />Improved widgets and usability, the desktop themes are using more gradient/blur it's looking very cool now:<br /><table style="width:auto;"><tr><td><a href="http://picasaweb.google.com/lh/photo/-0Lx5THuGOln_z8VAlHFiQ?feat=embedwebsite"><img src="http://lh6.ggpht.com/_EtOhK920p0c/SryK2uMbnvI/AAAAAAAAAJU/sFdlJfmnfvU/s144/m7_10_blogspot.jpg" /></a></td></tr><tr><td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/akoskm/OpenSUSE112Milestone7?feat=embedwebsite">openSUSE 11.2 Milestone 7</a></td></tr></table><br />The redesigned YaST interface:<br /><table style="width:auto;"><tr><td><a href="http://picasaweb.google.com/lh/photo/mXQ_-BB7R03FQdYe89O_cg?feat=embedwebsite"><img src="http://lh3.ggpht.com/_EtOhK920p0c/SryK3L8a7sI/AAAAAAAAAJY/XmkX5--tUow/s144/m7_11_blogspot.jpg" /></a></td></tr><tr><td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/akoskm/OpenSUSE112Milestone7?feat=embedwebsite">openSUSE 11.2 Milestone 7</a></td></tr></table><br /><br />You can download the Milestone 7 from: <a href="http://software.opensuse.org/developer">http://software.opensuse.org/developer</a>. Remember, this version is only for testing, for the latest stable version visit: <a href="http://software.opensuse.org/">http://software.opensuse.org/</a>.<br />... and of course, Have a lot of fun! :)akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.com3tag:blogger.com,1999:blog-6250915855538313285.post-85561513355870618282009-09-18T14:08:00.000-07:002009-09-19T00:06:46.634-07:00openSUSE HCL - ideasIn the past few days we have a little conversation about <a href="http://en.opensuse.org/HCL">openSUSE HCL</a> <a href="http://forums.opensuse.org/general-chit-chat/421857-opensuse-hcl-idea-improve.html">http://forums.opensuse.org/general-chit-chat/421857-opensuse-hcl-idea-improve.html</a> and about some new ideas to improve it:<br /><br /><li><b>search-based HCL</b> - like <a href="http://www.ubuntuhcl.org/">http://www.ubuntuhcl.org/</a> instead of showing wiki-pages there is a search form with advanced filtering options - what definitely reduces the search time. It would be also practical if you're searching for a specific hardware or you just want to browse the list of hardwares by the selected manufacturer to see, which devices are supported.</li><br /><li><b>input forms for new entries</b> Do you know the wiki-syntax? The most basic formatting options are easy to learn, but it's still required to know if you want to add a new hardware or configuration to the HCL. My opinion is, that for a newbie user it's a critical point to finish your contribution. Modifying the data using forms would be simpler then browsing through a long wiki-page to modify a word or two.</li><br />These are my reasons for building a new HCL. What do you think about it?akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.com2tag:blogger.com,1999:blog-6250915855538313285.post-76903310678891903962009-09-16T01:56:00.000-07:002009-09-16T01:59:38.828-07:00Computer Support CodesIn computer support, a variety of codes can be used when referring to a customer<br /><span style="font-weight:bold;"><br />PEBKAC</span>: Problem Exists Between Keyboard And Chair<br /><br /><span style="font-weight:bold;">PICNIC</span>: Problem in chair - not in computer<br /><span style="font-weight:bold;"><br />ID 10 T Error</span>: ID 10 T is, of course, IDIOT<br /><br />source: <a href="http://www.uphaa.com/blog/index.php/secrect-code/">http://www.uphaa.com/blog/index.php/secrect-code/</a>akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.com2tag:blogger.com,1999:blog-6250915855538313285.post-36967565709500869642009-08-20T14:41:00.000-07:002009-08-20T14:50:09.307-07:00YAMI Neutral Builds!I've just a found a great hosting service at <a href="http://www.heliohost.com/">http://www.heliohost.com</a> and uploaded the first neutral build of YAMI. You can find the packages @ <a href="http://yami.heliohost.org/">http://yami.heliohost.org/</a>.<br />After downloading just start with:<br /><pre>java -jar yamiSVN181.jar</pre><span style="font-size:85%;">Remember:In software development, a neutral build is a build that reflects the current state of the source code checked into the source code version control system by the developers, but without any developer-specific changes.</span>akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.com0tag:blogger.com,1999:blog-6250915855538313285.post-48291229976679859792009-08-19T09:43:00.000-07:002009-08-19T11:09:58.060-07:00return 0First of all: this blog isn't dead! I just made a little vacation. :)<br />...and I'm back! with new experiences what I want to share with YOU.<br />Lets get start with my project YAMI. On the site <a href="http://yami.googlecode.com/">http://yami.googlecode.com</a> you can see that the latest change is from 2009.02.06. :S Yes I was to lazy to touch this code, but today I committed the latest revision <a href="http://code.google.com/p/yami/source/detail?r=181">r181</a> with some minimalistic changes like new code formatting rules and such as, and I also added the latest version of the JDBC connector's license. I'm still searching for contributors, please contact me if you have some experience in Java!<br />You can download the Nightly builds of YAMI - precompiled packages, just start them with:<br /><span style="font-style: italic;">java -jar yami_nightlyBuild.jar</span><br />(<span style="font-weight: bold;">Nightly builds are unstable versions, use only for testing!</span>)<br />The latest stable version is 0.1.3 download here: <a href="http://code.google.com/p/yami/downloads/list">http://code.google.com/p/yami/downloads/list</a>.<br />For the source code take a look to: <a href="http://code.google.com/p/yami/source/browse/#svn/trunk">http://code.google.com/p/yami/source/browse/#svn/trunk</a>.<br /><br />New topic.<br />Qt Jambi - i started to write a netlimiter-like application in Java using the <a href="http://akoskm.blogspot.com/2009/04/qt-jambi.html">Qt Jambi framework</a>. I still agree that the framework is lightweight and looks pretty cool compared to the old Java metal style, but... deploying a pure Qt Jambi application is a nightmare.<br />Why? The documentation is still incomplete, they have no community site or forum (I've already mentioned this on qtlabs). The only thing what the Jambi community have is a mailing list, what is IMHO a bit uncomfortable. I want to finish this project (without Qt Jambi OFC) because there is no netlimiter-like application for Linux with graphical user interface - or at least I can't find any of them. :)<br />If somebody is interested in this project, please drop and e-mail or add a comment!<br /><br />Ow, new theme ^^, cool isn't? ;)akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.com3tag:blogger.com,1999:blog-6250915855538313285.post-46772232505901565802009-04-20T09:30:00.000-07:002009-04-20T09:56:01.963-07:00Oracle to Buy Sun<a href="http://www.oracle.com/index.html">Oracle</a> and <a href="http://www.sun.com/">Sun</a> are partners for more than 20 years. The Oracle Databases are performing better on <a href="http://en.wikipedia.org/wiki/SPARC">SPARC</a> platforms then on any other. Now they are owning all stages of server business, what begins with hardware development (SPARC) and ends with software development (Solaris, ORACLE). But what does it really means? The end of <a href="http://www.mysql.com/">MySQL</a>, no more free <a href="http://en.wikipedia.org/wiki/Software_Development_Kit">SDK</a>s, <a href="opensolaris.org/">Open Solaris</a>?<br />I hope that Oracle will know how to use the power of the open-source software.<br />...and at least, if it's all about the money (yes, it is) Oracle knows that for the first place in the software/hardware business he needs better and cheaper solutions than the others...<br /><br />Reference:<br /><a href="http://www.sun.com/aboutsun/pr/2009-04/sunflash.20090420.1.xml">Official Press</a>akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.com1tag:blogger.com,1999:blog-6250915855538313285.post-47844499275510169952009-04-20T02:54:00.000-07:002009-04-21T14:21:47.330-07:00Facebook. Blahh.Facebook is getting to complicated for me. My News Feed is always full. I can't figure out how to separate party-pictures from important posts and status updates. So... I've opened a <a href="http://twitter.com/">Twitter</a> account, I'll post my daily-developer activities <a href="http://twitter.com/akoskm">here</a>.<br />Have a nice day!akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.com4tag:blogger.com,1999:blog-6250915855538313285.post-58063786865798486972009-04-19T09:53:00.000-07:002009-04-21T14:22:30.456-07:00Qt JambiHi!<br />Maybe you've already heard about <a href="http://www.qtsoftware.com/">Qt</a> ( Trolltech ) company. It is best known in the Linux community as the basis for the <a href="http://kde.org/">KDE</a> desktop environment. <span class="link-external"></span>They are developing a cross platform framework for C++ and <a href="http://java.sun.com/">Java</a> (<a href="http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/qtjambi-index.html">Qt Jambi</a>). Today I tested their framework and compared it to <a href="http://en.wikipedia.org/wiki/Swing_%28Java%29">Swing/AWT</a> (<a href="http://www.sun.com/">Sun</a>'s framework).<br />The naming conventions are basically identical to Java, the most difference is that in Qt Jambi everything begins with Q (QTable, QPushButton), and not with J like in Swing (JTable, JButton). :)<br />The components are being created on the same way in booth frameworks.<br><br />Qt Jambi:<div class="alt2">QTableWidget table = new QTableWidget(1000, 5);<br />QTableWidgetItem item = null;</div><br />Swing / AWT:<div class="alt2">JTable table = new JTable(1000, 5);<br />Object data = null;</div><br />The concept for filling out tables is the same for booth TableModel and AbstractTableModel. Let's fill out these tables:<br /><br><br />Qt Jambi:<br /><div class="alt2"><pre>for(int i = 0; i < 1000; i++) {<br /> for(int j = 0; j < 5; j++) {<br /> item = new QTableWidgetItem("Test value");<br /> table.setItem(i, j, item);<br /> }<br />}</pre><br /></div><br />Swing / AWT:<br /><div class="alt2"><br /><pre>for(int i = 0; i < 1000; i++) {<br /> for(int j = 0; j < 5; j++) {<br /> data = "Test value";<br /> table.setValueAt(data, i, j);<br /> }<br />}</pre><br /></div><br />Qt table uses less memory with ~4MB, which is probably caused by the number of preloaded classes. I hope that Qt's Slot approach for generating events also takes less memory then the Swing listeners. That was for today. I'll come back with new test result as soon as I can.<br />Bye!akoskmhttp://www.blogger.com/profile/17934693804929478861noreply@blogger.com3tag:blogger.com,1999:blog-6250915855538313285.post-71703555095565781812009-03-21T01:06:00.000-07:002009-03-21T01:16:25.418-07:00Find executables for missing start menu applicationsYou will find the most programs in your Start menu. They have search function. Type there the programs name, that's all. But, sometimes it happens that the installer doesn't create start menu entry.<br />Our freshly installed package called <span style="font-weight: bold;">tightvnc</span>. So, if the program isn't there, then you need to find the executable for it. In windows, you go to the place where the program was installed, and double click to the executable. In Linux: you need to open the Terminal, Konsole, whatever - the Command line.<br />Like in windows you can search for all installed programs in Add Remove programs. Here is the alternative - a bit faster. Type in Command line (CLI) the following:<br /><div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code:</div> <pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;">rpm -qa | grep tightvnc</pre> </div>the output will be all installed packages containing the name tightvnc. Copy the FULL name (including number) of the tightvnc package, this is what you need. Now type this:<br /><div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code:</div> <pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;">rpm -q --fileprovide [pasteherethefullname]</pre> </div>This will output the complete list of files installed from this package. The executables are mostly in the <b>/usr/bin/</b> directory.<br />My output:<br /><div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code:</div> <pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 498px; text-align: left;">akoskm@linux-3fx0:~> rpm -q --fileprovide tightvnc-1.3.9-80.41 <br />/etc/slp.reg.d <br />/etc/slp.reg.d/vnc.reg <br />/etc/sysconfig/SuSEfirewall2.d/services/vnc-httpd <br />/etc/sysconfig/SuSEfirewall2.d/services/vnc-server <br />/etc/xinetd.d/vnc <br />/usr/bin/vnc_inetd_httpd <br />/usr/bin/vncconnect <br />/usr/bin/vncpasswd<br />/usr/bin/vncpasswd.arg<br />/usr/bin/vncserver<br />/usr/bin/vncviewer<br />/usr/share/doc/packages/tightvnc<br />/usr/share/doc/packages/tightvnc/ChangeLog<br />/usr/share/doc/packages/tightvnc/LICENCE.TXT<br />/usr/share/doc/packages/tightvnc/README<br />/usr/share/doc/packages/tightvnc/WhatsNew<br />/usr/share/man/man1/vncconnect.1.gz<br />/usr/share/man/man1/vncpasswd.1.gz<br />/usr/share/man/man1/vncserver.1.gz<br />/usr/share/man/man1/vncviewer.1.gz<br />/usr/share/vnc<br />/usr/share/vnc/classes<br />/usr/share/vnc/classes/AuthPanel.class<br />/usr/share/vnc/classes/ButtonPanel.class<br />/usr/share/vnc/classes/CapabilityInfo.class<br />/usr/share/vnc/classes/CapsContainer.class<br />/usr/share/vnc/classes/ClipboardFrame.class<br />/usr/share/vnc/classes/DesCipher.class<br />/usr/share/vnc/classes/InStream.class<br />/usr/share/vnc/classes/MemInStream.class<br />/usr/share/vnc/classes/OptionsFrame.class<br />/usr/share/vnc/classes/RecordingFrame.class<br />/usr/share/vnc/classes/ReloginPanel.class<br />/usr/share/vnc/classes/RfbProto.class<br />/usr/share/vnc/classes/SessionRecorder.class<br />/usr/share/vnc/classes/SocketFactory.class<br />/usr/share/vnc/classes/VncCanvas.class<br />/usr/share/vnc/classes/VncCanvas2.class<br />/usr/share/vnc/classes/VncViewer.class<br />/usr/share/vnc/classes/VncViewer.jar<br />/usr/share/vnc/classes/ZlibInStream.class<br />/usr/share/vnc/classes/index.vnc</pre> </div>Now you can simple start any of these executables in the /usr/bin/ directory by typing them to the command line.akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com0tag:blogger.com,1999:blog-6250915855538313285.post-8842145665774844252009-03-12T10:49:00.000-07:002009-03-12T02:52:22.434-07:00Creating and mounting ISO images in Linux terminalThere are thousand of applications outside for creating ISO images, and also a thousand for mounting and reading these virtual disks - but, have you ever thought that it's possible through the Linux terminal, by using 2 simple commands? You'll need 2 core applications: <a href="http://en.wikipedia.org/wiki/Dd_%28Unix%29">dd</a> (DiskDump) and <a href="http://en.wikipedia.org/wiki/Mount_%28Unix%29">mount</a>. These small applications are core components in every Linux distribution, so you don't need to install anything. So, how to create ISO image with them?<br />Insert a disk into your optical drive - of course it's also possible to create ISO image from an USB disk. Open the terminal window, and execute:<br /><blockquote style="font-family: courier new;">dd if=/dev/sr0 of=test.iso</blockquote><br />where <span style="font-weight: bold;">if</span> points to your optical drive (<span style="font-weight: bold;">i</span>nput <span style="font-weight: bold;">f</span>ile), <span style="font-weight: bold;">of</span> is the patch, where the ISO image will be created (<span style="font-weight: bold;">o</span>utput <span style="font-weight: bold;">f</span>ile).<br />Now, our ISO image is done, lets go mount it! The first thing what we need is a mount point for our ISO image. Lets create one:<br /><blockquote style="font-family: courier new;">mkdir isoTmp</blockquote><br />this will be the name of the directory where the ISO image will be mounted. Now mount the ISO with the command (only root can mount so you need superuser rights - and his password :)):<br /><blockquote style="font-family: courier new;">sudo mount -o loop test.iso isoTmp/</blockquote><br />where the -o specifies that our device is a loop device, after that comes the patch for the .iso file, and finally the directory where we mount this ISO image. After executing this command the image will be mouted, and you can browse it on the local filesystem.<br />You can unmount it by executing:<br /><blockquote style="font-family: courier new;">sudo umount tmpMnt/</blockquote>.<br /><br />For more information about filesystems, and other specific options type:<br /><blockquote style="font-family: courier new;">man mount</blockquote><br />in terminal.<br />Happy hacking! :)akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com0tag:blogger.com,1999:blog-6250915855538313285.post-45536344474465089862009-03-11T16:28:00.000-07:002009-03-11T17:26:45.358-07:00Summary #1Even an on-line gaming addiction can be ended up with friendships, and unforgivable moments. :) In the last month the <a href="http://wow.tauri.hu/">Tauri Wow Server</a> was my place to go, and now I don't want to break with it like I did in last year. Of course I need to focus on many other things - my fourth semester, my NPC friends, etc :).<br />My project <a href="http://yami.googlecode.com/">YAMI</a> is also forwarded. No more annoying bugs, missing features in functionality.<br />I have some goals what I want to complete in this month, like:<br /><ul><li>adding more articles to the HOWTO section.</li><li>filling out the registration form @<a href="http://www.bubblecup.org/index.php?page=pocetna">Bubble cup MDCS Coding Contest</a> - yeah, I know the M stays for Microsoft. :)</li><li>improving YAMI.</li></li><li>trip to <a href="http://en.wikipedia.org/wiki/Kula_(Serbia)">Kula</a> to the 2nd IT conference :)</li></ul><br /><br />Coming up: Creating ISO images under Linux, mounting them to the local filesystem.akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com0tag:blogger.com,1999:blog-6250915855538313285.post-76032021472804581762009-01-31T14:23:00.000-08:002009-01-31T14:34:24.215-08:00Issue 3I even can't believe what I've found. :) While reading my Feed Reader a little article came up with this mysterious title "This is quite hillarious issue :)" - the more interesting thing is that I'm today updated my project's CVS to the latest revision. And my project is also on Googlecode, like this one in the blog post, so I'm visited the project's site. It's a thumbnail generator script. The more interesting thing - they have an open issue starred by 73 people: <a href="http://code.google.com/p/blackgold/issues/detail?id=3">http://code.google.com/p/blackgold/issues/detail?id=3</a>.<br />The most kickass issue I've ever heard.akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com0tag:blogger.com,1999:blog-6250915855538313285.post-42989748373346194622009-01-25T02:12:00.000-08:002009-01-25T02:20:10.755-08:00Kudos Received :)Today while editing the opensuse wiki pages and hanging out on the forums I'm googled for my nick - ram88 -. The first match was my opensuse profile page. The following 3 was about my project yami. The 5th result was this: <a href="https://www.ohloh.net/p/yami/contributors/108836618843605">https://www.ohloh.net/p/yami/contributors/108836618843605</a>. So, I have 1 Kudos! :)akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com0tag:blogger.com,1999:blog-6250915855538313285.post-69719262768325691392009-01-24T16:00:00.001-08:002009-01-27T01:47:12.105-08:00Traffic Limit on LinuxOn the Unix-like operating systems the user can choose from many advanced tools to control the network. My opinion is that these tools are too advanced (for an everyday user - no programmers, admins, hackers :) ) - so after some searching I've found a little script what can be easily modified and executed to limit the network speed.<br />Grab this script from <a href="http://lartc.org/wondershaper/">http://lartc.org/wondershaper/</a>. Extract it, then with your favorite text editor open the script called <span style="font-weight: bold;">wshaper</span>. Intuitively, these lines:<br /><blockquote style="font-family: courier new;">DOWNLINK=256<br />UPLINK=64<br />DEV=eth0</blockquote> are indicating the upload, download speed (in kilobits!), and the network interface. After modifying these parameters you need to comment out the following two lines:<br /><blockquote style="font-family: courier new;">echo Please read the documentation in 'README' first :-\)<br />exit</blockquote> by adding the <span style="font-weight: bold;">#</span> sign to the beginning of these lines. Save your script. Open the console window and navigate to the directory which contains the script wshaper, get root powers with<br /><blockquote style="font-family: courier new;">su</blockquote>and execute the script:<blockquote style="font-family: courier new;">sh wshaper</blockquote>.<br /><br /><span style="font-weight: bold;">A little speedup.</span><br />Use command line for every action. Command line is x10 faster then any GUI application. It's easy to learn and use. Use the edit command for editing the wshaper script (assuming the you can navigate in console with <span style="font-weight: bold;">cd <path></path></span> command):<br /><blockquote style="font-family: courier new;">edit wshaper</blockquote>. When the editor loads the script with arrow-keys navigate to the lines what you want to modify. Press <span style="font-weight: bold;">A</span> - now you can write into the text - and modify the values. To save, press the <span style="font-weight: bold;">:</span> key (<span style="font-weight: bold;">SHIFT + ;</span>) and type: <blockquote style="font-family: courier new;">save wshaper</blockquote>. Use the same commands to execute the script:<br /><blockquote style="font-family: courier new;">su<br />sh wshaper</blockquote>.akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com0tag:blogger.com,1999:blog-6250915855538313285.post-12817961456107418632009-01-21T10:37:00.000-08:002009-01-21T11:06:07.722-08:00Microsoft SongsmithThe pretty new Microsoft Songsmith and this advertisement really made my day.<br />OMG the guys in Redmond are really lacking of focus....<br />DO NOT EAT BEFORE WATCHING THIS.<br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/3oGFogwcx-E&color1=0xb1b1b1&color2=0xcfcfcf&hl=en&feature=player_embedded&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/3oGFogwcx-E&color1=0xb1b1b1&color2=0xcfcfcf&hl=en&feature=player_embedded&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object><br /><br />Sum of this video:<br /><blockquote>You can’t sing and we can’t program, we’re a match!</blockquote><br />Forget to mention - the laptop on the first screen with the sexy sticker is an APPLE MACBOOK PRO! LOL Microsoft...akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com0tag:blogger.com,1999:blog-6250915855538313285.post-84523857612021141422009-01-11T02:45:00.000-08:002009-01-11T02:46:37.630-08:00SummaryEnd of the 3. semester on my <a href="http://www.pmf.ns.ac.yu/index.php?lang=en">University</a>. Now I'm concentrating to exams, and can't work enough with open-source, coding, Linux stuff (I never can code enough :))<br />In the last month I was 9th on the Top-Replies list of <a href="http://forums.opensuse.org/">opensuse forums</a>. Yey! The development of my database-viewer application <a href="http://yami.googlecode.com/">YAMI</a> is continuing, but I need more developers... and more time. :) I'm really proud to my friend <a href="http://kwar.vndv.com/">kvar</a> about his first open-source project. Continue your work with open-source stuff & "Have a lot of fun!" - openSuSE ;) I got a HTML & JavaScript book and a 2GB memory card for <a href="http://www.nokia.co.uk/A4353707">my mobile phone</a> for Christmas from my girlfriend, cute isn't :)? (GEEK?!)<br />I hope my brain will be moved into /akoskm/stable after the exams. :)akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com2tag:blogger.com,1999:blog-6250915855538313285.post-3458534974499376472009-01-11T02:41:00.000-08:002009-01-11T02:49:57.189-08:00About HOWTO'sAs you can see a new label has been appeared on the side-bar, called HOWTOs. The users need it. When I'm finished with my first how-to on the next week I'm linked it in ~5 forum posts on KDE and openSUSE forums.<br />Users - came from Windows world - are opening posts about renaming, moving files and they are making longer thread then Fixing your Buggy DST code table. They aren't lames, but the words like permission, user, execute have no meaning in their world, they are calling these things like: ActiveX, I, double-click. I'm absolutely sure that an ordinary people (at least reading and writing skills) who uses computer for browsing the Internet can't figure out anything from manuals like this (part of man mv 1):<br /><br /><br /> NAME<br /> mv - move (rename) files<br /><br /> SYNOPSIS<br /> mv [OPTION]... [-T] SOURCE DEST<br /> mv [OPTION]... SOURCE... DIRECTORY<br /> mv [OPTION]... -t DIRECTORY SOURCE...<br /><br />. Nobody can say me that working in Linux is hard. No it isn't... actually, my girlfriend (no programming skill, no PC using skill) is using openSuSE. And she is very happy with it. I'm explained a lot of things and now she is using her Laptop as a productive machine. HOWTOs are important, if you are new to Linux and want to learn how to live different, how to live in community, you need just once to read these tutorials after it's going like 1+1, and you'll have more fun!akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com2tag:blogger.com,1999:blog-6250915855538313285.post-66042018391354773562009-01-08T14:48:00.000-08:002009-01-08T14:54:44.784-08:00Is this racism? LOL!What can we read on opensuse forums while talking about web-browsers? Check out this browser-racist site: <a href="http://toastytech.com/evil/index.html">Internet Explorer is EVIL! </a>.<br />Have a lot of fun!<br />Do not forget to look at:<br /><a href="http://toastytech.com/evil/onlyie.html">STUPID WEB PAGES</a> and <a href="http://toastytech.com/evil/errwindows.html">Wacky Windows Errors</a> - this one really made my day. :)akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com1tag:blogger.com,1999:blog-6250915855538313285.post-54042179816980005802009-01-07T14:02:00.000-08:002009-01-07T14:21:06.167-08:00The newest member of our familyAfter long time hacking & cracking m$ software and writing closed-source applications my friend: <a href="http://kwar.vndv.com/">http://kwar.vndv.com/</a> created his first open-source project under the name <a href="http://sourceforge.net/projects/micrologger/">MicroLogger</a>. 3x Hooray and Good Luck to the development! :)akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com1tag:blogger.com,1999:blog-6250915855538313285.post-71959008587666765152009-01-01T14:34:00.000-08:002009-01-01T16:10:18.321-08:00Laptop extra keys - HOWTOIf you are using laptop your Fn or other extra-function keys are configured automatically. But! If they aren't, then the configuration can became a nightmare where you - the user - want to find out 10 bit hex BIOS interruption codes with blindfolded eyes. Grrr....<br /><br /><br />Recommended hardware:<br />At least 1 laptop with broken function keys.<br />Recommended Software:<br />keytouch - <a href="http://keytouch.sourceforge.net/">http://keytouch.sourceforge.net/</a>. It's available from <a href="http://packman.links2linux.org/">packman</a> repositories, however if you aren't rpm friendly, compile it ;). If you have broken Volume +/- key, there is no need for KMix or other plugins in Keytouch. Amixer will do the work for you.<br /><br />Start keytouch, and go to the Keyboard screen.<br /><img src="http://lh6.ggpht.com/_6L76Q73q_L0/SV1Mx-dRyGI/AAAAAAAAAYU/tdiLU4rHaQ4/keytouchstart.jpeg" /><br /><br /><br />If you can find your laptop model then it would be good idea to select that one, otherwise select some laptop model with Fn keys - Easy to find out, just google for the laptop name. HP worked for me, see the screenshot. So at the Keyboard screen hit the Change button. You'll get a dialog, like this one:<br /><img src="http://lh3.ggpht.com/_6L76Q73q_L0/SV1Mx2Xa2tI/AAAAAAAAAYc/VXoYoSfKzSM/keytouchselectkbd.jpeg" /><br /><br /><br />Select one keyboard model and hit OK. After you'll get back the starting screen. Click to Apply, and test your keyboard.<br /><img src="http://lh3.ggpht.com/_6L76Q73q_L0/SV1Mxjl_LII/AAAAAAAAAYM/pj-lVvIcGuQ/keytouchconfigure.jpeg" /><br /><br /><br />Configuration in Sax2:<br /><img src="http://lh4.ggpht.com/_6L76Q73q_L0/SV1RWP3STeI/AAAAAAAAAYk/DHUI51JWGqw/sax2kbdconfig.jpeg" /><br />Here I'm selected a generic keyboard, because with some laptop keyboard models - Thinkpads, Toshiba Satellite, etc. you common function keys like NumLock, CapsLock won't work.<br />Good luck!akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com2tag:blogger.com,1999:blog-6250915855538313285.post-51777014050410191772008-12-14T14:02:00.000-08:002008-12-14T14:07:44.218-08:00Unix - Linux - Distro related jokesROTFL! There are some really kickass comics from KDE forums:<br /><a href="http://forum.kde.org/best-unix-linux-distro-related-jokes-t-19993.html">http://forum.kde.org/best-unix-linux-distro-related-jokes-t-19993.html</a><br />Enjoy :Dakoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com1tag:blogger.com,1999:blog-6250915855538313285.post-63777357385129817862008-12-14T10:46:00.000-08:002008-12-14T14:12:38.501-08:00[SOLUTION] Google Treasure Hunt - PrimesHere comes the II. quest from Google Treasure Hunt. Maybe it sounds very simple, and algorithm what we've (Szakál Károly (ftnkaresz /at gmail /dot com) and I) used isn't so difficult, but after 3 hours of hard-coding, what we got? A full stack error with 2GB RAM. ;)<br /><br /><span style="font-style: italic;">Find the smallest number that can be expressed as<br />the sum of 3 consecutive prime numbers,<br />the sum of 9 consecutive prime numbers,<br />the sum of 253 consecutive prime numbers,<br />the sum of 781 consecutive prime numbers,<br />and is itself a prime number.<br /><br />For example, 41 is the smallest prime number that can be expressed as<br />the sum of 3 consecutive primes (11 + 13 + 17 = 41) and<br />the sum of 6 consecutive primes (2 + 3 + 5 + 7 + 11 + 13 = 41).</span><br /><br />Recursion is very bad thing in programming. It isn't requires deeper analysis of problems, there is enough to make good type definitions, a good algorithm with some recursive calls and return statement and finally there recursion will solve the problem for you. Okay! :)<br />The main goal of Data Structure and Algorithms is how to solve problems without recursive calls, and how to avoid the whole recursion.<br />The first solution made without recursion in programming language C. The main part of this program is an infinite while loop, what terminates itself if the right prime sum found:<br /><pre class="prettyprint"><br />while(1) {<br /> switch (r) {<br /> case 0: result=PrimSum(previousPrime,1063,&previousPrime);<br /> ix=0;<br /> nextPrime=2;<br /> r=sum(nextPrime,1063,result);<br /> break;<br /> case 1: ix++;<br /> if (!(ix<5)) { return 0; }<br /> nextPrime=2;<br /> r=sum(nextPrime,array[ix],result);<br /> break;<br /> case 2: r=sum(nextPrime=NextPrim(nextPrime),array[ix],result);<br /> break;<br /> }<br /> }<br /><br /></pre><br /><br />Finally, our number is: 6304483.<br /><br />The full sorce code:<br /><pre class="prettyprint"><br />#include <stdio.h><br />#include <stdlib.h><br />#include <math.h><br />//4355977//d9062d<br />const int array[]={1063,309,183,137,5};<br />int ix=0;<br /><br />int nPrimSum(int,int);<br />int PrimSum(int,int,int*);<br />int isPrime(int);<br />int sum(int,int,int);<br />int NextPrim(int);<br /><br />int main()<br />{int result, r=0;<br /> int previousPrime=2, nextPrime=2;<br /><br />while(1) {<br /> switch (r) {<br /> case 0: result=PrimSum(previousPrime,1063,&previousPrime);<br /> ix=0;<br /> nextPrime=2;<br /> r=sum(nextPrime,1063,result);<br /> break;<br /> case 1: ix++;<br /> if (!(ix < 5)) { return 0; }<br /> nextPrime=2;<br /> r=sum(nextPrime,array[ix],result);<br /> break;<br /> case 2: r=sum(nextPrime=NextPrim(nextPrime),array[ix],result);<br /> break;<br /> } //switch<br /> } //while<br /><br /> return 0;<br />}<br />int isPrime(int xx) {<br /> double i;<br /> double a=sqrt(xx);<br /><br /> for(i=2; i<=a; i++) {<br /> if (!(xx%((int)i))) return 0;<br /> }<br /> return 1;<br />}<br /><br /><br />int NextPrim(int pr) {<br />int i;<br /> for(i=pr+1; !(isPrime(i)); i++);<br /> return i;<br />}<br /><br />int PrimSum(int min, int step, int *ePrim) {<br />int i,ret;<br /> for(i=min; !(isPrime(ret=nPrimSum(i,step))); i=NextPrim(i))<br /> ;<br /> *ePrim=NextPrim(i);<br /> return ret;<br />}<br /><br />int nPrimSum(int min, int step) {<br />int i=0;<br />int numb=min, summ=0;<br /><br /> while (i < step) {<br /> if (isPrime(numb)) {<br /> summ+=numb;<br /> i++;<br /> }<br /> numb++;<br /> }<br /><br /> return summ;<br />}<br />//----------------------------------------------------<br /><br />int sum(int min, int step, int sum_n) {<br /> int i=0;<br /> int numb=min, summ=0;<br /><br /> while (i < step) {<br /> if (isPrime(numb)) {<br /> summ+=numb;<br /> i++;<br /> }<br /> numb++;<br /> }<br /><br /> if (summ==sum_n) return 1;<br /> if (summ<sum_n) return 2;<br /> if (summ>sum_n) { return 0; }<br />}<br /><br /></pre>akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com0tag:blogger.com,1999:blog-6250915855538313285.post-45444441464801000282008-12-10T11:53:00.000-08:002008-12-10T12:05:38.689-08:00Hacking Google Image SearchI've just found and interesting thread on <a href="http://forums.opensuse.org/">http://forums.opensuse.org/</a> about Google's image search. :)<br />So, to get started go to Google's site, and click to image search. Search for something popular (flowers, cars). When the pictures are displayed paste this code into your browsers address bar:<br /><br />javascript:R= 0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images ; DIL=DI.length; function A(){for(i=0; i < DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math. sin(R*x1+ i*x2+x3)* x4+x5; DIS.top=Math. cos(R*y1+ i*y2+y3)* y4+y5}R++ }setInterval('A()',5); void(0)<br /><br />Enjoy! :)akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com3tag:blogger.com,1999:blog-6250915855538313285.post-68400124869066102942008-12-07T13:53:00.000-08:002008-12-12T02:24:38.632-08:00[SOLUTION] Google Treasure Hunt - RobotOkay! Let's solve this programming problem without writing a single line of code. :)<br /><span style="font-style: italic;">A robot is located at the top-left corner of a 60 x 31 grid:</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwrvBJKkSXQNo2KcC8qZJqTSP6OZyBM5KZnP03JVWKa3c-t5UXvxAG41P29Bpa9SGOpk8i3GOKtDYGK8ftTNyM3X7QDWNHVEWR2nsccF1nH4nH6NnNVUg8KHtqAcSFvERpptubly4wgJHQ/s1600-h/illustration.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 313px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwrvBJKkSXQNo2KcC8qZJqTSP6OZyBM5KZnP03JVWKa3c-t5UXvxAG41P29Bpa9SGOpk8i3GOKtDYGK8ftTNyM3X7QDWNHVEWR2nsccF1nH4nH6NnNVUg8KHtqAcSFvERpptubly4wgJHQ/s400/illustration.jpg" alt="" id="BLOGGER_PHOTO_ID_5277184245600684418" border="0" /></a><br /><span style="font-style: italic;">The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid.<br /><br /></span>Our robot can 30 times to step down and 59 times to step right, because it is staying on the first block (1, 1).<br />We can write down his way from location (1, 1) to location (60, 31) like this:<br />R - right, D - down.<br />RDRDDDRDDRDDRD......RDRRRDDDRDRD.<br />The only question is: how many different (unique) arrays we have from 59 R and 30 D?<br />Fill out a row with 59 R:<br />RRRRRRRRR........RRRRRRRRRRRR......RRRRRRRRRR and take 30 D to random places without repeating an already existing array. On more mathematical language, number of unique arrays (unique permutations) with length 59+30 from 30 D is exactly:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzsMTgCOYJLG_qaEfupl7XNlTfArJt-gaMUP2Q3UflHGCuEJ3vzn3Bh_TMplC8JIWliZ_Tvntq7_ljltpOpw2pGrjYwkrTk5Zt5FZzoezqyhYTz6U_XIGxPDeMpANzZr5TnR4Ud4xfQiSS/s1600-h/solutionMath.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 111px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzsMTgCOYJLG_qaEfupl7XNlTfArJt-gaMUP2Q3UflHGCuEJ3vzn3Bh_TMplC8JIWliZ_Tvntq7_ljltpOpw2pGrjYwkrTk5Zt5FZzoezqyhYTz6U_XIGxPDeMpANzZr5TnR4Ud4xfQiSS/s400/solutionMath.jpg" alt="" id="BLOGGER_PHOTO_ID_5277185139675999266" border="0" /></a>Comments are welcome! ;)akoskmhttp://www.blogger.com/profile/04826619539472772914noreply@blogger.com0