Programming News
| LG launches App Store, no one notices or cares It’s for feature phones and smartphones, but surprisingly not
Android phones, and support for Western Europe (UK, Germany, France,
Italy, and Spain) isn’t event coming until next year. America
… where’s that? Quite possibly the best Robots.txt file ever Asimov would be proud. Java and Ruby welded together with Mirah A key Java platform developer is moving forward with an experimental programming language dubbed Mirah, which attempts to meld the niceties of Ruby with the heavy-duty performance of Java. www.topix.net | 7/26/10 3:02 PM Perl creator Larry Wall hints at final Perl 6 release In his annual "State of the Onion" speech at the O'Reilly Open Source Conference , Perl creator Larry Wall hinted that the long-awaited version 6 of the Perl programming language might finally be released soon. www.topix.net | 7/26/10 2:27 PM PEBL 0.11 PEBL is software for creating psychology experiments. PEBL offers a simple programming language tailor-made for creating and conducting simple experiments. www.topix.net | 7/25/10 10:32 PM Google's App Inventor Helps You Visually Create Android Apps I mean the App inventor enables users to drag and drop blocks of code,
which are shown as graphic images and representing different smart phone
capabilities. These blocks are created for just about everything you
wish to do with an Android phone. But we have to wait because Google
labs will be granting access to App Inventor over the coming weeks. Mirah brings Ruby niceties to Java A budding programming language that offers a 'nicer way to write Java code' shares the spotlight at OSCON with the Go and D languages A key Java platform developer is moving forward with an experimental programming language dubbed Mirah, which attempts to meld the niceties of Ruby with the heavy-duty performance of Java. www.topix.net | 7/23/10 2:09 PM Perl creator hints at imminent Perl 6 release July 23, 2010, 06:30 AM - - In his annual "State of the Onion" speech at the O'Reilly Open Source Conference , Perl creator Larry Wall hinted that the long-awaited version 6 of the Perl programming language might finally be released soon. www.topix.net | 7/23/10 12:44 PM Perl Creator Hints at Imminent Perl 6 Release
(PC World) PC World - In his annual "State of the Onion" speech at the
O'Reilly Open Source Conference (OSCON), Perl creator Larry Wall hinted
that the long-awaited version 6 of the Perl programming language might
finally be released soon. He also ruminated about the effect that Perl 6
would have, once it is released.
us.rd.yahoo.com |
7/23/10 11:10 AM
Here Is Why Web Developers Hate IE6 The shortest way to explain why webdesigners can't bear IE6 UNKNOWN IPTables-0.05 5.8.8 on linux 2.6.18-53.el5 From: cpan Subject: UNKNOWN IPTables-0.05 i386-linux-thread-multi 2.6.18-53.el5 Date: 2010-07-18 05:52 This distribution has been tested as part of the CPAN Testers project, supporting the Perl programming language. www.topix.net | 7/19/10 4:36 AM UNKNOWN IPTables-0.05 5.8.8 on linux 2.6.18-53.el5 From: cpan Subject: UNKNOWN IPTables-0.05 i386-linux-thread-multi 2.6.18-53.el5 Date: 2010-07-18 05:52 This distribution has been tested as part of the CPAN Testers project, supporting the Perl programming language. www.topix.net | 7/18/10 11:39 PM Are Professional Mobile Developers In Danger Of Extinction? The mobile market is hot, with Apple’s iPhone and Google’s
Android vying for market share. Each of these markets like to brag about
something they share in common – the apps available on each
platform. The market is so competitive that some of the players aren't
content to attract devs on the strength of their market and available
SDK tools alone. Sun Java Platform, Standard Edition 6u21 The Sun Java Platform, Standard Edition Development Kit contains the essential compiler, tools, runtime libraries, and APIs for developers writing, deploying, and running applets and applications in the Java programming language. www.topix.net | 7/15/10 7:03 PM uTorrent Opens Up Apps, Starts Developer Challenge BitTorrent Inc. released the SDK for uTorrent Apps today, allowing
developers worldwide to code their own Apps for the popular BitTorrent
client. To motivate developers into contributing their creations, the
company has also announced a challenge with a $1000 prize for the best
App to be submitted during the coming month. 'Make it simple, stupid' should be the motto for the mobile Web By Joe Wilcox, Betanews Ian Betteridge is spot on with today's post: "The era of simplified computing." Simpler defines the current PC market. Simplest defines the next computing paradigm -- anytime, anywhere, on anything, for which the cloud-connected mobile device is the major platform. "I've come to see that we're entering a new era of computing, one where the paradigms and expectations of the world of the PC won't give us much guidance," Betteridge writes. "This new era is all about simplified computing, technologies where what's important is the ability to sit down, get something done, and put down the device. Fast, simple, and most of all requiring as little knowledge about the underlying technology." Cloud services have been driving simplicity since the early 2000s. I first started talking about this phenomenon with vendors clients in early 2005, when working as a senior analyst for JupiterResearch. Several convergent factors drove the simplification of connected, cloud user interfaces compared to PC applications. Among them: 1. Web browser limitations, which compelled developers to make much different choices about UI design and the broader UX (user experience). 2. Client-server architecture. Web browsers are more like thin clients when connected to the cloud. The heavy computing is done on the server rather than the local application. 3. Web development tools. For all the talk about Rich Internet Applications, many Websites rely on HTML, cascading stylesheets and plugins. These three factors, among others, led to simpler cloud service user interfaces (as presented in the Web browser) compared to PC apps during the Noughties. Adobe Flash is perhaps the greatest culprit sucking simplicity from Website design and broader cloud service UX. Websites using Flash add the kind of bloat and complexity more typical of PC applications. The best reason for moving away from Flash is the one I don't recall Apple CEO Steve Jobs making in his attack on the programming language/toolset: Complexity. HTML5 promises to extend browser-based applications capabilities without dramatically increasing complexity. From the perspective of simplicity, HTML5 -- at least as the spec matures -- looks better than does Flash. I'm not familiar enough with Adobe Air to make similar assertion. In May 2004, I first blogged about my four principles of successful tech products. I later added two more principles. According to the revised list, successful products should:
Emphasizing simplicity and hiding complexity are the most important of the six criteria for the next computing era. Google search is one of the best examples of the simplicity paradigm. Google hides most of the search complexity from the user -- on the server and through its algorithm(s). The user simply types text into a box. There are plenty of other examples, such as blog services Posterous or Tumblr. Posterous makes blogging as easy as sending and e-mail. Tumblr offers a simple, yet powerful blogging interface/platform, with posts defined into seven meaningful content types. However, many Websites and cloud services are more complex today than five years ago, and Flash is but one reason. Some sites overdue AJAX and other tools in their quest to mimic desktop applications. Sometimes developers go too far. For example, Flickr is currently rolling out a new user interface that I consider to be a design disaster. The new Flickr is more cluttered and tasks that were previously easily exposed as links are now tucked into submenus. But the mobile Web demands greater simplicity, because of:
As I explained in April, Apple and Google approach the mobile Web from two different worldviews. I wrote: "Apple's worldview is more applications-centric while Google's is more Web-centric. Apple wants to pull computational and informational relevance to applications, while Google seeks to shift relevance to the Web." Betteridge presents an astute view of Apple's and Google's different worldviews about simplified computing: Google's approach to this is to 'put it in the cloud.' The only thing you need to do is be able to run a web browser, and the ultimate expression of that is ChromeOS, where there is very little the hardware does except run a web browser. The two worldviews share one thing in common: Simplicity. My simple prediction: Platforms that strip away complexity are the most likely to succeed as the new computing paradigm evolves. Copyright Betanews, Inc. 2010 Java supplants IT security as most sought-after tech skill Microsoft skills also in high demand, Dice.com survey finds Lispjobs: LISP Programmer with C++ (Cambridge, MA) This is a software development position where the candidate will be responsible for helping add new platforms to an existing internal program. This person will be working with a piler program and must have experience with the programming language LISP. lispjobs.wordpress.com |
7/7/10 10:14 PM
Relax, Java is still #1 Submitted by Josh Fruhlinger on Tue, 07/06/2010 - 07:29. Tags: future of Java If you've been bummed out by all the negative stuff I've been saying about Java and its future lately, here's one bit of news that might cheer you up just a smidge: Java is still the number one most popular programming language , according to the most recent TIOBE survey. www.topix.net | 7/6/10 2:44 PM Vladimir Sedach: Lisp and JS events Heads-up on some upcoming Lisp and JavaScript events: Tuesday July 13, the Montréal JavaScript User Group is having a meet-up. James Duncan of Joyent will talk about why software sucks and JavaScript is the end of programming language history. Laurent Villeneuve will demonstrate idiomatic use of closures. The 2010 Workshop on Scheme and Functional Programming is taking place at the University of Montreal August 21-22. ILC 2010 will be taking place October 19-21 in Reno, Nevada. Abstracts are due by August 1. I'm not planning on attending. carcaddar.blogspot.com | 7/5/10 10:06 PM Log Buffer #193 ? A Carnival of The Vanities for DBAs Welcome to Log Buffer, the weekly roundup of DBA industry happenings.
Read on for the latest updates in Log Buffer #193. Don’t forget,
we’re always looking for volunteer editors to publish and host an
issue of Log Buffer. If you’d like this to be you, contact the
Log Buffer coordinator. ODTUG/Kaleidoscope 2010 roundup: Sheeri Cabral
has posted slides and a summary of the first ever MySQL track at
ODTUG/Kaleidoscope, citing a successful event. Tim Hall, on Oracle-Base
blog gives a daily report on the event summarizing his take on day 1
& 2, 3, 4, and 5. Following the ODTUG/Kaleidoscope Oracle ACE
Director’s briefing Alex Gorbachev continues the conversation on
best practices with a blog post and encourages you to add your comments.
Marc Fielding, of Pythian’s consulting group suggests the
following reads this week: Pinal Dave who tries to clear up confustion
and misconceptions about Statistics on SQL Blog Authority. SQL Master
noting a SQL Server 2008 Security gotcha, from a discussion he has on
sql server security during interactions with the SASSUG user group. On
SQL Aloha, a post from Brad McGhee, who poses the question: Does your
company have a SQL server DR plan? A quick poll he conducted provides
scary results and he offers a list of resources for DBAs without a
complete and tested DR plan in place. Sramana Mitra, who writes about
Oracle’s next move: data security, now that the Sun acquisition is
complete. OracleNerd outlining strategies for how to receive free passes
to Oracle OpenWorld 2010. Peter Finnigan talking about database
forensics on his Oracle security blog, and the release of a new redo log
mining tool to extract DDL from redo logs. In other news, Willie Favero
gives readers a heads up that the DB2 Catalog and directory are about to
go through some major changes. Guiseppe Maxia, The Data Charmer, learns
a new programming language as he tries to integrate MySQL Sandbox and
Cluster. Dave Page on his Postgres blog, highlights what SQL injection
attacks are and how DBAs can avoid them after another malicious attack
targeting websites running Microsoft Internet Information Server (IIS).
Happy Canada Day for those north of the border, and for our friends to
the south, Happy Independence Day and enjoy a great 4th of July weekend.
www.pythian.com |
7/2/10 10:17 PM
Fran�ois-Ren� Rideau: Boston Lisp Meeting: Monday 2010-07-26 Slava Pestov on Factor (factorcode.org) A Boston Lisp Meeting will take place on Monday, July 26th 2010 at 1800 at MIT 34-401B. Slava Pestov will speak about Factor: an interactive, dynamic, stack-based programming language. Additionally, we will have two Lightning Talks. Speakers to be announced. Note that lacking a sponsor, buffet is no longer being offered after our meetings.
Factor is a new dynamically-typed language. http://factorcode.org/ Factor's strengths include an extensive standard library, an interactive development environment, extensive meta-programming features, efficient support for operations on packed binary data, and interoperability with C. The presentation will cover the Factor language and environment, demonstrate some interesting features, and touch upon the history and motivations behind the project. Slava Pestov started programming in elementary school using HyperCard, then moved on to Java. After getting a lot of useful work done in Java, he then moved on to study esoteric programming languages, and like any self-respecting language enthusiast, noticed that all existing ones were lacking and decided to write his own.
At every meeting, before the main talk, there are two slots for strictly timed 5-minute "Lightning Talks" each followed by 2 minutes for questions and answers. The slots for next meeting are still open. Step up and come talk about your pet project! Contact me at fare at tunes.org.
The Lisp Meeting will take place on Monday, July 26th 2010 at 1800 (6pm) at MIT 34-401B. Note that it's a new location. MIT map: http://whereis.mit.edu/bin/map?selection=34 Google map: http://maps.google.com/maps?q=50+Vassar+St,+Cambridge,+MA+02139,+USA Many thanks go to Alexey Radul for arranging for the room, and to MIT for welcoming us.
We haven't been able to renew sponsorship from our usual partners for 2010, and are not planning to have after-meeting buffet anymore at this point. An informal group will probably gather to have dinner within walking distance of the venue.
The previous Boston Lisp Meeting on Monday, May 24th 2010 had about 26 participants. Marc Battyani spoke about Leveraging Common Lisp and FPGAs for ultra high performance computing. http://fare.livejournal.com/156739.html We're always looking for more speakers. The call for speakers and all the other details are at: http://fare.livejournal.com/120393.html Volunteers to give Lightning Talks are also sought. http://fare.livejournal.com/143723.html For more information, see our web site http://boston-lisp.org/ For posts related to the Boston Lisp meetings in general, follow this link: http://fare.livejournal.com/tag/boston-lisp-meeting or subscribe to our RSS feed: http://fare.livejournal.com/data/rss?tag=boston-lisp-meeting Please forward this information to people you think would be interested. Please accept my apologies for your receiving this message multiple times. My apologies if this announce gets posted to a list where it shouldn't, or fails to get posted to a list where it should. Feedback welcome by private email reply to fare at tunes.org. fare.livejournal.com | 7/1/10 11:09 PM Planet Eclipse: Andrew Eisenberg: Vancouver Eclipse Demo Camp 2010 Last night, 31 Eclipse developers from the Vancouver, BC area met up,
listened to a few great talks, went for some beers, and had a great
time. We had 8 speakers who surprisingly all stayed within their
allotted time of 8 minutes (maybe it was a threat of a nerf gun that did
it...I don't know). The pace was brisk and we heard lots of good things
from lots of great developers from around Vancouver. This year's Demo camp was sponsored by the Eclipse Foundation , SpringSource (a division of VMWare ), and TaskTop . Mik Kersten, Tasktop, Welcome and Eclipse Ecosystem OverviewMik Kersten started the evening off with a brief introduction to some new features in the new Helios release. In addition to modernizing SWT to integrate better with Windows 7, and new Mylyn connectors, the most interesting new feature he described was the Eclipse Market Place. In the past, finding new content to install into your Eclipse installation required users to go to an external browser, find a link to an update site, and copy it into your update manager. Now, all this can be done transparently through the market place client from within Eclipse. Kris De Volder, SpringSource, AspectJ and AJDTNext up was Kris De Volder, a new colleague of mine that we snatched from the Computer Science Department at the University of British Columbia (UBC ). He demoed some of his new work on AJDT, specifically the new Pull-Out refactoring that allows users to pull-out fields and methods from classes and convert them into intertype declarations. This will be available in the upcoming 2.1.0 release of AJDT. He also demoed the Push-In refactoring, the converse of Pull-Out, which takes existing intertype declarations and pushes them into their target types. This is work that I did a short while ago and is described here . Emerson Murphy-Hill, UBC, How Are People Using Eclipse?Emerson showcased some of his research at UBC on how Eclipse is being used, or not used by developers. Some of the most surprising results of his research, in my opinion, are how little all of the various refactorings are used inside of Eclipse. And how the ones that are popular are not the ones that I personally use. My personal favorites are rename (field, method, type, etc), extract (local, constant, and method), and convert local variable to field. Apparently, not many people use the last one. But (oddly, in my opinion), inline method seems to be quite popular---something I've never used. David Dossot, MuleSoft, MuleSoft Tool SuiteDavid gave a brief tour of MuleIDE, which provides tool support for creating and managing your MuleSoft projects in Eclipse. David used MuleIDE to access road work data from the city of Vancouver and built a simple application to determine how many kilometers of roadwork are currently underway in Vancouver. Not bad for 8 minutes! Alex Bradley, UBC, Source Code History at Your FingertipsDo you use the "Show annotations" feature of CVS or SVN? I actually didn't know about this. Using "Show anotations" will add gutter markers on lines changed by recent commits to the source repository. Hovering over the annotations will provide extra information. Alex showed his enhancements to the Java editor, which converted these annotations into semi-transparent overlays that co-exist with the source code. This is work that Alex has done for his master's thesis at UBC. I liked how his enhancements made version changes more explicit in the editor. Nieraj Sing, SpringSource, Groovy language and Grails Support in the SpringSource Tool SuiteNieraj is another new colleague of mine at SpringSource. He's a summer student from the University of Victoria. Nieraj showed his recent enhancements of Grails support in the SpringSource Tool Suite. He showed the Grails explorer view, which allows developers to view their Grails projects organized in a way that emphasizes artifacts and structure specific to Grails projects. He also showed his work on the Grails Plugin Manager, which allows developers to view, install, update, and uninstall Grails plugins into their projects. Luke Evans, IndiceeLuke introduced the CAL programming language , a lazy-functional language developed by him and others when he worked at Business Objects (now SAP). He showed how programmers can use CAL to quickly and easily compose functions to manipulate streams of data in complex ways. It is this language that forms the core of the business reporting tool produced by his company, Indicee . Bjorn Gustafsson, ProjectKoachFinally, Bjorn showed ProjectKoach, an RCP application that brings agile planning into Eclipse. He showed how you can create sprints, manage tasks, integrate with version control, and integrate with bug trackers through Mylyn. contraptionsforprogramming.blogspot.com | 7/1/10 5:55 AM MySQL Sandbox embraces Python and meets Cluster If you have tried Quick start guides: MySQL cluster in 10 minutes, you
may have realized that it is really quick and easy.However, it leaves
some typing to be done.Users of MySQL Sandbox have a horror of
repetitive typing, and this got me thinking. "Could I integrate
MySQL Sandbox and Cluster?"The answer was: "Sure."But
then I started thinking of all the minor and major changes that I wanted
to do to the Sandbox and have delayed for too long. What I need, is a
radical refactoring. And then I remembered that it has been almost two
years since I learned a new programming language and that perhaps I
could expand my horizons and the Sandbox architecture at once. Thus,
thanks to an irresistible offer from O'reilly about ebooks, last week I
bought both Learning Python, fourth edition and Programming Python,
Third edition. During the week end I produced my first tool: a Python
script that installs and starts a small cluster, following the
instructions given in the MySQL Cluster quick start guides. The script
unpacks the cluster tarball, installs a server sandbox from it, then
starts the cluster nodes and the MySQL server, and then it monitors the
cluster until all the nodes are connected before finally testing the
server.Here is a sample run:$ make_cluster.py
~/Downloads/mysql-cluster-gpl-7.1.4b-osx10.6-x86_64.tar.gz++ tar -xzf
~/Downloads/mysql-cluster-gpl-7.1.4b-osx10.6-x86_64.tar.gz++
low_level_make_sandbox
--basedir=$HOME/python/mysql-cluster-gpl-7.1.4b-osx10.6-x86_64
--sandbox_directory=mcluster --install_version=5.1 --sandbox_port=5144
--no_ver_after_name --no_run --force --my_clause=log-error=msandbox.err
--my_clause=ndbcluster The MySQL Sandbox, version 3.0.12 (C)
2006-2010 Giuseppe Maxiainstalling with the following
parameters:upper_directory =
$HOME/sandboxessandbox_directory = mclustersandbox_port
= 5144check_port = no_check_port =
datadir_from = scriptinstall_version =
5.1basedir =
$HOME/python/mysql-cluster-gpl-7.1.4b-osx10.6-x86_64tmpdir
= my_file = operating_system_user =
gmaxdb_user = msandboxdb_password
= msandboxmy_clause = log-error=msandbox.err ;
ndbclusterprompt_prefix = mysqlprompt_body
= [\h] {\u} (\d) > force =
1no_ver_after_name = 1verbose =
load_grants = 1no_load_grants =
no_run = 1no_show =
loading grants.. sandbox server startedstopping serverYour sandbox
server was installed in $HOME/sandboxes/mcluster++
mysql-cluster-gpl-7.1.4b-osx10.6-x86_64/bin/ndb_mgmd -f
$HOME/sandboxes/mcluster/my_cluster/conf/config.ini --initial
--configdir=$HOME/sandboxes/mcluster/my_cluster/conf/2010-06-28 21:29:57
[MgmtSrvr] INFO -- NDB Cluster Management Server. mysql-5.1.44
ndb-7.1.4b2010-06-28 21:29:57 [MgmtSrvr] INFO -- Reading cluster
configuration from
'$HOME/sandboxes/mcluster/my_cluster/conf/config.ini'++
mysql-cluster-gpl-7.1.4b-osx10.6-x86_64/bin/ndbd -c
localhost:11862010-06-28 21:29:57 [ndbd] INFO -- Configuration
fetched from 'localhost:1186', generation: 1++
mysql-cluster-gpl-7.1.4b-osx10.6-x86_64/bin/ndbd -c
localhost:11862010-06-28 21:29:57 [ndbd] INFO -- Configuration
fetched from 'localhost:1186', generation: 1++
mysql-cluster-gpl-7.1.4b-osx10.6-x86_64/bin/ndb_mgm -e showConnected to
Management Server at: localhost:1186Cluster
Configuration---------------------[ndbd(NDB)] 2 node(s)id=3 (not
connected, accepting connect from localhost)id=4 (not connected,
accepting connect from localhost)[ndb_mgmd(MGM)] 1 node(s)id=1
@localhost (mysql-5.1.44 ndb-7.1.4)[mysqld(API)] 1 node(s)id=50 (not
connected, accepting connect from any host)++
$HOME/sandboxes/mcluster/clear++ $HOME/sandboxes/mcluster/start...
sandbox server startedPlease wait. Giving the cluster time to catch
upConnected to Management Server at: localhost:1186Cluster
Configuration---------------------[ndbd(NDB)] 2 node(s)id=3 @127.0.0.1
(mysql-5.1.44 ndb-7.1.4, starting, Nodegroup: 0, Master)id=4 @127.0.0.1
(mysql-5.1.44 ndb-7.1.4, starting, Nodegroup: 0)[ndb_mgmd(MGM)] 1
node(s)id=1 @localhost (mysql-5.1.44 ndb-7.1.4)[mysqld(API)] 1
node(s)id=50 (not connected, accepting connect from any host)It may take
up to 2 minutes to initialize ... ( 0 )Connected to Management Server
at: localhost:1186Cluster Configuration---------------------[ndbd(NDB)]
2 node(s)id=3 @127.0.0.1 (mysql-5.1.44 ndb-7.1.4, starting, Nodegroup:
0, Master)id=4 @127.0.0.1 (mysql-5.1.44 ndb-7.1.4, starting, Nodegroup:
0)[ndb_mgmd(MGM)] 1 node(s)id=1 @localhost (mysql-5.1.44
ndb-7.1.4)[mysqld(API)] 1 node(s)id=50 (not connected, accepting connect
from any host)It may take up to 2 minutes to initialize ... ( 5
)Connected to Management Server at: localhost:1186Cluster
Configuration---------------------[ndbd(NDB)] 2 node(s)id=3 @127.0.0.1
(mysql-5.1.44 ndb-7.1.4, starting, Nodegroup: 0, Master)id=4 @127.0.0.1
(mysql-5.1.44 ndb-7.1.4, starting, Nodegroup: 0)[ndb_mgmd(MGM)] 1
node(s)id=1 @localhost (mysql-5.1.44 ndb-7.1.4)[mysqld(API)] 1
node(s)id=50 (not connected, accepting connect from any host)[...]It may
take up to 2 minutes to initialize ... ( 100 )Connected to Management
Server at: localhost:1186Cluster
Configuration---------------------[ndbd(NDB)] 2 node(s)id=3 @127.0.0.1
(mysql-5.1.44 ndb-7.1.4, Nodegroup: 0, Master)id=4 @127.0.0.1
(mysql-5.1.44 ndb-7.1.4, Nodegroup: 0)[ndb_mgmd(MGM)] 1 node(s)id=1
@127.0.0.1 (mysql-5.1.44 ndb-7.1.4)[mysqld(API)] 1 node(s)id=50
@127.0.0.1 (mysql-5.1.44 ndb-7.1.4)++ $HOME/sandboxes/mcluster/use -vvv
-e "create table test.t1(i int not null primary
key)engine=ndb"--------------create table test.t1(i int not null
primary key)engine=ndb--------------Query OK, 0 rows affected (0.45
sec)++ $HOME/sandboxes/mcluster/use -vvv -e "show create table
test.t1\G"--------------show create table
test.t1--------------*************************** 1. row
*************************** Table: t1Create Table: CREATE TABLE
`t1` ( `i` int(11) NOT NULL, PRIMARY KEY (`i`)) ENGINE=ndbcluster
DEFAULT CHARSET=latin11 row in set (0.00 sec)to shut down the cluster,
type:$HOME/python/mysql-cluster-gpl-7.1.4b-osx10.6-x86_64/bin/ndb_mgm -e
shutdownIt works! Ans this is a good start to make me feel confident
with Python, which I will use to develop MySQL Sandbox version 4. This
cluster snippet will probably be made from scratch once the new
architecture is in place. For now, it was enough to get the feeling of
the language.
datacharmer.blogspot.com |
6/28/10 9:34 PM
I Got 99 Problems, but Developing Ain't One [110 Resources] In the words of the rapper/entrepreneur and occasional developer Jay-Z,
"If you got developing problems I feel bad for you son...." A
Web developer's life is hard enough without having to go on the hunt for
good developing resources. After using these resources, you may still
have 99 problems, but developing ain't gonna be one of them. Mozilla likes HTML5 over Flash The developer of the Firefox browser joins the likes of Apple and
Microsoft in the argument over the next stage in web standards. Is HTML5
the way of the future? ActiveState bolsters Python with financial and scientific capabilities ActiveState this week added open source packages for financial and scientific computing to its ActivePython distribution of the Python programming language . www.topix.net | 6/26/10 11:32 AM How HTML5 will change the Web HTML5 will change many aspects of life on the Web. It will not displace
Flash or Shockwave: One glance at the games on Miniclip.com, such as Jet
Ski Racer, shows how much ground the HTML5 committee must cover. But
HTML5 will still remake the Web and enable basic Websites to do much
more -- from tracking location to storing more of our data. Apple's iPhone 4 and iOS 4 Face a Changing Market When Apple released its updated iOS 4 software for the iPhone 3G, iPhone
3GS, and iPhone 4 this week, many industry observers responded
positively to new features such as multitasking and handset
compatibility with Bluetooth-enabled keyboards. However, developers and
consumers alike will need to keep in mind that the new platform powering
Apple's smartphones also has limitations, analysts said. The "most disappointing" aspect of iOS 4 for developers and consumers is that it still lacks a Flash-compatible multimedia capability, noted Al Hilwa, director of applications development software at IDC. And Apple's restrictions on apps not based on the company's software tools -- whether ported from Java, Flash, .NET or another programming language -- is a major disappointment for developers hoping to leverage their skills onto the growing iOS platform, Hilwa observed. "It is also a bit scary in that it bodes poorly for an open Internet down the road," Hilwa said. Imagine the impact "when these devices rule the world with too many of them running" Apple CEO Steve Jobs' "vision of what the Internet should be." Welcome Improvements Hilwa did single out iOS 4's multitasking capabilities for praise. "The improved multitasking -- especially with respect to location enablement -- will be the most noticeable improvement that pervades a whole bunch of apps and usage scenarios," Hilwa said. According to iSuppli, Apple's iPhone is the most successful location-based services (LBS) platform so far with more than 6,000 LBS apps available. "Furthermore, the iPhone's dominance is primarily in the aftermarket downloadable navigation application market," noted iSuppli analyst Danny Kim. On the other hand, multitasking enhancements -- including those for use with LBS -- will only run on Apple's iPhone 4 and iPhone 3GS. Moreover, handset users who upgrade to take advantage of these improvements will need to acquire new iOS 4-compatible apps. Apple's... www.cio-today.com | 6/23/10 8:41 PM "Alternate methods for finding problem query.": chapter 5 of "Methods for searching errors in SQL application" just published Translation of chapter 5 which describes alternate methods for searching
problem query just published. It starts like: Chapter 5. Alternate
methods for finding problem query. I already wrote about using of
general query log requires resources. Part of the problem can be solved
if use new feature of MySQL 5.1: online logging which allows to turn
general query log to on or to off without stopping the MySQL server.
Unfortunately this doesn't always work: you can have old version of
MySQL server which has not such a feature, general query log can contain
very large amount of information, so you can just miss the problem in
thousands of correct queries, you can have some other own reason.
But what to do if you can not use general query log? One of the
methods is write log files using your application. Add a code which will
write queries which your application sends to MySQL to the log file.
With this method you can tune how and what to write to the log file.
Would be good if you will write return value and error messages in the
same log file. Method #9: tune your application in such a way so it
will write queries to log files itself. Yet another method is using
proxy which will get queries and write them to the file. One of most
preffered variants is MySQL Proxy, because this is scriptable proxy made
for working with MySQL server. It uses MySQL client-server protocol. You
can write programs for MySQL Proxy using Lua programming language.
Below you can see example how to write general query log using MySQL
Proxy: ... Rest of the chapter is here
blogs.sun.com |
6/23/10 10:37 AM
Planet Eclipse: Ian Bull: Top 10 Eclipse Helios Features Two weeks ago I asked you to think about high quality software that has been consistently delivered on-time. Think about software that is used by millions of people world-wide, built by hundreds of developers, free to use and open to everybody and anybody. Think about software that spans domains, runs on the smallest of devices and powers the worlds largest enterprises. Any ideas? Yes I’m talking about Eclipse, and the next release — Helios — will be publicly available today. While everyone seems to enjoy kicking off new software projects, specifying requirements and designing the perfect system, only to have it fizzle out — Eclipse is Different. Eclipse Delivers. For the past 2 weeks I’ve been counting down the Top 10 Features of Helios that I’m most excited about: 10. Resource
Improvements And my number 1 feature of the Helios release is: Xtext, Version 1.0. For those of you who haven’t heard of Xtext, Xtext is a programming language framework. Xtext bridges the gap between grammars, models and programming language tool support. Using Xtext you can create a powerful environment for your own DSL (domain specific language) or full fledged general purpose programming language. There are a number of important features that make this such a powerful toolkit, including generated editors that support code folding: styled content providers: quick fix support: quick outline view, and more: There is also a number of tools to help you create Xtext grammars such as Grammar Content Assist: Xtext also supports project builders and can even derive a grammar from an Ecore model. I’ve been following Xtext for close to 4 years now (from its origins at openArchitectureWare and through the Textual Model Framework proposal), and it’s great to see this excellent tool declare its 1.0 release. Xtext also received much deserved praise for its outstanding website, large collection of gettingstartedmaterial and they even won the Eclipse Community Award for most Innovative Eclipse Project at EclipseCon this year. Great work Michael Clay, Sven Efftinge, Moritz Eysholdt, Dennis Huebner, Jan Koehnlein, Sebastian Zarnekow, Heiko Behrens, Peter Friese and Knut Wannheden. Throughout this series I’ve tried to cover a variety of different Eclipse projects, but this list is far from complete. Please feel free to leave a comment with your favourite Eclipse Helios feature. Or better yet, why not write an article about it? eclipsesource.com | 6/23/10 7:11 AM Does the world need another programming language? In this Q&A, Google principal engineer Rob Pike discusses
development of Go, a new programming language. He also looks at the
current state of programming languages and explains why we're in the
midst of a language "renaissance."
feedproxy.google.com |
6/22/10 2:00 PM
Why Johnny Can't Code "For three years [my] son Ben, and I have engaged in a quixotic but
determined quest: We've searched for a simple and straightforward way to
get the introductory programming language BASIC to run on either my Mac
or my PC. Why on Earth would we want to do that, in an era of glossy
animation-rendering engines, game-design ogres and sophisticated avatar
worlds? Because if you want to give young students a grounding in how
computers actually work, there's still nothing better than a little
experience at line-by-line programming." Looking beyond the
immediate fear-inducing acronym BASIC, this article delves deeply into
what it means to simply be in control--via a basic understanding of
under the hood--of your own computer, and how our whiz-bang world of
technology today is failing to bestow this understanding on this
generation of would-be hackers.
osnews.com |
6/21/10 8:49 PM
Lispjobs: LISP Programmer with C++ (Cambridge, MA) This is a software development position where the candidate will be responsible for helping add new platforms to an existing internal program. This person will be working with a piler program and must have experience with the programming language LISP. lispjobs.wordpress.com |
6/18/10 5:54 PM
Ibm Egl business language moves to open source The project aims to develop and evolve a set of Eclipse-based tools for EGL in an effort to boost backing for the business app programming language IBM unveiled plans this month for an open source Eclipse project based on the company's EGL business application programming language, in an effort to boost backing for EGL. www.topix.net | 6/18/10 12:02 AM cdent 0.5.7 C'Dent is a programming language that: Is primarily intended to write portable OO modules. www.topix.net | 6/15/10 5:36 AM cdent 0.5.6 C'Dent is a programming language that: Is primarily intended to write portable OO modules. www.topix.net | 6/11/10 9:23 AM text-hr 0.13 "text-hr" is Morphological/Inflection Engine for Croatian language written in Python programming language. www.topix.net | 6/11/10 2:55 AM Google Adds A Background Image To Its Homepage By Default few days ago Google got slightly more Bing-ified when it started
allowing users to customize their backgrounds (Bing has featured a
rotating photo as its background since it launched). Today, Google is
taking that a step further: it’s now featuring a background image
by default on its homepage, even for users who haven’t activated
the new feature. 15 Genius Algorithms That Aren't Boring A look at the world of algorithms designed to prevent Denial of Service
attacks, jam electronic signals, monitor your behavior and tell you how
bad your gout is. There Are No Famous Programmers No matter how much code I put out, I still have to solve stupid puzzles
about coconuts and manholes. No matter how many web servers or email
frameworks or database servers or chat servers or assemblers I write I
still have to prove I can code. No matter how many copies of my software
get deployed I still have to prove I can make reliable software. "Hackers" at 25 Steven Levy wrote a book in the mid-1980s that introduced the term
"hacker" -- the positive connotation -- to a wide audience. In
the ensuing 25 years, that word and its accompanying community have gone
through tremendous change. The book itself became a mainstay in tech
libraries. O'Reilly recently released an updated 25th anniversary
edition. WTF is HTML5? (Infographic) HTML5 is the next major revision of HTML and will be used for many new
functions that will benefit web developers and Internet users alike. UNKNOWN IPTables-0.05 5.8.9 on linux 2.6.28-11-generic From: cpan.dcollins.smoker2 Subject: UNKNOWN IPTables-0.05 i686-linux-thread-multi 2.6.28-11-generic Date: 2009-07-02 00:42 This distribution has been tested as part of the CPAN Testers project, supporting the Perl programming language. www.topix.net | 6/5/10 3:37 PM UNKNOWN IPTables-0.05 5.6.2 on linux 2.6.5-7.315-s390 From: cpan Subject: UNKNOWN IPTables-0.05 s390-linux-thread-multi 2.6.5-7.315-s390 Date: 2009-11-01 16:27 This distribution has been tested as part of the CPAN Testers project, supporting the Perl programming language. www.topix.net | 6/5/10 3:37 PM Sudoku Solver 1.0 Sudoku Solver is a free ad easy to use Sudoku puzzle player and solver written in the Java programming language. www.topix.net | 6/5/10 12:38 AM Mashup: Google Search with Bing Wallpaper Background In their quest to make their search engine sexier and more appealing to
the fickle masses, Google's now begun to let users add a background
image of their choosing to the main search landing page. Is this cool?
Yes. Is it copying Bing? It's your call! The Server Side: Everyone is Talking About Selenium - Here's How to Get Started Selenium is an open source, robust set of tools that supports rapid
development of test automation for web-based applications. his tool is
primarily developed in Java Script and browser technologies and hence
supports all the major browsers on all the platforms. In this post, we
will talk about various Selenium components like Selenium IDE , Selenium
Core and Selenium RC and most important how to use selenium Planet Eclipse: Sven Efftinge: 5 Good Reasons To Watch Our Xtext Webinar Next Tuesday (June 8th) there will be an
interactive webinar
on Xtext at Eclipse
Live. Here are the best 5 reasons for you to show up: Reason I : You want to learn how easy Domain-Specific
Language (DSL) development can be People state that developing external DSLs is much more complicated than internal DSLs. With Xtext the opposite is the case. Xtext itself provides a concise language to describe DSLs, so that it takes only minutes to create a first draft of your language. You don't have to deal with complex meta programming or multiple syntax alternatives as you do in internal DSL development. With Xtext your language definition is concise and declarative and you get language specific IDE support. Reason II: You want to see the new Helios features in action In the Helios release Xtext graduated to version 1.0. It has grown up from a tiny little editor generator to a mature language development framework. Still simple things are simple, but you now get much more out of the box. Features like namespace-based scoping, a workspace index, a builder infrastructure, validation and linking against dirty editor state, quick fixes, linking to any Java elements and tight integration with JDT, enhanced serialization and formatting support and much more. Reason III: You'ld like to see how "Modeling 2.0"
looks like The days of heavy weight, dogmatic modeling approaches are over. In 2010 Modeling technology is mature and a pragmatic solution to many problems. Xtext and EMF are a dream team! Models are now also code and integrate seamless with common development environments such as version control. Reason IV: You need a decent IDE for a particular programming language It's astounding how many programming languages are used in the different industries. There are so many languages I'm sure you haven't heard of. Most of them have one thing in common: They lack decent tool support. I'm not talking about syntax coloring for Vim, but something close to what modern Java IDEs offer. We at itemis have already successfully implemented a couple of IDEs for various programming languages. We will show something in the webinar. Reason V: The webinar is free and interactive As usual with Eclipse Live webinars, the event is free of charge and the integrated chat application allows us to communicate. The Xtext committers will attend and be happy to answer any questions. Unfortunately Sebastian won't be able to join (for personal reasons). But Jan was so kind to jump in and do the presentation with me. We are looking forward to meet you online! Have fun. mysqlnd plugins: alternative to MySQL Proxy ?! The mysqlnd plugin API is a well hidden gem of mysqlnd. Mysqlnd plugins
operate on a layer between PHP applications and the MySQL server. This
is comparable to MySQL Proxy. MySQL Proxy operates on a layer between
any MySQL client application, for example, a PHP application and, the
MySQL server. Plugins can take over classical MySQL Proxy tasks such as
Load Balancing, Monitoring and Performance optimizations. But due to the
different architecture and location mysqlnd plugins do not share some
common MySQL Proxy annoyances: no single point of failure, no dedicated
proxy server to deploy, no new programming language to learn (Lua).
Slides from the IPC Spring conference This blog posting and
today’s presentation at the IPC Spring 2010, a PHP conference in
Berlin, are the first public information on the new toy. Enjoy the
slides or continue reading the blog posting. The mysqlnd plugin talk
(PDF) The mysqlnd plugin talk (OpenOffice.org presentation - *.odp)
What mysqlnd plugins can do! A mysqlnd plugin is kind of an extension
to mysqlnd. Plugins can hook virtually all mysqlnd functions. The
mysqlnd functions are called by the PHP MySQL extensions (ext/mysql,
ext/mysqli, PDO_MYSQL). Consequently it can be said that a mysqlnd
plugin can hook all PHP MySQL userspace functions. Internal mysqlnd
function calls cannot only be hooked but also be replaced. There are no
limits for manipulating mysqlnd internal function tables: maximum
freedom! Drupal, phpMyFAQ, phpMyAdmin, Oxid, … |
ext/mysql, ext/mysqli, ext/PDO_MYSQL Mysqlnd Mysqlnd plugin
Load Balancing Monitoring Performance | MySQL Server
Plugins operate on the C level inside PHP and mysqlnd. They can be made
100% transparent to PHP applications. No application changes are needed
because plugins operate on a different layer. A mysqlnd plugin adds a
new layer to your setup. However, the new layer is part of a software
you already deploy: PHP! A mysqlnd plugin is just another PHP extension
in your existing PHP infrastructure. Load Balancing Read/Write
Splitting Failover Round-Robin, least loaded Monitoring Query
Logging Query Analysis Query Auditing Performance Caching
Throttling Sharding Mysqlnd plugins are a different technology
than MySQL Proxy. Both are valid tools for solving a variety of common
tasks ranging from Load Balancing over Monitoring to Performance. Both
have their room, their disadvantages and advantages. An obvious
difference: MySQL Proxy works with all MySQL Clients whereas mysqlnd
plugins are specific and limited to PHP. mysqlnd plugin vs. MySQL
Proxy: architecture A mysqlnd plugin gets installed on the PHP
application server. MySQL Proxy can either be run on the PHP
applications server or be installed on a dedicated machine to handle
multple PHP application servers. Deploying a proxy layer on the
application machines has two advantages: no single point of failure
easy to scale out (horizontal scale out, scale by client) MySQL
Proxy is a wonderful and unique piece of software. MySQL Proxy (and
mysqlnd plugins) can solve problems easily which otherwise would have
required massive changes to existing applications. But MySQL Proxy comes
at a price: MySQL Proxy is a new component and technology to master
and deploy MySQL Proxy Lua scripts are not PHP: Lua is a new additional
language MySQL Proxy can be customized with C and Lua programming.
Lua is the preferred scripting language of MySQL Proxy. For most PHP
experts Lua is a new language to learn. A mysqlnd plugin can be written
in C (or PHP - as will be shown in future blog posts). C and PHP should
be a natural fit for your existing man power and teams. Hardware
Software Application server PHP application C/Java/PHP/…
application mysqlnd plugin MySQL Proxy Dedicated
machine MySQL Proxy Database server MySQL
Lifecycle: deamon vs. PHP lifecycle. MySQL Proxy is a deamon. It runs
forever. MySQL Proxy can recall earlier decisions. A mysqlnd plugin is
bound to the PHP lifecycle of one or multiple web requests. MySQL Proxy
can share once computed results among multiple application server. To do
the same a mysqlnd plugin needs to store its knowledge in a persistent
medium, for example, using another daemon such as Memcache. MySQL Proxy
has the edge. mysqlnd plugin: choose C API or wire protocol MySQL
Proxy works on top of the wire protocol. With MySQL Proxy you have to
parse and reverse engineer the MySQL Client Server Protocol. Actions are
limited to what can be done by manipulating the communication protocol.
If the wire protocol changes, which happens very rarely, MySQL Proxy
scripts need to be changed as well. Layer Software PHP
application C/Java/PHP/… application C API mysqlnd plugin
Wire protocol mysqlnd plugin MySQL Proxy Mysqlnd plugins work on
top of the C API (and thus also on top of the wire protocol). You can
hook all C API calls. PHP makes use of the C API. Therefore you can hook
all PHP calls. There is no need to go down to the level of the wire
protocol. Mysqlnd implements the wire protocol. Plugins can parse,
reverse engineer,manipulate and even replace the communication protocol.
However, there are few use cases which require you to work on this low
level. b>Mysqlnd plugins usually operate the C API layer but they
can, if need be, operate on the wire protocol as well.. Plugins let
you do your manipulations on two layers: C API and wire protocol. This
is more than what MySQL Proxy has to offer. Wire protocol changes do not
require plugin changes. Get the mysqlnd plugin API today! If you
have recently downloaded a PHP 5.3 development code snapshot you already
downloaded the "mysqlnd plugin API". No, there is no
downloadable mysqlnd plugin which gives you all the fabled features
sketched above. The mysqlnd plugin API is under development since at
least christmas 2009. It is developed in the PHP source repository and
available to public. The "mysqlnd plugin API" has its roots
in the ancient history of mysqlnd. It is a bit of a side effect of
Andrey’s attempt to modularize the more than 15k loc of mysqlnd.
It took us some time to realize the potential of Andrey’s changes.
But this is another story, this is for another blog posting. Like it?
More blogging to come Several companies have expressed severe interest
in the mysqlnd plugin idea after todays presentation at the IPC Spring.
If you see some potential in the new toy, please drop us a note. You can
reach Andrey, me and Johannes through the usual channels. More blog
postings will follow describing more and more aspects of the new toy.
Ideally we manage to teach you how to hack your own mysqlnd plugins -
start your GCC’s boys! Background: mysqlnd is a libmysql
replacement The MySQL native driver for PHP (mysqlnd) is a C library
which implements the MySQL Client Server Protocol. It serves as a
drop-in replacement for the MySQL Client Library (AKA libmysql AKA
libmysqlclient AKA Connector/C). mysqlnd is also a special kind of a PHP
extension. Similar to ext/PDO it does not export any userland functions.
It serves as a C library for other extensions. mysqlnd is part of the
PHP source code repository as of PHP 5.3. Every PHP source code
distribution contains it. Server API (SAPI) CGI CLI Embed
ISAPI NSAPI phttpd thttpd … Zend Engine PHP Runtime
PHP Extensions bcmath mysql mysqli mysqlnd pdo pdo_mysql xml
… All PHP-MySQL APIs can either make use of the MySQL
Client Library or mysqlnd to connect to MySQL. The decision to use one
or the other library is made at compile time. Within a PHP binary you
can mix mysqlnd and the MySQL Client Library as you like: one PHP MySQL
API may use mysqlnd and another PHP MySQL extension may use the MySQL
Client Library. To use the MySQL Client Library, you must have it
installed on your system (at least when building PHP), whereas mysqlnd
ships with PHP and thus has no pre-requisites.
blog.ulf-wendel.de |
6/2/10 8:40 PM
|














