The collected works of Martin Steen - Page 2

henrycault wrote: run2.sh on my 2 best machines

Oh and another strange behavior, it seems i lose a router link when second test starts... Doesn't seem to affect the system, but it always shuts this link down each time it starts the second test of the run2.sh
front_link.jpg


That is indeed very strange. There is no network-code in the program.
canavan wrote: Chromewave crashes my O2 r7k 350 even when I'm running it remotely, i.e. it's obviously a problem with the graphics, not the program itself.

For a little bit of extra performance, consider the enclosed patch to chromewave's makefile.



Thank you! I see, there are many compiler switches to explore.
Does the -IPA switch bring a decent performance gain?

Best regards,
Martin
sybrfreq wrote: Another nekochan member helped me via PM. It's a common problem, the environment variable LD_LIBRARY_PATH, mine was empty for some reason.

You learn something new every day when the lesson is beat into your brain :D


Nice to hear that it works now!

Although the use of LD_LIBRARY_PATH is controversial.
(Google for "LD_LIBRARY_PATH bad")

Best regards,
Martin
Hello,

I have an external DVD-Rom drive (HP C4315A) that I want to connect to
the Octane.

The Octane-side is no problem, but I don't know what connector I need
for the drive-side. Below is a photo of the port on the drive.

The port looks like a centronics port, but it has 68 pins and is smaller,
but it's NOT a "VHD centronics plug". I have already two cables that dont
fit.

Has anybody a clue what kind of cable I need?

Best regards, Martin
recondas wrote: As it was explained to me, that drive wasn't intended to be connected directly to an external SCSI cable - but inserted into a chassis that provided the other half of that connection. There's a blue lever on the bottom of the DVD-ROM case that was used to cam it in and out of place into that chassis.



Thank you very much! I was wondering what the blue lever is good for.
Looks like I have to do some handicrafts.

Best regards,
Martin
I sawed a hole into the backside of the case and connected the cable
with an 68/50 pin adapter to the drive.

The DVD-rom drive works fine now with the Octane

Thank you again,
Martin
Red alert!

Nasty villains try to steal our fuel cells/triangles/chicks/whatever!
You are earth's only hope (since Duke Nukem is waiting for christmas)!

http://www.thiefs.faktor0.de

- a tribute to the arcade classic Rip Off -

Thanks to Geoman for testing.
deBug wrote: A new Vector game for my SGIs, how COOL is that! (Tempest is still one of my favorite Arcade game)
I'll check it out during the Christmas holiday.

Thanks for producing cool stuff to our colored boxes Martin!

//Harry



You're welcome!

In 1982, I saw the game "Rip Off" at a funfair. Since then, I wanted to do a remake.

I hope there are no problems with the game. It was testet on my Fuel (V10) and Octane (ESSI) and
Geoman's Octane2 (V12). The game should run on any Octane/O2 or better. It uses the SDL instead of
GLUT, so you need the Nekoware SDL.
(only the basic SDL is needed, see "readme" on the homepage).

Best regards, Martin
jaezeen wrote: Hey, Must say this is a great site and resource. I'm new to the world of Irix. My first play toy is a 2100 with 8 350 cpus. I've been banging my head trying to figure out why this script will not run. All files have been unpacked into the same directory and have full permissions. However, upon execution it keeps coming back with frects0088.txt cannot open. And a few lines saying not found but I'm not sure what that is in ref to. I can open the .txt in an editor so it's not corrupt and I've replaced all the files several times. It's probably one of those silly simple things I'm not aware of yet...Please help...


Welcome to the forum - you start with a "big iron"!

What happens if you just type ./run1.sh
(without the leading "sh"?)

Greetings,
Martin
jaezeen wrote: ./run1.sh is what I started with but that returned me a command not found. However, success! Since I'm not that practiced at console I thought it would be easy to unpack the tar file on a windows box, I then burned the files to cd and dumped on the Irix box. Something must have gotten lost that way. I burned the untarred file onto disk and and with a little reading in the man pages unpacked on the SGI and then everything worked. However, it seems to be only using primarily one cpu. The first run was on 4 and then the second on 6. So the times where pretty slow? Thanks.


Some programs (e.g. FTP-clients) change the line-endings of textfiles. Looks like this happend
while unpacking.
Windows uses a different encoding for lineends (0x0D 0x0A) than Unix (0x0A).
Most Unix-shells don't like the Windows lineends. You can tell if a file has
Windows lineendings by opening it in the vi-texteditor. The text is full
of "^M"-characters in Windows-textfiles.
I have a tittle tool ("unixlf") to convert windows-textfiles to unix-textfiles.

About the speed: try to run "run2.sh". It seems that Irix doesn't uses all CPUs when an
application is running too short. Unfortunatelly, I don't have a multi-CPU SGI. The
program was developed with a Phenom-Quadcore and Ubuntu/64. With Linux, all
CPU-cores running full speed from the start.

