The collected works of hamei - Page 42

jan-jaap wrote:
OK, you have configured a working DNS server in /etc/resolv.conf. Name resolution using DNS works...

Check
Quote:
... but are you using DNS are a source for host name resolution? Other sources (LDAP, NIS, files, ...) exist too.

files, dns

As little as possible in files, if the router/dns server does most of it I don't have to mess with hosts files all over the place.
Quote:
Your sources are configured in /etc/nsswitch.conf. This is how mine looks:

Almost exactly the same except :
Code:
hosts:                  nis dns files

for me is
Code:
hosts:                  files dns

Quote:
The crucial bit here is:
Code:
hosts:                  nis dns files

Host name resolution tries NIS first, then DNS, then files (/etc/hosts)

Check
Quote:
Most people can probably eliminate 'nis' here, and/or swap the order of the 'files' and 'dns' entries.

double check

Also ...
Code:
ip dns server

--More--

ip name-server 8.8.4.4
ip name-server 176.34.53.14
ip name-server 4.2.2.2

--More--

ip host cisco xxx.yyy.zzz.001
ip host gateway 222.333.444.99
ip host host_one xxx.yyy.zzz.002
ip host host_two xxx.yyy.zzz.003
ip host platform.twitter.com 127.0.0.1
ip host printer_one xxx.yyy.zzz.201
ip host printer_two xxx.yyy.zzz.202


Everything works lovely, then the whole dns thing falls into the pit, then an hour later it all works lovely, then it will quit again. No change whatever from me (although sometimes I'll get antsy and clear the cached host entries on the dns server, which seems to help. But that might be a coincidence.) Local and first-stop dns is done on the router (cisco). Lots of poisoned dns entries even tho I am not (supposedly) using their dns servers.

If I could figure out what the heck they are doing I could either get around it or give up. But just having it screw with me pisses me off and wastes a lot of time, too.

_________________
waiting for flight 1203 ...
pierocks wrote:
Does this happen with other hosts, or just pop.gmail.com?

Many others but gmail is the only one I care about. I can live without youtube and facebook. In fact ....

I wouldn't care about gmail either but have too many old mails, addresses, people who have my info ... not going to change that just for the harmonica society.

I can't get pissed at them for messing with google, google is essentially shit and should be messed with. It just happens to inconvenince me :P

Admittedly, having all the dynamic ip's poisoned can be a pita sometimes also.

_________________
waiting for flight 1203 ...
vishnu wrote:
"cisco" routes your subnet to "gateway" and runs a caching-only nameserver? What nameservers does cisco query when you ask it something that's not in its cache?

Excactly ! But I don't think that cisco is getting good ip's even though it is supposed to be querying safe upstream nameservers. I have tried several : currently one is a google server (contributing to the Evil Empire, I should be ashamed of myself), one is maybe OpenDNS ? and the last is 4.2.2.2, the Universal DNS Server.

I can and have changed them around tho, with no real improvement. How can I tell whence the internet addresses are really originating ? One thing that throws me off is the < nslookup >, <ping hostname : "can't find hostname"> sequence. If I do an nslookup and the cisco returns an ip, why cannot Mr O350 find that ip five seconds later for a ping ?

There is a rumor that enforcing tcp queries rather than allowing udp requests fixes this problem but I am skeptical .... any thoughts on that ?

Yes, personal vpn's have been useful in the past but they are problematic at this time. Nor do I think IBM will give me a corporate vpn account so I can get my mail easily :)

_________________
waiting for flight 1203 ...
vishnu wrote:
I thought Autocad was a pain in the ass until we switched to Pro/E, then I found out what a pain in the ass really is...

hey now hey now hey now ! The Pro she be okay le ! They made the SGI Toaster with it, can't be all bad !

Wildfire is much more Windows-y and (hate to admit it) easier to use. Not so many Done. Done done done. Done done. Done. sequences :)

I actually had a Cadkey 6 for Solaris, but no Solaris to run it on. Wish I had it today :(

_________________
waiting for flight 1203 ...
diegel wrote:
Uploaded a new package of neko_pango-1.28.4 to incoming ...

Oh great, another package clogging up /beta !

Just kidding, thank you diegel. I'll walk point : installed it, seems good as far as I can tell, Fireflop runs same, looked at a couple other pango-users, they seem good, no negatives to report, maybe I'm premature but one vote for current (gotta clean that beta mess up !)

_________________
lemon tree very pretty and the flower very sweet ...
duck wrote:
Sorry to hear the dragon of misfortune has visited you, hamei.

More like the dragon of exasperation :) They do this on porpoise and the solutions are worse than the problem.

Google I don't care about that much. Yes, it's an okay search engine but way too much baggage and the searches themselves are becoming less and less relevant.

