The collected works of vishnu - Page 3

I installed nekoware gmake-3.81 and now have a bright shiny new fltk! I am just as happy as though I were in my right mind... :mrgreen:

I'm looking at the second problem now, C++ was supposed to rid us of this type of macro nastiness, so I'll delete the macro and try reimplementing it with function overloading. But if it works it may only expose the next bad macro in a potentially unending chain... :cry:

EDIT: Just as I feared; dillo uses variadic macros throughout for message handling. The MIPSPro C compiler cranks through it just fine in c99 mode but the C++ compiler doesn't support c99 mode, for reasons that no doubt defy logical explanation... :(
hamei wrote:
C++ is pile of crap and the high-tech wizards bringing us this brave new world have the brains of a flea. What a bunch of incompetent morons. High-tech, a giant bowl of pigshit. This is ridiculous.

Indeed, gcc has supported variadic macros in C++ for darn near a decade, I suppose it must not be part of the standard or MIPSPro would have to support it as well.

As proof of principle I reimplemented the macros in css.cc and got it to compile. The first step is always the hardest, right? So doing it 50 more times should be a piece of cake... :lol:
Actually there's plenty else going wrong other than the macro replacements. I just mailed the dillo development list about one, which I will reproduce here just for funzies, line 557 in the nav.c file in the src directory:
Code:
The expression must be a pointer to a complete object type.

Bytes = fwrite(Client->Buf + Web->SavedBytes, 1, Bytes,Web->stream);
^


(The caret is supposed to be under the word "Client" in a fixed-width font).

I greped around for a while and it looks to me like Client is a pointer. How gcc can get away with compiling this sh1t is a mystery... ;)

Oh and for what it's worth I really like wxwidgets. I even bought the book. Someday I hope to actually learn it. Til then still hacking in the dreaded Motif... :lol:
robespierre wrote:
This may be a naive suggestion, but couldn't you use a C99 cpp pass using -P and run CC on that?

I don't think so, according to the manpage "cpp is a K&R C language preprocessor (not an ISO/ANSI C language preprocessor)"... :cry:

WxWidgets is a cross-platform application development framework, a pretty good one actually. Write once, run anywhere as long as "anywhere" is Windows, Linux/Unix or a Mac... :lol:
Well, as an application development framework wxwidgets has a ton of classes that take a lot of the grunt work from the coding. With regard to cross platform toolkits, I think Firefox is pretty close with XUL, though I really like the Motif add-ons they used prior to that. Ramiro Estrugo I think did most of the heavy lifting on that, and Chris Toshok and some others. One of the guys put "No more Motif widget programming for me" in his farewell post at ex-mozilla.org. Their comments about the forehead slapping weirdness of the Motif internals are hilarious. That was back in the day when TOG charged 50,000 dollars for Motif source code licenses. Before Mozilla went open source the PTB at Netscape made their engineers purge all the cussing from the code base. They weren't entirely successful. Another pretty good XP toolkit is TCL/TK and it's variants, Perl/TK for one. Also, Fox is starting to get really good. http://www.fox-toolkit.org/
hamei wrote:

Huh! GEOS... To quote Corporal Upham in "Saving Private Ryan," I never heard a that... :shock:

hamei wrote:
Modern interface programmers do nasty things with the rotting portions of a deceased male donkey :P

Speaking of which on my Solaris box at work they took away CDE and started making me use the Java desktop, what an unadulterated POS! It periodically just stops communicating with the monitor, keyboard and mouse and the only way to recover is to telnet in and reboot the sucker... :evil:
This document talks about resetting the VBOB when input transfers hang: http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=relnotes&fname=/usr/relnotes/ml_xtdigvid_dev

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
hamei wrote:
But it never locks up ! It's Unix ! Nothing to worry about, that's just the window manager freezing.
Ha ha, yup! I have to eat my own words, window manager freezes are not kernel crashes... :roll:

