Our Recommendation

Monday, December 20, 2010

Joel Henderson reviews the link between the S (daringfireball.net)

S of Nexus is the new Google Android phone. It is sold exclusively by Best Buy to United States for T-mobile network.

This is my personal review of S Nexus with the advantages and disadvantages. I will update this page to learn more.

Pure Android gingerbread this is the first phone generalized running the new operating system "gingerbread", version 2.3. I prefer Android apps stocks more modules manufacturer Motorola MotoBlur as the HTC sense UI. Improving more noticible: stock keyboard is much better than 2.2 and I prefer that it Swype.

Material new front camera (but step integrated chat yet). Of smart field (but no use widespread real yet) 16 gig memory built in, but no way to upgrade or to add an SD card)

Ugly ways all phone finds "cheap" for me. Something on the mixture of plastic materials and textures look well-built and not feels solidly. The bottom of the back has a strange hump doesn't fit my hand well, fit into one generic and advice over the phone slightly back when its on a desktop. The software has a theme omnipresent lime green and fluorescent orange color. Some people may like this. Personally, I think it is ugly and removes the out-of-the-box experience. Need to understand how to change the theme color. The buttons for the home, menu, search and return are rearranged all other Android phone that I had, which makes the interface more difficult for me to use and more likely to pressing me the wrong button. For example, the home button is at the bottom below right. In addition, I am a left hander and the home button is difficult to reach easily. Curved screen appears to cause distortion, such as whether a variable thickness rather than truly an AMOLED curve glass lens; the upper area of the phone has an effect of fish jar. [Added: this destruction shows curved glass vs flat AMOLED through user GD]

Buggy in several ways, the right of the box the phone had problems finding the T-mobile network and GPS. My dynamic Samsung Galaxy S had the same problems and S Nexus has much in common with the Galaxy. The home button and the button search appear to be broken: when I go into an application as a web browser, and then press home or search page, the phone vibrates but nothing else happens. Telephone application displays an error message like "cannot complete the call. The error dialog box is impossible to dismiss, and there is no way to compose another call. The fix is to re-establish the link between the overall. Three bugs above were impossible to report so far or binds that technical support is non-existent until now. T Mobile supports this phone because it is a Best Buy exclusive, but Best Buy just said "you have to ask Google", and the line help Samsung said "sorry our contact centre is closed."

User interface slow slow in several ways: graphs are nervous and choppy, as if the graphics chip cannot follow with scrolling. In my eyes, the Jig is on a par with the Galaxy; S It is noticibly slower than an iPhone 4. The question seems to be that S Nexus is not using a dedicated graphics chip and instead try and all graphics on the main processor Edition: others are this statement too. Slow data source: data speed is terribly slow compared to other phones T-Mobile news as MyTouch 4 G. This is because S Nexus uses the older, slower network (3 G - speed HPSAS) while G MyTouch 4 uses the most recent faster network (4 G - speed HPSA +). I see S Nexus as approximately five times more slowly, which is important for me because I use the phone for tethering. Slow repair: T-Mobile, explains my S Nexus service needs to fix the broken home button, which means mailing by phone to Google and waiting as Google mail back a replacement phone. This may take several days or more, which is much slower than a replacement for T-Mobile store even normal day. S Nexus considers flawed or rushed to launch. It is not an iPhone killer, and in my opinion it is not a necessary phone unless you have absolutely pure Android gingerbread or chip Near Field. Blog comments powered by

Sunday, December 19, 2010

Slightly truths - equipment frustration ++ (approx.)

Living in the world of software and is does not someone of material, usually need confidence that the equipment is ok. My new PC (no name because I like the and this is my 2nd) began starts for the first time yesterday and frozen to halfway through it. Death as a dodo. It was the end of the installation for Windows 7, which was not a good sign. Fortunately, he had the good grace, not die until after I had received the login account setup, and it has sussed LAN.

Windows 7 does not really differ much from XP (although 64-bit, more ram, more gentle and softer but otherwise identical) and after the safe mode startup and rooting in the event log viewer, I find the error - error code cryptic "c:\windows\Pather\setup.etl" 3221225485 and employment have fortunately as Google. Certain aspects of the power management was not pleasant and moving blue my PC for testing. Disabling the high precision event timer to BIOS Setup screen management fixed it and it is now usable at least. Next comes the fun bit. Migrating my my old PC without reinstalling software...

Frustration 2 has discovered that a web server rent for some web sites had been "improved" to a new server box and that they had missed some Apache modules such as mcrypt broken form captcha contact and gzip compression modules. Two well heard arrived at the end of week, which is at this time support weekends off the ground, so I expect answers Monday.

The point is that change is not always a good thing and a certain amount of "friction" comes with the territory. You need patience allows attitude "try a few things. My Manager at work never put at its software except for firearms.

Put yourself in shoes user of your try and anticipate problems with upgrades, etc., all errors, provide test tools and Advisor of what to do if key files are missing etc. The most important lesson is never trust the user to that say that they are "not I delete the file password", te confused and so on. Always check with tools, newspapers, etc.

Asynchronous associated OVERLAPPED I/O is passed by address, and you can take advantage of this (The Old New Thing)

When you emit e/S asynchronous, completion function or the e/S port endpoint receives, among other things, a pointer to the OVERLAPPED I/o structure was originally issued against. And it is your key to the Golden riches.

If you need to associate information with the e/S operation, there is no obvious to say, place if some people end up doing things like maintaining a master table records all I/O outstanding overlapped as well as related information that i/o. When each I/O completes, they find the e/S in the master table to locate additional information.

But it is easier.

Given that the OVERLAPPED structure is passed by address, you can store your extra information alongside the OVERLAPPED structure:

/ / in Cstruct OVERLAPPEDEX {OVERLAPPED o;} CClient * AssociatedClient; {CLIENTSTATE ClientState;}; / / or c ++ struct OVERLAPPEDEX: OVERLAPPED struct {CClient * AssociatedClient;} {CLIENTSTATE ClientState;} ;

When e/S is finished, you can use the macro CONTAINING_RECORD or just static_cast LPOVERLAPPED OVERLAPPEDEX * and bingo, there is some additional information. Of course, you need to know the e/S one issued against a structure OVERLAPPEDEX instead of an ordinary OVERLAPPED structure, but there are ways to keep track of who. If you use an end function, and then just use a completion function OVERLAPPEDEX-aware when the OVERLAPPED structure is part of a structure OVERLAPPEDEX. If you use an I/O completion port, you can use the key end or to distinguish boring OVERLAPPED I/O for OVERLAPPEDEX e/S asynchronous OVERLAPPED.hEvent.

ASP.NET 4 0-ScriptManager Enhancement part-enable CAN property. (Weblogs @ ASP.NET)

ASP.NET 4.0 was a major step forward in programming. Microsoft has done incredible work performance. One of them is property can enable in asp.net 4.0 script manager. Say that it explore in detail. As you all know, Microsoft is providing a network delivery content for all the Ajax script that is used by Microsoft Ajax and any version of jQuery and JQuery UI. This property can enable script manager will retrieve all the script that can automatically. Developer does not have to worry about. As you know generation browsers are like IE8 and Firefox creates a new thread for each JS or CSS include in the Web page where they come from the CDN (content delivery network). Therefore, it will be largely step towards it. Let us take an example to explore things. I take a simple example that will demonstrate the use of this. I pray a TextBox and a button. The button click event will update the text box text property. I used to use Microsoft Ajax update panel. For this first I needed a script manager so I took the script manager and I set its property EnalbleCdn = true. So without publish any return after return only the portion that are required. I putted the text box in the control panel to update content model and I created the trigger back asynchronous post for the button click event. It will therefore updated the text in the text box without creating a post back. Let's look at how I created. Here is simple HTML to do so.

Now, I'm going to create a click event that will change the text in the text box '. Here is a code to do this.

protected void btnHelloWorld_Click (object sender, EventArgs e) {txtHelloWorld.Text = "Hello World";}

It is running let's with Ctrl + F5, and it will be displayed in the browser firefox as follows.

ScriptManager4.0, ASP.NET 4.0 Enhacement

Now see us his point of view source to see how things will look like. Here is a screenshot display source.

ViewSource

As you can see its extracting all JS Microsoft Ajax Content delivery network. Isn't that much. You just activate property CAN = true and it will still work. It is the power of asp.net 4.0. Hope you liked it. Stay tuned over 2 side.

Make mSATA operating with mini PCI Express (Hackaday.com)

[Trucki] wanted to upgrade its JooJoo internal storage. MSATA inside the connector but peripheral that use this Protocol are hard to find and when you do'll it cost you and arm and leg. He knew he could get the solid state at an advantageous price drives that use the mini PCI Express standard, which is mechanically compatible with mSATA. So he set out to change a mini-PCI Express device to work with the mSATA Protocol. This involves swapping transmission lines and to reorganize the traces of tension on the connector. To manage the TX - and TX lines + it desoldered their decoupling capacitors and reorganized their business their signals. 3. 3V, lines, he had to cut food and rider soldering wires for correct pads.

This is some nice work enable to add a drive 32 GB for only 60 euros. Given that the device only comes with a SSD of 4 GB upgrade is almost mandatory if you plan to install a different operating system on the Joojoo.