But the mail is annoying. If you run a mail server from China, most of your mail gets bounced. "It's from Chiiina, must be spam !! Pita.

So you give up and use gmail. What happens then ? "You use google, we're going to fuck with you, hrr hrr hrr."

Can't win for losing.

Quote:
Personally I would not test with an IRIX system, nsd is a beast of black magic that previously has interfered with my happiness.

It is strange that a Windows computer on the network acts differently. Not correct, just differently bad.

While an iPad, going through the same router, had no problems. That day, at least.

The intent is Microsoftian : make it so miserable to use that no one will. And I can understand that, but it's an annoyance.

Quote:
Is some foul demon eating your udp packets, though? Looking at the man scroll, it seems that IRIX' traceroute uses ICMP packets instead of the traditional UDP, so working replies might not be an indication that it's limited to DNS queries.

After some frustrating research, it looks like this is maybe what is happening :

I can use the dns server I want. Normally that works correctly. This is designed to fool us proletarian suckers. If you grab the Spinrite tools (yes kids ! We will be testing our DNS today ! DNS, as you know, is one of the main building blocks of the Internet ! ... Steve Gibson hasn't changed one iota in thirty years, bless his pointy little head) and also the Google name server tools seems to work correctly. The google tool mentions all the poisoned dns tho ... how can that happen ? they are getting returns from their own name servers ! how ?

Maybe Cisco IDS. If you look at a traceroute there's one huge jump right before it leaves the country (and travels halfway around the world for fun) :
Code:
urchin 48% traceroute hobbes.nmsu.edu
traceroute to hobbes.nmsu.edu (128.123.34.6), 30 hops max, 60 byte packets
1  ceesco (xxx.yyy.zzz.333)  1 ms  0 ms  0 ms
2  gateway (254.143.032.555)  2 ms  1 ms  1 ms
3  210.22.66.93  6 ms  3 ms  3 ms
4  112.64.243.170  5 ms *  34 ms
5  139.226.193.53  100 ms  100 ms  102 ms
6  219.158.21.241  100 ms  98 ms  97 ms
7  219.158.5.126  45 ms  48 ms  45 ms
8  219.158.97.62  35 ms  41 ms  42 ms
9  219.158.29.218  334 ms  335 ms  334 ms
10  sjp-brdr-04.inet.qwest.net (63.146.27.85)  328 ms  324 ms  328 ms
11  abq-edge-06.inet.qwest.net (205.171.151.74)  370 ms * *
12  63.225.11.106  367 ms  366 ms  363 ms
13  206.206.145.49  363 ms  371 ms  381 ms
14  192.65.78.198  362 ms  366 ms  369 ms
15  dc-gate-vlan100.nmsu.edu (128.123.100.35)  374 ms  372 ms  370 ms
16  hobbes.nmsu.edu (128.123.34.6)  379 ms  377 ms  375 ms

If you use the Chinese name servers, they are close by but pre-poisoned. So you go for one in the Free World. The theory is, you think you are using the name server that you ask for. And you are. But when you hit a keyword, the friendly neighborhood Cisco Intrusion Detection System somewhere around 219.158.29.218 bounces back a bad address to your requesting server, even as it lets the query continue happily down the road. Or ditches it into the drink, I know not which. The requesting host accepts the first piece of junk that comes back, naturally, and off we go to the wrong place.

Correct me on this but it seems that if you force tcp rather than udp, would the requesting host wait for the correct address rather than assuming the first thing that just came back via udp was the right answer ? Are there any functional secure public dns servers that encrypt or otherwise protect the receiver from poisoned dns ?

There's a software project for someone - an encrypted dns server running on a non-standard secret port ... hmm.

What was confusing was that it seemed like I was using a good name server instead of the crap China Telecom tries to feed you. And I was ... but they can bounce back wrong answers even if you are using a different dns server. Without it being obvious, either.

That still doesn't answer another mystery tho - when this happens (I believe it occurs when they are messing with their poisoning system and things get out of wack) I can (sometimes) do an < nslookup hostname > and get a cached result back instantly. But an immediate following < ping hostname > returns "Host not found" or something to that effect. Happens from both Irix and Windows. WTF is the story here ?

The Internet in China is a never-ending adventure :(

Quote:
Look, now you made me write like you do :-P

I'll tell my Mom she scored another victory :D

_________________
waiting for flight 1203 ...
The nekoware postgresql is 8-something (I think) and works great. I used it for several years (even updated once or twice) with a variety of applications that were used on a daily bassis by a group of ten or twenty people. I also compiled (MIPSPro) a newer version of postgresql a few times and that worked also but wasn't really worth the effort. Everything worked the same, what the heck ..

About "modern", kind of funny that you'd be happy with a totally antique compiler (gcc has been considerably improved over the years) while struggling to get a "modern" version of a program that hasn't changed much. Up to you, but fifty cents says the nekoware 8-something postgresql kicks ass over your 9-something compiled with an antique gcc.

Plus all the caveats which Pymble just mentioned ... it's probably fun but most likely you're just bringing yourself grief.

_________________
waiting for flight 1203 ...
andarm16 wrote:
This is an experimental setup, I wanted to see if it worked, before I installed the nekoware compiler. I'm also experimenting with replication, so the version has to be the same major version as the one on my main IBM server for it to work.

A caveat : you can't safely share libraries between MIPSPro binaries and gcc binaries. So using the rest of nekoware with a gcc postgresql is going to be a less than salutary situation. At the very least you will want to also compile the libraries which postgresql requires with gcc - krb5, libiconv, libxml2, openssl, readline, zlib. Then you can't safely use those with any other nekoware applications. Those are pretty common libraries.

So if you don't want to use any other nekoware, go for it. (Or you could do a static postgresql.)

Generally, on Irix, you want to avoid gcc. This has been discussed to death elsewhere here.

_________________
waiting for flight 1203 ...
foetz wrote:
before this turns into a "which cad do you like best" thread, how about posting a few pics and some info about an old irix cad program?

You just mis-spent my afternoon :D This isn't a screenshot and it's on an HP workstation but uses the dials and buttons and a digitizer and the application was available for Irix. A demo is on the Hotmix 18 CD ... but not the demo itself, a link to the demo. I've been hunting for years for the Real Thing ... there's got to be one out there somewhere.

Still, it's vintage and that granite ball thingy floating in midair screams SGI :D
Attachment:
me30.jpg
me30.jpg [ 31.01 KiB | Viewed 657 times ]


foetz wrote:
assuming skills are there ...

Yeah. Search for "Oakland Bay Bridge" and see what you come up with ... they built the Golden Gate bridge in under five years in the thirties with slide rules, but that was before the invention of the MBA.

_________________
waiting for flight 1203 ...
andarm16 wrote:
I only posted this here as a kind of howto, if anyone else wanted a similar environment, they'd have a place to look for instructions

Thank you for the effort and information but the reality of the situation is, it would be a lot more helpful to get postgresql 9 running in a nekoware environment. A howto of mixing gcc applications with MIPSPro applications is a how that one doesn't want to to. Seriously.

_________________
waiting for flight 1203 ...
robespierre wrote:
... nslookup uses its own internal resolver, not the system resolver library...

Ah ! Makes good sense. Another dirty little secret of the innards of Eunuchs :D Thank you.

_________________
waiting for flight 1203 ...
smj wrote:
Much better.

If you haven't already, can I suggest that you grab diegel's companion-pango (about two threads down) ? It makes a significant difference.

_________________
waiting for flight 1203 ...
ShadeOfBlue wrote:
This is true only for C++ code, you can mix C code without any problems, so:

MIPSpro C program + GCC C libraries = ok
MIPSpro C++ program + GCC C libraries = ok
GCC C++ program + MIPSpro C libraries = ok
MIPSPro C++ program + GCC C++ libraries = not ok
GCC C++ program + MIPSpro C++ libraries = not ok

Thanks for the clarification, Shade ... for me, it's simple rules for simple minds : don't mix the two :P

Doesn't much matter in this case tho, looks like the commuuuuuunity got its greasy paws into Postgresql 9.2.4 ->
Code:
checking thread safety of required library functions... no
configure: error: thread test program failed
This platform is not thread-safe.  Check the file 'config.log' or compile
and run src/test/thread/thread_test for the exact reason.
Use --disable-thread-safety to disable thread safety.

Oh right, I forgot that Irix isn't thread-safe.

Code:
cc-1020 cc: ERROR File = informix.c, Line = 97
The identifier "CDECIMALTYPE" is undefined.

if (risnull(CDECIMALTYPE, (char *) arg1) || risnull(CDECIMALTYPE, (char *) arg2))
^

cc-1020 cc: ERROR File = informix.c, Line = 138
The identifier "CDECIMALTYPE" is undefined.

rsetnull(CDECIMALTYPE, (char *) result);
^

cc-1020 cc: ERROR File = informix.c, Line = 204
The identifier "CDECIMALTYPE" is undefined.

rsetnull(CDECIMALTYPE, (char *) np);
^

cc-1020 cc: ERROR File = informix.c, Line = 205
The identifier "CSTRINGTYPE" is undefined.

if (risnull(CSTRINGTYPE, cp))
^

cc-1020 cc: ERROR File = informix.c, Line = 251
The identifier "CDECIMALTYPE" is undefined.

rsetnull(CDECIMALTYPE, (char *) np);
^

cc-1020 cc: ERROR File = informix.c, Line = 252
The identifier "CDOUBLETYPE" is undefined.

if (risnull(CDOUBLETYPE, (char *) &dbl))
^

cc-1020 cc: ERROR File = informix.c, Line = 273
The identifier "CDECIMALTYPE" is undefined.

rsetnull(CDECIMALTYPE, (char *) np);
^

cc-1020 cc: ERROR File = informix.c, Line = 274
The identifier "CINTTYPE" is undefined.

if (risnull(CINTTYPE, (char *) &in))
^

cc-1020 cc: ERROR File = informix.c, Line = 295
The identifier "CDECIMALTYPE" is undefined.

rsetnull(CDECIMALTYPE, (char *) np);
^

cc-1020 cc: ERROR File = informix.c, Line = 296
The identifier "CLONGTYPE" is undefined.

if (risnull(CLONGTYPE, (char *) &lng))
^

cc-1020 cc: ERROR File = informix.c, Line = 387
The identifier "CSTRINGTYPE" is undefined.

rsetnull(CSTRINGTYPE, (char *) cp);
^

cc-1020 cc: ERROR File = informix.c, Line = 388
The identifier "CDECIMALTYPE" is undefined.

if (risnull(CDECIMALTYPE, (char *) np))
^

12 errors detected in the compilation of "informix.c".


Stupid fucks ... there goes PostgreSQL, down the toilet. Use whatever you like to build it, andarm16, it's garbage now anyhow. Irix "isn't thread-safe" ... I'm surprised those idiots can remember to breathe.

_________________
waiting for flight 1203 ...
canavan wrote:
They probably just failed

There. Fixed that for you.

Fucking idiots is what they are. If this were Tuxcart or a little utility to draw ascii art or some cute thing to play a sound when you click the dumpster, okay. But a "robust, capable, scalable, reliable database server" and the fools can't even get the most elementary steps right ? They don't bother to test for anything beyond three varieties of their beloved home-made crap yet call it "cross-platform" ? Irix is not thread-safe ? What a crock.

I don't care if it's a Lamborghini, if both front wheels fall off leaving the driveway all that fine Corinthian leather inside is pointless. This project is now officially a P.o.S.

Another one bites the dust :(

_________________
waiting for flight 1203 ...
ClassicHasClass wrote:
Firefox has run off the rails, though. It doesn't look like they're going to return to Earth any time soon. .

There. Fixed that for you :D

_________________
lemon tree very pretty and the flower very sweet ...
Perhaps I found a problem which could use some confirmation : in Motif, the white typing area is blocked at a certain size. On my screen it's about half-height. So I just built a gtk2 version : no problem. Soooo .... either there is a problem with my building or it is in Ted's Motif.

It's pretty easy to build with jimmer's instructions, if someone else would like to do a cross-check ...

Picture is worth 10,000 words :
Attachment:
Ted-Motif_small.jpg
Ted-Motif_small.jpg [ 89.03 KiB | Viewed 362 times ]

Attachment:
Ted-GTK_small.jpg
Ted-GTK_small.jpg [ 149.61 KiB | Viewed 362 times ]

_________________
waiting for flight 1203 ...
squeen wrote:
Looks cool. Hi Hamei!

Hi squeen ! hen jiao bu jian :D good to see you !

It would look cooler if the Motif version would work :( Just tried 2.16, got the same result. Oddly, there was no iconv situation with that older version ... I thought that was because of codepage 1252 ?

Next, I guess it's freeware.sgi time. If that one won't scale then I have to suspect the large number of pixels involved is hitting some wall in Motif but not gtk ? ?

edit : Winnah ! Winnah ! We have a bug ! freeware Ted v 2.12 from 2002 does exactly the same thing. Most likely someone would have noticed that over the past ten years if it were common ... Apparently there's something in the Motif code which kacks at large numbers when describing the drawing / writing area.

_________________
waiting for flight 1203 ...
mia wrote:
Are they any OS/2 specific applications worth taking a look at?

A lot of the best OS/2 programs were tools such as mail servers and the like, not too sexy to look at. MR/2 ICE (I think) was a very good mail client. DeScribe was a popular and capable word processor. I had a whole mix-n-match setup with DOS, Win 3.1 and OS/2 apps all mingled together - that was pretty nice, you could pick the program you liked best and run it, no operating-system-prison. There's a spreadsheet that takes live inputs, which can be pretty cool. Not too much on the graphics end. Look through Hobbes, many good (if dated-looking) programs there.

What you might not notice at first is that everything is an object ... for instance, a printer is not just a dumb script. Take your printer object, drag a copy off it and change the properties, now you have two printers, one for letter and one for A4. Do again, one for envelopes, one for color, one for double-sided tabloid. It's harder to describe why this is so useful but if you do it a bit, you'll fall in love.

AND if you don't install crappy Windows-developer-written software, the responsiveness of OS/2 is super. Better than Irix ... App A does not screech to a halt or lock you out when App B gets busy. That's dependent on the application code tho :( At least IBM tried to make people write programs properly. You'll really see OS/2's strengths if you go to dual-core or more. The scheduler kicks ass.

Oh. If you install X/Free86 you can X to your Irix boxes. There are no SGI extensions in XFree so running Irix apps from OS/2 is not as good as going the other way. You won't get the workplace shell that way but it's still fun.

_________________
lemon tree very pretty and the flower very sweet ...
mia wrote:
Yeah XFree86 would be neat, but I'm not sure it'll beat the T221 on the g2-brick.

I think you're right about that :D But see below ...

Mesa was the spreadsheet I was thinking of, has some neat features. And ClearLook is another word processor for OS/2. I stuck with Describe since once you buy something you tend to stick to it (remember when Word cost $400 ?) but ClearLook is more like InDesign than Word, text goes in cells and so on.

Quote:
Back to DOS (and OS/2), I like the minimalistic design

What ? no leaping bunny rabbits, croaking frogs or animated-typhoon icons ? For shame :D

Can you get the Warp 3 icons in eCS ? You might even prefer the Warp 3 look. I find it less gimmicky.

Quote:
As such I'm exploring DOS apps that I've neglected in the past (dbase II I etc.) and I'm loving it.

Serif PagePlus ran in winos and was just about the perfect size. Ami Pro 3.1 was good. Cadkey 7 DOS. First Choice. Footprintworks. Lots of the applications that come with Warp 3 are nice little programs. If they had released the winos2 changes that made Win95 run in OS/2 ... if if if.

Quote:
Now I need to be able to make eComStation a DOS shell server so I can use it (no vnc please) from my irix boxes.

XFree86 will do this. Oh yeah ... you can run CP/M in a VDM. OS/2 doesn't actually run DOS - those are Virtual DOS Machines. Virtualization on the desktop in 1995 while we waited for Chicago to come out. Waited all year. And when it came, it was nothing but a pretty face. Lipstick, meet pig.

It's amazing how many people like to cuddle up with pigs :D

You can't run workplace shell programs through XFree but any non-WPS app will run on your OS/2 box viewed from your Irix box via X. Hunt around on Hobbes, you'll find most everything there. I never did it but there are Mootif and Lesstif libraries for OS/2, I imagine you could even build Motif apps that displayed remotely as semi-Irix programs. XFree is not a joy to set up but it does work fine. I ran a dual PPro Intellistation from an Indigo quite a bit. I wonder if there is an NFS for OS/2 ... ?

A whole bunch of writeups for various programs here :

http://www.os2ezine.com/v3n10/pr22.htm

and I almost forgot ... Open Office started life an OS/2 program :shock: You can probaly still get Star Writer somewhere ....

It's pretty neat. You should have a lot of fun.

_________________
lemon tree very pretty and the flower very sweet ...
smj wrote:
... pigz: a Parallel Implementation of GZip. This package includes release notes, spec and idb file, and the original sources and patches so it should be possible to see where I might have gone wrong.

I ain't no authority but I installed it and noticed :

a) it works

b) has the standard nekoware organization

on the less-positive side

a) the name is kind of long so you've got to make swmgr really wiiiiiide to read the name. (8.3, anyone ?) But it's not capitalized which is great (that makes it fit in with the rest of the nekoware group all in one place).

b) your naming system is different from normal nekoware. In this case it's not different enough to cause a problem but can you imagine if people started naming all the subsystems however they like ? I'm already thinking up names ... this could get ugly :D

c) You probably should title the thread < beta test : pigz (inna poke) > or something because neko doesn't have all the time in the world to keep track of whatever mischief we are up to, but I think he does watch for the < beta: test > threads.

