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


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

User Journal

Journal: For real Slashdot users only

Journal by Ex-Linux-Fanboy

/*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: You know, those old Loki games no longer work

Journal by Ex-Linux-Fanboy
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

Administration: An ingenious abstraction in politics, designed to receive the kicks and cuffs due to the premier or president. -- Ambrose Bierce