HOMEsite
Home Contact Kamus Online Bee Template Palm Software Blog Megapixel Free SMS Download

Khad's Blog

To Make Changes Everyday With Joy

Tue, 06 Dec 2011 08:25:00 +0000 Transaction in Zend Framework

Sun, 16 Oct 2011 13:24:00 +0000 Link: How to Root Galaxy Tab 10.1 the Easy Way Untuk custom recovery dan rooting,

Check this out:
http://galaxytabhacks.com/galaxy-tab-10-1-hacks/how-to-root-galaxy-tab-10-1-the-easy-way/

Sat, 13 Aug 2011 00:16:00 +0000 Transfer files MTP using ubuntu (honeycomb android) Tablet using honeycomb such as Samsung Galaxy Tab, Motorola Xoom



Using aafm (beta)
https://github.com/sole/aafm

Rule for udev:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct} =="685e", MODE="0666", OWNER="khad"

# service udev restart



forum:

http://forum.xda-developers.com/showthread.php?t=1077377

Using ddms:

http://forum.xda-developers.com/showpost.php?p=16623845&postcount=27


Tue, 17 May 2011 07:32:00 +0000 Ganti DNS di android Biar browsing di android nggak lemot, ganti DNS-nya pake aplikasi ini:

Set DNS

Sun, 09 Jan 2011 06:37:00 +0000 Run 64bit Guest on 32bit Host Virtualbox

Virtualbox is really cool software for virtualization and it is free. Latest version of virtualbox support running 64bit guest, even on 32bit host. See this checklist:
  1. Make sure your processor support VT-x (or AMD-v) and 64bit
  2. Enable in BIOS: Virtual Machine Technology
  3. set option in guest: PAE, IOAPIC, ACPI to enabled
  4. And most important thing: set OSType to Ubuntu_64 or Windows_64 (note the _64)
  5. Install your guest OS (i prefer using headless and rdp)

[logo] Gizmodo

Gizmodo, the gadget guide. So much in love with shiny new toys, it's unnatural.

Fri, 27 Jan 2012 15:38:37 EST The Best Time to Change All Your Passwords [User Manual]

February 1 is change your password day. But don't make it a one-time thing. Password changing should be a routine you practice regularly. Like hand-washing, or trolling Facebook. Especially ones you've shared. More »


Fri, 27 Jan 2012 15:20:00 EST This Centimeter of Dried Glue Is Apparently Worth Thousands of Dollars [Video]

This glob of dried glue kind of looks like Homer Simpson. Kind of. The thing is that this insignificant blip in the scheme of humanity is about to sell on eBay UK for a metric crap ton. It's at £151,000 with two days to go. More »


Fri, 27 Jan 2012 15:00:00 EST The iLuv Alarm Clock with iPod Dock and Bed Shaker Is Your BEEP-BEEP-WAKE-THE-F*&K-UP Deal of the Day [Dealzmodo]

I know that my alarm clock is the devil. It doesn't matter which physical clock I'm using. There's a spirit that moves from clock radio to cellphone to travel clock and channels evil at my motionless body. My subconscious is so sure of this that it wakes me a few minutes before the alarm goes off whenever possible. More »


[logo] Slashdot

News for nerds, stuff that matters

2012-01-27T20:51:00+00:00 The ACTA Fight Returns: What Is At Stake & What You Can Do


An anonymous reader writes "The reverberations from the SOPA fight continue to be felt in the U.S. and elsewhere, but it is the Anti-Counterfeiting Trade Agreement that has captured increasing attention this week. Several months after the majority of ACTA participants signed the agreement, most European Union countries formally signed the agreement yesterday (notable exclusions include Germany, the Netherlands, Estonia, Cyprus and Slovakia). Michael Geist has a full rundown on what is at stake and what you can do, wherever you live."

Read more of this story at Slashdot.

2012-01-27T20:29:00+00:00 Bill Gates Gives $750M To AIDS Fund


redletterdave writes "Microsoft chairman and philanthropist Bill Gates pledged $750 million to the troubled global AIDS fund on Thursday and urged governments to continue their support to save lives. Since the fund was launched 10 years ago, the Bill & Melinda Gates Foundation has given $1.4 billion to the charity, having already contributed $650 million prior to the latest donation. The Global Fund to Fight AIDS, Tuberculosis and Malaria accounts for around a quarter of international financing to fight HIV and AIDS, as well as the majority of funds to fight TB and malaria."

Read more of this story at Slashdot.

2012-01-27T20:08:00+00:00 FBI Building App To Scrape Social Media


Trailrunner7 writes "The FBI is in the early stages of developing an application that would monitor sites such as Twitter and Facebook, as well as various news feeds, in order to find information on emerging threats and new events happening at the moment. The tool would give specialists the ability to pull the data into a dashboard that also would include classified information coming in at the same time. One of the key capabilities of the new application, for which the FBI has sent out a solicitation, would be to 'provide an automated search and scrape capability for social networking sites and open source news sites for breaking events, crisis and threats that meet the search parameters/keywords defined by FBI/SIOC.'"

Read more of this story at Slashdot.

2012-01-27T19:24:00+00:00 Russian Rocket Fleet Grounded Again


Velcroman1 writes "Failed pressure chamber tests have forced Russia to postpone two manned launches to the International Space Station — echoing a 2011 situation that left the country's space transport vehicles grounded and led to speculation that scientists may be forced to abandon the orbiting space base. Six astronauts are currently aboard the ISS including two Americans: Commander Dan Burbank and Flight Engineer Don Pettit. 'There is plenty of margin for the current space station crew to stay onboard longer, if necessary, and plenty of margin in our manifest for upcoming launches,' a NASA spokeswoman said. But Soyuz issues are scary nonetheless. 'This re-entry capsule now cannot be used for manned spaceflight,' an unnamed source told Interfax."

Read more of this story at Slashdot.

2012-01-27T19:01:00+00:00 Mars Rover Opportunity Turns 8


New submitter el borak writes "Never mind all the talk about the revival of the American auto industry. What may be the greatest car the U.S. has ever built is currently a tidy 78 million miles (125m km) away from this world — resting on the edge of Endeavour crater in the southern hemisphere of Mars. It was on January 25, 2004 that the rover Opportunity bounced down on Mars for a mission designed to last a minimum of three months and a maximum of just a year or two."

Read more of this story at Slashdot.

[logo] SecurityFocus Vulnerabilities

SecurityFocus is the most comprehensive and trusted source of security information on the Internet. We are a vendor-neutral site that provides objective, timely and comprehensive security information to all members of the security community, from end users, security hobbyists and network administrators to security consultants, IT Managers, CIOs and CSOs.

2012-12-29 Vuln: Pligg CMS 'status' Parameter SQL Injection Vulnerability Pligg CMS 'status' Parameter SQL Injection Vulnerability

2012-01-27 Vuln: Apache Tomcat 'sendfile' Request Attributes Information Disclosure Vulnerability Apache Tomcat 'sendfile' Request Attributes Information Disclosure Vulnerability

PHP: Hypertext Preprocessor

