Wednesday, September 28, 2011

PHP 5.4 beta1 released

What's news?

  • Added new json_encode() option JSON_UNESCAPED_UNICODE.
  • Added support for object-oriented session handlers.
  • ext/mysql, mysqli and pdo_mysql now use mysqlnd by default.
  • Removed the timezone guessing algorithm in case the timezone isn't set with date.timezone or date_default_timezone_set(). Instead of a guessed timezone, "UTC" is now used instead.
  • Added callable typehint.

Notify:
This is a development preview...
DO NOT USE IT IN PRODUCTION!

If you find a bug, report it to the QA mailing list and/or the PHP bug tracker.

Read the NEWS file for a complete list of changes.

I have been looking forward to the stable appearance.

Tuesday, September 27, 2011

Google Developer Stories

Monday, September 26, 2011

Doodle Today: Googles 13th Birthday

Googles_13th_Birthday-2011-hp

Wow... You are very-very old. Now you can register to Facebook. =)

[Doodle link]

Galaxy S with Android 2.3.5 (+root) with Heimdall

First of all: Make backup (root your phone and save apps, contacts, /efs directory from the root and others)
Ok. The easiest way to upgrade your Samsung Galaxy S (i9000) is to use Heimdall. =) This is an Open Source project (see the project page).

What is Heimdall?
Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices.

Let's see it step-by-step:

  1. Go to the xda-dev forum.
  2. See this video on youtube: You are a Noob on XDA-Developers. | important step
  3. Go to the Heimdall firmware packages for stock GT-I9000 firmwares thread.
  4. Find and download your regional firmware package.
    You can find the European package in the main post.
    XXJVS for 2.3.5 or XXJVQ for 2.3.4 etc.
  5. The downloaded file will be a .tar archive. Do NOT extract it.
  6. Download Heimdall. I use v1.3.0 on mac now (as you see below in screenshots).
  7. Install Heimdall. It probably needs to restart the machine afterwards... so save this post into your bookmarks.
  8. Open Heimdall. Heimdall main window
  9. Turn off your phone and plug the USB cable into your computer, but don't plug into the phone.
  10. Hold down the Home and the Volume Down buttons and while you hold these buttons plug the cable into the phone. The phone turned into Download mode. Nice. Download mode
  11. Push the Detect button under the Utilities tab. Detect button
  12. Switch back to Load package tab and use the Browse button. Yes browse your downloaded .tar file. Browse
  13. Wait... Wait... Wait... Extracting files...
  14. Now you can see the Firmware Name (eg: Stock), Version (eg: XXJVS), Platform (eg: Android 2.3.5), Developers (Samsung), the Package File List (in the right) and other useful information. Ok. Hit the Load/Customize button in the right-bottom corner. Preview
  15. You don't need repartition if you have Froyo or newer (checkbox in the left). If you don't want to customize your package, for example kernel, just press Start and wait =) Customize
  16. You are done. You have a v2.3.5 Android on your Samsung Galaxy S.
If you want to root your phone (with "new" v2.3.5 Gingerbread)...
  1. Download the latest CF-Root for the selected Android version like CF-Root-XX_OXA_JVS-v4.1-CWM3RFS for XXJVS and unzip it. You find one file. Yes zImage =)
  2. Slap on a Terminal/Console/cmd.
  3. Go back to the Download mode (Step 9-10)
  4. Enter this command: heimdall flash --kernel zImage.
  5. Wait a moment.
  6. Finish =) The kernel installs some apps like Superuser. Superuser is outdated, so you need to update it from the Market
Nice ^_^ It was easy, right? That's why I love Heimdall.

Android 2.3.6 Gingerbread update

Thomas Newton said:

Android 2.3.6 Gingerbread update rolling out to unbranded Nexus Ones - Recombu

As soon as we saw this little update appearing in out notif bar we immediately installed it. Don’t hold your breath, it’s not Ice Cream Sandwich. We can’t see any immediate benefits from installing this; there’s no official word from Google on this, but we understand that this is mainly a security patch/minor bug fix.

