author: Erik Visser

text:
Richard,

Well this will work at least for a while:
Ttouch all apps/libs, index the repo and recompile.

Erik

<[email]> schreef in bericht
news:[email]...


author: [redacted]

subject: Re: Property Window - "Inherit from class" same BUGGGGG in vo2.7a

text:
Patrick

Well the box is a compaq 2.66mhz with 760mb ram, but we have a lot of
defines for our language translation, and then theres advantage, and
then bbrowser, and then ReportPro designer - that takes far and away
the longest.

By the time we get to the "production" code in higher levels these
compile much much faster. Its just very slow at the lower levels.
regards

richard


author: Geoff Schaller

text:
30 mins!

You must have an EXTREMELY slow PC <g>. We've got about 40 aef's running
a repo of some 150MB (about 300,000 lines of code+) and I guess it takes
around 4-5 mins to do the full touch and recompile. But who cares, I
walk off for a cup of coffee whilst its happening....

"[email]" <[email]> wrote in message news:[email]:


author: Paulo Oliveira

text:
"Jamal Assaf" <[email]> wrote in message news:<[email]>...

Jamal,

I Already try a "Sideral" Repository Index, but... nothing.

Thanks
Paulo


author: Camille Kater

text:
Hi ,

I noticed the same behaviour in my 2.7a (even after an internal and external
reindexing).

Camille

"Jamal Assaf" <[email]> wrote in message
news:[email]...


author: Patrick Vletter (Prive

text:
Exactly what we are seeing.
Code lower in the tree compiles slowly. This probably has to do with the
fact that, as soon as an entity is compiles, the repo has to touch all
entities that depend on this entity and all entities that are dependant on
these entities and so on. If the compiler is still at the low end of the
tree the list of entities to touch wil therefore be long and it will take
more time.

CU

Patrick

<[email]> wrote in message
news:[email]...


text:
Hi Geoff,

It all depends on how your code is structured. If you have a lot of
interdependencies (mainly due to strong typing) compiling a repo that big
will take quiet a bit longer than the 4 minutes you will describe. Even on
my new 3.2 Ghz Pentium IV with 1.5 GB RAM...
And now you can say there is a downside to strong typing everything<g>.

CU

Patrick

"Geoff Schaller" <[email]> wrote in
message news:41be1063$[email]...


text:
No - you must do more. You also touch all and recompile.

"Paulo Oliveira" <[email]> wrote in message
news:[email]...
news:<[email]>...


author: D.J.W. van Kooten

text:
On Thu, 3 Jun 2004 21:47:48 +0200, "Camille Kater" <[email]>
wrote:

I've seen it too in 2.7a, although some classes from which you can
inherit are listed. You have to type in your classes yourself...

Dick van Kooten


text:
Patrick,

I always did <g>.

But that doesn't stop me from doing it. In fact, in our current project
(about 400,000 lines of code) we have about 150 DBServers and many have
100+ fields. This is not our design but it is a Clipper conversion
project and so we strongly typed all the accesses and assigns to all
servers. This saves 100's of hours when converting the code - a very
definite advertisement for strong typing. But the protoype libs for the
server DLL's are huge and they take a long while to compile compared to
regular GUI ones and add significantly to the size of every dependent
DLL.

But I can't conceive this 28 minute thing. Perhaps take bBrowser. We
pulled everything into one AEF and it compiles in about 22 seconds. It
has some very big classes and a lot of string typing. I would be
intrigued to see the porject that takes 28 mins to rebuild.

Geoff


author: Paul De Bie

text:
Geoff,

Since I have this problem too (already with VO27 and now with 27a) I am
following this discussion with interest. You are right that a touch all and
recompile brings back all the classes in the "INherite from" comboboxes in
the properties windows.... but 15 minutes later I've got the same problem
again and the combos just say 'Auto".

This is really a time-waster.

Paul

"Geoff Schaller" <[email]> schreef in bericht
news:Ra_vc.5618$[email]...
i


text:
Paul,

15 mins? <g>. Well I don't see the problem replicate itself that fast. Its
usually only after some major project surgery. I think you are being a
little gratuitous with your timings here or else you are not telling us the
whole story.

Geoff

"Paul De Bie" <[email]> wrote in message
news:40c412fb$0$9522$[email]...
and


text:
Yeah! is there another way? Is there somebody out there who doesn't have
VOPP?

Surely not.

"Karl Faller" <[email]> wrote in message
news:[email]...


text:
Sorry I was wrong.  Should have said 5 minutes.

Paul

"Geoff Schaller" <[email]> schreef in bericht
news:bhDxc.1928$[email]...
the
in
problem


text:
Maybe your nickname should be butter fingers then <g>

"Paul De Bie" <[email]> wrote in message
news:40c7018f$0$9760$[email]...


text:
Geoff,

What has that got to do with it? Pls explain.

Only thing I can say is that the "inherit from" property shows <Auto> and
nothing else, 99% of the time. So even the classes in the application itself
are not shown, let alone the classes from other libraries that are linked
in.

Problem started the day I installed VO27.

Now still the same problem with VO27a, which is a separate install (VO27 is
still installed and working.
And I am not the only one that has it.

Paul

"Geoff Schaller" <[email]> schreef in bericht
news:3yDxc.1993$[email]...


text:
Paul,

You made a mistake about a mistake <g>.
Its a joke - things slip through fingers as if covered in butter.
...oh well <g>

itself

Fine but we are running 6 workstations here and 4 elsewhere. We hit VO very
hard and all day long. I have seen what you describe but a reindex fixes it.
I can reintroduce it after importing someone else's repo or by importing a
corrupt aef/mef. I try not to.

To get rid of it: (1) Reindex the repo, (2) touch ALL aef's (do nothing else
whatsoever), and (3) rebuild all. Of course if you have VOPP then this is
automatic. This is guaranteed to fix the situation but it must occur in that
sequence.

Geoff


text:
Geoff,

else
that

I think that can't be the final solution. It happens for instance each time
I import a MEF-module (not necessarily a corrupted one). This never happend
in VO2.5b3. So there must be something somewhere to fix for the devteam.

Camille


author: Nick Leaton

subject: Re: Opinions on Ellipse-Circle dilemma?

text:
Terry Richards wrote:

If you stood back for a while from just circles and elipses and
considered what you would produce for a class library that handled
conics. Then Circle, Ellipse would inherit conics. They might also
inherit from a class that handled perimeters. Ellipse would inherit
stretchable, but circle would not. You may argue over what behavoir/data
you want to mixin with your classes, but I think you might end up
with a heirachy where circle doesn't inherit elipse or vice versa.

I think trying to discover the 'best' root classes an interesting
problem. On many occasions what I originally thought to be the obvious
root class turns out not to be.

Similarly when maintaining code. If you discover yourself deriving a new
class from a class that does not have an inheritance heirachy, I always
ask myself if I should introduce a new base class that is deferred or
abstract. This class to contain the common code if there is any.

I believe ellipse/circle falls into these categories.


author: JG

subject: Window size ramifications

text:
I notice when I resize my webpage it adjusts the line returns
so that all of the text is still shown. While this is great for a text only
webpage, it causes undesirable results for a page with photos
inserted at various places with text wrapping.
   Is there any way to have the webpage clip everything upon resize
so that it does not show rather than the latter?


author: Jukka K. Korpela

subject: Re: Window size ramifications

text:
Scripsit JG:

Indeed, especially since authors can beat their competitors by doing
nothing, namely by _not_ doing stupid things to prevent such a nice
behavior.

Images are effectively treated as elements of text, i.e. as if they were big
(or, as the case may be, small) characters. Consiecutive <img> elements are
displayed as a "line" or as several "lines", depending on canvas width and
other factors. Are you referring to this? If not, what then?

Yes, but what do you really want? You can set
body { overflow: scroll }
Then everything that does not fit (horizontally or vertically) will just be
cut off (with no indication of cutting). But is this really what you want?


author: Andy Dingley

subject: Re: Window size ramifications

text:
On 12 Nov, 01:39, "JG" <NoMail@NoSpam> wrote:

Yes, this isn't desirable. The fix though isn't to clip things, or to
stop text flowing, it's to control _how_ things flow. In particular,
you probably have a number of "sections" of text and a number of
related images. Provided that each block remains nearby to the
relevant image, the page still "works". However treating all the text
as one very long block and flowing it in a single unit past all the
images certainly won't.

In the simplest way, just use containment. Place each "section" of
text (possibly many paragraphs) inside a separate
 and place the
 in there too.

Another way is to use floats. Place each  inside a

container (possibly with a line of caption text too) and float them.
The place the text inside a single sequence of
 elements and allow
it to flow round the images. To keep things synchronised, use

elements with the clear property set, interspersed with the
 as
needed. By appropriate use of clear and putting the
 at the right
places between the
, you can synchronise  images and text.
http://brainjar.com/css/positioning/ is a good background tutorial.


author: rf

subject: Re: Window size ramifications

text:
"JG" <NoMail@NoSpam> wrote in message news:[email]...

You mean you want to hide the content from your viewers?


author: David E. Ross

subject: Re: Window size ramifications

text:
On 11/11/2007 5:39 PM, JG wrote:

Please don't do that!  You don't know what size windows are being used
by visitors to your Web page.  You don't know whether they are using a
full-screen browser window or a part-screen window (what Micro$oft calls
a "normal" window).  You don't know what screen resolutions are being
used.  You don't know if visitors have a 15-inch monitor, a 21-inch
monitor, or an iPhone.

Graphic content might have fixed heights and widths, but text content
should adapt to whatever window the visitor chooses to use.


author: Ben C

subject: Re: Window size ramifications

text:
On 2007-11-12, Jukka K. Korpela <[email]> wrote:

That won't cause overflow (by preventing wrapping) though. It just tells
the browser what to do when things have overflowed. In general nothing
will overflow unless the available width is made narrower than the
widest unbreakable sequence.

It sounds like the OP wants to prevent wrapping. In which case he could
set "white-space: pre" on the container these images are in.

That may turn out not to work in less functional browsers like IE. If
so, and support for IE is important, then it may work to use a <pre>
element instead.

Having suppressed wrapping, the overflowed content can be clipped with
overflow: hidden. But overflow: scroll (or overflow: auto) may be
preferable.


subject: Re: Window size ramifications

text:
Thank you (and others ) for the reply. I will get to work right now on this.
There seemed to be some confusion in what I was asking (from the other
replies) Basically I don't care how I do it, I just want to have my page
retain some sort of order when it is resized.
-----------------------------------------
"Andy Dingley"


subject: OT: NT de-fragging

text:
Anyone point me to a Win NT de-fragger ? I have LW 6.5b on a 4gig partition
and as I'm deleting bits I'm gonna wind up with a cluttered (clustered?)
drive pretty soon. I had a shareware one but it would'nt go to 4 gigs.

Ta


author: Tesselator

subject: Re: NT de-fragging

text:
"pixel8" <[email]> wrote in message news:F7J07.1616$[email]...

http://www.oo-software.com/


author: Ctrl+Alt+Del

subject: Re: NT de-fragging

text:
nt4?  is so i would use "diskeeper"
http://www.diskeeper.com/downloads/menu.asp
there is a lite version on this page that is freeware.
        -Ctrl

"pixel8" <[email]> wrote in message
news:F7J07.1616$[email]...
partition


author: Lewis

subject: Re: OT: NT de-fragging

text:
pixel8 wrote:

clik "start" then go to "accesories" then "comand promt" and in comand promt
type "chkdsk c:" or what ever drive do you like :). Of corse "chkdsk /?" gives
you more commands for use.


subject: Re: OT: NT de-fragging

text:
"Lewis" <[email]> wrote in message news:[email]...

No that's a different animal...

But i thought you didn't need to defrag an NTFS partition unless you are
planning to read off hugh files >200MB and needed the very best proformance
possible.