The PHP scripting language web site

2012-01-24 PHP 5.4.0 RC6 released The PHP development team announces the 6th release candidate of PHP 5.4. PHP 5.4 includes new language features and removes several legacy (deprecated) behaviours. Windows binaries can be downloaded from the Windows QA site. THIS IS A RELEASE CANDIDATE - DO NOT USE IT IN PRODUCTION!. This is the 6th release candidate. The release candidate phase is intended as a period of bug fixing prior to the stable release. No new features should be included before the final version of PHP 5.4.0. The 6th release candidate focused on improving traits. Please test them carefully and help us to identify bugs in order to ensure that the release is solid and all things behave as expected. Please take the time to test this release candidate against your code base and report any problems that you encounter to the QA mailing list and/or the PHP bug tracker. A complete list of changes since the last release candidate can be found at NEWS The next candidate will be released on Feb 2.

2012-01-10 PHP 5.3.9 Released! The PHP development team would like to announce the immediate availability of PHP 5.3.9. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.Security Enhancements and Fixes in PHP 5.3.9:Added max_input_vars directive to prevent attacks based on hash collisions. (CVE-2011-4885)Fixed bug #60150 (Integer overflow during the parsing of invalid exif header). (CVE-2011-4566)Key enhancements in PHP 5.3.9 include:Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument to is_a and is_subclass_of).Fixed bug #55609 (mysqlnd cannot be built shared)Many changes to the FPM SAPI moduleFor a full list of changes in PHP 5.3.9, see the ChangeLog. For source downloads please visit our downloads page, Windows binaries can be found on windows.php.net/download/.All users are strongly encouraged to upgrade to PHP 5.3.9.

[logo] Latest in Crave

Latest in Crave

Fri, 27 Jan 2012 19:47:00 +0800 Tech Buzz: All the pretty faces This week, we test the Face Unlock feature on the Android 4.0 Ice Cream Sandwich OS. We also zoom in on the subject of fixed focal length lenses. This week, we put all our pretty faces to the test with the Face Unlock feature on a pre-production unit of the Galaxy Nexus. Sure, you can unlock it easily with a photo, but will it still work if you are set against a busy background? I have always been a little apprehensive toward fixed focal length lenses on mobile phones. But after getting acquainted with the Ricoh GRD IV camera over the weekend, I realized that a fixed focal length lens actually made me exercise more creativity in shot composition. That's why we set out to do a generic segment on how to improve your shots using a fixed focal length lens--whether it's on your smartphone, point-and-shoot or dSLR. Finally, we highlight the top five ways to share files now that Megaupload has been shut down.If you'd like us to test something out on the Galaxy Nexus, do let us know in the comments below.

Fri, 27 Jan 2012 19:26:00 +0800 Pentax unveils VS20 long-zoom compact with twin shutter buttons Avoid awkward poses when capturing portraits with the Optio VS20's unique implementation of a vertical shutter button. (Credit: Pentax)Pentax has recently announced its latest long-zoom compact which is the first of its kind to feature two shutter buttons--one for normal shooting and the other for capturing images in portrait-orientation. The vertical shutter button is accompanied by a second zoom lever and a vertical tripod socket--allowing the camera to be mounted vertically as well.This 16-megapixel long-zoom compact is equipped with a versatile 20x optical zoom, a 3-inch widescreen LCD display and is capable of capturing 720p HD videos. The new camera also incorporates a new sensor-shift based image stabilization mode which the company claims can prevent camera shake in images resulting in sharper images. This function is also available in its movie mode and provides more fluid-looking videos.In the past, only dSLR had the option for vertical shutter releases in the form of optional battery grips--alternatively more serious users could pony up for a pro-level dSLR. Now with the VS20, even the casual shutterbugs can get into some portrait-shooting action comfortably without needing to stick out an elbow.

Fri, 27 Jan 2012 19:02:00 +0800 NEC suffers major losses, will slash 10,000 jobs Most of the layoffs will be in its mobile phone business, which has been affected by the iPhone's popularity in Japan. NEC has unveiled its financial results and losses amounting to US1.3 billion for the 2011 fiscal year.As a result of its weak performance, the company will be retrenching 10,000 workers--or one in 10 employees--to cut costs. 70 percent of the job cuts will be in Japan, and a majority will come from its mobile phone business.NEC is known for its Medias smartphones based on the Android OS, which have been among the hottest handsets at the Japanese telco NTT Docomo. However, its market share has been cannibalized by stiff competition, particularly from the Apple iPhone.This has been reported by Reuters, which adds that NEC has "slashed its projection for annual mobile phone sales by nearly a quarter to 5 million" units.Besides the mobile phone industry, NEC faces competition in the domestic IT infrastructure business, too. NEC also cites difficulty in expanding overseas as one of the reasons for its poor performance. However, other Japan-based companies--such as Sony and Fujitsu--have successfully ventured outside of the country. Based on the specs of NTT Docomo's new NEC handsets, we think that Medias smartphones actually have the potential to compete with some of the global industry giants, such as Samsung and HTC.So it's a pity that this piece of news comes on the back of Apple's record-breaking quarter and Samsung's strong mobile sales.Via Reuters

Fri, 27 Jan 2012 18:39:00 +0800 Nintendo confirms Wii U launch date The next-generation console will be available end 2012 with possibly more functions than previously announced. Nintendo has finally stepped forward to announce the availability for its Wii U. The next-generation game console will be launched in Australia, Europe, Japan and the US before the end of 2012. However, there's no further information on estimated pricing, as well as release dates for other countries in Asia.On a separate note, the producer of the Street Fighter X Tekken game, Yoshinori Ono, has hinted that the Wii U prototype unveiled last year is not a good reference for the finished product. The actual console will purportedly ship with a new feature which is different from Microsoft's Kinect and similar accessories."But let's say that Wii U will be a console with so many unique possibilities that it will be difficult to show them on the box they are going to sell it in or to be published by magazines and other mediums," added Ono. While we doubt Nintendo will be elaborating on any of these claims, the Wii U better be able to live up to the hype considering all the attention it is garnering right now. Via CVG

Fri, 27 Jan 2012 18:30:00 +0800 Pirate parties planning lawsuit against FBI for MegaUpload takedown Initiated by the Spanish Pirate Party, a platform has been created to register complaints from users over the takedown of the MegaUpload cyberlocker service. Scene from a New Zealand courtroom: Kim DotCom (farright)and others arrested January 19.(Credit: 3News.co.nz/Screenshot by Jonathan Skillings, CNET)Are you one of those affected by the FBI takedown of MegaUpload lastweek? Together with the UK Pirate Party and others, the Spanish branch of the Pirate Party,a political organization whose ideals include copyright reform andfreedom of information, has created an onlineplatform for affected users or organizations to registertheir complaints. Its stance is that although the FBI may be legallyjustified in shutting down the cyberlocker, the takedown has alsoinflicted excessive collateral damage on legitmate users of theservice. The political group also feels that, according to Spanish law,they may have a case against the FBI bust. While the eventual goal is to submit these complaints against the US,it's quite likely that they will fall on deaf ears. Users of cyberlockers are reportedly moving on to other similar sites,though it would seem that the FBI action has at least forced theseservices to clean up their act, such asdisabling file-sharing or in the case of Uploaded.to, block US accessto its site. Via Digital Trends