On the functional side, it works, the man pages work, I tried several zip and unzip operations, there were no problems and top said it was using 168% of my cpus. I assume top relates to a single processor.

I would go ahead and give 'er a +1 vote altho joerg might find something to say. He's got eyes like a middle-aged frizzy-haired Shanghai bureau lady.

Thank you. Another useful tool for the good guys, yay !

Quote:
Uncompressing the gzip output with pigz, using just 1 thread took 24.9 seconds (single run, but typical of others). But the same operation with 8 threads took 32.5 seconds

Is that correct or a misprint ? Uncompressing with 8 threads took 7.5 seconds longer than a single thread ?

_________________
waiting for flight 1203 ...
jimmer wrote:
I just noticed that Adobe Lightroom 4.4 needs over a GIGAbyte (>1Gb) of disk space just to store its binaries and scripts. So I was wondering... those of you that have 'real' software installed on their IRIX machines, are the installation footprints as large?

The entire Pro/E Wildfire 2 installation takes a few hundred megs less than two gigglebytes. That's cad, cam, fea, renderer, docs, the whole enchilada. Adobe is pretty awful on size ...

What are you trying to do, jimmer ? I notice that the same photos displayed on the V12 graphics are more natural and lifelike, while on Windows / Photoshop they are more commercial. I watch my nice realistic photos turned overprocessed (looks like the day after you did an acid trip) for display on Windows ... but if that's who will see it, that's whatcha gotta do. On the other hand, if you are looking for subtle, maybe stick to the V12 ?

