Entries Tagged as 'Programming'

PHP and WordPress SVG Basics

April 7th, 2007 · 4 Comments

Scalable Vector Graphics, or SVG, is an XML standard for vector graphics (of course). That means that it contains descriptions of shapes, such as rectangles, lines, circles, and text, in an XML format. SVG provides a robust definition language for drawings. The drawing at the right was a sample SVG drawing included in Jasc’s WebDraw. [...]

[Read more →]

Tags: PHP · Programming · SVG · Web design · Wordpress · XML

Security and Google Code Search

October 9th, 2006 · No Comments

If you use WordPress be careful. An example Google Code Search search going around is “username file:wp-config.php” which happily displays username and passwords in WordPress config files… if they’re in compressed archives or a publicly accessible directory. Same goes for other configuration or settings files. For instance, connection strings in web.config files (connection string file:web.config), [...]

[Read more →]

Tags: Best Practices · Google · PHP · Programming · Searching · Security

Google Code Search

October 8th, 2006 · No Comments

Google Labs has released a Code Search tool (google.com/codesearch). You can limit the results to languages (lang:), particular licenses (license:), files (file:), and packages (package:). Regular expressions are supported as well. Language support appears to be limited to the following: Ada, ASP, Assembly, Basic, C, C++, C#, Eiffel, Erlang, Fortran, Java, JavaScript, JSP, Lex, Limbo, [...]

[Read more →]

Tags: Google · Programming · Searching

Egoless Programming

May 12th, 2006 · No Comments

Programmers, get out of your cube and play nice, share your knowledge, be open to learning from others… just a bit of great advice based on the concept of peer code reviews in Jerry Weinberg’s book The Psychology of Computer Programming. It is often tough for developers to detach themselves from their code. Code reviews [...]

[Read more →]

Tags: Best Practices · Programming · Tips

Building Great Products

May 9th, 2006 · No Comments

Product development cycles are riddled with problems. Sales people promise a great new, impossible Whatsit to customers then come tell you the Whatsit has to be built. Managers give engineers a delivery date and then ask engineers to size the effort. The engineers scramble, back burner the Hoozit project they were told last month was [...]

[Read more →]

Tags: Best Practices · Programming

Deleting and Retooling Code

May 7th, 2006 · No Comments

It’s kind of old, but somewhere I stumbled on Ned Batchelder’s article on deleting code. At first glance it looked to be a trivial subject, but it actually turned out to be an interesting read. I have been guilty of leaving dead code lying around, but on the other hand I have clipped stuff that [...]

[Read more →]

Tags: Best Practices · Programming · Tips

Ajax Tutorials

May 4th, 2006 · No Comments

Another top-tutorial list. Top 20 Ajax Tutorials. Via digg.

[Read more →]

Tags: Javascript · Programming

Mono brings .NET apps to Linux

October 12th, 2005 · No Comments

IBM has an article for developers about developing cross platform applications useing .NET. Well, using Mono. As someone who has (poorly) written a cross platform application using Mono I can say that it is definitely easy. As long as you keep portability in mind when programming the cross platform bit should fall into place without [...]

[Read more →]

Tags: Free · Linux · Mac · Programming · Software · Windows

Google Maps for WordPress – GooMaps

August 16th, 2005 · 65 Comments

Google Maps Update (8 Mar 2009): Updated again to fix the constants broken by a change made by Google. Thanks to brian, who left a comment asking about the maps not working. Update (30 Jan 2007): Updated again to make a link in the popup actually open a new window. Did this by embedding a [...]

[Read more →]

Tags: Javascript · Mapping · Programming

Search for c/c++ code

August 9th, 2005 · No Comments

C Source Search is a new tool that makes it easy to search for pre-written open source code that can help you do your project without re-inventing the wheel. Most of the code is GPL, so you won’t be able to use it in commercial applications (unless it is for internal use only). Also, the [...]

[Read more →]

Tags: Programming · Searching · Tips