hamei wrote:
Doesn't that make you feel all warm and fuzzy ? :P
It does! Underneath those non-functioning console elements Slow laris is still sailing right along... :mrgreen:
Actually I'm working on that right now, I tried a couple of shortcuts that failed miserably or I might already be done. I definitely want to get dillo working as firefox 2 is getting beyond tiresome. I'm still not sure what the scope of the effort is going to be since they've done almost nothing to either describe or centralize their message system, but it does look like every fix is going to be custom so a one-size-fits-all template won't fit... :cry:

EDIT: Anybody know the MIPSPro compiler argument to get it to ignore empty If-else code blocks?
Well, I'm not sure a billion pages of tracking data is useful to even the most sophisticated data mining program, if there is such a thing. But even though google has all this information about what their users do when they go where they go, they still don't know who their users are. That's why they're so PO'ed at Zuckerberg, he did what google couldn't do, which is figure out a way to get the users to willingly identify themselves...
You no gots ProDev Workshop? Type `cvd programname` to start it in the graphical debugger, much more efficacious...

EDIT: Well alright, I did it myself, it's crashing in main.c in a call to malloc, which, for the non-C-programmers among us is a system call to allocate memory to the program from the free store:
Image
Gung hay fat choy! :mrgreen: :mrgreen: :mrgreen:
Now that's just freakin' beautiful! 8-)

Which is not something I can say about the Dillo code... :lol:

Just kidding! Still slogging through it, one c++ file at a time. Gotta couple of things I need to post to their development list about, but my subscription attempt seems to have failed... :roll:
I wish I'd thought of using Guh-Noo make on my IRIX box when I was struggling with this problem: http://unix.derkeiler.com/Newsgroups/comp.sys.sgi.misc/2004-10/0039.html

fltk 1.3 is in nekoware? That must be new; the most recent version I saw when I started looking at this Dillo stuff was 1.1.7, IIRC.

Anyway, yes I am ifdefing out all the variadic macros in Dillo and replacing them with overloaded functions that, at this point, do nothing. I'm just trying to get it to compile. It shouldn't be an issue because Dillo only uses variadic macros for it's internal message system, which the Dillo authors say is optional. So the current status of the effort is: All of the C files are compiled and about half of the C++ files. As I mentioned earlier in the thread there are (so far) three C++ files with code outside the variadic macros that cause MIPSPro to puke. It's on my todo list to interface with the Dillo authors about those, on their development mailing list. So anyway, I'll update more status when there's more status to update... :mrgreen:
Oh yeah! I installed that after you convinced me to stop hacking on the Dillo makefiles trying to get them to work with IRIX make... :oops:

Once I get Dillo compiled I'll tardist it up along with fltk1-1.3 and upload them to nekoware's incoming... 8-)
Great catch! Looks like they hacked xv to put "FBI IMAGE ANALYSIS" in the title bar, and that monitor looks like it's running at 600x480 which was low even by 1995 standards...
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
AbFab! :P
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
Binary revision control is a tough nut to crack... :cry:

The patience of the software teams at SGI astounds me - I'd have gone on strike for them to rewrite gendist and swpkg to use more than one CPU if I'd have been packaging IRIX in the R3000/R4000 days.
Emblematic of the time; I remember Jamie Zawinski said there was time to take a nap while waiting for Netscape 0.93 to compile in 1994...
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:
Nobody's picked up the ball on this evidently...

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
Is the game going to have the part where the T-Rex shreds Lex and Tim's SUV? Cause, that was cool. :mrgreen:

Oh BTW did anyone else see the report that just came out about the clamping strength of T-Rex's jaws? The same load as being sat upon by a "medium sized elephant," in NPR's typically weird conjure-up-an-image phraseology...

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
Darn decent of ya! :mrgreen:

Did he say anything about when he might start considering releasing Equinox as source? :?:

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
Or, I wonder if since he worked as a programmer on Maya he doesn't want to invite any complaints from Autodesk about how Equinox does things... :shock:

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
Should be a pretty healthy test of the MipsPRO c99 mode... 8-)

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
smj, does the Octane you gave him have MIPSPro 7.4 installed? To compile in c99 mode he has to pass the -c99 flag to the compiler...

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
Quote:
I'm pretty sure that someone that can write such a piece of software can read the man page of his compiler. Also, with mipspro, c99 mode cannot be used with C++, so that may not even be an option...