_________________
waiting for flight 1203 ...
smj wrote: Can anybody confirm I got the package version numbers correct, and the dependency in neko_wget?

Thanks!

I just had that happen last week. I assumed I needed to update my libidn and forgot to get back to it but just checked, I'm fresh. You are correct, something goofus in the Depends.
he said a girl named Patches was found ...
canavan wrote:
Try editres to read or change some height, bottomAttachment, bottomWidget or whatever suspect resources you can find.

I was not able to find anything simple but to encourage other laborers in the fields who know less than nothing about programming, a screenshot of editres and the problem is below:
Attachment:
teditres.jpg
teditres.jpg [ 163.71 KiB | Viewed 270 times ]

The blacked XmForm is the parent for the screen widgets. Downstream from Mr XmForm the five XmDrawingAreas are (from bottom to top) the white writing area and the four borders. If they use resources, the resources can be changed in the box and applied.

In this case it wasn't anything simple so the results will go off to the author but hey ... editres is a useful tool and not that difficult to use. It's kind of weird that there are no scroll bars, the little blob-inna-box on top is how you navigate. Took me forever to figure that out (tfm is for sissies) :( I believe it's installed by default in Irix ?

_________________
waiting for flight 1203 ...
guardian452 wrote:
Quote:
I notice that the same photos displayed on the V12 graphics are more natural and lifelike
with a calibrated screen they might be the same ?

It's really hard to say since different brands of lcd are so different but I don't think so. Our Windows monitor is calibrated frequently. It's a cheap calibrator but still.

I've tried messing with the gamma, the color curves, careful manual calibration (it's hard to find a hardware calibrator that works in Irix) ... the results are still essentially different. Not darker / lighter more red / less red. Just different . With the same file, btw. I've wondered about this myself.