I had some businesss with the Diskeeper people and they sent me two
copmlementry 5.0 Server for Alpha.  It said my drive was terrible!
but there was VERY little difference after useing it and it's supposed
to be the best.  The HD made less noise but load times by my stopwatch
and test utilities were nearly the same.  It did make lots of difference
on the FAT partitions though.

You might also consider that I really don't know what I'm talking about
here.  This was just /my/ expirience.  BTW the time requiried to defrag
a 4gig partition takes way more time than what a defregged partition will
save you in load times.


author: Kevin F Stubbs

subject: Re: OT: NT de-fragging

text:
That's a myth started by Microsoft who initially claimed that NTFS
partitions never needed defragging. Funnily enough, one of the first
additions in Win2K was a bought in defrag utility :-)

You don't just defrag disks to speed up loading times. You do it to
protect your data too. The more fragmented files become the greater the
chances that one or more of the links between the bits is going to fail
and presto you have a corrupt file. Now imagine if that's the big LW
scene you've been working on for the past four weeks. You know, the one
you'd been meaning to make a backup of , but forgot :-)

Cheers

Kevin F Stubbs
Kayef Select Limited


author: Gareth Jax

subject: Re: OT: NT de-fragging

text:
[email] (Kevin F Stubbs) wrote in
<[email]>:

no, i don't think so.
the only meaning of defrag is to optimize access times...

-gareth's small guide to files and disks-

Datas on the disks are organized in small containers called "cluster".
A cluster is usually of small size, tipically 512 bytes but can reach a
whopping 64 Kilobytes of size! (it's decided when the partition is
formatted for the first time)

A file is composed of 1 or more clusters, depending on it's size.

The FAT (file allocation table) list the clusters need by the system to
"assemble" the file when has to be read. Each entry of the fat contain a
range of phisical addresses of the clusters that belong to the file.

The the file is "defragged", the adresses are contiguos, so the disk heads
don't have to scan all the disk to find the informations.

If the cluster are spread over the disk, the heads  have to "seek" the disk
many times in order to find the required clusters. As you can see the
"seek" time and "access time" are critical over the disk :)

With a defragged disk, the "seek" times are reduced to zero, as the
informations are usually available on the next cluster.

So, summing up, defragging optimize access time, and nothing more!

the "links between the bits", exist also in a defragged disk! So when the
link fails, it fails in spite of defrag :)


subject: Re: OT: NT de-fragging

text:
This is the part that causes the problems, believe me.

I think you are missing the point Gareth and possibly I didn't make it
clearly enough. Basically, the more hunting around that's needed to find
the data the greater the chances it wont be found. The FAT table does
exactly what you says it does but the more scattered a file becomes the
greater are the chances part of it wont be found even with the reference
from the FAT. Hard drives are far from perfect devices. I have a 13 year
background in PC support and the simple voice of experience tells me
that the incidence of lost and corrupted files on highly fragmented
disks is many times that on ones that are regularly defragged. This
comes under routine maintenance, like checking the oil and water on your
car. You don't have to do it for your car to keep running but if you
don't then sooner or later something is going to go seriously wrong and
like with a car it can easily be avoided :-)

Cheers

Kevin F Stubbs
Kayef Select Limited


author: Brizon

subject: Re: OT: NT de-fragging

text:
Kevin's right, apart from speeding up the times, it'll help avoid files
being lost
Think a flatpak from Ikea, all in tiny little bits, spread them around the
house in lots of different places, move everything around, keep adding more
junk, wait a few weeks/months then try find all the pieces in one go. put
the thing together then its less difficult to lose

ok crap explenation but I just woke up :P


subject: Re: OT: NT de-fragging

text:
"Gareth Jax" <[email]> wrote in message news:90D5757E0antispammergaretmind@130.133.1.4...

No that makes /some/ sence actually.  Although there is a "link" or vector
tag at the end of every data block weather it skips or is sequential, data
at a "landing point" from a skip is more likely to become corrupt.  Also
worth consideration to this end is drive heat, and wear&tear on the various
movable parts.  Althought most new harddrives use a planned obsolescence
scheme that is based around a precision barring ring that is susceptible
to humidity over time.  When saturated...  time's up...  no spin...


subject: Re: OT: NT de-fragging

text:
[email] (Kevin F Stubbs) wrote in
<[email]>:

[...]

that would sound good but... think of the stress you put on the heads when
you make a complete defrag! that's a heavy work!! we should measure if that
risk the mechanical parts more than the random access! :-!

Fortuntely Hard disk now are certified for an huge amout of continous work,
like 100.000 hours = more or less 11 years of continual operations :)

btw: i've been a tech in a shop for 5 years, i know what you mean! :)


subject: Re: OT: NT de-fragging

text:
After 13 years, I took/needed a 20 month break :-) Life would be sooooo
much easier without all those annoying users :-)

As far as NT defragging is concerned, lets just agree that it's a good
piece of system maintenance for whatever the reason :-)

Cheers

Kevin F Stubbs
Kayef Select Limited


subject: Re: OT: NT de-fragging

text:
[email] (Kevin F Stubbs) wrote in
<[email]>:

indeed :)


subject: Re: OT: NT de-fragging

text:
Gareth Jax <[email]> wrote in message
news:90D5AFE73antispammergaretmind@130.133.1.4...

So....permission to defrag, yes ?  :)
Though last time I tried, Diskkeeper lite would'nt defrag my partition.
Any other programs anyone ?


subject: Re: OT: NT de-fragging

text:
[email] (pixel8) wrote in <eV%07.3981$Tv5.583305@news6-
win.server.ntlworld.com>:

i don't know any others! :-|

what kind of error give you ?


subject: Re: OT: NT de-fragging

text:
It would'nt de-frag a partition of around 4 gigs. Unless it was a disabled
feature of the "lite" version ?
I'll give it another download and see.

Thanks


author: Fuser

subject: Re: OT: NT de-fragging

text:
I had a problem like this with the lite version. Don't remember the exact
error, but I think it is because I had gone for about a year without
defragging =P

Anyway... I used the trial version of the full version, and it had no
problems at all. My trial has expired, but I have had no other trouble using
the Lite version since then.

Don't know if it will fix your problem, but may be worth a shot if you are
still having trouble =)

:::
f u s e 9 m e d i a
http://fuse9.com


subject: Re: OT: NT de-fragging

text:
"pixel8" <[email]> wrote in message news:1I317.5506$[email]...

There are 5 or 6 good free and shareware defraggers out and about.
At laest 5 or 6 that /I,ve/ used...  There may be more...  I do remember
they were kinda hard to find.  Not just a search at download.com or something.

There were also several defraggers that were available for Alpha/NT only.


author: Terry Bradford

subject: Fax Software for NT 3.5

text:
Does anyone know of any fax software which runs under NT 3.5 and allows
you to send faxes from Word for Windows.  I have recently installed NT on
my pc and it works great except that I have to reboot to DOS/Win3.1 every
time I have to send a fax.

Any help greatly appreciated (I need the disk space that Win3.1 is using!).

Regards,
Terry.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Terry Bradford <[email]>
T.Bradford Contracting        |  Specializing in Microsoft Access & SQL
PO Box 6, Baulkham Hills      |  application development (also experienced
NSW  2153  AUSTRALIA          |  in Windows, MS-Word & MS-Excel support)


date: Sat, 21 Jan 1995 13:46:01 UNDEFINED

author: Walter Arnold

subject: Re: Fax Software for NT 3.5

text:
In article <3fq9h4$66v$[email]> [email] (Terry Bradford) writes:

I'll e-mail you my NT Fax FAQ. It's also available by going thru my home page
to the page I set up for it.

...................................................
    Walter S. Arnold    *    [email]
   Carving Limestone, Marble, and Pixels.
  GUI, the Gateway Users International group
 Home Page:  http://www.mcs.net/~sculptor/home.html
...................................................


author: Frank Kooger

subject: Re: Fax Software for NT 3.5

text:
In article <3fq9h4$66v$[email]>, [email] (Terry Bradford) says:

I installed Winfax 4.0 and that works fine, at least the
communication does. My problem is that the fax Viewer shows a fax
for only a half and then generates an error 'in the 16bits Subsystem',
after which Winfax terminates. I asked Delrino about this but didn't
receive an answer till now.

Frank Kooger


author: Clyde Smith-Stubbs

subject: Re: Fax Software for NT 3.5

text:
[email] (Terry Bradford) writes:

Zetafax from Equisys (a UK company) works well under NT. There is a demo
version available somewhere on the net, in Australia you can buy it from
Banksia (the modem people). IT is a network fax system, but they have
a single-user version for NT as well. I've got the demo, it works well,
I'm waiting on delivery of the full version.


author: "Kenneth LeFebvre"

subject: Re: Fax Software for NT 3.5

text:
In article <[email]> [email] (Frank Kooger) wrote:

And the answer was...?

Ken


author: G. Evans

subject: Re: Fax Software for NT 3.5

text:
Kenneth LeFebvre ([email]) wrote:
: In article <[email]> [email] (Frank Kooger) wrote:

: >I asked Delrino about this but didn't  receive an answer till now.

: And the answer was...?

: Ken

Probably no.


author: Bridge

subject: Cannot telnet to T3

text:
I have a T3 moved from one NIS environment to another NIS environment.
In the new NIS environment, there are entries(new name and IP) in
hosts and ethers database for name and MAC address for the T3.
When connected to the 10baseT port on T3, I cannot telnet to the name
and IP of the T3.

Could it be the reason that the T3 itself is configrued as its old NIS
name ?
I am not sure about this. All the T3 docs say that only need entries
of ethers and hosts on the server.

Please advice,
Thanks


author: Frank

subject: Re: Cannot telnet to T3

text:
Bridge wrote:

Is the arp/rarp daemon running?

Greetz,
Frank


subject: Re: Cannot telnet to T3

text:
Frank <[email]> wrote in message news:<404f8b88$0$568$[email]>...

Is the arp/rarp daemon running?

Yes, the arp/rarp daemon is running


author: Steve Canfield

subject: Linksys WAP11 & Airport card?

text:
I have a flat panel iMac that I want to connect to my cable modem
wirelessly.  I'm considering pickng up a Linksys WAP11 ($105) and an
Airport card ($100).  The Linksys box will be connected to my cable
modem.  Will this combination of equipment work together?  I'm looking
at the Linksys box because it is much cheaper than the Airport base
station.

Or would you recommend some other equipment?  I'm really trying to
keep the total cost around $200.

Do other wireless PC cards work in the iMac?  I've seen Orinoco Silver
cards sell for <$40 and I've heard they are quite good.

-steve


author: Fred McKenzie

subject: Re: Linksys WAP11 & Airport card?

text:
<< I'm considering pickng up a Linksys WAP11 ($105) and an
Airport card ($100).  The Linksys box will be connected to my cable
modem. >>

Steve-

Here and in a different thread, it was mentioned that the Netgear MR314
Wireless Router would work, and that it was capable of passing AppleTalk data.
Do you know if the WAP11 also has this ability?

I found the MR314 at Staples office supply for about $150.  This definitely
beats the Airport base station if you don't need a modem.

Fred


author: Jim Glidewell

subject: Re: Linksys WAP11 & Airport card?

text:
In article <[email]>, [email] (Steve Canfield) wrote:

I think that a WAP would work, but you will always be restricted to
a single IP address (unless your cable provider gives you more).

For just a _little_ more money ($125-150), you could get a WAP +
router + 4 port-switch unit like the Netgear MR314 (which I have)
or similar units from Linksys or SMC.

While the Netgear does not have quite the range of the Linksys,
it does route AppleTalk between wired & wireless, which was
important to me. MacWorld did a round up of ~6 of these boxes
in a recent issue - see their web site.

The wireless router boxes provide you basic firewalling (via NAT),
along with the option to add more devices wired or otherwise,
without buying any additional hardware. With the WAP11, you'll
need at least a hub to add *anything* further to your network.

Look for bargains at dealmac.com or perhaps smalldog.com.

The airport card has a connector to hook up to the iMac's built-in
801.11b antenna. I don't know of any other cards that use that
connector, but there might be. I think the space is pretty tight
in the iMac - too tight for a card with an antenna attached.

