Computer Programming

Yes, a bit specific, but I need to store some links!

So much "stuff" in Java

So, the tokenizer's done, and the parser's code is written but not tested. The standard testing system included with NetBeans is JUnit.

MS Access: Automatically Jumping to the Only Record that Matches

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.

Keyword Analysis or Discovery (a first try)

I was messing around with some textual analysis, trying to figure out how to do a "related articles" feature in Drupal.

Method Chaining, some opinions

A few years back, method chaining got to be all the rage, and now it's common.

Testing for Hack Scripts, Scan Your Uploads

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.

Strip Non-Numeric Characters from Data

This Javascript widget strips non-numeric characters from the input. The result will be a space-separated list of numbers.

Strict Typing Seems So Important

I'm relearning Java, and strict typing now seems so important.

Open Source as a Response to Microsoft's Monopoly

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: HipHop from Facebook

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.

Nutty Hack - Dojo Javascript Front End to OpenOffice.org through Servlets

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.

iPad, Kindle Development

Amazon was totally sleeping on the iPad, which many predicted. So they announced and the Kindle Development Kit.

Convert Text to HTML PHP Function

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.

Cheapskate Developers Mobile Phone Tips

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: report generation engine

Rlib is a report writing engine that takes report specifications in an XML language. It emits reports in several formats including HTML and PDF.

Visit RLIB

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.

Android needs user experience developers

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.

------------------

.

Donate Bitcoin to support the writer: 1F13NCPcFKjJ7oy36zc2vBTtqoQCBPpAPH

Comments are disabled

If you wish to comment, post this article on reddit or hacker news.

Syndicate content