Shouldn't be an issue, from the equinox website:

To ensure high performance and low memory overhead, EQX and the API are written in C or, to be more precise, in: object-oriented C99 with dynamic typing and runtime reflection (2).
However, plugins can be written in either C or C++.

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
From the sublime: http://www.youtube.com/watch?v=cmgAjkxq4Gc (Danny Gatton "Sleepwalk"). :mrgreen:

To the ridiculous: http://www.youtube.com/watch?v=QmgjiUTFs3w (Teisco Del Rey, "King of the Guitorgan"). :lol:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
That is amazing! :shock:

What'cha gonna do with it? :mrgreen:
Can't fault hamei for the courage of his convictions! :twisted: But regardless of that he is also one of the most generously helpful members we have; I for one can never hope to repay him for all the kind assistance he has sent my way... :mrgreen:

_________________
Choosing stones, big enough to drag me down...
When it comes to text editing, by which I'm pretty sure R-ten-K mean "programming," in my case I find my productivity drops to zero if I don't have a display that can do at least two 80-column files side-by-side at at least size 10 font, which means I need at least 1900 pixels horizontally, and thus I've never been been able to be productive in my day to day work using any laptop screen I've ever been exposed to...

_________________
Choosing stones, big enough to drag me down...
vishnu wrote:
What'cha gonna do with it? :mrgreen:
bjornl wrote:
What do you mean? There are dozens of household uses. Heating the garage, testing earprotection, weightlifting. Just to name a few... :)

Ha ha, yet more sgi hardware put to it's ultimate best use... :lol:
hamei wrote:
If we got you a screen that was 2860 pixels wide, would you create 50% more good code per day ? :P

Either that or we'd stumble yet again across the law of diminishing returns... :lol:
hamei wrote:
Hate to tell you this, vish, but you're obviously not Manager material. You have a basic grasp of reality :(

I know! I can tell because I stopped believing in reality a long time ago but it never went away... :shock: :lol:
hamei wrote:
Look to Mr Greenspan for your inspiration, that guy is a true master of Business Logic. Got a degree, too. He must be smart !
Close; but cut from the same cloth, my CEO is Linda Hudson: http://en.wikipedia.org/wiki/Linda_Hudson I've met her a couple of times, she's very pleasant, probably because she's an up-the-hard-way engineer not a Havahd Business grad, to borrow a phrase from your patios... :mrgreen:

Anyway, she announced another round of layoffs on Thursday so I'm definitely keeping my burger flipping skills up to snuff for the foreseeable future... :shock:
I'm like Carl Sagan, when it comes to religion I don't want to believe I want to know...
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:
Have a secret weapon, though :-)

A jar of olives? ;)
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:
hamei wrote:
What does she do, organize expeditions to steal a pickanick basket ?
Indeed! She's smarter than the average bear... :lol:

hamei wrote:
What do you do on Mondays, vish ? Get on the plane for the 130-site obstacle course, with Ms Hudson carrying the flag ?
Even if we did do that, it still wouldn't be good enough for our corporate overlords... :roll: It's our responsibility, as employees, to make whatever sacrifices need to be made in order for the company to be successful! :shock:
CDE, nice! No Java Desktop System for you? :roll:

The only reason I've still got my Blade 2500 is for two programs: Rational Rose 2002 and Pro/ENGINEER Wildfire 4-point-something-or-other.

I know; a coder and a CAD monkee, I'm weird... :lol:

As an aside, last time I checked (fairly recently) IBM was still selling Rose for Unix. Single seat licenses were in the neighborhood of $10,000 US. :shock:

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
If they'd finished the hole in Texas it would have been found 10 years ago, at least.
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:
No way man, Rose is the source, it'll change your life... :mrgreen:

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
Yowza! :shock: She blazed a trail, didn't she? One that many have tried to follow but none have yet to successfully... :mrgreen:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...