So, I make it the way I like then the Assistant butchers it to look her way on Windows. Oh well. She's got better taste than me anyhow :D

_________________
waiting for flight 1203 ...
hi sm - didn't mean to sound critical, was just trying to be as picky as possible.
smj wrote:
You mean how I used neko_pigz.sw.eoe instead of neko_wget.sw.wget and neko_pigz.man.manpages instead of neko_wget.man.wget ?

I was thinking of the subsytem names. Freeware and most of the nekoware I've looked at us

distribution files
execution only environment
info pages
man pages
original source code
release notes
headers
shared libraries
patches
and a few I've forgotten

you used

Base Software
Man Pages
Package Sources
Packaging Files
Patches for this package
Release notes and other docs

It's not a sin, definitely not worth redoing, but if you want to be like the rest of nekoware, that's been the defacto setup in the past.
Quote:
If the package doesn't follow the standards, I'd rather respin the package. Just need to understand where I veered off.

I would say no, it's fine, just go to the previously-used system names in the future (if you want. If you don't want, I'm not god.)

Use your time to build another package instead :P

Quote:
That's no typo, it took several seconds longer trying to use multiple threads -- in this specific example. Maybe a much larger compressed file would yield different results.

It might be advantageous for the pigz people and the pbzip people to do some research on the most efficient use of parallel threads in an archiver - and then use that.

