Archive for the 'Programming' Category

LOLCODE

From Wikipedia:
LOLCODE is a humorous esoteric programming language heavily inspired by structures found in many common programing languages, as modified to be expressed via common terms, stylings and informal spellings found in Internet memes (primarily lolcats) and the communication style found in internet slang, instant messenger chat, and cellphone text messaging (”TXT” ;)
[...]

Playing With R

I played around a bit with R (wikipedia link). It’s nice. R is a language often used in statistics, data analysis and stuff like that.
The following code estimates pi using the ratio between the area of the square enclosed by the circle (which is Pi). This is part of an assignment a friend of mine [...]

The Talks/Workshops
* Amazon WebServices Architecture by Mike Culver - I learned more about S3 and I knew nothing about EC2 which is actually very interesting.
* IronPython and Dynamic Languages on .NET by Mahesh Prakriya - I missed it but a lot of people said it was brilliant.
* Building platforms by Fred Oliveira - I got [...]

Sapo Codebits (blog, wiki) starts tomorrow. I wonder how many people will show up and how many teams will enter in the contest… doesn’t really matter as long as I win nah seriously, the more the better of course. There are quite a few people going from prt.sc so I won’t be alone [...]

Top 15 free SQL Injection Scanners
svn-time-lapse-view
Twitter Guide Part #5 - Twitter Tools | Web Applications
JanusVM - Internet Privacy Appliance

Universal Widget API

I found Netbvibes UWA yesterday via Lifehacker.
UWA is the new Netvibes API. Through it, your Netvibes widgets will be available on every widget platforms or blog systems: Netvibes of course, but also Google IG, Apple Dashboard and many more…
I haven’t looked at it in detail but this sounds really cool.

Let’s skip the part about the why - that’s for another post, maybe. I want to create an application that has browser windows inside it. I’m hardly the only person to want to do this but there seem to be surprisingly few ways to do this if you consider cross-platform support a must.
Java can’t do [...]

It might not be all that great if a simple action (like say clicking in a thumbnail) does something completely different and not really better than what the user is expecting just to show some eye-candy (like say blank the browser window and display the larger image with a confusing set of icons in non-standard [...]

“It’s the algorithms that need parallelization, not your code.”

Abstract
For decades, mainstream parallel processing has been thought of as inevitable. Up until recent years, however, improvements in manufacturing processes and increases in clock speed have provided software with free Moore’s Law-scale performance improvements on traditional single-core CPUs. As per-core CPU speed increases have slowed to a [...]

If you’re application is crashing at runtime with Run-Time Error R6034 try changing the “Solutions Configuration” from “Debug” to “Release”. Worked for me.

Old news but I just want to leave this here because I think it’s pretty cool. The function itself is like an artifact from another age. The article feels like a piece of ’software archeology’.
float InvSqrt (float x){
float xhalf = 0.5f*x;
int i = *(int*)&x;
i = 0×5f3759df [...]

The Zen of Python

>>> import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren’t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, [...]

Coding Guidelines

Be smart about your coding guidelines
I’ve been giving out that link to people for a while now, might as well put it here.

SNR=0

This is my first post after the GigaLanParty 2006 and coincidentally since the start of the semester.
GLP 2006:
- Portugal Telecom screwed us and instead of the 1Gbps that we had last year with 100Mbps reserved for the WCG, we got 200 Mbps with the same 100Mbps [...]

All Aboard

One of my favorite blogs just published a new essay All Aboard The Gravy Train:
Recently, some of the loudest rumblings have been coming from that quarter who current fascination is the scripting language Ruby, and its ORM library Rails. Think back to the last cycle of hype you saw in our industry, perhaps the Extreme [...]