read more

So tasty =) Now i look forward to it for SGS-I9000. But it's not my primary wish-release, I want Ice Cream Sandwich now ^_^

Android 2.3.6
Image from recombu.com

Sunday, September 25, 2011

Google+ reportedly passes 43 million users

@BradMcCarty said:

Google+ reportedly passes 43 million users - The Next Web

In the past, according to PlusHeadlines, Allen has been startlingly accurate:

  • July 4th – 1.7 million users
  • July 9th – 4.5 million users
  • July 12 – 10 million users
  • September 9th – 28.7 million users
  • September 22nd – 43.4 million users

read more

Google+ grew up silently.

Friday, September 23, 2011

And continuing to infinity! Speed of light 'broken' by scientists

Nick Collins said:

Speed of light 'broken' by scientists - Telegraph

The science world was left in shock when workers at the world’s largest physics lab announced they had recorded subatomic particles travelling faster than the speed of light

read more

What the hell? I believed in Einstein... But now what can I do? I know =) I will travel faster than the speed of light. This will be my new purpose in life. Ok and what's next? Time travel will be possible? Let's form the Order of the Time Riders (OTR, not On The Road) or the World Timecop Military Formation (WTMF, not What The Mother F* ).

Facebook published the new profile page

New Facebook Timeline Screenshot Yeah... The new facebook style is cool =) Pretty hard to enable it but not the most difficult. What do you need to get the new surface:
  • Log into Facebook
  • Enable Developer app. Just type `developer` into the search box on Facebook and allow the permissions.
  • Go to the Developer app (if Facebook doesn't redirect you)
  • Create a new app (or edit an old exist app)
  • Add a name and namespace
  • Go into `Open Graph` menu
  • Add a new action like `read` a `book` or `drink` a `beer`.
  • The well-accustomed next-next-finish method
  • Save the app (don't worry, the app won't be published)
  • Wait a moment
  • Go to Facebook home and enable/accept the new timeline feature.
Not simple but not hard =) Just a little puzzle. Good luck.

Wednesday, September 21, 2011

#failofculture: Samsung may try to block next iPhone in Europe too

Anna Leach said:

Samsung may try to block next iPhone in Europe too • The Register

Samsung could try to get the iPhone 5 delayed or banned in Europe, a source has told South Korea's Maeil Business Newspaper today. The Korean giant is considering a lawsuit against the next version of the Apple smartphone due in October, in the expectation that iPhone 5 will make use of some basic telecoms technology that Samsung has patented.

read more

Oh my god... I love patents and laws.

Redis and MongoDB insertion performance analysis

Axant Tech Blog said:

Redis and MongoDB insertion performance analysis

Up to 5000 entries mongodb $push is faster even when compared to Redis RPUSH, then it becames incredibly slow, probably the mongodb array type has linear insertion time and so it becomes slower and slower. mongodb might gain a bit of performances by exposing a constant time insertion list type, but even with the linear time array type (which can guarantee constant time look-up) it has its applications for small sets of data.

read more


Graph from blog.axant.it


Graph from blog.axant.it

Tuesday, September 20, 2011

Google+ Hangouts new features and API

Ok, it's fine. Google published the Google+ Hangouts API...

Richard Dunn said:

Introducing the Google+ Hangouts API - Google+ Platform Blog

 Today we’re launching the Developer Preview of the Hangouts API, another small piece of the Google+ platform. It enables you to add your own experiences to Hangouts and instantly build real-time applications, just like our first application, the built-in YouTube player.

read more

...but the best things are the new features: Screen Sharing, Google Docs Integration and SketchUp Integration... But, yes the big But, you need a license to use it with extras. Yes Hangouts with extras is currently in preview and unavailable for you if you don't have a "five stars passport". *suck*

Adam Dachis said (@lifehacker):

Google+ Hangouts Adds Screen Sharing, Google Docs Collaboration, and More

