LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Closed Thread
  Search this Thread
Old 03-29-2010, 05:32 PM   #1771
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141

Reinstalled fglrx in slackware current after a dissapointing experience with the kms radeon drivers. Yes they do work but way to slow.
 
Old 03-29-2010, 05:33 PM   #1772
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Delving in LDIF files ...
 
Old 03-29-2010, 06:13 PM   #1773
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Trying to figure out a humane way to the get the raccoon out of my shed for good. I was quite shocked to see it there. The raccoon on the other hand seemed rather unimpressed by my presence...........
 
Old 03-29-2010, 06:18 PM   #1774
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Maybe spray it with a spray nozzle connected to your garden hose? Or spray it with a fire extinguisher. That should get the little bugger out.
 
Old 03-29-2010, 06:18 PM   #1775
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
If I remember my Bugs Bunny, you need to get a second raccoon and dress it up in a seductive manner to lure out the first one...
 
Old 03-29-2010, 06:31 PM   #1776
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
That only works for skunks. This is a raccoon......the ones with the masks.
 
Old 03-29-2010, 07:49 PM   #1777
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Then you need a fake bank heist to draw him out
 
Old 03-29-2010, 08:10 PM   #1778
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Writing a spec for my language, still far from complete:

P.S. I am posting form Konqueror, I see that (unlike Firefox) the upload file text entry is editable, but it asks you to confirm if you want to upload the file to prevent the security concern.
Attached Files
File Type: txt langspec.txt (2.5 KB, 18 views)
 
Old 03-29-2010, 08:35 PM   #1779
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by MrCode View Post
Here's a first draft of the TaskScript spec. It's probably not the greatest, but it's a good start, I think.

Don't view this with a line-wrapping text editor! I wrote this in a 1360x768 gedit window, and my display size is 1440x900, so it was nearly full screen for me. If you can, turn line wrapping off in your text editor. I apologize if this makes the document hard to read.
I will try to start implementing now.
 
Old 03-29-2010, 08:54 PM   #1780
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
@MrCode:
I need an example on the syntax of created and accessing classes.
 
Old 03-29-2010, 09:52 PM   #1781
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
I need an example on the syntax of created and accessing classes.
I believe it would work something like this:

Code:
#When you need to create a class, just declare it like any other structure:#

declare class Test:
    declare var foo,               #All variables/tasks within a class are considered "public";#
    declare var bar,               #I haven't come up with a way of distinguishing between     #
                                   #"public", "private", and "protected" yet.                  #
    declare string txt = "Fooey!",

    declare task InitVars:
        foo = 10,
        bar = 100,
    end task,
end class.

#As for accessing variables and tasks from it, you declare an object of it first (as you would in C++):#

#Note: "main" is not required to be the base task name, but IMO it would be a good convention.#

declare task main:
    declare object Thing from Test,
    do InitVars from Thing,      #Doing a task from within the class using the "from" qualifier#
    print string txt from Thing,      #Printing the string variable#

    #This loop will increase and print the numerical variables within the "Thing" object:#

    declare loop:
        if foo from Thing <= 20:
            print text "foo = ",
            print var foo from Thing,
            print text "\n",

            foo from Thing += 1,

            if bar from Thing >= 0:
                print text "bar = ",
                print var bar from Thing,
                print text "\n",

                bar from Thing += 1,
            end if,
         end if,
     end loop,

     print text "Done.\n",

end task.

do main.
You can also declare classes that are derived from others (i.e. inheritance)

Code:
declare class A:
    declare var foo,
    declare var bar,
end class.

declare class B from A:
    declare var oof,
    declare var rab,
end class.

# ^ class B now has A's contents, plus its own ^ #

Last edited by MrCode; 03-29-2010 at 10:05 PM. Reason: corrected minor syntax errors (again, :P)
 
Old 03-29-2010, 10:34 PM   #1782
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by MrCode View Post
I believe it would work something like this:

Code:
#When you need to create a class, just declare it like any other structure:#

declare class Test:
    declare var foo,               #All variables/tasks within a class are considered "public";#
    declare var bar,               #I haven't come up with a way of distinguishing between     #
                                   #"public", "private", and "protected" yet.                  #
    declare string txt = "Fooey!",

    declare task InitVars:
        foo = 10,
        bar = 100,
    end task,
end class.

#As for accessing variables and tasks from it, you declare an object of it first (as you would in C++):#

#Note: "main" is not required to be the base task name, but IMO it would be a good convention.#

