So, the tokenizer's done, and the parser's code is written but not tested. The standard testing system included with NetBeans is JUnit.
Many years back, just before web pages got popular, I remember that some programs sent you as close as possible to your desired data whenever you searched.
I was messing around with some textual analysis, trying to figure out how to do a "related articles" feature in Drupal.
A few years back, method chaining got to be all the rage, and now it's common.
This was ripped from a patch I made to ZenCart to deal with malicious uploads. It was stripped from a class, and it should probably be worked into pretty much any uploader class.
This Javascript widget strips non-numeric characters from the input. The result will be a space-separated list of numbers.
I'm relearning Java, and strict typing now seems so important.
There are different theories on why Open Source succeeds or fails (and opinions on whether it's succeeding or failing). The most common is not a theory at all, but the idea of "giving back to the community": that companies will give away assets because they're receiving assets for free from the community. It sounds nice, but, it's a really weak idea.
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 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 built 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.
------------------
If you wish to comment, post this article on reddit or hacker news.