Good luck!


author: Steve W. Jackson

subject: Re: Linksys WAP11 & Airport card?

text:
In article <[email]>,
 [email] (Fred McKenzie) wrote:

:> << I'm considering pickng up a Linksys WAP11 ($105) and an
:> Airport card ($100).  The Linksys box will be connected to my cable
:> modem. >>
:>
:> Steve-
:>
:> Here and in a different thread, it was mentioned that the Netgear MR314
:> Wireless Router would work, and that it was capable of passing AppleTalk
:> data.
:> Do you know if the WAP11 also has this ability?
:>
:> I found the MR314 at Staples office supply for about $150.  This definitely
:> beats the Airport base station if you don't need a modem.
:>
:> Fred
:>

I'm pretty sure that none of Linksys' products pass AppleTalk, so if
that's a requirement you should look elsewhere.

= Steve =


author: Dirk Schoeters

subject: Easy way to find a file

text:
Hi,

I would like to find a file somewhere on my HDD, can anyone
tell me how this can be done in the fastest way.

Briefly, i need a command like 'dir file*.*' in old DOS.

thx,

Dirk


author: Hal Burgiss

subject: Re: Easy way to find a file

text:
On Sun, 3 Feb 2002 21:23:17 +0100, Dirk Schoeters
<[email]> wrote:

DOS is wimpy. man locate. man find. Find is extremely flexible, but is
quite a bit slower, and the syntax more involved, than locate.

Example, find any html files on drive modfied in the last 30 days, and
print full path:

find / -name "*.html" -mtime -30  -ls


author: Terry Porter

subject: Re: Easy way to find a file

text:
Dirk Schoeters went insane and wrote the following
on his bedroom wall with an old crayon:

"ls" will do dir *.*
"ls -R" will also list all subdirectories and files

"locate <name>"
is a command that looks in the database which is updated once
daily, *providing* you leave your Linux box on all the time.

Then there is "find" a complex CLI search facility, however many
GUI front ends are available for it.

Terry


author: Simon Lockhart

subject: Problems with Impression Style Installation

text:
I posted this a few days back, but it does not appear to have got off site,
so I am re-posting. Apologies if you have seen this message before.

Having finally recieved Impression Style the other day, which I ordered at
the Acorn World Show, I duely followed the instructions and installed it on
my hard disc. However, it seems to refuse to install !TransTIFF. Even if I
tell it to only install !TransTIFF, it does nothing. Has anyone else had
this problem? Has anyone found a workaround?

Also, what do people think of the new loading screen for Impression Style? I
think it's awful! Whatever happened to the old Impression II loading screen?
I liked that!

Merry Xmas,

Simon Lockhart


author: [redacted]

subject: Re: Problems with Impression Style Installation

text:
I got Style today.  I think the loading screen is OK, but the
black background is not too nice though.

TransTIFF appears in an app within !System called something
like !CCShare which I think is a area in which CC stuff common
to different programs is kept.  When I tried to use TransTIFF
there was not enough room in the module area though, although
it seemed to be found OK.  I guess this is a problem with only
2Mb :-(

Hope this is correct (ish) and helpful

Ben.


author: The Dream Tripper

subject: Re: Problems with Impression Style Installatio

text:
In article [email], [email] (Simon Lockhart) writes:

Impresion Style installs !TransTIFF in a shares resources directory which
happens to be inside !System.  It's calles !CCShared or something........


subject: ipaste() source code needed!

text:
SGI software developers:

Is the source code of ipaste() available somewhere?  I want to get some insight
on how ipaste() puts a image on the screen so fast.

My appreciation to all helpful info.

[email]

Yinghua shi
CS Department, BYU.


author: Kevin Luster

subject: Re: ipaste() source code needed!

text:
In article <[email]>,  <[email]> wrote:

/usr/people/4Dgifts/iristools/imgtools/ipaste.c


subject: Animator Pro - Titling trouble

text:
I am having trouble with titling in Animator Pro. I follow the instructions in the manual step by step but when I preview or render I see absolutely nothing! Has anybody had a similar experience or can give me any pointers?

I used the same process with Animator and it worked fine.

All help appreciated.

Harry Stokes
University of Strathclyde
Glasgow
Scotland


author: Ray Moyneur

subject: Re: Animator Pro - Titling trouble

text:
In a previous article, [email] ("h.k.stokes") says:

	Hmm, try checking your inks... it might be set at something like
'unzag'

hope this helps!


author: Amanda Walker

subject: SuperCard speed

text:
I discovered something very interesting this evening.  This afternoon I
installed System 6.0.4 on my machine in a new System Folder (so that I
could revert quickly if necessary), without most of my usual INITs.

When I ran SuperCard just now to remind myself of how slow it was, I was
shocked to realize that it was running *much* faster than it ever had before
for me.  It's still no HyperCard, but it's into the usable range, which it
hadn't been before.  I'm not sure what INIT is the culprit, but I'm rather
surprised that something would affect just SuperCard this way.

Has anyone else run into this?

Amanda Walker
InterCon Systems Corporation
[email]


author: Jonathan King

subject: Re: SuperCard speed (and I'd like a pony for Christmas)

text:
Amanda Walker writes:

1) are you certain that it is an init, and not the new improved system
software that is the "culprit"??

2) have you checked to see whether Hypercard is running faster, too?  I
could possibly imagine Apple system people tuning the system to help
Hypercard and thus inadvertantly help Supercard.  (It could be something
small, like slightly improved resource handling, [note--I am making this
up] or something else that is really very minor.)

3) how much memory do you have, and were you using MultiFinder?  I have
noticed that performance with some programs increases or decreases
dramatically when given even a little more or less memory than usual.
And inits do take up memory, don't they?

Sorry about the silly questions, but it would good to know whether
system 6.04 or something else would make Hypercard faster and Supercard
useable.  I would gladly rip out all my inits to speed up Hypercard
noticeably, but as it is I'll make do until a certain unannounced but
widely rumored enhanced version of a current software product put out by
some company in California is released.  And if we're lucky, said
c.u.b.w.r.e.v. might include improvements in its scripting language such
as real data types, better scoping of variables, improved access to
resources, an (optional) less goofy syntax for some operations, (i.e.
'domenu "New Button"' is really goofy, in my opinion) a real script
editor, (oh my soul) and an incremental compiler (hallelujah!).  And
while we're at it, I know some people would appreciate built-in support
for some kind of Mr. Coffee drivers...

jking


author: Todd Hooper

subject: Re: SuperCard speed

text:
In article <[email]>, [email] (Amanda Walker) writes:

Well, considering that you had no inits running, your Mac is probably
running faster overall, and hence the improved speed of SuperCard is
a function of this.

Mac users often tend to forget that practically every init steals some
processor time somewhere. Whilst I'm not an expert on Mac internals, I've
heard enough about how init's work to convince me you should keep them
to a minimum.

Unless, of course, you have a IIci ;-)


text:
Well, I suppose it could be System 6.0.4, but that didn't seem too likely.
Here are the INITs that I am still running:

	TMON Startup
	ColorFinder
	Desktop Manager
	Programmer's Key
	Responder
	Suitcase II
	Adobe Type Manager

Here are the INITs that I was running before, in addition to the above:

	SuperBar
	Boot Paths
	Facade
	FPInit
	QuicKeys
	QK Cache
	Rear Window MF
	PLI Turbo Cache

In both cases I was running a Mac II rev 1.2, 5M of memory, without
MultiFinder (it being, in my opinion, a tool of the devil :-)).  I didn't
notice any difference in HyperCard's speed, although the improvement to
SuperCard was a good 75% faster (8-bit mode on video board).  For example,
the "sliders" demo was absolutely awful before, and it's almost usable
now...

Hmm.  Now that I think about it, another difference is that I have installed
32-bit Quickdraw in the interim.  Maybe that's it...

Amanda Walker
InterCon Systems Corporation


author: dean

subject: Within a transaction, possible to save to somewhere that will not be roled back?

text:
Hello all,

I would like a way to save the results of a query to a table, from
within a transaction, and then when I role back the transaction, that
one table to still hold the contents. I other words, can I specify that
a partivular table NOT be roled back, during a roleback call?

I want this to do testing. I realize I could export to an access
database or flat file, but that is inconvenient.

Thanks for any help,

Dean
Oracle 10g Server and Client/ Windows XP


author: Robbert van der Hoorn

subject: Re: Within a transaction, possible to save to somewhere that will not be roled back?

text:
"dean" <[email]> schreef in bericht
news:[email]...

Although I think you should re-check your design,  if you really want this,
you could use Autonomous Transaction.

Robbert


text:
Robbert van der Hoorn wrote:

Thanks Robbert - at a glance that sounds like it might work. I'll look
into it.

Dean


subject: HP710 froze at cold-boot? FILTER TIME_FROM 12:41:49.000000 01/03/100

text:
I have inherited a HP 710 (Apollo Series 9000) workstation which was
sitting in a corner of my room for the past 6-7 months.  I wanted to
resurrecte the machine and try to put it to some use.  :-(

The machine was functional in Feb 2000 (yes, I have other important
things to do ) , except that at that time I notice that the clock is
out. The machine at tat time hwas operating as a stand alone set.

Recently I switched the HP 710 'on' (cold boot) and the workstation
froze during start up.  The following are the on screen messages ....

  Initializing system ..........[ OK ]

        <....etc, etc ...>

Year must be between 00 and 99 inclusive:100.

The following command will be ignored:

FORMATTER
FILTER TIME_FROM 12:41:49.000000 01/03/100
NFS server (pid154@net) not responding, still trying

This situation last indefinately.  Is the machine waiting for a network?
 In Feb, when the machine was first disconnected from the network, the
machine can operate as stand alone after 'time-out'.  I suspect the
timer is Knock Out by Y2k.  What can I do?

Can anybody give me a clue what is happening?  What can I do to shut
down the machine, short of switching off the power in this state?
Thanks in advance.

Sent via Deja.com http://www.deja.com/
Before you buy.


author: Art Boyne

subject: Re: HP710 froze at cold-boot? FILTER TIME_FROM 12:41:49.000000 01/03/100

text:
Which version of HP-UX were you running?  Sounds like HP-UX 8.x or
9.0x.  Neither of these versions are Y2K compliant; you must upgrade to
HP-UX 10.x (preferably 10.2) or 11.0 plus Y2K patches.

Art

<[email]> wrote in message
news:8tofka$9no$[email]...


author: Lothar Paltins

text:
In article <[email]>,
	Hinnerk Hagenah <[email]> writes:

The maximum RAM for the 710 is 64MB.

10.20 _is_ supported, 11.0 isn't.

Doesn't HP-UX 9.10 run on this machine or doesn't that software run under
9.10? But I would suggest to look for a cheap 9000/4xx with 9.10, a
software running under 8.x on a 330 should also run under 9.10 on a 4xx.


author: Martin Kroeker

subject: Re: HP710 froze at cold-boot? FILTER TIME_FROM 12: 41:49.000000 01/03/100

text:
In comp.sys.hp.hpux [email] wrote:

Try booting the machine in single user mode. Hit Escape during bootup
to get to the boot menu, enter 'boot p0 isl', and when it gets to the
ISL> prompt, try entering 'hpux -is boot'. This should allow you to login
and remove the nfs mounts from /etc/checklist. The 'TIME_FROM' error
message you mentioned should be 'mostly harmless' - it is indicative of
a not-Y2K-compliant setup (as in: expect problems with printing/backups
/filemanagers), but the machine should come up nevertheless.

HTH,
Martin


text:
"Lothar Paltins" <[email]> wrote in message
news:[email]...

HP-UX 9.1 was a release for the s300/400 family that included some HP-UX
10.x features, but was built on the 9.0x core.  Y2K fixes were made
available
for 9.1 (only) for the s300/400.  No such version exists for the s700
family,
which includes the 710.  The only Y2K-compatible OS'es are 10.0 and later.

HP-UX 10.2 *is* supported on the 710.

Art


text:
In article <[email]>,
  "Art Boyne" <[email]> wrote:
to

I must sound really dumb to admit that I do not know for sure which
version of HP-UX the machine is on.  Now  that the startup sequence is
frozen I cannot access it (even as root).

As I said in the original posting, I have 'inherited' this machine, or
literally stop it's disposal and they have become my baby.  The original
system administrators are nowhere to be found.

I belive this particular HP 710 is on HP-UX 8.X and definately from the
messages it is NOT Y2K compliant.

Is there such a thing as a 'boot' floppy for HP-UX?

Thanks in advance.

Tim Foo

Sent via Deja.com http://www.deja.com/
Before you buy.


text:
In article <[email]>,
  Martin Kroeker <[email]> wrote:

login
of
printing/backups

Thanks for the tip.  I have manage to inturupt the bootup sequence and
the machine had terminated from it's search for Potential Boot Devices.

 A menu came up: the choice presented are;
b)    Boot from specified device
s)    Search for bootable devices
a)    Enter Boot Administration mode
x)    Exit and continue boot sequence
?)    Help