In OS/2 it would be stupid to create the same number of threads as there are processors : OS/2 uses a round-robin scheduling approach, the next ready-to-go thread gets the next available processor. So if the most efficient way to execute the program is with sixteen threads, give the thing sixteen threads and let the operating system's scheduler figure out how to apportion them. The guys who write kernels are a hell of a lot more knowledgeable about operating system internals than guys writing userland applications.

I can't think that Irix is a lot worse about scheduling threads than OS/2. Maybe, but seems unlikely.

_________________
waiting for flight 1203 ...
foetz wrote:
i had a number of different setups and switched between different platforms; still always the same result: looks best on the vpro.

You had IR graphics too, didn't you, foetz ? What's your feeling about the difference between v-pro and ir ?
Quote:
i also had several cases where clients said that it looked much better when they've seen it at my place.

Attachment:
better_computer.jpg
better_computer.jpg [ 12.55 KiB | Viewed 288 times ]

_________________
waiting for flight 1203 ...
smj wrote:
I'm running tests with an 11GB logfile, but in the meantime I thought the following passage from the pbzip2 man page was interesting:
Quote:
Files that were compressed using bzip2 will not see speedup
since bzip2 packages the data into a single chunk that
cannot be split between processors.

Sheer conjecture here but with their approach (just split the file into pieces, zip each piece then join together ?) it would seem that different file sizes would benefit from different numbers of threads, e.g.

