IRC log of openacs on 2001-11-02

Timestamps are in UTC.

00:03:35 [adler]
medium atx case?
00:07:13 [adler]
$47 on newegg.com
00:07:25 [davb]
That is similar to mine.
00:08:41 [adler]
what motherboard/cpu are you using?
00:09:19 [davb]
I have an Asus something or other Super Socket 7 with an AMD k62/500 in there.
00:09:36 [davb]
If you go with a P4 or Athlon you'll need a big CPU fan. I am not sure how noisy they are.
00:10:15 [davb]
The only annoying thing with my case, is you need to remove the front to get the side off.
00:10:57 [davb]
I looked at the picture, that is the exact case I have :)
00:11:53 [adler]
i wish it looked more like an iMac
00:12:54 [davb]
You can get those. I am not sure who makes them, but I have seen some.
00:13:31 [adler]
there goes the sarcasm.. actually, I'd really like a case that is #1 *quiet*, #2 small, #3 supports new athlons if possible.
00:13:44 [davb]
heh
00:14:08 [davb]
THe REALLY small cases I have found also have really annoying small fans.
00:14:36 [davb]
THese are the mini-desktop style that I am referring to.
00:14:45 [adler]
right, it's a tough compromise (though I have no experense)
00:15:24 [adler]
I could always replace them with quality fans and use a classy heatsink
00:15:25 [davb]
Well to work with the Althon it needs a special power supply?
00:16:00 [adler]
I don't realy know for sure. I think they make recommendations and prefer a minimum wattage.
00:17:07 [talli]
talli has joined #openacs
00:17:09 [davb]
The Althon CPU prices are wonderful also.
00:17:12 [davb]
Hi Talli!
00:17:16 [talli]
hey guys
00:17:25 [adler]
hey talli
00:17:32 [talli]
hey mike
00:18:29 [adler]
good evening. tonight topic: quiet and small pcs
00:19:03 [adler]
alternatively: 'cheap take-out. again'
00:19:44 [talli]
is rbm around tonight?
00:20:06 [adler]
not that I have seen
00:20:52 [talli]
thx
00:23:28 [adler]
davb - i've heard alot of hubub around the lian-li cases
00:24:12 [adler]
sure are purty
00:24:15 [davb]
good or bad?
00:24:25 [davb]
aiigh
00:24:30 [davb]
I looked at the prices.
00:25:51 [adler]
yeah, pricey, but if your apartment was as small as mine, you'd realize how much you are forced to stare at it
00:30:13 [talli]
talli has quit
00:31:28 [davb]
aha.
00:31:48 [davb]
Yeah, I guess I don't have that problem.
00:37:49 [docwolf]
http://www.viahardware.com/sv24_1.shtm
00:37:58 [docwolf]
[docwolf rises from the dead]
00:38:12 [docwolf]
[with an interesting mobo/case]
00:38:39 [docwolf]
if you use the VIA C-series chip, it doesn't even need a fan.
00:40:40 [adler]
have you played around with these?
00:41:31 [docwolf]
nope, i was thinking of ordering one this week.
00:41:36 [docwolf]
the case/mobo is like $250
00:41:42 [docwolf]
the VIA chip is.. .$40 I think
00:42:08 [docwolf]
it looks like a good solution if you're using it for basic office stuff, or as a dumb terminal for development
00:42:16 [docwolf]
(or... as a portable mp3 jukebox ;-) )
00:42:42 [docwolf]
but my understanding is that when the VIA C chip is used as the CPU, it runs cool enough so you can leave the fan disconnected.
00:42:57 [adler]
schweet. is the VIA x86?
00:42:58 [docwolf]
performance is supposedly celeron-like.
00:43:06 [docwolf]
yeah, it's an x86
00:43:29 [adler]
and that aluminum case is so cute
00:43:29 [docwolf]
I guess the only thing you wouldn't want to use this machine for is 3d gaming
00:44:39 [davb]
neat.
00:44:42 [adler]
I don't imbibe anyway
00:45:01 [docwolf]
i'd probably put in some sort of heinous video capture card
00:45:10 [docwolf]
and a 160 gig HD.. and have my own "custom" TiVO
00:46:11 [adler]
how much ram does that take?
00:46:16 [docwolf]
i think 512
00:46:27 [docwolf]
i see 2 memory slots
00:47:04 [docwolf]
the fact that it has firewire, a LAN, and TV out built in really seals the deal though
00:48:05 [adler]
mucho gracias -- must go order take immediate!
00:48:21 [docwolf]
no prob. i'm trying to find the best place to order one from
00:48:36 [docwolf]
the mobo comes without the CPU, and I'm having a dilly of a time finiding a place that stocks the VIA C chip
00:59:05 [docwolf]
hmm... $300 for mobo,case, 512mb RAM at Mwave
00:59:19 [docwolf]
$50 for the C-class fanless CPU
01:00:10 [docwolf]
$140 for 80 gig HD.
01:01:15 [docwolf]
$50 for a DVD
01:04:15 [adler]
adler has quit
01:04:24 [adler]
adler has joined #openacs
01:04:32 [adler]
adler has quit
01:06:15 [docwolf]
$80 for a decent vid capture card.
01:06:48 [docwolf]
$620 for a silent pc-based TiVO/DVD player
01:06:49 [docwolf]
not bad.
01:19:02 [Psychephylax]
someone shoot me
01:38:33 [jerryasher]
jerryasher has joined #openacs
01:39:33 [jerryasher]
Anyone here in San Francisco Saturday?
01:40:16 [jerryasher]
Moby Dick day! (No, not the exotic erotic ball, that was last night)
01:40:16 [jerryasher]
http://www.sfgate.com/cgi-bin/article.cgi?file=/chronicle/archive/2001/11/01/DD81969.DTL
01:43:51 [AaronSw]
AaronSw has quit
01:44:35 [AaronSw]
AaronSw has joined #openacs
01:49:24 [docwolf]
i'm worried about SF
01:49:48 [jerryasher]
Yeah, me too. I've been worried most of the day about container ships and GPS.
01:49:56 [docwolf]
yeah.
01:50:10 [AaronSw]
AaronSw has quit
01:50:33 [jerryasher]
They've been putting coast guard pilots on board the ships with guns to ensure ships don't ram the bridges,
01:50:33 [AaronSw]
AaronSw has joined #openacs
01:50:46 [AaronSw]
* AaronSw reconnects
01:50:52 [jerryasher]
but I just don't see how the can feel comfortable about the contents of the containers themselves.
01:51:16 [docwolf]
yeah... but i guess an explosion out on the bay is a better alternative?
01:51:20 [jerryasher]
Just a day or two ago, some ship was diverted to Alaska I think after finding a stowaway that had outfitted
01:51:38 [jerryasher]
a container with toilet, computer, drill (to make more airholes...)
01:51:50 [docwolf]
fantastic...
01:51:51 [docwolf]
ugh
01:51:59 [jerryasher]
I'd prefer the explosion be out near the farallones!
01:52:27 [docwolf]
on the bright side (?) this whole experience may ultimately have a positive influence on other parts of our lives
01:52:33 [jerryasher]
anyway same old scenarios as two months ago when bush thought bin laden would be using icbms
01:52:40 [jerryasher]
do tell!
01:52:53 [docwolf]
well, fewer counterfeit goods will enter the country, probably fewer drugs
01:53:04 [docwolf]
(that is, IF they are serious about tightening the borders)
01:53:27 [jerryasher]
i've actually been wondering about the drugs. i don't know how seasonal a crop heroin is, but i'm somewhat
01:53:39 [jerryasher]
surprised we haven't been spraying afghan poppy fields.
01:53:42 [docwolf]
it may actually improve our relations with our neighbors to the north and south, as we'll have to cooperate to make that happen
01:54:05 [jerryasher]
Tony Blair tells us that something like
01:54:05 [jerryasher]
90% of the heroin in the world comes from Afghanistan
01:54:30 [jerryasher]
I'm not sure. Apologies to all, but I just see GWB as a one trick pony.
01:54:35 [docwolf]
yeah, it's some crazy figure like that. Of course, the taliban actually curtailed production to drive the price up
01:54:45 [docwolf]
i don't think GWB is actually running anything.
01:55:02 [docwolf]
i'm fairly certain his staff is doing most of the heavy lifting
01:55:04 [jerryasher]
Illuminati? Skulls and Cross Bones?
01:55:28 [jerryasher]
Council on Foreign Relations?
01:55:34 [docwolf]
(notice that cheney has been invisible & safe, whereas GWB has been hanging out at ball games..)
01:55:38 [jerryasher]
Bohemian Club?
01:56:11 [docwolf]
haha. where are the illuminati when you need them..
01:56:13 [jerryasher]
Have you seen the reports that Cheney had been just about to submit his resignation (heart troubles) making
01:56:30 [jerryasher]
the way for Tom Ridge (all prior to 9/11)
01:56:55 [docwolf]
i heard that. Cheney's pump is in a bad, bad way. I hope he's got docs with him at all times.
01:57:21 [docwolf]
because he's only got so much good heart muscle left.. if he has another heart attack, they need to catch it quickly/.
01:57:21 [jerryasher]
I have to laugh, seeing pump made me think: CEO of Haliburton
01:57:26 [docwolf]
heh
01:58:22 [jerryasher]
Anyway, I am worried about SF, it's a beautiful town, seemingly an obvious choice.
01:58:51 [jerryasher]
Also, Berkeley is such a magnet for various few points, and all sorts of nationalities and legal and illegal aliens
01:58:58 [docwolf]
yeah. though if something happened in SF, it would be interestin to see what happens to berkeley..
01:59:17 [jerryasher]
that I have been surprised that San Diego and not Berkeley was the site of a terror cell.
01:59:27 [jerryasher]
uh, i'm not that interested in finding out.
01:59:39 [docwolf]
well, SD is so close to the mexican border
01:59:42 [docwolf]
god knows what's going on there
02:00:03 [jerryasher]
especially since we often have an offshore flow
02:00:12 [jerryasher]
sending the fallout from SF into our hills.
02:00:43 [docwolf]
oops.. looks like DeCSS was deemed to be "free speech"
02:01:03 [docwolf]
nice to see our supreme court isn't totally bought & paid for.
02:01:06 [jerryasher]
pretty neat too, but just for purposes of blocking a prior restraint prelim injunction.
02:02:27 [jerryasher]
http://www.salon.com/tech/letters/2001/11/01/nail_clippers/index.html
02:02:51 [jerryasher]
I'm sooo glad the republicans defeated the bill to make security a federal responsibility
02:03:54 [jerryasher]
how's this scary scenario grab you? send 30 al qaida interns to Zaire, Kenya, Uganda for a year or two
02:04:03 [jerryasher]
get them jobs driving ambulances, or not,
02:04:24 [jerryasher]
get them an open ticket to NYC, London, LA, SF, Chicago,
02:04:33 [jerryasher]
and wait for an ebola outbreak.
02:04:35 [jerryasher]
...
02:04:55 [docwolf]
could happen, but ebola doesn't scare me
02:04:58 [docwolf]
as much as smallpox.
02:05:13 [docwolf]
ebola is not as "successful" a pathogen as smallpox
02:05:14 [jerryasher]
Yes, but I think that it might be easier to obtain ebola than smallpox,
02:05:32 [docwolf]
true, although it's alleged that there are about 10 countries who never got rid of their smallpox supply
02:05:34 [docwolf]
including cuba.
02:05:51 [jerryasher]
it's also much safer for al qaida to finance ebola experiments abroad than to risk the air supply of the cave.
02:06:12 [docwolf]
haha. well, it looks like they won't have to worry much longer about their air supply in the cave.
02:06:16 [docwolf]
we're taking care of that for them.
02:06:24 [jerryasher]
I sure hope so.
02:06:37 [docwolf]
http://abcnews.go.com/sections/world/DailyNews/STRIKE_MAIN.html
02:06:52 [docwolf]
if you believe the military, i think they've narrowed down the locations.
02:07:21 [jerryasher]
yes, i heard they think he's in 20 square miles in the hills.
02:07:24 [docwolf]
i don't know if I trust that they've actually got the people we really want in those caves, but whomever is down there is probably not going to come out alive.
02:07:47 [jerryasher]
I've discounted that somewhat since I've haven't heard of them 24x7 carpet bombing those hills.
02:09:10 [jerryasher]
If you have FLASH, try this political cartoon: http://www.sfgate.com/comics/fiore/
02:10:29 [docwolf]
i'm a no-flash guy
02:10:30 [docwolf]
:-)
02:10:42 [jerryasher]
Too bad, this one would have been enjoyable too: http://www.ernieshouseofwhoopass.com/shockwave.html?image=talibanphone
02:10:59 [jerryasher]
in which we sic telemarketers after the taliban
02:11:03 [docwolf]
just the URL sounds funny
02:11:30 [jerryasher]
answering phone: taliban, "how would you like free hbo for a month?"
02:12:21 [jerryasher]
fiore points out how typical SF joes such as ourselves know all about the taliban, and the northern opposition, and all are
02:12:26 [jerryasher]
weapon systems, and ....
02:12:35 [jerryasher]
But that we don't know there's an SF election in 5 days.
02:12:40 [docwolf]
haha
02:16:06 [jerryasher]
I have an MBA question for you.
02:16:39 [jerryasher]
We all know the most valuable part of the MBA is the _______ ?
02:17:15 [docwolf]
uh oh
02:17:29 [docwolf]
sounds like a joke is about to come down...
02:17:53 [docwolf]
is this a serious question?
02:17:59 [jerryasher]
No. Not really. Just getting some advice in an oblique manner.
02:18:08 [jerryasher]
(although do check out http://www.ernieshouseofwhoopass.com/sidepics/pumpkinblow.jpg)
02:18:09 [docwolf]
the best part?
02:18:21 [jerryasher]
No, I said the most valuable part.
02:18:24 [docwolf]
aha
02:18:33 [docwolf]
most valuable part...
02:18:35 [docwolf]
hmm.....
02:18:50 [docwolf]
i suppose the network of people that I built.
02:19:11 [jerryasher]
Bingo. Damn, that means I have to attend an alumni event tonight.
02:19:17 [docwolf]
haha
02:19:32 [jerryasher]
I need to find the "face" book so I can pretend to know these folks.
02:19:40 [docwolf]
at least at the good schools, they stress it to ya from the moment you arrive
02:19:44 [docwolf]
it's pretty creepy.
02:20:01 [docwolf]
very different from the other degrees i've gotten
02:20:09 [jerryasher]
yeah, they sure did that where i went, but being married, it was difficult to do all the networking i needed to.
02:20:13 [jerryasher]
Very very true.
02:20:28 [docwolf]
first day we started, the dean addressed us:
02:21:00 [docwolf]
"you may not realize it, but this is your home. It will always be your home. The people around you are your family. This is always a place you can return to, and draw strength from..."
02:21:21 [jerryasher]
That's good, except I can always find food and borrow some money from the folks at home.
02:21:21 [docwolf]
"so no matter how far away all of you go, remember, that your center will always be here."
02:21:25 [docwolf]
haha
02:21:45 [docwolf]
in some sense, though, he was right.
02:21:53 [jerryasher]
I find the network mainly to be another source of penis size comparison.
02:21:56 [docwolf]
now that the economy is shitting itself, it seems like more of us are back at "home base"
02:22:02 [jerryasher]
(mine's 9 inches)
02:22:12 [docwolf]
michigan is a little bit different than most, I think b/c it's in the midwest
02:22:18 [docwolf]
= no attitude ;-)
02:22:50 [jerryasher]
well here it's best dot com job, and best house in the berkeley hills....
02:22:59 [jerryasher]
lots of attitude.
02:23:14 [docwolf]
haha
02:23:20 [docwolf]
yeah, i can only imagine
02:23:32 [docwolf]
stanford MBAs were some of the biggest pricks on wheels i've ever met.
02:23:35 [jerryasher]
don't imagine, it really is 9 inches.
02:23:38 [docwolf]
haha
02:24:05 [jerryasher]
some but not all. i'll tell you my biggest uneasiness though.
02:24:21 [jerryasher]
i just don't dress like mbas. No matter how hard I try.
02:24:28 [docwolf]
haha
02:24:44 [jerryasher]
I don't have the clean shaven face, or the ultra short haircut,
02:24:49 [docwolf]
that's OK. I usually walk around town wearing surgical scrubs, a t-shirt, and sneakers.
02:24:52 [jerryasher]
or the million dollar clothes.
02:25:08 [docwolf]
i feel almost like homer simpson on "do as you feel day", when he wore a monk's robes.
02:25:11 [hazmat]
hazmat has quit
02:25:29 [jerryasher]
yeah, well that's me most days.
02:25:45 [docwolf]
i usually only dress up when i'm fairly certain it's important to.
02:25:51 [docwolf]
doing the VC work, i'd look positively heinous
02:25:56 [docwolf]
b/c it was mostly phone meetings.
02:27:52 [jerryasher]
Well I actually need to hit the shower and shave or something so I can do the network. Luckily, as usual,
02:28:05 [jerryasher]
they've picked just about the worse restaurant and bar in town.
02:29:24 [jerryasher]
I'd better go, I'll talk to you (all) later.
02:29:28 [docwolf]
cool! have fun!
02:29:29 [jerryasher]
bye.
02:29:33 [jerryasher]
jerryasher has quit
02:33:56 [AaronSw]
* AaronSw disconnects
02:36:02 [AaronSw]
* AaronSw reconnects
03:01:56 [talli]
talli has joined #openacs
03:02:04 [talli]
hey guys
03:12:40 [talli]
talli has quit
03:23:48 [docwolf]
docwolf has quit
03:31:44 [AaronSw]
* AaronSw disconnects
03:32:19 [AaronSw]
* AaronSw reconnects
04:16:43 [AaronSw]
* AaronSw disconnects
04:17:03 [AaronSw]
* AaronSw reconnects
07:42:49 [AaronSw]
AaronSw is now known as AaronSw|sleep
07:42:54 [AaronSw|sleep]
AaronSw|sleep is now known as AaronSw
08:05:38 [djg]
djg has joined #openacs
08:27:06 [rbm]
rbm has quit
08:27:13 [rbm]
rbm has joined #openacs
08:35:02 [cdlu]
[GlobalNotice] We're presently moving services between servers. There will be a short netsplit and services will be restored. Thank you, have a nice day.
08:35:20 [AaronSw]
AaronSw has quit
08:35:20 [djg]
djg has quit
08:35:33 [AaronSw]
AaronSw has joined #openacs
08:35:33 [djg]
djg has joined #openacs
08:35:52 [ChanServ]
This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
09:02:45 [hazmat]
hazmat has joined #openacs
09:10:56 [hazmat]
hazmat has quit
10:42:12 [davidw]
davidw has joined #openacs
10:42:38 [davidw]
you guys should hang out on #tcl some, too:-)
11:09:21 [davidw]
davidw has left #openacs
11:39:01 [davb]
davb has quit
13:32:32 [graszew]
graszew has joined #openacs
13:50:55 [graszew]
graszew has quit
14:05:24 [davb]
davb has joined #openacs
14:18:53 [graszew]
graszew has joined #openacs
14:56:03 [graszew]
graszew has quit
14:58:00 [graszew]
graszew has joined #openacs
15:04:20 [graszew]
graszew has quit
15:24:40 [AaronSw]
* AaronSw disconnects
15:29:59 [Psychephylax]
morning
15:37:49 [davb]
hi
15:40:03 [Psychephylax]
hey Dave
15:40:10 [Psychephylax]
so quiet here today
15:40:25 [Psychephylax]
Dave, is there a page with adp syntax?
15:40:34 [Psychephylax]
I can't seem to find it on the aolserver.com/docs page
15:40:43 [Psychephylax]
i know eq is equal
15:40:49 [Psychephylax]
i'm looking for less than and greater than
15:41:35 [davb]
That is OpenACS templating. ADP doesn't have any custom tags built it. Check your /doc/acs-templating
15:41:42 [Psychephylax]
ok
15:42:00 [davb]
gt lt I think though
15:42:24 [Psychephylax]
that's what I figured
15:42:48 [davb]
The template system is really spiffy. Especially multiple
15:43:08 [Psychephylax]
found it
15:43:10 [Psychephylax]
lt and gt
15:43:16 [davb]
cool.
15:43:45 [Psychephylax]
yeah =)
15:43:48 [Psychephylax]
colors! hehe
15:44:07 [davb]
Cool.
15:44:25 [Psychephylax]
here's a question for you
15:44:29 [davb]
ok
15:44:35 [Psychephylax]
There's a function to normalize a modem mac address
15:44:46 [davb]
ok.
15:44:52 [Psychephylax]
it's in run-query2.tcl
15:44:59 [Psychephylax]
that file also redirects to a history
15:45:13 [Psychephylax]
but the way I have it now is that it doesn't normalize before the redirect
15:45:38 [Psychephylax]
is it better to copy and paste into the other page the normalization function or move my redirect somewhere else
15:46:16 [davb]
You probably should normalize it first.
15:46:24 [davb]
But it will work either way :)
15:46:36 [Psychephylax]
i think first way is better
15:46:43 [Psychephylax]
less code and less chance of mistake
15:46:59 [davb]
Yes. that way you aren't duplicating the code.
15:48:13 [Psychephylax]
excellent
15:49:53 [Psychephylax]
ok
15:49:59 [Psychephylax]
one more quickie
15:50:04 [Psychephylax]
is this a legal tag
15:50:26 [Psychephylax]
if @incident_report.cm_rcv_pwr@ lt value || @incident...@ gt value>
15:51:21 [davb]
use or instead of ||
15:51:25 [Psychephylax]
ok
15:53:22 [Psychephylax]
can I do a tcl "set blah blorg"
15:53:23 [Psychephylax]
?
15:53:31 [Psychephylax]
inside an adp <if> block?
15:56:00 [davb]
hmmmm....
15:56:40 [Psychephylax]
hmmm is right
15:56:42 [davb]
maybe... like this < if a eq 1><% set blah blorrg %></if> ??
15:56:43 [Psychephylax]
and I don't think you can
15:56:54 [davb]
why would you want to?
15:57:03 [Psychephylax]
Don't want to repeat code
15:57:21 [davb]
The ADP has to pass its output as form variables.
16:07:09 [til]
til has joined #openacs
16:08:00 [Psychephylax]
question
16:08:06 [Psychephylax]
i see <if>
16:08:08 [Psychephylax]
</if>
16:08:12 [Psychephylax]
<else>
16:08:15 [Psychephylax]
</else
16:08:22 [Psychephylax]
is there a way to put another if in there?
16:08:33 [Psychephylax]
like an elseif
16:13:32 [til]
dont know if there is elseif, but you could just put another <if> inside the <else>
16:14:12 [Psychephylax]
you mean like <else><if></if></else>
16:14:22 [til]
y
16:17:45 [Psychephylax]
can i use parenthesis in there?
16:18:04 [Psychephylax]
I need something like if (a and b) or (c and d) then do thing
16:32:00 [davb]
hang on...
16:32:13 [Psychephylax]
it works it works! heheheehe
16:32:54 [davb]
here is what the doc says "Compound expressions can be created by combining terms with the and and or keywords, as illustrated above. Any number of statements may be connected in this fashion. There is no way to group statements to change the order of evaluation.
16:33:34 [Psychephylax]
yeah i saw that
16:38:01 [Psychephylax]
odd
16:38:06 [Psychephylax]
I can't set the background color of a page
16:39:18 [davb]
hmmmm.. that is strange.
16:39:22 [Psychephylax]
Oh
16:39:23 [Psychephylax]
let me guess
16:39:29 [Psychephylax]
the master template overrides my page settings
16:39:40 [davb]
possibly.
16:40:11 [Psychephylax]
well shit
16:40:24 [davb]
You want just one page to be a different color, or all of them?
16:41:29 [Psychephylax]
yes
16:41:33 [Psychephylax]
well
16:41:36 [Psychephylax]
not sure yet
16:42:04 [Psychephylax]
right now, yeah
16:57:35 [davb]
which? :)
17:19:58 [Psychephylax]
I want the master template to have a different color
17:24:15 [davb]
Oh. That's easy.
17:24:48 [Psychephylax]
Well =)
17:24:52 [Psychephylax]
Easy for you maybe! lol
17:25:13 [davb]
I am looking. It appears that you can have a per-package setting for background color.
17:25:50 [davb]
otherwise do [set parameters] on / in the site-map.
17:26:25 [Psychephylax]
oh
17:26:28 [Psychephylax]
ok
17:27:17 [davb]
I think there is a way to setup a package parameter to override the default.
17:28:09 [Psychephylax]
ok
17:28:12 [Psychephylax]
question
17:28:29 [Psychephylax]
Say I have a bunch of procs (already done for me) to make table rows and tables
17:28:36 [davb]
ok.
17:28:43 [Psychephylax]
is there a way to use them in my package? So the interface is the same from the old script
17:29:08 [davb]
yeah, stuff em in snmp-more-procs.tcl
17:29:21 [Psychephylax]
ok
17:29:23 [Psychephylax]
and then?
17:29:24 [davb]
all tcl files have to be -init.tcl or -procs.tcl or they won't get loaded.
17:29:34 [davb]
It will load when the server starts.
17:29:42 [davb]
I am not sure how they work.
17:29:51 [davb]
You might want to register ADP tags to call them.
17:30:00 [Psychephylax]
yeah that's what I would like
17:30:16 [davb]
BTW, you can go to the APM and pick your package then go to Manage Parameters to add a new paramter to your package.
17:33:07 [davb]
I am looking to see if there is an ACS facility to make new tags or if you just use the AOLserver stuff.
17:33:55 [Psychephylax]
ok
17:41:28 [davb]
i found Compound expressions can be created by combining terms with the and and or keywords, as illustrated above. Any number of statements may be connected in this fashion. There is no way to group statements to change the order of evaluation.
17:41:29 [davb]
oop
17:41:40 [davb]
doc_register_adptag
17:42:11 [davb]
not sure, the documentation sucks.
17:42:49 [Psychephylax]
heh
17:43:31 [davb]
I think it takes the tag name and proc name to call when that tag is encountered.
17:44:59 [davb]
* davb thinks Psychephylax should write a book and sell it about customizing OpenACS :)
17:45:09 [davb]
and with that.....to lunch!
17:48:00 [Psychephylax]
heh
18:14:36 [djg]
djg has quit
18:18:21 [talli]
talli has joined #openacs
18:18:29 [talli]
hey guys
18:18:34 [davb]
hi talli
18:20:10 [davb]
how is openacs.org v4 coming?
18:26:14 [talli]
coming along... i'll actually be writing something up for you today.
18:26:22 [talli]
sorry about the delay... i've been ill all week
18:26:57 [davb]
No problem...
18:27:30 [davb]
I have been trying to learn how to program so I actually know what I am doing.
18:29:26 [davb]
talli: I am reading now about Habitat for Humanity. Sounds like they are not up on technology.
18:29:40 [talli]
oh yeah? how so?
18:30:02 [davb]
Hard to say... I just read it on some weblog. I would have to actually visit them to see what they really need.
18:30:18 [davb]
http://judithburton.weblogger.com/2001/10/12
18:31:03 [davb]
Sounds like its the local outfits, the web site has a nice donation page.
18:32:56 [markd2]
markd2 has joined #openacs
18:34:47 [davb]
I'll have to find out anyway. It is a organization I have always thought about working with. I might as well use my technology knowledge to help out.
18:34:51 [davb]
hi markd2!
18:35:35 [cro]
cro has joined #openacs
18:35:44 [markd2]
howdy
18:35:56 [cro]
I'm looking for docs on the format of the .xql files.
18:36:00 [cro]
hello
18:36:16 [davb]
Hi cro. hold on...
18:36:23 [cro]
ok
18:37:01 [davb]
there is this: http://openacs.org/4/query-dispatcher which has an example.
18:37:31 [davb]
It is pretty simple.
18:37:47 [cro]
I see
18:37:48 [cro]
I
18:37:50 [cro]
oops
18:38:03 [cro]
I'm thinking about queries for inserting clobs into an Oracle table
18:38:14 [cro]
the dml statement needs a different syntax
18:39:08 [cro]
like db_dml statement_name statement -bind ... -clob
18:39:11 [cro]
or some such
18:39:19 [cro]
does the query dispatcher handle that now?
18:39:47 [davb]
I am not sure. I haven;t dealt with those really.
18:40:14 [cro]
ok--I'll look at the code for db_dml and see what I can figure out. Thx.
18:41:16 [davb]
sorry I couldn't help more. It probably wouldn't hurt to ask on the bboard.
18:41:39 [cro]
I sort of did already, but it might need a separate message
18:41:58 [cro]
I wanted to change the value field in the apm_parameter_values table
18:42:06 [cro]
oops
18:42:16 [cro]
in the sec_sessions_values
18:42:21 [cro]
table to a clob
18:42:34 [davb]
ok, i see.
18:46:28 [Psychephylax]
back
18:46:49 [Psychephylax]
hey talli markd2 davb and cro
18:47:08 [davb]
hi
18:47:09 [talli]
hey
18:48:12 [markd2]
yo
18:49:47 [Psychephylax]
:)
18:50:21 [davb]
talli: i think the local chapter needs a little assistance, their two-week update was last updated July 2000 :)
18:50:37 [talli]
that sounds like a nice gig.
18:50:51 [talli]
they could probably use some nice user registration stuff
18:50:54 [markd2]
davb: what's this you're doing? I came in on the middle
18:51:04 [talli]
hopefully soon we'll have something specifically for NPOs
18:51:14 [talli]
maybe in a few months from now
18:51:58 [davb]
talli: nifty.
18:52:07 [talli]
yeah, i'll keep yo uupdate
18:52:32 [davb]
markd2: I read someone in their weblog say that the local Habitat for Humanity groups need technolgy help as well as construction materials.
18:52:48 [davb]
It looks like the ones around here could use a little.
18:56:23 [docwolf]
docwolf has joined #openacs
18:56:35 [Psychephylax]
heh
18:56:37 [markd2]
cool
18:56:39 [markd2]
I like that organization
18:56:41 [Psychephylax]
I wanna help =)
18:57:11 [adler]
adler has joined #openacs
18:57:15 [davb]
Well we have 3 (albany, rensselaer, schenectady counties) near me. Find your local one!
18:57:19 [davb]
hi adler
18:57:27 [adler]
hey davb, et al
18:57:30 [Psychephylax]
I'm sure there's one by me
18:58:42 [adler]
docwolf has me interested in the Via C3
19:01:19 [davb]
That case,etc was very nice.
19:01:43 [docwolf]
uh oh -- now i'm going to get the blame when it burns your house down!
19:02:14 [adler]
my attorney wants your social security #
19:02:54 [adler]
I think that case needs a spiffier intake fan. quiter, more expensive
19:03:34 [docwolf]
adler: agreed. I was looking for a quiet fan, in case I wanted to put a big-momma athlon in it.
19:04:44 [adler]
docwolf - for any CPU I think it would be worth it. I read a review which gave it 5/5, but noted that it wasn't that much quieter, while it seems like it ought to be.
19:05:09 [docwolf]
they probably put some horrid, cheap fan in to keep costs down
19:05:33 [adler]
http://www.tech-report.com/reviews/2001q4/shuttle-sv24/index.x?pg=1
19:05:48 [adler]
with some nice pictures
19:06:44 [docwolf]
hmm.. it can take 1 gig of RAM. i didn't realize.
19:07:59 [adler]
oh? I haven't noticed that ... like you were saying, the question is the C3's availability
19:08:27 [docwolf]
http://www.accessmicro.com/productinfo.php3?ProductId=CPPCYM3700&rnd=28909155
19:08:36 [docwolf]
(c3 700, i think)
19:10:37 [adler]
and I saw some benchmarks which showed the c3833 to be inferior to a celery 533 in many respects
19:11:08 [docwolf]
yikes
19:11:13 [docwolf]
so maybe an athlon is the way to go
19:11:19 [docwolf]
and find a good, quiet case fan
19:24:29 [hazmat]
hazmat has joined #openacs
19:24:46 [davb]
Hi hazmat
19:24:49 [adler]
ya know - I really consider my pc to be noise-bond, not cpu-bound
19:24:52 [adler]
hola hazman
19:25:06 [davb]
http://slashdot.org/interviews/01/11/02/129216.shtml W3C's RAND Point Man Responds
19:25:16 [davb]
This is VERY good. Real thought out questions too!
19:26:03 [adler]
I think the via will work just nice, since I don't game
19:26:31 [hazmat]
hi davb
19:26:40 [markd2]
yea, my PC is pretty noisy. I prefer to leave it off
19:26:52 [markd2]
not just fan noise - tehre ar some cylic buzzes that drive me nuts
19:28:52 [adler]
markd2: harddrive? they have insulators or you can get a quiter fan.
19:29:01 [adler]
s/fan/drive/
19:29:09 [adler]
adler has quit
19:29:30 [markd2]
I think it's fans
19:29:48 [markd2]
if I move the cables around inside of the case, it seems to less somewhat.
19:32:02 [markd2]
Don't think of them as peas, but as larval Pac-Men
19:32:29 [davb]
http://www.amdmb.com/article-display.php?ArticleID=132 Timely Link - General Fan Performance
19:40:45 [markd2]
is chump dead?
19:41:02 [markd2]
or is he a victim of the NIC in davb's machine?
19:41:06 [Psychephylax]
order by
19:41:30 [markd2]
odor by
19:41:57 [davb]
markd2 the nic.
19:42:16 [Psychephylax]
order by <column>> descending?
19:42:19 [markd2]
a NICtim
19:42:21 [davb]
I need to run over there tomorrow I think to sort the whole thing out.
19:42:25 [davb]
:)
19:42:25 [Psychephylax]
or is it order descending by <column>
19:42:37 [Psychephylax]
ack
19:42:43 [markd2]
order by column desc
19:42:50 [Psychephylax]
I want to sort result row by newest date first
19:43:01 [markd2]
by columna desc, columb asc, columc desc, etc...
19:43:21 [Psychephylax]
ok
19:43:33 [davb]
Who is the idiot who decided a dropdown box is a good idea to speicfy a YEAR??????????
19:44:37 [markd2]
probably the same doofus that decided that a dropdown box for the day of the month was a good idea
19:44:45 [markd2]
I think there should just be one popup
19:45:07 [markd2]
Jan 1, 2000. Jan 2, 2000. Jan 3, 2000 .... Dec 30, 2010. Dec 31, 2010
19:45:21 [davb]
heh
19:45:44 [davb]
i like that doofus is much more decriptive than idiot.
19:49:26 [talli]
yo docwolf, how come BEA systems has a stock price above 10 bucks?
19:50:35 [markd2]
folks are confusing it with DEA
19:50:43 [markd2]
figuring it's a safe bet, being a government conspir^H^H^H^H^H agency
19:51:05 [talli]
right... there will always be a war on drugs
19:52:24 [hazmat]
hazmat has quit
19:57:14 [markd2]
hey - has anyone gotten a 128 bit cert from Verisign lately for aolserver?
19:57:41 [markd2]
it asks for a server, and aolserver isn't there
19:57:44 [markd2]
(this is for a fiend of mine)
20:01:29 [Psychephylax]
select incident_id, cm_rcv_pwr, cm_c_to_n_ratio, incident_date, cm_trans_pwr from snmp_incidents where mac_address = :modem_mac group by \
20:01:31 [Psychephylax]
incident_date desc
20:01:32 [Psychephylax]
ack
20:01:44 [Psychephylax]
bad option "-12": must be -exact, -glob, -regexp, or --
20:01:49 [Psychephylax]
I'm getting that out of nowhere on my page
20:03:22 [markd2]
looks like something from the switch command (I think)
20:07:49 [Psychephylax]
I think the problem is here:
20:07:52 [Psychephylax]
<if @incident_report.cm_rcv_pwr@ le -12 and
20:07:52 [Psychephylax]
@incident_report.cm_rcv_pwr@ ge -15 or
20:07:52 [Psychephylax]
@incident_report.cm_rcv_pwr@ ge 12 and
20:07:52 [Psychephylax]
@incident_report.cm_rcv_pwr@ le 15>
20:07:52 [Psychephylax]
<td bgcolor=yellow>@incident_report.cm_rcv_pwr@</td>
20:07:52 [Psychephylax]
</if>
20:07:55 [Psychephylax]
but I do not see it
20:08:22 [markd2]
if you d le "-12" does it work?
20:08:59 [Psychephylax]
hmmm?
20:10:11 [Psychephylax]
foundi t!
20:10:11 [markd2]
I'm gonna put postgres n my OS/X bx - is 7.2 the one to get?
20:11:17 [talli]
markd2, how is OSX.1?
20:11:24 [markd2]
so far pretty cool
20:11:27 [rbm]
7.2 is beta still, but it should be good for non-production
20:11:41 [markd2]
I havent' done much with it yet outside of ripping Mp3s and doing some java2d stuff
20:11:53 [talli]
i've setup OSX and it didn't work so good
20:11:54 [markd2]
It's on my slow(er) desktop mac now, and it actually doesn't suck
20:12:00 [talli]
but the upgrade works, huh?
20:12:40 [markd2]
well, did a fresh install
20:12:44 [rbm]
if just OSX would run on i386....
20:12:51 [markd2]
I need to move some memory from my PC into it
20:13:01 [rbm]
Apple should start selling OSX for PCs
20:13:04 [markd2]
the windowing system backing store eats memory like its going out of style
20:13:13 [markd2]
nah - they make good money on hardware sales
20:13:22 [rbm]
But then the mac hardware purchases would slump
20:13:41 [rbm]
Is Jobs still the CEO of Apple?
20:13:41 [talli]
will apple be moving to the license pricing scheme XP has?
20:13:52 [rbm]
I saw him on TechTV yesterday as CEO of Pixar
20:14:39 [talli]
yes
20:14:41 [talli]
he's both
20:14:46 [talli]
the lousy rich bastard
20:14:57 [markd2]
talli : no mentin on the license pricing scheme. I doubt it
20:15:12 [talli]
but he can do it because he's such a jerk he doesn't waste time with things like "hello" and "how are you" which saves him some time in the day
20:15:16 [markd2]
Essington: [3:16] CASE SETTLED: JUSTICE TO BREAK UP APPLE
20:15:16 [markd2]
Essington: [3:16] FOR TURNING MICROSOFT INTO MONOPOLY
20:15:23 [rbm]
if Apple made PC laptops, they could make good money with their style
20:16:50 [markd2]
PC people are so obsessed with price, I'd be surprised if they could
20:18:28 [Psychephylax]
that's messed up!
20:20:16 [markd2]
Would you pay $2500 for an Apple PC laptop, or $1500 for a Dell looks almost-like knock-off?
20:20:31 [markd2]
most folks I'd imagine would go for the $1500 Dell
20:21:26 [rbm]
Well, assuming Apple could sell for competitive prices.
20:21:44 [rbm]
Vaio sells, solely for its style. Not as much as Dell, granted. But it does sell.
20:22:16 [rbm]
* rbm heads to class to learn about network and hierarchical databases
20:23:05 [talli]
i would pay 1500 for the dell knock off then use GNU-Darwin, if it works
20:23:19 [talli]
is carbon going to be made available?
20:23:28 [markd2]
I doubt it
20:24:10 [markd2]
that's pretty much the jewels of the old mac toolbox
20:24:30 [markd2]
and they probably don't want anyone to see that code :-)
20:25:26 [markd2]
* markd2 mutters something about 18 years of legacy cruft
20:30:55 [Psychephylax]
how can my code work fine for 4 modems and suddenly not work for another one
20:31:36 [markd2]
must be hitting some case you didn't anticipate
20:32:00 [Psychephylax]
i don't know
20:38:16 [davb]
http://www.visi.com/~phantos/icrecipe.html Friday afternoon link - Iron Chef Reverse Engineered Recipes
20:38:31 [davb]
* davb misses chump
20:45:36 [Psychephylax]
ok
20:45:47 [Psychephylax]
it's my script that's messing up
20:51:43 [bitPoet]
bitPoet has joined #openacs
20:52:08 [bitPoet]
hi. i hear there are "postgres wonks" here :-)
20:55:04 [markd2]
* markd2 welcomes bitPoet from #java
20:55:14 [davb]
hi, sometimes.
20:57:16 [bitPoet]
postgres died, and i can't restart it. i'm running 7.1.3-4 on debian, and it looks similar to bugs.debian.org/101177 (the last message of which is mine)
20:57:52 [davb]
http://www.cetus-links.org/about.html -- OO link resource 18,000+ links organized
20:59:22 [davb]
davb has quit
21:01:12 [davb]
davb has joined #openacs
21:01:18 [davb]
ack.
21:02:50 [davb]
hmmm. Mine is running OK on debian. Is rbm around?
21:03:00 [bitPoet]
markd2: these wonks are decidedly less wonky than the java wonks in #java :-)
21:03:02 [Psychephylax]
aha
21:03:04 [Psychephylax]
I found the problem case
21:03:07 [davb]
what kernel?
21:03:09 [Psychephylax]
it's when the values are -
21:03:15 [bitPoet]
davb: 2.4.12
21:03:23 [markd2]
markd2 has quit
21:03:31 [davb]
Psychephylax: That screws up somwhere else in ACS
21:03:52 [davb]
it thinks the - denotes a switch instead of a negative. Did you try puttin it in ""s?
21:04:16 [bitPoet]
mine was running fine until today. do you need an ungodly amount of disk for a medium-sized database?
21:05:42 [davb]
I don't think so.
21:06:09 [davb]
It looks like every who knows something is out :) did you try #postgresql?
21:06:32 [bitPoet]
no, i'll ask them. thanks anyway
21:06:40 [davb]
np
21:07:17 [cro]
cro has quit
21:11:56 [davb]
http://users.snip.net/~cbravo/v2/funn.htm | the work nickname generator
21:14:09 [Psychephylax]
gah
21:19:06 [Psychephylax]
odd
21:19:15 [Psychephylax]
Does anyone have a good explanation as to why this might happen:
21:19:24 [Psychephylax]
if a number is positive like 4.6
21:19:34 [Psychephylax]
my tcl script puts out 4.6 which is correct
21:19:45 [Psychephylax]
however if a number is negative like -6.3
21:19:51 [Psychephylax]
my tcl script outs out -63
21:20:15 [Psychephylax]
I fixed it by checking to see if the number is negative and dividing by 10 to adjust but that somehow does not seem right
21:26:36 [davb]
* davb leaves : going to see monsters inc.
21:27:03 [davb]
davb has quit
21:34:01 [markd2]
markd2 has joined #openacs
21:38:44 [markd2]
bitPoet - did you get things figured out?
21:39:08 [bitPoet]
markd2: not a clue. i guess friday afternoon isn't the best time to ask
21:41:08 [markd2]
heh
21:41:12 [markd2]
you should plan on having problems on mondays
21:45:03 [AaronSw]
* AaronSw reconnects
21:47:28 [Psychephylax]
no
21:47:32 [Psychephylax]
Mondays are bad too
21:47:39 [Psychephylax]
Tu-Th is the best time
21:49:32 [bitPoet]
ah, tuesday is good, then? :-)
21:49:47 [Psychephylax]
sure
21:51:45 [markd2]
* markd2 starts compiling PG on os/x
21:58:22 [Psychephylax]
heh
21:58:33 [Psychephylax]
I gots to link stuff withld
21:58:39 [bitPoet]
* bitPoet schedules all his problems to happen in the middle of the week
22:06:45 [bitPoet]
bitPoet has quit
22:08:54 [talli]
talli has quit
22:11:59 [Psychephylax]
mark, you awake?
22:16:36 [markd2]
sorta
22:16:39 [markd2]
* markd2 is cooking dinner
22:16:47 [Psychephylax]
how could I link an object file?
22:16:58 [Psychephylax]
I mean I know 'ld' but it's not linking
22:17:00 [markd2]
"link an object file"
22:17:03 [markd2]
to what?
22:17:08 [Psychephylax]
i have no clue
22:17:14 [markd2]
heh
22:17:15 [markd2]
what are you trying to do
22:17:19 [Psychephylax]
I have this cpp file that I need to make into an executable
22:17:46 [Psychephylax]
because i'm trying to find why a specific call returns 10*value but on positive numbers it's just value
22:18:44 [markd2]
doing CC file.cpp should be enough to make it work if it's a simple file
22:19:15 [Psychephylax]
what if CC is not installed and I have gcc isntead?
22:19:27 [markd2]
dunno
22:19:29 [markd2]
do you have g++?
22:19:35 [Psychephylax]
yeah
22:19:52 [Psychephylax]
well, i have a makefile
22:20:21 [Psychephylax]
$ make snmpWalk
22:20:21 [Psychephylax]
make: *** No rule to make target `../../libdes/libdes.a', needed by `snmpWalk'. Stop.
22:23:22 [markd2]
do you have libdes.a?
22:23:42 [Psychephylax]
no
22:23:52 [Psychephylax]
It's the des encryption library I don't need
22:23:54 [markd2]
in that case, it looks like it's needed by snmpWalk
22:24:26 [markd2]
or at least hte makefile thinks so
22:24:31 [markd2]
so either get libdes and satisfy the makefile
22:24:35 [markd2]
or construct the compiling line manually
22:24:38 [markd2]
or write another makefile
22:24:43 [markd2]
but you have to be fluent in martian to do that
22:25:12 [Psychephylax]
i want to construct the compiling line manually
22:25:19 [Psychephylax]
infact
22:25:20 [Psychephylax]
I did
22:25:28 [Psychephylax]
I have an snmpWalk.o
22:25:35 [Psychephylax]
I just have to link it...me thinks
22:27:14 [markd2]
does smnopWalk have a main() function?
22:27:33 [Psychephylax]
* Psychephylax checks
22:28:08 [Psychephylax]
yes it does
22:28:24 [markd2]
you don't want to make *.o then
22:28:27 [markd2]
remove the -c from the command line
22:28:33 [markd2]
I gotta go cook veggies. back in 5
22:28:36 [Psychephylax]
k
22:32:11 [docwolf]
hi everybody
22:42:25 [markd2]
hey Doc
22:43:15 [markd2]
so Sporkephylax, did taking the -c from your command line work?
22:47:24 [Psychephylax]
no
22:47:28 [Psychephylax]
I am so confused
22:47:45 [Psychephylax]
i have an snmpWalk.o
22:47:48 [Psychephylax]
I do
22:48:14 [Psychephylax]
$ gcc -g -DBSDUNIX -I../include -I../src -lnsl -lsocket snmpWalk.o ../lib/libsnmp++.a -o snmpWal
22:48:17 [Psychephylax]
and it craps out
22:48:28 [Psychephylax]
Undefined first referenced
22:48:28 [Psychephylax]
symbol in file
22:48:28 [Psychephylax]
cout snmpWalk.o
22:48:30 [Psychephylax]
...
22:48:32 [Psychephylax]
more errors
22:48:41 [Psychephylax]
ld: fatal: Symbol referencing errors. No output written to snmpWalk
22:48:41 [Psychephylax]
collect2: ld returned 1 exit status
22:51:38 [markd2]
you'll need the standard C libs
22:51:52 [markd2]
look at the thing in the makefile to make the progra (or do a make -n and look at the link line) to see what the std lib is called
22:52:04 [Psychephylax]
huh?
22:52:11 [Psychephylax]
pardon my C blondness
22:52:21 [markd2]
heh
22:52:30 [markd2]
you need the standard libraries, which as the definition of 'cout'
22:52:35 [markd2]
there's two ways of figuring hthat out
22:52:44 [markd2]
either grovel through the makefile and see what it's using
22:52:51 [Psychephylax]
ok
22:52:55 [Psychephylax]
or...
22:52:58 [markd2]
or you can do "make -n", which will show what the makefile thinks it should do, but not actually do it
22:53:13 [markd2]
so it should then show the complete link line for the program
22:53:15 [Psychephylax]
ok
22:53:17 [Psychephylax]
I did -n
22:54:01 [Psychephylax]
CC -g -DBSDUNIX -I../include -I../src -lnsl -lsocket snmpWalk.o ../lib/libsnmp++.a -o snmpWalk
22:54:12 [Psychephylax]
that'
22:54:19 [Psychephylax]
that's the one i need compiled
22:56:43 [markd2]
that just generates snmpWalk.so
22:56:50 [markd2]
er, smnpWalk.o
22:56:59 [Psychephylax]
I have one of those
22:57:00 [markd2]
wait
22:57:01 [markd2]
sorry
22:57:15 [markd2]
hmmm
22:57:30 [markd2]
that shuld do it. There ar no special -L's or -ls to specify the std C lib
22:57:32 [markd2]
plan C
22:57:42 [markd2]
do nm -A /usr/lib/* | grep cout
22:57:42 [markd2]
and see where it's defined
22:57:47 [markd2]
then add that lib to your CC line
22:59:11 [Psychephylax]
it doesn't appear to be
22:59:46 [markd2]
if the copiler grokked C++, it should have it somewhere
23:00:14 [Psychephylax]
ah
23:00:17 [Psychephylax]
it's not recursing
23:00:37 [Psychephylax]
it doesn't go inside folders to look for cout
23:00:41 [til]
til has quit
23:03:19 [markd2]
find /usr/lib -type f -exec nm -A {} \; | grep cout
23:05:48 [Psychephylax]
nope
23:05:55 [Psychephylax]
just in a bunch of so files
23:06:06 [markd2]
uh, that's what you want
23:06:16 [markd2]
so files are ibrary files
23:06:17 [markd2]
and cout lives in a library
23:06:18 [markd2]
ergo...
23:06:23 [markd2]
what are the names of some of those files?
23:06:38 [Psychephylax]
I thought -v was "find things besides pattern"
23:07:05 [Psychephylax]
I'm trying to get rid of all the echoes that say "invalid file type" in case that thing is hiding between the really fast scrolling lines
23:07:32 [Psychephylax]
find /usr/lib -type f -exec nm -A {} \; | grep cout | grep -v invalid
23:07:36 [Psychephylax]
is what I tried
23:08:39 [markd2]
ah
23:08:43 [markd2]
right
23:08:49 [markd2]
but the -v is just striping out invalid
23:09:02 [markd2]
so what's leftover should be good
23:09:10 [Psychephylax]
but it doesn't work
23:09:17 [Psychephylax]
it still echoes out invalid file entries
23:09:27 [markd2]
that's cuase they're going out stderr
23:09:34 [markd2]
run the command, redirect it to a file, and look at that
23:11:14 [Psychephylax]
doh
23:11:34 [Psychephylax]
usr/lib/libC.so.5: [861] | 318540| 104|OBJT |GLOB |0 |21 |cout
23:11:46 [markd2]
so add -lC to your command line
23:12:21 [Psychephylax]
-lC?
23:12:49 [markd2]
dash little ell sea
23:13:00 [Psychephylax]
ok
23:13:02 [markd2]
that's how you tell the compiler to look in the library for symbols
23:13:06 [Psychephylax]
Library -lC not found
23:13:24 [markd2]
my font shows capital I and lower case ell the same
23:13:33 [Psychephylax]
$ gcc -g -DBSDUNIX -I../include -I/include -I../src -lnsl -lsocket -lC snmpWalk.o ../lib/libsnmp++.a -o snmpWalk
23:13:33 [Psychephylax]
ld: fatal: library -lC: not found
23:13:33 [Psychephylax]
ld: fatal: File processing errors. No output written to snmpWalk
23:13:33 [Psychephylax]
collect2: ld returned 1 exit status
23:13:35 [markd2]
is that cap-I C or little-ell C you have
23:14:00 [Psychephylax]
little el
23:14:11 [markd2]
hmmm
23:14:25 [markd2]
usr/lib/libC.so.5: [861] | 318540| 104|OBJT |GLOB |0 |21 |cout
23:14:26 [markd2]
what s that relative to?
23:15:08 [Psychephylax]
?
23:15:23 [markd2]
usr/lib/libC.so.5 is not a full path. what is it relative to?
23:16:09 [Psychephylax]
it's /usr/lib
23:17:17 [markd2]
add -L/usr/lib to your command
23:17:25 [markd2]
(although the compiler hsould be looking there already)
23:19:09 [Psychephylax]
nope, still the same error
23:20:18 [markd2]
paste in your command again
23:20:49 [Psychephylax]
gcc -g -DBSDUNIX -I../include -I/include -I../src -lnsl -lsocket -l/usr/lib/ snmpWalk.o ../lib/libsnmp++.a -o snmpWalk
23:21:00 [Psychephylax]
8 min and I'm going home
23:21:19 [markd2]
where's your -L/usr/lib and -lC ?
23:21:53 [Psychephylax]
oops
23:21:58 [Psychephylax]
I made -L -l instead
23:22:14 [markd2]
this is unix - case is important :-)
23:23:00 [Psychephylax]
ok
23:23:05 [Psychephylax]
still no worky
23:23:12 [markd2]
paste in the command please
23:23:23 [Psychephylax]
gcc -g -DBSDUNIX -I../include -I/include -I../src -lnsl -lsocket -L/usr/lib/ snmpWalk.o ../lib/libsnmp++.a -o snmpWalk
23:24:21 [markd2]
why is there no -lC?
23:24:27 [markd2]
you need *both*
23:24:32 [markd2]
the -L tells where to look
23:24:36 [markd2]
the -l says what library to get
23:24:42 [markd2]
* markd2 sighs
23:25:04 [Psychephylax]
because:
23:25:07 [Psychephylax]
gcc -g -DBSDUNIX -I../include -I/include -I../src -lnsl -lsocket -lC -L/usr/lib/ snmpWalk.o ../lib/libsnmp++.a -o snmpWalk
23:25:07 [Psychephylax]
ld: fatal: library -lC: not found
23:25:07 [Psychephylax]
ld: fatal: File processing errors. No output written to snmpWalk
23:25:19 [markd2]
put -lC after -L/usr/lib
23:27:10 [Psychephylax]
gcc -g -DBSDUNIX -I../include -I/include -I../src -lnsl -lsocket -L/usr/lib/ -lC snmpWalk.o ../lib/libsnmp++.a -o snmpWalk
23:27:11 [Psychephylax]
nope
23:27:13 [Psychephylax]
still no worky
23:27:14 [markd2]
remove -lC -L/usr/lb and add /usr/lib/libC.so
23:28:05 [Psychephylax]
is it -l /usr/lib/libC.so or -L
23:28:45 [markd2]
remove -lC -L/usr/lb and add /usr/lib/libC.so
23:28:50 [markd2]
e.g. remove both the things w've been trying
23:28:56 [markd2]
and don't add anything
23:28:56 [Psychephylax]
i did
23:28:59 [markd2]
except that path
23:29:10 [markd2]
no extra options
23:29:14 [markd2]
just /usr/lib/libC.so
23:29:20 [Psychephylax]
gcc -g -DBSDUNIX -I../include -I/include -I../src -lnsl -lsocket /usr/lib/libC.so snmpWalk.o ../lib/libsnmp++.a -o snmpWalk
23:29:27 [markd2]
yeah
23:29:37 [Psychephylax]
gcc: /usr/lib/libC.so: No such file or directory
23:29:49 [Psychephylax]
last chance
23:29:51 [markd2]
make libC.so libC.so.5
23:30:30 [Psychephylax]
$ gcc -g -DBSDUNIX -I../include -I/include -I../src -lnsl -lsocket /usr/lib/libC.so.5 snmpWalk.o ../lib/libsnmp++.a -o snmpWalk
23:30:30 [Psychephylax]
Undefined first referenced
23:30:30 [Psychephylax]
symbol in file
23:30:30 [Psychephylax]
ostream::operator<<(ostream &(*)(ostream &))snmpWalk.o
23:30:32 [Psychephylax]
lol
23:30:38 [Psychephylax]
one down...lots more to go
23:30:42 [markd2]
you may get the 'cout' symbol undefined. in which case move the /usr/lib/libC.so.5 to after /lib/libsnmp++.a
23:30:45 [Psychephylax]
I'm going home because it's 6:30
23:30:56 [markd2]
<<(ostream is stdC also
23:31:10 [Psychephylax]
well, it doesn't like stuff
23:31:26 [markd2]
like...
23:32:02 [Psychephylax]
Don't worry about this
23:32:06 [Psychephylax]
It's friday and I'm going home
23:32:11 [Psychephylax]
my back hurts too
23:32:13 [Psychephylax]
:(
23:32:16 [Psychephylax]
too much coding
23:32:29 [markd2]
* markd2 suggests typing with the fingers, not the vertebra :-)
23:32:46 [Psychephylax]
har har
23:33:04 [Psychephylax]
* Psychephylax detaches
23:33:13 [Psychephylax]
Psychephylax is now known as Commutophylax
23:43:07 [docwolf]
ugh
23:44:09 [markd2]
whazzup?