Jaslabs: High performance Software

High Performance Software

Archive for November, 2006

mysql will now support scheduled events

By Justin Silverton

Mysql 5.1 beta has recently been released.  It is only a beta (and should not be used in a production environment), but it does show us some of the new features that will appear in future, stable, releases:

  • Partitioning: This capability enables distributing portions of individual tables across a filesystem, according to rules which can be set when the table is created. In effect, different portions of a table are stored as separate tables in different locations, but from the user point of view, the partitioned table is still a single table. Syntactically, this implements a number of new extensions to the CREATE TABLE, ALTER TABLE, and EXPLAIN ... SELECT statements. As of MySQL 5.1.6, queries against partitioned tables can take advantage of partition pruning. In some cases, this can result in query execution that is an order of magnitude faster than the same query against a non-partitioned version of the same table.
  •  

  • Row-based replication: Replication capabilities in MySQL originally were based on propagation of SQL statements from master to slave. This is called statement-based replication. As of MySQL 5.1.5, another basis for replication is available. This is called row-based replication. Instead of sending SQL statements to the slave, the master writes events to its binary log that indicate how individual table rows are effected. As of MySQL 5.1.8, a third option is available: mixed. This will use statement-based replication by default, and only switch to row-based replication in particular cases.
  •  

  • Plugin API: MySQL 5.1 adds support for a very flexible plugin API that enables loading and unloading of various components at runtime, without restarting the server. Although the work on this is not finished yet, plugin full-text parsers are a first step in this direction. This allows users to implement their own input filter on the indexed text, enabling full-text search capability on arbitrary data such as PDF files or other document formats. A pre-parser full-text plugin performs the actual parsing and extraction of the text and hands it over to the built-in MySQL full-text search.
  •  

  • Event scheduler: MySQL Events are tasks that run according to a schedule. When you create an event, you are creating a named database object containing one or more SQL statements to be executed at one or more regular intervals, beginning and ending at a specific date and time. Conceptually, this is similar to the idea of the Unix crontab (also known as a “cron job”) or the Windows Task Scheduler.
  • Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
    • Digg
    • del.icio.us
    • DZone
    • Slashdot
    • StumbleUpon
    • Technorati
    No comments

    Top 10 PHP frameworks

    By Justin Silverton

    Below is a list of the top 10 frameworks for PHP:

    10) Mobius

    The Moebius PHP Library is a project that concentrates on building a set of classes that wraps around the built-in php functions. The idea behind the creation of this library is to create an object framework to work on PHP, going from mySQL management to Table manipulation. The site is powered in fact by the moebius library.

    9) Blueshoes

    BlueShoes provides developers with real-world solutions for common system components such as User Management, Session Handling, Closed User Groups, Exception Handling and Logging, Object Persisting as well as Form building and Handling.

    8) Phrame

    Phrame is a web development platform for PHP based on the design of Jakarta Struts. Phrame provides your basic Model-View-Controller architecture, and also takes a step further adding standard components such as: HashMap, ArrayList, Stack, etc…

    7) Fusebox

    Fusebox is the most popular framework for building ColdFusion and PHP web applications. “Fuseboxers” find that the framework releases them from much of the drudgery of writing applications and enables them to focus their efforts on creating great, customer-focused software.

    6) Seagull

    Seagull is an object oriented framework written in PHP that focuses on best practices, clean code and reusable components.

    5) symfony

    Based on the best practices of web development, thoroughly tried on several active websites, symfony aims to speed up the creation and maintenance of web applications, and to replace the repetitive coding tasks by power, control and pleasure.

    4) The Zend Framework

    Now, the world’s most popular web programming language gets even better with an easy to use framework for developing the next generation of web applications.

    3) cakePHP

    Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.

    2) code igniter

    Designed to enable, not overwhelm, Code Igniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications.

    1) prado

    PRADO is a component-based and event-driven programming framework for developing Web applications in PHP 5.

    Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
    • Digg
    • del.icio.us
    • DZone
    • Slashdot
    • StumbleUpon
    • Technorati
    19 comments

    Google shuts down google earth hack

    By Justin Silverton

    The Gaia Project, an open source, 3D interface to google earth has been shutdown.

    Here is the letter that was received on November 25th:

    From: “Michael Jones”
    To: gaia-at-serezhkin-dot-com
    Subject: Writing from Google about Gaia and Google Earth

    Hello,

    I am Michael Jones, the Chief Technologist of Google Earth, Google Maps, and
    Google Local search writing to the author(s) of the Gaia project (
    http://gaia.serezhkin.com/) with an urgent concern. We have now become aware
    of your efforts and are concerned that you may not understand the developing
    global social impact of your engineering creativity.

    The data that we license for Google Earth and Google Maps is made available
    for use under the restriction that it not be accessed or used outside of
    Google’s client software. These products — Earth, Maps, and Mobile Maps –
    each have a data protection mechanism tailored to their environment. They
    also all come with a clearly indicated end user license agreement, known as
    the Terms of Service, which means “these are the conditions under which we
    are providing access to valuable data through our client software for your
    use.” In all three cases, the ToS are very clear that the data services used
    by the client software must never be accessed directly and that the
    encryption, passkey, and other data protection mechanisms must not be
    circumvented.

    We appreciate that you like our software and enjoy the many millions of
    dollars and years of labor that the licensed data represents. Unfortunately,
    your curiosity about the protected server mechanisms ignores the Google
    Earth Terms of Service, the software license agreement that you accepted
    when installing Google Earth, the built-in encryption mechanisms within the
    client/server protocol, the economic rights of a worldwide network of
    providers who license this data to Google, and most of all, the sense of
    fair-play that is the basic relationship between Google and its users
    worldwide.

    The kindness through which Google has made the wonder of our planet
    available to more than 100 million users around the world is now threatened
    – not by a menacing and fierce business competitor — but by you. Please
    hear the seriousness in this statement. I am not an attorney. I am not
    posturing. Just the opposite. We on the engineering team are hopeful that
    despite the risk your actions (break the ToS, reverse engineer parts of the
    data protection mechanisms, publish the fact and code, encourage others)
    pose to our product, team, company, and users, we remain hopeful that this
    was an unintended result of what started as intellectual curiosity by a
    smart engineer like ourselves who has a passion to learn how things work.

    Are we right?

    If so, we really need to have you take down that code and refocus your work
    toward building an open earth viewer that uses open earth images (such as
    from NASA) or licensed earth images from willing providers rather than
    having the basis of your project being the improper use of our images. If
    you understand the gravity of the situation and agree to respect or position
    in this, please let me know quickly (hours rather than days) and on an
    equally responsive time scale please modify your project pages to remove
    anything suggesting or teaching the improper access to our data servers.

    Anxious to hear from you,
    Michael


    Michael T. Jones, Chief Technologist, Google Earth, Maps, Local
    1600 Amphitheatre Parkway, Mountain View, CA 94043
    Email: mtj@google.com  T:(650)253-5222  M:(650)576-7319 F:(650)649-1938
    Explore Google Earth!  Site: earth.google.com  Community: bbs.keyhole.com

    Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
    • Digg
    • del.icio.us
    • DZone
    • Slashdot
    • StumbleUpon
    • Technorati
    3 comments

    Highest paying jobs in the U.S.




    By Justin Silverton

    While looking through the various job sites on the Internet, I found the following list of the highest paying jobs in the U.S. It’s interesting to see how the different types of jobs in the tech industry compare to other industries.

    Top Paying Jobs Overall

  • Physicians and surgeons — $147,000
  • Aircraft pilots — $133,500
  • Chief executives — $116,000
  • Electrical and electronic engineers — $112,000
  • Lawyers and judges — $99,800
  • Dentists — $90,000
  • Pharmacists — $85,500
  • Management analysts — $84,700
  • Computer and information system managers — $83,000
  • Financial analysts, managers and advisors — $84,000
  • Marketing and sales managers — $80,000
  • Education administrators — $80,000
  • Top Paying Jobs That Do Not Require a High School Degree
    These jobs tend to require substantial on-the-job training and work experience rather than formal education and schooling:

  • Industrial production managers — $36,000
  • Bailiffs, correctional officers and jailers — $36,400
  • Drafters — $36,000
  • Construction manager — $33,600
  • Electricians — $31,900
  • Top Paying Jobs for High School Graduates
    These occupations emphasize work experience and on-the-job training rather than formal education:

  • Computer software engineers — $58,900
  • Computer/information systems managers — $56,400
  • Computer programmers — $55,000
  • Network systems and data communications analysts — $49,000
  • General and operations managers — $48,000
  • Database, network and computer systems administrators — $48,000
  • Top Paying Jobs for a Two-Year College Degree
    The following jobs tend to be technical in nature, emphasizing skills developed on the job as well as job-specific training and certifications:

  • Healthcare practitioners — $66,000
  • Business analysts — $58,000
  • Electrical and electronic engineers — $57,000
  • Mechanical engineers — $56,800
  • General and operations managers — $54,000
  • Computer and information systems managers — $50,400
  • Update



    seo test

    Source for this info can be found here

    Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
    • Digg
    • del.icio.us
    • DZone
    • Slashdot
    • StumbleUpon
    • Technorati
    138 comments

    Why the BSD license is better for business

    By Justin Silverton

    The following is an excerpt from the BSD license:

    Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    • Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    Reasons why it is better for business

    Open source, in general (no matter what license is used) can help a non-software based company.  This is for the following reasons:

    • Low cost of ownership.  For the most part, open source is free of charge and has little to no licensing fees.
    • Total source control.  This prevents vendor lock-in from proprietary applications.

    A software-based business falls under a different category.  Utilizing open source can tremendously, but only if a proper license is used.  The BSD license is a great license because it allows the following:

    • ability to mix code with almost any other license type.  Unlike many of the other open source licenses, there is no requirements when mixing with other license types.  This allows for a greater degree of freedom.
    • code is not required to be open source.  As long as you include a copy of the license with all copyright information, you are allowed to release code under the BSD license.
    Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
    • Digg
    • del.icio.us
    • DZone
    • Slashdot
    • StumbleUpon
    • Technorati
    No comments

    Next Page »