A team of US scientists have engineered bacteria that could solve complex mathematical problems faster than anything made from silicon.Bacterial computers can crack mathematical problems | Science | guardian.co.uk
Entries tagged with “Programming”.
Did you find what you wanted?
Mon 27 Jul 2009
Bacterial Computers can Crack Mathematical Problems
Posted by Charles Clarkson under Entertainment, Programming
No Comments
These are exciting times. I would love to live long enough to see a practical application of some life-based computer project. I think that my first computer was a $1000 machine I bought in 1976 which used a television as a monitor and cassette tape player as a hard disk and I am astounded that I may miss a bacteria based computer. I’m not spoiled. No sir!
Mon 16 Mar 2009
WP: Get Users by Role Function
Posted by Charles Clarkson under PHP, Programming, WordPress
No Comments
John Kolbert wrote a function to to get a list (array) of users by their role name. For example, he shows how to get a list of editors. I would only change the function slightly to accommodate my own programming style (and because I can't leave well enough alone).
As John notes, remember this is for use in the admin panels. Thanks, John.
PHP:
- function get_users_with_role ($role) {
- // gets all users with specified role
- $wp_user_search = new WP_User_Search( '', '', $role);
- return $wp_user_search->get_results();
- }
As John notes, remember this is for use in the admin panels. Thanks, John.
Sun 9 Nov 2008
WordPress Link Directory
Posted by Charles Clarkson under PHP, Programming, WordPress
No Comments
I have a old client who wants to add a link directory to his web pages. I have been suggesting WordPress as his basic web site CMS and I found the following WordPress Link Directory Which should make administering his web site a lot easier.
The Plugin author seems very responsive to adding features and fixing bugs. I may be able to squeak by without having to hack my own version. I'll post a comment here with the url of the new directory and my success (or failure) with the Plugin.