Category Archives: Articles
I’d like to share my recent experience dealing with my Mac after it suddenly broke down. My Macbook Pro (2010 series) stopped booting. I was watching Netflix in Firefox browser and paused the film while I was moving my Macbook Pro from one table to another. The moment I put it down, my screen got frozen and no matter what buttons I pressed, it would not react. So I held the POWER button to shut it down to reboot.
However, on my next boot, all I see is the spinning wheel (the wheel of death!)… I waited for 5-7 minutes – nothing happened. I rebooted again and see the same picture, so I waited longer. After about 10 minutes, the wheel was gone and the light blue screen appeared (it’s light blue right after it switches from the white and then it quickly becomes a darker blue, but not in my case). I waited for 10 more minutes and the light blue screen was still there. “OK, not my first,” I thought. I pulled out my original DVD and decided to reinstall the Mac OS X (which in my case was 10.5).
Booted from the DVD, chose the language, chose re-install the OS, but keep the files option. It was about to begin the install when I received a message saying: “An error occurred, please reboot and try again.” No mentioning of what kind of error it was. Rebooted from a DVD again, launched Disk Utility. It got stuck right after it started verifying volume. Rebooted again, but this time the DVD activity stopped during booting and nothing was happening for more than 10 minutes… There were no noises at all from the DVD-ROM, even no vibration from spinning, and all I could see was the light blue screen. I thought it was some kind of a virus for Mac that was slowly killing my computer. I got a bit nervous…
I pulled out another original DVD that tests the hardware. It read it well and found no errors with the hardware.
I quickly pulled out my old Gateway PC with Pentium 4 processor and Windows XP, which I bought in 2005 and which is a bit slow but still works great (the only part I changed was the battery – $40 on eBay) and started digging the Internet to understand what the heck was going on.
Gladly, I used Time Machine backup every once in a while, so I was not worried as much about my data, as I was about the possibility of needing to buy another computer!
I tried every single booting advice I could find online (resetting PRAM and NVRAM, booting in safe mode, single user mode and so on). Nothing. It kept showing me light blue screen every time I boot with or without the DVD. Booting in a single user mode was getting stuck after mentioning loading the Airport utility and giving numerous messages saying “Still waiting for root device.”
I got my hands on another Mac (iMac also with 10.5 Mac OS X) and a firewire. I decided to boot my Macbook Pro in a Target Mode (holding T after turning it on) and see if the hard drive would respond. And it did! I got the remaining non-backed up files out. Then I tried to load my iMac’s OS on my Macbook Pro, and it worked. Thus, it seemed that the Macbook Pro was OK, but each time the computer would try to load something from its internal drive, it was becoming paralyzed like as if it had a virus. I tried loading vice-versa (my Macbook Pro’s OS on iMac) and that did not work, it got stuck again on the light blue screen. After that, for some reason, each time I reboot the Macbook Pro it would show me a broken folder icon – a crossed circle icon, which means the system can’t figure out where to boot from.
On a side note, I find it quite amazing that you can load one Mac’s OS on another just like that. Very convenient!
I kept trying different methods and then all of a sudden, after I let my Macbook Pro rest for a night, it booted from the DVD. It got passed that light blue screen in a manner of seconds and switch to a darker blue and then to the background galaxy image almost instantly. I tried full re-install with no backup option. It showed the installer window and again: “An unknown error occurred.” Reboot from DVD, blue screen again! Come on you silly Mac! I should have started taken bets: ladies and gentlemen, make the bet! Is this Mac going to boot this time or not!
Ah well, it was time to open this thing up (for the first time). Not worrying about the warranty that expired a year ago, I opened it up, and boy was it dusty!! I carefully cleaned it, checked all the connections, and all looked fine. I unattached the Hard Drive blew on the connection, connected it back, but did not screw it back in, so the hard drive was loose. I decided to try booting, maybe it was the dust. It booted the DVD! YEAH-HA!!! WOW!! So much for dusting! This time, I ran Disk Utility which did not find any issues with the disk. I still decided to format the drive and zero it out completely. After it was done, I chose clean install of the Mac OS option and it actually began installing it!!! I was amazed how much dusting could do and couldn’t wait to tell my friends about how weird it was!… Then it got stuck on 82% and that was it. The install log was not showing any activity…. I waited for an hour and it just sat there… frozen… like when I tried to install Windows in Parallels… succeeded after a few tries. So I decided maybe it would take several attempts as well. I screw in the hard drive holder bar, but booting from a DVD stopped on a light blue screen again. So, I unscrew it back to make hard drive loose again, and it booted OK. “So strange,” I thought, “why would it have any effect?” I tried to install again, but each time install would freeze, sometimes on 12%, sometimes on 25%.
By the way, if you are going to open your Macbook, make sure you discharge any static electricity before digging into it to avoid any close circuits. Follow the instructions in the beginning of this post: http://support.apple.com/kb/ht1270#link2.
I must admit, compared to the desktop PCs that I used to build which had wires hanging everywhere and the modules were plugged in wherever they could fit, the inner-content of my Macbook Pro was very elegant, well designed and organized! Really neat!
Back to my problem, I was certain it was my hard drive at fault, so I started looking for a new hard drive online. I heard some stories that original Macs’ Hitachi hard drives would break after 3 months after purchase, so I was not that surprised. But usually the first sign of a faulty hard drive is its making of a cracking noise. Mine was very quiet and it did mount on another Mac, so I was confused…
When you look for a new SATA hard drive for a Mac, be careful, firstly you have to find the one that supports Mac OS Extended (Journaled) format. Secondly, some Western Digital hard drives I found will not allow you to format them without some special configuration with pins (that were used on old desktop machines) since there is some Owner/Slave config issues. As for the prices, at that time, there was a flood in Thailand which caused some major shutdowns on hard drive factories and all internal and external hard drives went up in price! Just grrreat!
Since I wasn’t 100% sure that it was my hard drive at fault, I got a hold of a device in which you can plug the 3.5 or 2.5 SATA internal hard drive and connect it to your computer via USB cable (you can find one for $20). So, I extracted my hard drive and connected it via USB. I tried booting from a DVD, and not only had it worked, but the whole installation went SUPER FAST, it took 40 mins to complete the install of Mac OS. Reboot, everything is perfect! Then I put my hard drive back inside of my computer, boot, light blue screen again (at least no broken folder icon).
Then it hit me, maybe, it is loading but very, very slow, something like an old 386 IBM. So I rebooted and just let it sit there. Sure enough, after 40 minutes, I see the desktop but without the background image. It felt like the memory Usage was at 101% all the time – it was extremely slow! To open a Finder window took 10 minutes.
So since the hard drive worked great outside, it was not it, so it must have been a Hard Drive Cable which connects it to the mother/logic board. Maybe that is why it was booting better when the hard drive was loose. Something must have close circuited and some connections got broken. If not, then it might have been the board itself. I googled the price of my board and it was around $800… Like a new Mac almost… That got me upset.
Considering it was some unrepairable board connection between itself and the hard drive, I could always use an external USB drive to avoid spending this kind of money, but that kinds of shutters the purpose of a laptop, which is supposed to be compact. Carrying and booting from an external drive all the time, getting “Incorrect Device Removal” notices when the USB cable is shaken was not a pleasing thought… Laptop won’t feel quite movable and portable anymore…
I decided to check how much that hard drive cable is. It was hard to find, a regular hardware store won’t carry it, nor would the Apple Store (they have them, but not for sale individually, only with labor). I found a local store that had them and one reliable store online (iFixit). Both had them for about the same price ($50). eBay had it for $25, but even though it looked similar to the one needed, its part number was different. I did not want to risk it – it’s not just some plastic door nub, it’s a complex wire that has a potential of frying a logic board.
Digging the Internet for all that info, I read some posts that mentioned it was ridiculously expensive to bring your Mac to Apple Store’s Genius Bar without warranty. They also mentioned that the store performs a free diagnostics, but if your issue is complex, it would have to be shipped out. I thought that my issue was complicated since it required more than simply plugging in the DVDs for diagnostics, which I had already done. It needed opening up, trial and error, connecting drives and so on. I didn’t want to spend a bunch of money at Apple store only for diagnostics since I thought they would charge me, or worse – ship my Macbook Pro to Texas for a month. So I wanted to go to them once I knew what was wrong to avoid any diagnostic fees. At that point, I had already figured most of it, and the only thing I needed was to verify what else it could be if not the wire before I spend $50 on it.
So I finally decided to take advantage of a free appointment at the Genius Bar. I was expecting 15 minutes of preaching about “Oh, you should not have opened it up yourself, you’re not the expert – we are, it might be this, or that, we can’t tell for sure until we take a closer look, we charge $100/hour…” and so on. HOWEVER, after I explained to the Genius guy about my trial and error testing, I was pleasantly surprised to hear him say, “Probably it’s the cable.” Wow! He actually took me seriously! And that took only a minute to explain! I asked, what if it is not, is there anything else that it could be. He said then it would be the logic board BUT, (LISTEN TO THIS) for about $300 (incl. tax), they ship your Mac to Texas where they fix EVERYTHING that is wrong with your Mac. And he meant EVERY SINGLE THING, for about $300 (incl. tax). A pixel on a display is dead, they put a new display. The only thing, they won’t fix a part if they see a water or some physical damage administered to it. I double checked, “Even the logic board for $300?” He said, “YES, everything!” I got so relieved that I forgot to ask a bunch of other questions.
[UPDATE Aug 24, 2015] – I just learned they stopped this kind of service for Macs made on or prior to 2010. Not sure if 2011 as well. So it does depend on the age of your machine.
I left them my Mac to put in this Hard Drive Cable and see if it fixes it. It was $60 (incl. tax); however, if the cable was not the reason, they wouldn’t charge me for it and just send my computer to Texas, which at that point would be cheaper anyway than buying a new logic board.
Next day I picked it up and everything was fine again!
Here Are The Lessons I’ve Learned:
- Always back up your files. Restoring data from a Time Machine did not go well for me. It refused to load the Libraries and System files (gave a permission error). I had to do it manually, so I came up with the whole system that would allow an easy full system restore.
Overall, I partitioned my 500GB external backup drive into 3 drives:
- Time Machine (dedicated it 150GB) – I use Time Machine to backup only the areas I work frequently with like Users folder. I excluded all system files, Dropbox (does it on its own), Libraries, and Applications (unless I work with the data in their folder, like folders in MAMP program)
- For a full backup that I sync weekly or after major software updates, I use Carbon Copy Cloner (250GB to match my internal hard drive’s size) – it’s a great program that makes a bootable copy of your drive (it’s free, but if you love it like I do, I suggest you donate $20 or more to its developer! He truly deserves it!). If your Mac crashes, you can use this copy of your internal drive booting it on any other Mac until you get yours fixed.
- Third partition I use for the Parallels (50GB) since I do not want to back up 20GB each time just because I launched the Virtual Machine once. I prefer to manually back it up once in a while since I don’t change much in it.
- Always KEEP YOUR ORIGINAL DVDs!!! Will save you so much headache, money and time!
- Unlike many forum posts say, opening your Mac is NOT the last resort, and should be done BEFORE formatting the Hard Drive. I could have saved myself the need to restore the Hard Drive. Just make sure you do not void warranty. If you still have it, just make an online appointment to visit the Genius Bar, they’ll fix it
- Don’t be afraid if your screen goes blue, or gray, or shows some icons you have never seen before, it may be easily fixed!
- If you want to buy an external hard drive, make sure it is a firewire or USB 3. Regular USB drives are slower.
- Macs are like any other PCs where you can plug stuff in and out and it will still work after (I removed RAM, unplugged some logic board plugs, unplugged battery, and all works OK. Just be gentle and careful, don’t connect or touch the metal spikes on the board)
- If you can’t boot from a Mac DVD, unplug the Hard Drive, if it boots most likely there is something wrong with the Logic Board or Hard Drive Cable.
- Genius bar is a place to go, especially if you think you have a faulty logic board
I leave you with a wonderful song by The Corrs and Bono from U2 called “When The Stars Go Blue.” Just substitute the words “The Stars” with “The Macs” and it will still make sense!
Have you had any issues with your Macs? Did your hard drive or anything else failed? Have you visited the Genius Bar, how was your experience? Please let me know, I am curious.
Questions? I’ll be happy to help with what I can.
Once, I had an issue of HTML code within WordPress when going through email submission appeared all wrong and full of strange characters. The apostrophes were all messed up: ” and ‘ were showing up as euro signs and some other weird characters in the email (e.g. €). So I digged into TinyMCE settings and found these very useful features: entities and entity_encoding. I use a great plugin called Advanced TinyMCE Configuration (http://wordpress.org/extend/plugins/advanced-tinymce-configuration/)
After some research I get that basically what happened was when I inserted the text from OpenOffice, UTF-8 encoding let the special signs for quotes (“ ”) slide. Whereas our email submission provider uses Western-ISO-8859-1, which is very picky and wants to see either standard “” or “ and ”. So entering the following into the Advanced TinyMCE Config Plugin fields solves it:
Option name: entities
Option name: entity_encoding
Voila! Now every character e.g. ™ or © are coded as ™ and ©.
With Joomla 1.6 release it became obvious that many developers turned away from Joomla. Very few plugins were actually updated to meet the new version’s requirements. Drupal 7 seems a bit overpowering due to all extra elements that it forces upon its content. I am not clear why developers decided to do it, Drupal 6 did not have this problem. As for my experience with WordPress, surprisingly, it was able to satisfy most of my needs: plugin availability and easy plugin install/uninstall, great support, most elements work just like they should from the 1st attempt. What I do miss is Replicate-like plugin that Joomla has that allows you to fully sync your Remote version from your Local Machine with one click. Other than that, WordPress is very flexible, easily customizable, and with great documentation. This is my conclusion after working with these CMS’.
So I compiled a list of available Easing effects for JQuery plugin just in case you are like me:
Here is an array. I like to make my animation random, so I use this form sometimes and add Math.random() and Math.round() functions:
var arrName = new Array();
Or if you just would like a list, here you go:
If you would like to learn more about the plugin and see it in action, here is the link to the Easing Plug-in Page: http://gsgd.co.uk/sandbox/jquery/easing/. Buy the guy who made it a beer while you’re there! 😉
Oh, and please let me know if I am missing something! Cheers!
In one of my previous posts, …WordPress Is The Best CMS, Really… ?, I examined some of the WordPress usages as a Content Management System (CMS). I wrote that I am skeptical about using WordPress as a CMS. However, thinking about it more and researching, I am getting more and more convinced that WordPress is actually a great CMS.
It’s so happens that I am re-designing my website right now, nookeen.com, and I am faced with a dilemma what CMS to choose.
I am not going to mention the qualities that are the same like both have DIV structure, numerous plug-ins, great support forums, tutorials, documentation, and so on, both CMS’ are amazing! What I am going to explore is their differences.
- Super easy blogging (BIG +). For those who use blog a lot, it is very easy to manage comments, post articles, and add media. For Joomla, I use JComment. It is the best tool for blogging I could find. It supports Gravatar, RSS, Sharing and everything else you might need. However, JComment is just a plug-in for Joomla, it’s interface is combined with Joomla interface, so you would spend more time posting, checking, and approving comments due to the need to navigate to different places within Joomla CMS.
- Simple but powerful interface (BIG +) – one window for all. It seems like Joomla 1.5.x has so many different windows, panels and so on. I would be nervous if I were making a website for a client who is technologically challenged. There are too many nuances to keep in mind.
- Making less choices makes you focus on blogging more. With WordPress, it’s simple. You just create a post and publish it under a certain category. In Joomla, you have to choose what format you would like you post in: article, article list, blog, blog list, category list, and so on; in what menu to include; should it appear on the front page; what to link it to; what category; in what section… All those choices! ARH!
- If you ‘speak’ basic PHP, it’s easier to make a template. Joomla templates require a Joomla-way-of-thinking which you get accustomed to if you spend enough time on it. You have to divide your page in blocks – user1, user2, header and so on. However, with WordPress, it is more like what see is what you get. Make it, add a menu and you’re done.
- Give you a lot of flexibility right from the Admin Panel without the need of modifying PHP code (BIG +). Lets say, I would like to have the same links to articles that are in a certain category through out a certain section or menus. Definitely, you could make it in WordPress, but then you would have to change the PHP Template file. With Joomla, you can pretty much choose where and what you would like to show up right from the Admin panel. It is very convenient if you constantly add content. Notice, above I say that WordPress is simpler and makes you think less and that’s a good thing, but, in some cases you would want to think more to impress your readers with the amount of detail.
- Full control over menus (BIG +). You can create as many menus as you would like. That is very powerful tool if you have a different navigation for different sections. Joomla comes packed with this feature, so it is easy to use. It is very simple to integrate jQuery, since you can assign names to the UL LI or DIV elements. Integrating a CSS dropdown menu can be a headache: looking for the right Joomla plug-in is time consuming. However, if you already have one on your HTML website, all you have to do is put the menu sections, headers, and submenus through the Admin Panel and you are ready. Joomla’s UL LI structure is pretty basic. Just make sure you CHECK in menu options to display ‘submenu’ elements so that it would not hide it.
- If you do not speak PHP, using Joomla is much easier to use (BIG +). Switching menu on and off, modify sections, adding boxes, fields is quite simple. No need for PHP knowledge what so ever. Just choose what to show from the Admin Panel. Want to transfer your HTML version into Joomla? No problem. Put your content into Custom HTML Modules and Articles and you are done. Each section can look different from each other easily. Whereas with WordPress, you can only achieve such flexibility by reading Tutorials about its PHP programming.
- It is good for big websites (BIG +). Creating and sorting 100+ pages (not blog posts) is easier with Joomla due to its interface and control over what each page should display. WordPress is more of a generic template CMS, where as you can twist Joomla as you wish. Add section there, remove this article here, and so on. Its menu options will allow you to exclude content with one click.
So, as you can see, they are both awesome platforms, but you have to decide what is right for your needs.
Now, your turn. Which one do you usually choose?
You know, some time ago, one of my clients asked me to make an email ad. “No problem” – I said, and made an HTML page with CSS, DIV and with validated XHTML 1.0 code. Then I put the whole thing into Outlook Express, emailed it to myself and got shocked! It looked nothing like the HTML page I just made.
I cruised the web for solutions and suggestions and I managed to find really good information regarding it; however, I could not find a detailed guide for it.
I cannot put all I’ve learned in 1 post, since it takes too much time, and I’ve been trying to do it and notice that it only slowed down my postings. So I’ll start little by little giving you some idea about how to code and HTML email.
So, let’s create an HTML email from scratch. There is a whole new HTML coding way for that.
So, now, here’s how it should be done:
1. Head Section
Just as a regular HTML page. You can change it to XHTML 1.0 validation and keywords and description <meta> if you’d like.
<!--DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Your Title</title> </head>
2. Body Section – not like a regular HTML or XHTML.
– Don’t use DIVs – some EMail clients just erase them, use good old TABLES.
– Do not set a background image, it will not work either.
– Use <bgcolor> for specifying the background color instead of anything else. For example, it should be “bgcolor=”#000000” rather than CSS styling. And do not shorten the colors like this: #000. Instead use the full color code #000000.
– Do not use email width larger than 640px if you can. Notice how Yahoo or Hotmail shrink the email field by putting their menu on the left and advertising on the right.
<body> <!-- Wrapper --> <table cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF" width="640" align="center"> <tr> <td>Sample text</td> </tr> </table> <!-- Wrapper ends --> </body> </html>
Stay Tuned! More details coming soon!
Recently, I looked at numerous CMS’ to find out if there is anything new going on on the market. Again, the best ones are the those for which you have to pay for (Expression Engine). But I also saw some reasonable improvements in CMS’ that many have already forgotten. A lot of developers say that Joomla is about to be eliminated. However, a significant difference between 1.5 and its predecessor makes me believe that Joomla will still be with us and probably soon will have more features to match the new line if CMS’ like MODx and SilverStripe.
I discovered a great article about it at SpyreStudios.com. A lot of users mentioned WordPress as a leading CMS. Very interesting choice, I must say. I thought that WordPress is perfect for blogs, but using it for a simple website or a rather large one did not make any sense to me. I sat and studied why it is actually so popular. Then I discovered that many modern web designs resemble blog sites, e.g. Bredova.ru (uses MODx CMS). Among layouts like this, it seems like WordPress is the leader.
However, let’s say I need more. I want to implement numerous modules, articles, and menus onto my website. Then what? If I use WordPress, I basically have to re-write the whole CMS to fit my needs by hand. PHP and WordPress command knowledge required. I don’t like this idea. If I wanted to write a website from scratch, I would use Netbeans or some other utility. I want something that I can put in my already-made XHTML design and utilize it without major PHP rewriting. Why should I do that if there are many other CMS’ that already have it all built in. I spent hours checking the features of each CMS and came to the conclusion that, yes, some are more advanced than others (e.g. unlike Joomla, some CMS can manage sub-domains or multiple sites), but mostly, they are very similar.
This brought me to the conclusion that using what you know best, if it does the job, may save you a lot of time. Unless you have a spare time or something is wrong with a CMS you use, don’t waste your time. Use the one you know. Some CMS may lack features, then you have no choice but to switch. But it’s for the best, choose well this time which one to stick with… However, judging by how fast technology progresses, it’s difficult to forecast if a leading CMS today will stay as technologically advanced in 2 years, even with all the updates.
I’ll tell you what. It’s quite simple. We, web developers, still have to deal with IE5, IE6, Netscape, Firefox 1.x and so on. What progress are we talking about if we are still in the year 2000. Once we refuse to support all old web browsers, we will encourage the users to finally upgrade. Once we stop feeding them the content for their old unprotected and unsupported browsers, only then the users will feel that they have no choice but to upgrade. Only then we’ll stop wasting time on IE bugs, workarounds and use it on something more useful.