Selecting from ? menu lead me nowhere (i.e. back to same menu) and
option 'a' give me the BOOT_ADMIN> prompt.

Can someone point me to a guide for CONSOLE commands?

A ? at BOOT_ADMIN> prompt gives me the following;

AUTO, AUTOSEARCH, AUTOBOOT, BOOT, DATE, EXIT, FASTSIZE, HELP <item>,
INFO, LAN_ADDR, OS, PATH, PIM_INFO, RESET, SEARCH, SECURE, SHOW

Strange thing when DATE ? was type on BOOT_ADMIN> prompt

There is a declaration from the CONSOLE that;
Dates through December 31, 23:59:59, 2069 are supported.

This sounds like a false declaration...  :-( Obiviously, whoever wrote
the message could have meant something else.

Anyway the function is probably broken, I think, because DATE give me an
error message;

ERROR:  Set Real-Time Clock to valid value, statis = -13

00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<i.e. 4 rows by 8 cols of 8 zeros>

BTW as a quick fix what year it was in 1972 that has the same calender
as 2000?

Thanks in advance for any response.

Tim Foo

INFO yields the following
M/C model: 9000/710
Processor Frequency = 50 MHz
I/O         "       = 25  "
...
Processor Revision     = 3
System Controller Revision = 0
F/P Coprocessor     "      = 3

Hardware Version          12288  (0x00003000)
Software   "               1153  (0x00000481)

Sent via Deja.com http://www.deja.com/
Before you buy.


text:
<[email]> wrote in message
news:8trcem$mah$[email]...

Sounds like an upgrade to HP-UX 10.2 or later is in order.

Yeah, anything before 10.x is non-compliant, and even 10.x requires patches.
HP declined to make pre-10.x versions compliant, and instead offered free
upgrades to 10.2.

Nope.  But you can boot from CD-ROM or tape, assuming you have
and install disk/tape.  You will need to contact HP about an upgrade.

One thing to be aware of is that 10.2 is substantially larger than 8.0, and
requires more RAM (to run efficiently) and disk space.  I'd recommend
a BARE minimum of 32 MB of RAM (preferably 64 or even 128 MB),
and 1 GB of hard disk (preferably 2 GB).

Art


author: Mike Stroyan

text:
In comp.sys.hp.apps [email] wrote:

|Selecting from ? menu lead me nowhere (i.e. back to same menu) and
|option 'a' give me the BOOT_ADMIN> prompt.

|Can someone point me to a guide for CONSOLE commands?

  There is some documentation in "man isl", although your system's very old
isl may be a little different.
http://www.docs.hp.com./hpux/onlinedocs/B2355-90129/B2355-90129.html

|Anyway the function is probably broken, I think, because DATE give me an
|error message;

|ERROR:  Set Real-Time Clock to valid value, statis = -13

  You should try replacing the watch battery on the motherboard.
A 710 with an original battery is very likely to need a new one.
If the battery is dead then the Real-Time Clock will always power up
with a "bad" value.


author: Hinnerk Hagenah

text:
"Art Boyne" <[email]> writes:

If you can't even interrupt the bootsequence pressing ESC and then
boot to ISL and single user mode (where you good 'adjust' the date
which is no problem if the machine is not connected to others) I think
useing installation or recovery media is the only way left.

The major problem is that 10.20 is not officially supported on 710
IIRC.

BTW, is there any official suggestion as to what to do with a HP 330
(yes, I know) that used to run 8.0 (I believe, but could be earlier)
and some software _only_ available for that release and desperately
needed to program some rather large machine tool? The machine tool
vendor stopped that version of the software and newer versions won't
fit the machine (though running on newer OS :o( )

Or is the 'fixed date workaround' the only possibility (if the system
ever boots again, one of its uge disks (physically huge that is) seems
to be corrupted...

Hinnerk


author: Brent Watkins

subject: Unable to change system settings!  HELP!

text:
I have a bizarre problem installing Windows NT.  Whatever settings I
specify at installation work fine, but if I try to change any settings
once the system is up and running, I get an error window saying that
NT cannot be started with the specified settings, and it is reverting
to a working configuration.  Some examples : if I try to install RAS,
when I run it I get an error saying the initialization of rasman.dll
failed.  But if I set it up when I am installing, it works fine.  NT
also refuses to acknowledge that I have a sound card (Sound Blaster
16).  When I install it and reboot, I get an error in the event log
saying that the sndblst service failed to start because the parameter
was incorrect.  I cannot change display resolutions; I must use the
one I installed with.  My theory is that NT will not write to the
registry to update any configuration settings properly.  I even tried
the NT 4.0 beta (1234 build) in the hopes that this problem had been
addressed, but no luck - the exact same problems occured.  Does anyone
have any ideas why this is happening?  I am at the end of my rope - I
have tried installing about 20 times now and I REALLY want to get NT
to run because I saw it on a friend's system and was very impressed.
I am stuck using 95 and now that I have seen NT I can't stand 95
anymore!

Brent M. Watkins                       _____                _____
OSUMB B-Row                          /\:::::/\            /\:::::/\
                                    /::\:::/::\          /::\:::/::\
[email]                /::::\_/::::\   .--. /::::\_/::::\
[email]        /_____/ \_____\-' .-.`-----' \_____\
                                  \:::::\_/:::::/-. `-'.-----._/:::::/
[email]          \::::/:\::::/   `--' \::::/:\::::/
[email]                 \::/:::\::/          \::/:::\::/
                                     \/_____\/            \/_____\/
http://www.cis.ohio-state.edu/~watkins


author: Rob

subject: LPAR Question....

text:
Can I have one Partition running OS/400 while I do a fll system save on
another partition? There is a Program that cannot have any downtime, and I
wuld like to ave that run one one partition on stop while I can do a full
system save on antoehr Partition. Also, can you IPL one partition without
taking down another? Thanks
Rob


author: Marc Rauzier

subject: Re: LPAR Question....

text:
Rob racontait dans comp.sys.ibm.as400.misc:

All the partitions are independant for restricted mode.

All the partitions are independant for IPLing, except for the
controlling partition. If you power down it, all the others are powered
down.


author: Ugo Gagliardelli

subject: Re: LPAR Question....

text:
Marc Rauzier wrote:
Marc, are you saying that I can ENDSYS *IMMED the controlling partition
without any effect on the others? (I just fear to try :))


subject: Re: LPAR Question....

text:
Ugo Gagliardelli racontait dans comp.sys.ibm.as400.misc:

Yes, Ugo, you can. For example, you can run a SAVSYS on the controlling
partition without any impact on the others.


author: Stef van der Made

subject: Re: LPAR Question....

text:
I think you didn't read his piece to the end. He said that all the
Parttions are independant except the controling partition. Thus you can't
ipl the controling partition without bringing down all the partitions.

You can howerver IPL all the other partitions as long as you don't IPL
the controling one as that brings down the whole box.

Cheers,

On Sat, 23 Mar 2002 12:13:25 +0100, Ugo Gagliardelli wrote:


subject: Re: LPAR Question....

text:
Stef van der Made wrote:
Let me say that I always read with full attention Marc statements, this
time too.
I quoted only the part where he is talking about restricted mode, that
can be obtained either with ENDSYS or ENDSBS *ALL commands, for another
reaseon.
I know that IPLing the controlling partition affect all the other
partition, it was my convinction that restricted mode would the same
way, and I fear to try what Marc stated on a production system, not
because I don't trust Marc words, but only because I don't trust my
understanding ability, so I simply wanted Marc (or someone other) to
explicitly confirm or deny what I understood, that is: "putting
controlling partition in restricted mode will not affect other
partitions".


author: Jan Willem de Lange

subject: Re: LPAR Question....

text:
Ugo,
You even do not have to IPL further then DST, or even do not have to
install OS/400, just the kernel (SLIC).
Jan Willem de Lange

Ugo Gagliardelli <[email]> wrote in message
news:[email]...
Marc Rauzier wrote:
:))
controlling
Great! Thanks.


author: Jason

subject: Re: Amiga vs. c64

text:
Edsel Richards:

Nah, I'll stick to my A1200, with 12bit colour for the nudie pi...  Oops...
=-)


author: Mark Hard

subject: Brainteasing problem I am having.

text:
Hi guys,

Basically the input to my code will be 4 sets of x,y coordinates which make up the edges of a quadrilateral. e.g. "x1" is the the x coordinate of point 1, "y3" is the y-coordinate of node 3 ect.

The problem I am having is that I need the x1 y1 coordinates to be the bottom left of the quadrilateral which points 2,3 and 4 following anticlockwise like shown in this picture..

http://i50.tinypic.com/11rrg60.jpg

However my data source gives me a random start point but DOES distribute 2, 3 and 4 anticlockwise. Like this picture.

http://i49.tinypic.com/28bdunc.jpg

I need to ensure that the coordinates are assigned correctly before I can continue.

What i decided to do is use an "if" statement. where is checks if the points are in the right place and if not rotates each point clockwise like so...

if y1 < y4 & y2 < y3 & x2 > x1 & x3 > x4
    else x1 = x4; x2 = x1; x3 = x2; x4 = x3; y1 = y4; y2 = y1; y3 = y2; x4 = y3;
end

and repeat this 3 times so ensure that they have all moved.

But of course this will not work because x1 will be equal to x4 and this will make them all equal.

Anyone have any ideas? Getting a pain in my head with it now.

Any help would be greatly appreciated.

Mark.


author: Matt Fig

subject: Re: Brainteasing problem I am having.

text:
I don't think your problem is very well defined.  You say you need (x1,y1) to be in the bottom-left corner like the picture, but that point is not bottom, only left (point (x2,y2) is below it.).  If point (x1,y1) in your first picture were moved so that the x value was between x4 and x2, then it would be neither bottom nor left!

Besides this, what are you doing that is not invariant with this arbitrary labeling of the points?

Also in general:

% Data
x = 3;
y = 4;
% Change them
tmp = y;
y = x;
x = tmp;


author: ImageAnalyst

subject: Re: Brainteasing problem I am having.

text:
Mark:
Why not just find the one closest to the most southwest possible (for
your situation) corner,and then sort going clockwise from there, like
in this demo:

clc;
close all;
clear all;
workspace; % Display workspace panel.

amplitude = 100;
x = 2 * amplitude * rand(1,4) - amplitude;
y = 2 * amplitude * rand(1,4) - amplitude;
plot(x,y, 'r+');
axis square;
axis equal;
hold on;
% Calculate centroid
xCentroid = mean(x);
yCentroid = mean(y);
plot(xCentroid, yCentroid, 'ro');
text(xCentroid, yCentroid, '   Centroid', 'FontSize', 15);
set(gcf, 'Position', get(0,'Screensize')); % Maximize figure.

