2010-12-28

RIM thought iPhone was impossible in 2007 | Electronista

 
 

Sent to you by forcode via Google Reader:

 
 

via www.electronista.com on 12/28/10

RIM had a complete internal panic when Apple unveiled the iPhone in 2007, a former employee revealed this weekend. The BlackBerry maker is now known to have held multiple all-hands meetings on January 10 that year, a day after the iPhone was on stage, and to have made outlandish claims about its features. Apple was effectively accused of lying as it was supposedly impossible that a device could have such a large touchscreen but still get a usable lifespan away from a power outlet.

The iPhone "couldn't do what [Apple was] demonstrating without an insanely power hungry processor, it must have terrible battery life," Shacknews poster Kentor heard from his former colleagues of the time. "Imagine their surprise [at RIM] when they disassembled an iPhone for the first time and found that the phone was battery with a tiny logic board strapped to it."

Friends who were Microsoft employees at the time were also said to have had a similar reaction.

He further added that RIM, as well as Motorola, Nokia, Palm and other early pioneers, lost ground partly because of a self-defeating attitude. RIM in particular assumed from the start that smartphones would be outgrowths of its pagers and that there would never be enough battery life or wireless technology for more functions. It started growing beyond this view before the iPhone shipped, but the OS foundation until recently was based on the early assumption.

The remarks confirm a widely held belief that BlackBerry Storm development started only after the iPhone was made public rather than having been in development at all before. RIM didn't have its first touchscreen phone until the Storm shipped in late 2008, almost two years after the iPhone's unveiling, and didn't have multi-touch support or a fully accurate web browser until the Torch arrived just this past summer. Apple is now gradually overtaking RIM in market share and is being quickly joined by Android, which now makes up the majority of Verizon sales just a year after the BlackBerry was the carrier's top earner.

RIM may be poised for a comeback as it has promised an aggressive 2011 roadmap, but virtually all of what it will do outside of the BlackBerry PlayBook tablet is a mystery.


 
 

Things you can do from here:

 
 

Zynga’s CityVille Now More Than 25 Percent Bigger Than FarmVille

 
 

Sent to you by forcode via Google Reader:

 
 

via TechCrunch by Robin Wauters on 12/28/10

We knew Zynga's Facebook game CityVille was a hit if the company ever had one (and it's had several already) but the growth that it is displaying is simply mind-blowing.

We'll kick off by pointing out that the game was released on December 2, 2010, which is less than a month ago.

The company subsequently reported that in the game's first 24 hours on Facebook, over 290,000 people had already played CityVille. A few days later: 3 million daily active users. And while you turned your eyes away from the screen for a few minutes: bang, 6 million active users.

Last week, the Sim City-esque game logged about 61.7 million monthly active users, effectively eclipsing its other hit game, FarmVille. Today, CityVille is at close to 72.5 million monthly active users, which means that it has already outgrown FarmVille (which boasts roughly 57,4 million monthly active users) by more than 25 percent.

CityVille isn't just the biggest game on Facebook, it's now the biggest game on Facebook with one hell of a margin.

For the record: we got the number straight from the application pages, as AppData's stats on monthly active users appear to be a tad outdated at the time of writing.

And just for the heck of it, here are the current usage stats for the other "Ville" games:

FrontierVille: 30,468,070 monthly active users
PetVille: 8,394,142 monthly active users
YoVille: 6,232,611 monthly active users
FishVille: 4,969,283 monthly active users

No wonder Google investor John Doerr famously said Zynga is probably his VC firm's best investment to date. Its growth is simply astounding.



 
 

Things you can do from here:

 
 

Moot On 4Chan User Survey: “It’s Total Garbage.”

 
 

Sent to you by forcode via Google Reader:

 
 

via TechCrunch by Alexia Tsotsis on 12/27/10

Over the weekend, a interesting demographic survey of over 6000 4Chan users made the rounds of 4Chan, Reddit and Hacker News. While if anyone is going to skew a survey it's 4Chan users, the Google document with the responses given a lot of Internet ink, lauded for being "bracingly honest."

I emailed 4Chan founder moot a.k.a Christopher Poole to get his take on what one commenter called "One of the best representations of the youth in the 21st century." "It's total garbage," Poole responded.