declare task main:
    declare object Thing from Test,
    do InitVars from Thing,      #Doing a task from within the class using the "from" qualifier#
    print string txt from Thing,      #Printing the string variable#

    #This loop will increase and print the numerical variables within the "Thing" object:#

    declare loop:
        if foo from Thing <= 20:
            print text "foo = ",
            print var foo from Thing,
            print text "\n",

            foo from Thing += 1,

            if bar from Thing >= 0:
                print text "bar = ",
                print var bar from Thing,
                print text "\n",

                bar from Thing += 1,
            end if,
         end if,
     end loop,

     print text "Done.\n",

end task.

do main.
You can also declare classes that are derived from others (i.e. inheritance)

Code:
declare class A:
    declare var foo,
    declare var bar,
end class.

declare class B from A:
    declare var oof,
    declare var rab,
end class.

# ^ class B now has A's contents, plus its own ^ #
This thread is almost 120 pages ! ! !
Anyway, classes are 'half' implemented.
But it compiles simple programs well:
Code:
declare task print_666_point_5:
declare var p=234.25,
op p+=432.25,
print var p,
end task.
do print_666_point_5.
Works.
 
Old 03-29-2010, 11:18 PM   #1783
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Code:
#include <iostream.h>
#include <fstream.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define deindent() noindent(in)
void noindent(ifstream& p){
while(p.peek() == ' ' || p.peek() == '\t' || p.peek() == '\n', p.peek() == ','){
(int) p.get();
}
}
int main(int argc, char **argv){
int Conly=0;
char *of;
int flag = 0;
if(argc != 3 && argc != 4)flag=1;
ifstream in(argv[1]);
if(in.bad() || flag){printf("ERROR OPENING TASKSCRIPT FILE - USAGE:\n%s <file.ts> <output.c> [-c]\n-c : Output C instead of C++\nNote: command line syntax is crtical\nNote: An output file of $$ is stdout", argv[0]); exit(0);}
FILE *out;
if(!strcmp(argv[2], "$$")){
out = stdout;
} else {
out = fopen(argv[2], "w");
}
if(strcmp(argv[3], "-c") == 0){Conly = 1;}
fprintf(out, "int main(){\n");
while(!in.eof()){
noindent(in);
char keyword[255];
in>>keyword;
if(keyword[0] == '#'){
while(in.peek() != '#' && in.peek() != '\n'){
(int)in.get();
}
}
if(out != (stdout)){
printf("Token: {%s}\n", keyword);
}
if(!strcmp(keyword, "end")){
while(in.get() != '\n');
fprintf(out, "};\n");
continue;
}
if(!strcmp(keyword, "declare")){
noindent(in);
in>>keyword;
if(!strcmp(keyword, "class")){
in.getline(keyword, 0xFF, ':');
if(!Conly){
fprintf(out, "class %s {\n", keyword);
} else {
fprintf(out, "struct %s {\n", keyword);
}
}
if(!strcmp(keyword, "var") || !strcmp(keyword, "variable")){
fprintf(out, "float ");
int i = 0;
noindent(in);
in.getline(keyword, 0xFF, ',');
fprintf(out, "%s;\n", keyword);
}
if(!strcmp(keyword, "task")){
deindent();
in.getline(keyword, 0xFF, ':');
fprintf(out, "int %s(){\n", keyword);
}
if(!strcmp(keyword, "text") || !strcmp(keyword, "txt")){
deindent();;
in.getline(keyword, 0xFF, '.');
fprintf(out, "char *%s;\n", keyword);
}
if(!strcmp(keyword, "array") || !strcmp(keyword, "ary")){
deindent();
in.getline(keyword, 0xFF, ':');
char pp[0xFF];
in.getline(pp, 255, 'e');
while(in.peek() != '\n'){in.get();}
if(keyword[strlen(keyword)-1] == ','){keyword[strlen(keyword)-1] = 0;}
fprintf(out, "int %s[0xFF]={%s};\n", keyword, pp);
}
if(!strcmp(keyword, "loop:")){
fprintf(out, "while(1){\n");
}
continue;
}
if(!strcmp(keyword, "if")){
deindent();
in.getline(keyword, 0xFF, ':');
fprintf(out, "if(%s) {\n", keyword);
continue;
}
if(!strcmp(keyword, "print")){
char *fmt;
deindent();
in>>keyword;
if(!strcmp(keyword, "txt") || !strcmp(keyword, "text") || !strcmp(keyword, "string") || !strcmp(keyword, "str")){
fmt = "%s";
}
if(!strcmp(keyword, "var") || !strcmp(keyword, "variable")){
fmt = "%.1f";
}
deindent();
in.getline(keyword, 0xFF, ',');
if(!strcmp(keyword, "index")){printf("FATAL: Not implemnted\n"); exit(0);}
for(int j = 0;j < strlen(keyword);j++){
if(keyword[j] == ','){keyword[j]=0;}
}
fprintf(out, "printf(\"%s\", %s);\n", fmt, keyword);
continue;
}
if(!strcmp(keyword, "do")){
deindent();
in>>keyword;
int p;
for(p=0;p < strlen(keyword);p++){
if(keyword[p] == '.'){keyword[p]=0;}
}
fprintf(out, "%s();\n", keyword);
continue;
}
if(!strcmp(keyword, "op")){
deindent();
in.getline(keyword, 0xFF, ',');
fprintf(out, "%s;\n", keyword);
}
}
fprintf(out, "}");
fclose(out);
in.close();
}
 
