It has Articles,News,Awareness Features,Business Updates,Entertainment,Pictures,Latest,Controversial Issues,Films Review,Sports,Wallpapers And Much More...
Wednesday, October 5, 2011
Monday, October 3, 2011
A very meaningful line for a true relation
''Hurt me with Truth.....
But never satisfy me with a lie''
Amazing but true:
There may be more than 8.5 billion people in this world..
But, sometimes you really need just ONE....!!!!
How To Load Youtube Faster On Slow Connections [Tips & Tricks]
Youtube is an integral part of our lives now a days, whether we need to watch the trailer of upcoming movies or want to watch some education videos, Youtube is a place we need to be but majority of people in India are yet to have High speed connection and that's why watching video online is not a easy task for us.What i usually do is download youtube video
and then watch it offline but do you know that there is another version of Youtube which will make video loads faster and with lowest possible latency.
Youtube is having a alternative version called Youtube Feather, it increase youtube Site Speed so videos will be much faster and thus helpful for slow internet connections or hand held Devices.To achieve faster speed Youtube disable many not so useful features like search suggestions, posting comments etc.
and then watch it offline but do you know that there is another version of Youtube which will make video loads faster and with lowest possible latency.
Youtube is having a alternative version called Youtube Feather, it increase youtube Site Speed so videos will be much faster and thus helpful for slow internet connections or hand held Devices.To achieve faster speed Youtube disable many not so useful features like search suggestions, posting comments etc.
An Experiment by By Alex Chitu revealed that Feather is quite effective, the resources downloaded when you watch a video in Youtube Feather is only have 52 KB, instead of 391 KB
Once you activate Youtube Feather you will see an option to switch back to regular Youtube in the right sidebar.I am using Youtube Feather for quite sometime and the thing I love the most about Feather is that it keeps things simple and clean. It's not bogged down with icons or comments or all that other stuff most people just don't care about.
To Enable Youtube Feather for your Computer just visit Youtube Feather page and click on "Join the Feather Beta" Link
Apple -MacBook Air Launched
Expect everything.From a notebook
that weighs almost nothing.
With the latest-generation Intel Core i5 and i7 processors, high-speed
Thunderbolt I/O technology, and all-flash storage,
MacBook Air isn’t thin on features.
Intel Core i5 and i7 processors.
11.6-inch (diagonal) high-resolution LED-backlit glossy widescreen display with support for millions of colors
that weighs almost nothing.
With the latest-generation Intel Core i5 and i7 processors, high-speed
Thunderbolt I/O technology, and all-flash storage,
MacBook Air isn’t thin on features.
Intel Core i5 and i7 processors.
Performance that shouldn’t be taken lightly.Both the 11- and 13-inch MacBook Air now feature the latest generation of Intel processors, the Core i5 and i7. With speeds up to 1.8GHz and faster memory, the new MacBook Air gains up to 2.5x the processing performance over the previous generation.1 MacBook Air also features the Intel HD Graphics 3000 processor, which includes an on-chip engine for video encoding and decoding. That means you experience video playback and FaceTime calls that are smoother, more responsive, and more true to life.2
Thunderbolt I/O. Lightning-fast data transfer.
With one port, MacBook Air gives you access to a world of high-speed peripherals capable of transferring data up to 12 times faster than FireWire 800 and up to 20 times faster than USB 2.0. Or use the Thunderbolt port to connect the new Apple Thunderbolt Display and transform your ultracompact MacBook Air into a complete desktop workstation. Power over 4 million eye-popping pixels while enjoying some major benefits: Gigabit Ethernet, FireWire 800, an additional Thunderbolt port, three USB ports, a FaceTime HD camera, 2.1 stereo sound, and a built-in microphone. The display even charges your MacBook Air, so there’s no need to unpack and unravel your power adapter. With two quick connections — the MagSafe power cord and the Thunderbolt cable — you’re up and running in seconds. Unplug them, and you’re on your way just as fast.
All-flash storage. Instant-on gratification.
Devices like iPhone and iPad have already demonstrated the advantages of flash storage: reliability, speed, and efficiency. So the decision to use flash storage in an ultracompact notebook like MacBook Air made perfect sense. With flash, your computer starts up in almost no time and accesses data quickly. Flash also gives MacBook Air the astonishing ability to remain in standby mode for up to 30 days.3 Which means your MacBook Air snaps to in an instant, whether you open it tomorrow, next week, or next month.
As incredibly compact as MacBook Air is, it still manages to fit a full-size keyboard that makes typing as natural as it is comfortable. And now the keyboard is backlit, so you can type with ease in even the dimmest light. A built-in ambient light sensor detects changes in lighting conditions and adjusts the display and keyboard brightness automatically. From a seat in a sunny cafĂ© to a seat on a cross-country red-eye, you’ll always have the perfect lighting for any environment.
Long-lasting battery. Instant on. Even after a month off.
Backlit keyboard. What you see is what you type.
As incredibly compact as MacBook Air is, it still manages to fit a full-size keyboard that makes typing as natural as it is comfortable. And now the keyboard is backlit, so you can type with ease in even the dimmest light. A built-in ambient light sensor detects changes in lighting conditions and adjusts the display and keyboard brightness automatically. From a seat in a sunny cafĂ© to a seat on a cross-country red-eye, you’ll always have the perfect lighting for any environment.Long-lasting battery. Instant on. Even after a month off.
Since space-saving flash storage leaves room for a bigger battery, you can devote more time to the things you enjoy most. Things like browsing the web, editing photos, and watching videos. Get up to 5 hours of battery life on a single charge on the 11-inch model and up to 7 hours on the 13-inch model. Put MacBook Air to sleep, and it enters standby mode to conserve battery life for up to 30 days.3 When you come back to your MacBook Air and open it up, it’s on in an instant.
Considering a Mac
Display
11.6-inch (diagonal) high-resolution LED-backlit glossy widescreen display with support for millions of colorsSupported resolutions:
1366 by 768 (native), 1344 by 756, and
1280 by 720 pixels at 16:9 aspect ratio;
1152 by 720 and 1024 by 640 pixels at 16:10 aspect ratio;
1024 by 768 and 800 by 600 pixels at 4:3 aspect ratio
1366 by 768 (native), 1344 by 756, and
1280 by 720 pixels at 16:9 aspect ratio;
1152 by 720 and 1024 by 640 pixels at 16:10 aspect ratio;
1024 by 768 and 800 by 600 pixels at 4:3 aspect ratio
Price
$999-$1599
Size and Weight
Ultrathin and ultralight
unibody aluminum construction.
unibody aluminum construction.
- Height: 0.11-0.68 inch (0.3-1.7 cm)
- Width: 11.8 inches (30 cm)
- Depth: 7.56 inches (19.2 cm)
- Weight: 2.38 pounds (1.08 kg)1
StorageAll-flash storage.2
64GB 128GB 64GB flash
Configurable to 256GB flash storage,
only at the Apple Online Store.
Processor and MemoryPowered by a dual-core Intel Core i5 or i7 processor and DDR3 memory.Processor
1.6GHz dual-core Intel Core i5 with 3MB shared L3 cache
$1199 model configurable to dual-core 1.8GHz
Intel Core i7 with 4MB shared L3 cache, only at the Apple Online Store.Memory
2GB ($999 model) or 4GB ($1199 model) of 1333MHz DDR3
onboard memory
$999 model configurable to 4GB, only at the Apple Online Store.
GraphicsAdvanced Intel HD Graphics 3000.
Intel HD Graphics 3000 processor with 256MB ($999 model)
or
384MB ($1199 model) of DDR3 SDRAM shared with main memory3
Video Support and Camera
Built-in FaceTime camera.
FaceTime camera
Dual display and video mirroring:
Simultaneously supports full native resolution on the built-in display and up to 2560 by 1600 pixels on an external display, both at millions of colors
Connections and ExpansionUSB 2.0, Thunderbolt, headphone port, MagSafe power port, SD card slot (13-inch model).
Two USB 2.0 ports (up to 480 Mbps)
Thunderbolt port
Battery and PowerAdvanced lithium-polymer battery with MagSafe power adapter.4
Wireless web
Up to 5 hours
Standby time
Up to 30 days
35-watt-hour; 45W MagSafe Power Adapter with cable management system; MagSafe power port
Wireless
Latest Wi-Fi and Bluetooth technologies.Wi-Fi
802.11n Wi-Fi wireless networking;5 IEEE 802.11a/b/g compatible
AudioStereo speakers, microphone, and headphone.- Stereo speakers
- Omnidirectional microphone
- Headphone port
Electrical and Operating Requirements- Line voltage: 100-240V AC
- Frequency: 50Hz to 60Hz
- Operating temperature: 50° to 95° F (10° to 35° C)
- Storage temperature: -13° to 113° F (-24° to 45° C)
- Relative humidity: 0% to 90% noncondensing
- Maximum operating altitude: 10,000 feet
- Maximum storage altitude: 15,000 feet
- Maximum shipping altitude: 35,000 feet
In the Box- MacBook Air
- 45W MagSafe Power Adapter, AC wall plug, and power cord
Configurable OptionsPurchase from the Apple Online Store to upgrade processor, memory, and flash storage.- 1.8GHz dual-core Intel Core i7
- 4GB memory upgrade
- 256GB of flash storage
- Apple USB Ethernet Adapter
- Apple Mini DisplayPort to DVI Adapter
Configure your MacBook Air with even more options, only at the Apple Online Store
Friday, September 30, 2011
Google Command Line
It is more a geek tool but if you are familar with command line more, then Google command line tool may able to speed your search up. On top of normal search command, it also has some shortcuts for using Google services like translation, PDF search, specific OS searches etc.
Google command line – [felipc.com projects]
- /translate languages:language url – Translates text or an url using Google’s translate service. If you wish to translate an url, it must start with http://, otherwise it will be considered text.
- /pdf string – Searches for documents in Adobe Portable Document Format (old Acrobat) .pdf
- /linux string – Searches for pages related to the penguin.
- /mac string – Searches for pages related to Apple©, Mac OS© and other Apple products and sites.
Google Command Line is a command-line based interface to Google’s services. With it you have fast and easy access to many Google services, such as the default search, the image search, the maps, the language tools, etc. All in the best geek way.Full command list are at the following link:
Google command line – [felipc.com projects]
New music management system for iPod
If you don’t like iTunes for one reason or the other, you may have a better alternative. We have found Winamp iPod Plugin which allows you to manage your iPod from within the winamp media library. It supports all versions of iPod, from generation 1 up to the iPod shuffle.
Latest version 1.20 includes following changes:
Documentation
Discussion Board
ml_ipod Winamp plugin Home Page
- Autofill for iPod Shuffles
- Advanced naming of files copied to iPod
- Sync now updates modified songs
- Last played and playcount updated when playing songs via mlipod
- Reads play counts from the iPod Shuffle
- Optionally detect “Fake” iPods
- Switched to a better random number generator for playlist shuffling
- Fixed send-to from playlist (and associated length error)
- Fixed hitting Cancel during a transfer
- Fixed ratings sync
- Fixed ipod size statistics
Documentation
Discussion Board
ml_ipod Winamp plugin Home Page
Tips: How to put MP3 on the Net into a “Personal Podcast”
Have you ever come across an mp3 file on the Internet and wanted to download it and put it on your iPod, but didn't have time to deal with it?
This happens to me all the time.
So I heard of a cool way to do this and just tried it tonite and it works great.
If you find an mp3 file with its own URL, like my MP3 of the Week, simply tag it in delicious with a tag that is clearly your own. For example, I use "fred'spodcast" as my tag. Feel free to tag mp3s with that tag if you want me to listen to them.
Then you take the RSS feed for that delicious tag, in my case http://del.icio.us/rss/tag/fred'spodcast, and burn that as a Feedburner feed.
Make sure to enable that Feedburner feed with their SmartCast service.
That creates a new feed. In my case, it's http://feeds.feedburner.com/Delicious/tag/fredspodcast.
Then you put that podcast feed into iPodder, iPodderX, or some other podcasting client.
That's it.
The next time you synch your iPod, all the mp3s you tagged will be in your iPod.
So start tagging and sharing mp3s with me and your friends. This is a great way to get into delicious an enjoy great music at the same time.
This happens to me all the time.
So I heard of a cool way to do this and just tried it tonite and it works great.
If you find an mp3 file with its own URL, like my MP3 of the Week, simply tag it in delicious with a tag that is clearly your own. For example, I use "fred'spodcast" as my tag. Feel free to tag mp3s with that tag if you want me to listen to them.
Then you take the RSS feed for that delicious tag, in my case http://del.icio.us/rss/tag/fred'spodcast, and burn that as a Feedburner feed.
Make sure to enable that Feedburner feed with their SmartCast service.
That creates a new feed. In my case, it's http://feeds.feedburner.com/Delicious/tag/fredspodcast.
Then you put that podcast feed into iPodder, iPodderX, or some other podcasting client.
That's it.
The next time you synch your iPod, all the mp3s you tagged will be in your iPod.
So start tagging and sharing mp3s with me and your friends. This is a great way to get into delicious an enjoy great music at the same time.
Apple user: How Quicksliver can change your OS X life
The Apple Blog has a lengthy introduction and tutorial on how does QuickSliver work and how does it help you to speed up your operations on OS X:
…Quicksilver Changes Everything – [The Apple Blog]
OK, what does it do?!
Short answer: It’s a launcher. It allows you to open files from a keystroke instead of clicking through the Finder for them.
Long answer: What doesn’t it do? QS indexes your hard drive into a Catalog. That Catalog is available at a single keystroke and then allows you access to everything on your computer. Not only can you open applications, but using QS, you can move files around, append text to files, locate a file and attach it to an email…The list goes on and on and on and…
Send email to the future
There is a service called FutureMe.org which you schedule a date and send an email on that particular date. It can serve as a very simple reminder service through email; you want to send an email to your friend on a specific date; or you want to send your-future-self an email:
… two fellas started this so that you could write yourself a letter to be delivered at a later date. we’ve all had to do them in high school and college. it’s sorta cool to receive a letter from yourself about where you thought you’d be a year (two years? more?) later. FutureMe.org is based on the principle that memories are less accurate than emails. we strive for accuracy…Send email to the future – [FutureMe.org]
Tips: New system tags in del.icio.us for fetching filetypes and podcast
From the del.icio.us blog, Joshua mentioned he has done a new feature called system tags which add support for finding medias:
There are couple of extra tags you can use now:
Casting the net wider – [blog.del.icio.us]
There are couple of extra tags you can use now:
The tag "system:media:audio" includesYou can also getting RSS feed for podcast etc if you go to http://del.icio.us/rss/tag/system:media:audio for example. Pretty useful feature!
The tag "system:media:video" includes
- *.mp3 tagged as "system:filetype:mp3"
- *.wav tagged as "system:filetype:wav"
The tag "system:media:image" includes:
- *.mpg tagged as "system:filetype:mpg"
- *.mpeg tagged as "system:filetype:mpeg"
- *.avi tagged as "system:filetype:avi"
- *.wmv tagged as "system:filetype:wmv"
- *.mov tagged as "system:filetype:mov"
The tag "system:media:document" includes:
- *.jpg as "system:filetype:jpg"
- *.jpeg as "system:filetype:jpeg"
- *.gif as "system:filetype:gif"
- *.png as "system:filetype:png"
- *.pdf as "system:filetype:pdf"
- *.doc as "system:filetype:doc"
Casting the net wider – [blog.del.icio.us]
Save time on Firefox with GreaseMonkey
Introduction to GreaseMonkey:
Sometimes when you use a web service, you thought wouldn’t be faster if the developer has added this button so that you don’t have to go thru all those navigations.
Like me, I find it very harsh by not having a delete button in my Gmail account. Everytime I need to delete an email, I need to go to the pull down menu and select “Move to Trash”.
Recently I have discovered GreaseMonkey extension. It allows users to use customize scripts, or even code on your own (if you know javascript) and able to add/improve feature on website – especially on web site usability and its navigations.
Instructions:
For end user without programming experience, don’t worry. There are whole stack of scripts already available for you to just install.
Here’s my top recommendations:
General and Scripts:
Development on GreaseMonkey:
More and more resource will be added. Stay tuned more on how to speed up your web broswering.
Sometimes when you use a web service, you thought wouldn’t be faster if the developer has added this button so that you don’t have to go thru all those navigations.
Like me, I find it very harsh by not having a delete button in my Gmail account. Everytime I need to delete an email, I need to go to the pull down menu and select “Move to Trash”.
Recently I have discovered GreaseMonkey extension. It allows users to use customize scripts, or even code on your own (if you know javascript) and able to add/improve feature on website – especially on web site usability and its navigations.
Instructions:
- Install GreaseMonkey Extension Updated: 2005/07/22
- After restarting firefox, come back to this page and right click on the script link below. You should able to see “Install User Script…” on the popup menu. Click that to install the script
- The script will then install into GreaseMonkey. By default, the script should be automatically included with one or more web pages.
For end user without programming experience, don’t worry. There are whole stack of scripts already available for you to just install.
Here’s my top recommendations:
- Gmail Smart-Delete Button Modification: Enable to add a “Delete” button on Gmail interface! (more..) Updated: 2005/05/28
- Ta-Da List Enhancements: “This script will add your lists to the right hand side of the list page.” (more..) Updated: 2005/06/02
- CustomizeGoogle – enhance Google search results by adding links to other useful services.
- Webolodeon – keep you out of meaningless web surfing. (more..)
- Del.icio.us popularity: Sort listed entries by number of linkers! Very useful.
- Bloglines Sidebar Squeezer: If you have so many blogs in bloglines like me, you really want to see more sites on the sidebar. This script able to remove the extraneous header and squishes the text of the sidebar so you can see more feeds at once.
- Google Image Re-Linker: “It’s purpose is to make links in Google Image Search point directly to the image, instead of loading up a thumbnail in a frame.” (more..) Updated: 2005/05/28
- Hotmail Single Window: Remove the javascript wrapper around hotmail external links which spawn new windows.
- Del.icio.us Skinner: Able to beautify del.icio.us.
General and Scripts:
Development on GreaseMonkey:
- Free Online Development Book on GreaseMonkey – Dive Into GreaseMonkey
- Development – DOM Parsing With XPath and JavaScript Article
- development – XML in Mozilla
- JavaScript: DHTML API, Drag & Drop for Images and Layers
- GreaseMonkey compiler – convert any greasemonkey script to a full functional firefox extension
- Greasemonkey: Hacking the Web with JavaScript
More and more resource will be added. Stay tuned more on how to speed up your web broswering.
Download of the day: FreeMind
Today download of the day is called FreeMind which is a free mind mapping software which is written in Java.
lifehack.org rating: 5/5
Download FreeMind
FreeMind requires Java 1.4 or higher.
FreeMind is a premier free mind-mapping software written in Java. The recent development has hopefully turned it into high productivity tool. We are proud that the operation and navigation of FreeMind is faster than that of MindManager because of one-click “fold / unfold” and “follow link” operations.I really like this piece of software as it follows how your brain thinking process. Here I want to quote Peter Russuell on advantages of mind maps to illustrate this point:
So you want to write a completely new metaphysics? Why don’t you use FreeMind? You have a tool at hand that remarkably resembles the tray slips of Robert Pirsig, described in his sequel to Zen and the Art of Motorcycle Maintenance called Lila. Do you want to refactor your essays in a similar way you would refactor software? Or do you want to keep personal knowledge base, which is easy to manage? Why don’t you try FreeMind? Do you want to prioritize, know where you are, where you’ve been and where you are heading, as Stephen Covey would advise you? Have you tried FreeMind to keep track of all the things that are needed for that?
Mind maps work the way the brain works — which is not in nice neat lines.In FreeMind, you can visualize the linkages between important keywords by linking them as a tree. By using this program, the information will become more clear for your brain and help you memorize and increase creativities.
Memory is naturally associative, not linear. Any idea probably has thousands of links in your mind. Mind maps allow associations and links to be recorded and reinforced.
The mind remembers key words and images, not sentences — try recalling just one sentence from memory! Mind maps use just key words and key images, allowing a lot more information to be put on a page.
Because mind maps are more visual and depict associations between key words, they are much easier to recall than linear notes. (For example, although you may not have studied it in depth, see how much of the Home Mind Map of this site you can recall in your mind’s eye.)
Starting from the center of the page rather than top-left corner allows you to work out in all directions.
The organization of a mind map reflects the way your own brain organizes ideas.
lifehack.org rating: 5/5
Download FreeMind
FreeMind requires Java 1.4 or higher.
Thursday, September 29, 2011
Quick way to test dead pixels
“I don’t want to install any software to test my LCD!”
“I don’t want to click whole bunch of wizards or dialogs to test my screen!”
I have a solution for you. There is a web site that you only need to click once to test your screen. Remember to clean dirts on your screen before testing it – those dirts on your screen may look like a dead pixel! ;)
So you just bought a superb ultra-flat 25″ LCD monitor, but it looks like there are a few ‘spots’ on it. Depending on how many and it’ll mean return to the vendor or live with it. Or you could be about to buy one in a store and want to make sure there aren’t any dead pixels. Just come to this page !
Dead Pixels Test – [Guillaume Dargaud]
“I don’t want to click whole bunch of wizards or dialogs to test my screen!”
I have a solution for you. There is a web site that you only need to click once to test your screen. Remember to clean dirts on your screen before testing it – those dirts on your screen may look like a dead pixel! ;)
So you just bought a superb ultra-flat 25″ LCD monitor, but it looks like there are a few ‘spots’ on it. Depending on how many and it’ll mean return to the vendor or live with it. Or you could be about to buy one in a store and want to make sure there aren’t any dead pixels. Just come to this page !
Dead Pixels Test – [Guillaume Dargaud]
Chrome – Google’s browser is here!
It looks like the beta version of Google’s new browser is available starting today. Haven’t spotted the beta download yet, but Google has attempted to explain the project in an online comic.
The browser’s called “Chrome.” The download page is supposedly here, but at the moment that just redirects to the main Google search page.
The browser’s called “Chrome.” The download page is supposedly here, but at the moment that just redirects to the main Google search page.
Humor: Software Development Cycle
Software doesn’t just appear on the shelves by magic. That program shrink-wrapped inside the box along with the indecipherable manual and 12-paragraph disclaimer notice actually came to you by way of an elaborate path, through the most rigid quality control on the planet. Here, shared for the first time with the general public, are the inside details of the program development cycle.
1. Programmer produces code he believes is bug-free.
2. Product is tested. 20 bugs are found.
3. Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren’t really bugs.
4. Testing department finds that five of the fixes didn’t work and discovers 15 new bugs.
5. See 3.
6. See 4.
7. See 5.
8. See 6.
9. See 7.
10. See 8.
11. Due to marketing pressure and an extremely pre-mature product announcement based on overly-optimistic programming schedule, the product is released.
12. Users find 137 new bugs.
13. Original programmer, having cashed his royalty check, is nowhere to be found.
14. Newly-assembled programming team fixes almost all of the 137 bugs, but introduce 456 new ones.
15. Original programmer sends underpaid testing department a postcard from Fiji. Entire testing department quits.
16. Company is bought in a hostile takeover by competitor using profits from their latest release, which had 783 bugs.
17. New CEO is brought in by board of directors. He hires programmer to redo program from scratch.
18. Programmer produces code he believes is bug-free….
1. Programmer produces code he believes is bug-free.
2. Product is tested. 20 bugs are found.
3. Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren’t really bugs.
4. Testing department finds that five of the fixes didn’t work and discovers 15 new bugs.
5. See 3.
6. See 4.
7. See 5.
8. See 6.
9. See 7.
10. See 8.
11. Due to marketing pressure and an extremely pre-mature product announcement based on overly-optimistic programming schedule, the product is released.
12. Users find 137 new bugs.
13. Original programmer, having cashed his royalty check, is nowhere to be found.
14. Newly-assembled programming team fixes almost all of the 137 bugs, but introduce 456 new ones.
15. Original programmer sends underpaid testing department a postcard from Fiji. Entire testing department quits.
16. Company is bought in a hostile takeover by competitor using profits from their latest release, which had 783 bugs.
17. New CEO is brought in by board of directors. He hires programmer to redo program from scratch.
18. Programmer produces code he believes is bug-free….
MySQL 5.5 and Semisynchronous Replication Available
The new 5.5 is now available with “Semisynchronous Replication”. This comes as an addition to the built-in asynchronous replication. MySQL replication is asynchronous by default. Events written to the binary logs on the Master server being retrieved by the slave server(s). Unfortunately, the Master server has no knowledge of when the slave has retrieved or processed these events. As a result, when Master crashes, transactions committed on Master, might have not have been committed on the slave server(s). In other words, there is no guarantee that any event will ever reach any slave.
In case of “Semisynchronous Replication”, the Master server blockes the transaction commit until at least one of the slave servers acknowledges the it has received all the events for that transaction. Obviously, this is great for consistency, however it brings up questions about replication over the WWW which isn’t an uncommon practice. In case of hitting the timeout limit (in case of no response from any of the slave servers), the Master server reverts back to asynchronous replication.
From MySQL support:
""To understand what the “semi” in “semisynchronous replication” means, compare it with asynchronous and fully synchronous replication:
* With asynchronous replication, the master writes events to its binary log and slaves request them when they are ready. There is no guarantee that any event will ever reach any slave.
* With fully synchronous replication, when a master commits a transaction, all slaves also will have committed the transaction before the master returns to the session that performed the transaction. The drawback of this is that there might be a lot of delay to complete a transaction.
* Semisynchronous replication falls between asynchronous and fully synchronous replication. The master waits after commit only until at least one slave has received and logged the events. It does not wait for all slaves to acknowledge receipt, and it requires only receipt, not that the events have been fully executed and committed on the slave side.""
In case of “Semisynchronous Replication”, the Master server blockes the transaction commit until at least one of the slave servers acknowledges the it has received all the events for that transaction. Obviously, this is great for consistency, however it brings up questions about replication over the WWW which isn’t an uncommon practice. In case of hitting the timeout limit (in case of no response from any of the slave servers), the Master server reverts back to asynchronous replication.
From MySQL support:
""To understand what the “semi” in “semisynchronous replication” means, compare it with asynchronous and fully synchronous replication:
* With asynchronous replication, the master writes events to its binary log and slaves request them when they are ready. There is no guarantee that any event will ever reach any slave.
* With fully synchronous replication, when a master commits a transaction, all slaves also will have committed the transaction before the master returns to the session that performed the transaction. The drawback of this is that there might be a lot of delay to complete a transaction.
* Semisynchronous replication falls between asynchronous and fully synchronous replication. The master waits after commit only until at least one slave has received and logged the events. It does not wait for all slaves to acknowledge receipt, and it requires only receipt, not that the events have been fully executed and committed on the slave side.""
JProfiler: Getting Started
JProfiler helps you find performance bottlenecks, pin down memory leaks and resolve threading issues in your Java application. JProfiler combines CPU, Memory and Thread profiling in one application and is developed by ej-technologies. The latest version at the time of this article is 6.0.
Create and Apply Patch in SVN
Creating a patch file
Creating a patch file is really easy. First, check out the most recent version of the code from Subversion using the ‘checkout’ command.
Make your changes. Then, in the root the project run the following command. It will store the patch file in your home directory. Make sure to give it meaningful filename.
svn diff > ~/fix_bug.diff
The file has the .diff extention, which stands for differences. This extension is recognized by many text editors and enables ’syntax highlighting’ automatically. (Give it a try with TextMate and you’ll know what I mean.) You can send the diff-file to the author of the project by email, or you can create a ticket in Trac and add it as an attachment. The author will review the changes you made and possibly apply them to the source.
Applying a patch
You should never apply patches from any person other than your development team without first reading through the changes, apply them locally and test your application and then commit them. Patches can not only include bug fixes, but also alterations to create back doors or add other exploits to your code.
Always read through a patch before applying it!
When you are sure the patch will bring no harm to you, your application or your customers, go ahead an apply it to your working copy. Here, I assume that you downloaded the patch file we previously generated, and placed it in your home directory. In the root of your application now run:
patch -p0 -i ~/fix_bug.diff
This will apply all the changes in the patch to your source. The -p0 option makes sure that all files can be found correctly (this has to do with something called ‘zero directories’, I won’t get into that right now). The -i option tells ‘patch’ what to use as input, in this case the ‘fix_bug.diff’ file in your home directory.
With the code changes in place, run your tests and make sure everything works as expected. If it does, commit your changes.
Creating a patch file is really easy. First, check out the most recent version of the code from Subversion using the ‘checkout’ command.
Make your changes. Then, in the root the project run the following command. It will store the patch file in your home directory. Make sure to give it meaningful filename.
svn diff > ~/fix_bug.diff
The file has the .diff extention, which stands for differences. This extension is recognized by many text editors and enables ’syntax highlighting’ automatically. (Give it a try with TextMate and you’ll know what I mean.) You can send the diff-file to the author of the project by email, or you can create a ticket in Trac and add it as an attachment. The author will review the changes you made and possibly apply them to the source.
Applying a patch
You should never apply patches from any person other than your development team without first reading through the changes, apply them locally and test your application and then commit them. Patches can not only include bug fixes, but also alterations to create back doors or add other exploits to your code.
Always read through a patch before applying it!
When you are sure the patch will bring no harm to you, your application or your customers, go ahead an apply it to your working copy. Here, I assume that you downloaded the patch file we previously generated, and placed it in your home directory. In the root of your application now run:
patch -p0 -i ~/fix_bug.diff
This will apply all the changes in the patch to your source. The -p0 option makes sure that all files can be found correctly (this has to do with something called ‘zero directories’, I won’t get into that right now). The -i option tells ‘patch’ what to use as input, in this case the ‘fix_bug.diff’ file in your home directory.
With the code changes in place, run your tests and make sure everything works as expected. If it does, commit your changes.
MySQL: Number of Databases
The query to find the total number of databases can be found by executing the following query:
select count(*) from information_schema.SCHEMATA where schema_name not in
('mysql','information_schema');
Subscribe to:
Posts (Atom)