Greetings,
Martin
plener wrote:
i am really new to all this connecivity--i sort of really only know the words and the concepts
i have read till my eyes are red on all this and am now against a wall

all i want to do is get a file from one machine into my octane
the are both plugged into a router and i can ping both ip

one machine called mac ( my machintosh) has a ip of 192.168.1.100
my sgi is called octane with ip --will get it again--excuse this line and data

my mac has a shared flder whre anyone can red write it is called shared

why an i getting error commnd not found on my sgi

loged in on sgi as root

ftp://192.168.1.101--command not found (using consil on sgi)
i appreciate all your help
peter


You need a ftp-server running on the machine you want to connect to.
So, if you want to connect to the Mac, there must be a ftp-server
running on the Mac.

If the ftp-server is running, open a shell on the SGI and type "ftp 192.168.1.100"
(without the quotation marks).
Then the ftp-client of the SGI connects to the ftp-server on the Mac.
Type in your username and password.

P.S. It's probably easier to run the ftp-server on the SGI than on the Mac and
use "FileZilla" as the Mac-client program.
I use a network storage disk (that's a simple external disk with an ethernet port)
as an ftp-server.
shadowless wrote: Hi,

Experiments starting with those conducted by the scientist Dr. Ernest Rutherford using alpha particles show that atoms are mostly empty space.

So in simple terms are we compose of 99% space as well? Any scientists in the midst to clarify this?

Cheers


But what is space? What is matter?

Everything is a kind of "forcefield", interacting with other forcefields (or not).
The atomic nucleus is a forcefield and so are the electrons that belong to
to atom. And between them is another forcefield.

I'm not a scientist, but that's my explanation : )
Just for teh lulz:

http://www.faktor0.de/sslow.gz
(single executable file compressed with gzip)

To start the program:
gunzip sslow.gz
chmod 755 sslow
./sslow

------------------------------------------------------

Required Nekoware SDL packages
(same as for "thieves"):

neko_sdl-1.2.13.tardist
neko_libiconv-1.11.tardist
neko_expat-2005-01-28.tardist
neko_gettext-0.17.tardist
neko_glib-2.12.13.tardist
neko_libcroco-0.6.1.tardist
neko_libxml2-2.6.27.tardist
neko_zlib-1.2.3-r1.tardist
neko_ncurses-5.7.tardist
neko_readline-4.3.tardist
snowolf wrote:
Very cool! Is the source code available by any chance? :]


Not yet. I have to clean up the code before I show it to the public.
squeen wrote:
On the Onxy with default gamma, the spheres are a bit too white. Is there a command-line option for gamma correction?


You're right!
I must add some commandline-options. If I can manage it, I do an update this weekend.

squeen wrote:
Also, have you thought of submitting this to Xscreensaver?


No. But thank you for the hint!
squeen wrote:
On the Onxy with default gamma, the spheres are a bit too white. Is there a command-line option for gamma correction?


Unfortunatelly, the SGI implementation of SDL does not support SDL_SetGamma.

But you can change the size and the number of the spheres now with two new
commandline-options:
Code:
-num <n> - set number of spheres (2..512) default=64
-size <s> - set size of spheres (0.2 .. 5.0) default=1.0


Example: ./sslow -num 16 -size 0.5

The new executable is here:
http://www.faktor0.de/sslow.gz

There is also a soundtrack for the program to get you into the right mood:
http://www.faktor0.de/music/slow_spheres.mp3
(ca 15 minutes of ambient noise, size = 14MB)
canavan wrote:
A nekoware-style tardist.


Wow, thanks!

Since I never learned how to make a tardist, I am happy if somebody is doing it!
:-)
agkbill wrote: Very nice, works great on my Fuel.

But I can not find how to stop the program. :shock:
It feel a bit hard to reboot every time.


Regards.
/Christer


Escape-Key doesn't work?
ritchan wrote: http://www.engadget.com/2010/09/18/intel-wants-to-charge-50-to-unlock-stuff-your-cpu-can-already-d/
Would've thought you guys would have a thread about this up and going already, what do you guys think?


There is a rumor that the only difference between a professional graphics card (NVidia Quadro, ATI FireGL) and
a consumer-card is the BIOS.

So, theoretically, you could upgrade a cheap Geforce-card to an expensive Quadro card just by
changing the BIOS.
sybrfreq wrote: edit again. neverball/neverputt is doing it too!


Hmm. Both programs "thiefs" and "sslow" use the SDL-library, and so does Neverball (i guess).
Looks like there is an issue with SDL on your machine.
Do you know Inkscape?

http://inkscape.org
jan-jaap wrote:
porter wrote: I must admit I am not impressed by the Lion OS installation strategy, unless I am mistaken, there is no image for either USB or DVD.

