Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×
User Journal

Journal Journal: For real Slashdot users only

/*Placed in the public domain by Sam Trenholme*/
#include <arpa/inet.h>
#include <string.h>
#define Z struct sockaddr
#define Y sizeof(d)
int main(int a,char **b){long int i;char q[512],p
i;struct sockaddr_in d;bzero(&d,Y);p[14]=(65280&i

Note: There is a single compile-time warning when compiled with -Wall; if this bothers you, you can place 10 bytes of bloat in the form of return 0; at the end of the program (before the final })

Since you are a Slashdot user, I am sure you can figure out exactly what the above code does without needing anything wimpy like documentation.

User Journal

Journal Journal: You know, those old Loki games no longer work

Once upon a time, there was a company called Loki that ported commercial games to Linux. This company did not last very long: Their combined sales of all of their games (they released about two dozen games) was the same as a single moderately successful Windows game.

The games, horror beyond horrors, did not include source code. They were in a binary format that Loki went to great effort to make as compatible with as many Linux versions as possible. The binaries were statically linked and the installer didn't use any distribution-specific packages.

Despite this, I can't play these old Loki games on my Linux distribution. I'm using a 64-bit version of Ubuntu which has no 32-bit binary support. Even when I was using 32-bit Ubuntu, the sound was so bad in the Loki games I could not enjoy the games.

So, how to I play these old games? I play the Windows versions, which work with absolutely no problem in Windows XP, and should work just fine when and if I upgrade to Windows Vista. Everything works: Sound, networking, everything.

Why is it that Linux does not let me play these old games, but Windows does?

- Sam

Slashdot Top Deals

"Only the hypocrite is really rotten to the core." -- Hannah Arendt.