We've always been keen on Google+ Hangouts, but a recent update provided some extras that make the experience even better. Now you can share your screen, collaborate in Google Docs, and even draw together in SketchUp. Additionally, the Hangouts API provides developers with the ability to integrate Hangouts into their own web apps. This could become a very interesting way to not only collaborate on work, but also share media and play games with other people across the web.

read more

so this is... it seems ...like the honey of Winnie the Pooh. (? honeypot ?)

Hackers break SSL encryption used by millions of sites

ID said (@The Register):

Hackers break SSL encryption used by millions of sites • The Register

At the Ekoparty security conference in Buenos Aires later this week, researchers Thai Duong and Juliano Rizzo plan to demonstrate proof-of-concept code called BEAST, which is short for Browser Exploit Against SSL/TLS. The stealthy piece of JavaScript works with a network sniffer to decrypt encrypted cookies a targeted website uses to grant access to restricted user accounts. The exploit works even against sites that use HSTS, or HTTP Strict Transport Security, which prevents certain pages from loading unless they're protected by SSL.

read more

"Fear of the dark, fear of the dark
I have constant fear that something's
always near
Fear of the dark, fear of the dark
I have a phobia that someone's
always there"

(Iron Maiden - Fear Of The Dark Lyrics)

Or what the hell is it?

2 days left: Facebook to Launch "Major" Profile Redesign at f8

Ben Parr said (@Mashable):

Facebook to Launch "Major" Profile Redesign at f8

Facebook plans to roll out a major redesign of user profiles at its f8 developer conference this week, Mashable has learned.

Details about the redesign are sparse, but two sources familiar with Facebook’s plans (who have asked to remain anonymous) have told us that the redesign is “major” and will make Facebook profiles nexuses for consuming content.

The profile changes will be part of a wider launch, one that will include launch of a music and media platform.

read more

F8 Developers Conference 2011 - Sept. 22 @ SF/CA

Sounds like... like... no like... Sounds awesome (scary), right?

Facebook said:

F8 Developers Conference 2011

JOIN THE DEVELOPERS, ENTREPRENEURS AND INNOVATORS WHO ARE CREATING A MORE SOCIAL WEB.

read more

How to get 30’000 downloads on the iTunes Store

intermediaware.com said:

How to get 30’000 downloads on the iTunes Store

At the release day of each game there are some nice initial sales. Usually between 40 – 100 sales during the first 24 hours. Then at day 2 and 3 the sales always dropped rapidly. Now, with 6 different apps I have between 1-4 sales per day on average.

read more

Monday, September 19, 2011

Launching Google Wallet on Sprint and working with Visa, American Express and Discover

Osama Bedier said:

Official Google Blog: Launching Google Wallet on Sprint and working with Visa, American Express and Discover

In May we announced Google Wallet—an app that makes your phone your wallet—with Citi, MasterCard, Sprint and First Data. With Google Wallet, you can tap, pay and save using your phone and near field communication (NFC).

read more

Is it cool? Maybe... Probably...

The Imperial Desktop

Alan Henry said:

The Imperial Desktop

When Flickr user Technetium wanted a Star Wars-inspired custom desktop for his Mac, he turned to GeekTool to make it happen. A few well placed geeklets, the right font, and the end result is a desktop that's functional, informational, and a lot of fun.

read more

Google APIs Client Library for Java: now with OAuth 2.0

Yaniv Inbar said:

Google APIs Client Library for Java: now with OAuth 2.0 - The official Google Code blog

Today we are announcing a new milestone for the Java client library. With the version 1.5 release, we’re making available the open source Google OAuth Client Library for Java in Beta, with support for both OAuth 1.0a and OAuth 2.0. OAuth is an open standard for allowing a client application to securely gain access to a user’s private data stored on Google without ever asking for their password. Most Google APIs support OAuth 2.0, and we want to encourage adoption of OAuth 2.0 more widely on the web. That’s why we built this library to work with any API on the web -- not just Google APIs -- that comply with the OAuth specifications. Our current implementation of OAuth 2.0 is based on draft 10, but we will update it soon to the final draft, once it becomes an official standard. We encourage you to try it and send us your feedback.