http://reviews.cnet.com/8301-13727_7-20 ... tion-disc/


I made an USB-stick with Lion using a german instruction page:
http://www.netzwelt.de/news/87609-anlei ... ellen.html

It works nice with an 8GB stick.
Oskar45 wrote: Although I've been for 30 years always on the IBM side, I now contemplate to get me an iMac as well. What would you recommend? Please, no beginners stuff :-) It should really be up to date - I most certainly don't want to replace it next year [but then again, my PS/2 still creeps along fine - not sure that everyone on here remembers the times when there where no personal computers at all and you still could purchase milk in glass (!) bottles]...



Every new iMac you buy today is powerfull enough for every "normal" office task.
The new iMacs have already "Sandy Bridge" Intel CPU and AMD HD Graphics,
so they should be sufficient for at least 3 to 5 years.

Which one you choose depends mainly on which screen size you want.
New iMacs have either 21" or 27" displays.

P.S. you can still buy milk in glass bottles (at least in germany)
Oskar45 wrote: Check this...


It's a very nice picture! Whats the name of those birds?

I sometimes do pictures of vermins, because my wife works at a
government institute for crop science:
yetanother**ixuser wrote: beer and metal :lol: and needs excessive derusting


It looks like a part of the bridge of the Enterprise from Star Trek, after the ship
crashed on an alien planet.
jan-jaap wrote:
R-ten-K wrote: wxWidgets ;-)

Used it in the past. Start-up company, no money, QT was still commercial.
It was a nightmare. Implementation was inconsistent or even incomplete across platforms.

We use QT where I work now. It works very well. The last QT version supported on IRIX is 4.5.


I don't like wxWidgets too. It looks like a bad MFC-clone.

If you have a small project and only need the user-interface, go for FLTK.
If you have a huge project and need network, threads and stuff, go for Qt.
If you have a game and only need OpenGL, sound and joysticks, go for SDL.

All of the three work on Windows, Mac, Linux, Irix (at least).

http://www.fltk.org/
http://qt.nokia.com/products/
http://www.libsdl.org/
hamei wrote:
jan-jaap wrote: We use QT where I work now.

But it looks like something designed by kindergarteners for kindergarteners So if "cross-platform" means everyone is reduced to a five-year-old, QT gets the nod :D



You never used Qt, right?
We use Qt for large cross-plattform-projects and it works great.
Oskar45 wrote: Any experiencies? Want to buy it as an X-mas gift but am unsure (€ 160.00). I only read books etc. on my iPad.


A friend of mine has a kindle (without keyboard).
It's much better for reading books than the iPad. Because of the passive display, you can
read even in the brightest sun and the letters are very sharp.

I also saw a keyboard-kindle at a local dealer (Karstadt).
Although the keyboard is quite small, typing works good.

What the kindle really misses, is a touchpad. Especially when
your are used to an iPad.
http://www.top500.org

You mean this site?
BSDero wrote: Hi all!!

Is this data type uint64_t supported in O2, and previous SGI machines?
I'm trying to so something portable across SGI machines, but I´m not sure if this is supported in old machines.


Thanks in advance, guys!!


If uint64_t is supported depends on the compiler, not on the machine.

If you use uint64_t with a 32-bit-compiler, the 64-bit-arithmetics is
emulated with 32-bit-commands.
BSDero wrote: What if I'm building a kernel module using uint64_t in a Fuel/Irix 6.5.30?

It's compatible backwards to, maybe O2 with 6.5.x?? Would it run on this machine?

Will be binary compatibility at kernel/driver level?

Thanks in advance guys


I have no experience with building kernel modules. Are you building
a 32- or 64-Bit Kernel?

If you use the "-mips4" compiler-flag (I asume you have the MipsPro-compiler),
the generated code uses the full MIPS IV instruction set, which is supported
on R10000, R5000 and R8000 systems. O2 has a R5000, AFAIK.
http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/u_man/cat1/cc.z
When you call "changeInt(myint)", a copy of myint is made.
When you call "void changeArray(array)" a pointer to array is passed to the function.

That's why the content of the array is changed.
BTW:

The Cube-Demo I made some years ago is still online. There is also a 3DS-Model
of the cube.

http://www.martin-steen.de/sgi/cube.html



I wonder what Operating System Tim Berners-Lee would use today.
OMG I started a flamewar!

I don't care if Mac OS/X is a "real" Unix. Unix is not the holy grail. As long as I can use
all that Posix-stuff and do "./configure, make, make install", it's Unix enough for me.
Another demo I wrote a few years ago is the "Cube"-Demo:
http://sgi.faktor0.de/cube.html

The "Chromawaves" demo is also still online:
viewtopic.php?t=16721986

-Martin