[logo] Yahoo! News: Top Stories

Top Stories

Fri, 27 Jan 2012 16:54:53 GMT Economy grew 2.8 pct. in Q4, but outlook is hazy (AP)

FILE - In this Aug. 30, 2011 file photo, 2011 Chevrolet Malibus are lined up at a car dealership in San Jose, Calif. The U.S. economy grew at a 2.8 percent annual rate in the final three months of last year, the fastest growth in 2011, according to the Commerce Department, Friday, Jan. 27, 2012. Americans spent more on cars and trucks, and companies restocked their shelves at the strongest pace in nearly two years. But growth in the October-December quarter — and all of last year — was held back by the biggest annual government spending cuts in four decades. (AP Photo/Paul Sakuma, File)AP - The economy grew late last year at a pace that in normal times would suggest it's healthy.


Fri, 27 Jan 2012 17:38:45 GMT Activists and bloggers fear Twitter censorship (AP)

This screen shot shows a portion of the Twitter blog post of Thursday, Jan. 26, 2012, in which the company announced it has refined its technology so it can censor messages on a country-by-country basis. The additional flexibility is likely to raise fears that Twitter's commitment to free speech may be weakening as the short-messaging company expands into new countries in an attempt to broaden its audience and make more money. But Twitter sees the censorship tool as a way to ensure individual messages, or 'tweets,' remain available to as many people as possible while it navigates a gauntlet of different laws around the world. (AP Photo/Twitter)AP - Bloggers and activists from China, the Middle East and Latin America said Friday they were afraid that new Twitter policies could allow governments to censor messages, stifling free expression.


Fri, 27 Jan 2012 20:39:07 GMT Children among 74 dead in 2 days of Syrian turmoil (AP)

This citizen journalism image provide by the Local Coordination Committees in Syria and released early Friday Jan. 27, 2012, purports to show a Syrian man, right, mourning over the dead body of his son, who was shot by the Syrian forces, in Idlib province, Syria, on Thursday Jan. 26, 2012. A 'terrifying massacre' in the restive Syrian city of Homs has killed more than 30 people, including small children, in a barrage of mortar fire and attacks by armed forces loyal to President Bashar Assad, activists said Friday. (AP Photo/Local Coordination Committees in Syria) EDITORIAL USE ONLY, NO SALES, THE ASSOCIATED PRESS IS UNABLE TO INDEPENDENTLY VERIFY THE AUTHENTICITY, CONTENT, LOCATION OR DATE OF THIS HANDOUT PHOTOAP - Two days of bloody turmoil in Syria killed at least 74 people, including small children, as forces loyal to President Bashar Assad shelled residential buildings and fired on crowds in a dramatic escalation of violence, activists said Friday.


Fri, 27 Jan 2012 19:44:03 GMT California passes new auto emission rules (AP)

Map shows states that have adopted California clean car standardsAP - California air regulators passed sweeping auto emission standards Friday that include a mandate to have 1.4 million electric and hybrid vehicles on state roads by 2025.


Fri, 27 Jan 2012 19:57:42 GMT Romney, Gingrich focus on Hispanic voters in Fla. (AP)

Republican presidential candidate, former Massachusetts Gov. Mitt Romney smiles as his wife Ann introduces him at The Hispanic Leadership Network's Lunch at Doral Golf Resort and Spa in Miami, Fla., Friday, Jan. 27, 2012. (AP Photo/Charles Dharapak)AP - Newt Gingrich and Mitt Romney pitched their ideas for reforming immigration law and pushing democracy into Cuba and across Latin America as the Republican presidential candidates vied for Hispanic votes Friday, entering the final, frenzied weekend before Florida's primary.


SourceForge.net New Releases

SourceForge.net New Releases

Fri, 27 Jan 2012 12:49:41 -0800 elive /Elive-1.23.tar.gz


Fri, 27 Jan 2012 12:49:22 -0800 elive /README


[logo] Files ? Packet Storm

Packet Storm - Information Security News, Files, Tools, Exploits, Advisories and Whitepapers

Fri, 27 Jan 2012 16:05:57 GMT Gentoo Linux Security Advisory 201201-15 Gentoo Linux Security Advisory 201201-15 - Two vulnerabilities have been found in ktsuss, allowing local attackers to gain escalated privileges. Versions less than or equal to 1.4 are affected.

Fri, 27 Jan 2012 15:44:58 GMT Debian Security Advisory 2394-1 Debian Linux Security Advisory 2394-1 - Many security problems had been fixed in libxml2, a popular library to handle XML data files.

Thu, 26 Jan 2012 21:29:51 GMT Peel SHOPPING 2.8 / 2.9 Cross Site Scripting / SQL Injection Peel SHOPPING versions 2.8 and 2.9 suffer from cross site scripting and remote SQL injection vulnerabilities.

Thu, 26 Jan 2012 21:25:46 GMT RSA enVision Variable Disclosure RSA has announced security fixes to address an environmental variable disclosure vulnerability in RSA enVision 4.x.

Thu, 26 Jan 2012 21:24:00 GMT EMC NetWorker Buffer Overflow EMC NetWorker Server 7.5.x and 7.6.x contain a buffer overflow vulnerability which may possibly be exploited to cause a denial of service or, possibly, arbitrary code execution.

PHP Everywhere - By John Lim

Sun, 24 Jul 2011 04:11:17 -0400 ADOdb 5.12 Released

After a long pause, a new version. Having young children and a busy work schedule has been keeping me too occupied.

Mostly bug-fixes. Some minor enhancements for Oracle performance monitoring.

Click here to Download.

Regards, John Lim


Postgres: Added information_schema support for postgresql.

Postgres: Use pg_unescape_bytea() in _decode.

oci8: Fix bulk binding with oci8. http://phplens.com/lens/lensforum/msgs.php?id=18786

oci8 perf: added wait evt monitoring. Also db cache advice now handles multiple buffer pools properly.

sessions2: Fixed setFetchMode problem.

sqlite: Some DSN connection settings were not parsed correctly.

mysqli: now GetOne obeys $ADODB_GETONE_EOF;

memcache: compress option did not work. Fixed. See http://phplens.com/lens/lensforum/msgs.php?id=18899

Fri, 07 Jan 2011 07:25:12 -0500 Moving to PHP 5.3

Now that PHP 5.2 is at the end of life, we are starting to migrate to PHP 5.3.

