iOS AND ANDROID
Topics:
Choose a tagInspired by O’Reilly’s 97 Things Every Software Architect Should Know, I am adding my own few things (10, to be specific, and not all at once).
The second one: Make Products, not Projects
What is a project? Let’s not go to Webster’s dictionary…How is a project different than a product?
Rather than go into great detail (I’ll leave that to others..), I want to convey a simple thought. There’s more at stake if you frame what you are building as a product rather than a project. Why is this? A project is an experiment: something where the end goal might be loosely defined (e.g. ‘I’m working on a 3d project’). A product is something that butts up against the marketplace, and seeks validation not through it’s completion, but through the successful adoption by consumers (there are other cases, but the most general is something that is released to the public).
Why is it so hard to define great projects vs great products? I can think of at least 20 amazing products I enjoy on an everyday basis: drip coffee, my Nixon brand watch, my iPhone, iTunes, Unity 3d, my Wacom tablet, my microwave, etc. Great projects? Maybe Andy Warhol’s Factory. (And even that I’m not so sure of, because I wasn’t there to see it). The point is, it is so much easier to think of great products than great projects.
When you define something as a product, immediately there is more at stake. Once you have gone through the ideation phase and settled on an idea, give you and your team a definable goal of building (and releasing) a product. Below is a great video featuring Brandon Schauer and David Yerba from Adaptive Path that touches on many of these points, and a lot of the process and thinking behind product launches in general.
Been trying to move content from various systems into wordpress and I immediately looked into plugins and the builtin WXR import to help me out. So for the import, I figured let me see what a WXR export looks like, replicate it with my data, and import. Worked pretty good once I got the data setup right, but ran into the issue that it would only import the 1st item in the XML file. The export file looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:excerpt="http://wordpress.org/export/1.0/excerpt/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:wp="http://wordpress.org/export/1.0/"
>
<channel>
<wp:wxr_version>1.0</wp:wxr_version>
<item>
<title>test1</title>
<dc:creator><![CDATA[admin]]></dc:creator>
<wp:status>publish</wp:status>
<wp:post_type>post</wp:post_type>
</item>
<item>
<title>test2</title>
<dc:creator><![CDATA[admin]]></dc:creator>
<wp:status>publish</wp:status>
<wp:post_type>post</wp:post_type>
</item>
</channel>
</rss>
What’s funny about the issue, is that the problem was that the XML declaration from the export was wrong! It should have been like this:
<xml version="1.0" encoding="UTF-8">
I found the solution here: http://wordpress.org/support/topic/wxr-importer-only-imports-first-item
Researchers from from the Grenoble Informatics Lab in France are using the camera to track your eye gaze and change the image displayed on the tablet based on your perspective.
Needed this today for a big project I’m working on where I had to run some foreign character data through PHP to set it up for proper display on the website. Source here: http://php.net/manual/en/function.mysql-set-charset.php
Have to admit, PHP seems to have a function built in for everything I’ve ever looked for:
// Allow connection to handle UTF-8 character set
mysql_set_charset(‘utf8′,$con);
Great new site our here that is a collection of interaction patterns for prototyping Android apps.
Ran into this issue today and found the answer on Apache Friends Support Forum: http://www.apachefriends.org/f/viewtopic.php?f=16&t=41163
QUESTION
I am trying to request an email recovery from a wordpress site i have locally, when it tries to send me the password it says the following
The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function…
How do I enable the mail() function in XAMPP for windows
ANSWER
Ummm – first – I think you need to fix your php.ini file. (hopefully you only have one and its in XAMPP/php) ON a webhost this is already done for you, not so with XAMMP, as it is a test environment – aha!
Search for mail_function
DO NOT USE/UNCOMMENT THE LINE IN THE DEFAULT FILE THE SYNTAX IS WRONG!
here is the exact entry I used (my WordPress installs send passowrd reteivals successfully). I’m pretty also sure you need an ISP SMTP connect that works on port 25. (or you will have to twiddle things)
sendmail_path = “C:\xampp\sendmail\sendmail.exe -t”
and then Fix the sendmail.ini
First – add an account for your ISP’s SMTP server (you can use other ones if you want read the stuff in sendmail,ini)
#XXX
account xxx
host smtp.xxx.net
from your_email_addy@xxx.net
auth off
then make that account the default
# Set a default account
account default : xxx
Save it all, restart Apache and give it a whirl.
My thanks to Nobbie, who explained this to me…
This assumes (my bad) you do NOT want to actually run your own mailserver (which is what Mercury is) – but merely send mail from your applications (like, gee, sendmail on the *nix world)