05.28.08
Posted in Erlang, General Interest, Miscellaneous, Tools and Libraries, Tutorials at 7:15 pm by stonecypher
I had to write these for a colleague some months ago, and promptly forgot in classic fashion. Here’s something to mock my inability to write coherent install docs for posterity: Setting Up eJabberD From Scratch. A how to, of sorts, I guess. This was written for a Centos server, but is probably accurate for most Unices (don’t really know for sure.)
Permalink
Trackback
02.01.07
Posted in Erlang, Programming, Tutorials at 12:21 am by stonecypher
I’m becoming ever more convinced that the answer is yes. I’ve been playing, a bit, a game called Project Euler, a game for programmers wherein the object is to find solutions to deceptively simple problems. It’s surprisingly entertaining, and your score is a result of the function of programmers which have not succeeded in a task.
There are people who take long roundabout approaches to get to results like these, when instead they could be doing things like
p1() -> lists:sum(
[ X || X <- lists:seq(1,10),
((X rem 3) == 0) orelse ((X rem 5) == 0) ]
).
As a result, I’m starting to think that I need to start explaining things. Anyone agree or disagree?
Permalink
Trackback
09.09.06
Posted in PHP, Programming, Tools and Libraries, Tutorials at 7:47 pm by stonecypher
When wandering around Das Intarweb one sees a lot of sad, sad code. In fact, people who should know better get busted on weak crypto all the time. Indeed, even the PHP manual examples have unacceptable security flaws. When one is writing encryption code for one’s own site, that turns into a problem. Here’s a library to wrap and a little primer on using the standard encryption facilities in PHP safely and correctly.
Read the rest of this entry »
Permalink
Trackback
08.23.06
Posted in AJAX, C/C++, DOM, ECMA / Javascript, Internet Explorer, Programming, Tools and Libraries, Tutorials, Web and Web Standards at 7:13 pm by stonecypher
MSHTML is an awesome user interface tool, but it has a whole lot of standard behaviors, many of which aren’t what one wants for an application (since it’s designed for the web.) This is a list of stuff you need to do to embed IE COM and have it behave like a normal application. There’s more than a person might expect.
Read the rest of this entry »
Permalink
Trackback
Posted in C/C++, Internet Explorer, Programming, Tutorials at 6:08 pm by stonecypher
I always wondered how applications suppressed that god-awful clicking sound in embedded IE. Usually you catch them screwing with user preferences, but there’s a utility I have which never showed any apparent method of getting rid of the goddamned noise. I always assumed they just styled text to look like a link.
Well, I still don’t know what he does, but I found a way.
Read the rest of this entry »
Permalink
Trackback