Here are some of my experiences with our code:

  • The function session_register() is now deprecated. We have created a wrapper function called _session_register with the same functionality.
    
    //-------------------------------------------
    // php 5.3 compat version of session_register
    function _session_register($v)
    {
    global $$v;
    	
    	if (!isset($_SESSION[$v])) {
    		if (!isset($$v)) $$v = null;
    		$_SESSION[$v] =& $$v;
    	} else  $$v =& $_SESSION[$v];
    }
    
  • Legacy PHP4 code with
         $obj = &new ClassName();
    
    has to be converted to
         $obj = new ClassName();
    
  • Lots of other functions have been deprecated, including split(), ereg(), etc. See PHP 5.3 Manual, Deprecated Features.

    Upgrading Zend Server from PHP 5.2 to PHP 5.3

    Backup your php.ini file. Then run the following commands:
    yum remove php-*
    yum remove mod-php-*
    yum install zend-server-php-5.3
    

    After this, you will need to restore back the settings of your php.ini file.

    Hiding Deprecated Warnings

    Set your error_reporting to
    error_reporting(E_ALL & ~E_DEPRECATED);
    

    Tue, 31 Aug 2010 11:23:40 -0400 The fine art of application virtualization

    The new 8-core Intel Xeon 7550 processors are extremely powerful and a good platform for virtualised applications. My company is setting up PHP application running on a Xen based virtualisation on two HP Proliant DL580 for a total of 64 cores in a high availability environment. .

    Why Virtualise?

    First let's investigate why virtualisation is attractive. The advantages are:

    • Simplified maintenance, as all software is running on virtual machines (VMs). Easy to stop and start VMs from the VM server console.
    • High availability is easier to achieve, as you can just restart the VM on a secondary server if the primary server fails, assuming that the VM is stored in shared storage accessible by all servers, using shared storage methods such as NFS, iSCSI or a SAN (Storage Area Network).
    • Able to optimize server hardware utilisation globally as CPUs, memory, hard disk, network resources are all shared.

    The disadvantages are strangely enough related to the advantages:

    • The maintenance is simplified, but the initial setup is more complex as not merely do you need to setup the hardware and the operating systems, but you have to plan out the virtual environment, such as the virtual network, and make sure that everything is properly sized as you are buying a few big machines, instead of lots of smaller servers.
    • High availability means you need to invest in high quality shared storage to store the shared VMs, typically a SAN, the SAN switches and the Fibre Channel HBA cards to connect to the SAN switches.
    • Need to over-configure the hardware as there is some overhead in virtualisation, particularly in terms of network I/O and storage I/O. CPU overhead for virtualisation is normally not a concern with modern virtualisation technologies such as VMWare, Xen, or Hyper-V.

    In this case, our customer was comfortable with virtualisation, as they are big users of IBM AIX Logical Partitions and VMWare. Secondly, they already operate several large Storage Area Networks, and merely had to upgrade the SAN to support us. Lastly they had the budget to pay for all of this :)

    VM Technology

    We are using Zend Server CE (PHP 5.2), Apache 2.2 and Oracle 11gR2 running on Red Hat Linux 5.5 and Oracle VM 2.2 (which uses the Xen Hypervisor).

    In the VM world, there are 4 main technologies that are popular:

    • VMWare - the market leader, this company has been doing virtualisation for over 10 years and they have good products.
    • Xen Based products - Xen is an open source technology that arose from some research on Hypervisors (the bare metal OS that controls all the virtual machines) done in Cambridge University. Today, several companies offer products using Xen, including Red Hat, Citrix, and Oracle. Has good support for Linux and Windows.
    • KVM - many kernel hackers were dissatisfied with Xen (because the Xen Hypervisor is not Linux-based internally), resulting in the development of KVM, which is fully Linux based. KVM is not as mature as Xen, but improving really fast. Support Linux and Windows.
    • Hyper-V - Microsoft's virtualisation technology. Microsoft is committed to supporting Linux also.

    We chose Oracle VM (Xen) because it has good performance with Linux and Oracle databases (naturally). Oracle VM is free with optional paid support available. There are also licensing advantages to using Oracle VM with Oracle databases. Oracle database licensing dictates that if you are using virtualisation technologies such as VMWare and are purchasing CPU licenses, you still have to pay database licenses for all the CPU cores of the server, even if the database VM is using only 1 core. However if you are using Oracle VM, then you only have to pay for the CPU cores you use using; this is known as "hard-partition" licensing in Oracle terminology.

    I also have experience with VMWare, and can recommend it as an mature alternative. Apparently the Citrix Xen Server is a good product, but I don't have experience with it.

    I will cover more technical details in part 2, which i will be writing in September after I complete this installation.

    Fri, 06 Nov 2009 02:52:50 -0500 Updated Optimizing PHP Article

    I have just updated my popular Optimizing PHP article with additional information on caching. I discuss memcache and squid. I also updated the PHP Accelerators and changed the tone of some parts of the article. I quote:

    Perhaps the most significant change to PHP performance I have experienced since I first wrote this article is my use of Squid, a web accelerator that is able to take over the management of all static http files from Apache. You may be surprised to find that the overhead of using Apache to serve both dynamic PHP and static images, javascript, css, html is extremely high. From my experience, 40-50% of our Apache CPU utilisation is in handling these static files (the remaining CPU usage is taken up by PHP running in Apache).

    It is better to offload downloading of these static files by using Squid in httpd-accelerator mode. In this scenario, you use Squid as the front web server on port 80, and set all .php requests to be dispatched to Apache on port 81 which i have running on the same server. The static files are served by Squid.

    Sun, 25 Oct 2009 09:12:02 -0400 Malaysian FOSS Conference 2009 Opening Keynote

    Last Saturday, I gave the opening keynote of the Malaysian Free & Open Source Software 2009 conference. The speech was prepared the day before, but as usual, I will improvise some stuff, so some parts have been amended based on memory:

    Ladies and gentlemen, honored guests, good morning!

    Today the landscape of information technology has been transformed by the vision of free software and open source. The search engines of Google roar with the sounds of open source Linux. Our Malaysian government encourages the use of open source whenever possible. Sounds of PHP, MySQL, Apache, GPL have become familiar names in the tapestry of IT.

    But that was not what it was like when I first started out as a young student in the mid-80s at the University of Melbourne, Australia. Things were different then. Concepts such as open source, GPL were still unknown. I still remember a fellow student was expelled from university for making copies of the source code of proprietary Unix software for his personal use.

    I admit I was disturbed by this, because I too had an insatiable curiosity about how software worked, and it was impossible to learn more without access to the source code. I wanted to find and understand the wiring inside the software.

    I remember fondly, and today with a bit of guilt, that I used to crack copy protected games, not for the pursuit of profit, but as an intellectual challenge – well ok, I have to admit I did it to play the games. The trick doing this (cracking) metaphorically is finding the wiring behind the copy protection and reversing the wires so that instead of refusing to run, it does the opposite and continues working.

    Of course to quickly find the right wires to switch and crack a large program is not easy. Which brings me to the first piece of advice if you want to be successful in software design… You need to have good taste, which is kind of weird because nerdy programmers are notoriously bad dressers, fond of bad hair days and certainly not fussy about the finer points of fine dining.

    What I’m taking about is of course is a taste for good logic. The feel of a beautiful idea, the taste of a mighty logic, or the fun in a great hack.

    Games designers and coders are a talented bunch of people, and if you understand their logical rhythms and designs, it becomes obvious where the wires you need to reverse to crack the software reside.

    The other important element of success is being happy. You have to have passion and enjoy what you are doing. To me cracking games was like cracking walnuts, a fun thing to do, but after a while it got boring. You need to do something with others and share with others to become really passionate about something.

    Social responsibility is another important element of life. You need to channel your life productively - only then will you find true happiness. Cracking games became boring and I found other better diversions.

    It was around this time my fellow student was expelled that I learned about the international USENET community. To young people, you have to imagine a time before the World Wide Web, when people used the Internet primarily for email. USENET was a fantastic group of mailing lists with forums and archives. USENET was also used to disseminate programming ideas and knowledge in the form of source code.

    So even before the concepts of Open Source and licenses such as GPL became well known, there was this thriving community of programmers who shared their source code and learnt from others. Which brings me to the next lesson: the typical image of the best programmers being lonely introverted hackers is misleading. People are only successful in a community. Open source software needs to be grown organically and for that you need social skills. The classic example here is of course Linus Torvalds, author of Linux, who has skillfully led the Linux community from its inception.

    It was through the USENET that I released software that I had written, including the one that won runner-up for best Australian Macintosh software in 1988 while still a foreign student in Melbourne.

    You know, while preparing this speech, at the back of my mind I have always wondered why Malaysia has not had a bigger role in contributing software to the open source community? Was what I achieved due to my overseas education? I was thinking about it last night while writing this speech, and I don't think so: I will tell you why...

    Malaysians do not lack ability. I see many smart and interesting people around me here at the conference. And I have seen many sophisticated pieces of software in the commercial world developed by talented teams of Malaysians. English, the language of Science and the Internet, is widely spoken here. However in the open source world, we have many more consumers than contributors.

    Is it our education system? Perhaps an over-emphasis on exams it is a contributing factor, but I don’t think that is the main reason. I studied for 12 years in Malaysian state schools, and I survived sane and reasonably intelligent! And exposure to the Internet has made young people more worldly than any previous generation of Malaysians.

    After reflecting, I suspect the reason is primarily economic. After college, it is difficult to sustain a living and have the time to contribute meaningfully to an open source project here in Malaysia. There are companies with strong support for open source here, but most companies here see little value in allowing their staff to contribute to open source.

    So let’s flash forward from studying Melbourne in the 80’s to working in Malaysia in the year 2000. At that point in time, my company was planning on developing their next generation web application server, called PHPLens. An application server is a professional software framework which makes it easier for programmers to build high quality software modules.

    We also wanted PHPLens to support as many databases as possible. That was the reason why we decided to open source our database abstraction library. Contributions from the programming community were encouraged so that we could support more databases.

    And as this was the 3rd database abstraction library I had developed in my career, I had some meaningful experience in this area. Other developers liked it and today the library has become very popular world-wide and is in use by thousands of developers.

    I have been working with and supporting the ADOdb abstraction library for over 9 years. I can tell you working on open source is sometimes not fun. You work for hours to implement some feature and then the feedback you get is that it’s not very useful. People will disagree with you. You also get cranky people emailing you in broken English to fix their problems urgently. And if you misunderstand them, it just gets worst. To survive, you need to be passionate about your work, really listen to people (which isn’t easy in an email exchange) and be committed to excellence.

    I would like to show you now a presentation I did on ADOdb a few years ago. [presentation here]

    In closing, I would like to ask how do I think the Malaysian Free & Open Source Software movement can advance further? Actually I think we are doing a good job. I see a lot of local companies have already switched to using Open Office or running Linux, Apache, MySQL, PHP for their web-sites.

    As I mentioned before, the real factors we need to look into are still economic, your take-home pay. What we need is more demand for people with the right skills to support this open source infrastructure, and an ecosystem where the pay is attractive.

    We need to transition from the idea that “free software is cheap” to “free software is cost-effective”. There is dignity in work, and people deserve to be rewarded. Thank you.

    PyPI recent updates

    Updates to the Python Package Index

    27 Jan 2012 20:26:06 GMT nester_nhyda 1.3.1 A simple printer of nested lists

    27 Jan 2012 20:17:40 GMT simplenlp 1.1.1 Simple, multilingual natural language tools.

    PostgreSQL news

    PostgreSQL news

    Wed, 11 Jan 2012 00:00:00 +0000 PGCon 2012 Call for Papers

    PGCon 2012 will be held 17-18 May 2012, in Ottawa at the University of Ottawa. It will be preceded by two days of tutorials on 15-16 May 2012.

    We are now accepting proposals for talks. Proposals can be quite simple. We do not require academic-style papers.

    If you are doing something interesting with PostgreSQL, please submit a proposal. You might be one of the backend hackers or work on a PostgreSQL related project and want to share your know-how with others. You might be developing an interesting system using PostgreSQL as the foundation. Perhaps you migrated from another database to PostgreSQL and would like to share details. These, and other stories are welcome. Both users and developers are encouraged to share their experiences.

    For more information, please see the original announcement.

    Mon, 26 Dec 2011 00:00:00 +0000 DA-SOFT AnyDAC Winter 2012 (v 5.0.5) released

    DA-SOFT Technologies announces the immediate availability of "AnyDAC for Delphi" Winter 2012, v 5.0.5.

    Version Highlights

    • PostgreSQL v 9 support (named parameters, anonymous blocks, enums);
    • major TADTable and Live Data Window mode optimization;
    • Firebird v 3 support (packaged procedures, PSQL functions, identity columns, BOOLEAN data type);
    • Firebird COMPUTED BY support;
    • Interbase v 6, 7 support;
    • Advantage v 8, 9 support;
    • SQL Anywhere v 12 support;
    • SQLite v 3.7.9 support;
    • ElevateDB ODBC support;
    • ReportBuilder DADE; And more. For detailed change log, please, check: http://www.da-soft.com/anydac/anydac-for-delphi-v-5.0.5.2073-released.html

    AnyDAC for Delphi

    AnyDAC is an unique set of Universal Data Access Components for developing applications on Delphi, C++Builder and Free Pascal. With its powerful common architecture AnyDAC enables native high-speed direct access to PostgreSQL, Firebird, SQLite, MySQL, MS SQL Server, Oracle, IBM DB2, SQL Anywhere, MS Access, Informix, Advantage Database and more. For complete list of features and availability, please check:

    • AnyDAC home - http://www.da-soft.com/anydac/
    • AnyDAC shop - http://www.da-soft.com/anydac/order.html
    • AnyDAC trial - http://www.da-soft.com/anydac/download.html

    AnyDAC Core Features

    • Native access to PostgreSQL, Firebird, MySQL, SQL Server, Oracle, SQLite, DB2, InterBase, SQL Anywhere, Informix, Advantage Database and more. Including latest DBMS versions.
    • Generic access to any database supported through dbExpress or ODBC data sources.
    • Optimized for best possible performance. 2 times faster than dbGo, 25% faster than dbExpress.
    • Reach API with 50 Delphi VCL components, including TADConnection, TADTransaction, TADQuery, TADStoredProc, TADTable, TADMemTable.
    • Unified API for cross-database access, including unified data type mapping, SQL dialect abstraction, connection aliases.
    • First-class support for many database-specific features, including backup, restore, validation, SQL scripting.
    • Advanced Data Access Options, including Array DML, Live Data Window mode, full Unicode support.
    • Delphi 5 to Delphi XE2, C++ Builder 5 to C++ Builder XE2, Lazarus / Free Pascal on Win32, Win64, Linux32, Linux64, Mac OS X.
    • Perfect integration as back-end driver for TMS AdvGrid, RemObjects Data Abstract, Fast Report, C4D kbmMW and more.

    AnyDAC Natively Supported Databases

    • Workgroup - PostgreSQL, Firebird, MySQL, SQL Anywhere, Interbase, Advantage DB.
    • Enterprise - Oracle, SQL Server, IBM DB2, Informix.
    • Database in clouds - SQL Azure.
    • Desktop - SQLite, Access, Advantage DB, BlackFish SQL, SQL CE.
    • Embedded - SQLite, Firebird Embedded, MySQL Embedded, Berkeley DB.
    • Bridges - dbExpress, ODBC.

    -- With best regards, DA-SOFT Technologies Team

    Mon, 05 Dec 2011 00:00:00 +0000 PostgreSQL 2011-12-05 Cumulative Bug-Fix Release

    The PostgreSQL Global Development Group today released updates for all active branches of the PostgreSQL object-relational database system, including versions 9.1.2, 9.0.6, 8.4.10, 8.3.17 and 8.2.23. Users of any of the several affected features in this release, including binary replication, should update their PostgreSQL installations as soon as possible.

    This is also the last update for PostgreSQL 8.2, which is now End-Of-Life (EOL). Users of version 8.2 should plan to upgrade their PostgreSQL installations to 8.3 or later within the next couple of months. For more information, see our Release Support Policy.

    The features affected by this update include: binary replication and hot standby, GIN indexes, the citext extension, pg_upgrade, window function aggregate sorting, self-referential foreign keys, PL/perl, and general Extension handling. Users of these features should apply the updates right away.

    This release contains 52 fixes to version 9.1, and a smaller number of fixes to older versions, including:

    • Fix bugs in information_schema.referential_constraints view**
    • Correct collations for citext columns and indexes**
    • Prevent possible crash when joining to a scalar function
    • Prevent transitory data corruption of GIN indexes after a crash
    • Prevent data corruption on TOAST columns when copying data
    • Fix failures during hot standby startup
    • Correct another "variable not found in subplan target list" bug
    • Fix bug with sorting on aggregate expressions in windowing functions
    • Multiple bug fixes for pg_upgrade
    • Change Foreign Key creation order to better support self-referential keys**
    • Multiple bug fixes to CREATE EXTENSION
    • Ensure that function return type and data returned from PL/perl agree
    • Ensure that PL/perl strings are always UTF-8
    • Assorted bug fixes for various Extensions
    • Updates to the time zone database, particularly to CST6

    Changes marked with ** above require additional, post-update steps in order to fix all described issues. See the release notes for each version for a full list of changes with details of the fixes and steps.

    As with other minor releases, users are not required to dump and reload their database or use pg_upgrade in order to apply this update release; you may simply shut down PostgreSQL and update its binaries. Perform post-update steps after the database is restarted.

    Download new versions now:

    Sun, 27 Nov 2011 00:00:00 +0000 www.postgresql.org migrated to new framework

    The code behind www.postgresql.org has been migrated to a new technology framework. The site itself should work exactly as before, but the user experience will be slightly different.

    All the data from the previous website has been migrated over, but some of it requires manual adjustments to look correct. We ask for your patience as we finish this process over the upcoming days.

    For those who regularly submit news and events to the site, you will notice that the process has changed. In this process there are also some manual steps involved to migrate your permissions in the system - so again, we ask for your patience.

    Wed, 09 Nov 2011 00:00:00 +0000 Gazzang now supports Postgres for ezNcrypt

    Gazzang, Inc., the company securing data in the cloud, today announced availability of packaged support for PostgreSQL 8.x and 9.x open source databases in its ezNcrypt flagship data security platform. The release adds Gazzang’s Transparent Data Encryption for PostgreSQL to existing support for MySQL databases, and is now available for download.

    Gazzang ezNcrypt for Databases enables customers to protect, encrypt and provide key management for open source databases using transparent data encryption features traditionally reserved for more expensive, complex commercial databases. The solution installs within minutes, providing out-of-the-box data protection that eliminates the need for costly, complex changes to databases and applications, and leveraging an advanced key management system where the keys are never stored on the same server with the data to be encrypted.

    Read more on the Gazzang Blog

    [logo] Happypenguin

    A database of games and game-related stuff for Linux.

    OpenXcom 0.3 (new) Open-source reimplementation of the original X-Com

    More about OpenXcom

    Hedgewars 0.9.17 (updated) Worms clone

    More about Hedgewars

    xboxdrv 0.8.4 (updated) Userspace XBox/XBox360 Gamepad Driver

    More about xboxdrv

    NASA Breaking News

    A RSS news feed containing the latest NASA news articles and press releases.

    Fri, 27 Jan 2012 00:00:00 EST Texas Students to Speak Live With Space Station Crew Fifth- through eighth-grade students at Asa Low Intermediate School in Mansfield, Texas, will speak with NASA’s Expedition 30 Commander Dan Burbank and Flight Engineer Don Pettit aboard the International Space Station at 11:50 a.m. EST on Tuesday, Jan. 31.

    Fri, 27 Jan 2012 00:00:00 EST Astronaut Jerry Ross, First Seven-Time Flier, Retires Jerry Ross, the first person to launch into space seven times, has retired from NASA. In a career that spanned more than three decades, Ross spent almost 1,400 hours in space and conducted nine spacewalks to rank third on the list of most extravehicular activity time in space.

    [logo] KETAWA.COM

    Jokes Online

    Thu, 26 Jan 2012 15:56:12 -0600 Melelang Burung Beo dengan Harga Mahal Suatu hari seorang pria pergi ke balai lelang untuk sebuah penawaran pada seekor burung beo. Dia terus kalah dalam menawar, jadi dia meneriakkan tawaran yang lebih tinggi dan lebih tinggi dan lebih tinggi. Akhirnya, setelah tawaran menjadi sangat tinggi, dia memenangkan lelang - beo itu akhirnya menjadi miliknya!

    Ketika ia membayar burung beo, ia berkata kepada pimpinan lelang, "Saya sangat berharap burung beo ini dapat berbicara. Aku benci harus membayar banyak untuk ini, hanya untuk mengetahui bahwa dia tidak bisa bicara!"

    "Jangan khawatir," kata pimpinan lelang, "Dia bisa bicara. Menurut Anda, siapa sih yang terus menawar tinggi melawan Anda tadi?" (KETAWA.COM)

    Wed, 25 Jan 2012 16:09:39 -0600 Anjing Pintar Main Poker Dua pemilik anjing itu membual tentang kecerdasan hewan peliharaan mereka. "Anjing tercerdas yang pernah saya miliki," kata salah satu, "adalah Great Dane yang bisa bermain kartu. Dia hebat di poker, namun akhirnya seorang teman mengeluh tentang dia dan saya harus menyingkirkannya."

    "Kau menyingkirkannya? anjing pintar seperti itu?" seru temannya. "Seekor anjing seperti itu akan bernilai jutaan dolar!"

    "Seharusnya sih," jawab pria pertama. "Tapi dia ketahuan bermain curang..." (KETAWA.COM)

    Tue, 24 Jan 2012 16:09:27 -0600 Anjing Menggonggong Tidak Seperti Biasanya Seekor anjing yang biasanya tenang mulai menggonggong setiap malam sekitar pukul 03:00. Kesal dan mengantuk, pemilik anjing menggeledah halaman belakang untuk mengetahui apa yang mungkin mengganggu kedamaian hewan ini.

    Selama tiga hari ia tidak menemukan sesuatu yang salah. Ketika anjing bangun di malam yang keempat pada pukul 3 pagi sambil menggonggong, pemilik akhirnya menyelinap di sekitar rumah melalui gang dan menemukan tetangga melempar kerikil pada si anjing.

    Pemilik bertanya untuk mengetahui apa yang ia lakukan.

    "Ibu mertua saya berkunjung," tetangga sambil malu menjelaskan. "Jika dia sampai terbangun di tengah malam sekali lagi dia mengatakan bahwa dia akan pergi..." (KETAWA.COM)

    Mon, 23 Jan 2012 16:09:17 -0600 Daging Tumbuh di Mulut Anjing Seorang pemilik anjing yang putus asa menelepon dokter hewan memohon untuk segera bertemu. Dia menjelaskan bahwa anjingnya memiliki bengkak besar dekat sudut mulutnya semacam daging yang tumbuh dalam semalam, sehingga si dokter hewan mengatakan kepadanya untuk membawa hewan tadi ke kliniknya.

    Ketika orang itu datang dengan anjingnya, dokter hewan memeriksanya, sedangkan si pemilik anjing berdiri, cemas menunggu pendapat dokter hewan. Akhirnya dokter
    berpaling kepadanya dan bertanya, "Apakah Anda punya anak?"

    "Ya ampun, apakah itu menular?" pria itu terkejut.

    "Tidak," jawab dokter hewan. "Ini permen karet." (KETAWA.COM)

    Sun, 22 Jan 2012 16:07:39 -0600 Menurunkan Anjing Bermata Juling Seorang pria membawa Rottweiler ke dokter hewan. "Anjing saya juling, apakah ada sesuatu yang dapat Anda lakukan untuknya?"

    "Baiklah," kata dokter hewan, "mari kita lihat dia."

    Jadi ia mengangkat anjing itu dan melihat matanya baik-baik saja.

    "Yah," kata dokter hewan, "Aku harus menurunkannya."

    "Kenapa? Karena dia bermata juling??"

    "Tidak, karena dia sangat berat!" (KETAWA.COM)

    [logo] SecuriTeam

    Welcome to the SecuriTeam RSS Feed - sponsored by Beyond Security. Know Your Vulnerabilities! Visit BeyondSecurity.com for your web site, network and code security audit and scanning needs.

    Wed, 25 Jan 2012 00:59 GMT GE Proficy Historian ihDataArchiver.exe Trusted Header Size Code Execution Vulnerability This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of GE Proficy Historian.This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of GE Proficy Historian.

    -

    Make your website safer. Use external penetration testing service. First report ready in one hour!

    Wed, 25 Jan 2012 00:59 GMT HP Data Protector Notebook Extension LogClientHealth SQL Injection Vulnerabilty This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of HP Data Protector Notebook Extension.This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of HP Data Protector Notebook Extension.

    -

    Make your website safer. Use external penetration testing service. First report ready in one hour!

    Wed, 25 Jan 2012 00:54 GMT HP Data Protector Notebook Extension LogCopyOperation SQL Injection Vulnerabilty This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of HP Data Protector Notebook Extension.This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of HP Data Protector Notebook Extension.

    -

    Make your website safer. Use external penetration testing service. First report ready in one hour!

    Monologue

    The voices of Mono

    Thu, 12 Jan 2012 14:07:00 GMT Chris Hardy: Speaking events for 2012 Hello all, It's the start of a new year and what better way to start the year off than to announce a few session that I will be presenting at a few conferences and user groups in the next 6 months, it would be great if you could come along! 1st Feb; Canary...(read more)

    Thu, 12 Jan 2012 11:25:00 GMT Jb Evain: Mono.Linq.Expressions update 2

    This is the second part of an update about Mono.Linq.Expressions, a tiny helper library to complement the System.Linq.Expressions namespace for .net 4 and Mono.

    The first part is about fluent creation of expression trees.

    Combining expression trees together


    I keep reading questions on StackOverflow about this. How to combine two lambda expression together? If we have:

    Expression<Func<User, bool>> isUserOver18 = u => u.Age >= 18;
    Expression<Func<User, bool>> isFemaleUser = u => u.Gender == Gender.Female;
    

    If we want to combine this lambda expression with a ?and? logical expression, the natural way would be to write:

    Expression<Func<User, bool>> isFemaleUserOver18 = u =>
        isUserOver18(u) && isFemaleUser(u);
    

    This works just fine if you compile the expression into a delegate to actually execute this code. But most of the time questions of StackOverflow are about using the resulting lambda expression to create a query for LINQ to a database provider, which will analyze the expression tree and create an according SQL request.

    By combining expression trees this way, the LINQ provider may or may not be unable to turn the two invocations into actual SQL.

    That's one of the reason I wrote about an updated PredicateBuilder. The obvious solution is to inline the two combined representation of lambda expressions into a new lambda expression tree.

    The update of Mono.Linq.Expressions comes with a new type, CombineExtensions, which exposes extension methods that you can use to combine fully created (into lambda expressions) expression trees.

    Using those, combining the two expression trees is as simple as:

    Expression<Func<User, bool>> isFemaleUserOver18 = isUserOver18.Combine(
        isFemaleUser,
        (left, right) => left.AndAlso(right));
    

    And indeed, if you print the code representation of this expression tree, you'll have both lambda bodies inlined into another one:

    user => user.Age >= 18 && user.Gender == Gender.Female
    

    Or if you want to negate the boolean expression:

    Expression<Func<User, bool>> isNotFemaleUserOver18 = isFemaleUserOver18.Combine(
        e => e.Not());
    

    The cool thing about those Combine extension methods is that they're completely generic, they don't work only on simple predicates. For instance, you can use those to chain constructions of mathematical expressions.

    Wed, 11 Jan 2012 16:00:00 GMT Jb Evain: Mono.Linq.Expressions update

    I just tagged the 1.2 version of Mono.Linq.Expressions, and pushed an updated nuget package.

    Mono.Linq.Expressions is a utility library to complement the System.Linq.Expressions namespace, and works with .net 4.0 just as fine as it does with Mono. With a bit over 220 downloads of the nuget package, it's short of roughly 160,400 downloads to be the most downloaded nuget package : a stunning success to put it simply.

    This post is the first of a short series to detail what's awesome and new in this version.

    Extension methods for a fluent construction of expression trees.


    Have you been using the expression tree API to build a representation of code at runtime ? If so you're familiar with the Expression class, and it's load of factory methods.

    You're also familiar with this kind of code:

    var user = Expression.Parameter(typeof (User), "user");
    
    var isFemaleUserOver18 = Expression.Lambda<Func<User, bool>>(
        Expression.AndAlso(
            Expression.GreaterThanOrEqual(
                Expression.Property(user, "Age"),
                Expression.Constant(18)),
            Expression.Equal(
                Expression.Property(user, "Gender"),
                Expression.Constant(Gender.Female))), user);
    

    If you take some time to parse this code, the intent is to create an expression tree similar to the one the compiler would emit if you were to write:

    Expression<Func<User, bool>> isFemaleUserOver18 =
        user => user.Age >= 18 && user.Gender == Gender.Female;
    

    Mono.Linq.Expressions 1.2 contains a code generated series of extension methods to simplify the manual construction of expression trees by fluently chaining the invocations. This allows you to write instead:

    var user = typeof (User).Parameter("user");
    
    var isFemaleUserOver18 = Expression.Lambda<Func<User, bool>>(
        user.Property("Age").GreaterThanOrEqual(18.Constant())
        .AndAlso(
            user.Property("Gender").Equal(Gender.Female.Constant())), user);
    

    Not only is the code shorter, but it's also easier on the eyes, and easier to comprehend. Using this, almost the factory methods calls to the Expression class can be written fluently.

    Planet Eclipse

    Planet Eclipse - http://planeteclipse.org/planet/

    2012-01-27T17:43:46+00:00 Ekkehard Gentz: mobile development – my next sessions + events

    here’s an overview of my upcoming sessions and events and I would be glad to meet you there:

    M-Days – Frankfurt, 2012-02-01: Location Based Services

    At the Mobile Days in Frankfurt I’m talking about Location Based Services. In many of my customer projects I’m using Location Based Services, have integrated Maps, track GPS etc. I’ll talk about good practices, tips and tricks and demonstrate some of my work. You’ll find me at Developer Stage 1 on Wednesday 2012-02-01 at 13:00.

    In the night I’ll also attend the Mobile Media Night ;-)

    At M-Days I’ll first time use my new Camholder from Heiko Behrens (@HBehrens) – will later blog about my experiences with heikos awesome new product.

    BBDevCon Europe – Amsterdam, 2012-02-08: SuperApps

    Only some days later I’ll speak at BlackBerry Developer Conference about developing Super Apps. I’m happy to meet some friends again and looking forward to get the newest informations about BB10 – the future OS for BlackBerry.

    Mobile Developer Conference – HH, 2012-02-15: Push Services

    More and more mobile applications are using Push Services. Unfortunately there’s no common API and so you have to know the differences and what’s possible on the different platforms. I’ll talk about PushServices for Apple, Google, Microsoft and RIM.

    Mobile Tech Con 2012 – Munich 2012 – 2012-03-29: Power Workshop Cascades

    Next MobileTechCon is in Munich – not far from Rosenheim, where I work and live. I’ll present a full-day Power Workshop about the new UI Framework Cascades from RIM. With Cascades you can write great apps in a short timeframe with awesome animations. Designers and Developers can work hand-in-hand: a PlugIn for Photoshop allows you to easy move graphical work and drag it into your QML Editor. Cascades is one of te reasons why I as a developer am sure, that RIM will came back in 2012. Using Cascades you can develop Applications for PlayBook 2.x and also upcoming BB10.

    EclipseCon America 2012 :(

    Unfortunately this time I cannot travel to EclipseCon America, because exactly same week there’s MobileTechCon in Munich.

    But of course I’m developing the BlackBerry Conference App for EclipseCon 2012 and hope that the timing is better next year.

    —————————————————————————————————————————

    (c) 2012 Creative Commons License 3.0 (BY-NC-SA) by  ekkescorner 


    Filed under: Blackberry, EclipseCon, mobile

    2012-01-27T15:57:33+00:00 Birt World: BIRT Runtime Addition As part of the 3.7 release BIRT now uses a BIRT POJO runtime. This change was described in the BIRT 3.7 New and Notable. If you are using a version of BIRT prior to 3.7 be sure to check out the Migration Guide. As part of the 3.7.2 release of BIRT which will be released in a couple of weeks, the team has decided to release a second runtime that uses the OSGi runtime. This new download will function similar to the BIRT runtime prior to BIRT 3.7 and is available on the full downloads page. You can try out the 3.7.2 release candidate version of this download by selecting the release candidate on the recent builds page.

    2012-01-27T04:22:36+00:00 Ian Skerrett: Dev + Ops = Getting Software Deployed Faster (DevOps)

    DevOps is one of those terms you hear a LOT about lately but I am not sure it is really well understood.  However, if you are going to be successful at Agile ALM it would seem natural you would want to bring the operations side of IT closer into the development process.   Puppet is one example of an open source project that is implementing some of the DevOps concepts.

    When we put together the program committee for Agile ALM Connect we specifically wanted an expert from the DevOps community to make sure the program had a healthy devops slant.   Therefore, I was thrilled to have Lukes Kanies, the founder of Puppet and CEO of PuppetLabs, agree to be on the program committee and also speak at Agile ALM Connect on ‘what is devops’ and introduce Puppet.    We will also have Kenn Hussey talk about Geppetto, an Eclipse-based Puppet IDE.

    In my Q&A series with Agile ALM Connect speakers, Luke answered three questions about DevOps.

    1. ‘DevOps’ is a term that is used quite a bit lately.  How do you describe the term DevOps and why should developers care?

    DevOps is in to operations what Agile is to development.  Operations needs to be a competitive advantage, adopting new technology quickly and with minimal business interruption, but in many cases the business goals have been lost and the new focus on policy and compliance has allowed IT to become a cost center.  DevOps is about operations teams working closely with everyone involved in product delivery to make sure that business needs come first.  This often involves a lot of automation, but the main thing is about making sure the customer comes first, just like in agile development.

    Developers should care because organizations following devops practices will do a better job of supporting them, getting their software deployed faster and more easily.

    2. You are the founder of the Puppet open source project.   Why did you start Puppet?
    When I started Puppet, the tools and practices in IT had barely changed in ten years.  I was afraid that it would still not have changed in ten more years, and I saw an opportunity to build a better tool and help make the lives of sysadmins better.   Based on how passionate our user base, we seem to have struck a chord.

    3. What advice do you have for people that want to learn how to use Puppet? 
    First, start small, and fix the most painful things first.  Trying to boil the ocean by automating your whole infrastructure will just frustrate you and have little reward, but if you start by automating the small, menial work in your infrastructure you’ll have quick rewards and, even better, more time available in your day to work on the hard and important stuff.

     


    powered by zFeeder
Search
Advertisement