I am a Permanent Member (or Community Ambassador) of the Drupal Association.I first worked with Boris at Hype, in Bonn (it was my first job!) He's a leading force in Eclipse development, and I love Eclipse.
You have probably seen Mike's email - the elections for committer representatives for the Eclipse Board of Directors is now open.
About a year ago, at EclipseCon, we showed a demo of how the Eclipse IDE could look like if it was browser-based, talking to an Eclipse server "in the cloud". The reactions were lukewarm: "Looks cool, but why would I want to run an IDE in a browser?" "I have yet to see web enabled IDEs as an industry trend".This industry trend is now starting to happen.
UPDATE: Now as a shell script. You may have to update the MySQL user in the script. A file version of the script is attached. Download it, make it executable with chmod +x ./doublenodes, and then run it with ./doublenodes databasename
#!/bin/sh
mysql -u root -p -e "
INSERT INTO node (nid, vid) VALUES (NULL, -1);
SET @nid:= (SELECT MAX(nid) FROM node);
DELETE FROM node WHERE nid=@nid;
INSERT INTO node_revision (nid, vid) VALUES (@nid, '');
SET @vid:= (SELECT MAX(vid) FROM node_revision);
DELETE FROM node_revision WHERE vid=@vid;
INSERT INTO node
SELECT
NULL, @vid:=@vid+1,
type, language, title, uid, status, created, changed, comment, promote,
moderate, sticky, tnid, translate
FROM node;
INSERT INTO node_revision
SELECT
@nid:=@nid+1, NULL,
uid, title, body, teaser, log, timestamp, format
FROM node_revision;" $1
This will take the existing nodes in your db and copy them. If you have 10 to start with you will have 20 when you’re finished (and they’ll be copies of the first 10). This is good for populating a test database for performance testing where you want a lot of nodes. It is much faster than using Devel module’s generate (use that to get your first 1000 nodes or so, then use this query to double them, and double them again, and double them again, etc.) Note that this query doesn’t take CCK fields, uploaded files, comments, or taxonomy terms into account. Just the nodes.
It is important that Drupal get tested on databases with millions of nodes, and we need to share techniques like this, and possibly build extra infrastructure on Drupal.org, so that we can always test patches on large datasets.
PS: Is there a better way? How do you create databases with large data sets?
Commit #171584 by robertDouglass at 22:21
Core searches: /modules/coresearches/DRUPAL-6-4.patch 1.1.2.1 @ DRUPAL-6--1
#328187 by chuckdeal97. Rerolls patch and changes the sort order of the implementing modules. This means that if you want to rearrange the order of the tabs on the search page you have to use the weight column of the system module. The two patches are inconsistent in this respect.
How do you know if you are reacting rationally or emotionally other than to look down to your hand and see if you're waving a gun?
— Steven Colbert, Feb. 2009
I fully agree with Gorkem Erkan that the Eclipse community should seriously consider building a bundle marketplace. In fact, I recently had the same idea (independently) as you can see here on Twitter.In the Eclipse context, that bundle marketplace would probably consist of multiple overlapping sub-markets... with every Eclipse-based application defining a sub-market. For example, bundles that work with the Eclipse IDE, bundles that work with the Flex IDE, or the SAP IDE, or with IBM's Rational tools such as Team Concert. Also, at the RCP level, vendors could offer a basic application for free and offer upgrades as additional for-pay bundles.
Commit #169349 by robertDouglass at 18:30
Apache Solr Search Integration: /modules/apachesolr/CHANGELOG.txt 1.1.2.7 @ DRUPAL-6--1
Update CHANGELOG.txt
Commit #169348 by robertDouglass at 18:23
Apache Solr Search Integration: /modules/apachesolr/apachesolr.module 1.1.2.12.2.103 @ DRUPAL-6--1
#369780 rearrange code for slightly better organization and performance.
Commit #169342 by robertDouglass at 17:28
Apache Solr Search Integration: /modules/apachesolr/contrib/apachesolr_mlt/apachesolr_mlt.module 1.1.4.22 @ DRUPAL-6--1
fix watchdog call that still has D5 signature
Commit #169341 by robertDouglass at 17:26
Apache Solr Search Integration: /modules/apachesolr/contrib/apachesolr_attachments/apachesolr_attachments.module 1.1.2.10 @ DRUPAL-6--1
fix watchdog call that still has D5 signature
Commit #169324 by robertDouglass at 16:55
Apache Solr Search Integration: /modules/apachesolr/apachesolr.module 1.1.2.12.2.102 @ DRUPAL-6--1
Completely anal whitespace adjustment