iPad Predictor Busted in Insider Trading Round-Up (java .sys - con .com)

Second RAID Government alleged material inside information traders began Thursday with the arrest of James Fleishman, a seller of global research, a so-called expert-networking firm with Flextronics Senior Development Director of the company Walter Shimoon, AMD supply chain manager Marne Anthony Longoria and Taiwan Semiconductor bus North America dev Manager Manosha Karunatilaka.

As hired consultants Shimoon, Longoria and Karunatilaka told at least two hedge funds anonymous who were clients of first world of things that they oughtn can't have.

Flextronics guys is charged with leak information about Apple products such as the restricted iPad codename K48 and its release date, for the iPhone and iPod sales figures and the design of a new iPhone to a witness who has cooperated with the Department of justice.

The spilled AMD guy would AMD revenue and margin. The TSMC guys would have revealed that sales and shipments of the company.

Another person, Manager supply global ex-Dell Daniel DeVore, has already pleaded guilty of fraud and conspiracy to commit securities and wire fraud on 10 December. And Don Ching Trang Chu first overall was arrested on November 24 and charged with indiscretions on Atheros Communications.

As in the case of Galleon Group, which broke last year, the Government had wire taps.

Manhattan U.S. attorney Preet Bharara issued a statement saying "today's fresh allege that a corrupt Insider to some of the world leader in business technology network served also known as"consultants"that it was sold to employers by flight and peddling then their valuable information."

Maureen O'Gara most read technology journalist for 20 years, is the Publisher of Cloud Computing and virtualization of SYS-CON Press Office. She is the editor of the famous "Billygrams" and "client server news" Editor-in-Chief for over a decade. One of the technology journalists more respected in entrepreneurship, Maureen can be reached via e-mail maureen (at) sys - con .com or paperboy (at) g2news.com and by phone at 516 759-7025. Twitter: @ MaureenOGara

Learn HTML5, JavaScript and CSS with free "School of Webcraft Mozilla" (Mashable) (Yahoo!)

Mozilla readies for the half of January Webcraft, school run 100% free developer training resource in partnership with the University of Peer 2 peer.

Last semester, school Webcraft offered 15 classes. Mozilla tent now bypass 30 January semester classes.

Classes will be between six and ten weeks; they turn you on topics relevant to web designers and developers, including HTML5, JavaScript and CSS. Previous classes also included non-developer topics such as the organic listing. Required skill levels will take place range from beginner to expert. Volunteer courses will start on 26 January, and proposals for new ideas of course are always accepted.

Students learn through a combination of free and open learning materials, online study and practical assignments groups who test their skills of piracy.

If you are a leader in the developer community, you can also step up and lead to a course for yourself. If you want to organize a class, you'll get P2PU and Mozilla support in the form of course design, materials, facilitation and other learning resources.

Registration opens January 8. until then, you can subscribe to Webcraft school e-mail list.

Mozilla believes that the developer training is "both secondary and university level... date, ugly students and lose." Another problem is that young learners simply do not have access to good web dev resources for learning. And the certification training is expensive and often out by current practices.

Creating a field training completely free and open for developers and future developers of all stripes, Mozilla hopes to correct some issues surrounding education technology.

We fully support this mission. while allowing more people to become better informed and more knowledgeable in web development and related technologies is a victory in our book.

Of course, we would like to see more just front-end and explored markup languages. but for that to happen, some knowledgeable developers will have to volunteer to teach their peers the basics (or not-so-base) of other programming languages.

Perfect Xmas gift: Computer Engineer Barbie (Cnet)

This is the period of the year, when you try to calculate how little time you can spend purchases for people trying to shortly that buying things possible things for you.

Online shopping has helped greatly in this respect. You can view your friends and your nearest family how much you love without leaving your bed.

However, there are so many choices that can become addled.

Leave me your burden of lifting and it launch into space. Ideal Christmas gift is here. Yes, Barbie computer engineering.

Perhaps you had assumed that Barbie is, at heart, always a kept woman. It is not cheap to keep blonde locks so perfectly capped. It takes a long time to keep her legs lissome and his belly.

(Credit: screenshot: Chris Matyszczyk/CNET)

And yet, when according to Mattel Barbie managers, famous women can now be stolen in a chic geek version. Yes, the Barbie computer engineer.

Here's his clutches rose natty portable sound and port to dazzling pink glasses framed. It has dishes shoes and a T-shirt with an extreme extraction cause binary code.

Its managers - and no doubt his lawyer - declare also computer engineer Barbie was the first professional after having voted by a jury, Lord Barbie, who knows?

You can consider that only a girl would have inspired Barbie computer engineering. I consider you more nearsighted than a Cyclops with a cataract.

There are certainly quite a few men, deeply involved in the coding and the dream of Zuckerbergian, too busy to meet a girl which would correspond to the height of their ultimate social network for two persons. Computer engineer Barbie would certainly provide a perfect symbol of a life that could be.

For those who love their gifts for Christmas to come with a host of features, could cite the Mattel site? "The source of inspiration set also comes with a special code which unlocks career on the theme of content online for even more digital game (how appropriate)!

Is there a human being with any ambition could resist the notion of digital game even more this Christmas?

24 Hours (daringfireball.net)

You may have heard that Delicious stops (or not?). A person on Twitter suggested that a group of engineers should gather on weekends and build a Delicious clone. In anticipation of this group of mystery people sitting and in doing so, I thought that I would like to make a quick todo list for them.

System account - you will need to adopt the standard model that are typical of a web application: accounts.Register hold and installing an SSL cert to appease the security database-oriented. Also: where you host it? What database? MySQL? Good. InnoDB? If you are deploying with another engineer, the typical conversation 30 minutes on the deployment of databases have all two hours.Decide on the ORM or simply write some lightweight classes that are tedious shit. We hope that you have selected a frame has some support for all otherwise… vérificationMéthodes to check email, length and force password user account template options, a good idea of the names of account that you want to hold back so that you can still do as /admin /static on.Lost password flow paths later. You want to generate a key and store the defeat for when someone asks to reset their password. This is another email which must go out.Sign flow.Sign flows. (Be sure and use POST method to sign.) See why here<- signs="" you="" out="" of="" delicious)sign="" up,="" display="" errors.update="" your="" settings,="" name,="" password,="" email—doh!="" you'll="" have="" to="" verify="" the="" email="" again.="" an="" account="" verification="" system="" done="" through="" email="" so="" you="" can="" verify="" people="" have="" given="" the="" correct="" information.scheduled="" backups="" of="" your="" database="" being="" pushed="" to="" a="" separate="" location.="" binlogs?="" mysqldump?="" you'll="" have="" to="" write="" a="" script="" or="" configure="" your="" off-site="" db="" slave.="" you="" might="" also="" want="" to="" test="" that="" it="" works.oh="" hey,="" you="" can="" delete="" your="" account="" on="" delicious?="" what="" does="" this="" mean="" for="" the="" bookmarks,="" favorites,="" and="" friend="" relationship="" interfaces="" you="" haven't="" even="" written="" yet?="" save="" that="" one="" for="" later="" i="" guess.following="" and="" being="" followed="" flow.="" this="" includes:="" a="" database="" for="" holding="" friend="" relationships.="" an="" interface="" for="" looking="" at="" everyone="" you="" follow.an="" interface="" for="" looking="" at="" everyone="" who="" follows="" you.ability="" on="" each="" of="" the="" above="" pages="" to="" follow="" (or="" unfollow),="" probably="" using="" ajax="" because="" people="" don't="" want="" to="" leave="" the="" page.="" also="" you're="" going="" to="" want="" to="" paginate="" that,="" some="" people="" are="" popular.blocking="" followers="" and="" the="" processes="" that="" recognize="" a="" follower="" has="" been="" blocked="" when="" displaying="" content.the="" required="" database="" indexes="" for="" extracting="" and="" displaying="" follower="" counts.so="" before="" we="" get="" to="" bookmarks,="" what="" about="" import="" tools?="" why="" would="" anyone="" move="" to="" your="" system="" without="" import="" tools?="" you="" will="" need:="" a="" task="" queue.="" hopefully="" distributed="" so="" you="" can="" pass="" importing="" off="" to="" your="" workers="" on="" other="" boxes="" when="" things="" get="" overloaded.some="" sense="" of="" the="" different="" formats="" you'll="" need="" to="" process.="" delicious="" being="" the="" big="" one,="" but="" there's="" google's="" product,="" diigo,="" xmarks="" and="" pinboard.="" also="" people="" are="" going="" to="" want="" to="" import="" from="" their="" browsers.="" i'm="" not="" even="" talking="" about="" actually="" processing="" these="" things,="" just="" understanding="" and="" researching="" the="" formats="" and="" pitfalls="" is="" going="" to="" take="" some="" time.actually="" doing="" the="" processing.="" what="" happens="" when="" something="" fails?="" do="" you="" offer="" a="" report?="" there's="" a="" new="" page.="" can="" they="" retry="" without="" duplicating="" inserts?="" i'm="" really="" only="" scratching="" the="" surface="" here,="" this="" is="" tedious="" shit.tags.="" related="" tags.="" searching="" tags.="" recent="" tags.="" explore="" tags.="" you="" gotta="" use="" that="" task="" queue="" for="" offloading="" a="" lot="" of="" this.="" when="" does="" it="" run?="" what="" happens="" when="" it="" fails?="" seriously,="" i="" don't="" even="" want="" to="" think="" about="" tags="" right="" now.="" there="" has="" to="" be="" a="" module="" out="" there="" that="" will="" do="" it.="" go="" read="" the="" docs="" to="" that.three="" letters:="" a="" p="" &="" i.you="" are="" going="" to="" write="" unit="" tests="" for="" all="" this,="">