%Calculate distance from -100000, -100000
xMaxSouthWest = -100000;
yMaxSouthWest = -100000;
minDistance = realmax;
distances = zeros(1, length(x));
min_k = 1;
for k = 1:length(x)
	deltaX = x(k) - xCentroid
	deltaY = y(k) - yCentroid
	angles(k) = atand(deltaY/deltaX)
	if deltaX < 0
		angles(k) = angles(k) + 180;
	end
	if deltaX > 0 && deltaY < 0
		angles(k) = angles(k) + 360;
	end
	pointLabel = sprintf('  %d, %.1f degrees', k, angles(k));
	text(x(k), y(k), pointLabel, 'FontSize', 15);
	distances(k) = sqrt((x(k) - xMaxSouthWest)^2 + (y(k) - yMaxSouthWest)
^2);
	if distances(k) < minDistance
		min_k = k;
		minDistance = distances(k);
	end
end
% Print to command window
distances
message = sprintf('Point %d is the most southwest point is (%.1f, %.
1f)', min_k, x(min_k), y(min_k));
uiwait(msgbox(message));

% Sort the points going clockwise,
% starting with the most southwest point.
[sortedAngles, originalIndexes] = sort(angles, 'descend')
minKPosition = find(originalIndexes == min_k, 1, 'first')
anglesStartingWithSW = circshift(sortedAngles, [0 -(minKPosition-1)])
indexesStartingWithSW = circshift(originalIndexes, [0 -
(minKPosition-1)])
% Print out to command line.
indexesStartingWithSW
anglesStartingWithSW

% Draw lines between them
sortedX = x(indexesStartingWithSW)
sortedY = y(indexesStartingWithSW)
plot(sortedX, sortedY, '-b');


subject: Re: Brainteasing problem I am having.

text:
Thanks for your reply. I understand what you mean about the "bottom-left" description. Describing it as the "south-west" point relative to the centroid would probably have made more sense.

I need to keep the labeling consistant as I will be using the code thousands of times for different coordinate values and unfortunately my data source doesn't stay consistant when labelling point 1 for each quadrilateral.


author: Bruno Luong

subject: Re: Brainteasing problem I am having.

text:
"Mark Hard" <[email]> wrote in message <hj2jdt$gsu$[email]>...

Hint: South-West is vector SW:=(-1,-1). Most southwest is reached when the scalar product with SW is largest.

Bruno


subject: Re: Brainteasing problem I am having.

text:
Thanks for the reply.

I assume you mean the scaler product of the vector going from the centroid to the point in question and (-1,-1) rather than just the x,y coodinate to (-1,-1)? In which case I need some kind of formula for finding the centroid which I am not aware of. I had considered using the centroid earlier and made this thread..

http://www.mathhelpforum.com/math-help/geometry/124269-centroid-quadrilateral.html

but no replies so far.


author: Jan Simon

subject: Re: Brainteasing problem I am having.

text:
Dear Mark!

  center_x = sum(all x coordinates) / number of coordinates
  center_y = sum(all y coordinates) / number of coordinates

I think the "centroid" is equivalent to the "center".

Kind regards, Jan


subject: Re: Brainteasing problem I am having.

text:
Dear Mark!

The problem is easily solved in polar coordinates (see e.g. CART2POL):
  xc = sum(x) / 4;
  yc = sum(y) / 4;
  angle = atan2(y - yc, x - xc);
Now the angle nearest to -0.75 belongs to the most south-west point.
You can add this angle to the other 3 points and sort them by their angles.

Usually I confuse clock/counter-clockwise: please use "-atan2" on demand.
See also: doc cart2pol

An equivalent method using ACOS is usually even faster, but has more dot-products.
Kind regards, Jan


subject: Re: Brainteasing problem I am having.

text:
"Mark Hard" <[email]> wrote in message <hj2qq4$8k7$[email]>...

A vector is a vector, it defined by two coordinates (-1,1).

Bruno


subject: Re: Brainteasing problem I am having.

text:
"Bruno Luong" <[email]> wrote in message <hj3n3n$6if$[email]>...

Sorry I miss-read your question. I'll try again: It does not matter whereas you remove the coordinates of your points by the centroid or not, since the scalar product between the centroid and SW=(-1,-1) is always the same, and if you take the MAX at the end, you can use raw coordinates or centered-coordinates. Thus the above formulation avoids a headache with selecting the centroid.

Bruno


author: Benjamin Menküc

subject: how can I improve my code?

text:
Hi,

since I am a beginner with fpgas and vhdl, I want to ask if some
fpga-veteran can give me some hints how to improve my coding-style.

Attached is my latest code (for controlling an LCD via LVDS), it works
in the simulator and is not yet tested on the chip.

regards,
Benjamin

-- lvds_tick is a clock at 7x pixel-clock	(140 MHz)
-- lvds_clk is the clock for the lvds bus, same as pixel clock, but not
symmetric
-- like this for one pixel period: --___--
process (lvds_tick,screen_reset)
begin
	if screen_reset='1' then
		--load_lvds<='1';
		lvds_div<=0;
	elsif rising_edge(lvds_tick) then
		if lvds_div = 0 then
			lvds_clk <='1';
			--load_lvds<='0';
		elsif lvds_div = 2 then
			lvds_clk<='0';
		elsif lvds_div = 5 then
			lvds_clk<='1';
		elsif lvds_div = 6 then
			lvds_div <= 0;
		end if;
		if lvds_div = 7 then
			lvds_div <= 0;
			--load_lvds<='1';
		else
			lvds_div <= lvds_div + 1;
		end if;
	end if;
end process;

-- this process generates the load impuls for the shift register below
process (lvds_tick,screen_reset)
begin
	if screen_reset='1' then
		load_lvds<='1';
	elsif falling_edge(lvds_tick) then
		if lvds_div = 7 then
			load_lvds<='1';
		else
			load_lvds<='0';
		end if;
	end if;
end process;

-- generates serial data for one lvds-pair
lvds_1:process (lvds_tick)
begin
    if load_lvds= '1' then
       reg1 <= lvds1;
    elsif rising_edge(lvds_tick) then
       reg1 <= reg1((7-2) downto 0) & '0';
    end if;
    lvds_1_in <= reg1(7 - 1);
end process;


author: Neo

subject: Re: one hot decoder

text:
Info,
The code above given by you for onehot did sysnthesize differently. the
"case" version systhesized to 3 LUT's involving only OR gates and didnt
infer priority structure infact it optimized as you have mentioned to a
series of OR gates. But the "if" version systhesiszed to 6 LUT's and
inferred a priority structure. Leonardo was used for the systhesis.


author: Mohammed A khader

subject: Re: Case statement illusions ?

text:
HI Bert,

  Intersting topic to talk about ! .

  I am a newbie(still at academic level) but I'll not accept from a
book without saying why.
  Here is the list which I have read  .....
 1) RTL Implementaion Guide   by Jack Marshall (from tera systems Inc).
( I got this from synopsys SNUG group,check it if u have account )
2) Coding style from synopsys
 3)
http://www.utdallas.edu/~shankars/teaching/ee5325/foils/lectures/lecture17.pdf
 (Slid number 17)

 4) http://min.ecn.purdue.edu/~ee495d/Lectures/synthesis.pdf

 All say that case  infers a  parallel logic and if-elsif-else  infers
a proirity encoder structure ...  If  situation does'nt demand me for a
prority logic Why shall I  choose it ???

problem of qulifying expression has been addressed  by vhdl committee
and it is going be fixed soon.

completness of case is an advantage to find the bugs.Lets take an
example....
 Take the exmaple you mentioned above

  Suppose  my_std_logic is a conrol signal which must be initialized
properly after reset. I cannot see that with your if - else code . but
by having others clause  I could watch all uninitialized 'U' signals by
case statement.

 I dont know partiuclarly about one hot minimal decoder but
 Synthesis tools say case statments are good for area opptimizations.

 I dont think  if-else provide more  " expressiveness " then case. For
parallel code case is more "expressiveness".
 At the end  merits of hardware counts wheather  it is in the form of
few gates. Dont under estimate the  number of gates as it is know
causing more static power.

 Thank you very much for starting such an interesting topic.

 -- Mohammed A Khader.


subject: Re: how can I improve my code?

text:
Benjamin Menkï¿œc wrote:

I suggest you could start with :

http://www.alse-fr.com/English/Archive/VHDL_Coding_eng.pdf

Your processes have many errors mentioned in this document.

process 1 : missing reset on lvds_clk
process 2 : you use both edges of the clock ? (do you need this ?)
process 3 : wrong sensitivity list, maybe not synthesizable
    depending on the target technology (asynchronous load),
    lvds_1_in is clocked by both edges and negatively clock enabled
    load_lvds ??

Bert Cuzeau


subject: Re: one hot decoder

text:
Neo wrote:
Yes my point exactly. Not all tools do this correctly. Leoanrdo is right.
Just try Precision Synthesis (or other tools) if you can and compare
the results.

The if .. elsif is a priority encoder which has a well defined behavior
for the overlapping cases (more than one 1 in the vector), and this
requires more logic than the "pure one hot". This edscription is
more predictible acroos tools.

Bert


subject: Re: Case statement illusions ?

text:
Just a few extra comments :

Mohammed A khader wrote:

They don't quite say this (or they'd lie).
"If ... elseif" has an implied priority (first test true -> next tests
are not taken)... but that makes no sense when you describe a truth table !
(as in my first encoder example)
Whatever the means to describe behaviorally the truth table, it
will end up the same, and by way of logic reduction it will lead
to implementations that may or may not be similar depending
on synthesis tools optimization goals, constraints, internal
logic reduction algorithm, etc...
Things may become different when complex operators are inferred.
The BIG difference is that, from a synthesis perspective,
describing a truth table isn't the same as describing higher
level structures !

What I mean is be wary of general rules about synthesis. There are more
than one tool, and tens of years of research behind them...
I think it's pretty dangerous to say "this does infer that".
Or you have to be damn accurate : given code snippet, given tool,
given version, given technology, given constraints, etc etc

1. I didn't mean it was a problem ! You just need to know the language.
   Qualified expressions are just often unknown to newbies, but they
   are extremely useful. write (L,"hello"); for example.
   There's no problem in writing "case A&B" (a qualified expr does it).
   It's also possible to get directly the two MSBs of A + B (vectors).
   One just needs to know a bit more than the basics of VHDL.

2. What do you mean by "has been addressed..."? I don't want to start
  another controversy, but VHDL200X isn't out of the woods.
  We all just hope it will happen (out of IEEE and then into our tools)
  before the EDA community majority has switched to SystemVerilog.
  But there is absolutely no real need of a better VHDL for simple designs.

It's MUCH easier to follow good coding rules which ensure that the
bad situation you mention will never happen in your design that
trying to test every signal again 'U' !
If you want to do this, be consistent and write a test for every
numeric vector, making sure it doesn't include any 'U'. Not cool.

Simple gross mistakes are easier to prevent than to detect.

I think this is the same with std_ulogic, which use was supposed
to help detect multiple drivers situations (it did). But there
are other ways to check this and so many other bad things are
to be tested at synthesis that everybody has dropped now this
unresolved type and obsolete style.

It's called hearsay I think.
Then, why doesn't it show up in the simple examples I gave ?
(XST 6.3.03i creates in fact a larger design with the "case" version)

I have reproduced below an old example that I sometimes used
in my courses. I kept it simple minded (no fancy function).
Why don't all synthesis tools give the simple OR gates ?
- The case version "looks" nicer, but check the gates count (with your tool).
- In the "if" solution : do you see a priority after synthesis ??
Chances are your synthesis tool will produce three times larger solution
with the case than with the if.
Don't believe ppt slides (nor me) !

0. How do you know you have "saved" some gates and achieved
  and an optimal solution ? What do you compare against ?
  In the example below, was 15 LUTs acceptable or not ? (without
  the comments saying it was not).

1. The case doesn't always produce less gates, sometimes
  the contrary as proved here.
  I try to not underestimate anything ! I just check by myself
  as much as I can and I encourage you, if you're sensitive to gate
  count and QOR, to always verify and never simply "assume".

