Topic: Programming

Posts about Programming

ActionScript 3.0 (AS3) ToolTip for Flash 9 (CS3) programmers!

Nerdmaster

I’m learning Flash right now. My next few games are going to be built in Flash in order to help me learn, and then hopefully build a nice PBBG using Flash and a dedicated C++ based network server. Should be highly exciting!

Anyway, after scouring the net for an amazing amount of time, I could not find a ToolTip component for ActionScript 3.0 (AS3). Tons for 2.0, but if I am going to be working with Flash, I have to go with 3.0. It’s much nicer for a serious programmer, as well as people who just want to be on the cutting edge.

Read the rest of ActionScript 3.0 (AS3) ToolTip for Flash 9 (CS3) programmers! 9 comments on ActionScript 3.0 (AS3) ToolTip for Flash 9 (CS3) programmers!

Nerdmaster does something useful...

Nerdmaster

No, children, this isn’t the unbelievable (and fictitious) story of a bad little nerd who finally finds redemption via some amazingly-selfless act. This is, instead, the true story of me, the very selfish nerd who offers something useful to the world in order to make himself (myself) feel superior.

I’ve been into statistics lately, and built a really slick hypergeometric distribution probability calculator. I offer the C++ and Ruby source for free, so if you’re interested in statistics and programming, check it out.

Read the rest of Nerdmaster does something useful...

Sloccount's sloppy slant - or - how to manipulate programming projects the Wheeler Way

Nerdmaster

Sloccount is my newest Awesome Software Discovery. It’s a great idea, but is far too simple to do what it claims: estimate effort and expense of a product based on lines of code. And really, I wouldn’t expect it to be that great. The model used to estimate effort is certainly not the author’s fault, as it isn’t his model. But that idiot (David Wheeler) doesn’t just say it’s a neat idea - he actually uses this horrible parody of good software to “prove” that linux is worth a billion dollars. For the record, I prefer linux for doing any kind of development. I hate Windows for development that isn’t highly visual in nature (Flash, for instance kind or requires Win or Mac), and Macs are out of my price range for a computer that doesn’t do many games. So Linux and I are fairly good friends. I just happen to be sane about my liking of the OS. (Oh, and BSD is pretty fracking sweet, too, but Wheeler didn’t evaluate it, so neither will I)

Read the rest of Sloccount's sloppy slant - or - how to manipulate programming projects the Wheeler Way 3 comments on Sloccount's sloppy slant - or - how to manipulate programming projects the Wheeler Way

The move to typo 4.0

Nerdmaster

Typo is my blogging software. Written in Ruby on Rails, it seemed like an ideal choice for me since I’m a big fan of the RoR movement. But like so many other open source applications, Typo has got some major problems. I’m not going to say another open source blog would have been better (though I suspect this is true from other pages I’ve found on the net), but Typo has been a major pain in the ass to upgrade.

Read the rest of The move to typo 4.0

How not to benchmark software

Nerdmaster

I’ve just stumbled upon an amazingly misinformed benchmark about Flex, from an actual Adobe employee, Matt Potter.

This guy benchmarks JSON, AMFPHP, and XML as ways to transmit data between PHP and a Flex app. His findings show that XML is generally faster than either JSON or AMFPHP. This “discovery” could revolutionize the way we send and receive data on the net! Who’d have thought that XML is so efficient? Truly amazing results!

Read the rest of How not to benchmark software

Yet another Awesome Software Discovery!

Nerdmaster

This time it’s a piece of javascript to compute ideal body weight in a variety of ways, the most interesting of which claims to tell you what other people like you consider their ideal body weight. Very “slick” little system, if you care about such things.

I’m always on the lookout for crazy new technology, so when I found this ideal weight calculator, I was overjoyed by how many different algorithms seemed to be present. When I looked at the source and found that the author was using javascript, I was again very excited. This meant I could look at (and possibly learn) his algorithms!

Read the rest of Yet another Awesome Software Discovery!

Be careful of Rubyforge gem!

Nerdmaster

I just discovered a weird issue. The comments under my name will explain it better than I can here, but sufficed to say, if you use Net::HTTP in ruby, do not install the RubyForge gem!

Read all about the issue
on the rubyforge bug tracking page.

The wonderful world of Cross-site scripting (XSS) - OR - why input filtering is bad

Nerdmaster

I have been dealing with XSS at my so-called “real job” recently, and it has come to my attention that a lot of people in this world are under the mistaken impression that it’s better to do “input filtering” than “output filtering”. As I pretty much came up with these terms myself (they may or may not exist elsewhere; I’m just too lazy to find out), I’ll define them for you:

Read the rest of The wonderful world of Cross-site scripting (XSS) - OR - why input filtering is bad 1 comment on The wonderful world of Cross-site scripting (XSS) - OR - why input filtering is bad

Two more reasons Ruby beats Perl: Chuck Norris and Chuck Norris

Nerdmaster

I was thinking of all the various Norrisisms on the web (”Chuck Noriss’s tears cure cancer. If only he would ever cry…” and such), and realized that Chuck Norris would prefer ruby to perl. Two of my own very clever*** quotes are below, and after reading them I think even the most die-hard perl programmer will have no choice but to convert.

* “Clever” by the Webster 1913 definition of “well-shaped; handsome”. They are sexy, even if not funny.

Read the rest of Two more reasons Ruby beats Perl: Chuck Norris and Chuck Norris

Web security and Mobster World: a tale of woe

Nerdmaster

I belong to a forum for [web game developers](http://www.pbbgdev.com) and I recently
posted about how to keep one’s game from being a target of the most common
security problems. The information seems, to me, to be so obvious, but apparently
there’s a lot of ignorance about how to secure an application as well as why it
matters. So let me relate a tale of exactly why website security is so damned important.

Read the rest of Web security and Mobster World: a tale of woe 1 comment on Web security and Mobster World: a tale of woe

All categories · All posts