You still do not fully inspected all your problems XSS, implemented research content, thinking about the design and UI, documentation and errors, different methods for storing links as bookmarklets (tested in all browsers) or, you know, actually record in a database for the presentation to you and other bookmarks.

Then there is a pattern in the URL which can be problematic (http://xyz.com/ versus http://www.xyz.com versus https://xyz.com/ versus http://xyz.com/index.html), I never really thought about this problem, I am certain that it will take only a few minutes. We deal with later.

(Thanks to usernameguy and Anil for some inspiration.)


If you are photographing and you know typing your hands (Hackaday.com)

If you've ever tried to take photos of yourself, you'll know that it can be a pain. It is particularly difficult to get this shot perfect your strokes piétés when you're out of breath Sprint across the room. OK, Yes, they have remote controls to do this. But what happens if you have lost your remote control or you simply want to have to wear? [LucidScience] set up a sweet, um, "handsfree" alternative.

Essentially, this hack emulates IR signals sent by a remote, Nikon is to take a picture immediately or to take pictures of time at regular intervals. We have seen a similar time remote using an arduino before and a really thorough to an AVR, but they do not take the same approach as [LucidScience] design in terms of monitoring of microphone to trigger input. The project includes several status LEDs and adjustments of ambient noise and triggering, and it can be mounted to the camera body. We wonder how Nikon features could be controlled using typing code and detail your calendar should have some sort of facts in hand (get it?) pulsetrain syntax.  You will probably need to have the world record of typing skills.

Discover the demo vid after the break.

Santa-pede challenge: conclusion (Hackaday.com)

At the end of October, we announced the purchase, pause, series generate kick off with "Santa-pede challenge."  The objective was to get your hands on one of those annoying dancing santas, it tear, and then use its parts to build something that works. We obtained our hands on some cool and same price received [Phillip Torrone] a judge of the guest. Join us after the break to see what we are up to with and may have a few laughs.

So, as you can see in the video, this competition has been a complete failure. We get a single entry. I've quickly discarded this terribly lame attempt in about 30 minutes. I am going to show some pictures of what I did, just for fun. There really are technically "walking" so far as it strangely scoots across your desk making you think about your life decisions.

Here is the beginning of the disassembly. Nothing surprising here. You can see that its half less is a piece of solid plastic (step joints or motorized).

Here are basic breakdown of what I did. I cut feet, radiation servo that his hat to flip back and forth and fade things leg room. There is a thread that went into the arms of Santa Claus. It was too thin and flexible to be useful for a large part of something that I simply thrown in the dustbin of parts.

I couldn't find the attachment to my flame propane, so I was using some tactics quite dubious. I would not recommend water heater for your flexible plastic for most projects. It do the job well.  After putting this piece, all I had to make a tweak "legs" newly created until he himself pulled forward. Its pretty pathetic, I know. It should be the entrance to joke that everyone else seems to good.

What we would like to have ideas. What ideas competition you? What you would compete in? Can what element you think of that has tons of potential hacking for a variety of skill levels?

NVIDIA: Games on next generation Intel chip (CNet)

Supplier of graphics chip Nvidia said that he would do very well despite claims by Intel's next-generation chip will offer higher octane game experience.

Nvidia discrete graphics chips are in Apple's 15- and 17-inch MacBook Pros.Graphics NVIDIA discrete chips are in Apple's 15 and 17-inch MacBook Pros.(Credit: Apple)

Supposed to debut in the Consumer Electronics Show on 5 January, the second-generation Intel Core - aka "Sandy Bridge" - has improved graphics performance, enabling manufacturers to provide computers portable low-cost are more adept at games and multimedia. In short, no additional graphics chip from Nvidia and Advanced Micro Devices is required in some laptop models.

But Rene Haas, CEO, mobile products, Nvidia, says the need for autonomous GPU or graphics processing units or integrated - to handle games becoming more demanding and fluxes of multimedia data beyond the capacity of its integrated - graphics changes next year. "We get in 2011 and watch the Sandy Bridge our point of view is that the world will not change much to our (autonomous) discrete GPUS,"says Haas.""

Haas has continued. "We spoke to many [the manufacturers] about it." The comments we received is that many of the same questions remain concerning [Intel graphics] performance. If you examine the possibility of playing games next year, what will be the integrated graphical component proofing in the future? For example, Windows 7 DX - 11 (DirectX 11) does not work on integrated graphical Sandy Bridge. And the GPU acceleration comes now to Mariners - IE9, Mozilla (Firefox), chromium (Google). "[Browser acceleration] is not at all there yet, but having the ability to provide it will be quite big," he said.

In support of its assertion that the demand for graphics cards is healthy, quoted Nvidia analyst in a communiqué sent on Thursday. "[Manufacturers] application chart discrete solutions remains strong and above historical levels," in accordance with the statement made by Dean McCarron of mercury, which tracks the graphics chip market. "Mercury Research provides discrete GPU shipments will double between 2009 and 2014."

Haas, explains its technology Optimus, which can switch between Intel and Nvidia - discrete GPU graphics transparent depending on energy savings and performance requirements respectively - will be offered on most of the more than 200 models of laptops equipped with Nvidia coming in 2011. Optimus toggles between Intel and Nvidia silicon based on the application, said Haas system. "Optimus decides, based on the classification of the request, what processor (Intel or Nvidia) to run on." For example, a game is running on the GPU. If video in standard definition, such as DVDs, it runs on the integrated graphics as integrated graphics runs standard definition low power. High-definition video will run on the GPU, "he said, as some salient examples."

NVIDIA, says that he checked WINS Acer, Alienware, Asus, Dell, Fujitsu-Siemens, HP, Lenovo, Samsung, Sony and Toshiba design in 2011.

Saturday, December 18, 2010

PHP 5.2.16 released! (php.net)

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.


Ever wondered how popular PHP is? see the Netcraft Survey.


You can grab our news as an Atom feed.

[16-Dec-2010]

The PHP development team would like to announce the immediate availability of PHP 5.2.16. This release marks the end of support for PHP 5.2. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3.


This release focuses on addressing a regression in open_basedir implementation introduced in 5.2.15 in addition to fixing a crash inside PDO::pgsql on data retrieval when the server is down. All users who have upgraded to 5.2.15 and are utilizing open_basedir are strongly encouraged to upgrade to 5.2.16 or 5.3.4.


To prepare for upgrading to PHP 5.3, now that PHP 5.2's support ended, a migration guide available on www.php.net/migration53, details the changes between PHP 5.2 and PHP 5.3.


For a full list of changes in PHP 5.2.16 see the ChangeLog at www.php.net/ChangeLog-5.php#5.2.16.

[10-Dec-2010]

The PHP development team is proud to announce the immediate release of PHP 5.3.4. This is a maintenance release in the 5.3 series, which includes a large number of bug fixes.


Security Enhancements and Fixes in PHP 5.3.4:

Fixed crash in zip extract method (possible CWE-170).Paths with NULL in them (foo\0bar.txt) are now considered as invalid (CVE-2006-7243).Fixed a possible double free in imap extension (Identified by Mateusz Kocielski). (CVE-2010-4150).Fixed NULL pointer dereference in ZipArchive::getArchiveComment. (CVE-2010-3709).Fixed possible flaw in open_basedir (CVE-2010-3436).Fixed MOPS-2010-24, fix string validation. (CVE-2010-2950).Fixed symbolic resolution support when the target is a DFS share.Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large amount of data) (CVE-2010-3710).

Key Bug Fixes in PHP 5.3.4 include:

Added stat support for zip stream.Added follow_location (enabled by default) option for the http stream support.Added a 3rd parameter to get_html_translation_table. It now takes a charset hint, like htmlentities et al.Implemented FR #52348, added new constant ZEND_MULTIBYTE to detect zend multibyte at runtime.Multiple improvements to the FPM SAPI.Over 100 other bug fixes.

For users upgrading from PHP 5.2 there is a migration guide available here, detailing the changes between those releases and PHP 5.3.


For a full list of changes in PHP 5.3.4, see the ChangeLog. For source downloads please visit our downloads page, Windows binaries can be found on windows.php.net/download/.

[09-Dec-2010]

The PHP development team would like to announce the immediate availability of PHP 5.2.15. This release marks the end of support for PHP 5.2. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3.


This release focuses on improving the security and stability of the PHP 5.2.x branch with a small number, of predominatly security fixes.


Security Enhancements and Fixes in PHP 5.2.15:

Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.Fixed crash in zip extract method (possible CWE-170).Fixed a possible double free in imap extension.Fixed possible flaw in open_basedir (CVE-2010-3436).Fixed NULL pointer dereference in ZipArchive::getArchiveComment. (CVE-2010-3709).Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large amount of data).