When asked if this was yet another example of media trolling (remember TIME's "Person Of The Year 2009″?), Poole clarified "It's 'real' in the sense that a random user conducted it and I imagine he collected responses on 4chan. But the questions, answers, sample, method used, etc aren't exactly scientific. It should be taken with a massive grain of salt."

4Chan user genkouhande, who set up the ongoing poll as a project on December 24th, tells TechCrunch that while all surveys do have error, he's confident with the results, having included test responses like "Age: Over 59," "Started masturbating: Over 18," and "Time spent on 4Chan: 24+" to help trap the trolls. "As more people answered the survey the results seemed to be less chaotic and have now been pretty typical," he said.

Poole tells us that 4Chan itself does not collect any sort of demographic data and that there are no plans to conduct any sort of official OKCupid-type survey, "Kind of defeats the point of an anonymous message board, doesn't it?" Heh.

You can view the full results or take the survey yourself here.



 
 

Things you can do from here:

 
 

Rare Gyrfalcons Fly Again After Smuggling Bust

 
 

Sent to you by forcode via Google Reader:

 
 

via TreeHugger on 12/27/10

photo ifaw gyrfalcons released russia smugglingPhotos via IFAW 'Tis the season for heart-warming stories. This one is about eight endangered gyrfalcons, who were recently released back to the wild after being seized by customs officials in Moscow. The birds were found "swaddled in cloth, hooded and packed four to a box," according to the International Fund for Animal Welfare. ...Read the full story on TreeHugger

 
 

Things you can do from here:

 
 

Octo-Mom Faces Eviction In 2011

 
 

Sent to you by forcode via Google Reader:

 
 


octomom faces eviction in 2011

What an awful way to start the New Year! Really, really sad.

Back in October, we reported that Amer Haddadin, the man who owns Octo-Mom Nadya Suleman's house, was gearing up to take action against her for not paying the MAJOR debt she owes to him.

Since Octo-Mom still hasn't made the effort to pay up on the $450,000 balloon payment that she owes Haddadin, it looks like he's decided to officially start eviction proceedings against her if she doesn't take care of the entire payment.

If Suleman is unable to pay off her loan by Dec 31, Haddadin plans to sue her and start up eviction proceedings on January 3rd.

This story gets worse and worse. We hope she's able to work something out quickly, although we can't imagine what!

[Image via WENN.]


 
 

Things you can do from here:

 
 

Pink And Hubby's New Place

 
 

Sent to you by forcode via Google Reader:

 
 


pinks-new-house.jpg

Check out the photos (below) of Pink's new place with hubby Carey Hart.

Looks like her new home in Malibu was listed for $11,850,000. It's 6,800 square feet, with 6 bedrooms and 7 bathrooms.

Verrry nice, Pink! Should be a wonderful place to raise that little baby boy or girl of yours!

What do U think of Pink's new place?


 
 

Things you can do from here:

 
 

Swifty Loves Gwyn Like A Big Sissy!

 
 

Sent to you by forcode via Google Reader:

 
 


taylor-swift-gwyneth-paltrow-friends.jpg

Cute!

It was previously reported (and confirmed by the hostess) that Gwyneth Paltrow threw a private dinner party for Taylor Swift and Jake Gyllenhaal at her home in Primrose Hill when they were all in London recently. Now, we hear Taylor loves Gwyn so much, she thinks of her as the sister she never had!

A friend of Swifty tells sources that she's always wanted a sister and "fell in love with Gwyneth" when she opened her home to her. The pal adds:

"She met Gwyneth through her musician husband, Chris Martin, and has formed a great friendship. They email and call each other all the time. They talk a lot about music, performing and acting but they also talk about normal stuff like boys and dates."

How nice! Maybe the two could record a country song, since Gwyneth is all into that now?!

[Image via WENN.]


 
 

Things you can do from here:

 
 

Ne-Yo Wants To Collaborate With Chezza

 
 

Sent to you by forcode via Google Reader:

 
 


neyo-wants-to-work-with-cheryl-cole-on-music

We'd LOVE to hear what these two would produce together!

Ne-Yo recently revealed that he's looking forward to Cheryl Cole's upcoming move to the US, because he wants to collaborate on some music with the singer!

He explains:

"Me and Cheryl talked about working together earlier but our schedules never worked out. America is a tough market, but as long as she has the right material Cheryl can do it."

We agree! And you have a lot of artists standing behind you 100%, bb!

America is going to LOVE you!

What do U think?? Do U want to see Ne-Yo and Chezza make sweet music together??

[Images via WENN.]


 
 

Things you can do from here:

 
 

Simon's Exes Ruined His Xmas

 
 

Sent to you by forcode via Google Reader:

 
 


simons xmas ruined by exes

Looks like Simon Cowell did NOT have a happy holiday this year.

According to The Daily Star, Simon's fiancee Mezhgan Hussainy spent the holiday arguing with Cowell's former lovers Jackie St. Clair and Sinitta.

Here's what a source had to say about it:

"They are spoiling his holiday with their constant bitchy sniping. He's had a hectic year and was looking forward to some relaxing time in the sun but these daft women are ruining it for him.

There's been plenty of sniping and they have come close to clawing each other's eyes out. It's all back-biting and bitchy comments.

There have been plenty of fireworks. The trouble is they are all like children desperately trying to be the centre of attention with Simon and they hate competing for his time."

Sorry to hear it, Simon! Hopefully they can call a temporary truce or just ignore each other so U can have a better New Year's!

[Image via WENN.]


 
 

Things you can do from here:

 
 

2010-12-27

10 Useful Dreamweaver Tips For Beginners

 
 

Sent to you by forcode via Google Reader:

 
 

via hongkiat.com by hongkiat on 12/27/10

A Dreamweaver user will definitely reckon what a powerhouse it is. Packed with tonnes of features, options and debatably one among the most well known IDE (Integrated Development Environment) in today's market. It may not meet the criteria that some developers demanded however, Dreamweaver undeniably provides a decent range of development, collaborating and coding tools. These options and tools are hidden under layers of regrettable less intuitive menus, which is why we are providing tutorials in today's post.

live code 10 Useful Dreamweaver Tips For Beginners

We will show you some of the most powerful functions of Dreamweaver to assist your access them quickly, along with many other helpful tricks that will lubricate you development time and improve your code quality significantly. Full list after jump.

1. Dynamic View with "Live View"

We already know that DW offers a static view of our open files, but what about "dynamic views" of an application such as WordPress?

First, we need to tell DW what settings to use to present our"dynamic views" correctly. To do this, select HTTP Request Settings from the View > Live View Options menu, then enter the GET or POST parameters you need to view your application correctly.

live view options 10 Useful Dreamweaver Tips For Beginners

Then by switching to Live View in DW, it replaces the old Design View pane with a live, pixel-perfect WebKit rendering of your page; complete with live Javascript, DOM manipulations, database queries, server-side code, and rendered CSS, rather than the placeholder icons you see in Design View.

live view 10 Useful Dreamweaver Tips For Beginners

2. "Code Navigator" is DW's Firebug

Taking it a step further is all about the Code Navigator and when in the Live View window, ALT-clicking (Command-Option-clicking for Mac) anywhere in the window, instantly presents the code that rendered that item. Similar to what you might currently see in Firefox/Firebug.

live view3 10 Useful Dreamweaver Tips For Beginners

3. Freezing JavaScript

Due to the dynamic nature of Ajax, many times we need to interact with a page where certain items are not rendered or available on first page load. These are items that are injected into the page some time after page load. Here's an example:

You might want to change the styling of a tool tip that is implemented entirely in JavaScript. Before today, you'd have to methodically search your way through your scripts to find what was being created and where.

Instead, try this:

Render your page in Live View, then hit F6 to Freeze JavaScript at any time, allowing you to target and dissect the code relating to any dynamic item in the page.

freeze javascripts 10 Useful Dreamweaver Tips For Beginners

4. Live View's Next Best Friend – "Live Code"

When using Live View, you can also turn on Live Code. Live Code will update your code as you hover, click and interact with elements and items in the Live View window!

live code 10 Useful Dreamweaver Tips For Beginners

5. Automatic JavaScript Completion

Dreamweaver comes with an intelligent javascript code completion. Attach your favorite library in the HEAD (for our example, we'll use Prototype), start scripting, and Dreamweaver's code completion will automatically present Prototype's built-in functions, along with the standard DOM functions. Pretty slick!

6. Beautify Codes On The Fly

Does your code page look like unorganized, messy lines of code? Use the Apply Source Formatting feature and reformat it exactly to your preferences. To quickly clean them up, click the Format Source Code icon at the bottom of the Coding toolbar (Edit > Toolbars > Coding) and select Code Format Settings to set your preferred formatting.

You can also access the formatting option from Commands > Apply Source Formatting or only apply it to a select block of code by selecting the Apply Source Formatting to Selection option.

source formatting 10 Useful Dreamweaver Tips For Beginners

7. Get widgety

Just click the Extend Dreamweaver icon (it looks like a gear) in your Application Bar and select Browse for Web Widgets. This will take you to the Adobe Exchange where you can find additional widgets from vendors such as Yahoo!, JQuery, and many others.

web widgets 10 Useful Dreamweaver Tips For Beginners

8. Subversion & Dreamweaver

And yes, Dreamweaver does support Subversion (SVN). For developers who uses SVN to maintain revision control of their project, this could be a good news. Dreamweaver developer Andrew Voltmer discuss how you can use Subversions with Dreamweaver.

subversion with dreamweaver 10 Useful Dreamweaver Tips For Beginners

9. No More Redundant Styles

Many people use Dreamweaver as a way to update content visually, like a word processor. Before Dreamweaver CS4, this could result in redundant CSS rules like .class1, .class2, and so on. In Dreamweaver CS4, just switch your Property Inspector to HTML mode (click the HTML icon on the left of the Inspector) and you'll say goodbye to all that redundant CSS, inserting only appropriate HTML markup.

10. Form Validation made easy

Want to validate your form fields, but worried that you'll have to rebuild from scratch? No worries. Simply select an existing form element, such as a text field, and apply a Spry Validation widget from the Insert > Spry menu. Then control validation requirements such as minimum or maximum characters directly from the Property inspector.

spry validation 10 Useful Dreamweaver Tips For Beginners

Bonus: 3 more

11. Access Related Files Easily

When you open an HTML or PHP file, you will now see a row of dependent file names, such as CSS, Javascript and even included files for PHP, at the top of the document window. You can easily switch to these files, make changes and save them, all without even opening them up. When you click any file in the Related Files bar you will see its source in Code view and the parent page in Design view. Or use Code Navigator to quickly access CSS source code that affects your current selection.

related files 10 Useful Dreamweaver Tips For Beginners

12. Check browsers compatibility

Open the document you want to check for compatibility; from the same menu bar where Code / Split / Design views are accessed, look to the far right for 'Check Page' button.

check page 10 Useful Dreamweaver Tips For Beginners

Clicking it will expand a drop down menu, select 'Check Browser Compatibility'. The Browser Compatibility results window will show at the bottom of the window with any issues that you need to address.

Note: This will NOT check new versions of IE on Mac! To select which browsers to use for testing, select Check Page > Settings from the menu.

13. Preview PHP Pages

Dreamweaver allows you to run and preview PHP codes within the software. Here's how to get it setup.

php 10 Useful Dreamweaver Tips For Beginners

Getting started

  1. First, select Site -> New Site from the top navigation.
  2. You'll see both the Basic and Advanced Site Definition option tabs. Let's proceed by selecting the Advanced Site Definition tab.
  3. Enter a folder name for the site in the appropriate box (for this example we'll use "myphp" as the folder name).
  4. Create another folder named "images" by entering its name in the 'Default Images Folder' field.
  5. Under the Local Info, input the following values in the fields:
    • Site Name: the name of the site. To be used in Dreamweaver only
    • Local root folder: This is the name of the site you will be working in. Be sure to name sites in a way to minimize conflicts, or confusing names.
    • Default Images folder: This is optional, but it's advised to create it now as most sites will use images to some extent. This is where DW will 'look' to insert images in your documents during the coding phase.
    • Links Relative to: This defines how document linking in Dreamweaver will be handled. You can select either Document or Root. The differences between the two are:
      • Document Relative – Will insert a path relative to the file you are working and the item being linked to.
      • Root Relative – Uses / which causes the document/file to be linked in relation to the ROOT folder.
      • Another alternative is to add some configuration to the server configuration files. Being a more advanced task, we'll just stick to using Document-relative for now.
    • HTTP address: enter the site root folder for your project
    • Case-sensitive links: Dreamweaver will check if any file in the project can have Case-sensitive issue when uploading to the server. Notifications will be shown when you use: Site -> Check Links Sitewide. You can leave it checked if you want. I personally don't leave it checked as I always name files in lowercase. Uppercase letter is not recommended.
    • Cache: Check Enable cache.
  6. In the Remote Info page, either setup your FTP or other access to a remote server or leave the Access to None.
  7. In the Testing Server page select the option that relates to the file type/system you will be testing.
  8. Version Control will not be used for this example so you may leave it blank unless familiar with it.
  9. Cloaking allows you to place .psd, .fla, and other source files within your sites folder and DW will disregard them when uploading/updating your site.
  10. Design Notes are ideal for a web design team as it retains note on changes made to the files. It's checked by default and fine for us to use this way.
  11. Leave File View Column, Contribute, and Templates as default.
  12. The Spry page simply points to the Spry assets folder which is automatically included with Dreamweaver. There's no need to change this. Once every setting is finished, click OK.

Preview PHP in Dreamweaver

Now open a PHP file and make the needed changes to it. To view this file in Dreamweaver simply press F12 and the results will show in your default browser. You can change which browser is used in Edit -> Preferences -> Preview in Browser. This allows a faster edit-to-preview time, eliminates the need to type long URLs into your browser bar or to use another server software to render the PHP files, all of which save time!

That's all. Happy Dreamweaver'ing :-)

(bellefoong)


 
 

Things you can do from here: