you mean other than running windows in a mission critical production environment in the first place

the ip address is a perfectly valid server name.

and the souce of the req is the box not the server

obviously
run nethogs or something, or repeat netstat a few times

turn off stuff

tunr everything off!

yeah, useful for a prod box

well, you're the one asking why your box is doing that
if you don't like the answers - don't ask

actually I'm trying to get a clue; turning everything off won't give aclue
so actually, I don't like that answer; but I'll keep asking sensible questions

use netstat, and look in your /tmp dir to see if you've been hax0red

like could a rewrite rule cause that?

no ?

you might be right , cause i saw this movie with a lady and she said she had a snake in her toilet and no one believed her and she really had a snake in her toilet.

didn't think it could

*bad request* - period

turning off the process causing the problem will help you find it by elimination

I realize what the response says

invalid HTTP, something apache is incapable of requesting

archivist

archivist is talking

shhh

heh who fed the bot that one

forget archivist

I forgot archivist

i believe you

off with his head!

wow, shut down the server host might be useful to eliminating the process; not something most would find useful

that's not what he said - are you reduced to flummery already ?

Yeah the bot got on my nerves too.

yeah, shutting off apache would be as useful

I see

sawdog, not the server but other procs eg some proc checking the server

which version is it, best get latest

I thought it might be monitoring; but not from the local boz
box

A box is something the class dunce sits in, and look it is sawdog today

stfu fajita

lol

I actually initially asked a sensible question, gave the condition and if it could be a rewrite

Class dunce's have hats on their not in box's

do you use any firewalls or weird routing tables?

not on that box, just heartbeat and loads of rewrites; thus my first question if a rewrite could cause it somehow
and it appears to have started when I added a bunch of new rewrites…

all evidence point at rewrites
how many rewites were there?
cause it only takes one

heartbeat

heartbeat is a common failover solution for linux or http://www.nolongervalid.com/heartbeat/

wow

Now how can I resist an offer like that? Access granted. What were you thnking of doing ?

and you never thought about that before ?

heartbeat doesn't heartbeat services; just the server - old version
yeah, I thought about it - and it hasn't changed in 2 or 3 years

im on windows and cannot read the manual

and the problems started with a config update
fajita; ya think I don't know what heartbeat is?

why is the manual in a weird html format?

heh
so you're saying my problem is in the manual?

it has weird content

yeah?

no
im not saying that your prois in the manual
problem

problem is that it's configured to deny for that url

where?

a sane rewriterule does not re-inject a request into apache, it is hard to see how it could have caused Bad HTTP Requests

in a configuration file, or in the binary exectable?

I'm almost afraid to ask, but are you talking to yourself ?

Apaptr; I figured as much; but I also can't crank up the rewrite logging to check in detail what it's doing there….so figured I'd ask here

why not ?
rewriteloglevel

rewriteloglevel is http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriteloglevel. RewriteLogLevel 9 is log everything…

production box; lots and lots of paper work
global financial institution, nothing comes easy

ah

fajita; really - I'm not an idiot

so copy its entire config off the prod machine and reproduce the error
fajita is a bot, treat her kindly

oh
haha

and *I* sent you that URL
if you have no testing backup of major production boxen like that, I don't see how you can ever hope to do safe troubleshooting

I'm fairly adept at running and debugging; this one's got me baffled - figured it was worth talking to the 'experts'
Oh, I do have other duplicate environments
none of which exhibit this condition

one part of debugging is being able to debug - if I advise you to increase rewrite logging and you say you can't, then…
uone part of debugging is being able to debug - if I advise you to increase rewrite logging and you say you can't, then…/u

totally understand adaptr; the daily frustrations

you must debug it only in the areas of access and denial

nicely on topic, kwiter

I'm painfully aware

almost had me thinking you were sane there for a minute

salt on open wounds

what?

are you fishing for an ignore ?

kwiter?

sorry, retry
listen, there are a million boxes out there and the only way to know what is happening on another box is to now the software
that is running on that box

heh, who are you talking to?

I am wondering the same, really
he's off on his own tangent

everybody, that sentence has a meaning for everyone here

sure, sure… guides kwiter gently to a padded room

i am not a triangle

thanks adaptr

wow

[wallclock] there was unix before gnome?

listen, so does anybody use windows?

no.

only if you pay me

but its better, and easier and faster

not faster

then the brick holding open my office door

Let's not do the "my OS is better than your OS" thing this morning.
I've only had the one cup of coffee, but I can still kick people off. ;-)

but we want too

lol

meoooww

please?

don't boot me Bacchus

Oh, all right.

so F4 closes all the windows
no C-q no A-x
no reply

indeed

oops

oops is right…

how did i get myself into this?

head-firts, methinks
*first

yes
thanks for the help
im going now

ohhhh

hm?

YES!

is there any good reasons why one should not run apache on windows in a mission critical production environment

you mean other than running windows in a mission critical production environment in the first place ?

yeah

not to my knowledge, no

i wnt to convince my boss to run apache+mod_svn on a linux box instead of on windows

install it, let him see that it works

it feels like apache is much more integrated in *nix than in windows

well, it is

so there is one argument
but I was looking for stability/security arguments

if they're using SVN in the first place, I'd go the whole hog anyway

also, since apache is not integrated in the package management in windows, updates will have to be manual
yeah, tru

well, yeah - stability: *nix doesn't crash 3 times a week, Wintendo does
SVN isn't even available as a service on Wintnedo
if it were, it could be made slightly more dependable

maybe the real Q is "is there any good reasons why one should not run windows in a mission critical production environment"

*nix apache isn't even approachable by WIntendo lusers, so there's no chance of them screwing it up either
aywhite: that's always a valid question, and sadly , often the answer is yes, there are several
such as the programmers knowing only dot.not, or the company not having experience with ergo no trust in *nix
well, I'm going to read some before heading off to the store

don't run windows in a production environment, unless you REALLY know what you're doing

and if you do, protext it by a unix-based firewall

Comments

in other languages a pointer or reference is different when you print it it always prints what it refers to instead

is stdbool.h a standard header?
i tried including it, but vs says it cant find

it's c99 iirc

hmm

How can I malloc space for something strtok returns?

rretzbach, strtok returns a pointer doesnt it?

strdup ?

is it possible to have more than 65535 TCP connection with the same interface ? or do I have to create aliases to have more ?

TCP port space is limited to 65536 ports, so no
per IP address that is

I keep getting an error in fgets, while the pointer to my buffer isn't NULL, and the buffer should be large enough for the string I'm reading…
are there any other possible reasons for a SIGSEGV in fgetsN?

boegel, code?

kind of hard to show, because it involves several functions from a rather large framework… I didn't write the code myself, I'm just trying to figure out why a benchmark fails with a Segmentation fault on some particular input
if you really want to check it, see http://www.bioperf.org/BioPerf.zip and check the Source-codes/Predator/prdread.c file at line 451, that's the fgets which fails

=/

hehe :-) I know, probably not worth the hassle…
oe, coming closer… I slightly adjusted the input, and now it does work fine…
boe, coming closer… I slightly adjusted the input, and now it does work fine…/b
ok solved, the program didn't handle the input well…
I still don't know why the fgets crashed, but atleast now my problem is solved :-)

Morning.

rad

Howdy!
just had breakfast, found out local university has NO books on Octave it's a mathamatical programming language. Kinda c-like too
ujust had breakfast, found out local university has NO books on Octave it's a mathamatical programming language. Kinda c-like too/u

Octave is the Linux Matlab clone, right?

I want a modern 2.9x version of the manual in pdf.

try searching for books on Matlab

http://www.octave.org

Linux/win32. it has some compatibility with matlab, yes
For only being 11mb, it's amazing.
(and 12 dependencies in linux ;-)

never ever use fgets
char str[32]; fgets(str); what happens when the user inputs more than 31 characters?

zid`: you are on crack. go to sleep.

yes

you are talking about gets(), not fgets()

yes I am
I am?
awesome, I SHOULD go to bed
is fgets the nice one?

fgets requires three arguments.

yea

yes

mm, how long have I been awake now

both they both have overrun issues?
s/both/dont

fgets() is fine as long as you correctly specify the size limit

don't forget the

fgets(s, sizeof s, stdin); is fine, assuming s is an array.
fgets reads at most 1 less than the size parameters, to take into account the ''
s/meters/meter/

so fgets is actually safe in that it will cut you off… whether file or stdin. :-)

yes
you of course want to check if you've been "cut off"
and act appropriately

zid`: I didn't, the benchmark people did

It will wait for an ENTER before proceeding of course.

fgets doesn't wait for anything
but it will stop reading if it sees a newline
or reaches the EOF condition

yea it doesn't chop newlines, that's what annoys me about it

If I type 80 characters into fgets expecting 80 characters, you're saying it will automatically move on?

I tend to write one that does

what is this "move on"?

execute next statement

fgets() reads from a stream until newline or EOF or size-1 chars.
and how do you know if it chopped a newline, or just didn't see one yet?

Right.
which can have interesting possibilities.

cus of how many characters it reads

if it reads limit characters?
where limit is the specified size

it just puts the over the \n at the end if one exists

Thats an interesting test:

zidfgets(buf, 6, stdin); if that produces "Hello", how do you know if there was a \n?

I don't care

then you fail to read input properly

fill a string with a single character, pass it to fgets up to say half, and what do you actually get

why?

because perhaps the user entered "hello world"
or perhaps the user entered "hello\n"
you don't know.

it always ends with a \n if it fits inside
it's from a keyboard not a file

it doesn't matter if it's from a keyboard or a file.

no, it shouldn't matter.

yea it does, you have to hit enter to enter the command

so what if they do "hello world\n"

so I get EXTRA \n on the end that I do not need
uso I get EXTRA \n on the end that I do not need/u
so you leave the \n on when you want to parse input?

so, if the size parameter is 6, your function will return first "hello", then "world" then ""
so you can't tell if they sent "hello world\n" or "hello\n" then "world\n" then "\n"

'my' function will will it?

the one you propose that just removes \n

I tend to write one that does

I'm curious about this function
ie, how it would behave in such a situation.

do { a = getchar(); while(a != '\n' && a != EOF); or something
with an array in there somewhere

nevermind.

what's so hard to understand about wanting user inputted strings not to have trailing newlins?

I agree that you would not want a newline.

then I don't see the problem

using fgets in Win32/"dos" causes the newline to be retained

fgets() retains newline everywhere, it's a feature

zid`: how will you communicate a full buffer vs full line accepted? you might setup a flag, fgets uses the newline.

that behavior isn't necessarily guaranteed in gcc linux I believe

why would I need to?

the newline is retained if there's room, and one is read.

It's a mixed blessing.

printf("Please enter your 8 digit ID code"); zgets(str, 9);
if I DO care, I won't use that function
i'd use.. fgets

I wish there were a version thats DIDN'T

make one.

Although its easy enuff to truncate it out (newline(s))

well, that's fine as long as you flag the condition of "didn't read a newline"

which behavior isn't retained with GCC/Linux?

unline fread you _would_ expect it to retain all up to size of buffer
^unlike

it's one line of code to truncate a newline from fgets() if needed.

I was under the impression, somewhere, fgets doesn't always retain newline

it doesn't.
well
it does, provided a newline was read

Ok. I guess thats clear now.

if it's yet to reach a newline, because size-1 characters have been read, or the stream is EOF, then there will be no newline, naturally.

int zget(char *str, int len){ char t; int a; for(a = 0; alen; a++){ t = getchar(); if(t != '\n') str[a]=t; return a+1;}
something like that

Anyways, I have a sick computer expecting a ram transplant. Later good folks

A ram transplant? It's run out of free slots?

yop

you fail to take into account EOF, and t should be an int

that's why I said something
and not exactly that
can stdin even return EOF?

getchar() can return EOF

zid`: Yes you can put an EOF into stdin.

and getchar() only works on stdin
you don't put an EOF into stdin, EOF is not a character.

foo "EOF"

yea
hence me saying something like that and not exactly that
I typed that all out in on go on IRC

examples aren't very useful if they're broken

it worked 99% of the time :P

it also returns after only reading one character

i'm sure it does
I meant to have an else break
at least

Mornin'

morning PoppaVic

lo

morning

if(sscanf(sp, "keysym=%d", &num) == 1 || sscanf(sp, "keysym=0x%x", &num) == 1) == is that a sensible way to do it?

with strncmp then do strtol on sp+7 with a base of 0

but yours seems reasonable also
strtol has the advantage of pointing out where it failed

Hmm… true I guess

and accepting octal and hex and decimal

I'd usually get the return from sscanf, and cascade them

Oh.. strtol automatically does the oct/decimal/hex ?
Hmm?

yes, with base 0

yeah, strtol has basic base-support

Ahh yes.. I forgot that

a very simple question… while stepping through a code in gdb, does it show the line it has executed, or is going to execute?

cascading.. such that n=sscanf(); then if(n…) … for each tidbit form.

about to

Keeping them in a "cascade" lets you avoid messy, nasty multiple-if

fifo_fq = (fq *)malloc(sizeof(fq)); …. gdb shows this line… on pressing enter (next)… memory corruption signal!
why can't I do a simple malloc?

well, stop casting malloc and then see what you are asking it for size as well

because you smashed your heap earlier on

what type is fq?

maybe you should run this through valgrind

fq is a structure

well, remove the cast.
other than that, there's nothing worng with it, you may've corrupted stuff elsewhere.

no benefit even after removing cast, same error at the same place!

then you have undefined behaviour elsewhere, try valgrind as wcstock suggested
er.. wcstok

But there's a free() call after those statements… the free() call is successful on first run through the loop,
If I remove that free call, the whole program runs smoothly!
Should I really care about freeing stuff?

free is totally useless

do you care about ensuring your program is correct?

yes I do
I don't know what valgrind is (googling)

you should always free what you malloc

if it crashes on (what looks to be a correct free()) then you have other issues, which may show up as random failures 3 months from now

and you should never free something you didn't malloc
though free on a null pointer does nothing.

ah well, I am freeing up something I am damn sure that I malloc'ed it!!
its not even a free on a null pointer

then you've corrupted malloc/free's state, probably
free(NULL); is harmless

why are you still here and not valgrinding that program yet

if this program is relatively short, you might show us

because I've to know what valgrind is…

google knows

you started googling for it 2 minutes ago, you should know by now

i m learning

hell I bet even msn knows

lol,… but just a question, how do I fix malloc/free's state?

hehe

by not breaking it in the first place?

don't corrupt it
heh, http://www.valgrind.org/ is ECONNREFUSED
(for me, anyway)

yeah, same…isn't that just about the worst timing ever

yeah
maybe they corrupted their heap

a little while earlier, I found out that I am using same structure in two different link lists…. so things are mixing up! I fixed them by creating copies…
CONNREFUSED here, too

well, feel free to http://rafb.net/paste/
what platform are you on?

linux, x86

okay, which linux?

its not really big, but must be confusing for you… I am a bad programmer…
Ubuntu Feisty Fawn

got htons?

sudo apt-get install valgrind

the life of a bad programmer is a confused one

heh

I doubt it would confuse me

possibly a short one if some maintenance programmer ever finds your whereabouts too

of course it may make me want to gauge out my eyeballs, but I'll take that risk
er.. gouge

besides, you'd kill him _first_ - then maim yerself ;-)

403 lines in all .. in 3 files

ah
huge!
well, let's see what valgrind says

http://rafb.net/p/ZmqJhp88.html http://rafb.net/p/JAvWuC31.html http://rafb.net/p/d2ffCg68.html

Hi, what is the correct name for things like %d %s %c I just call them place-holders, but what is the correct name?

format-strings

well i am installing valgrind.. almost done

format specifers?

er, specs - right

Thanks!

if you are still reading my code, then let me tell that read test.c first, and that this is a simulation of paging/virtual memory… (no real process etc. are created, no real memory either)

why are you including .c files?

first multi-file program… forgive me… should I make headers and link a library?

well, you should put prototypes in your headers and definitions in your C source files

I promise to fix that

are you using gcc?
if so, I suggest using -Wall
if you are already using -Wall, I suggest you pay attention to the warnings

code-by-guessing in action?

Let me try to use -Wall

haven't looked closely enough yet

I tried to look - my eyes crossed

does fopen() and family exist on windows?

I doubt it

yes
(what family?)

fopen exist whereever is a sane stdio implementation

yes it does

ah
is there a way I can tell if I'm on windows? Like checking a #define or something?

why do you care what OS you're running under

there are probably some #defines set by your compiler. But use them as little as possible

thinks like sockets (winsock vs sockets API)

yes… try to write and execute a virus

what compiler are you using?

I don't think you mean

what?

_WIN32_ is a fairly common define for windows compilers

for (ptr = *dpq; ptr; ptr = ptr-next) { if (ptr-frame = frame)
==?

wow, you are great!

gcc -Wall told me that

cool thanks
would you happen to know if gcc for win32 defines _WIN32_

and yes Wall is great too, just like you!

!warnings

warnings is http://www.iso-9899.info/wiki/WarningFlags

for the second time in this week, I felt silly
thanks a lot!

that's not often enough
it's probably not the only bug…

looks like my installation of mingw defines WIN32, _WIN32, __WIN32, and __WIN32__

well thanks a lot.. now I've installed valgrind too… let me try myself… if stuck I will ask for help

oka

still the memory corruption is at the same place

yeah, other bugs then
it's too big and complicated for that to be obvious

how can I print "hello" to the screen every ten seconds say?
(I'm in linux)

Every ten seconds, exactly? 360 times per hour?

while(1) { print hello; wait 10 seconds }

sleep(10); and a loop

In suitable pseudocode

Ah, but that'll drift. :P

Chris, thanks

and yeah, it might take more than 10 seconds
s/might/will/

Chris, is that 10 user seconds?

sleep() is defined by POSIX, not C.
it's 10 wall clock seconds, at least, man 3 sleep
unless a signal arrives..

Chris, ok.. then why will it take more than 10 seconds?

for a good program, should valgrind show no errors?

because sleep(10) guarantees to sleep for _at least_ 10 seconds, not exactly 10 seconds

kazim59, yes but hard to achieve :
Chris, eek

well.. umm.. iirc, sleep() will also tell the system to pass around time to other processes too.

in practice, it will probably be pretty close to 10 seconds

there can be some 'unimportant' errors, usually in system libs …

yes, sleep will ket other processes run

kazim59, not as hard as getting a program to have no errors/warnings in splint… which is basically impossible

it's not that hard

184 errors… ?

heh

184 is a big number, or a small?

kazim59, do they look serious?

big.

Oddly, calling sleep increases your priority. Fun, that.

yes.. all of them refer to addresses in my program

kazim59, get debugging

Not sure I followed that.

it could be that one bug is causing all 184

kaz

or not

kazim59, how long is the code?

400 lines
I have 10k line programs with zero valgrind errors

Chris, you could try splint

calling sleep is 'nice' for other processes (so the system may consider giving you cpu time later)

I use splint

Chris, how do you stand the number of warnings? Do you turn most of them off?

some, yeah

its giving errors in things as simple as list traversal… !?!?

try to understand the errors

you are suggesting that the sleeper may get a slightly better chance to run again soon because you are deliberately passing off the timeslice, yes?

I guess. Actually I was just passing by, but..

kazim59, are you double allocating/failing to free things?

heh
I'd never thought of it as other than "well, shit - go ahead guys.. I need a brisk nap"
like sched_yield

failing to free things yes… but not double allocation

kazim59, ok.. well there is a bug already

invalid read size of 4 means?

I _told_ you to check that sizeof ;-

except http://valgrind.org/ .. oops

I think his sizeof's are okay, actually

valgrind web site is dead?

I've not looked since the very initial bit. But, he's got 2 tons of issues to resolve.

yes right now

yep

valgrind.org does not respond

it responds with a RST

death of an apache?

sizeof in the malloc? what can be wrong there?

looks like it
what line does valgrind give that error for?
I'd run your program with valgrind myself, but i'm scared it will turn my computer into a pumpkin or something.
ah, you are dereferencing a pointer after free()
that's bad.

ouchies! *poof*

no that has been fixed.

okay
well, keep fixing
1 down, 183 to go

heh

valgrind runs the program completely…. and the results are exactly what is expected

and every single fix suggests a recompile to see new warnings/errors ;-

also that if I remove the single free() call, my program works fully!

do you still get valgrind errors?
undefined behaviour includes working as expected, just don't be surprised if it bites you later.

yes.. .and that too in a silly function called print_queues

if it runs w/o the free(), I'd expect anal-leakage

whats that!

that's either when yer butthole leaks all over yer chair/pants, or leaks mem while the program is running: only your compile hosting can tell you which you are suffering

I was better without that definition
can you see an invalid read in print_queues function (memory.c)… I don't think its possible!

keep that ugly, disgusting, sad image in yer mind and you attack every single warning, error and glitch - fix it or leak to death.

your leaking concept is weird..

well, ptr-next might refer to garbage from some other bug

it might be weird, but I'm not the one with the issues today ;-)
so'k - it wasn't remotely a priority ;-)

well, think I will get an early night
goodnight

btw, a useful trick is to use a free() wrapper that magically frees the ptr and then NULLS that ptr as well.
laters, Chris

I'll sit here entire night.. .. counting down from 184… and when its 0.. i will throw a party to all ##c
hey… is if (prevptr) and if (prevptr != NULL) the same?

yes
(if prevptr is a pointer)

brrrr
grrr, too

grrr? all well?

I'm searching for a safe way to receive and parse an http request. I was thinking that I might make my program expect "\r\n\r\n", but this might also be absent in the case of a malicious attempt to crash the server

Then make sure nothing can crash your server.

One way might be to receive each request asychonously in a thread, and give each thread a timeout response.

this is why I'm searching for a way to parse it safely

I don't see what security has to do with protocol compliance.
If parsing fails, perform cleanup and error wiggetstuff.

complying to a protocol does not mean someone could deliberatly try not to comply to it to see what would happen
then is there a way to know what was sent in a single send() ?
because it can be fragmented

you are extremely confused.
tcp is a streaming protocol — there are no fragments, there are no packets.
and what would knowing about a 'single send' tell you?

that it is a complete request, but then someone could try sending a request in two send()s
so yeah, useless.

utter nonsense
well, ok — you've realised why it's a stupid idea, then
I suggest that you look into this thing called 'eof' ..

ok…

it's just "one of those days"

ooooh goody. Those days are worse on Mondays, too.

can i use a structure from a dynamic library or does it have to be functions only?
ucan i use a structure from a dynamic library or does it have to be functions only?/u

I think there are ways you can hack this in.

yes.
but how do you expect to use it?

I love it when you say yes to an either or question.

it's just fun ;-)
I really hate having to come up with 2 structures to do one thing from 2 directions. Damn.

well i want to use the openssl libraries but i want to use them dynamically

on closely setting watches on pointers, I've come to realise that value of one of my structures changes magically at 0xb7efffd1 in ?? () from /lib/tls/i686/cmov/libc.so.6

and that's what i need the structures for

the structure data is modified, and gdb has no idea of location…

well, how do you expect to use the structure?
and how is the structure allocated?

look at the call stack. you are possibly overruning somewhere in your code

i don't know, that's why i'm asking for advice

we can't tell you how you expect to do things …

structure was allocated using malloc
how to look at call stack?

he is - no question… He's had issues with sizes, pointers, malloc and free

and how much space did you allocate for it?

well can you tell me something i could search to find information relevant to what i want to do?

sizeof the structure

well, no — because you can just use variable defined in shared libraries normally …
show the malloc line

I suspect he's not yet cleaned up, rebuild all with -ggdb, run it via gdb and had a backtrace

statically linking the library allows me to do SSL_etcetc instance;
but if i were to do that with a dynamic library it would not know what SSL_etcetc is would it?

statically linking doesn't do that
you are one confused puppy.

heh

freeframes = (fq *)malloc(frameCount*sizeof(fq));

Cute.

including the appropriate header file allows you to do that — absolutely nothing to do with linkage.

; Ambience audio system
;
; Controls:
fgjopsdfg
;

Cuter.

ah, a mildly retarded puppy.

fq is a structure with one int, and one * to itself

OK SORRY

is there a C99 type which is 24 bits wide?

don't shout.

dflgjhsdkgh my ctrl button is broken and i pressed v

no

like uint_32_t but only 24 bits

v.sorry k

what is frameCount?

10

what is the typedef for fq?

see stdint+stdint.h - that's your interface.

typedef struct st_frame fq;

well, perhaps you've just corrupted the heap — try valgrinding it

struct st_frame { int frame; struct st_frame *next; ;
tried valgrinding… valgrind runs the entire program successfully
though in summary, it tells 183 errors!

then … correct each error

well, he started with 184 errors via gcc ;-

can't! it shows error at a place where I cannot expect
i will win
ok… right now… the best solution seems to restart my PC…

ahah … 'you have defeated gcc … level 2 … the boss is valgrind'

what is it lately with the 24-bit unsigned/int crowd?

24bit unsigned ? what is that, upload your images online color ?

ahhh
that could be it

i thought these days you needed the extra 8 bits for alpha

perhaps you should read those errors?

I have no idea.. Even RBG is still around

depends of the picture format …

rbg? uh i doubt it

well, that suggests to me that there is a lib/api around.

well … much more than one

no, I meant for whatever clusterfuck they are pretending to reinvent

I don't know … last time I used 24bit ints, it was a school project, meaning 'no nice lib'

well, I can see several ways to diddle it - it just means another API

Surely that's easy… Just use uint24_t
If your compiler can't cope.. fiddle with it ’til it can

which is what began this issue ;-

oh, my, God

I remember that I used a union of uint32_t and int8_t[4], plus some fiddling for endian issues

folks just need to email their Friends at iso/ansi and holler for all that support once and for all ;-)
not to mention any required shifting/reloading/reordering ;-)

libpack

and that handles 24 or 12 or 36 bits?

unlambda is soo awful!!

Unlambda is awesome, faggot!

oh, and 30-packs.

Not odd sizes yet, no… Need to think on that one

yeah, I looked over yer lib. Not a bad idea, but certainly would be nice to deal with endian and these stupid sizes - and floating-point ;-)

quit following me around and dropping useless opinions at my comments Jafet

It does deal with endian just fine

well, when you deal with the other 3/6 packs and fp, it will be even more fun
(which was my humorous point)

I don't see any major need for FP

heh.. someone will - they always do

There isn't a single natural way to do it, though

brb - lemme' recycle

libpack provides the mechanism, not the policy

well, I've never seen a better way to deal with fp other than a silly string or a simple fraction of a proper size. I have no idea how folks determine a proper size.

how can a thing like unlambda be turing-equivalent?
jeeeez

Hard to do it universally… so.. as I said, I shalln't bother

you are absolutely not ready for Turing. Just spare everyone

libpack provides primatives to do all the low-level stuff. For higher things, you have to layer something on top of that

yeah, except… those fp are "standard types"

Hello
SICP would have been such an asset if I read it before I began to code..

before you die and rejoin to goto zero: why?

No they're not.. There's no one standard bit representation of FP values…

I actually came across it in my earlier coding days — but I suppose I didn't acquire the disposition to know great books from 'decent' books

IEEE [mumble] is close, but not universal

no, I meant "float, double, long double"

another language?

Yes.. The bit representations of those aren't standard

not even sizes

libpack is all about translating C-level values into and from a bitstream in a FILE* or char*.

but, everyones compliant-C hosts them

Sure.. Every C implementation provides a 'double'. But not everyone uses IEEE [mumble] as the bit-level representation
Ergo there isn't one standard way to stream them over a bytestream

I love the "mumble"
heh
I know what you are saying. I agree. And, there is no great solution.

Detect the representation of floating-point types on the host computer, and translate from IEEE [mumble] to the native machine type.
uDetect the representation of floating-point types on the host computer, and translate from IEEE [mumble] to the native machine type./u

even more irksome is that IEEE stuff _plus_ may have an FPU, (and not yours), or may NOT have an FPU.
They are basically opaque types - but with whatever size is hosted and whatever endian is required, etc

Well… Any form of fixed-point would work…
Also explicit S/M representation
(Scalar/multiplier)
Which is basically what IEEE [mumble] is anyway.
But.. all of that would be nonstandard

other than strings, yeah - all I can envision is numerator/denominator+precision

The point of libpack is that it works with _existing_ things.. e.g. most fun /dev nodes, file formats, network formats, etc…
I could invent something but it would then be unique to libpack
That then defies the point of having it

yeap
irritating as hell, ain't it?

Not really.. I hardly ever need to deal with floats usually

well, I'd consider those oddball mofo sizes and endian. I am pretty sure it's gonna' get worse.

Yes.. interesting bitsizes would be fun.. but offhand I can't think of a good template notation for them
Maybe 'v' for bitvector, with some number to say how many bits…?
Perhaps 'b' == 'v(8)' and so on..?

well, base 3 suggests itself..

Hmm?

I'm not sure, LeoNerd - I'm fighting shit myself. But, this 24-bit and such suggests dozens and 1/2 dozens and trinary.

hi

Not really.. The specific case of 24-bit values is useful in RGB quantities

i'm trying to set a signal handler for SIGTERM, but it doesnt seem to work

add a 'tribble' like a "nybble" and go from there?

if I hit ctrl- c it just exits
anybody knows why?

A particularly naïve image format might be 32bit width, 32bit height, then 24bit packed RGB triples
fat-lobyte: See what the terminal sends on Ctrl-C. Likely it's SIGINT, not TERM

how about some ASCII text followed by those 24-bit packed RGB triples

LeoNerd, thx, that was it. Now it works!

nono, I meant 24-bit is 2×12bit is 4×6bit is 8×3bit, etc
if you can cover tribbles and nybbles - you seem to get the world by the nuts.

Sounds like PPM…

PPM?

image format

http://netpbm.sourceforge.net/doc/ppm.html

Ohh right. Yes, probably it is
libpack was designed to make that sort of thing trivial

I've always just allocatted pixmap buffers that are bytes, using 3*width*height and just being smart about addressing it.

A funpack() call for the header, then malloc the main pixel storage array, then a big loop with more funpack()s, then return it.

for 8 bit rgb ppm

In a single ~8 line function you've just written a PPM parser

I'm pretty sure a tribble or nybble-cpu would look at it all similar.

funpack can parse ASCII text?

No. That's what fscanf() is for

althou, if I recall, ppm has line length restrictions, and it can be either hex pack or edecimal r g b vals with spaces. depends on if you use P3 or P6 ppm format

It can deal with a string though

no, fscand/scanf are a mess.

hex? no. binary!

Just it treats that string as opaque… "here's some characters"

the ppm P6 format has each 8 bit rgb value represented in the file format as 2 hex digits.

ahh, opening the door to another layer?

funpack(file, "dda#", &longa, &longb, &strp);
^– two 32-bit little-endian 2's comp integers, and a NUL-terminated string of undetermined length that will be malloc()ed by funpack itself
(yay for lack of buffer-overflow )

ok, that's where I flogged the mod_cgisock author.

OK.. Then.. allocate your own buffer, pass that in along with its size, and don't give the # flag.

given that the sender can ascertain how many characters make up a string, force the silly bugger to prefix every string with a count of the form FFFF

PPM headers aren't null terminated though

Fixed-size? Again, no problem. That's just a c[number]

nope!

Explicit length prefix? (a.la. Pascal)

nope!

yep

Hmm….

that's what we did. Explicit, fixed-format, hex. If they had a loooong string, they broke it up to fit.

Oh.. heh.. PPM is text-based anyway

yup

libpack is more for non-texual byte streams

magic "number", one or more whitespace characters, width, one or more whitespace character, height, one or more whitespace characters, max color value ( 65536), one whitespace character

the c pre-processor is a valid topic of discussion.

then, depending on whether the max color value can be stored in one 8-bit byte or not, 24- or 48-bit packed RGB in normal english reading order

Yeah.. that's text. libpack is for nontext…

So… list of thing I need to do c++ for a client/server (lan) video stream? compiler, some sort of tcp library, things?
*things

NO no c++, cpp is c-pre-processor.

well, when this 24bit stuff comes in, it matters. I think it suggests libpack has a niche, but it's not getting seen properly.
see ##C++ for your C++ needs; cpp is the the "c pre processor"

Likely because I don't know how to get it seen.. What do I do?

!cpp

cpp is The C Preprocessor ; integrated with gcc

I like CPP (the c preprocessor)

Perl has CPAN, Python has the Cheese Shop, PHP has Pear, Ruby has something or other… What does C have like those?

interesting.

well I could give you this code that dereferences a NULL pointer

well, if it is a local-issue, LeoNerd - folks can already commo pretty clear - is that what you want? If it's between variant machines, that's when the issues like size and endian get ugly.
no, C has never had similar. It's sad, but it's true

C has linux

NS - stay on the curve

It must be said, tho, that there are MANY libs that do cool things in C. just no central place they are located, no central 'package mgr/downloader' integrated into C environments.

agreed

so, the libs are just all over the place on the net.

it's a clusterfuck

part of the reason is that C isn't really all that 'portable' once you stray from UNIX/POSIX.

CCAN'd yee shall find

oh joy. a place to keep cc(1)s!

well, for starters, folks would need a site, like rafb or the iso-thingie.

due to low-level os stuff being different on other OSes.
among other things

C is not C– and C– is (afaik, dead and dry)

apparantly a variant of C– is alive and well, actually…

C– is quite useful for certain bootstrap issues

hi

E.g. write a C compiler in C–

iirc, 'C' is only sorta-std based: the keywords are the issue

Then a new system only needs a C– interpreter and it can bootstrap a C compiler for itself

how does that solve any bootstrap issues?
what does the compile generate anyway?

well, vmgen or that funky Lighting GNU thing seems to suggest a C underlayer

eewwwwwww
GNU lightning is a mess of macros

I agree.. We need a way to ascertain "where the hell am I?" plus libobjects, libstaticlib, libsharedlib, libplugins and the API to create, read or employ.
I merely mentioned it because they are _trying_
It might well be that we need a "C interpreter" where the guts can vary all over - but it needs to play portable anywhere with source.

I keep meaning to look for/write a C-CIL compiler sometime
Would be interesting to run C code on Monon
*Mono

CINT is the only one I know, and I never installed it.

Instant detection of things like buffer overruns, double-frees, that sort of thing…

not what I meant.

http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/CmmType

Still not what I meant.

still has some rather large differences with the C– spec…

Further, I'd point out that folks always want to neglect interpret and who and did/does and the layering. Folks get pissed when I mention "interpret", but goddamnit it's a fact.

like not supporting arguments the usual way…

Now that I think about it… It's funny that folks go nuts on kernel-rebuilds/releases and driver/module installs - tolerate the living hell of it all, and then expect C to be "better"

indeed

what does it mean to have a static function?

even the "ASM is a language" group doesn't see it.

although some of those issues are related to the architecture of monolithic kernels.

local linkage

well, it's 100% related to architecture, expectations and reporting: the latter two being "interfaces and access"

or, in simpiler words, static fuctions have file scope, outside that file they cannot be referenced.

Im calling connect() on a socket. It returns 0, but sets errno value to that of "Illegal seek" and my socket doesnt connect. Whats wrong?

no, it doesn't.

connect(); perror(); prints "Illegal Seek". errno is not set before connect()

so what?
when does connect() set errno?

hee hee.

I am completely confused. i call my socket() func and errno is set to success. then when i call my connect function, before connect() errno is illegal seek.

Well, Hatty?

obviously what you have told us is false.

A few years ago I used to get peeved that some lisps bypassed everything to generate MC.. I can't hardly fault them anymore.

when … does … connect … set … errno?

me either.

it doesnt. i was wrong

ok, rethink your diagnosis.

You are not supposed to check errno unless a function has actually failed. It's set to an indeterminate value by any functions that succeed, or that aren't specified to set errno on error.

either connect doesn't return 0, or it doesn't set errno.

Just out of curiousity, what does "Illegal Seek" even mean?

well, it isn't set to zero by library functions.

try looking at fseek() manpage.

nothing without context.

it's not _C_ that's funky - it's all the layers between that no one admits to needing, and that refuse to report to a query at the interface. Hell, folks don't even understand that the MC is interpreted and that - somewhere under it all - is direct, specialized bits that they are being granted access to.

at least one of your observations is false — go and reobserve.

hi all, can someone point me towards a channel that relates to algorithms for generating primes

#math

get realistic

I believe the Mersenne Twister algorithm on wikipedia is wrong
empty

Nah. Just wait long enough.

oops

no one cares if it is empty

cheers

lookup sieve of erathostenes

an interesting thing to note is that MC on the IBM as400/iseries/i5 is all a VM that is over the real silicon–which lets them change out the hardware implementation and still let really really old code still run.

or.. wtf.? mersenne twister is for generating random numbers, not primes!

…also true for every x86 implementation since.. ever

sure, and that's not much different from layers over the transistors/rheostats that "microcode" is still approximating.

right, although their implemetation allows updates to that layer without replacing the hardware
unlike x86.

yes I know - I'm tired after work

someone, somewhere interprets everything; each "someone" has access, or does not, etc..
understood.. Like flashing an FPGA - which would be a language itself.

yah

zvbra - they do have a period that is a Mersenne prime though (hence the name )

there is a big advantage in relying on an interface and not an implementation

well, we can't convince most folks
amen

although sometimes we run into the issue where the promise of the interface is not reflected by the reality of the implementation behind it….

hello room

there are also reasons to restrict access, but also to report to queries instead of blindly accepting instructions.

hello

heh - see above. I agree

If I malloc size of 10 structures (for use as an array)…. and If I want to free() just one of them, the first one
how do I do it?

You don't.

It's funny that folks will screw around fucking up packets of data for the net and other folks commo - but they can't see that everything is predicated on this "interpretation"

problem solved.

now, here is a puzzler…

it is a serial thing— if you want to be able to free any one of the ten, you have to malloc all 10 separately.

thanks… I was thinking that I am freeing the first one, while I was freeing the entire 10!

yep

Given that we simply have "the kernel" and access-permissions.. Seems like every tool - and C and the local libc install - is a kicker.

'a kicker'?

down to 16 from 183 errors in valgrind… hehe (and no invalid read/write)

I do believe C has a future, but there is something wrong with the interface and libc

C has a seg fault for its future.

there is simply no way for every interpreter to ascertain (request/reply) what it needs from a lower level, or know WHERE to look and HOW to ask. etc

'something wrong' is sufficiently general for me to agree w/ you. I suspect that were this to be duked out, there would be massive dissagreements about what, and if not, there would be about what to do about it.
but then, would the resulting thing even be C anymore?

of course, and most folks won't agree with permissions/access or the idea of an interpreter
maybe not, but it should be compliant back into the stoneage
if you don't ask, you don't know. If you do ask, you can learn, etc
who asks what? when?

I've always thought it would be fun to take OSKit and put a wrapper around it, perhaps ruby or something, and make a 'ruby os' or 'scheme os'. I just don't have the cycles for it with children.

get your children to do it

what else are children for other than fulfilling your failed aspirations?

You have 1 new message. '/msg Cheiron @messages' to read it.

lolwut

precisely.

they are failed yet. but if I haven't done it by the time I die…
s/are/aren't

don't go blaming death

children are a responsibility, and a spare pair of hands/brains. ;-) Until they move out

well, I've got 11 years until then.

until you can kick them out lawfully?

college?

right

well, sure - if that matters

optimistic

God bless America.

shrug
Every society has BS related to kids. Ain't one I see is "right"

well, it took when I left home, but my sis lived with the folks, with he 1st-good-for-nada-husbad for a few years.
hopefully, I get two of the former.
but, if theyre in a bind, I'm a softie. so, 11yr may be too optimistic

kids should be monitored, raised/taught as required, trusted (and verified), and then let loose shrug

ideally.

and trained in ninjitsu, in case college doesn't go well

although if either of them has an interest in software engineering, I may be able to recruit…

unless they're addicted to WoW, in which case it's both socially and physically impossible to remove them from the house.

pizza_, speaking from experience?

aaaaaaahhhh!!!!!!

The kid never asked to play - but, once "of age", they can decide to play or split.

WoW?

exagerrating, but yes
yikes, that is definitely spelled wrong

WoW is a grphical-mutilplayer online game. Never even seen it myself, but it has a rep

I'm pretty sure "college" was never on the list of "this is a parent"

PoppaVic, horrible online game substitute for real life/socialising, addictive, costly and isolating. it ruins lives, and reputations

It's a boon, at best

wha?

you shouldn't teach wow-addicts ninjutsu.

of course, there never was a "congrats, here is a new sportscar" clause either.

Kind of what MUD/MUSH/MOOs were to my era, although I didn't get into them
bKind of what MUD/MUSH/MOOs were to my era, although I didn't get into them/b

oh, so online-nonsense?

yah

ah

kind of like IRC. :P

worse than MUDs, it's infiltrated popular culture

true, that

I get "infiltrated" by virus, and "culture" is bacterial. shrug
meanwhile, I think we pretty-well covered the issues with OS/user/C - it sure reminds me of the bios/bdos days.
Actually, Z's discussions of better ways to use plugins impacts as well, but most folks would never see it.

I like plugins.

PoppaVic, better ways to use plugins?

I haven't seen his discussion of it tho. bet it was fun

well, most folks don't even realize that a plugin is not a……
hmmm

not a what? :-)

PoppaVic, I once thought that most of your program should be plugginable, the core of your program being one to facilitate that. it probably helps if the language you are using makes it easy to plug/unplug code

Auris-: it's not a .com, a .o, .stlib or a .shlib

so, how many ways to do that are there in C other than configurable dynamic library/routine loading?

other than writing a mini-language, I don't know of any others

if you look at C, it's extremely limited. You are now speaking of libc.

ok, not a shlib…. that sounds like I've used the term differently theb
s/theb/then
yes, I'm think of plugins through a C lens at the moment

right, and plugins are something for the dlopen/dlsym interface.

ok, thats what I was thinking.

hi

ELF shoves together .so and plugins.

hello, alesan

I have a "stack smashed" problem. I am not sure how this feature works

feature?

it's not a feature, it's a bug
fix it

valgrind

bartel, mh?

there's a tool called valgrind that'll save you some time

this is why I invest in pwder, primers and bullets.

you overwrite your stack in a routine, and it is a smashed stack. it is often easy to find, you set your brk in the routin and step through it looking a tthe stack. when the stack goes bye-bye, you have your overwrite.

PoppaVic, I am trying to debug where is the problem but… the stack smashing error occurs after I write on a log file, and before I write something else
and in between there is only a "return true"

did you compile ALL of it again, with -ggdb?

PoppaVic, yes, both library (it is where the error occurs) and main app
to be honest I only used -g
shoudl I use -ggdb?

You need a completely clean gdb compile. Do what I said. Then run it, and when it dies, do "bt"
some machines will get bent when you do not use 'gdb' as the debugging compile.

bent?

~dict bent

….assuming you are using the gnu toolset.

peeved, irate, useless, fucked, die-well

While that is virtually correct, it only happens in certain cases.
For example on PPC G5s when doing kernel debugging.

yes gnu on linux (will try freebsd later )

I always bring that 'assume' up, since I use UNIX vendor's pricet compilers at me workplace.
s/precet/pricey

where do you work?

In Colorado.

ah, the sunshine state - beautiful

indeed.

I'd test *nix, and *bsd and solaris or something else with a different endian-issue
that endian crap reaches up and RIPS off yer nuts, rather than merely nipping them

PoppaVic, you forget 64 bits versions

I try, I wish others would as well.
Given a baseline size, the rest is moot if the goddamned interfaces are sensible.

You can have both kinds of fun with code that has to run on HP PA-RISC and HP Itanium-64.

shhhh - I am just shedding this headache

wasnot IA64 still LE
and I highly doubt that HP made IA64, after all, it's "Intel" A 64.

Itanium can do it both ways… so probably siil maintains endianess.
the pa-risc way.
I have one around here somewhere, just haven't used it personally.

screwing with endian and sizes as an arg to a tool is not gonna' help.
ok, then I'll restrain my screams

Ok, dbl checked, HPUX is BEndian on itanium as it is on PARISC

I can specify my endian issues per-object/program: it's not portable. Back to interpreting/reporting.

The PowerPC chip could go both big or little endian as well. it is fairly common for newer chips to be able to do both, although I believe it is some thing that is configured on the board, so once in palce isn't changeable.

no

no?
no to which?

it's a state.. I don't know if it allows for switching-while-operating or under permissions

It doesn't allow switch while operating.

I'd never dick with the default, myself

they don't define a default.

really? State while operating or state while reading?

the way you wire it to the MB, I'm pretty sure, sets which is the default.

there is _always_ a bootstrapping-default

ie, the chip, not attached to a MB, doesn't have a default. attached and powered on, it does

we return to that "interpreting" issue, methinks.

but it depends on the motherboard.
probably

Hello

it's all gates, kids ;-)

yeah, bill gates.

nah, transistors

Schrödinger's chip won't tell you which endian it is until you observe it.

bill was just another wannabe that managed to steal and market ;-)

$56US Billon isn't a wannabe in my book.

oh, _reporting_ - no. I don't even know if state-switching a ship is checkable/reversable
dude, you think too small: hehe. Thieves and liars remain the same, except they can use yer $$ to lobby and defend ;-)
afaik, Bill gates couldn't code his way outta' a papersack, let alone his own products/os

hi

Bill Gates is a rather good coder.

according to whom? where? using?

hi all

at least now you should congratulate me…. valgrind says 0 errors!

Oh that's right, he's just a business exec.

I'm pretty sure he began as a programmer/hacqueer, but he learned all he needed from IBM biz-practice, and sole the rest. You don't manage a firm that large by doodling code you can steal or buy or hire.
sole/stole

He's rather good at modifying src.
rb
brb

he hasn't personally touched source in years and years - decades

I'm sure he writes little pieces of code..
Just to feel good with himself.

excel macros to pull project milestones of a sql server database?
/s/of/out of/
Even that, i doubt.

Trust me, I predate DOS and Doze - there are others here with at LEAST that age/experience. Gates was never, EVER an "inovator". Ever.

and he still managed to be the richest dude alive, go figure

now, once you got his Defense out of your "system" - how goes your shitty connection?

He is a good businessman.

yeah, it's sad.. Knowing whom to screw or steal from, and layers to pay seems to matter far more than we'd think/
layers/lawyers

Meh; it's a little stable.

Any GLib-ers around here? I'm just currently looking at the GScanner lexical parser… Wondering about how to implement language keywords - identifiers or symbols…?
Any GLib-ers around here? I'm just currently looking at the GScanner lexical parser… Wondering about how to implement language keywords - identifiers or symbols…?

no, 1 horse is a "little stable"

I'm thinking of playing with scheme; gotten some books ;p

coding in an altered state usually results in recoding a great deal later.

i studied it at first year of university

Depends, truly on who you are.
In my college they teach vb and java in first year of cs

sometimes, it does mean "gee, that was a great idea!", but usually it means "OK, the idea was great - wtf did I mean?" ;

Scheme is to LISP what a lot full of lumber and tools are to a completes mansion.

better to code high then drunk though o_O

you does not need books you can find all you need on sheme web site…

Heh..

so was the 1998 Bjarne Stroustrup interview with Computer magazine actually real?

blah.. back to Whome does What to WHom.

Perhaps, I should check Lisp out as opposed to scheme.

SAtire.

vb? bleah!
we studied scheme and java…

Which is why I study Information Systems

remind me - I stopped subscribing to Byte decades ago

I have to work on so many things.

the interview where he said c++ was a joke that he just threw together to up the salary of regular programmers

we got pascal and assembly in the first year

It's much like a dream; working on other langs. ;p

they are both pretty cool. If you start with LISP, Paul Graham has a good book. (good books really, but one is not for beginners._
it was clearly satire.

I often thought the article was a joke, but look at the way it has evolved.

yeah
i almost thought it was real
esp the part about destructors, constructors

check out the guile 1.6 manual, it covers learning scheme very well

Track Records, folks.

although it certainly reads as an amusing critique on c++ from a C point of view.

I have the teach yourself Scheme in fixnum days; I'll go through that first
I'll look around for a good lisp book later.

thats just good satire

What would you recommend?
Blah, he's probably gone shopping again.

For LISP, I recommend http://www.paulgraham.com/acl.html

Alright.

1) the cpp can't report/test as we'd like; 2) C can't ask/reply ala' #1; 3) we can't mess with prelude/exit as we'd like; 4) I sincerely believe 'asm' was a mistake.

so i have a structure of arrays that i need to manipulate (i need to delete one of the structures), would it be best web hosting to create a pointer, and copy to struct to the new pointer or is there a way to do this with less overhead

no

since it pointers, i can't imagine there being to much overhead

you either have an array of structures, or an array of bytes that are interpreted.

but i don't believe there is a built in func that i know of that is similiar to pop
ubut i don't believe there is a built in func that i know of that is similiar to pop/u
heh

I prefer the func similar to cola.

you might want to explain what a structure of arrays is

http://download.plt-scheme.org/drscheme/. feck is written in Scheme

while we are talking, Ma' is hollering upstairs about dinner - which I must make. Same ideas, different context

I've used DrScheme. It is pretty decent.

damn women

peapicker, certainly decent for beginners

I'd not mind an independent process/callback/thread: but it ain't.

yup

Mind if I take a look at your src? :P

draichis, nope
draichis, feck is here http://monkeyboy.td.org.uit.no/~cin/feckbot/
http://monkeyboy.td.org.uit.no/~cin/scm-irc/

everything (in *MY CONTEXT*) means I do it, or others do. When the others don't interface well, they can ask/say what they want, but *I* get the chore. This is life and programming.

Groovy syntax.. ;p
Alright, I'll be back in a little bit; it's about to rain and I hate the rain.
So bbiab.

"Let's get that roast in the oven" - oh, the roast I thawed? In the fridge you never look in? cooking it the way I mentioned?, etc

http://rafb.net/p/1i6bsC81.html

and, thus: I still get peeved with people.

or structure, whatever

link doesn't work ?
oh wait it does

so i want to delete one of these shapes and am wondering what the best way to do it is

you can't i think

what is "a shape"?

im thinking copy the pointer to another pointer, then edit the second pointer, then copy it back to the first pointer
uim thinking copy the pointer to another pointer, then edit the second pointer, then copy it back to the first pointer/u

huh

but will this work with the structure of arrays

If what you want to delete is an element of struct shapes plotter_shapes[MAX_PLOTTER_OBJECTS]; then you can't

arrays are the wrong issue; you lost track of the issue

say array of sructs please but how would you delete them ?

if it were individually allocated thing that were pointd to by, say struct shapes* plotter_shapes[MAX_PLOTTER_OBJECTS]; — then you could. (note the *)

I've run plotters, done some graphics, and definitely know about structs. So.. yer confused who is doing what with which and what which is and why/

*new_ptry = *struct ; *new_ptr(for loop); *struct = *new_ptr;
no, i am not confused about what i am doing

you most certainly are, or you would not be asking

so that is where structures of pointers comes in handy
shit man, im just trying to delete an element from an array
simple as that

array of pointers to stuctures is what I described.

im not to that level yet :-)

you can't the_plumber, you can zero them out, but you can't de-allocate them or remove them

arrays of structure can't have members deleted from the array. You can blank a member out with memset though.
yeah, as snhmib also pointed out

ahhh, so can't i just copy the structure to a new structure and then copy that back?
bahhh, so can't i just copy the structure to a new structure and then copy that back?/b

I have no idea what you mean by that. perhaps some example code accompanying your question would be better.

in my opinion, there are two forms of allocate/malloc - will you listen?

well that might work, but you have to copy the contents of the array, not a pointer to it
with memmove() or something like it

hmm

with array i mean struct :P

OK, then forget it.

i always have an open ear

I asked a simple question, earlier: yes or no?

im gonna grab a book real quick

I use a modem. Go ahead, and stop screwing around.

that was a yes

I /that
he has to LISTEN and REPLY - or it's not worth my time, and it makes everyone else here that cares suffer it.

hold your horses for a sec, had to get coffee too

wake the hell up. Respond.
ahh, coffee is good - go piss while yer thinking about it ;-

heh, cans right behind me

that scares me
OK, are you set up?

almost, i need to check one thing though

you need a better nick

how about 'Mario'?

"Kong"

mario was a plumber.

oh, really? :P

http://en.wikipedia.org/wiki/Mario_Bros.
"Unlike Donkey Kong, where he was a carpenter, in this game Mario became a plumber, exterminating pests who exit from pipes."

PoppaVic:L what got me thinking about the structure copy was a swap example i saw in a book

wow you totally ruined that joke
=(

yer being an anal-retentive pendatic ;-)

haha

My nick _is_ peapicker.

which used pointers to swap numbers. it was a call by reference function

what does that mean? In this context and today?
NONONO

So, I pick at peas.

hah

There is no GODdamned "call by reference" in C

how's that working out for you?

dude, I unignored you ;-) come on, relax a little ;-)

call by reference?

Almost have enough for pea soup.

so what is this? void swap (int *i);

are you thinking C++? or just stupid?
I'be decades on your forthish

I am relaxed, you just misinterpreted what I said is all

I've
please, all I'd like is that we help these kids or joke.. I get to the point where folks seem to get mean and nasty about helping.

the argument (int *i) passes the valus of the pointer *i.

hrm. I've actually been talking to you for days. no wonder you didn't respond

s/valus/value

call by reference?

I think it was some bot.

or call by value?

which word did I just use?

everything in C is "call by value"

well, this book must be fucked then

you can deREFERENCE a pointer that you pass the VALUE of, but it is still by value.

Folks want to pretend there is no stack, well there is - throw that book away.

it's probably just making some analogy like "pointers are like references in X language", perhaps?

every "call" gets the VALUE of some "type" and you can screw those all you like.

Cin has nailed what the book should be trying to tell you

yes

the moment you pass at least *pointer, you are _exposing_ external info via a ptr - to the call you made.

yes, i understand this

you have to understand and BELIEVE it right down to yer nuts.. Really.
C is not fantastic, but it will let you denut yourself.

its what keeps me awake at night

it should not.

something to get right away is that pointers are types, too, with values, ones that can be printed e.g. int x = 5;printf("%p", &x); /* will print some address */

If you obsess about it, this tells me you need an interface/api
ALLLllllll the basic "types" in C can reflect a local CPU and registers.

in other languages a pointer or reference is different, when you print it, it always prints what it refers to, instead of like in C's pointers where you can only access what it refers to be _dereferencing_ it, you follow?

yep

hm. is there a plugin for XChat to automatically make words that are _underlined_ actuallly emphasized?

#xchat?

no idea. I'm wndering if there is a plugin for Pidgin for the same.

LET'S DO IT

Cin, ?

never that I have seen, and the Aqua-Xchat author gave up and needs a maintainer

so, the_plumber, what are you wanting to do in your function in your program?

do you understand the diff between "value, pointer, handle, enum"?

simply to push and pop structures from an array

no

I've made a few XChat patches in my time, I could probably add this if there isn't already something to do it

are you maintaining a counter/index that tells you where the top is?

then use the GLIB queue/dll

enum = enumerate, pointer (reference or value), etc

yeahm I helped as well - I think it's dying.dead

yes, it is a global

ok, so yer a virgin.. This bodes-not-well

ok. so, you pass in a struct to copy onto the top in push, and you pass in a pointer to a struct to copy back to in pop, and after that, in pop, you don't have to do anything but decrement the index.

no
Please don't pass around structures… It makes my guts shiver

you never have to clear that mem, because you aren't ever going to look at it iuntil after you copy in a new struct with a push when you increment the index again.

I don't think there's much more to add/change to it. all IRC clients tend to have the same base functionality and then it seems to be subtle aesthetics and little bits here and there…

http://paraplotter.cvs.sourceforge.net/paraplotter/paraplotter/plotter_software.h?revision=1.8&view=markup

well, pointer to struct are better to pass in all cases, yes. I accidentally left that out of my push sentence.

I one felt that libIRCclient was a possibility.. I already learned that libIRCserver wasn't ;-)

heh

look, he doesn't understnd the basics - stick to values, not structures.

the elements of the structure are irrelevent, the principle I outline would work for any struct.

there are ways and ways - you don't even understand basics. Stop looking for pasted-solutions. Look to learn the basics

so does most Linux and POSIXy stuff work well on OS X? that is, you don't have to fuck about like on Windows?

right.

*most* stuff

Cin, they should in Leopard.

I've had no real issues, EXCEPT for makefiles.. Would you like a linux/osx tarball?

Comments

Say what is a good way to organize CGI applications that have CGI components and regular files Right now the cgi

AuthCookie caught it and displayed an error, as expected.
All of the other clients work — I can log in with her userID and password fine.

my webhost support both php4 (.php files) and php 5 (.php5 files), i can also use .htaccess with allooverride all, is there a way for me to make .php files processed by the php5 handler instead of php 4 with the help of an .htaccess ?

Just her workstation. The only thing that changed was an upgrade to Java. She's using Firefox 2.0.0.6, same version that I have.
I don't know why a Java upgrade would affect anything.

talexb, i bet she typed her password in wrong and saved it
and now she never gets prompted for a password, and gets a 403 instead

Nope — the login uses a GET, and I copied and pasted the userID and password and correctly logged on. But good idea.

have you sat down at her computer and tried it?
it sounds like user error to me

lepidosteus, Maybe the filename endings specify 4 or 5?
Shadowhand, Unfortunately the client's at a remote site.

/etc/apache2/httpd.conf on FreeBSD 6.2 ?

StarWars, ask in #freebsd?
that's a distro specific question

you could also use your favourite $EDITOR…

jMCg show me the command to add pls

are you serious?

anyone else getting rename errors with disk-cache?

StarWars, do you know what that command line does?

no

please consider getting some Unix 101 before considering to run servers.

It's probably better to edit the httpd.conf file, rather than blindly concatenate stuff at the end.
And Apache 101.
And FreeBSD 101.

RewriteCond %{REQUEST_URI} wikkaInstall$|setup/install.php$
jMCg, hey hey
foo, i didn't realize that the rewrite would cause a "recheck" of the rewrite rules

hey ho

foo, after the rewrite to "setup/install.php", it was obviously skipping the first rule (didn't match), and using the next 2 rules (caused f'ed up routing)
thanks for your help foo and fajita

4 2007] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept
what is rong ?
wich file i need or directory ? or what

httpready
httpready?

wish i knew

I see.

haha
)))))

jMCg, THis really looks like a FreeBSD problem — check on that channel.

nobody here is using disk-cache?

does ProxyPass only pass for files that aren't around statically?

no, it doesn't even check if they are around, wasteful to read disk in that case

hrm…I've got this /cpanel that used to work, and since using my proxypass it doesn't work. There is no cpanel dir in the public_html, so meh
I've got a ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
but it never gets hit apparently

you can't use a file as a scriptalias
it has to be a directory.

meh, I didn't even set that part up…but it used to work I thought.

it's not proper
scriptalias

scriptalias is http://httpd.apache.org/docs/2.2/mod/mod_alias.html#scriptalias or Don't forget to load mod_cgi

yeah, it's a VPS running CentOS
oops

oops is right…

wrong chan

anyone using disk-cache?

so in httpd.conf i have libphp5.so being loaded
but it doesn't work

doesn't work

Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Be specific! Examples of what doesn't work (or the URL) tend to help too, or pastebin the config if that's the problem

:P how did i know that was coming
it's displaying the php hosting source

mod_php

mod_php is see php

php

is a scripting 'language' that is enabled by loading mod_php and by adding 'AddHandler application/x-httpd-php .php' or you can look at http://wiki.apache.org/httpd/PHPDownload

Then either mod_php isn't actually being loded, or you don't have the necessary AddHandler for .php files.

got AddHander?

I have AddType

addtype

addtype is http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addtype or should NOT be used for things like PHP and CGI - that's a _very_ old and grotty hack, and anyone advocating it this century needs a clue or see
http://www.devside.net/articles/php

ah ok

I have my windows setup reasonably easy to forward in-db.dev to a localvirtual host, but having problems setting on the same on linux
http://pastebin.com/m2c630eff
http://pastebin.com/m1c2bb408 appended the error apache2 gives when I restart
Could not reliably determine the server's fully qualified domain name,

fqdn

fqdn is http://wiki.apache.org/httpd/CouldNotDetermineServerName

^^

hmm ok now i have another problem :-
mainly that my phpinfo page is loading but the rest of my php stuff is not. i suppose that might be more suited to ##php though

i think it might be more browser cache
sample url

Could you please give us a URL at which the behavior is demonstrated. This would help us troubleshoot the problem.

or crappy php coding…

yeah moment mal

*shrugs*

it's being used elsewhere

that fixed that problem, thanks

hey tastes vary. :P
coo

http://sousuke.servebeer.com/test.php works
http://sousuke.servebeer.com does not

i take it the second one is using index.php?

yes

and what does this index.php file do?

Whatever it does, it takes its time about it.

exactly. :-\

make any db calls?

What does "works" mean in this context?
So it's the fact that it's slow that you're complaining about?

it should be redirecting to /install/ so i can install the script
No, I'm complaining that it doesn't load. At all.

oh um…

Withoug seeing the code, it's rather hard to speculate as to why it's taking a long time.

or not even loading

It's gray.
A soooothing gray.

Let me look at the files real quick. I suppose it's possible that it wants some php module that I don't have installed

What, exactly, does the error log say?

but for that, i'd imagine php would throw an immediate error.

Don't believe it says anything, but let me check again

and yeah, answer DrBacchus's question

Then turn your error_reporting up to E_ALL

it is. DisplayErrors is on too
and apache-error.log doesn't say anything

ok
I would recommend increasing the memory limit and the timeout.
I would recommend increasing the memory limit and the timeout.
That way, if it's one of those, you'll at least get an error message.
Look at me, doing PHP support. Has the world gone mad?

lol

hehe

ok well now it gives me a white page
display_errors is on and error_reporting is at E_ALL
..

Hello all. If I purchase a load balancer with ssl host offloading, I won't need Apache to do SSL, right?

wsod

wsod is White Screen Of Death, one of PHP's specialties. It is produced when an error has occurred in a PHP script and the error reporting goes either to the error log or to nowhere. To solve it, look for the error reporting settings in php.ini (or use ini_set()). Also check the error log
(see step one). Further questions MUST GO TO ##PHP.

lol

That depends entirely on what product you purchase.

could you elaborate?

You're asking what features an unknown, unspecified product has.
We can't possibly know that without seeing the product.
If I buy a car, will it have dual airbags?
Well, sure, if you buy a car with dual airbags.

I said "
If I purchase a load balancer _WITH_ SSL offloading, I won't need Apache to do SSL, right?

And I said …
But you were there for that bit.

does ssl offloading eliminate the need for apache to do ssl?

Shall I rephrase my answer, now that you've rephrased your question?
Ok, I'll try.

right, fixed everything bar one small prob
http://pastebin.com/m756eca0c

Some SSL offloaders do SSL themselves, others rely on hardware. Others rely on ponies and fairy dust. Others link into Apache's libraries. Some are hardware based, and others are software based.

I only want in-db.dev to have DocumentRoot /www/in-db.dev

So mostly I'd think you'd want to ask the salesman, rather than folks who think that doing loadbalancing in Apache itself makes more sense. :-)

and the rest to be server by DocumentRoot /var/www/ which is default

And speaking of loadbalancing, I need to take a load off and go home.

but right now http://localhost and 127.0.0.1 are both going to in-dbs root

thank you for re-phrasing it

why do I get this
Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied

Wow.. that one's new…

what percentage of questions in #apache are php issues?

no idea, vertex_

figure it out with your spare cycles

huh?

100,000,000%

a rough estimate.. 42%

you need to go back to stats class

bleh
sing a song

Rainy days and Mondays always get me down …

ooh… carpenters…

works for me

nice…

sed -n 53p /usr/local/apache2/conf/httpd.conf

42% is the percentage of questions in #apache which are really php issues

OK, vertex_.

42%

42% is the percentage of questions in #apache which are really php hosting issues

recorded forever!

I'm not sure she can do reverse lookups (:
what is the percentage of questions in #Apache which are really php issues?

wish i knew, jmcg

yeah but you and I know and can use that 10x per day

see.

I have an apache question
http://pastebin.com/m33cb43c is sending all local requests to in-db.dev docroot

jMCg, LoadModule php5_module modules/libphp5.so

the other half can be answered with faq1 and then there are the rewrite issues….

I only want in-db.dev to have the in-db docroot, all the other requests to go /var/www as per default

the rest of #apache is idle chatter

did you compile php yourself, if so how, if not blame $distro
shhht

yes, i did jMCg
hole on, i keep a log of everything with script

bleh

?
script cmd

vhost examples

Look at these for examples http://wiki.apache.org/httpd/ExampleVhosts : http://httpd.apache.org/docs/2.2/vhosts/examples.html

^ read.
how did you compile hosting PHP and what's this thing about cannot restore segment prt after reloc.. WTF is that?

/configure –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql=/usr/local/mysql/

thanks

jMCg, do u mean segment _prot_

Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied

i don't know what it means

verbatim

Verbatim means "word for word" "copy and paste". It means we want the exact error message from the error log. That also means use a pastebin for 3 lines. Ask me about 'apc' for which pastebin to use.

./configure –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql=/usr/local/mysql/
does that look OK?
nothing special there

that was handy, fixed, thanks

php5.so is owned by root
but i'm starting apache as root too
so, it could be that my SELinux is too restrictive

Is there a way to log httpd proccesses being spawned and what ip caused the spawning?

you would have to code a module for that unless you are using mod_perl

HELP! My computer is running apache as a local web server, and it thinks html files are application/x-httpd-php, so the html files won't open in firefox! how do i fix this?

remove htmll from addhandler

this sounds more like an AddType issue…

yes
just remove it

vertex_, coding a module sounds tricky. How about the other debug levels one can run apache at?

they won't give you the level of detail you want

i don't have any addtypes… i removed them ,restarted, but i have the smae problem

an static ip hosting doesn't cause anything to spawn

vertex_, you are totally ruining my day -=]

are you on a windows server? or do all the files have the +x bit on?
you should see what I did to the other guy

i think when i first installed apache and php (yesterday :P ), i accidentally changed something incorrectly. (btw- win 2K)
any suggestions?

remove, reinstall

fix it. Remove the bogus AddType for html

you think the problem is apache, not windows, correct?

I've built PHP many, many, many, many, many, many time.. More often than considered as health-threatening by the WHO, and I've never seen THAT issue.

it has to do with SELinux permissions
I can either set SELinux to disabled or permissive

Ah. That of course explains it… because I always avoided SELinux where possible.

or change the security context type of libphp5.so
the later being the better solution

i have no extra addtypes for html, except a text/html addtype that isn't doing anything

now, i tried changing the security conext to no avail
jMCg, yeah there are two _independent_ layers of security invloved

if i go to 222.222.2.102/index.html, it works fine, but 222.222.2.102 is still returning the wrong datatype

namely Unix File Perms and SELinux file lables
0 am over

the only problem is going to the computers home directory, and it is only a problem in internet exoplorer

and i'm dead tired
i'll continue tomorrow

no wait, in firefox too

thanks jMCg

servertokens 222.222.2.102

Couldn't get a useful value for http://222.222.2.102

so how do i tell apache that the home directory should be text/html ?
it is a provate, local network (i hope :P )

…but it is reply…

directoryindex

directoryindex is http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex or http://httpd.apache.org/docs/mod/mod_dir.html#directoryindex

why does it still think the home directory is application/x-httpd-php ??

look more carefully

at?

at is there any way to limit these other services?

what does "(%-encoded)" mean?
the home directory mimetype does not match the mimetype of the index file :/
how do i fix that?

directoryindex

directoryindex is http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex or http://httpd.apache.org/docs/mod/mod_dir.html#directoryindex

but that does not change the mime type returned by the home direcory
the direcory index is simply "index.html"
why would …/ and …/index.html return different mimetypes for the same content?

m.com/storage/XXXXXX if m.com/foo.php?file=XXXXXX&id=ID return true ?

something like that

Hello

i wish someone could help me :|

httpd: Syntax error on line 53 of /usr/local/lib/apache2/conf/httpd.conf: Cannot load /usr/local/lib/apache2/modules/libphp5.so into server: /usr/local/lib/apache2/modules/libphp5.so: undefined symbol: __pure_virtual
Usually when I compile something if I add -lmygcc to the link line it fixes it, but I cannot figure out which makefile in apache controls the lib parms
uUsually when I compile something if I add -lmygcc to the link line it fixes it, but I cannot figure out which makefile in apache controls the lib parms/u

Braden`: i think that's php whose behaviour you need to alter
are you using some sort of cross-compiler setup?

hi
i want to make some changes into an app, but a lot of people are using the webserver and the app
how can i disable access to the directory for everyone but me?

allow

allow is http://httpd.apache.org/docs-2.0/mod/mod_access.html#allow or http://httpd.apache.org/docs/mod/mod_access.html#allow http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html

Not that I know of. Just gcc

i've never heard of having to add -lmygcc to a compile.
anyway
you're having problems loading the php module, so that's where the undefined symbol is referenced
byou're having problems loading the php module, so that's where the undefined symbol is referenced/b

I will try messing with php then

people can awser a question please ? i create .htaccess file where i allow access to 82.82.82.82 after that, 82.82.82.82 start download from that directory, while 82.82.82.82 is downloading i change the htaccess to allow only to 83.83.83.83, user 82.82.82.82 ill stop the download ?

NO
you will have to kill the connection to stop the download

no. Access rights are determined per request. Once the request has been accepted, so be it.

yes
thats i want
i want to php allow connectio to user 82.82.82.82
to that user start download

that's not a user. That's an IP address.

while that user is downloading user 83.83.83.83 want download too, then php ill write again .htaccess and first user continue downloading
yes
you right

ummm
what an odd request

hello.

oh hello.

I am using apache 2.0.58 with mod_ssl and php

ok.

the doc root is /mnt/data/htdocs, the cgi-bin root is /mnt/data/cgi-bin
all are owned by nobody and chmod 755

you have yet to ask your question.

I always get a 403 when I access anything served by it

what does the error log say, exactly?

hold on

also, the web content should NEVER be owned by the user apache runs as.
NEVER.

never is a long time

what should it be owned by?
0 2007] [error] [client 85.190.0.3] (13)Permission denied: access to /

(13)

(13) indicates a file permissions problem. Make sure that Apache can read the file(s) and directories being accessed. See also http://wiki.apache.org/httpd//13PermissionDenied

and error_level is debug

root, your user

group root, too?

anything but www-user or nobody
yes, group user/root

but it should be 755.
right ?

yes.
theorically, 711
anyhow

hi, how can I give index.html a higher priority than index.php?

directoryindex index.html index.php
^^

but it is already like that, can there be a .htaccess directive or something that I do not see?

there could be, yes

aha!

perhaps you should look for one

drwxrwx— mnt

that will need fixing.

I chmod'd it to 775

ah yes, drupal has placed an .htaccess file. thanks.

Or should it be 771 ?

755 is sufficient.

ok

ah.

thanks a lot.
bye

take care, hon

drupal– #using htaccess files excessively

i just added extension=mysql.so in addition to pdo_mysql.so in php.ini and i'm getting "Your PHP installation appears to be missing the MySQL which is required for WordPress." any ideas how to fix this?
i know this isn't an apache problem… just hoping someone here knows this

try ##php
what makes you think a php issue should be discussed in #apache?

sorry… the wordgress guys directed me here… i'll go to #php

what

everything

I'm running apache2 compiled with synaptic, how to make it understand mod_rewrite at .htaccess file?

rewriterule override

RewriteRule may be used in .htaccess files if AllowOverride is set to FileInfo

^^

ok
where should I put it?
AllowOverride All?

AllowOverride All is a really bad idea, because it implies AllowOverride Options, which lets people do stuff like Options FollowSymlinks and Options ExecCGI, even though they are explicitly disabled in the main config.

fajita its because I have to set an rule because of Zend Framework

what?

RewriteEngine on | RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
and I should put it into .access file

do you have access to the main config file?

yes

then don't use htaccess.
place your rules in your vhost, instead.

how?
I'm newbie with it

by editing the file where your vhost is defined.

httpd.conf? or apache.conf?
my apache is using that sites-enable function

default layout

Pop along to http://wiki.apache.org/httpd/DistrosDefaultLayout for an idea on where the main distros place Apache files.

^^

?
I think it will be very difficult

no it won't

cant I just use Override/
?

fine

right
I ll try

block

Default VHost Config

Comments

Ok so I had an ordered list syntax-highlighted code but I wanted the s next to the numbers lined up so I made

doesn't validate as HTML 4

microsoft has the largest website on earth and they use html hosting 4.0 Transitional

I am reading a 500pg css book, but need some 'simple stuff' now. anyone know of a site that would get me going in under a day?

CarlFK only if you know german :-/

so far I am an 'expert' at being able to target what will be formatted, but have not gotten to the part that talks about various formatting options
damm. in March this year I asked my Uncle (who lives in Bonn) if I should learn German. "only if you want to as a hobby"

Xsss4hell, did you look into my page?

not that I think 6 months of german class would make me an expert at german, so it would be hell trying to learn something else from a german site

nappysis yes
where's the problem? I've viewed it with Opera 9

I have IE7

hello
can someone tell me why my site is like this? http://www.rwautomotives.co.uk/

The unordered list items backgrounds don't reach the bottom of the page evenly

only if you change your nic to iLuvUbuntu
jk. how come I have to scroll it left/right?

valid ?

i dont know

or how would you have a button for each row in a table?

try this http://www.oswd.org/design/preview/id/3692

…. probabl yhis is for #web … or #html

you think?
im only using divs
where u get the html from?

Kronuz it s not valid

color: #333;

Xsss4hell, hmm. But I want the background colors behind the list items to alternate.

that's what I thought… but then what's the way of doing it?
Xsss4hell, if I want to have a submit button on each row (as in "save row changes")

what is this in RGB?

if you want me too i will change it

na, just teasing.

download CSSTint it colors and converts your color values

so what do you thinks up with the site? its really annoying me.

Kronuz you want an editable table? or just settings for something?

setting for something.. it's like I want to edit certain fields not all

then don't use tables. use tables if you have a Table of data otherwise use divs

Xsss4hell, for instance, I have a table that's showing the properties of a banner list and I want to be able to edit the number of views a banner is allowed and the save in a per row basis

500 page css book? lol

could anyone please tell me why my shoppingmenu bar isnt centered and why the whole horizontal row there doesnt have the green background color? http://www.uniquelynorth.com/Uniquely_North_Web_Template.html

you can learn css in approximately 2 hours

Xsss4hell, it actually is a table

hmm, is there any decent way of centering contents vertically in a container? (in this case, an achor in an li)??

I think you are mistaking me for a css expert

]vertical-align

http://www.dyve.net/jquery/?editable

]valign
hm.

in-place editing

isn't valign deprecated?
and does it work on a?

Xsss4hell, oh, yeah, using jquery

Oreilly CSS The definitive Guide. with fish on the cover.

http://www.appelsiini.net/projects/jeditable

oh
you can use line-height on the a
set the line-height to the same height as the containing li

mphill22 you talk about learning the basics

There any way to reliably set a .SWF as a background?

k testing

(by reliably, I mean even in insane browsers)

you guys likey? http://grigoriada.ath.cx/pagini/rounder1.html
should I add a footer?

JDigital, another lovely trick to put in my treasure chest 3
thx !

yes if you don't like to pay for a missing impressum and contact link!
/

you talking to me?
what's an impressum? guestbook?

yep

Anyone ever heard of putting a SWF in the background?

http://en.wikipedia.org/wiki/Masthead_(publishing)

mashead

yes masthead
a list of authors eh?
well there's no content yet
I'll add those eventually, right now it's just a template
but do you like it?

what do i need to do to vertical align img's along the bottom line of a div? vertical-align: bottom on the div seems not enough

not bad, hackmiker
vertical-align:baseline

link?

em.. its on a local port 3000 thing.
cant easily make it available
does it matter that the div itself has relative height?

http://paste.css-standards.org

block

use something known for images?

Xsss4hell, could you solve my situation?

hello
is someone excellent with divs in here?

im baselin'ing everything i can - still i see those images scratching the top of the div

are you talking about :hover ?

no

just alternate colors
?

The list items should EVENLY distribute to the bottom of the page

I don't understand

this room is rubbish for support

Xsss4hell, let me send you a link…

http://80.203.146.58:3000/table/parts

just ask your question, don't ask to ask

the nav. arrows on the top left and top right, im trying to get them to align nicely in the middle

hi

why is does my site look like this rwautomotives.co.uk

is there a way to force IE6 to redraw an element with javascript? some sort of reflow

how do you want it to look like?

inline correctly

http://80.203.146.58:3000/table/parts

torbjorn loads for me

are you sure? it should

1

http://www.csszengarden.com/?cssfile=050/050.css

first row 1, then row 2, then navigation and row 3 next to each other, then underneath row 4 then row 5

i cant seem to figure out how to get those images down a notch

one thing you might consider is your validation is horrid

Hey, how come my divs are not butting up against eachother? http://worldofpwn.nfshost.com/ there shouldn't be spaces, I even set the margin to 0 to make sure

Basically, I add position absolute to an element. Then I do some calculations based on that. Then I add position relative to the container of that element. The problem is that the element is not relative absolute positioned. It needs some sort of redraw.

right.. well.. no excude, but its most an automatic template thing

topic says use html strict and validate… this code html transitional and with 45 errors

*excuse
i see

why is fixed width so popular ?

where should i validate it?

type @http://www.whatever.com

@http://ridgemoor.personnelware.com

(ridgemoor.per…) HTML: Failed (2 errors, see http://tinyurl.com/yvz7fe ) | CSS: Failed (4 errors, see http://tinyurl.com/37wpmt ) [9 warnings] | DOCTYPE: XHTML 1.0 Strict + url | (MIME: text/html; charset=utf-8, text/html; charset=utf-8)

@http://worldofpwn.nfshost.com/

(worldofpwn.nf…) HTML: Failed (4 errors, see http://tinyurl.com/2l38tn ) | CSS: Valid [2 warnings] ( http://tinyurl.com/ywswpw ) | DOCTYPE: HTML 4.01 Strict + url | (MIME: text/html, text/html; charset=UTF-8)

too cool!

can i msg the bot?
wouldn't want to spam the channel

it maybe you talk about the clearfix method, floated columns that stretch to bottom?

@http://worldofpwn.nfshost.com/

(worldofpwn.nf…) HTML: Failed (3 errors, see http://tinyurl.com/2l38tn ) | CSS: Valid [2 warnings] ( http://tinyurl.com/ywswpw ) | DOCTYPE: HTML 4.01 Strict + url | (MIME: text/html, text/html; charset=UTF-8)

I don't know that method Xsss4hell.

@http://80.203.146.58:3000/table/parts

(80.203.146.58…) HTML: Failed (47 errors, see http://tinyurl.com/3yfjfy ) | CSS: Failed (3 errors, see http://tinyurl.com/22l5pv ) [5 warnings] | DOCTYPE: HTML 4.01 Trans | (MIME: text/html; charset=utf-8)

gah…
@http://worldofpwn.nfshost.com/

nappysis:http://www.positioniseverything.net/easyclearing.html

If you don't already have it, you should install the Firefox Web Developer toolbar. It has links to validators.

@http://worldofpwn.nfshost.com/

(worldofpwn.nf…) HTML: Valid ( http://tinyurl.com/2l38tn ) | CSS: Valid [2 warnings] ( http://tinyurl.com/ywswpw ) | DOCTYPE: HTML 4.01 Strict + url | (MIME: text/html, text/html; charset=UTF-8)

Okay, now it's valid, will you help me understand why the divs have some padding between them? I want them to stick together of course :/

you need to clear your float!

thanks

I want to change the css of all a tags inside a div id. I try with #id a {} but it doesn't work

torbjorn:Failed validation, 47 Errors
wow
but nearly every website has errors.
use the jquery thingy to edit inplace
there are more forms of anchors. like a,a:link,a:hover,a:visited,a:focus,a:active

Xsss4hell, I could do like #id a,a:link,a:hover,a:visited,a:focus,a:active {} ?
to affect all of them

oh no no
http://paste.css-standards.org/23336

yeah thanks

just ad your #id before it
ok, gn8!

am i not allowed to "wrap" a form around some rows of a table?

usually, no
you add it after a table

can i have it within one single cell?

I need to override some styles, but I'm not sure how to accomplish what I need. I have been given a template with a lot of global settings which are very generic, like img, table, form, and body settings.

torbjorn read this;http://htmlhelp.com/faq/html/forms.html
cu

I need the equivalent of img {clear the CSS that was in the previous stylesheet] which I can load in, without having to specify soemthing for each possible attribute.
Is that possible?

thank you Xss

i see

take any css ?

sure

i was reading http://htmlhelp.com/faq/html/links.html#button-link
it says i have to put each form in individual cells if i want the buttons next to each other

?

can someone help me troubleshoot why my div won't extend dynamically? i have the code copied right…and i dont know what is going on that it won't go

Why are my DIVs spaced out from eachother? I want them to butt right up against eachother… http://worldofpwn.nfshost.com/

anyone from Montreal interested in a position like http://faq.css-standards.org/Integrator ?

luminerd, site looks fine here
oh, you mean in IE?

Coppershade-org^: there's spaces between the images… under the banner, under the links, and under the bar…except I see it looks fine in IE…the spaces are clear in Safari and Firefox

google for IE box model

No, actually, for once, it actually looks proper in IE

not in mine
IE6

ok well I'll fix the shitty browser issues later right now I'm worried about the sane ones

looks perfect in FF too

No, it definitely doesn

well on Windoze it does
but you're on mac?

Not in FF2

this is so annoying http://www.rwautomotives.co.uk/

yes… I'm on a Mac…I have never seen Firefox render differently because of the OS…

its monday and i need a beer

lol

mabe 2

Hmm, it's a different problem in IE6
The grey bars because it doesn't support transparent PNGs…that's not at all the issue I'm talking about

ah I see
then your page looks perfect in IE6, Opera and FF on Windows
and in Netscape
which is basically = FF

Umm
No it doesn't
I just checked on a Windows box to be sure…the spaces are definitely there.

whoa, that's minimal markup
have you done * {margin:0;padding: 0;} ?
and possibly also body {margin:0;padding: 0;}

will try, thanks
what is the body one for?

Coppershade-org^: if you apply it to * it applies to all elements including body

might be a bad habit, picked it up from a template tutorial

That didn't fix it

just do the body one then and pray all browsers' inherit-behavior is the same
bjust do the body one then and pray all browsers' inherit-behavior is the same/b
add border:0; before the } too, then?

Here's a close up of the probelm I'm talking about. The yellow texture should not break at all…there are lines in between all my elements http://worldofpwn.nfshost.com/spaces.png
Nope, still didn't do it

well, check that the div heights are the same as the pic heights
is the page generated from something?

the divs dont have heights
No the page is just the page. All source is viewable
Div without height shouldn't go any bigger thn what's inside it..
Don't udnerstand what's causing this…I have stacked divs tons of times before they are absolutely NOT supposed to create random spaces where there is nothing at all that would call for them…I mean it's very very simple markup it's not like it's a complex problem here -_-

I HATE DIVS

agreed lol

Going to slit my rists
wrists
and my jugular

I need help with the fullheight technique, can someone please help me. I tried following http://www.456bereastreet.com/archive/200609/css_frames_v2_fullheight/ but still didnt help because these are div frames, the problem im having is that the 100% exceeds the 100% because of the fact i have the header, how could i fix this issue?

the simple task of sitting 2 divs nicley next to each other is impossible
id give £50 to anyone who can do it

luminerd, source is perfect
i'd look at picture sizes

what about them

so they're not 1-2px bigger than the source says they are

gah. what would cause img's with "vertical-align: bottom" not to move an inch downwards

nope, they're not, I've checked all that
Also, that would cause the problem in IE as well. and strangely enough it looks right in IE
7 anyway

pictures are fine

can someone help me with the full height technique, www.mydevsite.net/Shant/. I have it at 100% but it exceeds the 100% due to the header, can anyone help me solve this problem please.

put the header inside the 100%-high thing

the only thing I can think of is adding img {border:0;margin:0;padding:0;}

nope didnt work

Nope, still got the god damn spaces

it should work perfectly!

http://paste.css-standards.org/23337, I'm not sure how to nest my grouping "general_row"

any other suggestions?

hmm yeah
close the img tags

………..CCCUUUURRRRRRRRSSSSSSSSSSEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS!!!!!!!!!!!!!!!!

img tags don't need closed

hmm wait, it's html :P
JDigital, take over

Coppershade-org^: do you see the spaces now though?

link?

yep

@http://worldofpwn.nfshost.com/

but I don't see the body {margin:0;padding:0;} though

(worldofpwn.nf…) HTML: Valid ( http://tinyurl.com/2l38tn ) | CSS: Valid [2 warnings] ( http://tinyurl.com/ywswpw ) | DOCTYPE: HTML 4.01 Strict + url | (MIME: text/html, text/html; charset=UTF-8)

think you can help me out when you get a chance? http://www.mydevsite.net/Shant/ with the fullheight technique tried what you suggested.

Coppershade-org^: I took it off when it didn't work

ok, not a bad thing to have tho

Alright, I put it back

wee, css validator is online again
I got 3 warnings tho
nothing to do with the problem
so jdigi, do your best!!

Look, look. To have fullheight, you need to have height: 100% on the element you want fullheighted, and every parent of that element. However, if you have anything in like #header there, well duh, it's going to push the height value up to "100% plus #header's height"

Ugh…I'm gonna take a break from this…CSS seems to hate me right now. Thanks for the advices Coppershade-org^

exactly, so how could i get rid of that excess 114 px

You need to put #header inside something which is already 100% high

already 100% high

I mean the innermost 100% thing
otherwise it will be 100% plus #header
100% plus anything will be over 100%, always

so put #header inside the inner most 100%? well thats kind of a problem i think the way i have this coded

refactor it so that it works

my fourth attempt at recoding this

hi people
slightly prob
id selector a
i need to change the left + right padding
but when i do remove it buggers up my links

a#someid ?

ill try now ta
wat ive done is adding padding to the a id="name" name
and removed it from a
do i have to add margin:0; padding:0; to my h1 h2 etc?

it'd probably be advisable to set margin and padding to 0 for all elements intially
]zip

* { margin: 0; padding: 0; }. You'll save yourself the confusion over quite a few strange element and browser spacing differences later on. * == http://www.w3.org/TR/CSS21/selector.html#universal-selector

been doing that alot of stuff
thanks

When margins are set to 0px, why do they not extend to the page's edge rather than a few pixels in?
Is it a browser issue? Is there a fix?

how do you set the properties of a file input so that it appears flat with only a 1 px border?

s/page's edge/screen's edge/

wanderingii, you don't. file inputs are almost universally unstylable

can you make a div transparent so you can see background img of the div behind it?

yes

hm

PLEASE! Help me! Whyyyy do I have these friggin spaces under my images? http://worldofpwn.nfshost.com/

background-color: tranpsarent; ?

perlbot tias

the best way to learn if something works.

what spaces?
not there in FF

in FF and Safari there are spaces under all the images there

whitespaces?

Yeah they are, not white, but you can see through to the background

oh…I see

]zip @ luminerd

Start every stylesheet with this: * { margin: 0; padding: 0; }. You'll save yourself the confusion over quite a few strange element and browser spacing differences later on. * == http://www.w3.org/TR/CSS21/selector.html#universal-selector

http://worldofpwn.nfshost.com/spaces.png

whitespace?

etc?

]bot @ swimrr

bot: Hey! I'm a bot, dumbass!

lol

swimrr, yes

now that I didn't know
;p

have you tried settin img properties? dont know if that will work but its a suggestion

already have that applied to body { but I added it anyway and it didn't fix anything
balready have that applied to body { but I added it anyway and it didn't fix anything/b
yeah I tried the image props

you tried setin a class for the divs with the images and setting margin properties for these divs?

no but I tried setting margin properties within the style="" attribute

luminerd, it's probably due to the whitespace inbetween the divs

why is it soo much harder to code a layout with divs then with tables…

whitespace??? like..my tabulation?!

yes

http://www.atlelite.com/clients/greekdrifter/support3.php — someone suggested that the data on this page might as well be a table, any objections?

That is extremely fucked up…

Bear10, because you haven't changed your habits yet

because you probably don't yet fully understand all the concepts with css. it took me a while to get accustomed
and it still probably takes me a little longer to do the css, but it takes me 75% less time to do the css than it used to

thoraxe, i think it's just fine as a dictionary list

ie7 is rendering it all wackyjacky

ope, that didn't fix it

not sure why.. any clues?

then table it is

well, that full height technique bug isnt making it easier

luminerd, then adjust the line-height on those elements

which one, the ie6 bug?

This is ridiculous! All I want is one image hosting on top of another, with NO space in between, period, at all, I never told it I want space there, why the fuck is it putting the god damn space!!!

luminerd, settle the fuck down

cursing isn't going to make the space go away
it is putting a space probably because the default somewhere buried in the browser wants it to have a space, so you either have to override it with extra css or reset it from the beginning

you're right..I'm sorry..I just hate wasting my time with issues like this…I've spend 3 hours so far

luminerd, and you didn't remove all the whitespace in between those divs. there are still newlines
luminerd, but again, try adjusting the line-height on those elements instead

why when i use padding it ads to the width and height?

generally speaking, putting images on TOP of one another means layers and absolute positioning or something along those lines

]css box @ ilovefedora

css box: http://w3.org/TR/CSS21/box.html , http://xrl.us/u6ov

no, www.mydevsite.net/Shant/ the 100% + header one

http://www.yourhtmlsource.com/stylesheets/cssspacing.html

adjusting it to what? I don't really see what line-height has to do with this, there's no text involved…

ive been working on that bug for several days now and i cant find a way to get it to do 100% right because of the stupid header ;\

luminerd why have you margin in 5 times for body?

holdon i gotta find a fix for my dls first

luminerd, do it anyway and thank me later

i don't think the fact that ie7 renders it wrong is a call to use tables

sure but adjust it to what? 0?

thoraxe, i'm a pragmatist, the markup idealists can go fuck themselves
luminerd, sounds like a good idea, why don't you try it? or adjust it to 20em, whichever you want

because even with 5 times it still doesn't seem to get the picture…

so you're a pragmatist and not a semantist? heh

besides, theoretically you can make it semantic and still have it display like that using tables and rowgroup tags

i want to keep text 5px away from margin using padding but it adds 5px to width

maybe
ilovefedora, READ THE LINKS YOUVE BEEN GIVEN KTHX

i read

what is wrong with keeping that as a dt/dd

cant figure out

ie7 is rendering it crazy and i don't know why

That's how it is. deal with it

i won't even get into ie6 yet

start up ie with web developer plugin

oh thanks for ur help

ie7 renders entry fees up close to car and transportation is not inline
i am using developer plugin

and opera renders them all in one column

ew
then i'm totally clueless i guess

my Q. am using justified text, but large gaps between some words are appearing,

Line height did fix it….I don't understand why I have to define 0 all of the sudden though it has always been default in the past…but thanks a ton it finally works!

suggestions?

dt { width: auto; } dd { margin-left: 200px;}

MaWanna, that's what justified text means. fit all you can on one line, and then distribute them over the entire line. there are no auto-hyphenating algorithms in browsers

Now, what do you guys think the best hosting method is for putting text over the content area? normally would do it as a css background-image but it's centered and non-repeating and I'm not quite sure how to go about that

skip margin-left
just use "text-align: right" on the dd

]css background-position]css background-repeat

then the numbers and miles line up better, which is far more critical than the labels lining up close

]css background-position]css background-repeat % luminerd

paot ok lemme mess with that hold pls

umm..wat

so instead of using justified text i shud jus use left align?

what*

luminerd, read.

justified text sucks

wat wud u use :p;

MaWanna, justified text improves illegibility

that helpedsomehwat. the transportation dl is still rendering block instead of inline despite ie developer saying it's inline

it is a good way to get rid of dyslexic users

am using it cos its nicer , but causing the gap problem wat 2 do then about it ?

MaWanna, again, justified text is HARDER to read, and there is no way to fix the "gap problem"

use left-aligned text and realize that it is easier to read by 5 billion percent

left it is
whilst am here cos am off in a min

if you notice newspapers and such using justified text, you might also notice they have such no-
vel things as hyphens at the end of the line, unlike web browsers

am having to display 7 4line paragraphs a 10line paragraph, with pictures, ran into a problem of displaying, without just alternating the foto + text down the page,

hmmm a CPU useage of 99% is not good eh'?

you still have 1% to play around with

It would seem that while setting line-height to 0 fixes my image issues, it creates a whole series of issues as far as putting text in goes…

oh man line-height: 0?

lol =P
Im only running 4 programs

my q was regarding another way to display info
IMAGE text

I did read. It was an easy read. Unfortunately it made absolutely no sense…

text IMAGE
is how it is displayd down the page
boring but easy to read
wats your views on this people?

]enter @ MaWanna

Please try to keep your questions/responses on one line - don't use the "Enter" key as punctuation!

luminerd, you can have it be a background image and not a normal image. in fact, the entire way you're designing this site is wrong bordering on insane
luminerd, to have it be a background image, you use background-posiiton to center it, and background-repeat to make it not repeat

dude, first of all, there is no WRONG. if it works it works, if it looks good in all browsers it is fine. Secondly, I'm new to CSS, there's no reason to call me insane just because I'm not a master of CSS

to response
ops

absolute to layer text on top of it when you could make it a background is wrong. your nav bar should be a list of individual images (and not the image map you're planning on making)

You're wrong, preaction, I was not planning on making an image hosting map.

good idea, attack my conjecture of your thought process since you can't attack the veracity of my suggestion

what are you trying to do luminerd

right now I'm trying to get the look right. I am not going to cut the layout into more pieces than I need to for now. When I make it functional, I have no plans for an image map, and I do not want to use position:absolute so I don't know where you got the idea I was. I was in here to ask what I should do, not to have you tell me that what I was planning on is all wrong. So fuck off or help me, I'm sick of you bitching about how shitty

calm down, it's just computer codes

I'll be back when I've calmed down.

wat copyright text does anyone use to coyright a website they have created but are handing over the website to someone else as its made for them ?

MaWanna, who holds the copyright?

you can set that up any way you want

class="contentbox""

its jus a site am working on for dads friends friend
so am making the site, but its for them

sigh…

i think it's a haslayout problem
but i can't figure out why

with yours?

http://www.atlelite.com/clients/greekdrifter/support3.php

MaWanna, any content published anywhere has an implicit copyright, you don't need to specify one.

designed + created by myself, jus wondering wat sort of copyright line people use which doesnt void it

copyright is an automatic thing

the container (#supportlists) has a width and overflow auto, and then i also defined widths for the divs inside the container

recently realised its best to pay for istock images or take yourself

people only say © MyCoolCompany for show

and not jus lift them from the net

being the copyright holder

still cant sort these two probs out
vertical align text

never works

and padding without adding extra to width

hehe IE issues?
padding always adds to the width

ilovefedora, your second problem is NOT a problem. you cannot fix it.
]vertical-align @ ilovefedora
]css vertical-align @ ilovefedora

http://w3.org/TR/CSS21/visudet.html#propdef-vertical-align

ilovefedora, most likely your vertical alignment problem is that the line-height isn't set correctly, or you're using vertical-align on the wrong element

i know people do lift images from google,yahoo etc…. making a website for someone, should this really be done as they may have someone contact them about copyright if they can prove its there's
or shud i not worry as this is the internet ? :s
many fan websites, will use logos etc.. without questioning this..

oh i think i maybe figured it out

the reason i am using vertical align is because i want to centre text

MaWanna, use sxc.hu plenty of free stock there, usually logo's arent an issue unless your talking shit about the company

and as for the padding issue i dont know how to keep text 5px away from margin

ilovefedora, you do it with padding

5px; works but not with divs

http://worldofpwn.nfshost.com/ Okay…my problem currently: the line-heigh: 0; fixes the layout so that the images butt properly against eachother. However, now when I type it is positioned weirdly and ..well..the problem is obvious. Also, how do I keep the text constrained to the image (700px in the center)? Thanks

thanks for your help people
bed get to sleep to get up earlier
cyas

or am I missing something?

XD

it adds 5px to margin is what i am saying

Yeap, ^^ i know.

lol

I seem to have solved my problem w00t

the thing is that i see in firefox… background no repeat…. over and over……

how do i get a div to appear in the top right hand corner of the screen regardless of any other content on the page?

that was just filler text it has changed now
But now I need to add some padding to the text but leave the background where it is…padding:5px seems to dislodge the image weirdly…any suggestions?

luminerd, look neat ^^
….looks *

the funky text? lol

:P
i would really like to see the code…. i mean the css and the html
i migth help you

padding is stupid in divs

ok nope, that wasn't it
still having problems with haslayout

luminerd, as you have the style in there i will take a look

my code?
it's all in the one document for now
is the way I'm going about this better now?

@http://ridgemoor.personnelware.com/admin/

(ridgemoor.per…) HTML: Valid ( http://tinyurl.com/yo8wf6 ) | CSS: Failed (1 errors, see http://tinyurl.com/36xjvr ) [143 warnings] | DOCTYPE: XHTML 1.0 Strict + url | (MIME: text/html; charset=utf-8)

actually no, haslayout is fine
wtf

luminerd, what about another div inside only for the text?
luminerd, you can use margin in there…

I was thinking about doing that but I thought people would say I had too many divs

luminerd, actually you can do whaterver you want.
luminerd, welll i'm not an expert but you can also use
luminerd, and add the style…

good point
thanks

luminerd, ^^
luminerd, yw

@http://worldofpwn.nfshost.com/

(worldofpwn.nf…) HTML: Valid ( http://tinyurl.com/2l38tn ) | CSS: Valid [2 warnings] ( http://tinyurl.com/ywswpw ) | DOCTYPE: HTML 4.01 Strict + url | (MIME: text/html, text/html; charset=UTF-8)

Alright, what do you guys think? Suggestions/changes to the look (or the coding)? http://worldofpwn.nfshost.com/

hmm css must not be imported
div class="contentbox"img src="images/head.png" alt="Header for World of Pwn" width="706" height="279"/div
bad
div class="contentbox"img src="images/buttons.jpg" alt="Links" width="706" height="29"/div
bad
div class="contentbox"img src="images/bar.jpg" alt="Border" width="706" height="22"/div
bad

What's wrong with it exactly?

for your header
you should use h1/h1
h1Header for World of Pwn/h1

Umm, I don't have a header :/

thats your header
http://worldofpwn.nfshost.com/images/head.png

The header's an image, I don't want text

this si the header
for the menu you shuld use a list

I don't understand what you're saying

ullia/a/lilia/a/lilia/a/li/ul

why would I use H1…there's no text involved

http://www.alistapart.com/
press ctrl+u and learn

Umm
Nothing you've said makes any sense at all..

?

are you telling me tht menu arent a list?
are you telling me that your bars arent hr /

hi

yes it makes sense..

I'm trying to tell you my header is an img, and asking you why/how it would possibly be an H1. I just asked for clarification on what you told me. I'm not challenging anything you said

is it possible to make divs widths as big as the text in it?

Control-U doesn't make sense for a number of reasons. First, you failed to specify what program I was to press it in, second, I'm on a Mac so the shortcut most likely something very different anyway, and I don't have a clue what you were talking about there…

h1 { width: 500px; height: 200px; text-indent: -5000px; overflow: hidden; background: url(head.jpg); }

i'm just making code sugegstion here

because I have this div, and it's 100% width, I want it to be only as big as the text insid it, and if I set a width value for it, it doesn't expand, any suggestions?

Okay, but can you please explain to my WHY I would want to put the text there and hide it when I do not want text at all?

because in html, headers are h1h2…
and you want to create a header
that's why

anyone?

Gargantua show code or example and i'll try to help.

Gargantua, i think by using width:auto

search engines can't read images

samething for your menu

vice-versa, good point ^^

menu should not be images, it should be a list

lain_ven, http://gargantua.servehttp.com/tbbs/index.php?id=cp

luminerd, they are trying to help you to do it right

vice-versa: They can read the alt tags of them

header should be h1

lain_ven, see the "askldj asdjas"?

http://www.w3.org/QA/Tips/Use_h1_for_Title

I understand that is your belief. Rather than reiterate what you have said several times already, how about telling me WHY you think that? It doesn't make any sense to me.

well, thats the basic of html, when you create a webpage and you disable CSS you should be able to read the page

To what purpose?

because thats how html as been made
css is there only for designing
luminerd

Okay, but the end user isn't going to disable CSS.

tell me why you arent using tables to layout your website?

Hi all
what're we arguing

There needs to be a -WHY- to everything, otherwise you are just being picky over specifics that mean nothing

and a menu a list

I agree with you

Gargantua, i cant see the "askld…. text

It's really not as simple as that…

im also saying that a "bar" is hr /

It is, in XHTML.
In practice it looks ugly and I sometimes just use divs.

I'm using an IMAGE for my header, not text, and I don't want text there. Because it's in a funky font, and therefore done with an image

Gargantua, it refresh itself ^^

just hide the text then

Why do I need the text at all?

everyone.. gotta go! ^^ bye bye

text-indent: -500px; overflow: hidden;

lain_ven, it refreshed it self?

The benefit of text is that google recognises it

thats how html as been built… i cant explain you why..

anyone got a good website that shows you rendered versions in differnet browsers?

yes, but google also recognizes the ALT tag, that's why the ALT tag exists…

as do screen reading software for the blind
Yeah but it's thought Google gives higher precedence to the h1 tag.

to me, it makes the difference between a good programmer and a wannabe programmer..

You can do it as an img, sure
This way is better, although strictly speaking, it's not necessary.
If you know how to do it, you should.

because you are programming html and thats how it as been made..

It doesn't matter if Google gives priority to H1. the site is password-protected and not to be indexed by google

luminerd thats not the point…

In that case, h1 is semantically preferable but not entirely necessary

why do you ask for coding suggestion?
did*

you don't understand this at all…

why dont you use tables to layout your website?
ask this one
plz..

There is one other benefit that comes to mind.

I am not arguing with you or saying your way is wrong. I'm simply trying to get you to tell me WHY it is done that way…

layout by tables is so….. nice

When CSS is disabled, you get text instead of an image. The benefit of this is that your title image may show up poorly on print compared to on screen.

i already said this one

I don't use tables to layout my website because tables are obsolete and I want to keep with the most modern way of doing things

he said none has css off

and you can show the text when printing
Phone browsers can.

I don't use tables to layout my website because tables are obsolete and I want to keep with the most modern way of doing things

so far your only answer has been "because that's how it's done"
That's not a valid answer

for headers and list for menu.

ok in IE, my border extends all the way down the page (idea result) while in FF it doesnt. What could be causing this?

Lol

I suppose the practical answer is that not every visitor to your site is using a normal web browser.

As amusing as this is, it's a complete waste of time.

as i said, its makes the difference between the good coder and the bad ones.

Ah, I thought of another reason.

no, actually, it does not make you a bad coder to question why things are done a certain way

using img for a header is obsolete..

If you do it in CSS you can change the image in CSS alone.

i never said you were a bad coder because you asked questions
everyone ask questions
nice one

It's all about semantic markup. You call a bus a bus, not a "long many-people car".

ask yourself if the img is content or presentation

When your website is well done and you want to add a new design or modify it you should be almost only editing the .css file

If you want to style your title (margins, for example) and it's an image, you'll have to put a class or ID on it, so you're going to be saying, img id="header"

Okay, I understand putting the image in CSS instead of an img

But there's already a tag ready-made for page header; "h1"

That is not where my question lies, I agree with that and have it done long ago
The question here is why to include an H1 with hidden text

because h1 stands for HEADER1

The main reason not to bother, of course, is that it's a lot of work and most users with normal screen browsers won't care

and if you want to add a header to your website you will use the function named HEADER and not the IMAGE one

stands for horizontal rule..what's your point?

your bar is an horizontal rule

join #web

will resume this later…peace out

i hate this..
when people dont want to understand simple things

The "Oh SH*T we fuxx0red up HTML to a point its irrepairable, lets cover it up with a new language", language

….but then it's a WoW site, so who really gives a rats ass

http://tredosoft.com/Multiple_IE

css is so much better than the old way of making website (tables and img)

and yet funny how it overlays on top of html
its like building a new house on an old cracked foundation

true, but, without the old cracked foundation there is no house..

yes but truth be know, any reaonable builder would say screw the foundation and rebuild it from the ground up

true

No, it's like clearing up the whole mess and implementing a nice tidy solution - HTML+CSS. It'll only be messy if you design it that way.

xml..

if I am using css 'right' is there any point to tags in my html?

yeah

Yes.

stands for paragraph

To define paragraphs.
http://www.w3schools.com/css/css_intro.asp

parragraph1 (there is no br /)parragraph2 wtc
etc*

The "Oh SH*T we fuxx0red up HTML to a point its irrepairable, lets cover it up with a new language", language

Styles were added to HTML 4.0 to solve a problem

ah, so p is still good html, font is not?

correct

true
http://www.w3schools.com/css/css_font.asp

]w3schools

http://www.w3schools.com/flash/flash_inhtml.asp | Complete bullshit: http://www.w3schools.com/xhtml/xhtml_intro.asp

thats your font, in proper way

Yep, font is depreciated, which means it will eventually be removed from the specification.

deprecated.

where is there a list of good html ?

font is out of html 4

http://www.w3schools.com/

no
w3schools bad
bad w3schools.
]schools

www.htmlhelp.com/ , http://css-discuss.incutio.com/ , www.brainjar.com/ , www.htmldog.com/ , http://css.maxdesign.com.au/

Just ask yourself whether a given html tag describes its content well or not.

http://www.w3schools.com/tags/default.asp

stop recommending w3schools plz

well, I am kinda stuck on "what is/isn't a paragraph?"

What's wrong with w3schools?

user Carl is logged in.

your right, its wrong

]w3schools @ abbbb

http://www.w3schools.com/flash/flash_inhtml.asp | Complete bullshit: http://www.w3schools.com/xhtml/xhtml_intro.asp

Where's the bullshit?

A rectangular area of text is a paragraph

like in books..

yeah, that's kinda what I was thinking.

:o

They write an article on xhtml without even mentioning doctypes… its just not good, and the one mentioned above are just that much better, so please stick to those

whats the difference between a quote and a citation?

I see…

w3schools has completely moved to xhtml 1.0 in 1999 = w3schools has not updated their information since 1999

according to thesaurus, they are synonyms

can anyone tell me out the body's outside border doesnt extend all the way down in FF? http://nyture.untouchable.0lx.net/

http://www.htmldog.com/reference/htmltags/ is this a good list of what tags I should use?

ty

http://www.w3.org/TR/html4/index/elements.html

vice-versa: um, that has font…

yes, and what does the legend indicate for it?

citea href="x"gopher wiretap.spies.com/a/cite

yes, htmldog is a good site, you can safely follow that page. If you want to read more on semantics, here are a couple of good articles:

vice-versa: D - but I would rather not have clutter that I will first see, then see if I have to ignore it

]semantic @ CarlFK

Use semantic markup: http://del.icio.us/trovster/semantics , http://xrl.us/vpr8 , http://snipurl.com/1g20e

can anyone tell me out the body's outside border doesnt extend all the way down in FF? http://nyture.untouchable.0lx.net/

htmlhelp.com, webstandards.org

Sounds like someone wants to be spoon-fed… Why not just copy the table and remove the items you don't like?

nn guys

goodnight

vice-versa: but I am tagging that page - i can see it being useful

tomorrow is improving the angus pngfix day

user Carl is logged in. what should it be?

what
how is that wrong

that was the consensus about 10 min ago

why are you having user carl is logged in
If you are logged in, change "Log In" to "Log Out"

9 PM) JDigital: CarlFK: A rectangular area of text is a
oh, no. it was the use of

what

it was my use of P that was considered wrong

how far down a div chain would you expect a naked selector to work?

how can you have an incorect p
that's silly

but I am starting to think it is OK. it is just a really small P, which has its place - just don't overuse it

if you are doing a list and use ps, that is wrong
but in that case, that is the alternative
a list

]specificity
]css specificity

http://w3.org/TR/CSS21/cascade.html#specificity

containing "portfolio" and "aaa" to be side by side instead of one under another? Ive tried float: left/right but that screw with the outside container. http://nyture.untouchable.0lx.net/

…. am I on ignore or something?

probably or something
im hungry

@

(nyture.untouc…) HTML: Failed (3 errors, see http://tinyurl.com/2vvoo6 ) | CSS: Valid [8 warnings] ( http://tinyurl.com/yp5o4r ) | DOCTYPE: HTML 4.01 Trans | (MIME: text/html)

yes tried that. the errors are from my server, not me
and im still building

guys
just did in CSS the font "11.5px"
firefox/safari takes it nicely, but i think IE displays it as 11px
is this correct?

is there such a thing as half a pixel?
i didnt know a half a pixel existed

yes there is a half a pixel

how so?
a pixel is a "dot" on a screen

my LCD has a couple

its either on, or off

..

didnt know you could tell a pixel to only be "half on"

Nyture OK
anyone else?

url?
lemme see

pfft

no no, i want to see this "half a pixel"

open up firefox, look at a page, hit ctrl-shift-i, (or command-shift-i)

Im intrigued

look at an h3, p, div, anything in "computer style" over on the right
er
"computed style"
1.33333px and such

hmmm thats odd

why is that odd

I tried a pixel of 10.5 for my text and in FF its only 8pixels high
no, my experiment
normal text height

hi

had to increase the browsers text size twice before it goes to 11 pixels

that doesn't seem like a very good experiment then

I am trying to display a box of two lines of text inline, as if it were a picture
any ideas?

fractional pixels exist, how else would you get 50% width or 1em etc
what do you mean

hello [box] world
where box is [hello]
[world]

because theres a wonderful math thing called round()
wow
now this is interesting
paotzu, go here. http://www.ask.com/web?q=is+there+such+a+thing+as+half+a+pixel&search=search&qsrc=0&o=0&l=dir
and just read the first several topics

http://paste.css-standards.org/23347

that answer your theory of the imaginary "half pixel"?

um
that link shows a bunch of search results talking about anti-alias subpixel font rendering
I'll put up a proof of concept for you

sure
prove me wrong
im always up for a good debate

]round corners

can someone help me with widening a block so my add fits at the bottom of this page. http://www.ipodweapons.info

1) Take square corners. 2) Round them.

where the image is in your example, I am looking to put a box of word wrapped text

how do i do some css code to have the bottom of a div come up 30px, but not move in place?

ahh
http://paste.css-standards.org/23352/view

anyone? can anyone help?

use firefox, scale the font all the way up
or you don't even have to scale really

@http://www.ipodweapons.info

the rendering engines just render half pixels differently. It is the only way things like % and em can work
http://paste.css-standards.org/23355/view

@http://www.ipodweapons.info/
vice-versa you got any idea?

paotzu no such server?
now it works, hmm :P

Can anyone tell me what will make the backgrounds of the list items to the left expand with the content of the page??
http://paste.css-standards.org/23356

yay!

can someone help me with widening a block so my add fits at the bottom of this page. http://www.ipodweapons.info

padding: 0px… should have that declared at start of css: * { padding: 0; margin: 0; }

what does that have to do with the list items?

ul default is indented with padding
ul has a default padding-left of ~ 40 pixels

I want that!

oh…
I don't understand your question then

ok
See the list items to the left of that page?
paotzu?
Can anyone tell me what will make the backgrounds of the list items to the left expand with the content of the page??
http://paste.css-standards.org/23356
anyone around??

no

Nanobot, can you help a sister out?

I'm sorry, you'll have to refer to yourself as an onee-chan

onee-chan?

Japanese for sister

LOL

Or maybe imouto

how do i create a tableless table using css?
i only want two columns.. first column with list of the headers, and the second column as the content
but i dont want to have the trs and tds lying around, thus the css

If it's tabular data, then you should use a table

no it's not a tabular data of some sort
more of like details kind of thing
like personal details.. name: .. address: .. etc

side of the desktop octagon

Use a dl/dt/dd and floats
dt{float: left; width: 10em; clear: left}
Something like that
The dd shouldn't need anything special

Nanobot, have you checked out my page yet?

Except margin-left: 10em or whatever

use ul/ol for single things, dl for double, and table for 3 or more
or dl if two things can be associated with one
semantic html is not about not using tables, it is using more appropriate markup

nappyonee-chan: You want the blue/grey backgrounds to go behind the main content?

no
I want them to EXPAND with the HEIGHT of the content

Ack
Tough luck on that

why?

It could probably be done if you didn't have to worry about IE, but I don't think it's possible with IE

damn

Actually, I'm not even sure it would be possible without IE

:_(

Wow, I just realized that I have an imouto
A little sister

uh

She's 7

how can you just realize that

It finally clicked
I was like, "Wow, it'd be cool if I had a little sister." and then I was like, "Wait a minute, I *do* have one."
Real little sisters aren't nearly as cool as imaginary ones though
They don't idolize you and mindlessly obey you like imaginary ones do.

nano, this is a site that i think accomplished what I want. Look at the 3rd column to the right that begins with "Road to Enlightenment"
http://www.csszengarden.com/?cssfile=050/050.css

I can't tell her to go grocery shopping for me and stuff

Nanobot, sounds more like you want a personal assistant, instead of a sister

That uses faux columns. The left and right column elements don't *really* expand to the height. The container just has a background that makes it look like they do
You have to pay for personal assistants

Damn

Nanobot, so a… slave?

that's not really faux columns is it
I guess it is…

No, someone that *willingly* serves me

#preamble background color is light green, where the paragraphs background color is dark green

Nanobot, oh okay

and the right "column" is just a gif that says "the road to englightenment" positioned 100%
that has to be the ugliest css zen garden design ever though

Bye bye people

how do u decrease the spacing within the dd?

My universe is being reset

later man

between dds i mean

bye bye

Nanobot, later

I'll be back as soon as blue 3 is reset

paotzu, yeah, that site is pretty ugly

See #web log for explanation of what blue 3 is

I guess zen is subjective

css no sense of hue garden

anyone help wif dd?

zoolander, padding, margin?

i want the spacing between dds to be smaller
i used line-height but no success

zoolander, different browsers do it differently, try padding or margin, best bet is to just reset them and set them yourself.
`zip

Start every stylesheet with this: * { margin: 0; padding: 0; }. You'll save yourself the confusion over quite a few strange element and browser spacing differences later on.

bot snack

give bot a treat?

And I WANT to like it

uh

haha, javascript is a bigger pain
but even more useful

did zoffix leave CSS for good ? lol

Zoffix is probably on vacation, no?

hes in all chans except css

ohh

i saw him leave css a week ago cause he was pizzed
havent seen him back since LOL

that sucks

can someone help me with widening a block so my add fits at the bottom of this page. http://www.ipodweapons.info

someone help me widening my cock

haha, rub it against linoleum
that's what my friend showed me
when we were younger

i changed my selector to work off ID rather than CLASS and my hover now works

is there a way to vertically center text in a div?
a clean way that doesn't stick of hackery?

lol
Try line-height: same as the height of the div

hmm, but if it spills over into two lines I'm in a whole world of hurt

I would have to see it to see your circumstance

I'm making a printable voucher that customers get after filling in a contact form and I'm just trying to position their name nicely on the page
the voucher itself is about business card sized
if it was bigger I'd just have the name *approximately* in the middle ’cause no one would notice an extra line here

can you enlarge the size of the div?

nah, a graphic designer has already created the voucher.

I see
Can you reduce or enlarge your font?

the first hack I thought of was positioning a single cell table to hold the name
because I can valign a td

Can you reduce or enlarge your font?

umm… I suppose so
the name and date are the bits I'm putting in

Ok, so I had an ordered list (syntax-highlighted code), but I wanted the .s next to the numbers lined up, so I made another div to the left, and instead of letting it automatically number it, I put one number for each line. The problem is, if a line wraps, the numbers get off. What should I do?

when i make an image on my site a link, it gets an border around it automaticly, red border..
how do i prevent this

a img { border: 0 }

simply "img { border: 0 }" ?

"a img { border: 0 }
you might want a border on non-linking images

Anybody have a solution for me?

or not, but "a img" means any image inside of an anchor

thought it was a.img or a:

white-space: nowrap
a.img would imply a class="img"

that's exactly what I did, but then I have to make my lines short, which I don't want to do if there is an alternate solution.

thnx pao that fixed it indeed.

er… in ol's, the "." is aligned by default

yes, but it's aligned to the edge of the content. which means that it doesn't account for difference in number length.

uhh
so, your list-style-position: is inside or outside

I have no list at the moment, because I couldn't get it to do what i want.

inside is like
I. item 1
II. item 2

http://www.bandes-storch.net/processing/index.php?sketch=snake

outside is like
I. item 1
II. item 2
er…
a=okay

a=o? Are you typing on dvorak?

do white-space: pre
use ols, list-style-position: outside
list-style-position: outside lines up the "."s
inside lines up the beginning of the number

I understand. But list-style-position:outside; also puts the numbers outside the content area of the ol, but I want them inside.
I can live with it this way, it would just be nice if I could have it wrap the way it should.
That is to say, automatically.
And line up the numbers.

use margin
or something
white-space: pre
there must be something about this one sec
http://www.divahtml.com/articles-tutorials/ordered_lists/how-to_style_a_code_listing.php

I don't see how that accounts for numbers in the 100s or 1000s…
It's hardcoded as 2.3em.

alright, lemme do an example or something
http://paste.css-standards.org/23368/view

http://paste.css-standards.org/23370/view
a href="http://paste.css-standards.org/23370/view"http://paste.css-standards.org/23370/view/a
Maybe I'll just stick with making my lines short enough so they fit.
you didn't answer my question: do you use the dvorak key layout?

ergh…. textarea's in IE - how to remove the scrollbar unless necessary again?
is that even possible?
my memory is terrible today

'lo

Ok, ok, ok, ok, OK, OK!!
If anyone one is up!….

how do you make it so that when you make the browser window smaller, the div doesnt get moved to the bottom?

All I want to do is CENTER the unordered list in this page in the left column, so that no matter what the height of the page, the list items are centered vertically??
http://paste.css-standards.org/23373
a href="http://paste.css-standards.org/23373"http://paste.css-standards.org/23373/a
Ok, ok, ok, ok, OK, OK!!
If anyone one is up!….
All I want to do is CENTER the unordered list in this page in the left column, so that no matter what the height of the page, the list items are centered vertically??
http://paste.css-standards.org/23373
a href="http://paste.css-standards.org/23373"http://paste.css-standards.org/23373/a

is that for me nappy?

anyone!!

lol

mefisto, I am not flooding!!!
I am tired as….well, can you swear in this channel????
I have been at one page all night!
I have entire sites to do!!
and I need to get some sleep for tomorrow!!

]center
_your lucky, bot is down
http://innonesen.se/test/l-2/
use it and stfu

O_o
:/
Thanks to a certain extent
;P

blinking taskbar pisses me of in the mornings

mefisto, the CSS pages are linked

?

not embeded

kinda useless comments ..

what I mean is, I can't see the CSS

ace said to me last nite that my site www.tysonfaa.com/test problem was divitis, can anyone give me hand, making the #content float to the top right instead of having the big gap on the top please

Comments

is order to catch exceptions from constructors do i want to encase the constructing line and the entire following

string?

i mean, whatever is going to use the constructed thing

Well, I suppose so.
If the construction failed, I don't see how you can use the object at all.

will putting the main look in a try block hurt performance?
loop*

!rule 1

Make things work. Profile. Make things fast. In this order.

so i should put the main loop in a try block
and forget about performance
check on that later

You should profile the code, before and after, to check if the exception handling code has a significant or even measurable effect on performance.

how do i do that
valgrind

Use a profiler.
(Duh.)

EvanR, you should put a try block in main anyway. You don't want exceptions to leave main.
That leads to unspecified behaviour. Namely, whether destructors are called at all.

if the entire program crashes, everything is gone anyway right
and yes thats what im doing

EvanR, not necessarily
Crashing does not mean leaking an exception, btw

leaking an exception?

Letting main pass the exception without catching it

what happens

And it could be useful to not catch exceptions in main when developing. Easier to attach a debugger and examine the backtrace when the exception comes.
In release versions it's better to catch everything and let the program go down gracefully.
With an error message to the user.

ok but why cant i use the debugger in that situation

Because then you have to explicitly tell the debugger to break on an exception, and you can't break on "an exception that would fly all the way here". And if it's caught, you lose the site where it was thrown.
If it goes beyond main(), the debugger breaks and backtrace tells you where it was thrown.
The first one means that you would break on all (or many) exceptions, not just on the one that would make the program stop

i see
thats cool
ive never really used a debugger, you see

Hello. What's wrong here http://cpp.sourceforge.net/?show=39740 ? Is it a compiler bug? When I use first option I get proper object, but when I use template version I get garbage

You will love the idea that debuggers exist by the time your program reaches 3kloc

I use vc7

ironman, looking…

http://rafb.net/p/KfYYNA26.html = how is it possible for valgrind to output that loss stack ?
how can you lose memory during a constructor ?
let alone stand in operator new

ironman, is that the only getObject overload there is?

yes
I looked under debugger
I'm sure, I get garbage using template version
weird, right?

Weird.

so i have to throw away template function

For kicks, use a static_cast instead of that old-style-cast
And add some debug prints. Print the address that you get with the working code and the garbage code

oh, I always use old-style-cast.
in debugger: pointer p in template function has address 0×015281c8; in the second way it has 0×015281c8
the same address

when to use reinterpret_cast?

when you want to tell the compiler, hey, you might _think_ these bits are one type, but I know they are another

ironman, and the address of tex and t?

lol, in template it has the same address as p

And in the non-templated version?

0×012b1e98

So change the cast to a static_cast

so how should it be written with static_cast?
T* t = static_castT*(*p); ?
it works the same way

Yes, that way
No change?

nop

Wait, er, my head needs to be beaten
In the template version t has the same value as p?

yes

Show your code as it is now, with the debug prints

problem solved
i cleaned and rebuild
it works fine

woo!

visual studio didn't updated his database, when i modified that file
or something

is it possible to typedef a template ?

yes

but keep the template …

RenderOperationList;

no i wish to KEEP the tempalte
so basicly to provide a second name for the same class

oh, I don't know

class VerryLongClassName;

never tried

the other one is the preproccessor …
but that's dangerous

There are no templated typedefs but there's a trick

yes ?

Adrinael is a magician.

struct a { typedef VerryLongClassName b; };

is also aint

Comments

on optimizing queries if I have two tables joined and I do an ORDER then itll be slow do I remember this correctly

hence no gzip header.

but i wasn't passing an etag so i can't get a 304

well try again and see which code you get.

What was the issue with d.o?

not sure.

That's never a good sign.

somehow the permissions got messed up
I had been playing in the slave patch, but it didn't work, so I reverted and…

ping killes

pong

just read your question on the memcached list

it only works if you put "killes:" at the beginning.
ah!

ah

got an idea?

yeah, you can't use a client like telnet across multiple servers

well, I can

d1, but not the other way around.

as in, which server the bit of data gets saved in is usually transparent to the code using the client
so, if you have two servers in a pool
and you use telnet to save the data to one of the servers
you wont be able (with telnet) get the bit of data from the other server
you need a client the implements the key hashing for a bit of data

but that works when I go from d2 to d1
I only tried the telnet thing after I found that nothing would get storedon d2.

ah
so, you're treating the two memcached instances as separate?

the thing is simply a black hole
yes
I am using the Drupal memcached module.

right. i've only set that up on a single memcached instance

well, we have two webnodes so we want to use one for the page cache ond one for the rest.
but the one for the page cache doesn't work

be careful with that

why?

views flushes fairly often

we don't use views

right, ok
there are a couple other gotchas too

also, the fact that the page cache flushes so often is the reason we want to put it on another machine.

ok

d2 doesn't ?

right
d2 is basically dead

d2 ?

I am now telnetting d2-d2 and it still doesn't work
http://www.lullabot.com/articles/how_install_memcache_debian_etch
I am trying the example there

ok

everythign works, but I don't get back my data

etch is what we run with memcached

get test2
END

oh… telneting to port…

osuosl is somehow marries to gentoo

sheesh, at least they do the extra work then ;-)

same way there connected to us i believe

anyway, if you have an idea, please let me know.

whats the problem?

ok, will do

scroll up
night

but its only 10.30am ;-)

i'd install memcache but portage is broken and i can't get anyone to help in the gentoo channels

you should install memcache from source if possible
what issues are you having?

well, gentoo is "from source"
it works on one sever, but not the other.

woah off
*odd

is anyone out there working on repeating events?

hunmonk wrote the event repeat module, and afaik KarenS has plans for repeating event support for date module.

the event repeat module doesn't work real well. We have caused it to break really badly. Is anyone looking to rewrite?

Not sure, sorry… anything in the queue?

thanks. i have someone who is thinking of getting funding together to get a solid way to do that

Nice.
Definitely send e-mails to Karen and Chad.

thanks, will do

And/or to the dev list.

will do

There might also be a group on g.d.o that deals with events, but I'm not sure.

there is

Well there you go. That'd be another good resource to check.

There was actually a long thread there recently about the future of Date and the Date API which might prove enlightening
http://groups.drupal.org/node/4979

2 IRC mentions

Ah sweet. Thanks, heyrocker .. I was looking for that.

i dont think it covers repetition specifically but might give you some ideas

hey! ltns.
How was your talk at OSCON?

thanks for the info

np

hey webchick
it went well.. about 30 people turned up

That's a pretty good size

got good feedback, and good questions

nice.

yes, it was at same time as Larry Wall

lol oh geez.

and the kernel talks too
i was worried
O'reilly wants me to write a book now
sounds like work

Wow, awesome! On what?

same topic — memcache

hehe

O'Reilly is everywhere

Although I should probably make some progress on it soon.
Heya, HedgeMage !

what you writing on?

a memecache book would be useful

you're a kick ass documenter!

Yeah, definitely. That's still some mystical weird thing that I don't understand.

I don't have the discipline to write something that long (well, assuming it's prose rather than code)
I'm impressed with both of you

Are you saying I document asses?

oh dear

heya, webchick, cause any good trouble lately?

american doesn't really speak the same language i learned

always.

this guy sat down at dinner, i read his name tag and said "Oh, you're a John"
he didn't like that

Hm? I don't get that.

heeheehee. Um, oops.

Must be my Canadian influence.

John means something in the UA
USA

it's an american slang for a man who uses prostitutes

a John is .. yeah

Ohhhh.

good to know it's not in Canada
also american plumbing is wierd

It might be. I only talk to geeks, and we don't tend to talk about male prostitute users.

had to get irc help to turn on the shower

LOL are you serious??
Some of the hotels have weird-ass faucets.

it was a 4 step process
never seen that before
everything i did turned on the bath
until someone explain the needle thing

Ahhh.
Yes.
Well how does it work in Australia?
Er. New Zealand!

you encountered an unusual faucet then

you turn on the tap, water comes out…

How do you turn on the bath then?
Or you just don't have baths?

you didn't??? think i'm an aussie,did you?

you're lucky you even had a tub in the hotel. most dont anymore

no, we take sonic showers here

No, no! It was a typo. You know how close N is to Australia.
That's probably good they don't have tubs.
Water resources globally being what they are.

have you had the google recruiters yet?
they seem to be everywhere @ oscon

Only informally.
I'm friends with Leslie Hawthorn.

they really wine and dine if you expess any interest

SoC etc.

leslie is awesome..

Oooo, good to know.
"Thanks for the free supper. I'm off to work on Drupal services again now! Bye!"

i said "Everthing is bigger in america", Leslie "Not everything honey"

LOL
hey, are you going to Drupalcon?
and Br3nda too for that matter

where?
Spain?

Barcelona

sadly no

Yeah

ooooooo
i need to start pulling strings for tht

YES!
You do!
aw.

didn't find any drupalers @ oscon

do we have a tentative date/location for the spring Drupalcon yet?

i believe we are doing our first major launch right around then

No, we can never seem to get our shit together to go to OSCON.

I'm already gearing up since I had to blow my Barcelona money on the move

do a presentation, and you get a free ride

Cos everyone's usually broke from the North American meetup earlier in the year.
not afaik.
oh, what better place to be when you're trying to launch a site than surrounded by a bunch of raving Drupal fanatics?
aw

yeah, but it was worth it.

19th September! might be able to do that

yes, the better to hide from your business owners when your site is dragging under the database load

hang on.. it's august already
ooo.. it's still my birthday in america

happy birthday, Br3nda
how old?

OLD!

see, all you do is corner a few of the people working on the Drupal.org infrastructure issues and they'll be like, "Pfft. You think THAT'S bad database host load? Just do this, this, and this."
Aw!! Happy birthday!!
What? 23? :P

i was crossing datelines at the time, so didn't see my birthday.. what means i don't get older
20 something, i forget

thats probably true, our usage will be large but a joke comparatively

I'm 29 now. Sob.

no way you're 29…

My wife put a "3" and "0" candles on the cake cos she's a punk-ass like that.

awww

I am! I practically hobble around on a cane!

lol

Though that's more due to lack of any kind of exercise whatsoever.

you want a cane for your 30th?

LOL yes!

they're very trendy

A Druplicane!

When we met, I thought you looked to be in your early 20s

all the RubyOnRails people have canes i'm sure

Really? That's funny. Usually people say I look a lot older than I am. Maybe it's the lack of hair.

??? i remember a photo that didn't look 29

Was it from when I was 18?

on your website, writing something

Man, I totally need to upload that pic.
Oh. Quite. Notice that that website hasn't been updated since 2004.
And that picture is probably from 2000.

heh

ah! hence the lack of javascript blinks and curvy corners?

Well, no. That's more because I'm idealogically opposed to silly crap like that.

but, once you do that I'll no longer be able to say that I don't have the least-updated site out there :P

webchick++

LOL
What's funny is people contact me to ask if I'm available to work on stuff.
I'm like, Dude. Do you not do ANY kind of research about a person?

people with $$$ ?? or charities??

People with $$$.

i seem to get alot of people who no money who want things

Speaking of, if anyone is available for little one-off jobs, I'd love to have someone to direct work to.
Oh I get those too.

i'm amazed how much you get done.

lol me?
Here's the secret:

yes!

I get like 4 hours of sleep a night.

heh

you're on so many lists, writing excellent advice

Aw. Well I try.

I'll take what you can throw

and then you write code somehow

If I could get paid to do nothing but sit around and help people all day, that would just be my dream job.

I just went full time from part time so I actually am not swamped for once.

But in the meantime, working with Drupal is really fun.

isn't that helpdesk?

Hm. I should clarify. Helping people with things that I want to help them with.

webchick, you'd think so.. and then reality hits once you're doing it. It's interesting when you get a clueful person, and AAAADOOOM when they're not clueful.

LOL no kidding.

And it's always the non-clueful ones who run around iwth muppet arms ZOMG NOW NOW NOW FIX IT AAAA

LOL @ muppet arms
Actually, worse than non-clueful users are non-clueful users who THINK they're clueful.

Yes

Very, very dangerous.
And annoying too, if they have an attitude about it.

and think they know more than you. Those are my favorite. Also, I like using a cheesegrater to exfoliate.

I used to do tech support for Western Digital (walking people through installing a hard drive in their machine circa 1997.. FUN FUN FUN) and the worst were people who would call and be like, "Yes, I need to talk to a TECHNICIAN" assuming that because I'm a girl I was like the receptionist or
something. :P

yup

joy

I thought you were going to transfer me! Me: Uh, no, that's why I said 'Technical Support'. Him: Uhh… what's your title? Me: SENIOR. TECHNICAL. SUPPORT. What do you want?
people make me mad

One guy in particular was a total ass. Was saying the hard drive was crap, wouldn't spin up, wanted to talk to a magager, blah blah. I said, "Ok. Would you be able to humour me just for one moment and ensure that the little four-wire cable is connected to the drive?" After some swearing, he
tried it, came back and hung up. *lol*

I just checked in Nodequeue 2. It's almost fully doxy docced, even, though I ran out of steam on that during smartqueue.module but I'll take care of that tomorrow.

ugh.
wow, wicked!!

I don't get those often, thankfully.

I realized there may be a…serious flaw in it right now that may need to be addressed quickly.
And the module to handle noderefs doesn't exist yet, as I need to figure out how nodereference widgets get attached to a list of nodes.

do you work in tech support currently, or..?
uh oh. serious flaw. that sounds…. serious.

Yea, it loads all of the subqueues whenever you load a queue. I changed some design partway through and it's now theoretically possible to get several thousand subqueues if you use several large vocabularies together.

You could go completely bananas and allow it to use a View to feed in the list of nodes to auto-complete.

And we probably don't want to load them all.

I've worked in support for uh. uh. math is hard. almost 12 years

Nodereference has an option to do that, which is just effing awesome.

I don't need this for autocompletion, I need this so it can tell when it needs a new subqueue ]

Ah, hm.
Ah.
dang!

So check this out. Originally I'd planned to attach subqueues to just one vocabulary. One queue per tid. Then dww was telling me about something he was working on, and to do it *really* right it'd need to be one subqueue across two vocabularies.

what brought you to Drupal?

So I realized I could do that.

The floating alien head came into your room and said, "Come… JOIN USSSS…"
?
That happened to me.
It was a little creepy.

Esmerel is Lynette

Oh!!!
Hi!!

ok you should perhaps not have so much tequila when coding.

My head may be alien but it doesn't float

zomg floating head coder!

I'm trying to get Marci to come on here, but she is shy.
And doesn't really grok IRC.

Esmerel is learning HTML and CSS and then Drupal.

That's awesome!!
Marci had good results with the Head First book on XHTML/CSS.
If you're looking for a resource.

ok, cool

Then again, you frigging live with Earl, who could probably poop an XHTML book.

XHTML? Hardly

I am not going there. Just not.

haha

Ah.

ok, so going back to actual Drupal stuff… so a nodequeue can span multiple vocabularies? What's the use case for that?

Front page is back.

You want OO constructs and large swaths of PHP code, I can poop that. XHTML? I'll just stick everything in DIVs

Yeah that's kind of how I operate too.
Except not as smart on the php hosting side. :P

might be sharp

LOL

Do someone knows where the search on d.o is for now ?

Ok, so dww's usecase (it's easier to explain with a real world one) is that he's got an online magazine, and it actually has issues on a weekly basis. There's a vocabulary; each issue is a term, each article gets 1 issue term.

google

Unfortunately, we had to disable it due to performance issues.

google site:drupal.org

Bob_le_Pointu, it has been temp turned off

is know /inson d.o is for now ?

use google instead

Thanks.

there's a front-page post about it.

That's what I was doing.

It also has a categories vocabulary; and each of these categories needs a nodequeue for the featured articles for that category.

Discusses some of the other issues, including how you can help.

the new api.drupal.org is rather excellent

It IS!!
I'm so stoked!!
I just could look up stuff all day long!

That's a good thing, drupal web hosting is growing enough to f*** up Joomla.

What you get is a nodequeue that represents featured articles for Saving the World in Issue 223.
What you get is a nodequeue that represents featured articles for Saving the World in Issue 223.

i need to marge the module changes with mine — i added devel.module links

Wow. That's… interesting.

marging.. hmmmm

Makes sense.

i had to index wordpress… they don't really have docs
thanking you api hosting module!

So every combination of unique terms across those two vocabularies gets to be a subqueue. Subqueues are created on demand, so a queue doesn't appear until something actually GETS that combination of terms, which is nice.

Coool..
http://csszengarden.com/?cssfile=/202/202.css&page=0

i wanna redo walkah.net with that now

Crack-filled!

That would be really cool for a video site

that is pretty cool

DOing multiple vocabularies worked out to be a little tougher than I thought, too. I have this crazy recursive function that figures out all of the possible combinations based upon the terms set on a node.
bDOing multiple vocabularies worked out to be a little tougher than I thought, too. I have this crazy recursive function that figures out all of the possible combinations based upon the terms set on a node./b

so how does that relate back to genres and playlists? A sub-queue for each genre gets created each time we make a new queue?
yeah…

Essentially you'll have the "genre playlists" node queue; it will have 1 subqueue for each genre. The subqueues will be created when you visit the nodequeue tab (or if you have links enabled when you visit the node) for whatever genre that node happens to be eligible for.

Nice.

Mostly the individual subqueues will collapse away and you won't see them.

Is it in CVS? I can't picture the UI for this.

Except when they are relevant, or when you click on the "view subqueues" link from the queue.

It's BLOWING MY MIND

It is, it's in the nodequeue DRUPAL-5–2 branch.

Sweet.
is Views 2.x something that Sony has on your plate in the forseeable future?
Or is that going to be a free-time/hobby project?

I think I have to do that one on my own

dang.

They're funding Panels 2 and Nodequeue 2 so I can't complain much

True.

Though to be fair I also haven't asked. But right now I know that they need resources for existing projects.

Yeah.

when cron run is written to syslog, is that the time it started, or the time it finished the task?

I'll make a point to say, the next time that they ask for some crazy-assed new feature, "That would be easier to do when Views 2.x is out."
Hm.
Not sure.

Yea but since it's Drupal 6 only…

same with access logs

that's kind of a bummer.

But thank you for giving me an excuse to search APi.

Usually that's the time the task finished.

thanking you merlinofchaos

But it's probably going to vary based upon the message itself, and where the programmer put the message.
hmm

http://api.drupal.org/api/function/drupal_cron_run/5 — looks like cron is at the end.
off to get groceries. bbiab

i should just try it and know for sure
2 gargi /USR/SBIN/CRON[11020]
it's at the end

Oh, you're talking real cron, not drupal cron

yes
there's a strange error in postgres that isn't appearing back in php error log
narrowed down to not drupal

can anyone tell me why the node revision ids in the database are unique? ie why couldn't it just be 1,2,3 and so on for each node id?

where can I find documentation on node-content ?

body?

the google didn't help me too much and i looked through the api and only food the nodeapi
*found not food

lol
nodeapi is what you want
hook_nodeapi?

http://api.drupal.org/api/5/function/hook_nodeapi

look @ that link

where is content and body defined?
is my question i guess
cause i have that link open dmitrig01

node module defnes
it

yeah, I don't see that
I don't see where body and content are talked about in the documentation
i just want to spit back some table values
argh I could have written a fully functional website by now just by hand instead I'm fumbling through an api

pastebin?

Pastebin.com is back! Please don't paste code directly into IRC. Please use http://drupal.pastebin.co.uk/, http://www.pastebin.ca/ or http://pastebin.com

I'm using http://www.pastebin.ca/642576 for a theme. However when there is no right sidebar, the sidebar stills displays and prints "optional area" as seen at http://temp.ronsnexus.com/

That looks like that may be a block with a title and no content - this question is better served in #drupal-support or #drupal-themes

I've found the route of the issue, I use this install quite a bit for testing and theme development, I in fact did have a block in use on the right sidebar.

where can I find the components of the node object?

print_r($node)

in the src of that page… so your problem's coming in somwehere else.

in your theme do $print_r($node) and it will show you the array

Maybe the CSS background has that column hard-coded?

in my theme do that? .. i'm new to drupal, i don't know exactly how to do what you're saying, i know what a theme is, i don' tunderstand why that is connected in this case
theres no doc on the site?

the node object is dynamic and might contain any number of things in it.
That's why the best way to solve it is to print_r($node) in the theme, so you can see what it has on your site.

as a member (albeit a new one) of the documentation team, I beg to differ http://drupal.org/handbook

there and it'll spit out its contents.

Nope, no docs. We prefer to release software completely undocumented.

You are correct, however I'm not sure what I can do to make the theme flexible with either 2 or 3 columns.

Ok, that I can't help you with, because my CSS knowledge is about || that big.

yeah, our documentation team does nothing….

The easiest way to do that is in your page.tpl.php, not with CSS.

I know there are docs around, i go to the handbook, but from the nodeapi doc I couldn't find the node docs
and i searched on google, that's why i'm asking here

I'll take a look at the foliage theme which does this and see how it succeeds.

In general there are two things that happen.

or body class="center-right"

And then part 2 is to make sure not to print a div for the sidebars if there is no data in the sidebar.
Then you can use CSS to shift things around based upon the presence of the sidebars.

The second is easy, the first, I'm pretty sure I understand, but that would require 2 CSS definitions…

that's how Movable Type does it, too. Although theirs is… funkier. They use 'alpha-beta-gamma'

YOu don't require 2 CSS definitions so much as a few overrides here and there for the situations.

Foliage uses tables…..this is divs….

The majority of your stuff is usable in any context — formatting, images, typography, what not. it's the overall major sectional positioning that needs the definitions for multiple sidebar scenerios.

screencast?

hm?

Hi webchick!

Hey.

Any ideas how to make a screencast/video cast
1000 links of screencasts, no links on how to do it

btw…this will be contributed to drupal when it's complete…

Ah, we do have instructions for that in the handbook.. somewhere…
one sec, let me check.
http://drupal.org/node/62196

4 IRC mentions

it's called 'videocast' not 'screencast'

mac pc or linux

sweet
mac

iShowu

better than SnapZ Pro?

get IShowU $20 US

much

you're playing with fire, dude. FIRE.
not better. cheaper.

sold, send me your affiliate link

woohhoo! FIRE baby

AFAIK the new SnapZ works on Intel mac natively.

oh? do tell

amazon, ishowu is good stuff

you've used both. which is better?
All I know is Snapz works for videocasting + audio recording Skype at the same time, and iShowU didn't without a whole lot of monkeying around.

hm, well snapz toasted one of my screenies
so i didn't use it that much :p

lol oh, right.

webchick, it does record both
it was just the all way skype thing

Well, I guess I do need skype audio as well

Ok. So apparently the answer is, "Try them both and see which one doesn't break on your machine."

amazon, yeah i would try both
i don't often need to record both directions of skype
but josh figured out how to do it
i haven't looked at it in a long time
since i am normally just capturing me talking

Yeah there are instructions on the Dojo group. But I seem to recall it requiring bawking like a chicken under a full moon in October, so I just used Snapz.

webchick, dude November
that's what you did wrong

Are there best practices?

Crap. Was that my problem?
ARGH!

I will
I don't think I have one
but I'll check
no

there are recommendations for compression and stuff on the handbook page..

amazon, just the stuff listed on the handbook page
er, what she said

otherwise, I can tell you to record the video and audio separately.
Because the chances that you eff up the video OR the audio are a lot higher than you effing up the audio and video separtely.

Heh. That seems iffy.

i always do my vids separate

The first 20 hours I spent on the upgrading video was, "And now you click… CRAP." Start over. "And now, click on the… CRAP." Start over.

What do you do to mix them?

imovie

cool, OSX++

Yep.

yup, easy peasy

Oh, one very very important thing!
When you create your iMovie, choose MP4.
Not DVI or whatever the other stupid one is.

ok, great

Or your videos will get imported all pixelly.
And you have to do that when you first create the movie, because it's impossible to change later.
Also, add1sun … was there some goofy way you had to import iShowU?

well you need to record at the right res

we figured out how to pre-configure panels as part of new profile on CivicSpace

Panels or Panels 2?

reeeeeeally!

Yeah, we are going to try embedding videos in the panels as learning how to use your site
see if that works

We're looking for some code to bootstrap an install profile with panels created.

neat

Right now we're doing an SQL dump.
which mostly works, but is not ideal.

I'll see what I can get to you

Once I've got Nodequeue 2 stabilized my next task is to make named panels work just like named views; so you can have code-only defaults that only go to the database when you make changes.

that's a great idea!

webchick, yeah, i had to manually add the .mov file to the imoie project to keep my res with no compression

what res? 800×600?

you should have some backend crud functions
amazon: there are two options

I do.

cool

I don't write modules that aren't CRUD-ok.

We started with Panels2 but the 4.7 to Panels 2 was borked

webchick, for lullabot 640×480 for others 800

amazon: 1: DV NTSC

has anyone here recorded their videos first and then go back and do the narration once the video is done?

amazon: 2: DV PAL

There is no 4.7 version of Panels 2

Panels 1 upgrade to Panels 2 on 5.2

jall the time
j_wolf, all the time

Yes.
That's the only way I can do it.

works much better eh?

I can't fix the upgrade path without bug reports. I did a bunch of work on that in alpha6

Cos never fails, I'll record one section perfectly, and one of my cats will go MEOW!!!! right at the end.

Yeah, I think we were making too much of a jump

But without some in-the-wild panels setups, it's not easy to test.
Ahh. That might be.

I'll go back and take a look if we think it's legitimate to support that much of an upgrade

you should just leave the cats in

did you do that with you patches vid? webshick: did you do that with the upgrade vid?

j_wolf, you take your time to redo and get the audio just right

I live in an old house. You can hear them from across the building. ;P

if they are separate
j_wolf, yes

Which is why that upgrading video sounds so weird; most of it was recorded at like 3am various nights and I had to whisper into the mic so I didn't wake Marci up. *lol*

hehe it doesn't sound at all like webchick

but you sounded so profession

Behind The Scenes at Lullabot!

lol

lol thanks.
The only problem with recording video and audio separately, is make sure you allow yourself time to talk.
Cos there was one part where I'm like kashdjkahdjkhakds trying to squeeze everything in in time.

yeah talk aloud while you get the vid

Oh! But if that happens, another trick I use is the "screenshot"

aww yeah

what's that?

if you mess up just wait where you are

So if you find you need longer to talk about something, you just make a screenshot of the screen and leave it there while you blab on and on.

and then you can take a slice and extend it

Yep.

or pause

Ok, so we should totally be adding this to that handbook page rather than it being lost to IRC log files.
What do you think? "Videocasting Tips and Tricks" ?
What's an equivalent program for iMovie in Windows?
Windows Movie Maker or something?'

Thanks for setting up the e-Commerce category for us.

no problem!

i like "Videocasting for the geek gal and guy"

woohoo! i just ran parallels and ishowu and never went above 75% on my processor!

Wow, nice.

awww yeah, windows and ubuntu vids on the way

are you doing the "How to setup a dev environment in Windows?"
Sweet.

i'm just testing now

Cygwin?

but will do those vids when i get time

have you tried the new vmware for mac… vmware fusion?

i just watched add1's how to setup cvs on osx today

j_wolf, no, parallels works well for me
so i dun wanna futz

What is up with Eaton going to bed at a decent hour lately?

webchick, so cygwin

It's… disturbing.

well he's also up at like the ass-crack of dawn

Woah.
Weird.

the one thing that I do like about fusion is that it can use both processors .. if you're gotz them

Oh, that's kind of cool.

ah nice

useful for a core 2 duo and etc

did Parallels finally get you your id? :P

yeah, that is good stuff
webchick, yes! it was oon my todo list today
to not give up

i wonder if node_update_index() could be changed to use db_rewrite_sql, so that access modules can restrict search indexes?
bi wonder if node_update_index() could be changed to use db_rewrite_sql, so that access modules can restrict search indexes?/b
?

When my napkin starts talking to me, I feel a little crazy.
Hm. I believe it should already be doing something like that?

oh, we's organising.

I think it doesn't restrict *indexing* but does restrict *listing*
Cos the problem with restricting indexing is that you'd never be able to find nodes that were under node access control.
However, obviously, you wouldn't want "Secret Private Note about Bob" to show up when Bob searches the site.

ok, guess i missed the listing part then…
well bob's seeing it on my site, which is why i'm looking.

With core search?
and what Drupal version?

5.2, but this is my own access module. i'm still digging around
yeah core search

http://api.drupal.org/api/function/node_search/5
if you look under op list, it's doing db_rewrite_sql
though in kind of a weird way.
Hey, hswong3i Awesome job on those Oracle patches!!

hi

cool, that's the place i want to be.

err… i guess that is not such awesome job…
on the other hand, i need helper

Yeah, true. Have you tried asking around on groups.drupal.org? AFAIK there are a coupole groups there for like Enterprise-level users, who might have access to Oracle to test stuff.

ooo not yet. i think promotion is quite enough. btw, i will post some message there

Well even just, "Hey! Want to see Oracle support in Drupal? I need help with these patches: blah blah blah:"

o yup, get it
on the other hand, i am scheduling about DB2 or MSSQL supporting. any idea?
DB2 seems much simple in system config

Sorry? I didn't quite catch that.
Do you mean that you're planning to add DB2 and MSSQL support as well?

yes
may be after oracle

Oh, that's awesome!
IBM wrote a tutorial about adding a DB2 backend… though it'd be about Drupal 5.x… might be helpful though. One sec.

correct. on the other hand, there is ZendCore for IBM, as like as that for oracle
system setup may be as simple as the case of oracle

i think that's the first time I've ever heard 'simple' and 'oracle' in the same sentence.

http://www.ibm.com/developerworks/ibm/library/i-osource9/
that
hehe, Drupal makes everything easy!

hehe - yeah, things liek the houseclening module

oracle eats iq points and makes you simple.

or heh, maybe i should get the typing module

speling modewl!

i wrote some HOWTO, about oracle + apache + Debian + drupal. that is not such difficult

burping.modue

Oooo! Really? Where is it?

http://edin.no-ip.com/html/?q=drupal_6_x_dev_oracle_database_10g_release_2_mini_howto
http://edin.no-ip.com/html/?q=oracle_database_10g_release_2_apache2_2_zend_core_oracle_v_2_debian_etch_howto

Wow, with screen shots and everything!
want to join the documentation team?

the post is 3 months ago…
that's myabe a good idea… but i need to improve my english

hswong3i, if you write it up

Hey, we can always help you with that.

others can help clean up the english
it is the knowledge we need

that's my presure
btw, if someone really interesting about oracle + drupal, please reference to my HOWTO, help about testing, and feel free to comment about it

oh, thank goodness. I thought you had gone to bed early, and my entire universe almost collapsed!

LOL

Then add1sun said that you were getting up early and stuff and it was liek OH MY GOD WHAT'S HAPPENING!??!

I just like to think that I've always lived on west coast time…
bI just like to think that I've always lived on west coast time… /b

Same.
what is logrus?

I've done way way way more than enough editing of docs in my time. Cleaning up the english is not a problem

Well, I want to get this theme released and while it's a 3 column only theme, it's life..

Have you read any Roger Zelazny?
Roger Z wrote a 10 book series (actually, 2 five book series in the same universe; he was going to write another 5 but he passed away before he could get more than a few chapters into the 11th book) called the Chronicles of Amber. The first series follows the saga of Corwin, who is a shadow
walker.

In the Amber novels, there are infinite worlds; these worlds are all Shadows of Amber; they're called Shadows because they are imperfect reflections of a world that is, herself, imperfect. Earth is one of these shadow.

You know who's a good author, is Edward Abbey.

Merlin, my namesake, is his son, and the protagonist of the second series (which start really well and, sadly, go downhill in the last 2 books). Merlin's mother is a Lady of Chaos, so Merlin is of mixed heritage, though he was raised in Chaos. In Amber, all power derives fromt he pattern,
which is a squiggle drawn in the ground at the center of Amber. Lords of Amber walk this Pattern which gives them control over Shadow. In Chaos, all

Lords of Amber walk this Pattern which gives them control over Shadow. In Chaos, all power is derived from the Logrus, which is a shifting 3 dimensional maze, but has very similar properties otherwise.
See http://en.wikipedia.org/wiki/Category:The_Chronicles_of_Amber for more. There's a longish entry on Merlin.

hi

Merlin is a geek amongst gods, and an incredibly powerful geek at that. I was very much drawn to his character as a teenager, and it still fits my personality.
Merlin is a geek amongst gods, and an incredibly powerful geek at that. I was very much drawn to his character as a teenager, and it still fits my personality.

merlinofchaos, NEW?

Super new, only out 2 days: http://www.amazon.com/Babylon-5-Tales-Bruce-Boxleitner/dp/B000PHX8RA/

(I remember hearing something about something new like a year or two ago, come to think of it, but the info wasn't shored up at that time…)
Interesting. I liked B5 a lot, it's unfortunate that the cable channels that syndicate everything else under the sun never really picked it up.

wow, that's a very comprehensive answer. Thanks!
yo.

can we talk channels ? (ouch, i know)

heh, are you sure you want to go there?
Last time I talked channels in here I managed to piss off everyone in the room.

then pm

k

hi

howdy

someone can help me.. with this error http://tux.uis.edu.co/asopruis/
i upgrade.. php4 to php5

I don't know much about cvs, so forgive me if I'm missing something simple.

nobodys know?

Using tortoise, I have the following :pserver:RonWilliams@cvs.drupal.org:/cvs/drupal-contrib

someone can help me.. with this error http://tux.uis.edu.co/asopruis/

area…
Is DRUPAL-5-1–1-0 a valid tag for a theme?

date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case y
what it could be?

you might try #drupal-support for that question. There are folks there who are around providing support, and might have time to investigate further.
hm. I believe it's DRUPAL-5–1-0.
But Derek just sent a mail around today about the branch names changing.
I *think* that's just for 6 though.
For legacy reasons, the *first* branch in a Drupal version is just DRUPAL-5 or DRUPAL-4-7.
Though the second would be DRUPAL-5-2–x
and so on.
always DRUPAL-6-X

the CVS maintainer quick-start guide has been updated - http://drupal.org/handbook/cvs/quickstart

just post it

Ok, was using DRUPAL-5–1-0 and got the following error
no published project was found for this directory:

http://groups.drupal.org/node/5413

** contributions/themes/purple_beauty
** Please contact a CVS administrator for help.

1 IRC mention

Pre-tag check failed
cvs [tag aborted]: correct the above errors first!

did you create a project for it?
node/add/project
yay!

Didn't know I needed to create a project page prior to tagging it

For an 'official' release like that, you do.
You can have a theme/module in CVS without a corresponding d.o project.
And just branch it as "DRUPAL-5"
btu when you *tag* it, that's saying, "please go make a release for this project on the download page."

ah

Which you can't do if there's no project.

actually
it should be branched as DRUPAL-5–1 now
as of… yesterday

I'm trying to learn this….I've only done this about 5 times…

I don't think the announcement has gone out yet, but the docs did get updated. How's THAT for a bizarre change?

So do I need to create a branch or tag first?

a branch comes first

oh, really? i thought I saw something on the ML.

Oh! OK.

I also have been known to be on crack.

invalid branch for this directory:
** contributions/themes/purple_beauty
Pre-tag check failed
cvs [tag aborted]: correct the above errors first!

what was the command you used?

a branch is an overall 'bin' for all the versions of a file that belong to a particular version of drupal and a major version of your module. for example, DRUPAL-5, version 1 of your module/theme/etc

I'm using tortoise…
I used this for the branch name
DRUPAL-5–1

hmmmmm
I don't THINK I lied.
that should work
maybe the themes dir didn't get added in? hmmm…

Ah. Sorry. DRUPAL-5 for the branch.
DRUPAL-5–1-0 for the tag.

Ok….you're confusing me…who's right…

Well probably listen to eaton, since he just wrote docs.

lol
well. it sounds like the docs might not match what CVS actually accepts

but I don't see how DRUPAL-5–1 would ever work.
It would be DRUPAL-5-1
no?

hmmmmmmm
I'll have to ask dww. it should be DRUPAL-X–Y-Z
according to dww
but the DRUPAL-X-Y versions, I'm not sure about. hmmmm.

And what should I do for now?
I received an error for DRUPAL-5-1

does DRUPAL-5 work?
DRUPAL-5, DRUPAL-5–1, and DRUPAL-5-1–1 are the only combinations I can think of.

Yes
DRUPAL-5 works
And now for tagging…..should I use DRUPAL-5–1-0?

yeah, that appears to work. I'll have to talk to dww; that's what SHOULDN'T have worked. lol.
yes, DRUPAL-5–1-0 is the right tag

That tag worked…

see, I thought that change was only for 6.x and up.

Congrats….you confused me to death, but I think I get it now…

if that's the case then I was totally baffled.
I apologize, Ron, listen to webchick.
She is not only wise, but also *verifiably in tune with objective reality*.
bShe is not only wise, but also *verifiably in tune with objective reality*./b

lol. It's not an issue.
I'm not sure if you saw earlier, but this is what I'm contributing http://temp.ronsnexus.com/

Yay!

LOL

0AM, so I'm heading

as i was updating, i had noticed that I was using the screenshot field, unfortunately it only creates a link to the screenshot

Yes, that would be nice to fix.

you talkin about the ol demote / promote tango ?

who has access to do theme changes? Just killes, Dries, and drumm, or..?
yes.
Cos it's bloody ridiculous. ;P

you need shell access
few has that.
the above list is a good approximate

yes… and it's quite embarrassing bother you folks every time

Well it's all good.. it means you're contributing lots of themes.

i've been kinda lame… i've been meaning to chat w/ dww about this

tag in posts at g.d.o but not with a project

Well. If someone embeds a malicious image that exploits a flaw in IE on g.d.o, it has far less reach than such an image on drupal.org.
Also, g.d.o has about 1/10000th the spam as d.o.

but if the person is approved w/ CVS access…..

Imagine if, in addition to the viagra posts, we had nice pictures to go along with it. :
:P

yikes… that's a very disturbing image you just created for me

Let me look at the roles page.

eaton, hey I haven't had any luck with using a validate callback for upload.module.

damn. Want to send me any pastebinned stuff or other bits?

can you set a validate object on form element that is just a container?

Weird.

er. a validate object?

Right now any authenticated user can create a project?
That seems… not right?

you mean the #validate[] = 'foo'

err callback…
eaton yess.
I thought it was ['#validate'] = 'foo' now?
maybe that is my problem…

they can't create a project unless they have CVS access and there's a project to create

nope, only top level forms or indeividual buttons get #validate and #submit, but you can put [#element_validate][] = 'foo' on individual elements
nope, before it was $form['#validate'][$function_name'] = array($args)
now it's $form['#validate'][] = 'function name'
somewhat simpler but not THAT simple.

Hm. There doesn't seem to be any indication in here of "someone who has a cvs account"

eaton, okay… I'll try that, and it should be attached to the button?

if it's the button that is attached to the form element, it will fire *instead of the normal high-level form validate handler*.
so it gives you a chance to validate the whole form.

even if it is appended to the validators array?

so yeah.. this is going to require some dww action, I think. If we can somehow setup a role and auto-add people to that role with CVS access, then it's a simple one-click fix to give those people Full HTML perms.
Like we did for the docs team members.
Hey, that's a solution! Join the docs team.

append it to the form-level validator if you want to fire it ALONG WITH the others.
append it to the button's if you want it to fire INSTEAD.

hehe.. ok… i'll join the docs team to maintain my themes

no, join the docs team to help with the docs. Maintainig your themes is a nice side-benefit.
You could write docs about theming.

i know… just kidding…

eaton, okay…

that's a good idea.. I've been thinking of contributing towards the docs movement
dah
dah… just had a brain fart
sorry walkah

so you want me to push the magic button?

the tango?

what's your user ID?

oh.. you can add me to the docs team?

Yes. I have many mystical powers.

Cool! I thought I'd have to bug sepeck for that
yes, please do add me … my ID id 70134

eaton, ok some progress… I'll play with it more tomorrow if I get a moment.

Done.

want me to take a look, or?

i promise that I will not use my new powers for evil
thanks!

eaton, if you want… lemme diff what I got… some of the way data is passed around has to be changes,

k

If I see viagra images, I also have the power to ban you.
j/k

eaton, http://drupal.pastebin.com/mbd0b83c … very rough…

Awesome, thank you

hehe.. ok

hmmm, it looks like it's JUST the validate handler so far, is that right?
just wanted to doublecheck

its minor changes.. yes.

OK, cool
I'll take a look. it's uploding with JS off, right?

eaton, no.

this is cool. now some of the howto that I burry in other places can be contributed

actually I don't remember exactly… i'm sort of fumbling in the dark and moving on last impressions and notes.
I haven't really been able to fully focus on this issue except in short phases.

yay!

er…
OK. I was able to upload files with the upload.module last I checked. I'll… poke around?

yay! thnx webchick you're the bestest

lol np

eaton, it may not be working because I uncommented upload prepare… lemme revert and see what happens.
eaton, yes preview save works.

so. previewing and saving the node works.

pm?

hmm just save works…
this may be completely js centric…
lemme switch back to a browser that likes upload.js
hmm ajax upload and save works…
ajax upload and preview sorta works… form looks very strange, but on submit everything is fine.

hmmm. I'll take a look at that, then.

missing filenames and flags…
on ajax upload then preview case

what browser?
I see the flags and filenames on ajax upload then preview.

yeah only the preview cases seem to be buggy.
maybe upload should just force a rebuild on preview? I'm not sure.

it could certainly do that.

right no FF… opera doesn't like upload.js…

it might actually do that already.

err right now i'm using FF…

what version?
just out of curiosity

although i've fallen in love with opera…

hmmmmmm

2.0.0.6

yeah, same here. no rendering problems and everything shows up okay. weird.

eaton, type casting issue i think…

hmmm

462-468
lnies
lines
I mean.

Hmmmm, appears $file is an obj…so the reference to it isn't unhappy
Ahaaaa
Bingooooo
Only seems to appear when there are more than one attachments, might be wrong

eaton, but yeah the type cast in that function seems to solve the problem… I think something else fixed the other upload issues… not sure what it was.. haven't been tracking head closely.
but glad it happened.

Intresting, occasionally it gets a completely zero'd out file.

http://association.drupal.org/donate

hi all

Yes.
That's not good.

thanks
Do you know why it's broken?

It appears to be blowing away PREVIOUSLY ATTACHED files in previews, but it saves them properly.
It appears to be blowing away PREVIOUSLY ATTACHED files in previews, but it saves them properly.

no, but I notice that the login block is also broken.

Because Khalid is travelling and isn't near an Internet connection

eaton, i think that is beyond me… the rest seems to be working better with the type casting.

And actually all of our pages are like that.
http://association.drupal.org/
there was a weird bug on drupal.org earlier today that killed all of the content; could it be the same bug?

hmm, well I was just testing scratch and it's borken too
sounds, likely

I'll go mail the list.

cool. I'll look closer, thanks.

http://drupal.org/node/163868

Drupal.org webmasters, Other, normal, active, 1 IRC mention

That also works.
I'm going to switch the project to infrastructure though, as it's going to need someone with shell acccess.

Oh, wow.

eaton, http://drupal.org/node/157747 for the preview issues

Drupal, upload.module, critical, patch (code needs review), 6 IRC mentions

it has the cast in the last patch I posted.
but not the preview rendering fix.

awesome, thank you.
you ROCK.

or a preview rendering fix if one should exist.
okay.. i'm back to my hole… I'll try to check up on hook_upload if I get a chance tomorrow.
err hook_file or whatever it is…

good sleep

no sleep for me…

I can sleep after burning man… to much to do between now and then.

When is burning man?
you still have to come over here sometime and hang out.

webchick, how about tomorrow… I need to work someplace besides me house
webchick I'll be out like sept 21- august something.

ping?

we're at Sony all day. ;P

hehe… did the get the office remodeled?

No, it's mostly just a bunch of cubicles.

Maybe I'll bike over in the evening I have to run to the garment district to pick up some supplies tomorrow I think…

burning man is around the last week of august

Oh, man. I'm so excited if this patch manages to land.

sure!!

eaton, which patch?

http://drupal.org/node/163723

Drupal, theme system, critical, patch (ready to be committed), 6 IRC mentions

now that we have themes defined by .info files…
designers can produce ready to download themes that are just a .info file, css, and images.
that patch just updates the 'fallback' page markup from prior-to-bluemarine tabled markup to relatively current div based markup.
so that those CSS based themes don't, well, have to suck.

eaton, ahh yeah…
I did stuff like that quite a few times in my themes… those wondeful body classes so you can work in css instead of php

yah, I think that'll be popular. heh.
hmmmmmm.

wtf. i never before saw smaller than 150ms pings across the pond , but from here , see 127ms
yay

maybe the pond is shrinking….

I wish drumm was on IRC.
I want to congratulate him on how kick-ass api.drupal.org is now.

he's been in and out, but said he ws… swamped ;D

support?

Please direct support questions to the volunteers in #drupal-support or on the Drupal forums. #drupal is a place to discuss and help with code, advocacy, documentation, infrastructure, and pretty much everything else.

Well. Goodness.

botsnack.

thanks chx

loltemplate works!

I second that sentiment

LOL nooooo!!
I know! Isn't it awesome?!
@HedgeMage
NOT @ loltemplate.
important clarification.

yes, it is!
you said drumm did it?

loltemplate?

I think so.

I am in your template stealing ur webiste?

you know 'caturday' talk?
hahaha yes.

*website

eaton has created a theme engine that uses lolspeak in order to create the theme.
IT'S.
JUST.
EVIL.
!

:-)
come on, you KNOW editing page.lol will be AWESOME

heh
that's so wrong, and yet…

DO NOT WANT!
;-)

lol

(Is it too geekery to use a wifi adapter with a parabolic dish to cross three meters to the router?)

Um.
That's kind of geeky, yes.
but it's never TOO geeky.

webchick, URL pls
lolspeak theme engine

Dunno.
did you check it into CVS?

Oh, God, this parser is AWESOME.
I'm making sure that the parsing engine is GPL'd.
Yes. It's built on LOLCORE.

Bearing in mind that doing so will probably ensure your CVS account gets revoked

haha

hahahaha

Sweet Jesus.
It even supports including external files.

wow

syntax.

hahaha

eaton, can you imagine the support requests?

URL?

y0 I'z must hazd the file, but it won't work

it's just a horrible, horrible set of preg replaces.
heh.
http://svn.devjavu.com/singpolyma/trunk/lolcode/lol_core.php It looks like it's not GPL'd, alas. So i'll have to ask the author or include a link to the file.

can't imagine he won't gpl

yeah
"I wish to sell this code for monetary gain"

lol

"Dude, it's a freakin' lolcore!"

"Dude, this is ENTERPRISE level lolcore."

aha

WANT MAH LICENSE

haha
imagine the compiler dying with like "OMG KITTENS MISSING!!!!"
and you're trying to figure out what that means
eaton, only caveat for redistribution is "The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software."

ROTFL

holy CRAP it's just one HUGE regex

pm

the block you used at http://drupal.logrus.com/ .. is that custom, or..?

haha
A LOLCode compiler for the .NET platform

webchick" Ot
It's custom.
It's gone in the current api.module so I've got to figure out what to do about it when I update; having all the search boxes available is *very* handy
And there's not much being used in the sidebar so it's not even a waste of space
Especially since I put the main navigation up in the primary nav

I submitted http://drupal.org/node/163885

API, Code, normal, active, 1 IRC mention

http://drupal.org/files/issues/api-search-block-163885-1.png

Yea the one I had on the Drupal 4.6 version of the module used a drop down.
For this one I didn't want to spend much time, so I just repurposed the old search page

Yeah.
I like the drop-down because it's more compact, and 99% of the time you're only interested in one version.
so the other 3-4 search boxes are 'wasted'
BUt I'll need to learn jQuery.

Yah. Tho again, with the sidebar it's kind of empty space anyhow.

True.
That block with no title looks bizarre.

The path for the autocomplete shouldn't change; it should just be included in the post.

oh?

Sure, when calling the post operation, just snag the value of the select box, send it along, and the autocomplete does its thing.

fan-say.

That much is pretty easy.

Hi

howdyu
-u

http://digg.com/news HAHA

darn jumpy vowels.

Discovery Channel Acquires Treehugger.com For $10 Million
Treehugger Acquires Discovery Communications

lol
Ok, I need to sleep.

question, how would I be able to add a css file to handle the output of all nodes created with the events module in view mode?

Silly working regular office hours.

wth office hours?

night folks

gtfo work @ home and download pronz
:P
godamnit im in the wrong channel again.

morning

morning!
was just writing you a mail.
Are you sure we have over 256M of cachable data?
I mean, we could give it a terrabyte if we wanted, but we don't have that much data.

let me check the tablel sizes

I'd expect the tables to be bigger on disc
the memcache is not normalized and is gzipped.

Night.

well… drupal-support yeilds no help, any takes to my issue here?

long time no see :P

Guten morgen Herr CHX

well, we re on innodb now, so I can't check the sizes anyway. :P

Wie gefällt es Ihnen in Deutschlan?
killes:

hello all

but do you see memcache being hit for project stuff?

well, there weere more hits andmisses after dww installed his patch
hmmm, actually, his table is still myisam.
only 3MB, that might explain why I didn't se a higher cache usage

and how is db load these days?
Are we still in the 200 range ;-) ?

looking
no, its more like 10…

that's still pretty hot.
and how are we with more G on d3?
was memcache_admin causing more problems?

In Drupal 6, how can I make the leftmost subdomain set the locale?

I am afraid the upgrade fell on the floor

ouch. who dropped the baby?

pm

well, there was other stuff to do.

hi

Hi
We're trying to use domains like en.dev.wikibiblio.org and fr.dev.wikibiblio.org
I have them aliased in DNS and in Apache

oh well. Were there problems with memcache_admin?

They work in that sense

Hi, can I secure a page so that unauthenticated users will not be able to access that page?

let me check

But Drupal doesn't appear to be detecting the language from them, even though I have "Domain name only" set
I installed the Drupal 5 French translation. I assume that won't cause a problem…

does anyone know if the admin settings menus have been removed from a couple modules in HEAD?

look in language_initialize
in language.inc
seems you need to define one domain per language
let me check the module
you can use custom domains like de.example.com and it.example.com. Customize path prefixes and set domain names on the a href="@langua
ges"language editing pages/a
admin/settings/language
_locale_languages_common_controls contains the domain code and both on adding language and editing an language it's called

the domain mode appears buggy.
it keeps prepending the domain to the path

????
Let me thank everyone — I am ordering a Panasonic Y5 now.

For en, I have "en.dev.wikibiblio.org" set as the language domain

no, I only disabled it due to other problems I had to debug.

But now all links are prefixed with en.dev.wikibiblio.org/

ok. Just wanted to know if I had more work to do on it today.

very strange.
please file a report, I am sure Jose/Goba will check it out

thanks

I am sure because I will tell them

thanks

on optimizing queries… if I have two tables joined , and I do an ORDER then it'll be slow…? do I remember this correctly? Or only if the ORDER and the WHERE are in different tables?

the new theme engine system is somewhat baffling. I shall sleep now.

The only way such a query can be fast is if 1) the where and order by criteria are in the same table and 2) there is an index to support the combination of where and order by criteria

Hi, can I secure a page so that unauthenticated users will not be able to access that page?

ok, thanks.

There may be exceptions, but I use that as a general rule for data and query design

so, if I have a fast query and i just add more fields from other tables that won't slow down, generally

yes
If the database can build the list of rows in the right order quickly, it is very fast for it to join extra data from other tables (barring lack of indexes on the keys)
I posted the language domain issue: http://drupal.org/node/163894

Drupal, language system, critical, active, 1 IRC mention

how do I put "escaped" html code in a drupal page?
oops
should have gone to #drupal-support
sorry