Old 03-29-2010, 11:38 PM   #1784
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Going through of all the 3DO isos I have amassed over the years, and just last weekend, and wondering if there is anything else to add for my collections, and re-living the good old days when gaming didn't utterly SUCK!

Code:
 Volume in drive H is PIZZA
 Volume Serial Number is B4AA-1C80

 Directory of H:\3DO ISOs

03/29/2010  11:16 PM    <DIR>          .
03/29/2010  11:16 PM    <DIR>          ..
03/28/2010  04:00 PM    <DIR>          Alone in the Dark 
03/28/2010  04:00 PM    <DIR>          Alone in the Dark 2 
03/28/2010  03:09 PM    <DIR>          Ballz - The Directors Cut 
03/28/2010  05:07 PM    <DIR>          Brain Dead 13 Starring Fritz
03/28/2010  02:52 PM    <DIR>          Burning Soldier 
03/28/2010  03:09 PM    <DIR>          Cannon Fodder
03/28/2010  03:09 PM    <DIR>          Captain Quazar 
03/28/2010  03:09 PM    <DIR>          Club 3DO - Station Invasion 
03/28/2010  03:09 PM    <DIR>          Corpse Killer 
03/27/2010  06:19 PM    <DIR>          Crash N Burn 
03/28/2010  02:53 PM    <DIR>          Crime Patrol 
03/28/2010  03:09 PM    <DIR>          Crime Patrol 2 - Drug Wars 
03/28/2010  02:54 PM    <DIR>          Cyberia 
03/28/2010  05:07 PM    <DIR>          D
03/28/2010  04:01 PM    <DIR>          Death Keep
03/28/2010  02:55 PM    <DIR>          Dennis Miller - Thats News To me 
03/27/2010  06:21 PM    <DIR>          Doom* 
03/28/2010  05:10 PM    <DIR>          Dragon Lore Disc 
03/28/2010  02:55 PM    <DIR>          Dragon's Lair
03/28/2010  04:01 PM    <DIR>          Escape From Monster Manor 
03/29/2010  11:08 PM    <DIR>          Fifa International Soccer 
03/29/2010  11:09 PM    <DIR>          Flashback - The Quest For Identity 
03/27/2010  06:21 PM    <DIR>          Gex* 
03/28/2010  02:55 PM    <DIR>          Hell - A Cyberpunk Thiller 
03/27/2010  06:21 PM    <DIR>          Icebreaker 
03/28/2010  03:09 PM    <DIR>          Immercenary 
03/27/2010  06:21 PM    <DIR>          Killing Time 
03/28/2010  02:57 PM    <DIR>          Lemmings
03/28/2010  02:57 PM    <DIR>          Luciennes Quest 
03/27/2010  10:45 PM    <DIR>          Mad Dog McCree 
03/27/2010  10:45 PM    <DIR>          Mad Dog McCree 2 - The Lost Gold 
03/28/2010  03:09 PM    <DIR>          Megarace 
03/28/2010  03:09 PM    <DIR>          Microcosm 
03/28/2010  04:05 PM    <DIR>          Myst 
03/28/2010  02:57 PM    <DIR>          Neurodancer 
03/28/2010  05:08 PM    <DIR>          Night Trap
03/28/2010  04:13 PM    <DIR>          Novastorm 
03/27/2010  06:23 PM    <DIR>          Off-World Interceptor 
03/27/2010  06:24 PM    <DIR>          Out of This World
03/28/2010  02:58 PM    <DIR>          PaTaank 
03/27/2010  06:25 PM    <DIR>          Primal Rage 
03/28/2010  05:09 PM    <DIR>          Psychic Detective
03/27/2010  06:27 PM    <DIR>          Return Fire 
03/27/2010  06:26 PM    <DIR>          Return Fire - Maps o Death 
03/28/2010  03:09 PM    <DIR>          Road Rash* 
03/27/2010  06:28 PM    <DIR>          Sample This! 
03/27/2010  06:28 PM    <DIR>          Sampler CD (Ver. A) 
03/27/2010  06:29 PM    <DIR>          Sampler CD (Ver. B) 
03/28/2010  03:09 PM    <DIR>          Samurai Showdown 
03/27/2010  06:30 PM    <DIR>          Sewer Shark 
03/27/2010  09:54 PM    <DIR>          ShockWave 
03/28/2010  05:12 PM    <DIR>          ShockWave 2 - Beyond the Gate
03/29/2010  11:09 PM    <DIR>          Slayer 
03/27/2010  09:56 PM    <DIR>          Space Ace 
03/27/2010  09:45 PM    <DIR>          Space Hulk - Vengence of the Blood Angels 
03/27/2010  09:45 PM    <DIR>          Space Pirates 
03/28/2010  02:59 PM    <DIR>          Star Control 2
03/28/2010  03:09 PM    <DIR>          Star Wars - Rebel Assault 
03/27/2010  09:46 PM    <DIR>          Starblade 
03/27/2010  09:47 PM    <DIR>          Stellar 7 - Draxons Revenge 
03/28/2010  03:09 PM    <DIR>          Strahl 
03/28/2010  03:09 PM    <DIR>          Street Fighter II Turbo 
03/28/2010  03:09 PM    <DIR>          Super Wing Commander 
03/28/2010  05:10 PM    <DIR>          Supreme Warrior
03/28/2010  03:04 PM    <DIR>          The Coven 
03/27/2010  09:50 PM    <DIR>          The Horde 
03/27/2010  09:51 PM    <DIR>          The Need For Speed 
03/28/2010  03:09 PM    <DIR>          Theme Park 
03/27/2010  09:51 PM    <DIR>          Total Eclipse 
03/27/2010  09:52 PM    <DIR>          Tripd 
03/27/2010  09:52 PM    <DIR>          Twisted 
03/27/2010  09:52 PM    <DIR>          Way of the Warrior
03/27/2010  09:53 PM    <DIR>          Who Shot Johnny Rock 
03/28/2010  05:11 PM    <DIR>          Wing Commander 3 - Heart of the Tiger
03/28/2010  02:59 PM    <DIR>          Wolfenstein 3D
03/28/2010  02:59 PM    <DIR>          Zhadnost - The Peoples Party 
               0 File(s)              0 bytes
              78 Dir(s)  688,275,968,000 bytes free