file < 500k = 1 thread
file < 2 mb = 2 threads
file < 6mb = 4 threads

therefore, rather than jumping to the "your computer has 8 cpu's therefore we will default to 8 threads" they should be looking at the file size and determining how many threads to use from that. Then don't change the number of threads according to what's in the box. Let the damned scheduler take care of that. You'd lose a little in some instances but in the big picture it would work better. IMO :P

After years of OS/2-ing, this is one of the things I used to hate about Windows programmers - they assume that they are the only thing running. "8p ? Okay, we'll default to 8 threads !" Guess what, you stupid shits ? There are other processes running ! Figure out what is optimum for the application then let the os do the scheduling and don't try to take over the entire computer all for yourselves !

They never listened though. They just moved over to Linux and brought all their Windows baggage with them :(

_________________
waiting for flight 1203 ...
smj wrote:
Code:
gzip:              37'00" (2,220.7 seconds)
pigz -p 8:         6'15"  (375 seconds)            [defaults to 128KB block/chunk size]
pigz -p 8 -b 256:  5'00"  (300.3 seconds)
pigz -p 8 -b 1024: 4'13"  (253.3 seconds)
pigz -p 8 -b 2048: 4'25"  (265 seconds)
Glancing at gr_osview from time to time during runs, none of them kept the CPUs running flat-out - probably hitting an I/O limit with that single drive. The 1MB block size appeared to do the best.

SM - just for fun, next time you're bored try running the same tests with 4p ?

_________________
waiting for flight 1203 ...
smj wrote:
Given that this is a dedicated parallel compression utility, I don't think taking the simple approach is unreasonable.

Ah, but my approach is also reasonable :)

I am guessing, but would bet fifty cents that the efficiency of their approach - take the file, split it into x pieces, give one piece to each thread - is dependent on the size of the file. Obviously using 24 threads to zip a 120k file would be silly, right ? I am going to go out on a limb and imagine that you can determine pretty well how many threads will work best just by the size of the file to be compressed. Obviously there would be outliers but in general .

From your example, block size could be involved as well.

Hence, the zipper checks the size of the file, decides how many threads and what blocksize to use, then steps into the batter's box.

Quote:
You might wish it tried to use all four CPUs from the beginning on your old reliable Pentium III Xeon machine, rather than second guessing the user. Should it try to infer something about I/O bandwidth and adjust to that?

But the guys who wrote the kernel are smarter than the user ! the scheduler does take into account i/o, bandwidth, cpu load, which process currently has the highest priority, etc etc. In OS/2 there are 32 different dynamically-adjusted priority levels in the scheduler. (Hate to keep bringing up OS/2 but that's the system I've read a little about.) Remember - this isn't the only thing running on the computer ! Just because the zip application might run .02% quicker, if the rest of the computer gets all bogged down because of that, it's a crappy application.

I believe that deciding to use 8 threads just because the box has 8 cores is not the correct approach. First off, the zipper does not get the entire computer all to itself anyhow. Second, you don't want the damned thing to take over the computer. And , I doubt that using the number of p in a box to determine which is the most efficient number of threads to generate is optimum. It could even be pessimum :)

Quote:
I'm sure it could be built to adjust the number of threads dynamically during a run, but I can't think of an OS scheduler - kernel code, most cases - that's going to tell the application it should be spawning more threads.

I don't think it would need to. It seems very likely to me that the number of threads for most efficient zipping could be determined by some fairly simple attributes. So check those attributes, determine the proper number of threads, then let the scheduler (programmed by some damned smart people and taking into account a lot more than just "how fast can we zip this file") take over feeding the processors.

Anyway, that's my story and I'm stickin' to it :D

_________________
waiting for flight 1203 ...
canavan wrote:
In that screenshot, the first thing I'd suspect is the XmScrolledWindow, the parent of the XmScrollBars and the XmForm.

It's the parents' fault ! :D

Thanks, I forgot about object-oriented. I'll check upstream as well ....

_________________
waiting for flight 1203 ...
May as well hang for a second ... there's a brandy-newiest libidn 1.27 that just came out yesterday ....