actually, that's a valid question here
check_plain

davidstrauss, so…

or, you can run it through t()
i mean, t() as a placeholder

so I do t(htmlblah/html); or something?

t() will only help if you use placeholders
to just escape the text, use check_plain

so, check_plain(htmlblah/html)?
or something?

check_plain('htmlblah/html')

of course, the quotes
thx

see if that gives you what you want

pastafaris.org

hmm… is there any kind of module for access control, which can separate "read" and "edit" for a certain role ?!

yes there are many

tell me one then

davidstrauss, doesn't seem to work

by default, node.module separates reading and editing
what is the result you want?

tac_lite

the plain html not rendered but visible
so that users can cut and paste to their own site

It's not giving you <html> …
?

was that for me ?

tac_lite was for you

thanks…

davidstrauss, oh, hell, I'll use plain and simple manual escaping
thx for helping

no, you really ought to use a function

might be a suggestion to make this somewhat clearer in the docs though

what is the result you expect?

the literal presentation of the source html without any rendering to the end user

If you want to display html to the end user, check_plain should work

davidstrauss, I'm really thankful for your help
but I'm _extremely_ close to an absolutely unforeseen deadline
and it's only 1 line of html anyway

also see http://tw.php.net/htmlentities and http://tw.php.net/manual/en/function.htmlspecialchars.php

thx!

This is the source for check_plain: http://api.drupal.org/api/function/check_plain/5

do you know anyway via a scripting language to test if a page is loading all its elements or it's getting some 404? the aim is to create tests to see if after some configuration changes the images on a site are still being loaded properly
do you know any way*

there is simpletest module you can write tests which checks if text is displayed if images are displayed form elements,…

i was looking for a more command line-ish way, but I'll give it a try as well, thanks for pointing out!

you were the one responsible for nodeaccess?

Comments

opsec are there any major issues locking app crashes conflicts in userspace etc that happen from using gnome or

commands other than ps don't have this problem

Anonycat; if it works, uname -r

2.6.22.1-41.fc7

hmm not -33…
i've never ran into this before… so i'm kinda shooting in the dark now…

what's the prob?

he just said, man
scroll up

ps isn't returning to prompt, ksysguard doesn't display any processes, and yum is hung in the middle of package updating

if you're not using yum-updatesd, turn it off

he *is* using it
lol

i see
well i can't help then, i always turn that it off

does anyone know what file i need to edit on FC5 to change the run level from 5 to 3 so X doesnt start automatically ?

/etc/inittab

perfect … thanks

lol, yum unistalled rsyslog ffs. it has been missing for months :P gah!!

whobedobe; nice!

well im 3 for 3 today

quit while you're ahead?

tied to install FlightGear and couldnt get a better frame rate than 1
so it was removed
tried to install gnome-pilot pda wont sync
tried LimeWire it just crashes
im 3 for 3
i quit
i give up
im done

oh 0 for 3

yeah

hi there - does anyone know if there is a nice way to perform an "upgrade" from fedora7 32bit to f7 64bit, or it neccessary to install in from scratch?

did you try a guide for limewire or just wing it?
robo60; they are 2 different OSes

actually I just wing it

why would you want to _downgrade_ to 64-bit?
it's very buggy

oh and I used the guide at fedorasolved

cool
http://forums.fedoraforum.org/showthread.php?t=150340

there is no docs for gpilot

firewing1 = knows his stuff

ive looked for any white papers on gpilot and found nothing
theres the gpilot homepage

http://www.google.com/linux?hl=en&safe=off&q=gpilot&btnG=Search

but its not good has nothin on configuration of gpilot
its just supposed to work when yu plug it in I guess
nothing works that way in linux

um… your motherboard, etc does

due to specific user's demand for 64bit java support

a lot of stuff does, but specific models

i call bullshite

robo60; last i used Fedora 7 x64 it was *buggy*
Dwayne; ?

im pissed
off

everyone wants stuff to "just work" but not many want to do anything about it.
there is lots of demand and strained devs who *do it on the side*
you can go "trust" microsoft or apple, but yeah… don't get me started there

how old are you? get a grip

pembo13; what an immature question
pembo13; i bet you're no older than 16.

and for your information, plent stuff just works
ok

i'm having problems setting up ISPconfig. on http://www.ispconfig.org/manual_installation.htm they say to "Edit the file /etc/fstab and look for the entry, in which the directory /home is mentioned", but i don't have a 'home' file in /etc/fstab. if i leave /etc/fstab like this, my system will not reboot. it happen yesterday. can someone pls help me to configure /etc/fstab properly

i feel pretty and witty and gay

the bottom line is that we need people to maintain packages and yadda yadda and hardly anybody is willing to do the work *raises hand*

angermanagement

gn00b; paste your fstab in http://www.rafb.net/paste/ and give the resulting URL
gn00b; paste your fstab in a href="http://www.rafb.net/paste/"http://www.rafb.net/paste//a and give the resulting URL

http://pastebin.com/d234aaacc

so what partition is your /home? O_o

that's what fstab is supposed to look like

no.
/dev/volgroup0/home /home ext3 defaults 1 2

pembo13, for ispconfig to work?

that's my /home

no, the basic fedora install setups fstab in that manner

gn00b; no…. it doesn't lol
pembo13; stop typing.
gn00b; what partition is your /home on? like /dev/sda3? or what

i added usrquota and grpquota as per directions

what seems to be the problem?

he doesn't have a /home

downhillgames, yes

he said he was supposed to have one…

i'm aware of that, that would be becuase he apperently didn't put one in

downhillgames, i used the default partition scheme

doesn't that make a /home?

he needs one, he's not supposed to have one
as i told him, the default doesn't make a /home partiton

that's messed up
guess you were right, sorry

.. /home is in the / partition

i've successfully built and installed the packages

opsec; oh yeah? they work, too?

again, that's the default behavior… to change that, you would essentially need to resetup your hard drive

yes

^_^ where can i find them?

not sure if there is a better way

first .. yum remove libquicktime

i'm sure you can set a quota for just /home

paste me the output BEFORE you type y
rafb.net/paste

it's not installed.

i followed the instructions to the letter. they didn't say anything about a partition for /home

one second

are you following this? http://www.howtoforge.com/perfect_server_fedora7

opsec; i removed the deps for cinelerra (i made a copy of them at the install of the package)

yes
everything installed ok up until ispconfig

why do you think you need /home of a seperate partition?

too many windows!

i don't think that i do, i'm just confused as to how /etc/fstab should be

is there advanced application more than minicom

what kind of server tutorial suggests disabling SELinux

i need access one router but i don't have serial port in my laptop

it is how it is supposed to be

so i have to use converter serial too USB

http://www.ispconfig.org/manual_installation.htm says to Edit the file /etc/fstab and look for the entry, in which the directory /home is mentioned

i'm uploading the packages now.. they'll be done in a minute

opsec; i can't say thanks enough
opsec; feel free to PM me re: building these if you so choose

i don't know what to say, that tutorial is a mess

lol…now you tell me
do you know of a better one?

as you may have already noted, it made no mention of placing /home on a seperate partion

exacctly

no, i've never heard of that software
what does it do?

it's a hosting control panel

frankly, the fact that it requires you to turn of SELinux alone makes me think it's a waste of time

cpanelX is awesome but not free

plus the tutorial is incomplete as you have noted

http://fedoraos.org/rpms

for getting ispconfig… what are you trying to do?

download libquicktime and cinerella

just following the instructions

put the in the same dir all alone .. and rpm -ivh *

got video+audio .rm to work?

no
not even going to try anymore

hi folks

got it with mplayer, had to get the rp9 win32 codecs

all i really want is a simple web server and possibly a mail server down the road.

opsec; w32codec are the mplayer codecs i assume?

no

root@rails:lix#rpm -ivh ibm-java2-i386-jre-5.0-5.1.i386.rpm
Failed dependencies: libstdc++.so.5 is needed by ibm-java2-i386-jre-5.0-5.1.i386

they're the w32 codecs

yah.. well don't bother with that - if you want my opinion

i'm very new to fedora

how i can config serial too usb converter ??

where could i find that package?

opsec; are they not available in livna?

a web server is way to easy to install

windows media, wmv, avi, asf, asx
no, they aren't

new to linux altogether for that matter

tell me what you want, and i'll tell you what to look for

opsec; *cough* downloads *cough*

i should have just stuck with the apache installation that i had

so had anybody success with ibm-java?

would you like a suggestion, or would you prefer to go ahead tring out different stuff?

i am very open to suggestions

well i asked, what exactly do you want to do… a little more specific than "a webserver:

opsec; you want me to install just those or yum localinstall them to see the deps?

citrix aquires xensource?

libstdc++

better yumlocalinstall .. i don't know what you installed or not

ok

pembo13 o rly sir?

?

pembo13, right now, i have my own domain. but i have dynamic ip. i want to be able to host my own page,

opsec; what about signing? usually it complains…

i believe you asked what package had that file

root@rails:lix#locate libstdc++.so
/usr/lib/libstdc++.so.6

is this for play, or for serious?

hoops
it is installed

man yum

!@#

pembo13, i already have an account with zoneedit.com and dyndns.org

opsec; mk. thanks.

pembo13, play

ok.. one more question…

you'll find what you need for that there

are you willing to update frequently? possibly having to do a fresh install every 6 months?

pembo13 the question is

ahh i didn't have "check" on the end.. i tried -nogpg
–nogpg*

how i could install this OLD lib
i have the newer one

opsec; still want the paste?

i've been doing a fresh insall 2-3 times a day because i've been screwing up so much, so 1 every six months would be a blessing

well i'm guessing the two don't coexist - so i don't know

only if you have an error

ooo

what have you done to the system since you installed it?

pembo13 more like it is not possible to install ibm-java on f7

it's taken me almost a month just finding the right distro to use

ask so i can know wether to suggest you install fresh again
okay

no, but here… http://rafb.net/p/tYxnvG17.html

a fresh install is not a problem for me

woah, installing 2-3 times a day is way overkill, no matter what your problem is

i'll type out a few instructions for you… hold

all i've done so far what a perfect desktop and the perfect server from www.howtoforge.com

what a perfect desktop?

http://www.howtoforge.com/the_perfect_desktop_fedora7

opsec; yay! ty

wilkommen sie

come again

This tutorial shows how you can set up a Fedora 7 desktop that is a full-fledged replacement for a Windows desktop,

ok… well you're attempting to setup a server this time, will craft some short instructions accordinly
a simple webserver? or a full blown webserver?

what's the difference?

opsec; ^_^! mp3s load and it doesn't crash

simple

the packages involved… will assume full blown since this for fun

now… if i'm capable of understanding… how did you package this?

ok…full blown

i recompiled a newer version of libquicktime, edited the spec files to remove macros that weren't understood by rpmbuild and rebuilt them
cinerlla took about 8 minutes to compile on a quad xeon system .. took only 10 min to load fedora itself

heh
compiling is a different story than installing binaries

Ello

yep, but i hope you realize, building those rpms was the equivalent to taking a bullet for you

ah i'm thankful, opsec. don't you worry about that

you owe me *bigtime* and will be my slave in the afterlife.

lmao

Your soul is mine for eternity

nah, it's not a big deal, glad it works for you now

this assumes there is an afterlife, but that's for another time, perhaps
opsec; yeah. i just get to learn how to use it now that importing files doesn't crash it instantly

Well, There is an afterlife. I can assure you of that. Infact I can guarentee it (Sorry for the spelling)

pour a glass of water into the ocean .. you'll begin to get the idea of "afterlife"

interesting.

ie. After your life, Everyone else just continues. aka Afterlife.

that could quite possibly be the most "english" or "human" way anybody has ever attempted to explain life after death to me

we all come from and return to the same
who you do top anyone else, you do to yourself
*what you do

stil here?

As far as all that other stuff….. I'll believe it when I see it. And if Im dead and can't see it. Then it don't matter.

yep

some people just hate to think
then they have to question their own morals too much

Who has played Heavy Gear 2 for linux hosting (linux native)

take a quick look at this, tell me if it makes sense… need to go sleep : http://rafb.net/p/p4R6rj73.html

???

pembo13, makes sense. thanx for taking the time

as it says, come back here if you need assistance

will do. thanx again

I need a Mech fix. And "Heavy Gear 2" looks to fit the bill. (Realy enjoyed Mech II & GBL - Wasn't impressed with Mech3 & didn't see Mech4)

and if you want a more long term solution, use CentOS5 instead of Fedora 7, the instructions will be the same
good luck

g'nite

peace

opsec; well i've got some reading to do. thanks again ^_^

hey i need a bit of help
#fedora-uk
right on ma fedora core 4 installation cd the installer sees my usb hdd and allows me to partiton and install onto it

fc4 is not supported any longer
please use f7

but in ma fedora 7 installation it isnt picking up the usb hdd
yeh i was continuing as if it is supported in fc4 it shows that the usb hdd is working fine etc..

not sure about that but fc4 is long dead, you'll find no support or security updates for it

try installing with fc6 and then upgrading to F7

i no its the only disc i had to hand to see if it was ma usb hdd

ma?

my sorry
used to using msn to much
on the fc4 before the disc check it comes up saying loading usb module (or something along them lines) but in F7 it doesn't load them
i was just woundering if there was a way to force them to load

i cant even get jpilot to work

opsec; are there any major issues (locking, app crashes, conflicts in userspace, etc) that happen from using gnome or KDE and having the opposite libs installed for just an app or two?
i'm sorry… it just seems every time i install KDE things go to pot
however things like k3b are kde-only :/

anybody knwo anything bout jpilot
?

k3b is not kde only

it uses kdelibs, no?

it works fine in gnome.. yes you need some kde libs it depends on ..

my wording was bad, then

i have k3b installed
i also installed and tested the cinerella i built for you
i don't plan on using it or intensively testing it ..
i have no interest in it other than helping you out

then i suppose it's whatever i was using and possibly an oddball dep or two, not the libs and what not
then i suppose it's whatever i was using and possibly an oddball dep or two, not the libs and what not

it should work fine.. i don't forsee any issues

opsec; oh, this isn't about cinelerra

i'd just rather have helped you than watch you ruin your system somehow trying to get it working

"DVDRipOMatic" is something i want to _try_
unrelated to cinelerra

i leave the pirating to the guys in the caribbean

in a nutshell, i need to backup all my dvds

"backup" .. i see

seriously, legally owned ones
do i need to take a picture w/ the digital camera? :P

you may be serious .. but i don't buy that excuse from anyone
i know what those programs are for

i rip all my music and encode my DVDs (recently had to format), i can't stand stratching discs

if i have a dvd that breaks (which has never happened).. i'll go buy another copy
i don't hold high value to "things"

self-beliefs aside, my question is legit
is there harm in running apps using different D/E's libs… you pretty much said no

you use whatever the app depends on, in k3bs case kde libes .. not an issue

so like i said… maybe it was just the app i was running
uso like i said… maybe it was just the app i was running/u

setting using_dma to 1 (on)
Operation not permitted
multcount = 16 (on)
I/O support = 1 (32-bit)

it's 6AM and it shows hehe

using_dma = 0 (off)
readahead = 8 (on)
i cant enable DMA mode on my old ATA drive
and ihave a SATA motherboard
and theres not many options for drive stuf

and you thought you had to paste that ?
-_-

3 Anvil

ahh… I'm scared now! :P

"haha"

hi

how do i set dma mode then?

hi all how can I list in terminal all users present in my system?

all I can say is read the motherboard manual and see if they are hiding the option, I don't use ATA now either

im using fedora core
i dont have a manual for my mobo
ive read the manual

zipito_ users?!

there's no hidden options

'w'

its a intel d865 perl mobo with a 2.4ghz processor 768 mb of memory and fedora is *SLOW*
it's ru nning like windows vista
or worse

'w' or 'who' or 'users'

it shows only the users currently logged in… but I want to know all users

than run vista
and join to #vista

cat /etc/passwd

zipito_ cat /etc/passwd

i want to use linux
but i cant get DMA mode enabled

blazemonger u failed with that

thanks

actually there is another option which is better
I just can't remember it atm, let me find it

what is it?

blazemonger, My machine is a 2ghz AMD 2400 with 1gb ram and Fedora7 runs FAST
blazemonger, What video card have you got?

man why is things ru nning slow
radeon 7200
its drive performance

What video?

fedora takes a whole minute just to BOOT

Thats about normal.

my HD doesnt have DMA mode enabled
a MINUTE?
i thought linux was supposed to be blazing FAST

may be you need to add some extra options to the kernel loader:

i had debian and it took only a few seconds

yeah. But I don't turn my machine off. So it's always ready to use.

hi all
i have fc6

even windows 2000 wouldnt work on my system

lat me find them

linux is just the kernel, and it's fast.

blazemonger, Something wrong with your system.

like it takes 2 minutes to LOAD firefox
everyone says my drive cache is screwed

my screen resolution now 800*600 and not change up

and i need to enable dma mode

how to change it

how do i FORCE dma mode

What sort of drive is it? Why is it causing problems?

anybody idea pls?

I can't find it atm, sorry

Anvil, ping

to enable dma mode read the following http://klamstwo.org/evad/archives/11 may be helps

pong ! hi

Anvil, could you please update irssi to latest upstream in rawhide else it will be hit by the freeze
Anvil, heyyas )

i'm no longer irssi maintainer

Anvil, lemme check

man hdparm

I've orphaned it some weeks ago

Anvil, damn
Anvil, thanks for the information though

was my last package.

Marek Mahut (mmahut) according to pkgdb

ask marek

Anvil, will do

your not doing any fedora maintaining now?

no.

Anvil, it is much better to step back than to leave things unmaintained for ages.
Anvil, )

indeed.

Anvil, irssi is so popular that i am pretty sure someone else will pick it up

well, marek said he would

ok i will just ping him then

and that he would also create EPEL branches

Anvil, nice

which happened

that is one of the reasons i am not maintaining packages
i just cant garantue i have the time to keep them updated
whenever i have time though i am trying to fix things upstream

I'm running out of time these days too

hello all
i v=ca no longer switch between workspaces using mouse, anybody had this issue before? any idea to fix?
i can no ….

guzu; compiz/beryl?

no, effects are disabled

i've only had it with Beryl before.

some copy/paste bug i suspect, and i can not restart x right now, but i can handle it with kbd only

guzu; kill gnome-panel

ctrl-alt-arrow

it'll restart automatically

downhillgames, i'll consider this, thank you

yeah np

Sessions as to whether it *will* or *will no* auto-reload and change it as you see fit

s/no/not/

downhillgames, inspired by your idea, i've removed workspace switcher, and re-add it and now it works
thnx again

hey, that works, too
good call
guzu; compiz fusion locked gnome-panel a few too many times… my habits are slipping from the nvidia driver and that non-fedora package
i use beryl now but that nvidia driver is a b****

yeah, effects are still buggy

unfortunately

downhillgames, well you have to force indirect rendering

beryl works great tho

downhillgames, still get black screens?

che; everything works, it just locks a lot

downhillgames, i have a daily compiz fusion checkout here that works fine with nvidia and no lockups

che; oh?
what video card?

downhillgames, maybe the checkout the packages use you have installed are just broken
downhillgames, quadro

my nvidia card has locked since 100 series came out…
the 100 series nvidia driver…

Quadro NVS 110M

9755 worked *flawlessly*

nvidia-x11-drv-100.14.11-1.fc7
though i had to patch it to make it work with the rawhide kernels
http://orgizm.net/~daniel/downloads/KibaInfoWin.png
just got a new pic of kiba-dock from the author

wow.

he said he is going to release stable releases soon

beautiful

that's amazing.

did you guys already try it?
it has integrated physics
the icons can collide etc

nah
i've seen it but that looks niiice

yeah

che, where are the packs?

if you are curious theres are various movies on youtube showing it
guzu, currently i am building daily rpms
guzu, not public though cause the specs are still ugly
guzu, and there are still bugs left aswell

che, ok, in fedora-devel?

guzu, if you insist i can maybe send you some src rpm of todays checkout
guzu, not at all
guzu, not packaged in fedora yet

che, no, no src please
che, maybe some older version?

guzu, well like i said what i have is src rpms
guzu, )

ok

guzu, some repo has some packages but… they turned out to be old and broken yesterdays

i'll keep searching, maybe they will showup in f8t
che, i see

guzu, well if someone steps up to maintain it. i could help out with basic spec files so it wouldnt be much work to get it initially packaged and submitted for review

che, unfortunately, for some personal reasons, i can not focus on anything for a while
o maybe it's not the time

http://www.youtube.com/watch?v=TMBsgxqqpHk

http://itmanagement.earthweb.com/entdev/article.php/3694206

Anyone have installed compiz fusioon here?

oh, it was getent passwd, it will incorporate NIS etc users

znerk, not me

hi all

hi

could someone clarify the difference between /var/lib/ and /var/spool/. What should each of them should be used for?
for example, which would be the appropriate place for mailing list archives?

I would think /var/spool for that purpose

someone experiences that the virtual workspaces has stopped working?
I'm stuck in one

karlmag, if you are talking about workspace switcher, yes, i did one hour ago

And I would rather not log out ror similar.

Where can I find apt repository for FC7?

karlmag, you can fix it, or you can ctrl-alt-arrow

I'd rather fix it

karlmag, to fix it,right click on panel, remove workspace switcher, then right click and add it

If I only knew how

Hi
I dont know if I should ask this in the php or fedora channel.

r2d2, just ask and find out

thanks alot. That worked :-)

karlmag, good
np

i have installed apache and php. when I look at php_info(); in my browser… it says: "'–without-pear'" somewhere. HOw I install pear so that php services is fully aware of its existance?
i tried yum install pear… but then php is not aware it;s there…

after instalation restart apache with service httpd restart

trying that

ok

still says "without pear"
but if I type "pear" at command line… it knows of its presence
wait… gonna try go-pear quickly

http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/s1-filesystem-fhs.html

the –without-pear probably means the php package wasn't compiled with pear support

r2d2, same here
qbit, there's an ibm solutions provider in my country called qbit

lol

guzu, thanks. I needed this in order to setup a mailing list manager (minimalist) - but i have run into some other issues with integrating it into postfix. the whole situation is a mess

gnot, keep searching, i'm sure somebody already did this

guzu, unfortunately there is very little information around.

look for php-pear packages in yumex
there are a number of them

qbit, # rpm -q php-pear
php-pear-1.5.0-3
wait for more

hal conflicts with kernel 2.6.17, autofs conflicts with kernel 2.6.17, do you know how can I fix it?

Okay… I agree PHP was not compiled with PEAR… but how do I make it be compiled with PEAR… using yum?!

qbit, well, some are installed and some are not, how can we add pear support if not by installing php-pear?
[Kismet], form x86_64 to i386?

you may need some of the other php-pear packages as different functions are split out into many different packaegs

from i386 to i386…

qbit, i see, thnk
[Kismet], and where did the error showup?

do a search on just php services in yumex and it will list them

ok, i'll do it

while a run "yum -y update"

aaah, so you're using yum, not anaconda
[Kismet], you can try to fix this first (kernel+hal+etc)
all desp should be dragged in
deps

Is it possible to upgrade from an old Fedora Core to the latest via yum?

it is but most people wouldnt reccommend it

r2d2, qbit i suppose it's a false positive. i have –without-pear at 'configure command' section
below there's a 'pear' path

I may have little other choice because the laptop doesn't support booting from USB and the latest core doesn't come with a boot floppy?

how can I do that from yum? Looking from yumex I have only kernel-PAE package

[Kismet], yum update kernel ?
[Kismet], but: the repos are ok?

I hope that the repo are okey?

can anyone recommend a mailing list manager that 1) supports smtp authentication 2) can be easily integrated into postfix 3) is not too bloated with features?

better make sure they are

why would you want to support smtp auth? What's wrong with just connecting to localhost?

where can I get the correct repo files?

hmmm, let me read the topic first

I keep meaning to replace my mailman installation with something based on exilist, but that would be exim-based; not postfix. postfix is just too limited

dwmw2_PVG, postfix does not listen on localhost with my config. I trully do not want to change this because of the mailing list manager.

any particular reason for that?
you could make the smtp listener accept connections _only_ from mailman if you really wanted to, I suppose. But why bother?

um..how is postfix too limited?

i think i can add support to mailman to do smtp authentication over tls (that will be 3-5 lines of python). I wonder why such a software full of features does not support this

it is possible with postfix dude

because it's such a strange requirement. Why would anyone not just deliver to localhost?
because it's such a strange requirement. Why would anyone not just deliver to localhost?

Comments

« Previous entries · Next entries »