Burak Ozdemir 's Blog


I share what I value.
Writings from an Engineer


So what’s special with LHC ‘ Large Hadron Collider ‘

Technology 2 Comments »

Here, we will define LHC by metrics, I’m sure you will be surprised.

  • 27 kilometres = circumference of the LHC.
  • 50 kilometres per hour = speed limit for physicists on site.
  • 32 minutes = time taken by a law-abiding physicist to circle the ring.
  • ~1 billion kilometres per hour (99.9999991% the speed of light) = maximum proton speed around the ring. (Can you imagine? it is nearly the light of speed)
  • One ten-thousandth of a second = time taken by proton to circle the ring.
  • 0.00000000047 grams = total mass of protons circulating in the LHC at any time.
  • 362 megajoules = collective energy of LHC’s protons at top speed.
  • 88,000 tonnes = total weight of the aircraft carrier USS Ronald Reagan.
  • 361 megajoules = energy of the USS Ronald Regan when cruising at 5.6 knots.
  • US$4.1 billion = cost of building the LHC.
  • US$4.5 billion = cost of the USS Ronald Regan.
  • ~9,000 cubic metres = total volume of the LHC’s major vacuum systems.
  • 4,650 cubic metres = interior volume of the Big Ben clock tower at Westminster.
  • 14 years = time taken to build LHC.
  • 13 years = time taken to build Big Ben.
  • ~6 million = number of DVDs needed to hold all of the data generated by the LHC.
  • 6.9 kilometres = height of 4 million DVDs stacked on top of each other.
  • 4.8 kilometres = height of Mount Blanc.
  • 0.75 grams = amount of hydrogen needed to fill a party balloon.
  • 0.000000002 grams = amount of hydrogen consumed each day by the LHC.
  • ~1 million years = time needed for the LHC to use one party balloon’s worth of hydrogen.
  • 10-13 atmospheres = vacuum of the LHC’s beamline.
  • 10-12 atmospheres = atmospheric pressure on the Moon.
  • 8.3 tesla = top field strength of each of the LHC’s 1232 superconducting dipole magnets.
  • 1 tesla = strength of a typical scrapyard electromagnet.

Technorati Tags: ,

Useful PHP scripts

Internet No Comments »

One of my PHP slave friend (” Hidayet Dogan – simply Hido “) released some useful PHP scripts that may help.

According to news on his site:

Phurl version 1.4 released. Fixed some non-critical issues and url creation method has been re-written.
phpThumbnailer 1.6 has been released. It comes with PHP 5 compatibility fixes and some improvements.

Technorati Tags: ,

Google suggest is watching you

Internet No Comments »

suggest en

Google suggest is aimed to provide the relevant results instantly as you are typing. It is supported by Google toolbars and Google homepage. In most cases it is very useful, but lately Google explained that Google suggest sends information about your searches. Meaning that Google logs your ip along with your search. But according to Google, only %2 of the searches are logged in a random fashion.

This causes a privacy violation indeed. What could happen if the logs are captured by outside of Google? I don’t want to think. So as this situation made Google uncomfortable, and they decided to anonymize the logs within 24 hours, and this is expected to begin from the end of this month. But there is a more secure way, simply do not log user data :)

They say that this logs are useful to improve service qualities. I really believe in Google’s affords to provide the best possible service, but privacy of millions is more important.

Technorati Tags: ,

Google Chrome Beta is out ! Download it now

Internet 1 Comment »

Browser wars getting hot. Google launched its new weapon “ Chrome ” it is avaible for download as beta !Google says:” Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. “  Download Now!  Google Chrome 

40 Songs That Changed the World

Social 4 Comments »

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 6 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: , , , , ,

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

Privacy Policy