gnu wrote: * Version 1.27 (released 2013-06-05) [stable]

** Java library can be built using Maven. Speed improvements.
Thanks to several patches from Stefan Larsson. Testing indicate 70-90
times faster node/name/resource-prep.

** Update gnulib files and translations.

What the heck, the updated translations might be worthwhile ...
he said a girl named Patches was found ...
more history ...

http://www.os2museum.com/wp/?page_id=1098

_________________
waiting for flight 1203 ...
vishnu wrote:
hamei, you know how to flash the active (i.e. selected) widget(s) in editres, right?

Yes, that's how I found the main drawing window and the four borders. The part I have trouble with is connecting the structures to the source code. If I could choose an item then flash the creating text in the source it would be great :D

_________________
waiting for flight 1203 ...
Anybody got a quick hint ? I was trying to make SIAG work, just for the heck of it ...
[code]
cc-1020 cc: ERROR File = MwFilesel.c, Line = 693
The identifier "PATH_MAX" is undefined.

char newpath[PATH_MAX];
^
[/code

edit : added SIAG to the title for future reference

_________________
waiting for flight 1203 ...
mia wrote:
point me to OS/2 friendly (or DOS or Win16) vt520 emulators (commercial or free)?

Generally, hobbes is the place to start looking for os/2 stuff ... maybe ZOC ?

http://hobbes.nmsu.edu/h-search.php?sh= ... os2%2Fapps

I thought there were some IBM terminal emulators that came with OS/2, too. If you want a 3270 using EBCDIC it's probably included :D

Not a terminal but kind of entertaining - here's a place still selling new graphical software for Windows 3.1 :P

http://www.pixvision.com/html/products.html

_________________
waiting for flight 1203 ...
canavan wrote: Well, 1.27 is in /incoming. You can check if the translations are any good as soon as the package hits /beta.

My Translator is awaiting her chance at immortality as soon as it arrives :P
he said a girl named Patches was found ...
foetz wrote:
as i said, vpro looks best but in certain cases the fill rate of the ir is just amazing. but if it's only about display quality the award goes to the vpro.

Thanks, foetz. That kind of real-world comparison is hard to come by.

_________________
waiting for flight 1203 ...
vishnu wrote:
I'm super busy through at least Monday but I'll have a look at it as soon as I can squeeze two spare seconds together...

Put your cycles into Maxwell - I was able to isolate the problem to where the Original Author could reproduce it.

If us dummies can't fix something, at least we can do enough of the grunt work so that the talented people can .. :P

_________________
waiting for flight 1203 ...
canavan wrote:
While you're there, check the man page for limits

Got past that error with a simple #include<limits.h> which seemed to work thank you (i hope) but moving right along ...
Code:
cc-1020 cc: ERROR File = /usr/include/sys/vnode.h, Line = 375
The identifier "mprot_t" is undefined.

typedef       int     (*vop_map_t)(bhv_desc_t *, off_t, size_t, mprot_t, u_int,
^

cc-1020 cc: ERROR File = /usr/include/sys/vnode.h, Line = 378
The identifier "mprot_t" is undefined.

pgno_t *, off_t, size_t, mprot_t,
^

Okay, I give up. If

typedef int (*vop_map_t)(bhv_desc_t *, off_t, size_t, mprot_t, u_int,

doesn't define mprot_t what is needed to define it ? This is what I get from diegel's helpful searchment suggestion :

Code:
urchin 1% find /usr/include -exec fgrep mprot_t {} \; -print
off_t, size_t, mprot_t, struct cred *,
/usr/include/sys/fs/spec_ops.h
mprot_t, u_int, struct cred *, vnode_t **);
mprot_t, struct cred *);
/usr/include/sys/pvnode.h
typedef uchar_t mprot_t;                /* memory protections (PROT_*) */
/usr/include/sys/types.h
typedef int     (*vop_map_t)(bhv_desc_t *, off_t, size_t, mprot_t, u_int,
pgno_t *, off_t, size_t, mprot_t,
/usr/include/sys/vnode.h
fgrep: /usr/include/X11/Xirisw: No such file or directory
fgrep: /usr/include/X11/uil: No such file or directory
fgrep: /usr/include/uil: No such file or directory

(Another puzzle is why we are searching directories that don't exist ... something told fgrep to look there and it wasn't me :shock: )

_________________
waiting for flight 1203 ...
geo wrote:
hi ham, maybe you already found this but just in case ;)

http://forums.nekochan.net/viewtopic.php?f=15&t=16720734

Good catch, geo ! Thank you. I'll go wake up SAQ, see if he ever found a solution.

_________________
waiting for flight 1203 ...