read more

And here is an example of how easy it to use (from the post):

// Set up the HTTP transport and JSON factory
HttpTransport httpTransport = new NetHttpTransport();
JsonFactory jsonFactory = new JacksonFactory();

// Set up OAuth 2.0 access of protected resources 
// using the refresh and access tokens, automatically 
// refreshing the access token when it expires
GoogleAccessProtectedResource requestInitializer = 
    new GoogleAccessProtectedResource(accessToken, httpTransport, 
    jsonFactory, clientId, clientSecret, refreshToken);

// Set up the main Google+ class
Plus plus = new Plus(httpTransport, requestInitializer, jsonFactory);

// Make a request to access your profile and display it to console
Person profile = plus.people().get("me").execute();
System.out.println("ID: " + profile.getId());
System.out.println("Name: " + profile.getDisplayName());
System.out.println("Image URL: " + profile.getImage().getUrl());
System.out.println("Profile URL: " + profile.getUrl());

Sunday, September 18, 2011

ZOMBIES, RUN! Running game & audio adventure for iOS/Android

kickstarter said:

ZOMBIES, RUN! Running game & audio adventure for iOS/Android by Six to Start and Naomi Alderman — Kickstarter

Zombies, Run! is an ultra-immersive game for the iPhone, iPod Touch, and Android where you help rebuild civilization after a zombie apocalypse. By going out and running in the real world, you can collect medicine, ammo, batteries, and spare parts that you can use to build up and expand your base - all while getting orders, clues, and story through your headphones.

read more

It's funny and scary all at once. Let's run for our life. =)

Saturday, September 17, 2011

New Stable version: Node v0.4.12 « node blog

ryandahl said:

Node v0.4.12 « node blog

2011.09.15, Version 0.4.12 (stable)

  • Improve docs
  • #1563 overflow in ChildProcess custom_fd.
  • #1569, parse error on multi-line HTTP headers. (Ben Noordhuis)
  • #1586 net: Socket write encoding case sensitivity (koichik)
  • #1610 Remove DigiNotar CA from trusted list (isaacs)
  • #1624 buffer: Avoid overrun with ‘binary’ encoding. (koichik)
  • #1633 buffer: write() should always set _charsWritten. (koichik)
  • #1707 hasOwnProperty usage security hole in querystring (isaacs)
  • #1719 Drain OpenSSL error queue
  • Fix error reporting in net.Server.listen

read more

And also published a new unstable version.

Top 10 Ways to Turn Your Retired Gadgetry into the Technology of the Future

Top 10 Ways to Turn Your Retired Gadgetry into the Technology of the Future: "We've seen how easy it is to turn an iPod touch into an iPhone using a few tricks and some sort of VOIP service, and it's just as easy with an old phone—so long as you have a constant Wi-Fi connection. It can be nice to have a home phone or two you can use to answer calls when your cellphone isn't handy, you don't have great reception, and you don't want to leave the VOIP app unattended. So grab a mobile copy of Skype, Fring, Line2, or whatever, and leave it open and ready on your old mobile device. It'll wait for someone to call it, or you can just pick it up and, say, order a pizza without the fear of yet another dropped call."

(Via lifehacker.)

Wednesday, September 14, 2011

blog plz: Coming Soon: picplz with Aviary

picplz:

Yesterday Aviary launched their mobile photo editing SDK and we are excited to be among the partners integrating their technology. Many of you have asked for some of the most basic photo editing functionality to be added to picplz, and via the Aviary SDK we can do exactly that. Leveraging...

Tuesday, September 6, 2011

Wunderlist: Wunderlist for Android? Rebuilt, relaunched and really awesome!

wunderlist:

It’s been a little over 5 months since we launched Wunderlist for Android, and today we have some big news for all you droid heads. Lock and load your HTC Desires and Galaxy Tabs, Wunderlist has been rebuilt… from the ground up. No longer will you have to wait a second too long to enter a...