Burak Ozdemir 's Blog
Computer Science & Softwares - Latest Technology


Where people meet new technology !


40 Songs That Changed the World

Social 1 Comment »

Maybe it is true maybe not, here is the list.

1. The Who : “My Generation”
2. The Beach Boys : “Good Vibrations”
3. Pink Floyd : “Dark Side of the Moon”
4. The Doors : “Light My Fire”
5. Chuck Berry : “Johnny B. Goode”
6. Jimi Hendrix : “All Along the Watchtower”
7. The Kinks : “You Really Got Me”
8. Prince : “Purple Rain”
9. Pink Floyd : “Comfortably Numb”
10. Johnny Cash : “Folsom Prison Blues”
11. Janis Joplin : “Me and Bobby McGee”
12. Pearl Jam : “Jeremy”
13. Crosby,Stills,Nash and Young : “Ohio”
14. Steppenwolf : “Born To Be Wild”
15. Oasis : “Live Forever”
16. The Band : “The Weight”
17. Creedence Clearwater Revival : “Fortunate Son”
18. Grand Master Flash : “The Message”
19. AC/DC : “Highway to Hell”
20. Little Richard : “Good Golly Miss Molly”
21. Black Sabbath : “Paranoid”
22. Neil Young : “Rockin’ In The Free World”
23. The Police : “Every Breath You Take”
24. R.E.M. : “Losing My Religion”
25. Aretha Franklin : “Respect”
26. Bruce Springsteen : “Born in the USA”
27. Beastie Boys : “Sabotage”
28. Eric Clapton : “Layla”
29. Jerry Lee Lewis : “Great Balls of Fire”
30. (What’s So Funny ‘Bout) Peace Love and Understanding? : “Elvis Costello”
31. Simon & Garfunkel : “Mrs. Robinson”
32. Buddy Holly : “Peggy Sue”
33. Bob Marley : “Buffalo Soldier”
34. Sly & the Family Stone : “Everyday People”
35. The Who : “Pinball Wizard”
36. The Mamas & The Papas : “California Dreamin’”
37. Van Morrison : “Moondance”
38. Radiohead : “Airbag”
39. Nine Inch Nails : “Closer”
40. Willie Nelson : “On The Road Again”

According to the Rolling Stones, http://www.rollingstoneextras.com/patron40songs/

10 Things make you die earlier

Fun No Comments »

danger

Keep away from the things given in the below list.

1 - Computers.

2 - Mobile Phones.

3 - Stupid Car Washers (who gives lots of damage during the washing process).

4 - Girlfriend who is in her period.

5 - Hard Disk with Bad sectors.

6 - Java Programming.

7 - Hip Hop and R&B.

8 - McDonald’s Clown.

9 - Buggy Yahoo Mail.

10 - Eye Floaters.

Other Browsers Play, Firefox 3 Kills !

Internet 6 Comments »

firefox3.jpg

The new generation of Firefox is expected to be the best among all browsers.Best memory optimization, fastest page loading and a handy GUI ! Firefox 3 is said to be more memory efficient than Firefox 2 with a %60 percentage and also using less memory than IE7 (400 MB less memory consumption). The latest speed tests shows that Firefox 3 is %53 faster than Opera 9.5 , 2x faster than the Apple’s Safari and 3x faster than the IE7. I haven’t tried it yet, I am still using Opera, but if Firefox 3 has such improvements, definetely I ll migrate to Firefox 3 from Opera. One of my important reason to use Opera is memory optimizations. Anyway in the following days I will download and try it, then I can make a detailed review.

Technorati Tags: , ,

Simple Text Editor with Java Swing

Programming 3 Comments »

Hi again, for this post I decided to demonstrate JAVA’s Swing library.With this library it is easy to create applications with GUI.Anyway I never prefer to write Windows applications in JAVA, however if you need cross-platform stuff, Swing may be a choice.Unlike awt, Swing looks like same in the all platforms. This simple Editor program, uses JMenuBar (Standard Menubar) , JToolBar (Standard Toolbar) , JDesktop (MDI) , Images for buttons , also Editor is capable of inserting images to the text. (StyledDocument).

Here is the source code:
Read the rest of this entry »

Browser Wars : Firefox, Safari, Opera, Internet Explorer

Internet 8 Comments »

Internet is a place with full of choices

You may eat the same food with different dishes and of course presentation of food is very important and greatly changes the flavor of the food.  My intention is web. You may use your default browser or you may seek for alternatives. I have tried all browsers that are available and if you wonder which one is right for you, I am willing to give you the details.

Firefox (IE Killer)

firefox.jpg

Firefox has many advantages over Internet Explorer. New Windows users are not likely to see a big difference, actually they will like the simple GUI of Internet Explorer. However surfing the Internet is not a simple thing to do in one window, you have to open many IE instances to dirty your taskbar, but thanks to the programmers, they have integrated tabs into Firefox. After this revolution, Microsoft has decided to put tabs to IE with the version 7, but again the look and feel of IE 7 was seem to pretty ugly. Another nice thing about Firefox is the wide range of extensions available for free. You may find extensions for any purpose. Feeds, News, Blogging, Themes, Popup Blockers etc.. Firefox has Google support in the background and all of this made the Firefox the most popular web browser market.

Safari (Much cry and little wool) 

safari.jpg

Not much than a fancy and simple mac GUI. When compared with the other browsers, Safari uses terribly more Memory than any browser and contains many bugs.  You may observe this by yourself. Open a few web pages and press CTRL+alt+DEL. Do not get shocked, it is normal that Safari uses hundred megabytes of ram for few web pages. Completely inefficient for systems with less RAM and slower CPU. However Apple says that Safari is the fastest browser available. I have tried but believe me there is no difference. At least I couldn’t sense it if there is. Even if there is a few nano secs of less load time, I wouldn’t have sacrifice hundred megabytes of memory. I hope that they will try to optimize in the following versions. Safari doesn’t seem to be a revolutionary browser.

Opera (All in one)

opera.jpg

Among these alternatives, maybe the best. 

The best because, it has all advantages of them and plus new things. Firstly, Opera utilizes tabs like Firefox. Also it has a very nice smooth GUI (not too much fancy). Plus it has speed dial property, you may assign your favourite web sites to CTRL 1 , CTRL 2 etc.. Beside these advantages it consumes very little memory. I am sure you will enjoy surfing if you are using Opera. My choice for browsing the web.

Internet Explorer (the Old Boy)

ie.png

There is not much thing to discuss with IE. Many of us had started browsing the internet with IE. Yes, IE is not the worst but needs more improvement than any others. Because it is a Microsoft product and it is in the front line.

Technorati Tags: , , , ,

Perl and Regular Expressions

Programming No Comments »

perl-at-work-sign.png

Perl is one of the most rooted scripting languages, and has wide range of libraries for any purpose.Nowadays I’m studying it, and exploring its great usage and ease of use.Perl has powerful string processing ability, and also when you have confidence in using regular expressions, you may achieve anything on parsing.Here I want to demonstrate its simple syntax.

\t : Tab Character
\n : New Line
\r : Carriage Return
\f : Form Feed Character
\cX : Control Character CTRL-X.  : Match any one character
| : Alternation
( ) : Group  / Also returns the values for $1 , $2 , $3 after proper matches.
[ ] : Define Character class^ : Match the beginning       $ : Match the end
\b : Match at a ”word” boundary  \B : Match at not a ‘word’ boundary

* : Match 0 or more times
+ : Match at least 1 or more times
? : Match 0 or 1 times

\d : [0-9] A digit            \D : A non-digit
\s : Whitespace char       \S : A non-whitespace char.

/i : ignore case    /g : Match globally (all matches)      /s : Substitute, Replace

=~ True If the regex matches        !~ True If the regex doesn’t match

The above information will be helpful if you have just started to learn Regular Expressions.

Technorati Tags: , , , , ,

Men vs Women

Fun No Comments »

menvswomen

Is it a war? Maybe it is true maybe not. Who cares? Complexity may be a disadvantage or a power to rule, or simplicity rules? Who cares? Is it a war or just mutualist way of living? Who is the boss ? Look to the picture and you decide but remember men are easy to shut down.

Technorati Tags: , ,

C# and Inline Assembly

Programming 1 Comment »

Inline assembly was a technique to use I386 assembly language directives in a C++ code. Programmers often use this technique to gain speed at intense calculations. However C# is far away from this concept, being lack of such a need, C# stands as a limited programming language against C++. According to some gossip, they are considering to add this in Whidbey.

However you may not want to wait for Whidbey, yes it is said to be there exist some solutions, (I heard this from one my programmer friend). Surprisingly the idea seems very interesting to me. The point is that you call assembly functions from a DLL, so the only thing that differs is coding, you just call some functions to make your calculations in machine language, and as a result. you acquire the indispensable augmentation in performance.

Never tried this method, but I will definitely try, in the following posts I may expose it with some code samples. Another important point that you may use this method in VB.NET also, as you can use the DLL in a same manner. Goodbye until to next post!

Technorati Tags: , , , , , , ,

.NET & MySQL - F(r)iends?

Programming No Comments »

Hi, in my previous post I discussed and compared IIS and ASP against PHP and Apache. In this post I’ll be discussing diffuculties about communicating with a MySQL database in ASP.NET on a shared hosting. As you know if you have a direct access to your web server, nothing is impossible but in most cases you can not.

For example, I am using GoDaddy’s shared hosting plans and I’m really happy with.However I am discovering the limits lately, and I am understanding what are you capable of to do with shared hosting using ASP.NET.Chances are that if you are using PHP, you have greater freedom and everything becomes possible.

Yesterday I was trying to connect to a MySQL database with .NET, I accomplished this on Windows very smoothly without having any problems.(I used ByteFX .NET library to connect MySQL).On the other hand, on Web, this is nearly impossible, you can not use external dlls on many of the shared hostings (security issue).I tried to use ODBC to connect MySQL, I didn’t use any DLLs and again I couldn’t connect to MySQL database (By the way this MySQL database is not on my shared hosting, on a completely different host), because thanks to GoDaddy, they have blocked outgoing connections to other database hosts.So I was only able to connect an inner MySQL database.You may ask why MySQL? Because you may not find free database hosts that give MSSql (there are lots of hosts that provides free MySQL databases), and also you may not have any other options other than MySQL, so in such a case your all hands are tied.

Briefly I am really considering to use PHP rather ASP.NET, day by day I discover something that is possible in all the way with PHP and not possible with ASP.NET.
This is really driving me nuts.As you see PHP gains another +1 against ASP.NET.See you next time…

Technorati Tags: , , , , , , , , ,

ASP.NET Url Rewrite - ASP.NET/IIS VS PHP/Apache

Programming No Comments »

Have you ever realized how difficult url rewrite can be in ASP.NET which is hosted in IIS?
If you are coding php and hosting it on an apache server, your job is pretty easy. You may just write appropriate
matchings for your urls ( this is typically done by regular expressions ) in htaccess file. However this is not just that easy on IIS. You may ask, why the subject contains “ASP.NET”, this is because IIS is just used to host ASP.NET in usual. You may host ASP.NET on your apache, but the hosting firms in the market do not use apache servers for ASP.NET. They use IIS.

Url rewriting can be made in few ways, with ISAPI modules, or you may configure IIS to direct .html or anyother extensions to ASP.NET dll. However you need to access your IIS server.If you are using a shared hosting like me :) , you may be disappointed but you should accept that you can only do url rewrites which ends in .aspx extension, because IIS directs .aspx extensions to asp.net dll, and your custom rewrites in your global.asax will run before IIS gives an “404 Not Found Error”.

Yes I hate .aspx/.php or any other extensions different than .html. Not only me prefer .html , but also Google prefers .html extensions, and most likely to index that pages.Briefly the same situation can happen if you host php on IIS (which is pretty a dumb action to do), as a result this is not related but .NET, but again If we consider php/apache bros. they gain +1 against asp.net/IIS .

Technorati Tags: , , , ,

Copyright Protected ©2007 http://www.buraak.com
Contact info : <burak [at] buraak [dot] com>
Entries RSS Comments RSS Login
eXTReMe Tracker

Privacy Policy