2. If design could be made significantly smaller by avoiding "ifs",
  then don't you think the Synthesis tools would automatically do
  the translation internally ? (they do, this and many other tricks)

3. There is one or two orders of magnitude higher potential gain
  by smart implementation and good design know-how :
  being a smart architect pays !

4. Most synthesis tools are smarter and smarter, so a good
  understanding of your specific tool is also a good investment.

5. FPGAs and ASICs are two different worlds. What applies to one not
  necessarily applies to the other. Synthesizing to LUTs and to GATEs
  isn't the same. Don't forget Synopsys is an ASIC company.
  Driving DC ins't the same as doing FPGA synthesis.

6. Significant Power consumption reduction requires other techniques
   than using case instead of if (supposing that there is any gain
   at all doing so).

7. Gate count is definitely less and less an issue, even in the
  ASIC field ! Challenges have moved, and old books don't reflect this.

My experience is : Synthesis tools are often smarter than the designer
thinks, but there are also sometimes doing some apparently "stupid"
things (at least looking like such for unexperienced designers).
Just try Q <= A + B - A - B; -- unsigned vectors.

And please do *NOT* avoid the case statement when it is appropriate !!!

Again, HDL code should be as simple, clear and expressive as possible,
easy  to understand and maintain, and not error-prone. I assign a higher
priority to these criteria in our designs.

After a good ground learning, learn by trying. This is fun anyway.
You must end up "thinking" like your synthesizer, then you'll be
real efficient.

Bert Cuzeau
   "Let's save the poor IF from damnation !" Commitee
   12, Gate(s) Lane
   Mux Island
:-)
(donations accepted, FFs* and LUTs only)
* FlipFlops, not French Francs

----------------------------
-- HOTDECOD.VHD
-- -------------------------------------
--   One-Hot Decoder
-- -------------------------------------
-- ALSE. http://www.alse-fr.com/english
-- This design must be synthesized as 3 x OR gates (4-inputs)
-- Any extra logic is unnecessary.


subject: Re: how can I improve my code?

text:
Hi Bert,

thanks for looking at the code.

what do you mean by that? should I set lvds_clk to '0' during reset?

I think I need both edges, because there is no pause between two bytes,
so the shift register needs to be loaded with the new data between the
last and first bit. Or is there a better way (probably...)?

I have changed this process...

I have my new code attached. However I have read that case statements
are better, because they can be implemented parallel... I will change that.

I have put the two processes that do the lvds_clk and the pixel counting
into one process. Is it generally better to have one big process?

regards,
Benjamin

-- lvds_tick is a clock at 7x pixel-clock	(140 MHz)
-- lvds_clk is the clock for the lvds bus, same as pixel clock, but not
symmetric
-- like this for one pixel period: --___--
process (lvds_tick,screen_reset)
begin
	if screen_reset='1' then
		lvds_div<=0;
		row_count <= 0;
		col_count <= 0;
		DTMG <= '1';
		VSYNC <= '0';
		HSYNC <= '0';
	elsif rising_edge(lvds_tick) then
		if lvds_div = 0 then
			lvds_clk <='1';
		elsif lvds_div = 2 then
			lvds_clk<='0';
		elsif lvds_div = 5 then
			lvds_clk<='1';
		end if;

		if lvds_div = 6 then
			lvds_div <= 0;

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

			if col_count = 1023 then
				DTMG <= '0';
				HSYNC <= '1';
			elsif col_count = 1035 then
				HSYNC <= '0';
			end if;

			if col_count = 1075 then
				col_count <= 0;
				if row_count < 767 then
					DTMG<='1';
				elsif row_count = 767 then
					VSYNC <= '1';
				elsif row_count = 769 then
					VSYNC <= '0';
				end if;
				if row_count = 783 then
					row_count <= 0;
					DTMG<='1';
				else
					row_count <= row_count +1;
				end if;

			else
				col_count <= col_count +1;
			end if;

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

		else
			lvds_div <= lvds_div + 1;
		end if;

	end if;
end process;

-- this process generates the load impuls for the shift register below
process (lvds_tick,screen_reset)
begin
	if screen_reset='1' then
		load_lvds<='1';
	elsif falling_edge(lvds_tick) then
		if lvds_div = 0 then
			load_lvds<='1';
		else
			load_lvds<='0';
		end if;
	end if;
end process;

-- generates serial data for one lvds-pair
lvds_1:process (lvds_tick)
begin
    if rising_edge(lvds_tick) then
		if load_lvds='1' then
			reg1 <= lvds1;
		else
       	reg1 <= reg1((5) downto 0) & '0';
		end if;
    end if;
    lvds_1_in <= reg1(6);
end process;


author: Symon

subject: Re: how can I improve my code?

text:
"info_" <"info_"@\\nospam_no_underscore_alse-fr.com> wrote in message
news:Qauce.51988$[email]...

...and learn about 'case' statements.
Syms.


subject: one hot decoder

text:
I need to add some more information to be absolutely accurate :

There IS in fact a priority in the description above which is
indeed respected in the synthesized result ! This description
works as a one hot decoder, but it is also a priority encoder
when it handles the overlapping cases.
This is why this solution is still not optimal (as a one-hot decoder)!
(5 LUTs instead of 3).

A really optimized one hot decoder (with all synthesis tools) can
be built with the following function (provided by S. Weir in an
old post) :

   ----------------------------------------------------------------------------
   -- Encode a vector of discrete bits into a binary vector representation,
   -- WITHOUT guarding against multiple bits on.
   --
   -- For a single bit on, the encoded value is the offset from the
   -- low index of src of the asserting bit, regardless of src's
   -- endianness.
   ----------------------------------------------------------------------------
   function fnEncBin ( src  : std_logic_vector ) return std_logic_vector is
    variable rslt : std_logic_vector( fnLog2M( src'length ) - 1 downto 0 ) ;
   begin
    rslt := ( rslt'range => '0' ) ;
    for rslt_idx in rslt'range loop
     for src_idx in src'length - 1 downto 0 loop
      if( ( ( src_idx / ( 2**rslt_idx ) ) MOD 2 ) = 1 ) then
       rslt( rslt_idx ) := rslt( rslt_idx ) OR src( src_idx + src'low ) ;
      end if ;
     end loop ;
    end loop ;
    return( rslt ) ;
   end ;

This function simply infers the OR gates directly !
In the case of this post, the one hot decoder ends up in
three (4 inputs) LUTs, one logic layer instead of 2 (or more).
I don't think there is any other description that infers the
minimal result with all synthesis tools.

Bert Cuzeau


author: Mike Treseler

subject: Re: Case statement illusions ?

text:
info_ wrote:

"case" and "if then else"
have no overlapping cases and therefore no priority.

"if then else elsif elsif ... "
only implies priority if cases overlap.

I agree that std_ulogic_vector is usually
more trouble than it's worth.
However std_ulogic has no such downside.
I use std_ulogic as my default bit type.
It port maps directly to std_logic without conversion.

    -- Mike Treseler


subject: Case statement illusions ?

text:
Symon wrote:

I take advantage of your post (and of the WeekEnd)
for a question to the group.

I often see newbies writing things like :

case my_std_logic is
   when '0' =>
   when '1' =>
   when others =>    -- they HAVE to write this indeed !!
end case;

They seem to believe it would be a better (more efficient !)
style than :
  if my_std_logic='1' then
  else
  end if;

?????
Since I've seen this a number of times, I'm curious
to know who is telling them this ? and why ? a book ?

And when things get more complex, even more people seem
to say that the case statement is a miracle... and
would magically turn a "serial" computation into a "parallel"
one, more efficient, that one has a priority while the other
would not etc etc.... I usually hear the very same persons
say they don't know what the '-' (don't care) is about !

I'm _not_ saying here that the case statement is never to
be preferred, but the designer must be aware of the reality.
The case statement in VHDL also has it's unfriendly sides
(you often have to qualify the case expression like in
"case A&B is" + there is also the locally static issue
+ no way to use std_match in a case + case must be complete, etc...).
The Verilog case statement, associated with parallel case
pragma, is more versatile (like with a constant selector).

Even using the case statement (and don't cares), obtaining
the minimal logic sometimes requires efforts (as for the one
hot minimal decoder).
My recommendation is to usually favor the style which provides
the best expressiveness even at the (hypothetical) cost of a
few gates.

I quickly wrote the example below.
Note that I didn't merge the cases or the ifs so different
decoding logic can easily be tested. It is also possible
to remove some case(s) (thanks to the default statements).

Has anyone different views or experience to share ?

---------------------------------------------------------
-- Will the "case" statement really change your life :-) ?


subject: Re: Case statement illusions ?

text:
Hi Mike,

Mike Treseler wrote:

        if A(7) = '1' then Q <= "111";
     elsif A(6) = '1' then Q <= "110";
     etc...
do overlap, but even then, it does not necessarily
require or imply a priority-based implementation.

Seems I was a bit too quick to burry std_ulogic...

I still won't use it, nor RTL procedures, but this is more
a matter of habits and personal taste. I once suspected that
you were using both as a hidden signature to copyright your code
;-)

Cheers,

Bert Cuzeau


author: backhus

subject: Re: Case statement illusions ?

text:
Hi Symon,
for (most) of the given examples case and if-elsif will give the same result.
Why?
Because in both cases :-) your selector is fully covered (uses all of the bits of a vector or whatever you use as a
selector). Your if-elsif collapses into a parallel structure, because there is no priority of one value over the other
possible.

but how about this:

Selector <= A&B&C;  -- I MUST do this for a case statement !
case Selector is
   when "001" => Output <= Input1;
   when "010" => Output <= Input2;
   when "100" => Output <= Input2;
   when others => Output <= (others => 'Z');
end case;

vs.

If C = '1' then
   Output <= Input1;
elsif B= '1' then
   Output <= Input2;
elsif C= '1' then
   Output <= Input3;
else
   Output <= (others => 'Z');
end if;

NOW the case produces a parallel multiplexer structure that is sensitive for the given code of Selector.
The if-elsif does something different. Whenever C becomes '1' (No matter how unlikely or unneccesary this might be in
your particular design) it switches Input1 to the output. Here we have the always cited priority encoder.

To get the same functionality with a case you have to write a different code:

Selector <= A&B&C;  -- I MUST do this for a case statement !
case Selector is
   when "--1" => Output <= Input1;
   when "-10" => Output <= Input2;
   when "100" => Output <= Input2;
   when others => Output <= (others => 'Z');
end case;

Now the first >when< hits whenever C becomes '1'.
This code might produce something more "parallel" than the if-elsif, but who knows about the tricks of modern synthesis
tools. :-)

Have a nice synthesis

   Eilert


subject: Re: Case statement illusions ?

text:
Hi Info,

I have read here, that case is more parallel:

http://www.vhdl-online.de/tutorial/deutsch/t_201.htm

regards,
Benjamin


subject: Re: Case statement illusions ?

text:
Hi Bert,

info_ wrote:

I agree. Synthesis is free to make
any netlist that sims like the code.
I have found that coding style has a
negligible effect on utilization
for equivalent descriptions.

My point was that the logical idea
of priority does not apply to all
problems. Some are pieces of pie
and some are Olympic rings.

Yes. It's a little like changing the
spelling of my name on magazine
subscriptions to see where it goes.

Hey howdy,

               -- Mike Treseler


subject: Re: Case statement illusions ?

text:
backhus wrote:

Just a few errors :

1. you can in fact qualify the expression and not use a signal.
  A variable is usually preferable if you want one (otherwise,
  you must add Selector in your sensitivity list, and this slows down
  the simulation without usefulness).

  case SLV3'(A&B&C) is  -- with subtype SLV3 is std_logic_vector (3 downto 0);

2.
  output <= 'Z' infers a tristate, nothing to do with a don't care!
  A don't care '-' does eliminate C from the result.

3. case ... is    when "--1" is wrong !
  Comparing anything (but a '-') to '-' produces a false.
  Comparing with '-' (to ignore the comparison) requires the use
  of std_match (not usable in  case statement).

VHDL is not always intuitive...

Bert Cuzeau


author: Thomas Hornschuh

subject: Re: Microsoft C/C++ 7.0 questions

text:
DE>   Maybe you, or someone else in the know, can answer this question then.
DE> Will
DE> the new SDK 3.1 require the new features (such as oop, etc) present in C
DE> 7.0?
DE> Or can one upgrade to SDK 3.1 and still use C 6.x?

You can use the 3.1 SDK with every C/C++ Compiler (Borland, MS,
Zortech/Symantec). It contains only the tools (like SPY, CVW, RC, etc.), the
import libraries, header files and documentation. The beta versions included
runtime libs for C6, I don't know what the final release will include. But the
runtime lib's for C7 are contained in the compiler package, and for C6 you can
use your 3.0 SDK runtime libs (because they are independend of the windows
version). All OOP support (Foundation classes) are part of C7.0. The SDK only
contains the old style C API.

Thomas


author: Robyn A E Kozierok

subject: Re: Microsoft C/C++ 7.0 questions

text:
In article <[email]> [email] (Thomas Hornschuh) writes:

What would be the recommended setup for someone just staring out?  And
when will all the required components be available to the general public,
if they are not already.

Thanks,
--Robyn


author: Dennis Ellis

subject: Re: Microsoft C/C++ 7.0 questions

text:
In article <[email]> [email] (Thomas Hornschuh) writes:
  I guess I missed something here. If I call 'ShowWindow' (for example), I am
assuming that routine is included in the libraries supplied with SDK. Does
this statement mean that 3.1 has no new API calls implemented? I assumed that
there were some new ones and that the routines would be
included in the new SDK 3.1 kit. Is this incorrect?

Signed,
  Confused.


author: Security Alert

text:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SUPPORT COMMUNICATION - SECURITY BULLETIN

Document ID: c03221589
Version: 1

HPSBUX02755 SSRT100667 rev.1 - HP-UX WBEM, Remote Unauthorized Access to Diagnostic Data

NOTICE: The information in this Security Bulletin should be acted upon as soon as possible.

Release Date: 2012-03-27
Last Updated: 2012-03-27

Potential Security Impact: Unauthorized access to diagnostic data

Source: Hewlett-Packard Company, HP Software Security Response Team

VULNERABILITY SUMMARY
A potential security vulnerability has been identified with certain HP-UX WBEM components. The vulnerability could be exploited remotely in HP-UX 11.11 and HP-UX 11.23 to gain unauthorized access to diagnostic data. The vulnerability could be exploited locally in HP-UX 11.31 to gain unauthorized access to diagnostic data.

References: CVE-2012-0125 (HP-UX 31), CVE-2012-0126 (HP-UX 11.11 and HP-UX 11.23)

SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.
HP-UX 11.31
 ProviderSvcsBase
 before C.07.00.08.02

HP-UX 11.31
 SysFaultMgmt
 before C.07.06.03.01

HP-UX 11.31
 DASProvider
 before B.11.31.1203.07.02

HP-UX 11.31
 FCProvider
 before B.11.31.1203.06.02

HP-UX 11.31
 RAIDSAProvider
 before B.11.31.1203.06.02

HP-UX 11.31
 SASProvider
 before B.11.31.1203.05.02

HP-UX 11.23
 SysFaultMgmt
 before B.07.06.01.02

HP-UX 11.11
 SysFaultMgmt
 before A.04.04.03.02

BACKGROUND

CVSS 2.0 Base Metrics
===========================================================
  Reference              Base Vector             Base Score
CVE-2012-0125    (AV:L/AC:M/Au:S/C:P/I:P/A:N)       3.0
CVE-2012-0126    (AV:N/AC:M/Au:N/C:P/I:P/A:N)       5.8
===========================================================
             Information on CVSS is documented
            in HP Customer Notice: HPSN-2008-002

Note: The root cause of the vulnerability is the same for HP-UX 11.11, 11.23, and 11.31. However, the vulnerable feature cannot be accessed remotely in HP-UX 11.31.

RESOLUTION

HP has provided the following to resolve the vulnerability.

HP-UX 11i v3 (HP-UX 11.31)

WBEMMgmtBundle C.03.01 or subsequent is available for download here:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=WBEMMgmtBundle

HP-UX 11i v2 (HP-UX 11.23)

SysFaultMgmt B.07.06.01.02 or subsequent is available for download here:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SysFaultMgmt

HP-UX 11i v1 (HP-UX 11.11)

SysFaultMgmt A.04.04.03.02 or subsequent is available for download here:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SysFaultMgmt

MANUAL ACTIONS: Yes - Update

Install the update as listed above.

PRODUCT SPECIFIC INFORMATION

HP-UX Software Assistant: HP-UX Software Assistant is an enhanced application that replaces HP-UX Security Patch Check. It analyzes all Security Bulletins issued by HP and lists recommended actions that may apply to a specific HP-UX system. It can also download patches and create a depot automatically. For more information see: https://www.hp.com/go/swa

The following text is for use by the HP-UX Software Assistant.

AFFECTED VERSIONS (for HP-UX)

HP-UX B.11.31
==================
SFM-CORE.SFM_PRO_PA
SFM-CORE.SFM_PRO_IA
SFM-CORE.CPU-TEST-IA
SFM-CORE.CTR_PRO_COMM
SFM-CORE.CTR_PRO_COREIA
SFM-CORE.CTR_PRO_COREPA
SFM-CORE.EMT_COREIA
SFM-CORE.EMT_COREPA
SFM-CORE.EMT_DOC
SFM-CORE.EVM_PRO_COMM
SFM-CORE.EVM_PRO_COREIA
SFM-CORE.EVM_PRO_COREPA
SFM-CORE.EVWEB_COMM
SFM-CORE.EVWEB_COREIA
SFM-CORE.EVWEB_COREPA
SFM-CORE.EVWEB_DOC
SFM-CORE.EVWEB_GUI_COMM
SFM-CORE.EVWEB_GUI_IA
SFM-CORE.EVWEB_GUI_PA
SFM-CORE.FMD_PRO_COMM
SFM-CORE.FMD_PRO_COREIA
SFM-CORE.FMD_PRO_COREPA
action: install revision C.07.06.03 or subsequent

HP-UX B.11.31
==================
SFM-JOEM-CORE.SFM_PRO_JOEM
SFM-JOEM-CORE.CTR_PRO_JOEM
SFM-JOEM-CORE.EMT_CORE_JOEM
SFM-JOEM-CORE.EMT_DOC_JOEM
SFM-JOEM-CORE.EMT_MAN_JOEM
SFM-JOEM-CORE.EVM_PRO_JOEM
SFM-JOEM-CORE.EVWEB_COR_JOEM
SFM-JOEM-CORE.EVWEB_DOC_JOEM
SFM-JOEM-CORE.EVWEB_GUI_JOEM
SFM-JOEM-CORE.EVWEB_MAN_JOEM
SFM-JOEM-CORE.FMD_PRO_JOEM
SFM-JOEM-CORE.GS_JOEM
SFM-JOEM-CORE.MISC_CORE_JOEM
SFM-JOEM-CORE.SFM_JOEM_MAN
SFM-JOEM-CORE.SFM_PRO_JOEM
SFM-JOEM-CORE.SFM_PRO_JOEM
action: install revision C.07.06.03 or subsequent

HP-UX B.11.31
==================
RAIDSA-PROVIDER.RAIDSA-PROV-RUN
action: install revision B.11.31.1203.06.02 or subsequent

HP-UX B.11.31
==================
WBEMP-Storage.STORAGE-IP-LIB
WBEMP-Storage.STORAGE-IP-RUN
WBEMP-Storage.STORAGE-LWE-RUN
WBEMP-Storage.STORAGE-PROV-LIB
WBEMP-Storage.STORAGE-PROV-RUN
action: install revision B.11.31.1203.07.02 or subsequent

HP-UX B.11.31
================
WBEMP-FCP.CSP-LIB
WBEMP-FCP.CSP-LIB
WBEMP-FCP.CSP-RUN
WBEMP-FCP.FCP-IP-LIB
WBEMP-FCP.FCP-IP-LIB
WBEMP-FCP.FCP-IP-RUN
WBEMP-FCP.FCP-IP-RUN
WBEMP-FCP.FCP-LIB
WBEMP-FCP.FCP-LIB
WBEMP-FCP.FCP-NIP-LIB
WBEMP-FCP.FCP-NIP-RUN
WBEMP-FCP.FCP-RUN
action: install revision B.11.31.1203.06.02 or subsequent

HP-UX B.11.31
==================
SAS-PROVIDER.SAS-PROVIDER-RUN
action: install revision B.11.31.1203.05.02 or subsequent

HP-UX B.11.23
==================
SysFaultMgmt.SFM-CORE.SFM_PRO_PA
SysFaultMgmt.SFM-CORE.SFM_PRO_IA
action: install SysFaultMgmt B.07.06.01.02 or subsequent

HP-UX B.11.11
==================
SysFaultMgmt.SFM-CORE.SFM_PRO_PA
action: install SysFaultMgmt A.04.04.03.02 or subsequent

END AFFECTED VERSIONS (for HP-UX)

HISTORY:
Version:1 (rev.1) - 27 March 2012 Initial Release

Third Party Security Patches: Third party security patches that are to be installed on systems running HP software products should be applied in accordance with the customer's patch management policy.

Support: For issues about implementing the recommendations of this Security Bulletin, contact normal HP Services support channel.  For other issues about the content of this Security Bulletin, send e-mail to [email].

Report: To report a potential security vulnerability with any HP supported product, send Email to: [email]

Subscribe: To initiate a subscription to receive future HP Security Bulletin alerts via Email: http://h41183.www4.hp.com/signup_alerts.php?jumpid=hpsc_secbulletins

Security Bulletin List: A list of HP Security Bulletins, updated periodically, is contained in HP Security Notice HPSN-2011-001: https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay/?docId=emr_na-c02964430

Security Bulletin Archive: A list of recently released Security Bulletins is available here: http://h20566.www2.hp.com/portal/site/hpsc/public/kb/secBullArchive/

Software Product Category: The Software Product Category is represented in the title by the two characters following HPSB.

3C = 3COM
3P = 3rd Party Software
GN = HP General Software
HF = HP Hardware and Firmware
MP = MPE/iX
MU = Multi-Platform Software
NS = NonStop Servers
OV = OpenVMS
PI = Printing and Imaging
PV = ProCurve
ST = Storage Software
TU = Tru64 UNIX
UX = HP-UX

Copyright 2012 Hewlett-Packard Development Company, L.P.
Hewlett-Packard Company shall not be liable for technical or editorial errors or omissions contained herein. The information provided is provided "as is" without warranty of any kind. To the extent permitted by law, neither HP or its affiliates, subcontractors or suppliers will be liable for incidental,special or consequential damages including downtime cost; lost profits;damages relating to the procurement of substitute products or services; or damages for loss of data, or software restoration. The information in this document is subject to change without notice. Hewlett-Packard Company and the names of Hewlett-Packard products referenced herein are trademarks of Hewlett-Packard Company in the United States and other countries. Other product and company names mentioned herein may be trademarks of their respective owners.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk9x1AAACgkQ4B86/C0qfVn9BwCdG5XzHHo1b6QUBf6PTs/7l0w4
uZ0AoO+itmapF4X+zKQGdIuaQhxGfXZh
=Eynn
-----END PGP SIGNATURE-----

--
Yours truly,
HP S/W Security Team
WTEC Cupertino, California

Return-Path: [email]
Reply-to: [email]


author: Glen

subject: using redirection to prepend output to an existing file?

text:
Is there some way to alter the behaviour of '>>' or another redirection
operation to prepend the output of a program to a file?  If not, what is
the most commonly used hack to achieve this without using perl/python?

This would be useful for log files.


author: Tony Lawrence

subject: Re: using redirection to prepend output to an existing file?

text:
Glen wrote:

I think you'll find "tac" (available on a lot of systems, easy enough to
find otherwise) more useful.


author: Chris F.A. Johnson

text:
On Fri, 1 Feb 2002, Glen wrote:

[untested]

	prepend() { ## USAGE: prepend file string ...
	    if [ $# -lt 2 ]
	    then
	       echo "USAGE: prepend file string ..." >&2
	       return 1
	    fi
	    tempfile=/tmp/prep$$   ## or use mktmp or whatever
	    file=$1
	    shift
	    printf "%s\n" "$*" > $tempfile
	    cat "$file" >> $tempfile
	    mv $tempfile "$file"
	}


author: M.Arifi Koseoglu

subject: Dell-Micron-Gateway mail server

text:
Hi !

Do the companies Dell and Micron have mail servers
where I can retrieve pricing and specs via automated
mail-back ?

Thanks in advance,
--Arifi


author: Jonas Larsson

subject: Re: Dell-Micron-Gateway mail server

text:
[email] (M.Arifi Koseoglu) writes:

Micron isn't on the net yet. Dell has an email bot that send outprices
and specs, often a bit outdated.

Send an email to [email] and include "send list"
(without quotes) in the subject or body. Dell also has a www server with
similar info, the address is http://www.dell.com/

Good luck !

-Jonas


author: Ken Runyon

subject: Re: Dell-Micron-Gateway mail server

text:
In article [email], [email] (M.Arifi Koseoglu) writes:

Dell: how to retrieve pricing information, specs, etc...
Send a message to "[email]" with a subject OR body of "send list"

Gateway 2000: Pricing, standard configurations...
Send a message to "[email]" with a subject of "get allconf.txt"
(without the quotes, obviously).

Don't know if Micron has a similar service.

Ken


author: [redacted]

subject: dynamic IP and /etc/hosts

text:
I obtain a dynamic IP when I connect to my ISP via ppp.  I've done
searches, and I saw a page that says if you your IP is obtained
dynamically, the IP for your host in /etc/hosts should be 10.10.10.10.
I saw another page that said the IP listed in /etc/hosts for my
situation should be 0.0.0.0.  For dynamically obtained IPs, which is
correct?


author: Brian S. Paskin

subject: Re: dynamic IP and /etc/hosts

text:
[email] wrote:

Hi,

I am not sure where you saw these or what you are trying to do.  However,
the only item that needs to be in your /etc/hosts is 127.0.0.1
localhost.localdomain localhost <other hostnames>.  This should
automatically be setup for you when you installed your system.  The only
thing you want to add to the 127.0.0.1 line is the hostname you are calling
your computer or any aliases.  Here's mine:

127.0.0.1       localhost.localdomain   localhost       hamlet

My hostname on my machine is hamlet, so I added hamlet to the line.

-Brian


author: David Efflandt

subject: Re: dynamic IP and /etc/hosts

text:
On Thu, 06 Dec 2001 06:07:18 GMT, [email] <[email]> wrote:

If your hostname is not always associated with an interface, use an extra
loopback IP.  In the past, the 0.0.0.0 thing worked, but does not seem to
anymore.  In the past it was also suggested to avoid assigning other names
other than localhost to 127.0.0.1 (not sure if any programs still have a
problem with that).

But you can easily use any other loopback IP (like 127.0.0.2).  For
example that is what SuSE does, and that is what I do for my hostname of
my static ppp IP.  Then your box can find an IP for its name when it
boots.  Then you can either set up DNS (or /etc/host or \windows\hosts) on
other boxes to access that name on an actual network interface.

For example my box can access itself through 127.0.0.2 locally, and
anything on the internet can access it though its internet IP in DNS (when
pppd is connected).  Although, I do use a different name for its internal
LAN interface.


author: Halvard Halvorsen

subject: Re: SunOS 4.1.4 and 4.2GB - HOW ????

text:
[email] wrote:

or if you have a solaris machine running solaris >= 2.4:
connect the disk to the solaris machine and do format/partition/label
etc on under Solaris 2.x.

no need to enter parameteres and stuff. 2.4 and higher does an
"auto-label" with reasonable values for most 3rd party disks.

after the labeling under 2.x - put it back on the 4.1.4 machine.

Halvard


author: wlhaught

subject: Ques converting downloads to protect against viruses   Please followup in comp.security.misc

text:
Is there a program for converting downloads before saving to protect
them from viruses  For details on what I mean and am looking for
see the longer thread in comp.security.misc

& why I posted here in some cases

Thanks in advance.


author: Christopher Browne

subject: Re: Ques converting downloads to protect against viruses   Please followup in comp.security.misc

text:
"wlhaught" <[email]> wrote:

"Converting them before saving" isn't going to preserve them from
viruses; that betrays a misunderstanding of the usual sorts of
vulnerabilities.

The usual vulnerability would be for some security problem to be
introduced into a document at the far end of the network connection
such that the only way of avoiding the "virus" is to not download it
at all.

Comparing to human biology...

... Supposing you are drawing a sample of blood from an untrusted
location, it might contain Bad Things before you ever receive it.
Indeed, you might receive something consisting solely of hazardous
materials.  The red liquid might be plutonium suspended in a red
coloured substrate, and there's no meaningful notion of "cleaning it
up."

The notion that "converting downloads" will save you from anything is
purely wishful thinking.


author: Bill

text:
<a href=news:<[email]>>Is there
a program for converting downloads (ex: ROT13) to protect them from
viruses & a DOS or Linux companion prog for reversing the process?
ver. 2.00 (wlh001L-a1)

Is there a
program for converting downloads (ex: ROT13) to protect them from
viruses & a DOS or Linux companion prog for reversing the process?
ver. 2.00 (wlh001L-a1)

news:<[email]>
news:[email]


author: Dan Cross

subject: [9fans] List <-> News gateway?

text:
Here's a question; how many people read comp.os.plan9 versus how many people
are on 9fans?  The issue has been raised that comp.os.plan9 and 9fans have
very different spirits, and should, perhaps, be divorced from one another.
What are people's opinions on this?

	- Dan C.


author: Tomas

subject: Re: [9fans] List <-> News gateway?

text:
On Tue, 26 Feb 2002 at 12:46pm, Dan Cross wrote:

I subscribe to both 9fans and comp.os.plan9, and have my
newsreader set up to kill any message with [9fans] in the subject
line. This leaves me with less than one message per week to read
in comp.os.plan9, and it's usually a message that I have already
read in 9fans but for some reason the mail->news gateway hasn't
added the [9fans] tag to it, or, perhaps more likely, the person
who posted it sent it to both 9fans and comp.os.plan9.

So unless my newsfeed for comp.os.plan9 is bad and I'm missing
lots of posts, I can't understand where this idea of different
spirits comes from, since as far as I can see it's virtually the
same discussions in both forums.

I say don't divorce the two.

/Tomas - now, if only I could get my mouse working in Plan9...


author: Sam Hopkins

subject: Re: [9fans] List <-> News gateway?

text:
Yeah, the ability to use google's deja.com search on the 9fans
has helped me several times.

Sam

On Tuesday 26 February 2002 18:58, you wrote:


subject: Re: [9fans] List <-> News gateway?

text:
Dan Cross writes:

I think this is a very little community and splitting it is not a good idea.
Also I like to be able to read 9fans at different places using the news.


author: Lucio De Re

subject: Re: [9fans] List <-> News gateway?

text:
On Tue, Feb 26, 2002 at 12:46:26PM -0500, Dan Cross wrote:
I have no access to Usenet News and in general prefer
the opt-in feature of mailing lists.  But I have provided mail-to-news
gateways in the past because the underlying NetNews system is, in my
opinion, better suited to tracking messages and subject threads.

For 9fans, I think the present approach is quite reasonable and would
not be improved by the obvious change.  There may well be some other
change that would improve matters, but I don't know what that is
likely to be.

++L


author: Anthony Mandic

subject: Re: [9 fans] List <-> News gateway?

text:
Tomas wrote:

	The only problem with that is you don't then catch any
	reply posts (since these adopt the same subject line).
	I've added a space in this one to bypass your filter and
	allow you to see it.

	Or do newsgroup posts somehow get sent to the list as well?

[Moderator's note: Yes, the newsgroup posts are injected into the
                   plan9 mailing list.  This *doesn't* blow up in
                   an endless loop when the same article on the
                   mailing list come to be re-injected into the News
                   system.  The News software knows it has seen the
                   Message-ID and discards the article.]

	I read the newsgroup since I dislike to receive email
	from mailing lists.

-am	ï¿½ 2002


author: Andrew Simmons

subject: Re: [9fans] List <-> News gateway?

text:
On Tue, Feb 26, 2002 at 12:46:26PM -0500, Dan Cross wrote:
How would you characterise the different spirits of the two groups, and
what advantage would you see to either group in a split?


subject: Re: [9fans] List <-> News gateway?

text:
Well, I wouldn't necessarily say that they have two different spirits;
the issue was raised to me, not the other way around.

	- Dan C.


subject: Re: [9fans] List <-> News gateway?

text:
It's hard to see any point in changing, unless the person who raised the
issue has a really compelling justification.


subject: Re: [9fans] List <-> News gateway?

text:
It certainly seems that the overwhelming majority would like to see things
remain as they are.

	- Dan C.


author: Thomas Bushnell, BSG

subject: Re: [9fans] List <-> News gateway?

text:
[email] (Andrew Simmons) writes:

I raised the issue, in response to the claim that a posting was not
approprate for comp.os.plan9, on the grounds that it is gatewayed to
9fans, which is only for fans of Plan 9.


author: George Michaelson

subject: Re: [9fans] List <-> News gateway?

text:
I would sometimes like a digest with gated entry. 9fans is the torah which
as we know, can mean anything to kabbalists depending on what dice-throw
algorithm they use to select the words to read.

A monoatheistical selection of the analects would be more useful

	'The gospel according to pike'

being different to:

	'The apocryphal book of boyd'

but both having their place.

Of course, we also need a concordance. And, translation into Aramaic.

-George


subject: Re: [9fans] List <-> News gateway?

text:
George Michaelson  wrote:
Good concept. Perhaps we could also have a special section for the words of
the prophet Bushnell, crying out in the wilderness - "The GNU Public
Licence is a jealous Licence, Thou shalt have none other Licence but me"


author: ozan s yigit

subject: Re: [9fans] List <-> News gateway?

text:
Zen Student: So Master, is the soul immortal or not? Do we survive
our bodily death or do we get annihilated? Do we really reincarnate?
Does our soul split up into component parts which get recycled, or do
we as a single unit enter the body of a biological organism? And do we
retain our memories or not? Or is the doctrine of reincarnation false?
Is perhaps the christian notion of survival more correct? And if so,
do we get bodily resurrected, or does our soul enter a purely
platonic spiritual realm?

Master: Your breakfast is getting cold.

[from: Raymond M. Smullyan, "The Tao is Silent", Harper & Row, 1977]
---
oz


subject: Re: [9fans] List <-> News gateway?

text:
[email] (Andrew Simmons) writes:

Oh, heck no!  The GPL is only one of several rites within the Church
of Free Software.  We respect all the other rites.


author: Brett

subject: DDS Referencing question

text:
I am wanting to create a work file that looks exactly like a physical
that already exists.  I am wanting to know if there is a way to create
a physical file, referencing another physical, without having to
define the actual fields in the work physical file. just references.
The reason I am doing it this way is to keep us from having to
manipulate our change management software in order to compile the RPG
and I do not want to maintain two identicle sources.

I know that I can reference at field level, I just am not sure I can
do it at the file level.

Thanks for any help,
Brett


author: gb

subject: Re: DDS Referencing question

text:
Use the FORMAT keyword.

e.g.

DDS for PF FILEA

     A          R FORMAT1
     A              DATA                     128A
                       etc...

DDS for PF FILEB

     A          R FORMAT1                   FORMAT(FILEA)

will cause FILEB to reference FILEA for its layout...

Howvere, don't forget that you will still have to recompile FILEB after
every change to FILEA...

GB

"Brett" <[email]> wrote in message
news:[email]...

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004