Key enhancements in PHP 5.2.15 include:

Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4).Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy with SoapClient object).

To prepare for upgrading to PHP 5.3, now that PHP 5.2's support ended, a migration guide available on www.php.net/migration53, details the changes between PHP 5.2 and PHP 5.3.


For a full list of changes in PHP 5.2.15 see the ChangeLog at http://www.php.net/ChangeLog-5.php#5.2.15.

[22-Jul-2010]

The PHP development team would like to announce the immediate availability of PHP 5.3.3. This release focuses on improving the stability and security of the PHP 5.3.x branch with over 100 bug fixes, some of which are security related. All users are encouraged to upgrade to this release.


Backwards incompatible change:

Methods with the same name as the last element of a namespaced class name will no longer be treated as constructor. This change doesn't affect non-namespaced classes.

namespace Foo;
class Bar {
public function Bar() {
// treated as constructor in PHP 5.3.0-5.3.2
// treated as regular method in PHP 5.3.3
}
}
?>


There is no impact on migration from 5.2.x because namespaces were only introduced in PHP 5.3.


Security Enhancements and Fixes in PHP 5.3.3:

Rewrote var_export() to use smart_str rather than output buffering, prevents data disclosure if a fatal error occurs (CVE-2010-2531).Fixed a possible resource destruction issues in shm_put_var().Fixed a possible information leak because of interruption of XOR operator.Fixed a possible memory corruption because of unexpected call-time pass by refernce and following memory clobbering through callbacks.Fixed a possible memory corruption in ArrayObject::uasort().Fixed a possible memory corruption in parse_str().Fixed a possible memory corruption in pack().Fixed a possible memory corruption in substr_replace().Fixed a possible memory corruption in addcslashes().Fixed a possible stack exhaustion inside fnmatch().Fixed a possible dechunking filter buffer overflow.Fixed a possible arbitrary memory access inside sqlite extension.Fixed string format validation inside phar extension.Fixed handling of session variable serialization on certain prefix characters.Fixed a NULL pointer dereference when processing invalid XML-RPC requests (Fixes CVE-2010-0397, bug #51288).Fixed SplObjectStorage unserialization problems (CVE-2010-2225).Fixed possible buffer overflows in mysqlnd_list_fields, mysqlnd_change_user.Fixed possible buffer overflows when handling error packets in mysqlnd.

Key enhancements in PHP 5.3.3 include:

Upgraded bundled sqlite to version 3.6.23.1.Upgraded bundled PCRE to version 8.02.Added FastCGI Process Manager (FPM) SAPI.Added stream filter support to mcrypt extension.Added full_special_chars filter to ext/filter.Fixed a possible crash because of recursive GC invocation.Fixed bug #52238 (Crash when an Exception occured in iterator_to_array).Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function).Fixed bug #52060 (Memory leak when passing a closure to method_exists()).Fixed bug #52001 (Memory allocation problems after using variable variables).Fixed bug #51723 (Content-length header is limited to 32bit integer with Apache2 on Windows).Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3).

For users upgrading from PHP 5.2 there is a migration guide available on www.php.net/migration53, detailing the changes between those releases and PHP 5.3.


For a full list of changes in PHP 5.3.3, see the ChangeLog.

[22-Jul-2010]

The PHP development team would like to announce the immediate availability of PHP 5.2.14. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, some of which are security related.


This release marks the end of the active support for PHP 5.2. Following this release the PHP 5.2 series will receive no further active bug maintenance. Security fixes for PHP 5.2 might be published on a case by cases basis. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3.


Security Enhancements and Fixes in PHP 5.2.14:

Rewrote var_export() to use smart_str rather than output buffering, prevents data disclosure if a fatal error occurs.Fixed a possible interruption array leak in strrchr().(CVE-2010-2484)Fixed a possible interruption array leak in strchr(), strstr(), substr(), chunk_split(), strtok(), addcslashes(), str_repeat(), trim().Fixed a possible memory corruption in substr_replace().Fixed SplObjectStorage unserialization problems (CVE-2010-2225).Fixed a possible stack exaustion inside fnmatch().Fixed a NULL pointer dereference when processing invalid XML-RPC requests (Fixes CVE-2010-0397, bug #51288).Fixed handling of session variable serialization on certain prefix characters.Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski.

Key enhancements in PHP 5.2.14 include:

Upgraded bundled PCRE to version 8.02.Updated timezone database to version 2010.5.Fixed bug #52238 (Crash when an Exception occured in iterator_to_array).Fixed bug #52237 (Crash when passing the reference of the property of a non-object).Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function).Fixed bug #51822 (Segfault with strange __destruct() for static class variables).Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues).Fixed bug #49267 (Linking fails for iconv on MacOS: "Undefined symbols: _libiconv").

To prepare for upgrading to PHP 5.3, now that PHP 5.2's support ended, a migration guide available on http://php.net/migration53, details the changes between PHP 5.2 and PHP 5.3.


For a full list of changes in PHP 5.2.14 see the ChangeLog at http://www.php.net/ChangeLog-5.php#5.2.14.

News Archive

ASP.NET MVC 3: code implicit and explicit nuggets with knife (Weblogs @ ASP.NET)

This is another in a series of posts I’m doing that cover some of the new ASP.NET MVC 3 features:


In today’s post I’m going to discuss how Razor enables you to both implicitly and explicitly define code nuggets within your view templates, and walkthrough some code examples of each of them. 


ASP.NET MVC 3 ships with a new view-engine option called “Razor” (in addition to the existing .aspx view engine).  You can learn more about Razor, why we are introducing it, and the syntax it supports from my Introducing Razor blog post.


Razor minimizes the number of characters and keystrokes required when writing a view template, and enables a fast, fluid coding workflow. Unlike most template syntaxes, you do not need to interrupt your coding to explicitly denote the start and end of server blocks within your HTML. The Razor parser is smart enough to infer this from your code. This enables a compact and expressive syntax which is clean, fast and fun to type.


For example, the Razor snippet below can be used to iterate a collection of products and output a

    list of product names that link to their corresponding product pages:


    image


    When run, the above code generates output like below:


    image


    Notice above how we were able to embed two code nuggets within the content of the foreach loop.  One of them outputs the name of the Product, and the other embeds the ProductID within a hyperlink.  Notice that we didn’t have to explicitly wrap these code-nuggets - Razor was instead smart enough to implicitly identify where the code began and ended in both of these situations. 


    Razor does not define its own language.  Instead, the code you write within Razor code nuggets is standard C# or VB.  This allows you to re-use your existing language skills, and avoid having to learn a customized language grammar.


    The Razor parser has smarts built into it so that whenever possible you do not need to explicitly mark the end of C#/VB code nuggets you write.  This makes coding more fluid and productive, and enables a nice, clean, concise template syntax.  Below are a few scenarios that Razor supports where you can avoid having to explicitly mark the beginning/end of a code nugget, and instead have Razor implicitly identify the code nugget scope for you:


    Property Access


    Razor allows you to output a variable value, or a sub-property on a variable that is referenced via “dot” notation:


    image


    You can also use “dot” notation to access sub-properties multiple levels deep:


    image


    Array/Collection Indexing:


    Razor allows you to index into collections or arrays:


    image


    Calling Methods:


    Razor also allows you to invoke methods:


    image


    Notice how for all of the scenarios above how we did not have to explicitly end the code nugget.  Razor was able to implicitly identify the end of the code block for us.


    The below algorithm captures the core parsing logic we use to support “@” expressions within Razor, and to enable the implicit code nugget scenarios above:

    Parse an identifier - As soon as we see a character that isn't valid in a C# or VB identifier, we stop and move to step 2 Check for brackets - If we see "(" or "[", go to step 2.1., otherwise, go to step 3  Parse until the matching ")" or "]" (we track nested "()" and "[]" pairs and ignore "()[]" we see in strings or comments) Go back to step 2 Check for a "." - If we see one, go to step 3.1, otherwise, DO NOT ACCEPT THE "." as code, and go to step 4 If the character AFTER the "." is a valid identifier, accept the "." and go back to step 1, otherwise, go to step 4 Done!

    Differentiating between code and content


    Step 3.1 is a particularly interesting part of the above algorithm, and enables Razor to differentiate between scenarios where an identifier is being used as part of the code statement, and when it should instead be treated as static content:


    image


    Notice how in the snippet above we have ? and ! characters at the end of our code nuggets.  These are both legal C# identifiers – but Razor is able to implicitly identify that they should be treated as static string content as opposed to being part of the code expression because there is whitespace after them.  This is pretty cool and saves us keystrokes.


    Razor is smart enough to implicitly identify a lot of code nugget scenarios.  But there are still times when you want/need to be more explicit in how you scope the code nugget expression.  The @(expression) syntax allows you to do this:


    image


    You can write any C#/VB code statement you want within the @() syntax.  Razor will treat the wrapping () characters as the explicit scope of the code nugget statement.  Below are a few scenarios where we could use the explicit code nugget feature:


    Perform Arithmetic Calculation/Modification:


    You can perform arithmetic calculations within an explicit code nugget:


    image


    Appending Text to a Code Expression Result:


    You can use the explicit expression syntax to append static text at the end of a code nugget without having to worry about it being incorrectly parsed as code:


    image


    Above we have embedded a code nugget within an element’s src attribute.  It allows us to link to images with URLs like “/Images/Beverages.jpg”.  Without the explicit parenthesis, Razor would have looked for a “.jpg” property on the CategoryName (and raised an error).  By being explicit we can clearly denote where the code ends and the text begins.


    Using Generics and Lambdas


    Explicit expressions also allow us to use generic types and generic methods within code expressions – and enable us to avoid the <> characters in generics from being ambiguous with tag elements.


    We have used code nuggets within HTML attributes in several of the examples above.  One nice feature supported by the Razor code editor within Visual Studio is the ability to still get VB/C# intellisense when doing this.


    Below is an example of C# code intellisense when using an implicit code nugget within an href=”” attribute:


    image


    Below is an example of C# code intellisense when using an explicit code nugget embedded in the middle of a src=”” attribute:


    image


    Notice how we are getting full code intellisense for both scenarios – despite the fact that the code expression is embedded within an HTML attribute (something the existing .aspx code editor doesn’t support).  This makes writing code even easier, and ensures that you can take advantage of intellisense everywhere.


    Razor enables a clean and concise templating syntax that enables a very fluid coding workflow.  Razor’s ability to implicitly scope code nuggets reduces the amount of typing you need to perform, and leaves you with really clean code.


    When necessary, you can also explicitly scope code expressions using a @(expression) syntax to provide greater clarity around your intent, as well as to disambiguate code statements from static markup.


    Hope this helps,


    Scott


    P.S. In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu

Friday, December 17, 2010

Creating programmatic Widget in dojo (Web reference)

In addition to providing a multitude of Extensible widgets, dojo makes it very easy to create your own reusable controls. Standard dojo widgets, you can create these controls declaratively or programmatically. This last option, while more technical in nature, allows for a more creative control of your widgets. For example, you could insert your widget on the page in response to a user action or periodically refresh the values of content in real time using a Web service.


In this article, I rewrite the StockWidget I created declaratively in using the Dojo Build Custom HTML widgets section, Framework for the programming of the creation. The Web page will allow the client to view the stock data for multiple products using a drop-down list box. (You can download the source files for StockWidget now.)


I assume that you are familiar with the establishment of the structure of folders, import scripts Dojo and djConfig variable initialization. If not, you can review the custom development HTML widgets using dojo article.


The template file contains pre-widgetized the HTML markup for the control. It is advisable to keep the widget source into separate files because it is a large part of what makes it reusable. Every property we want to display contains a dojoAttachPoint. You must always use dojoAttachPoints reference of a widget's DOM nodes because you cannot rely on dojo.byId () once the control is transformed into a widget. Dojo.byId () may fail for several reasons. The main is that DOM converted widget structure can be very different from the original control. When it is converted by the dojo parser, the node that contains the property you want is probably not the same as the code for the template!


Here is the markup for the StockInfo.html file:






  • Name

  • Stock symbol

  • Price

  • Change

Dojo.declare method (dojo) defines your class. It is strongly based on the Java class and includes OO structures as legacy archetype, classical inheritance and private members.


Here's the Declaration for the widget code StockInfo will use starting with. We'll add to what we include additional features:

Dojo.provide ("widgets.StockInfo"); Dojo.require ("dojo.cache"); Dojo.require ("Dijit._Widget"); Dojo.require ("Dijit._Templated"); Dojo.declare ("widgets.StockInfo", [Dijit._Widget, Dijit._Templated] {templateString: dojo.cache ("templates", "StockInfo.html"), the name: "", ticker: "", price: "", change: "", postCreate: function() {/ / use the attributes defined by dojoattachpoint this.nameNode.innerHTML = this.name;}}) this.tickerNode.innerHTML this.ticker =; this.priceNode.innerHTML this.price =; with (this.changeNode) {style.color = this.change.charAt (0) == '+'?} "green": "red." innerHTML = this.change; } / / Set the image var imageMap = {'Oil': "crude_oil_179x98.png", "Essence": "gasoline_179x98.png", "Natural gas": "natural_gas_179x98.png", "Or": "gold_179x98.png"}; If (this.name) {var imageFile = imageMap [this.name]; //this can also be set with the other dojo.baseUrl properties djConfig = "."} /"; var imagePath = "images" (imageFile) dojo.moduleUrl .toString (); ({{{/ / Set the image src attribute dojo.attr (this.imageNode, "src", imagePath);}}}) ;

We still need to include a tag container for our widget on the Web page, but we must delete the attribute dojotype so that our widget is not instantiated by the dojo parser when the page is first loaded:


Array of products



The main reason to handle instantiation widget ourselves is the additional control that it gives us for autocreated Widget, such as the control instantiation command, parameter, data as parameter types initialization and formatting. The following code calls the constructor of widget immediately after loading is finished in the rest of the page and all other controls were made of widgets:

Dojo.addOnLoad (Function () {/ / replace the contents of the node with ID 'StockWidget' / / with our goldWidget var widget = new widgets.StockInfo ({name: "Gold", ticker: "GCZ10.CMX", price: "$ 1,389.50", change: "+ 4.50"}, "StockWidget");});

If make us the page in a browser, we can confirm that our widget appears throughout as it has done for declarative creation:


Figure 1: StockInfo widget


One of the best programming widget creation functions is the ability to create widgets at any time. To illustrate, let us add a button created StockWidget. Paste with the style of the programmatic creation will be keeping our more consistent code:

Dojo.addOnLoad (Function () {/ / create a button programmatically: var button = new dijit.form.Button ({label: "Create Widget", onClick: function() {/ / replace the contents of the node with ID 'nodeId' / / with our var widget = new widgets.StockInfo goldWidget ({name: "Gold", ticker: "GCZ10.CMX" price: "$ 1,389.50", change: "+ 4.50"}, "StockWidget");}}, "progButtonNode");});

To make it work, all we need to do is move the call button onClick() event StockWidget constructor. You will need to add a button control to the page as well:


Array of products



Create a widget by programming offers some distinct advantages in terms of management of the property. This is due in part to the fact that the widget Builder he returned to us as a JavaScript object so that it can be stored in a variable. We can use it to properties of the widget reference at a later date, as shown in the following code creates a second button to update the properties of the StockWidget:

top //at goldWidget scriptvar; //in dojo.addOnload () event: var updateButton = new dijit.form.Button ({label: "Updating data", onClick: function() {/ / update widget with (goldWidget) accessories {price = "$ 1,400.50"; change = "+ 15.50"; //update page priceNode.innerHTML = price; changeNode.innerHTML = change; var imagePath = dojo.moduleUrl ("images", "gold_179x98_refresh.png") .toString (); / / set the image src attribute dojo.attr (imageNode, "src", imagePath);}}}, "updateButton");

Here's the StockWidget with updated data:


Figure 2: StockInfo widget with updated data


Recent Articles

How Ubuntu Linux could help CR - 48 Google (PC World) notebook (Yahoo!)

Chromium CR-48 laptop Google operating system-based may be just a select set of hands so far, but it was generates much media attention.

Course details of specific equipment in devices now have many long-term examinations to date have been largely mixed.

What was particularly interesting, however, is that the world awaits the arrival of official chromium OS specifications, a number of techies enterprising have already found a way - and a reason - to add Linux to these devices at the beginning.

Look beyond the browser

Linux fans were of course, a long history of installed replacement plant operating systems Windows, especially - distribution Linux instead. In the case of Windows, there are countless reasons to do so.

These movements may be practical or ethical reasons, but in the case of chrome OS laptop, it is clear from reviews that there are certain things that just CR-48 is not designed to - like most things on the outside of the browser.

Google Chimes in

Thus, real mode geek Linux, obviously on a concerted effort to get Ubuntu - the most popular Linux distribution of all time - place and running on the device.

And it is now, if the YouTube video below is indicative of the race. Ubuntu 10.10 or Maverick Meerkat is running on the device in this video, and despite the fact that the aim to send specifications to test the OS chrome - a separate post on the Google website offers a tutorial on that to come.

«Ã¢€ ˜An intentional design fiction.»

"Even if" verified chromium OS startup and protects the modification of the involuntary system by malicious or buggy software, the ability to hack your own device is a feature of intentional design Google Chrome diaries page reads. ""

He noted: "chrome instructions to build your own version of the operating system and install a CR-48 are given elsewhere,". "Some fans, however, can install something completely different." This page provides an example showing how the official chromium OS software can coexist with Ubuntu, a popular linux distribution. »

The tutorial goes from here to describe how to get Ubuntu on CR-48 side-by-side with chrome OS, including release SSD space, kernel configuration, and creating boot priority.

The result, seems, is a dual-boot machine which has all the advantages of Web-centric operating system chrome with more traditional advantages of Linux.

A dual-boot scenario

Official chromium OS netbooks offers a dual-boot option when they finally debut?

That remains to be seen. In view of what looks like a Web-centric experience rather limited with CR-48, however, it appears that it may be a good idea. And with all its many benefits for businesses and individual users, Linux would be a great choice.

Follow Katherine Noyes on Twitter: @ Noyesk.

Startup insights: Place a product on the market (DevX)

A product is obviously better than do not have a product at all, but not by much.  Bringing a product to market is only the first step for a voyage long and painful to make the desired product, respected, actually used by people on a basis consistent and finally adopted massively. In this article we are going to 10 typical to bring a product to market considerations.

Now, it has been well documented that "If you build it, they come."  The level of the indifference of web consumers is depressing.  There are already too many products out there and not many people want to learn how to use the new.  Existing sites are likely to do much of what you do, and they are probably much better since you are new. Your differentiation factor is not necessarily irresistible or obvious and you averaged approximately 15 seconds to win on each person who visits your website or your product - no chance.  Difficult that bring people to your site, most of them come look for eye and leave without leaving a trace.  It is a reality of the web.  Indifference is deafening.

It is not too much of a problem which only concern your product at the beginning.  You can watch just to it as a challenge.  The best way to overcome indifference is to speak to many people who come in contact with your product that you are able to get a hold of and their application where the product came short for them and their current solutions stack.  This will give you an idea of what needs to be improved and after that improve you parts of the site or product, you can join some of those people again. Probably you will face yet indifference hard just iterate unique product does not go to work wonders for you, but over time these efforts will be keeping a steady buzz about your product, help you develop strong relationships and you will earn the respect of your customers adhering to their needs.  More importantly, your product has gradually matured and improved, the level of indifference will naturally be ebb and excitation level increase slowly because there is something to get excited about once your product is at a level of quality.

Your customers and non-customers who are potential clients know the gaps in your product better than anyone else.  They can tell you what is their bored on the product and what keeps them from turning their existing solutions.  Attention to what is bothering your customers and clients closely.  If this is something that they need is simple to implement and in line with your product vision a greater, to implement the improvements that they need. It will improve your relationship with them and your product at the same time.

If the requirement is something that is very difficult or intensive resources to work, but logic for your vision of the final product, inform customers that you are going to be put on your list of tasks in the near future.  For customers from the point of view, you can even use the next short to your advantage and just ask to know if you can count on their business if you want impleent they need.

Customers are always right, correct?  Bad!  Sometimes client applications do not match your larger vision for the company and the product. Sometimes a client comes up with a list of changes that may be good suggestions, but 4 and 5 on a scale of priority 1-5 laundry.

If you try to please the customers, you may lose your vision and waste resources focus (employee time and money) features of the building and are not the most important for your business. If requests are reasonable but low priority, be open with your customers on their addition to the queue for the improvement of the product.  In this way, the client feels that their demands are met and that you give yourself the flexibility required to achieve these features when more fire features are already created.

If the requests and suggestions are unreasonable, you shouldn't affect your product to customers, please.  You are probably better to something that can appeal to the client as explaining them why this particular suggestion was not taken and ensuring they believe that their option is respected.  Another approach is to say that the suggestion has been added to the list of tasks to and is delayed by a backlog of functionality.

As you struggle against the indifference of the consumer, an iteration on your product, and your best to make your customers happy, your product will pass by a flurry of changes, improvements, bug fixes and usability fixes.  This will be the initial architecture of product with a great test.
Design of the product at the same time its brand and its architecture technology base, keep things General, imprecise and flexible as possible.  Nobody knows what the future will bring and during the phase of innovation and iteration of the product, flexibility is one of the greatest assets.

Is it you pay $19 for the code? (Approx.)

From a command line compiler Windows c? If you want to make a C command-line compiler and then you can download Miracle C. $19 Gets you the compiler source code, the linker and the preprocessor.

Personally if I was interested in the C compilers, I see this as a case. Yes there are many free C compiler, but that $19 also gets you the Tadeusz Szocik developer technical support, and which is generally much. I would expect support wants to use the compiler, but I bet that if you show interest in the operation, it can give (speculation on my part!) you clues on its functioning.

Shareware is how the authors made before money software Internet and advertising came along. If someone has used C-miracle, I would like to hear.

Fujitsu accelerates exhaustive verification of Java Software by Parallel Processing (java .sys - con .com)

 

Fujitsu Laboratories America, Inc. and Fujitsu Laboratories Ltd., Friday, announced the development of high-speed exhaustive verification of the Java software technology for parallel processing. Ensure the quality of the ICT systems, it is essential that programs be adequately tested. By using this new technology that leverages the power of computing clouds on previous technology for comprehensive audit programs developed by Fujitsu Laboratories, time required for the purposes of verification can be considerably shortened, leading to expectations that technology will result in improving the quality of the program.


On the audit program
Ensuring the quality of ICT systems today are at the heart of business requires thorough tests to check whether programs that provide features of the system are functioning as intended. Test the underlying software for a commercial site, for example, is to generate many test cases (test scenario generation) representing the permutations different user actions and circumstances, as if yes or no ID product or the exact amount has been entered, and generate data for each permutation (test data generation) be fed, one at a time in the software. Using these data, programmers must verify if the program is really (check for testing).


Java PathFinder, a verification tool developed by the National Aeronautics and Space Administration (NASA) (1) in the United States provides functions for automatically running tests on the Java programs using a technique called execution (2) symbolic, without having to enter in the case of test manually or test data. Fujitsu Laboratories worked to develop these functions, making it possible to process, string that represents a data character string much data generally treated by the company, thus enabling enterprise applications that result in data type checking applications.


Technological challenges
With existing technologies involved in audit programs containing tens of thousands of lines of code, even with a restricted set data input, processing time may take several hours. As a result, it became a challenge to develop technology that shortens the time of this audit.


Newly developed technology
Fujitsu Laboratories has developed a technology that performs verification of Java software in parallel. This allows to speed up the verification process by taking advantage of the computing power of cloud computing. In an experience of ten nodes processing new software reaches approximately ten times the performance of existing technologies.


Main features of the new technology are as follows:


1 Technology parallelization divides the symbolic processing execution and it allocates on multiple nodes processing
Symbolic execution research process is carried out on tree a program that tracks the conditional branches in the program. New Fujitsu technology divides this tree and affected parties to multiple nodes processing, accelerating piloted by the treatment of these branches in parallel (figure 3-1).


2 Dynamic reallocation overloaded inactive nodes nodes processing load balancing
Depending on the content of the programme, an imbalance may occur in loads of crossing which are assigned to each node, making it impossible reduce processing, same time via parallel execution. New technology monitors the passage of each node, and if treatment is not completed within a specified time, the function of monitoring seeding heavy calculating this node and reassigns the partitions of other nodes that are finite and lie idle. This balances the load of processing of each node, thereby accelerating obtained by parallel processing.


Results
Increase the number of nodes in treatment by methods such as cloud computing allows you to quickly check programmes on a large scale. This should greatly contribute to the improvement of the quality of the software.


Future developments
Fujitsu Laboratories continue to improve this technology in internal tests and aims to commercialize it to FY 2011 (April March 2011-2012). The company is also considering offering the technology as a cloud-based service.


(1) The National Aeronautics and Space Administration (NASA): A U.S. Aerospace Research Agency.
(2) Method of execution symbolic execution: A program in which all test data are represented in symbolic form. Executing, the program performs business program within the framework of the symbols, based on its ramifications, conditions for each path must be executed.


Elizabeth is an editor Assistant to the SYS-CON events, Inc. where the annual conferences of high energies are created with the players in the industry. Elizabeth has worked on the SYS-CON events behind Cloud Computing Conference & Expo Conference & Expo, GovIT Expo and the UlitzerLive virtualization team! New-Media Conference & Expo.

Jahia of its Beta 6.5 with Zero coding Web Content Management (java .sys - con .com)

Jahia, the leading provider of web content integration software combining web and document features of portals, opens Jahia 6.5 beta, the first open source on Java Composite content platform based on the latest open source frameworks. The new beta allows developers, webmasters and advanced users create sophisticated web projects in as little as one quarter of the time using any language programming with zero coding, making it easy to manage, author and incorporate composite content from any source. Jahia 6.5 combines modularity of PHP as Java development speed.

"Jahia exciting new platform allows us to provide outstanding client solutions at a fraction of time and costs," said Glenn Korban, Director of technology, Oshyn, Inc. "it frees our usual, software bottlenecks developers so that they can focus more on client's requirements." Well-designed architecture makes it easy advantage of open source, and components especially appreciate solid business class tools and 6.5 Jahia unlimited extensibility.

"As a Gold Partner, we arrived to deploy Jahia 6.5 Beta and we're really excited by the speed of this new platform." "In our test environment, we have a fairly complex site places and running in a fraction of it normally", explained Manuel Pallage, CEO of NSI IT software & services. "We will undertake several projects to this exciting new platform in the coming months." Our relationship with Jahia partner is now more valuable that never-2011 will be a great year for us both. »

"Web and intranet projects today become increasingly more sophisticated targeting specific purposes and communities and ranging up to real applications designed to generate and manipulate content," said Elie Auvray, Jahia Solutions Group, co-founder and CEO. "Jahia 6.5 empowers developers and users with a unique and innovative management tools suite power save time."

"Our next version reaches new heights: it offers not only unlimited, modular,"intelligent content"solutions for business users to Jahia, but also several script support and zero code development teams composition"said Emmanuel Garcin, Vice President and Executive Director of America's North Jahia.""Jahia 6.5 reaches new communities of professionals who are seeking to create more sophisticated rich enterprise deployments. »

Following 6.5 Beta Jahia characteristics:

The first composite content platform combines the modularity of PHP frameworks with the strength of the strongest standards Java open source

Architecture full of Ranger with a repository of content based on Apache Jackrabbit for access by any application.

A powerful API RESTful for the rapid deployment of site Web. Developers can now directly access to services and building custom extensions which directly tap Jahia, database backend services to develop dynamic, content-rich applications.

Creating template with a mixture of scripting languages, including PHP, speed and JSP.

A new Jahia studio that fosters rapid development and Assembly of new extensions, with a designer of drag-and - drop to build web sites for composite content available.

Users complete with composite custom dashboard pages available

A library of composite featured more than 60 composite content code samples and that can be deployed several projects

Convincing new generation, with unified content management WCM, portal, social search and content company

Collaboration-based community encourages participation in integrated forums vote, forms and user-generated content

User profiles can be customized and extended according to the needs of your organization

A new "help mode" for editing simple content with no technical training

Established roles advanced attributes dedicated reviewers, authors, publishers, translators and others in a few clicks

New social and collaboration with the JahiApp capabilities allow you to offer exciting client through the rapid Assembly of rich content, applications available in the package of beta or our JahiApps forge solutions: custom a JahiApp MyPortal, in which each user gets a dashboard page to fill with composite available.

A Blog can be moved and dropped into any of your web initiatives engaging JahiApp

Stickers JahiApp collaboration easy and effective, while working on the content

To learn more:

Download Jahia Beta 6.5 to: http://beta65.jahia.org/download

See Jahia Beta 6.5 in action in an eSeminar at http://www.jahia.com/webinar

Visit http://beta65.jahia.org/ for a world tour Jahia 6.5 beta

On Jahia

Jahia software integrates all the types and sources of content intranets, extranets and the Internet in a simple user interface at a total cost of ownership than proprietary systems or open source. Content may include businesses, collaborative application and social portlets, widgets, gadgets, photos, files, Microsoft Office, and RSS feeds. Founded in 2002, Switzerland, Jahia has its North American headquarters in Washington, DC and offices in Montreal and the Canada throughout Europe. Jahia has more than 300 customers in over 15 countries around the world. For more information, please visit www.jahia.com.

Xenia von Wedel, Tech blogger and VP of Socialradius San Francisco. She writes primarily about B2B solutions and software open source. SocialRadius is a comprehensive social media, serving clients in a variety of industries worldwide marketing agency. The Agency focuses on leadership thought creating content and syndication, awareness and social media strategy.

External RAM for a ATmega128 (Hackaday.com)

Those who are familiar with the Atmel AVR 8-bit microcontroller line must already know that some of them supports external RAM. But you never really used this feature? Us do not have. Now you can learn how it is done by reading through this guide. It touches on all the equipment, but dwell on it. Instead, you will get the background you need on how to write, read, and test a plugin like sticking a in the image above. Routine test shows how to ensure that everything is working correctly with your mapping memory begin to develop firmware for this increase in capacity.

[Thanks Spman]

New MFC APIs (CodeGuru.com) animation

Microsoft Visual Studio 2010 Service Pack 1 includes a number of improvements and new features for MFC developers. One of these changes is an animation API to make it easy for you to create animations in MFC applications. This article will briefly introduce this animation API.

The main parts of this new API are:

ValuesAnimation transitionsAnimation animation controllers

Animation API uses transitions to animate values. The API comes with a number of pre-defined transitions:

CAccelerateDecelerateTransition: animated value speeds up and slows down again.CConstantTransition: animated value is preserved during the entire transition to its initial value.CCubicTransition: animated value reaches the target value with a specified speed.CDiscreteTransition: animated value will be to jump from the baseline value target after a specified period of time.CInstantaneousTransition: animated value immediately jumps to the target value. The duration is always zero.CLinearTransition: animated value will linearly from its initial value in its value target for a determined period.CLinearTransitionFromSpeed: is similar to CLinearTransition, but instead specify a time, you must specify the speed with which the animated value has to pass the initial value for the target value. The duration of the transition is automatically calculated according to the specified speed.CSmoothStopTransition: animated value will rise from its original value to the target value, but the transition will slow to set target to achieve the target with a speed equal to zero.CParabolicTransitionFromAcceleration: animated value will reach its target with a specified speed and acceleration.CReversalTransition: the direction of transition will be modified gently for a term. The final value of the animated value will be the same as the initial value.CSinusoidalTransitionFromRange: animated value will fluctuate between a specified minimum and maximum duration of the transition.CSinusoidalTransitionFromVelocity: animated value range of the initial value for the duration of the transition.

Most of the above preset animation transitions are fairly simple to use. Each of them require at least the duration of the transition and most of them require a target value. For example, the transition from the CAccelerateDecelerateTransition is the following constructor:

CAccelerateDecelerateTransition (duration UI_ANIMATION_SECONDS, finalValue DOUBLE DOUBLE accelerationRatio = 0.3, DOUBLE decelerationRatio = 0.3)

The first parameter is the duration of the transition. This is the time need to go to the value of departure to the target value. The second parameter is the target value. The next parameters are specific algorithmic parameters that have default values in this case.

CConstantTransition is an exceptional place. You keep the value of the animation to its initial value during the whole transition, its constructor is simply as follows:

CConstantTransition (UI_ANIMATION_SECONDS duration)

There is also a CCustomTransition you can use any of the above transitions offer what you are looking for. It has a little more complicated to use. You will need to derive your own class from CCustomInterpolator and implement the InterpolateValue method and maybe a few others.

The following section discuss animation values and give some examples on how to effectively use the above animation transitions. Note that you must initialize COM before the animated Windows API function. You can do this by adding the following line in your InitInstance method:

CoInitialize (0) And the following line in your ExitInstance method: CoUninitialize(). Instead use CoInitialize and CoUninitialize, you can simply use the block in your InitInstance method: if (!) (AfxOleInit()) {AfxMessageBox (_T ("AfxOleInit failed")); return FALSE;}

The new API works animation values. There are several classes that encapsulate specific values, which can be animated with some transitions. Different value animation classes are as follows:

CAnimationValue: Animates a single value. This could be used to animate a transparency of an object or a rotation of an object.CAnimationPoint: animates a point. Contains a point and coordinates X and Y. The two coordinates can be animated separately.CAnimationSize: anime size. Size contains a width and height, both can be animated separately.CAnimationColor: anime color. A color contains an RGB value. Each color component can be animated separately.CAnimationRect: animates a rectangle. A rectangle contains a left, top, right and bottom of value and all can be animated separately.

It is relatively easy to create a value for the animation. Simply create an instance of the object value of animation that you want to, initialize, add transitions of the animation and specify its parameters as the target value. For example, to set a color animation value, first set as follows:

CAnimationColor m_animClr1;

Then, the next line will initialize the color to Red:

m_animClr1 = RGB (255,0,0);

And finally assign transitions for each color component.

m_animClr1.AddTransition (new CLinearTransition (2, 0), new CLinearTransition (1, 255), new CLinearTransition (0.5, 128));

The line above adds 3 transitions:

The red color component will be increased from 255 (= startup value) over a period of 2 seconds.The green component color 0 pass 0 (= startup value) 255 over a period of 1 seconds.The blue component color ranges from 0 (= startup value) to 128 over a period of 0.5 seconds.

Similarly, an animation of rectangle could be defined as follows:

CAnimationRect m_animRect; m_animRect = CRect (0, 0, 100, 100). m_animRect.AddTransition (new CAccelerateDecelerateTransition (2, 100), new CAccelerateDecelerateTransition (2, 100), new (2400) CAccelerateDecelerateTransition new CAccelerateDecelerateTransition (2,200));

This animation starts with a rectangle with coordinates at the top left (0, 0) and bottom right (100, 100). Transitions will be animating this rectangle to a contact at the top left (100, 100) and a lower-right, 400, 200) over a period of 2 seconds to an acceleration-deceleration transition.

Inside your WM_PAINT handler, you will use the values of your variables animation to your drawing. For example:

int x 1, y1, x 2, y2; m_animRect.GetLeft .GetValue (X 1) (); m_animRect.GetTop () .GetValue (Y1); m_animRect.GetRight (.GetValue (X 2)); m_animRect.GetBottom (.GetValue (Y2)); COLORREF clr. m_animClr1.GetValue (CLR); pDC-> FillSolidRect (x 1, y1, x 2-x 1, y1 - y2, clr).

The above code is first query the rectangle hosted on its current animated coordinates and color variable to its current value of the color. Subsequently it simply draws a rectangle with the coordinates and color.

Work with other classes of animation value is somewhat similar.

Thursday, December 16, 2010

Updates for Red Hat JBoss Enterprise Portal 5.1 (DevX)

Enterprise Linux and open source middleware vendor Red Hat updates its JBoss Enterprise Portal platform with the new version 5.1. The new version follows version 5.0, which was released in June of this year and provides new enhancements to help workflow and content management companies.

New site editor add-on technology has been included as a technical Portal 5.0 release overview and 5.1 is now fully supported. With new capabilities, Red Hat strives to improve usability of door for enterprise users.

Technology editor of the site has its roots in an open source effort led by eXo provider for the web content manager.

"What we do at Red Hat is we (eXo project) and make internal and put it through our extensive process", Jason, Platform Manager Enterprise Portal main product Red Hat told InternetNews.com. "Ensure us that everything works, get run online, perform the work of documentation and then we go on the market as a product of Red Hat."

Andersen explained that the editor of the site is all about the idea of creating content. He noted that with the users previously Enterprise Portal platform could have contained and wrapped in a portlet. However, site editor provides enterprise UI author easily allows users to content author and then download the portal.

"What he also gives us the opportunity to make is to have great wealth in the way that content is presented on the page," says Andersen.

Anderson pointed out that new models of page in the editor of the site, make it easier for users to understand business and content format. In addition Anderson said that in Enterprise Portal Platform 5.1, Red Hat has improved the editor site on what was in version 5.0 Enterprise features.

"There's a much better set of capabilities around internationalization and translated content management" says Andersen.

Version 5.1 includes a new technical overview content aggregation functionality. Andersen has noted that a challenge with integrated web content management systems is that users often work on a piece of content is live on the production server. Content of gathering allows a new workflow process which can isolate content for approval before it goes live.

Another key to the users of technology Enterprise sector is now with mobile access. As stated by Anderson, Red Hat has established partnerships put in place for the mobile enablement platform Enterprise Portal. Just don't expect an iPhone or Android app directly though Red Hat.

"We do not explicitly construct these applications, it is one thing to partnership and certification," said Andersen.

Red Hat buddies in eucalyptus (PC World) (Yahoo!)

Eucalyptus Systems has entered into a partnership with Red Hat which should ultimately facilitate the deployment of clouds bereft of eucalyptus Red Hat software platform.

With this new arrangement, eucalyptus, systems with the help of Red Hat engineers engineers will be easily accessible eucalyptus through Deltacloud of Red Hat, which is a set of overlay API (application programming interfaces) designed to facilitate the interoperability of cloud platform.

The two companies will also be incorporated into the eucalyptus RHEV (Red Hat Enterprise Virtualization), KVM (kernel on a virtual machine) open source hypervisor-based virtualization Red Hat package management features.

The work will be "insurance to our users that are running on Red Hat has a good integration between the two products that they won't have to worry about inconsistencies between eucalyptus, Red Hat Enterprise Linux and KVM," said Marten Mickos, CEO of eucalyptus.

The platform of eucalyptus is an implementation opensource EC2 (elastic Compute Cloud), Amazon S3 (Simple Storage Service) and BSE (elastic block storage) API. Users can deploy eucalyptus to implement a private cloud, which can run virtual machines designed to the specifications of the Amazon.

The work of this partnership, all the features of eucalyptus is accessible via Deltacloud. The resulting code will be open source. Mickos provides integration to fulfill, in large part, by the mid-2011, with beta versions will be published soon.

Also in the partnership, some controls management RHEV will be integrated to the eucalyptus. Eucalyptus can already run in virtual machines based on Red Hat KVM hypervisor, but the new work will allow users to "manage certain aspects of the cloud by RHEV, it would be more transparent experience for them it would be otherwise" Mickos said.

Partnership signals as a potential alliance space emerging software of clouds, the two companies share a common competitor to VMware and its VCloud clouds Manager software.

"Red Hat do partner much with corporate software, feel very privileged by the fact that they have chosen to work with us," said Mickos. "And what it brings to us is better access to clients and the ecosystems of Red Hat."

Joab Jackson covers the software business and General technology breaking news for the IDG News Service. Follow Joab on Twitter at @ Joab_Jackson. Joab e-mail address is Joab_Jackson@idg.com

model jQuery with ASP.NET MVC (Weblogs @ ASP.NET)

In my three previous blogs, I showed how to use templates in your ASPX Web site.

Introduction to jQuery templates - tmpl() template(), tmplItem (jQuery) model - TemplatesjQuery {supported the tags}

Now, I am going to show a concrete example that you can use in your everyday work developing applications with ASP.NET MVC and jQuery.

In this example I'll use pubs database so I retrieves the values from the authors table. To access the data, I use the Entity Framework.

Say pass along every step of the scenario:

1. Create the new ASP.NET MVC Web application

2. Add the new view to the home folder but step select a master page and add the controller for your view

3 BODY code in the HTML code



Authors of pubs




As you can see in the body we do as a single tag H1 and a div with id authorsList where we will add the database.

4 Now I created the pubs model which is linked to the publication database, and I chose only the authors table in my EDMX model. You can use your own database.

5. Then, to create a JsonResult method will get the database data and serialize JSON string.

public JsonResult GetAuthors()
{
pubsEntities pubs = new pubsEntities();
authors of var = pubs.authors.ToList ();
return Json (authors, JsonRequestBehavior.AllowGet).
}

Therefore, I am creating an instance of the object of pubsEntities and get all the authors in the authors list. And then returning the list of the authors by JSON serialization in Json method. JsonRequestBehaviour.AllowGet parameter is used to GET the client queries are allowed. By default in ASP.NET MVC 2 get is not allowed by the security with JSON hijacking problem.

6. Then, to create AJAX jQuery function that calls the GetAuthors method. We will use jQuery method $.getJSON.

Once the web page is downloaded, the method will be called. The first parameter of $. getJSON() is the url string in our case, the method name. The second parameter (which, in the example, is the empty string) is the key value pairs will be send to the server, and the third function is the callback function or the result will be returned by the server.

Inside the callback function, we have code that makes the data model that has id # authorsTemplate and adds it to the element that has # authorsList.

7. The model of jQuery

As you can see, I have tags containing fields (au_lname, au_fname…, etc.) that corresponds to the table in EDMX model which is the same as in the database.

One thing more than noted here is that I printMessage function (state) which is called inside the tag of ${expression/function/field}.

Function printMessage

Therefore, if the State is "CA" impression "is the author of California" else "the author is not California"

HERE IS THE COMPLETE ASPX CODE



Sample database: jQuery templates


    

    



Authors of pubs



Thus, in the complete sample, you also have the CSS style I use for my page output.

Here's the final result displayed on the web page screen printing:

You can download the full source, including examples presented in my previous blog posts on jQuery templates and presentation PPT my last session, I got to the local .NET UG meeting at the following DOWNLOAD LINK.

Let me know your comments.

With respect,
Hajan

Read a digital caliper with a microcontroller (Hackaday.com)

[Husband] wanted a way to read a digital caliper electronically measures. He finished by using dashboard to do it, but not all the necessary equipment is seen above. The compass cost him about $7 on eBay, and they have four pins interface makes this hack quite a bit more easy. After a few test establishes their purpose. voltage, ground, clock and data. A bit of scope is proven to be data that were sent in 24-bit burst in the packages that are fairly easy to decode.

Hence, it is just a matter of interfacing with a microcontroller. The chip it uses is a MSP430G2231 runs at 3. 3V, but the logic of the caliper high is only 1. 5v. By constructing a map with a pair of transistors, the data and clock of the compass successful firing pins on the MSP430 low. This is gathered and analyzed by firmware [Mari] and can be read on a PC using a terminal program.

[Thanks Chris]

Chrome OS and platform longevity (daringfireball.net)

It is interesting to Google chrome OS targeting. Instead of trying to attract consumers who have demonstrated that they are not interested in "Net PC" - as the browser - only material, Google positioned chromium OS hardware as alternatives good markets, low-IT overloads allowing enterprises to deploy to the desktop.

Talk show last week, John Gruber and Dan Benjamin discusses why he can finally be a good time to do this: many computers today in business existence solely to run a web browser. John is almost all computers in a branch of the typical Bank, on which agents usually just type your information into a series of forms of web browser to do their job. Assuming that Internet Explorer dependencies can be removed without too much difficulty, are ideal candidates to be replaced with chrome OS.

But there is a major problem with this idea: technological conservatism on this scale.

Most companies who could use such a facility are large, and deployment of a major technological change their staff is a huge and very expensive. Even though Google somehow gave thousands of chromium OS netbooks without charge, any attempt will must spend a ton of money in labor, training employees and an increase in help desk needs computer Organization deployed the new Setup program.

That is why on your desktop PC banker is probably running Windows 2000, a platform for 11 years: because it is extremely expensive to update, and the current system works acceptable without all spending massive, unique on this year's budget.

For the replacement of business software platforms, longevity is an important requirement. For OS chrome to be considered by any business sufficiently important, their IT decision makers will want to know that chrome OS is going to be around and supported by Google years now.1 means support, at least, the hardware must be available, software licenses must continue and security issues must be corrected.

And any reasonably competent computer direction can clearly see that Google, for all of their computational power, is not known for the longevity of the product.

Of course, their web-based products have been around for some time and are not going anywhere. But they are launching products much more each year who forget rapidly and many unsuccessful products are quietly abandoned a few months or a few years later.

The Google simply not in the business to support long term for a range of products unsuccessful. It is part of what allows you to keep releasing new things all the time while the geeks say Microsoft a boring old dinosaur. But it departments must their platform providers behave much more like Microsoft.

I doubt many IT new executions will take the risk that the chrome OS will be stable enough platform to deploy long-term staffing their. As the saying goes, nobody ever fired…