HPHP Initial Comment
HipHop what you need to know
HPHP appears to be a significant product: a PHP compiler that compiles down to native binaries, saving time and CPU. It produces a monolithic, multithreaded binary.
A nice side effect could be that sites using HPHP would be a harder to hack. For one, you could never upload and execute a PHP script, because PHP is not running on the server.
HipHop leverages a simple fact of PHP-life: most of your code doesn't change. Even in a project with ongoing bugfixes, only a small number of changes are deployed. So, once the app's done and ready to be run full-time, it should really become a compiled application. HipHop is the compiler.
This is a short list of links to groups that organize or try to organize programmer labor unions and other computer-based worker unions, as well as lobby organizations.
This is weird. The authors turn OpenOffice.org into a spreadsheet server -- and then create a front end in Dojo with Javascript, and tunnel events from the front end to the OOo spreadsheet via a Tomcat servlet.
Amazon was totally sleeping on the iPad, which many predicted. So they announced and the Kindle Development Kit.
How many times has this wheel been reinvented? According to Google searches, not enough - because I couldn't find a good one. Over the years, I've definitely build this wheel a few times, so, here goes again. This is a lot better than the stock nl2br() function.
The attached code and test files show it off, and only a description follows.
I feel lame when it comes to mobile phone hacking because I'm so far behind the state of the art, by at least five or more years.
Rlib is a report writing engine that takes report specifications in an XML language. It emits reports in several formats including HTML and PDF.
I stumbled across RLIB while figuring out how to implement some MS Access report writing features in PHP. MSA users will know what writing a report is, but PHP coders probably don't, so I'll explain.
This was written as a response to critique of Android's bad user interfaces. The original poster blamed the bad UI on A's Linux heritage.
------------------
A couple years back, I used a technique to simplify code that iterates over an array and displays it as a table.
The Glassfish server includes a Ruby and Rails implementation.
There's a Java Python that's well established.
Iterators are one of my favorite language features or design pattern. They're a feature that, when done correctly, basically vanishes.
A couple mobile phone business and development links. One came from TechRepublic, speculating about who might buy (the newly revived) Palm.
Podcast: Will the $99 smartphone trigger a price war? [Guess not. It seems to be a price war at the $199 price point.]
Correcting BREW and J2ME - a 2008 article that gives background about the competing BREW and J2ME markets, and the then-emergent iPhone business model.
Links to misc app stores (mobile or not): Linspire CNR, GetJar, Boost Mobile, ATT MediaMall, Sprint Software Store, Handmark, Ovi (Nokia), Android Market, T-Mobile T-Zones, Motorola Solutions.
A bunch of development links after the jump.
This was an odd project. Taking several PDFs of layoff data and turning them into text, so they might be used more like a database. This info should be offered up by the state as a database, but it's not (at least it wasn't to me). I ended up using a PDF to Text application to generate text files, then wrote these scripts to scrape the data out of the text. My goal was to dig up all the unionized workplaces.
So, I'm studying J2ME, and for some reason (maybe the wrong version of CLDC?) I can't use random.getNext(n). I can't specify the range of the random number. What a pain.
I wanted to avoid doing floating point math, and fell back on a C trick. To get a random number from 0 to 500:
Here's a snippet of PHP code that displays a block if a node has a specific term. You set up the block to display based on the result of PHP code.