* = Copies that I actually have and ripped. Not a lot, obviously
Red = Games I think were really cool!

I think perhaps I might want to look at The Daedalus Encounter.

Some of these games I also have on other consoles. I have an actual copy of Gex for PS1, and a downloaded ISO for Win32. Oddly enough, it runs well under XP, and I don't even have to use the compatibility-layer for it. I can just run it and go. Woohoo! I have screenies to prove it.

Wing Commander III was great, and I have an actual copy for PS1, as well as Wing Commander IV. The video quality is better on the PS1. I also have an actual copy of Road Rash for PS1, and The Need For Speed, as well as Need For Speed 2. Then of course it gets ruined by any new incarnations of that, with perhaps the exception of Need For Speed In Hot Pursuit for PS2, that one was ok.

GEX was fine as well, until it was ruined by 3-D.

Also this is interesting: Top 5 3DO games voted.


*sigh*

edit

Yea I also have Brain Dead 13 for PS1 and Win32
Attached Thumbnails
Click image for larger version

Name:	GEX PC.JPG
Views:	14
Size:	52.6 KB
ID:	3200   Click image for larger version

Name:	GEX PC-2.JPG
Views:	17
Size:	31.2 KB
ID:	3201  

Last edited by Jeebizz; 03-29-2010 at 11:43 PM.
 
Old 03-29-2010, 11:51 PM   #1785
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
What am i doing now: Watching the big bang theory, saying WTF.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration