Table = vectorListchar**VectorSize if i right after that write if Table[123]==NULL — do this will that

vectorst…."

nick_fn, sort( vect.begin(), vect.end() ); you need to pass the first and the end pointer

you're using it wrong. sort(file_and_times.begin(), file_and_times.end())

what do you think about borland c++ builder?

bah, sorry!

we will use this for school

far too much Python in my head

:P

nick_fn, and you need a custom comparator

hey Adrinael, what do you think of my tagger?
aside from the obvious shit towards the top that's just there to make it compile for now…

because std

Comments

hi i have a table with low border colored and i want on cell when selected to make the low border dissapear is

webben, i'll try something'

more generally, your HTML is in quirks mode, so buggy behaviour is only to be expected
your html hosting is invalid /and/ it triggers quirks mode

oh…
how do i fix that
also do you notice that "quotes" dont work…

1) a copy of the spec (http://www.w3.org/TR/REC-html40/) 2) the validator (http://validator.w3.org/) and 3) http://hsivonen.iki.fi/doctype/ a guide to what doctypes trigger bugs
basically, declare and validate to an HTML 4.01 Strict document type
that cuts out a lot of browser differences (though not all)
it's just the only reasonable foundation for bugfixing

missing doctype

it is becuase i was experiencing things with quotes and what not

quotes?

like "
they scew up

do you mean: http://www.w3.org/TR/CSS21/generate.html#quotes-specify
or do you mean " characters entered into the markup
if the later, that's because of your encoding issues
http://www.w3.org/TR/REC-html40/charset.html#h-5.2 and http://www.w3.org/International/O-HTTP-charset and http://www.w3.org/International/O-charset have lots of information on how to fix that

webben, alright thanks

np

but right now i cant seem to fix the squished text

fix the other issues /first/. If you've got valid HTML and CSS and have fixed your encoding problem and still have the squished problem, please do come back
the whole non-quirks triggering & valid HTML deal is a sine qua non of effective bugfixing, because it cuts out a lot of bugs).

ok
webben, what doctype should i use?

!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"
(that's html hosting 4.01 Strict)

hello, can anybody help me with a problem that im having with IE7 ?

It's best to ask a specific question giving details and a URI/pastebin (as per topic). Not just ask for extremely vague expertise.

http://www.plusmediaserver.com/ross/

what would be the best way to make tabs?

and i cant figure out why i have the vertical seperation between the items on IE7

%
$

text/html, text/html; charset=UTF-8)

hmm … that's not what i wanted

hello
hey, how can I tell if I'm in quircks mode or not?
I had my page's DOCTYPE set to HTML 4.01 strict and I just changed it to XHTML 1.0 Transitional, but I think I see some minor differences in the way both versions are rendered by the browser

You might well, as Transitional triggers almost standards not standards.
(in some browsers)

??

see http://hsivonen.iki.fi/doctype/

but I can't use strict, right? ’cause I'd need the xhtml mime type

(to answer your question more directly, see http://css-discuss.incutio.com/?page=RenderingMode
Eh? No you're confused.
(and that probably indicates you shouldn't be using XHTML to begin with)

I'm just further investigating about it
to see what I should be using

the document type does not determine what mime type you should use.

no, I know

XHTML of any sort should be served as application/xhtml+xml. XHTML 1.0 of any sort /may/ be served as tag soup text/html.

but I read somewhere xhtml strict or 1.1 require the correct mimes to be set
maybe it was for 1.1

There's no difference between XHTML 1.0 Strict and XHTML 1.0 Transitional and Frameset in that regard.

I see

1.1 /must/ be served as application/xhtml+xml

which many browsers don't support at any rate, right?
so I probably could be serving xhtml 1.0 strict instead of html 4…

Yes. On what media type to use see: http://www.w3.org/TR/xhtml-media-types/ . On some practical problems with XHTML (including that one), see http://webdev.benjaminhawkeslewis.com/why-not-xhtml

1 using zhtml is not going to make stuff better
crap I mean xhtml

Unless you're using inline SVG or MathML or ARIA roles not possible in HTML, there's little or no advantage in using XHTML. And there's /no advantage whatsoever ever/ in using XHTML 1.0. Which is all you can use for IE anyhow.
(that's an exaggeration, but it's not much of an exaggeration)

it's just that for some reason most of the code I wrote is in xhtml, I think

ooh … also ruby is in XHTML 1.1 … but not implemented except in IE (that doesn't support XHTML).

and meta /

all those articles you find about xhtml being the next great thing are also dated 2000

It's relatively trivial to convert between the two.

but I found out html 4.01 doesn't support those

tidy will switch the two

so I started reading what was it that I did wrong
(so to speak)

i'm doing HTML 4.01 strict and the only difference is that forward slash for those omepty tags

Amenthes, mainly, it seems, yeah

tag enclosed

Standards compliance mode (in the info dialog)
(to both)
(both versions of my page, that is)
but still they look a little bit different…
any idea why?
(why that might be)

Kronuz, well, teoreticaly an XHTML page should have an XML prologue, that page will render in quirks mode
Kronuz, post some links

I'm not sure those dialogs distinguish between almost standards and standards (they may do, I can't remember).
but we certainly can't get into specifics with URIs or a pastebin

yeah, just reading about the "almost standard" layer

s/with/without/

or layout, sorry

s/lay(er|out)/mode/g

makes it quirks in IE6 (for XHTML 1.0 strict)

I guess if I du use XHTML 1.0 I should be using it without that XML host declaration

Kronuz, XML should have an XML prologue

"please note that the XML declaration makes IE 6 (but not IE 7!) trigger the Quirks mode"

screw xhtml

XHTML 1.0 served as text/html isn't XML. (It might survive being parsed as XML. Sometimes. )

and also "The XML declaration is not required, so omit it unless you want IE6 and Opera 7.0x in QuirksRenderingMode. The XML declaration will not by itself throw IE7 into QuirksRenderingMode."

Kronuz, these are just excuses to use XHTML served as text/html

hehe

can I use float on a non-block element?

helloRobot, yes, but it would make it a block one

yes

thanks

I can't figure out why two events in this calendar are sitting on top of each other in IE6 http://demo12.csquaredtech.com:9080/plone/events
I've tried line-height ..

Possible to set max width on images with css?

you try it yet?
]]]max-width

max-width http://www.webdevout.net/browser-support-css#support-css2propsbasic-maxwidth (IE 6: N) (IE 7:50%) (FF 1.5: Y) (FF 2: Y) (Opera 8.5: Y) (Opera 9: Y) (Konqueror 3.5: ?) (Safari 2: ?))

50% with IE7? Is that a patch issue?

read it to find out

patch issue?
it supports it well enough for most typical usage

just curious why it said only 50% of IE7. Stinks that IE6 doesnt though. hmm

yeah, have to read it

riddle me this #css
i have 3 divs "in a row", both the first and third div are known widths, how do i set the middle div so it will stretch in the space left over and work in IE/FF/Opera
no zoffix?

divs don't arrange 'in a row'
how have you done that?

is there some special trick to centering a 16 pixel image to an 18 pixel line height?

all the ways I can think of accomplishing that effect would already have your middle one stretching to fill hoizontal space

CodeOfficer, why not just pad it from the top by 1px?

ooo thats some good thinking
thx Thecks
– not a css guy

No problem, its nice when you know how big its going to be
I hate it when its dynamic values :p

haha no kidddin
i feel safer in the code heh

Dewi, thats what i want, to fill the middle space somehow and put them all in a row

~bin
i need some help
can i paste my code somewhere

pastebin.ca

hi, i have a table with low border colored and i want on cell when selected to make the low border dissapear, is there a way to do this?

http://pastebin.ca/670821
my rollover is not working
for button_admin
can someone tell me why/
tnx

o, ok got it, with 0 cellpadding works fine

any help?

hey, in a div, is it possible to make it 50% in its width but without counting the padding and margin? like I want to make two columns out of two divs
but I want them to have some padding
and if I add the padding the divs I suppose get wider than the 50% and the float goes down

anyone know if there is a channel to ask about color coordination and design?

you can ask here

anyone around that will troubleshoot my css layout, its near perfect but i have some issues
253 users and you're all silent
what a great channel

any help on my problem?

hey, is there a way to validate html directly in firefox?

if there was, it would be on the addons thing at mozilla.org

opera can do it

in other words, not by default

oh
I'm using the w3 validator, but I can't validate pages inside the user's accounts
it now validates nicely as XHTML 1.0 Transitional

you can upload a page to the validator
opera can do it

hehe
opera, how?

right click on the page, click "Validate"

that simple!?
nice
whoohoo!! "This Page Is Valid XHTML 1.0 Transitional!"
I'm getting that all around
it was a tough job and there's still a lot to do, but I'm getting there

so who is the css layout ninja

whats your question?

i have a layout almost complete but it has 2 issues that I need to straighten out
http://jeffreywilliam.com/testing.php
my footer bar doesn't stay at the bottom correctly, and my content pane overflows

whats your question?

uhh, how do i fix it?
the question is implied in the problems i've stated
can you help?
did you crawl back underneath your bridge?

http://design.freakykiwi.com/ - see how when you hover over one of the iphone-y widgets the title comes up? how would I make it so that it doesn't move down but the title just comes up

text-align: center; position: absolute; margin-top: -1.2em; width: 100%;
try that

on which element

the span

k
perfect
thanks for that

np

willing to look at my layout and see if you can fix my 2 issues?

working on this site, http://dev.fczc.org/ and was wondering if anyone could give me opinions on color layout?
you can click the left link to cycle through the alternate style sheets or just use your browsers builtin method

]footerstickalt
]footer

http://css-discuss.incutio.com/?page=FooterInfo , http://www.themaninblue.com/experiment/footerStickAlt/ , http://reisio.com/examples/headerfooter/

try those jeffrey

q[bline]: i like style 5

hey, thanks jeffrey

hey, for a radio input, what's the proper way of saying it's selected?
(as for it to validate)

woot i fixed it
no thanks to any of you!

Does anyone have any idea what setting I'm missing or that I need to add to get rid of these extra 2 px's added to each LI by IE6 but not by any other browser? (http://www.browsercam.com/projects/372646/12605322.png = bad http://www.browsercam.com/projects/372646/12605323.png = good, see it for yourself at http://www.steamstudios.com/freelancer/justin/r22/about/index.html)
I thought I could quench all the IE6 bugs, but this one has taken me over a week now. I never knew a company like MS could piss me off so much .

Never underestimate your enemy

Skell, I wish I could have told Apple that 30 years back

MS

vista has best flashing progress bars

sounds ugly

they go up slowly so they had to add that

I'm lucky not to have been exposed to Vista…yet. I'm sure my cherry will be popped on some dark day of my future.

it's like ie7 but it is a whole os

hah, I like the description paotzu

clients blow

Someday we all will have to bow to the Vista
But thee shalth not fear Vista

or switch to mac/linux?

Fear what comes after it :P
Yeah, switching would be good

lol
this year was huge for apple
Apple is catching up
http://10layers.com/2007/01/2010-apple-larger-than-microsoft/

if you play the latest games, Windows is mandatory, otherwise you can use whatever just as good as the next

Latest games
I haven'
t played good commercial game
in a long time

so yeah, another reason why they say "Apple users are smarter"

graphikz
i 3 u

=D
3

Apple did great this year and will do much better when most of the average joe Winblows users realize how much easier the OS X platform will be on them.

in some ways, OS X is harder.

http://arstechnica.com/journals/apple.ars/2007/08/23/apple-notebook-market-share-making-gains-over-summer

Terminal instead of Task Manager for example

17.6% notebook share for apple is HUGE

apple users are smarter is like dumb tho beacuse alot more people use windows like all those chinese people

not surprised

graphikz, you don't have to use terminal to replace the function of task manager

well, it works better that way xD

Forcequit

omg to many flamin' hot cheetos

or right click on the icon in the dock and forcequit

yeah, that works to… most of the time

but you're right, terminal would be the full fledged eleet way to take care of business

but when all else fails!

nothing like a sudo kill -9

=p
thank god I have linux experience

in my experience, Mac users are dumbasses
but not because they use a Mac

there are some…
I just did a site for a guy that has a Mac
and holy shit, I must say he is retarded…

that's how it used to be

he can "video edit" on it
"video editing" meaning cutting parts out and adding shitty text

things have changed a lot

youtube editing

but it used to be "Mac is faster and better, even though I have never touched a motherboard in my life"

Well, I think that Stupid user and Windows don't match, considering the lots of… Random Error Generators, and unexpected disasters..

windows users are just stupid consumers

stupid users and Windows are a match made in heaven

would that guy have been made any smarter using a pc?
I mean, come on, would he even know what to do after his first virus or spyware?

he would have been smarter if his dad wore a condom

I think not
there ya go

did I say he would?
just that smarter people tend to buy Macs

no, but it was inferred that he was stupid because he was usign a mac

so I fixed my layout issues, anyone care to see my design?

as per jeffrey's statement that "mac user's are stupid"
perhaps they are, but they are smart in using a computer that probably will be more intuitively usable then some CS engineers wet dream joke of an OS that windows has become

i explicitly stated it wasn't because of use of a Mac

ok, you got me

I just said, in my experience, most Mac users are dumbasses aka computer and especially hardware illiterate
the proprietary nature of Mac used to compound those facts
but not so much anymore
and using a Mac certainly doesn't turn you into a dumbass

Mm, this would be good advertisements "Use Microsoft, we we will prepare you to facing the impossible", or so…

rofl

http://jeffreywilliam.com/layout.php
what do you think?

that thing of the bottom is kind of annoying

looks nice, but I would have the right column be flush to the bottom with the middle
(faux column style perhaps http://www.alistapart.com/articles/fauxcolumns/)

looks purple
pretty hot tho

I always thought apple should use Dell's advertisements against them

dude im getting an apple

"Oh, it's your 7th time sending your plastic PieceofshitC in for repairs. Hah!! Dude, you got a Dell"

hehe, when!?

dell has the best RMA department in the business

Perhaps they can borrow Nelson from the Simpsons for the "hahha"
RMA yes

super friendly

because they have to
hence the 7 times

actually graphikz im getting a new pc
should be coming monday
im pumped

My old roommate and I got eqiuvalent laptops, his Dell, mine an Apple

stupid ups doesnt deliver on weekends

His was into dell 7 times in 2 years, mine never had a single probelm.

I have had no problems yet with this..
Dells have SERIOUS problems
=D

like?

After working as the tech consultant for UCF's bio department, I saw the same shit happening with Dell

everything

I think they lost their edge personally

their hard drives

i have a dell laptop and its been fine for ever

like cheap ass made in china motherboards

i need to read some tutorial about floats

]float

THey use to make good stuff at a nice price, but they let quality assurance go by the wayside.

float @ DawnLight

pretty good support too sometimes

]float @ DawnLight

]float tutorial @ DawnLight

float tutorial: http://css.maxdesign.com.au/floatutorial/ , http://phrogz.net/css/understandingfloats.html
a href="http://css.maxdesign.com.au/floatutorial/"http://css.maxdesign.com.au/floatutorial//a , a href="http://phrogz.net/css/understandingfloats.html"http://phrogz.net/css/understandingfloats.html/a

CHeck out the PC annual readers satisfaction survey's
I wish they would get more factual on a 2-3 year period
not just the first 30-90 days
I'd like to see how many things break down on other PC's vs macs

]float tutorial]float tutorial 2]float tutorial 3]floattutorial @ DawnLight
agh

thanks

all those work

However, I fear Apple is also going the way of Dell now that it is putting out items in serious volume

idk
everyone buys apple for their looks and like o that guy in the movie has one i need one

do they have 2 buttons on their mice now?

lol

Apples are in like EVERY movie now =p

apples have always been in every movie
beacuse movies dont want to endorse microsoft

I remember seeing some Dells

yeah dells
but like 90% apple

I noticed that too, it's part of Hollywood's reality distortion campaign

they always have had two buttons on the Mighty Mouse
you just need to learn how to use em o.O

only 2 buttons
how do u live _

Fracture + Disturbia were probly the two largest Mac-movies
I use an MX518 =p

nah any movie is a mac movie thats not a computer like based movie

quick question guys… how do you get an iframe to be an equal height to the content it contains, to avoid scrollbars
?

dont think u can?

sorry to ask an html question here
but the guys in #html are baked

JavaScript flamesrock

javascript, eh

umm like legally blonde

flamesrock, we smoke too

haven't seen it

lol

all the people have apple laptops in the classes

I"m a california medical patient

and she like buys a pink one

use offsetHeight

gotta get rid of that excess anxiety some how
:0
doh

even in cartoons

offsetheigh hmmm I think that might be it
tx

Do you just want to avoid scrollbars?

no problem

yup

hidden;
=P

i saw like fairly odd parents the dude had a 'pear' computer which was basically making fun of the apple

accessibility issues

I wonder if you can use an overflow:hidden; style on it?
(i'm a noob, I am most likely way off)

it won't do what he wants

what do u need the iframe for?

he wants it to inherit the size of the content

yeah
but like whats the content

http://www.w3.org/TR/html4/present/frames.html#h-16.5

like maybe a php include would be better?

scrolling (yes|no|auto) auto — scrollbar or none –

well I have a gallery that I want to embed in my site
quick and dirty

bad idea

o

accessibility issues w/ no scrollbar

ahh

i wanna get a mac mini and call it big mac

lol
god I need to get paid
=\

lol
sux 4 u

mail + checks blow

paypal - $1.30 bullshit fees = gay

meh, I'll just make it some ridiculous height

lol

yeah like 903

want help w/ the JS?

i think he wants ssomething fast and now
height="103%"

http://www.dyslexitech.com/gallery.shtml
lol np this is cool

that works
thats old school

holyshitwide.

way I like it

graphikz who do you make sites for ? not gamers?

whoever is willing to pay my fees
which is normally not gamers

lol

yeah gamers suck dick
this guy wanted a full cms with users and shit for $85

I think I will be happy with IMG

thats like gas money

they give everything upfront
for your nightly runs to Taco Bell?

anyone seen this? http://www.nouptime.com/
hilarious

yes

rofl

I never saw joke-webs like that, I wonder if there is more
But with clever redaction, not any crap either

I would buy from them
if they were real

lol?

rofl Ruby on Boats

heh

they deserve it


if you say so

=D
I need to workout
brb
30ish

Dedicated Win 3.11 with Steve Balmer
now there's a package

what does he do?

_

throw chairs at the sys admin?

yeah

He jumps up and down and stage screaming like an ape while turning bright red.
That's gotta be worth something.

LOL!!!!!!!!!!!!!!!!!!!!1
omfg
zenergi, best sarcasm I have ever read

Hah, thanks, I'm not usually known for my humor. I'll admit, it feels good to vent after a week of trying to get things to work with IE6.

that's fucked up

Does anyone have a stat on what %age of the internet is using IE6? I know it's something atrocious like 20-30%

I think it was more than 60%

http://www.w3schools.com/browsers/browsers_stats.asp (anyone have a better stat?)

Zofbot has a stat

Poor Safari, I love that browser. It may not be safe, it may not really work, but it looks SOOOOOOO nice you have to use it

anyone still using IE6 is not allowed to visit my website
simple and effective solution

how can i make a floated element's parent increase it's height to contain it's floated child? see picture overflows parent div: http://www.awareness.org.il/thread163#comment-60

i wish I could say that but it's hard to turn down 37% of your customers
I do wish browser specific messages were used more, or at least some sort of effort to unwind some of Microsoft's monopolistic practices

Mmm, impossible…

flamesrock, you can take it even far than that and ban all win platforms  

i use Konqueror, which has the khtml engine, same as safari i think. love that browser

i should say, IE6/7 specific messages alerting users of the incompatibilities and what developers have to do to make things work with big MS

true, but windows users have the option of using a proper browser

How is that handled now in Vista?
are both automatically installed or does the user get a dialogue upon install?

both what?

Firefox / IE7

probably just ie7?

In Dreams I think
Why would microsoft want to promote FF

yeah?

Didn't they have to stop the autoinstall of IE because of the antitrust lawsuit?

evil i tell you

or did seńor bush throw that one out?

its impossible
the shell is based on IE

They are better to pay, than to change anthing, just like with DirectX monopoly

I don't think free IE is necessarily a bad thing in the current market

so then they should be forced to install FF or give the user a dialogue and a choice from a list of common browsers

At very least you need something to download firefox with

wget

That's good point

as soon as you login to the workstation, the core of IE is running
honestly, IE7 is decent

blasphemy

I beilieve that IE7 is more or less copy of other good browsers

well yeah

with still not good rendering engine
missing lots of stuff FF has for example

when I say decent, I mean an improvement from IE6

Yeah

however terrible that might be

Skell, I noted very similar rendering of FF 1.5, before 2.0 was out

konqueror is my all time favorite

rnst, you mean FF1.5 and IE had the same?

yeah
sorry
ie7

Or there was no upgrade from 1.5 to 2.0

IE6 should be pulled from the market
it is such a nuisance

zenergi, how can you pull out of the market something is bundle in?

say that it is illegal
and windows XP is illegal
it would work
more or less

lol
hm, so so
Latinamerica mostly use pirated windows

the law is illegal. anarchy will surface

DawnLight, party on
crackers ftw
:P

life
yey!

IE6 should be destroyed
and burried

and ie7 no?

in the desert

you're right, but at least have MS's auto update app notify the people their browser is shit and they should at least upgrade to the next revision of shit in the MS browser pile

ie7 is alright
not saying its great

zenergi, do you believe you can convince them?

the whole ms should be atomized

in that way?

Users are deaf, blind, and retarded

No, I think they like it that way

Yeah, this is the problem

I think they like to make people think that it's someone else's fault the site doesn't work right, not IE6

Heh

They could at least, make it up to standard, but that to is part of their plan

just say its ur moms fault for u being born

MS doesn't want to say that their old product is crap, they will look bad

They want to have their own standards
and ways of doing something
they want to monopolize everything

lol MS look bad? never!

more than already look then
looks
damn

bookz

they want to make the standards and we have a government that is run by the corporations like them, so you're right, perhaps my whining is wasted effort.

there was nice site, stopie.com

actually isnt homeland security shit built into vista?
so they can see if ur watching pr0n
lol

you need a new line, you used that one already on someone else
you need a new line, you used that one already on someone else

xD

which line

No, this is so you can't crack

"just say its ur moms fault for u being born"

and p2p :P

o
that line is so like 1 minute and 15 seconds ago

lol

hah

page going up ^
just make a redirect for ie6 and make it like a 1 publish your images online page
like the whole page is an image

Imagine how IE creators feel, when so many people call it crap

ie creators did it in like 7 minutes

phr0zen, you can always make it in Flash instead one image
:P

yeah that takes work tho

=o

Not too much

and work is just another 4 letter word
graphikz u9 doing some bench press

huh?
I am finished

the best web hosting way to give specific styles to ie6?

yes

I don't like CC so much
what about when ie8 got out
3 CC for one crap engine

cc?

conditional comment

o.O

Hi. I'm trying to put a graphic of a triangle under the selected list item here: http://paste.css-standards.org/23587 but regardless of which li is selected, it's always the first one, the one with the "selected" class, that is "lit up". How do I show the graphic under the selected li?
Hover works. Selected doesn't.

what other options are there?
I can't find any way to get these list items to space out right in IE6

This is straight out of Cederholm's "Web Standards Solutions".

cant u use like _style { }
or some bs

anything I do in IE6 breaks the style in every other browser and vice versa

that's not
valid
what you can do also is * html body w.e { }

vice-versa, someone is calling you

8px;

oh, no one is

not valid =x

why

cause it isn't
ask w3c

when did this happen

lol

does the star html hack work on ie6 too?

yeah star hack works
and it's valid

I noticed FF was picking up on my * html styles, perhaps I did it wrong

im gonna make my own validator muhahaha

when I do it I list every element leading up to it
you are gonna quit half way through

nah dude

I would put money on it

if (url == true){valid = true}

ahh, I'll try to be more specific and see if that works

lol

graphikz, if you want to spend your money so much, give it to me

who said I do?
=o

santa did

you are saying that for the second time

money on it as in a bet

you said you would paid that nouptime website

so I would win =D
I was saying if that was real hosting
I would but it

yeah, validator which checks the browser used by the creator, and if (Browser==FF){valid="HELL YEA!"}

but it's not =(
mhmm

elseif(browser==ie){system.explode}

lol

should make a flash simulation of that
like a guy goes to a site in firefox it works

flash blows

u blow

lol

I know

u and ur anti flash

flash is actually ok

lol

what about khtml, web kit (safari), and opera?

yeah its aight

I mean is the only way to do your website look exactly on every browser
but is then only thing good I guess

no
I can make it a giant image
lol

yeah cuz u stole my idea

what you think is bad in Flash?

I think flash is bad

Skell, the usability, accesability

^^

15«070015:072315:071015» 07{phr0zen07} like the whole page is an image

when was this

when they changed the validator
not valid
same exact time

oh

you ever gonna finish your site

I picked up another job
soo yah
I started recoding it
got all the tag shit done
and most of the blog

we should just move to flash based websites and be ignorantly happier :P

didnt before the backend said you were using ruby on rails
or use 1 browser
or have the government require we use 1 standard browser and be lethally enforced

I've gotten lazy about finding work

k im done being weirdo

Governent should say "FF is illegal!" then everyone would use it

lol

People love to do what they can't do

one IM and I got a job

MS is already trying to say that everything OSS is illegal

when it's that easy might as well send the IM

Nice

lol
DRM ftl

RoR was getting annoying
switched back to PHP
3 OOP

OOPz

that's what your parents said xD

graphikz, write a book on how to get job using the IM technique

You like OOP, so you moved AWAY from Rails?

lol

graphikz is like give me job or i hack u

I am used to traditional programming languages/syntax

really, that could be a best seller and later on feature on lynda.com

I remember one American college that said, "Do not use Firefox, it is a hacking tool like Kuzu"
Me too, but Ruby really appeals to me

yeah learn alot in college

really?

online resources for RoR are limited as well, making it hard to learn

wow

There are some good books

you need Agile Web Development with RoR to really learn it
never got around to it

plus there podcast

I bought it
and one day, I will get around to reading it

I have heard good things
my old mentor was supposed to send it to me
haha
I gotta finish up the JavaScript Anthology
^^ best book I have read so far in my life

sitepoint ftw
i got ripped on a sitepoint contest kind of gay
they like canceled the contest

I would rather read a web/programming book over literature any day
lol

and said someone else won and there design was like half mine and half someone elses

ha.
I heard of someone getting a scholarship doing that

sitepoint contests?

doing what
getting ripped on sitepoint?

Art
Someone just photoshopped together two wallpapers from Skinz.org

rofl

and won a college scholarship

thats bs

another reason not to go to college

if they can do that
i could get like a full ride

I too have become a Rubyist. I got scared away a few years ago, not I"m back with a fervor

Wow

It has all the structure of Java with none of the gruntwork

As far as the IM method, I know people and come highly respected and recommended

and I'll spend a week writing a perl script to do something that would take a day to do manually
just to avoid gruntwork

graphikz can u sponsor my team

no

I do love the ability to add the basic ajax you need without hardly a word of javascript, per se

lol
i dont even have a team

was that fastest response ever?

ruby is a beautiful language

lol

just wanted to piss u off

I don't like frameworks though
I like writing my own shit

not that I am any expert to say that , but it sure has reinvigorated my joy of programming.

I would be happy to write my own framework =D

im thinking of making an irc script so when people say sponsor in a query to me it says no

not hard
=p

i know
but it could get anoying lol

Frameworks save you work

they are bulky

from what I understand, RoR leaves that door open. Use Ruby to extend the current framework

had to do so with what I had done
I feel that I can stay more organized using what I know extensively (PHP)
just making everything into a function/class

graphikz wants to be like DHH
:P

do I?

lol

hmm, I guess we do have some in common
although I am much much younger than he

you are a flaming bastard too?

have you seen his girlfriend?

no
where, where

holy shit
she is beautiful
egh not as good as I remember
but here
http://flickr.com/photos/46457493@N00/206239230/
I don't like her nose/lips region

I don't like the rails fanatics, they can stop talking about it and they imitate everything that DHH do

graphikz ill photoshop here nose out
just for u

lol

she is not thaat hot

like I said
I remember her being better

in other pic?

may have been

maybe the cam didnt capture her beauty on that shot
:P

lol
damn cameras =p

In this code, http://paste.css-standards.org/23587 how would any of the list items that do NOT have class="selected" ever get "lit up"?

code typo

I don't understand how anything but the one list item which has class="selected" would ever be lit up.
By "lit up", I mean the graphic shown under that li.

#subnav li a
you don't need that
just have it be .selected
unless you have more than one .selected
other than that, it works for me

No difference after getting rid of li a, not that I thought it would make any.

are you hosting it locally?

yes

what is the url in your local address bar?

http://192.168.0.8:8000/directory/search/#

ahh
no brainer =p

The page isn't changing.
That's why.
It's an AJAX tab pane.
Damn.

url(site_media/graphics/site_assets/triangle-up.gif) no-repeat bottom center;
change it to that
you don't need the "s either

I don't think the double quotes matter.
I see the graphic.

assuming the whole thing is in the /search/ folder
hm
so what is the problem?

I just don't see it ever changing on select.
It changes on hover.

try adding a background color
see if that applies
green url(…

ok
I have the third li selected but the first one is still highlighted and the bg color applied to that one.

browser?

It doesn't matter which li I select, the first is the one that's always highlighted.
FF

maybe it's in your JS?
the selected is not changing

does the URL have to change for this to work?
The URL doesn't change.

you are using AJAX, correct?

Yes, when I click on the link, it fires off a query to the db an fetches stuff.

when you click the link
does the class="selected" apply to the link you click?
it must refresh or you must have JS do it
http://equitymma.com/tabs1.php example I did a while back

No, the class isn't changing, which is the problem.
If AJAX were not involved, how would it ever change?
Would it have to be changed in JS anyway?

yeah
that's what I do
there are more efficient ways than what I did

I've given up on efficient on this project. We have seven Flash ads on this page. The page is quite porky.

lol
assign each tab an id

So another 20k or so in JS would make any diff.

you can jack my code for all I care

I'm using YUI so I can probably do something there.

I am not familiar with yahoo user interface
sorry =\

I already have ids assigned to each li
I'm using YUI Grids too. Nice system.

anyway
ugh not really in the mood for explaining
you could put all the tabs in an array
and have a function switchTab(id)
it loops through the array, if the id in the array == id, set it's class, else, delete it's class
I am gonna hit the sack
night

good night

Can anybody help me debug a css issue quickly? I'm trying to take the css corners mentioned here: http://www.html.it/articoli/nifty/index.html but I'd like to have the borders appear individually, not in left and right pairs. Any ideas? Thanks!

morning guys
anyone knows whether ie 7 finally supports png alpha transparency?
without cruel image filter hacks

yes

cool..

I have a logo with PNG transparency and it shows up fine in IE7 but as a white blob in IE6.
My "hack" is going to be to feed IE6 a JPEG.

You know about AlphaImageLoader?
Works pretty fine, even tho it messes up your code a bit

Yes, but it's heavier than just feeding a JPEG.
Why bother?

Yeah, but JPEGs don't support alpha transparency either

The only reason I had the alpha transparency was that I could set the background colour in CSS anyway.

Ah, ok, then it's fine of course

So, PNG, bg colour bleeds through. JPEG, it doesn't. No hacks necessary.

Sure, but I got a background image and things are different then

In my case, it's just white text on a blue background.

Yeah, doesn't matter then
Here it's hibiscus flowers
Oops
You know, these flowers typical for Hawaii
damn, Xchat is going crazy

easy fix - no javascript was necessary - just added this to the Django page templates for each li {% if request.path|activePage:"/directory/foo/" %}class="selected"{% endif %}
…. where the name of the page was substituted for foo

Hello
anyone knows if it is possible to validate the whole website in one time instead of validating one page by one ?

you could download the whole website and run a local validator…
but i don't know any

How do you get the current location out of an iframe? getAttribute( "src" ) gives me the source that was originally set, not the most up to date location

Hey guys, rounded corners again.. Is there a way to make the outer parts of the corners transparent so that the background image is visible and not a white or whatever background? See http://dadark.ath.cx:3000/login and the corners of the login box

You could always make them as graphic with transparent color
unless it is a method
of drawing pictures at square's corners
and besides I
am not a CSS Tricks err, Enciclopedia
you don't have to write PX next to zeroes in your code
when defininf style

I know
Transparent images don't work

No, I can't help you
All I can do is wha tI need to do

Because the transparent part reflects the background color of the box
Heh, ok

You can always
shrink the whole box

So, anybody?

put the corneers outsidethe Box
and er. how to write this

Sure, but then I can't make the box resizable

hmm

I need to create corners for each size of box
so…

No, then I don't have ay more ideas

Thank you anyway
Whoa
http://www.cssplay.co.uk/boxes/chunky.html
Lovely

Yea, nice

I am displaying a list of countries from a text file, encoded in UTF-8, but in IE6 the first country has a square before it
in Mozilla or IE 7 I do not have this problem, the PHP file containing the list is also encoded in UTF-8
can anyone help me ?

You can do a workaround, PHP detects if browser is IE7, and if yes, then delete first character of first country

Odd. What is the character showing as square?

I don't know, when I send the form by e-mail, I cannot see the square, I can only see it when showing the page and by viewing the source

Probably a control character that somehow worked its way in
Can you delete it?

How ? I cannot see it in any editors

Which editors have you tried

I can try the tip of Skell, but if there is another way …

Oh, here's an idea.

Yea, you better find the root of the problem instead of doing workaround

Use PHP to read the file in, cut off the first character, save it back out to another file

or downlaod hexeditor
and take a look inside the file
it could also work

yes

wait

Now that I though, you could open the file in Notepad, Ctrl+a, paste into another notepad and save, but I can't say if it would work.

Skell I tried this
I opened with hexeditor
I can see something in the beginning of the file
but that is probably normal ?

plaintext files don't have any headers

oh

delete it

Notepadd++ must have added this when I changed format from ansi to UTF-8

the only other thing is if it is a foreign language character

ok

sounds about right

I'll try to delete it

It just reminded me of how my brother managed to create an Icon which made explorer hang when its graphic was displayed.

That's special
I used to have a song that crashed winamp
I never heard the end of that song
until recently, that is

And when I was doing something with one sound
and my comp crashed
then every time I pressed this sound the explorer crashed

nice

Also, I had similar song on Amiga

this is incredible, now by removing the character in Hexeditor, I have it working !

That's good

Yes, the song that crashed Winamp was sarcophaser.mod

Thank you

I forget if I ever tried it on Amiga

mathii, No problem
mine was called Nine Feelings
there was a theme of heartbeat in the back
and when it reached the climax

np

it crashed

nice
us Amiga people know how to solve problems

Hehe
I am not THAT amiga people
Though I raised on Amiga and c64

obviously not problems like
how to stop Commodore going bankrupt

When I was young, and I tried to load game in Commodore, I had to hold my breath and freeze so it can load properly from casette.
or something

and they'll be all
grandad what's a commodore

Ziliton was the best
http://www.aukcionas.com/post_b.php?id=74264
text in lituenian, but main thin is the picture

Looks like Sega a bit
but it's first time I've hear of it

it was reaaaaly popular in eastern europa

Hmm, Unfortunately I'm middle europe

Middle Europe is what Eastern Europe is called when it doesn't want to sound third-world

i think it was same as Sega, only from china

I see

You see lots of chinese knockoffs of consoles

We were pegasus addicts here
I didn't even knew that there was something like Nintendo

Ah, Poland. Thanks for helping us beat the Kaiser ('-')b
or was it the Fuhrer

Fuhrer

lol … PL .. its eastern , in my book

Poland, the Twin Duck country…
They say that we are the most advanced country in the world, because we have President's Clone :P

which president

Our President, Kaczyńki, has a twin brother

ah
His brother could run for president next
but how would you know which one was which
you could have the same president twice

We have no idea

I just read in some articles that the first characters were there to specify the file is in UTF-8 (called BOM chararcters)

out new president is an idiot
*our
thats a sad .. but fact

I know your pain
We are ruled by idiots since 1991
when we entered the democracy

At least you're not saddled with Gordon Brown

we had Vaira-Vike Feiberaga for 8 years
had
now its some guy who even looks stupid

It's worrying, if presidents are really how they look
Bush looks like a monkey

and acts the same

and Putin looks like a Bond villain

but he hasa brains
… and from way he speaks - a lot of 'em

ha

I need a page with a 230px header, a container beneath that that has a left part with dynamic width and a right one of 230px
how would you do that?
all the damn solutions I found just don't work

zoffix knows a link to do that
it involves floating one right, and giving the other a margin
I can never get it to work
I looked at the code and it's voodoo
there is no reason it should work

I think I know how to do this, but my English isn't THAT good to explain

did that
works like crap
dunno whats wrong with it.. keeps failing in Firefox

give a link?

the page has loads of code..
echangedesliens.fr

will css3 come and save us all?

SOmeday…

one sec

it'll come, but not save us all
it's lazy like that

won't it solve all the problems in this world?

can you have a look?

Dunno, I just tried it didn't work

weirdest bug ever, this thing works whenever the page loads quickly
otherwise firefox screws up

what do i do when my web hosting's ftp server is down most of the time?

buy new server

hey, its not my server

Talk with the admin?
of that server

nicely?

switch hosts..
I used to run a webserver, it usually means the admin doesn't care

i see…

Or that Admin is plain stupid/Incompetent/Both

maybe http://www.alistapart.com/articles/negativemargins/

It is 100% Nifty

Doesn't work for me…
damn
it works in IE but in firefox the content extends below the right bar

I have FF and the example wors perfect for me
if you are talking about http://www.alistapart.com/articles/negativemargins/

It's this god damned page
everything doesn't work with it
I never had so many problems with a single design
ah, nvm got it to work through some idiotic tricks that don't make sense
thanks CSS
it works!!!!
omg
at last..

Comments

I need help with new system I am trying to build - I cant get it to power up When I check the 24 pin atx power

i though my attempt at installing vmware might have don eit

nah, it's part of the mac80211 stuff.

hi all

hello
dead in here this morning

hello VileGent
was a bit more lively a while ago..you in US?

yep
i am a little lat but it is sunday
late

yep. was quite yesterday too, though

quiet

yes, sorry

hello yall

hello

meant to say quite quiet
hello dallix
did you come right yesterday?

hi frozety how are you?

won't complain ;-)

frozty_sa, that sounded like a too personal question

no it wouldn't work
it said that it couldn't find the file specified

whoops..it was about a tricky install. he can't use usb or cd to boot, but has an already existing installation

erreor 15

on boot?
^^

yes

grub error 15?

yes
hang on
http://fedorasolved.org/Members/frozt01100101/howto-install-fedora-when-no-usual-methods-can-be-used

dallix, grrr and you cant use a cd to boot into linux rescue

hold on, im going to be off line for a minute i'm switching to my other laptop.

did you read the howto?
OK

(the one with the problem
)*

not yet
not awake enough yet

he has an existing linux based hosting services install on the laptop involved. it's an etch and he wants to switch to fedora. so the boot problem is only for the kernel which will load the installer

here let me read the error messege to you,

haha…yes, that can be a pain
thanks

booting "fedora (installer)"
root (hd0,0)
filesystem type is ext2fs, partion type 0×83
file not found

OK. before you boot that further, can you do something?

press any key to continue…_
like what?

type 'c' to open the grub shell

you mean select debian
or press c for command line

no, before booting etch

or e to edit?

nah, c

\ok gide me
ok*

then type root (hd0,0)
then 'boot /' (without the quotes) and press tab twice
does there show a fedora folder?

frozty_sa, looks good but i think you should point at http://mirrors.fedoraproject.org/publiclist/Fedora

when i did the boit gave me error 8
kernal must be loaded before booting

.

I will change it accordingly. also, I need to modify it in accordance with the guiding template (yes, I know I'm guilty)

kernel*

OK. backspace all out, type 'kernel /' and then tab twice

here is the message:
lost+found eyc media initrd.img
var usr bin boot dev home

got it!
I know what happened
OK. press escape, and then 'e' on the Fedora installer line

lib mnt proc root sbin sys srv opt initrd vmlinuz selinux

beyl freezes my laptop, up tot the point that i need to powerof

^

ok i did that
what now?

hiyas all

now, edit the second line and then at the start where you had "/fedora-i" make it "/boot/fedora-i" for both those lines

someone able to tell me the name of the plugin / addon where you can have all your application icons on a ring at the bottom or side of screen .. sort of like how the mac does ?

a ring?

I think it's bdock for beryl. I'm speaking under correction though

He doesn't know what the Mac does.

i dont have either of those lines.
on the second line i have
kerel /fedora/vmlinuz askmethod
kernel*
then initrd fedora/initrd

OK. press escape, go to the shell again by pressing 'c', and type 'kernel /boot/' and then press tab twice. then look for the name of the fedora folder there, and add that to rest of the line which you type. so, if the folder is fedora, the line should read 'kernel /boot/fedora/'

ok will do.

then add 'vmlinuz askmethod' to that line as well (once again, everywhere without quotes), and press enter

ok

and then, on the new line type 'initrd /boot/fedora/initrd' (replacing the fedora bit here with the folder as you have it on your computer)
and then press enter, type 'boot' and press enter

hi is there any one hear for some advice ?

yup, ask away

i can not install my nvidia drivers

is this a driver problem or my nvidia card?
NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
with the nv driver works and i have tried my onboard works too

driver problem

but not with nvidia driver

i tell you i have been at it all day
i can not get it to install

which methods are you using for installation? from fedorasolved?

one min i used a website

http://www.pastebin.ca/654443

nvidia cards have a known pain with edid reading. you could try to manually configure your xorg.conf file?
loading

http://news.softpedia.com/news/Fedora-Core-6-Desktop-Effects-with-Beryl-38769.shtml
this is one of the sites i used

yes Option "DPI" "96×96" works for me

go to fedorasolved.org, use the nvidia installation instructions there

i will have a look but i downt there is a way i have not tryed
9th hour now

guessing you would know. my laptop's hd is ext3. if I want to defrag it, remount it as ext2 and defrag?

frozty i booted into debian

what dose su -c mean
im used to apt-get

can you tell me what files i need to find?

it executes a command as the root user

Ahhh

(in the boot file)

'ls -l /boot && ls -l /boot/fe*'

you will probably need to do it as root

frozty_sa, linux unlike windows takes of that its self
after so many boots it runs fschk

aaaah nice. just the problem is that the last day or two it has been very slow and I've heard lots of hd going. guess I'll force a fsck
is it fsck or fschk?

does Linux support loop back
i need add Loopback

how do you mean loopback?

frozty_sa, u knw in cisco router i can add Loopback interface
and give it IP
this what i need to do in linux

this is normally in already. it is called the 'lo' interface

yes there is one

how to get access to the filesystem in fedora7

but i need add more

and I know you can also add extra dummy adapters, though you'll need to google

ganesh, more info

as above, yes it's possible. google for adding dummy network interfaces in linux

hold on i'm switching from my other laptop to the debian one.

ganesh, what exactly are you trying to do

"error- access denied" while installing vlc player

you need to be root

how are you installing

yo frozty, didnt get a chance to say shot yesterday

ganesh, how are you installing

hey there
shot for?

VileGent, got the error after typing "make install"

OK, my printer is almost dead, and I'm looking around for a new one. Anyone have a particulalry good experience with their printer ?

why are installing vlc from source
ganesh, uname -r
ganesh, rpm -q livna-release

frozty_sa, beimg a connection into your company

mkay. you said you're from pta, right?

VileGent,i m new to linux……where to write these commands

frozty_sa, yep

ganesh, open a terminal
you are new to linux and you are trying to install from source why?

i chamged my kbd to dvorak, things are too slow, brb

VileGent,then how to install?

to dvorak?

answer my questions then we will get to that
ganesh, since fedora is build on rpms and has wonderful rpm utils to make installing stuff easy

VileGent,i didn't find it in d installed prgms list..and got an error while using mplayer…

ganesh, uname -r
ganesh, rpm -q livna-release
ganesh, mplayer and vlc are not in the normal fedora repos because of patient issues
so you have to add a third party repo called livna

hi people

hi

does anyone of you know what's up with livna?

what do you mean?

VileGent,then how to play media files……and which is d best player?

i can't update the package metadata

ganesh, answer my questions

does it complain about "package metadata does not match checksum"

elite01, yum clean all && yum install yum-fastestmirror

well, i can't connect to http://rpm.livna.org/fedora
fedora packages work, just livna's don't

almost there have to switch the buttons on my kbd

elite01, is right it appears the repos server is down
elite01, is right it appears the repos server host is down

yeah, I saw that too just now elite01

then when livna gets back up do a yum install mplayer vlc

yes, so i again ask if anyone knows about it
it was down once before but reappeared after a while
hmm i can access it via ftp

it's supposed to be a better layout for keyboards, but my muscle memory was giving me gripes http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard. I will have to do it again some time…

(like ftp://livna-dl.reloumirrors.net/fedora)

VileGent,k thanks i will do that……..

elite01, so they web server is down

hahahahaha

looks like it

there
ganesh, uname -r
what is the result

no thanks. I'll stick to my qwerty

imagine trying to log in when only my profile layout is set to dvorak, a true test of touch-typing…

VileGent,i m chatting from another machine n prob is in other 1..

ganesh, you can type

hi i'm back
my laptop over heated
sorry

hello dallix_
np
here is the command again. 'ls -l /boot && ls -l /boot/fe*'

thanks
here is the url http://rafb.net/p/CbyRTD85.html

VileGent,command not found

"command not found?" A: Run the command AS ROOT after switching users with "su –login" or "su -" in order to get root's command PATH so the command WILL be found; don't run "su" by itself. If it's still not found, then either it's not installed in a standard path location (echo $PATH), is
not executable (chmod a+x), is in your current dir (./runme), or you've spelled it incorrectly.

uname -r is not found then you have other problems

I'm loading

cool,

'ls -l /boot/fedora-i/isolinux/'

ganesh, you dont need to be root to run uname -r
it should return something like this 2.6.22.1-41.fc7

why?
why

frozty_sa, because you need to reverse the polarity of /dev/null

you want me to do that in the terminal?

haha
yes please

and give you the output?

ok time to go to dennys

yes please

IHOP is better!!

remember the path we changed earlier?

no.
here is the paste http://rafb.net/p/rf3mni52.html

become root
by su -

ok next,

'vi /boot/grub/menu.lst', go to the fedora installer lines, and in the kernel and initrd lines replace the "/fedora-i/" bit with "/boot/fedora-i/isolinux/"

i can't edit the file.
i am root but it does nothing

oh yes, press insert

thanks
this is not helping now if i press up i get a line contaning the letter A
down gives me a line with a letter b
etc.

OK. press escape twice. then :q!

ok

then "nano -w /boot/grub/menu.lst", and replace the lines same as above

i did that
how do i quit nano?

OK. can you quickly paste that file just so I can check that it's fine?
ctrl+x to quit and save

thanks
http://rafb.net/p/6pswSQ93.html

thanks

welcome

alright. it seems correct. kick it (kick being synomous to boot)

all right if this works (or not) i'll be back soon

1 mono ccnet.exe", which command can I use to extract the second string (e.g
?

cut command i guess

thank openbysource, looking at its man page

hi frozty_sa
it didn't work.
i got error 15, again :-)

darn.
error 15 = file does not exist?

openbysource, but the "cut" command take a file as its argument, can I use a pipe stream as its argument?

tinh, yeah i guess you can.

morning

evening

does any know of a linksys wmp54g linux host driver?
i havent located one onthe net, but just thought Id ask.

snarkster, find out what chipset it uses
i am thinking its atheros

hmm how to do that?

then in that case you can use madwifi
google

yes it's atheros and it will need madwifi

snarkster, rpm -q livna-release

ok well i did finally find it in the network control.. its called itself eth1

so do you have any idea's
ideas*

iwconfig shows it active, i do dhclient eth1 and it shows link is dead
i think the radio is fried..

snarkster, rpm -q livna-release

package livna-release is not installed.

rpm -q madwifi
snarkster, rpm -q madwifi

I do, but it's gonna put you at shell again. you'll need to manually load the kernel and initrd as we tried to do earlier, because of the funny folder structure there

nadwifi-0.9.4-38_r2512.fc6

which one,

where did you install that from

this is my mythdora box.

the bash shell or grubs shell?

ok sorry that means its atrpms, i can not help

grub's

oh boy.

the atrpms stuff is only the mythtv software
i have the fc repos instlaled as well.

can i change the folder struckture manually in debian?

yeah…you're gonna need to be tab-completing it so that we find the exact path -

lol

yes we can move files, if you feel comfortable with moving files in cli?

never heard of it,

any other test to see i the radio is working or not?
if even

but is you tell me what to do i am cofertable
comfortable

yah thanx

cli is command line interface. OK, here's what you would have to do. become root. then type "mv /boot/fedora-i/isolinux/* /boot/"
then "nano -w /boot/grub/menu.lst"

any suspend on dell d520 gurus around?

then change the lines we changed earlier to be "/boot/fedora-i/isolinux/" to be just "/boot/vmlinuz askmethod" and "/boot/initrd"

after the second command all i have on the a screen is a blicking cursor
no text at all

try scrolling up, see if it does anything

sorry found the problem i didn't type the .lst
ok i did that what now

hi all.

reboot again. see if it boots now
sorry this is taking so many tries..

what's the name of the tool that configures xorg from the command line? i copied a preinstalled FC6 into qemu and ran 'sudo X -configure' and it froze the console, i rebooted, i saw that it had output an xorg.conf and i use that and it finds everythign but has no screens.

ok i'll boot and chat with you again first thing.

how can i enable NFS ?
in fedora 7

for an nfs server enable portmap, nfslock, nfs services. And configure nfs server through system-config-nfs.

where can i find portmap, it's not in yum, and i didn't found it anywhere

portmap no in f7
rpcbind = portmap in f7

ok, thx

ouch.. i'm getting old.

:-)

ok that didn't work again i got the same messege
but this time i think i found some thing

I'm reading..

the file with all the data about fedora is on my desktop
it is clled fedora
called*
if i remeber you moved it to /boot/
what do you think

yes, it should have moved there..

mabey you could do a remote desktop on my laptop to do the nesissary stuff

well…can you give me ~15 minutes? I need to quickly do some stuff. then I'll write you a script that should put all the stuff in the correct places etc…
yes, I could maybe do that

problem with revisor
i created a F7 DVD iso with revisor, using as source the original F7 X86_64 DVD + updates repo….
now when i boot with that burned DVD, i reach a Kernel panic ….. could not start init. Use init= ….
somebody can help me with that ?

i am trying to connect to my Wifi network, and when it tries to receive an IP address, I get an error message that there was 100% packet loss when pinging the router, while i know what this means literally, I'm not certain what the next step is, the card is detecting the AP…

perhaps your AP rejects pings. How are you connecting? NetworkManager?

nirk- so far, via the GUI network device control

what is the exact error you get?

nirik- hango n, have to let it timeout again
(can't copy to pastebin since the pc in question has no internet, sorry)
Determining ip address host information for ath0… PING 192.168.1.1 (192.168.1.1) from 192.168.1.107 ath0: 56(84) bypes of data.
— 192.168.1.1 ping statistics — 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms , pipe 3 failed.

hello! I want a link for download with F7 netinstall cd .. who knows?

knows what

CaspeR-Bz: go to docs.fedoraproject.org

thx

CaspeR-Bz: read there on how to do a netinstall

nirik- any help? seems a bit non-perscriptive to me…

yeah, odd. Where do you see this? In a GUI popup?

nirik- well, when booting it's in the log, but if i click "activate" this is the popup, yeah
no, if i go to the terminal and /sbin/dhclient, it logs onto the network fine
but i'm not certain how to replicate this on startup everytime
(i just tried dhclient, didn't realize it was going to work)

can you now ping 192.168.1.1 ?

yes, ok, it seems that i have to run iwconfig (with the key) before dhclient works
so maybe it's a WEP problem?

Yeah, could be. Can you check your /etc/sysconfig/network-scripts/ifcfg-ath0 file and confirm it has the right KEY in it? Or check via the system-config-network GUI.

i ran 'sudo X -configure' and instaled the resulting xorg.conf. does anyone have clues why there are no screens found? http://smuckola.org/etc/Xorg.0.log

what is the real home of mythdora, I'm seeing many links?

nirik- weird, theris n' KEY field
is it KEY= ?
n' = no

is it http://g-ding.tv/?q=MythDora?
oops, sorry folks
wrong channel

no idea, can you try 'system-config-display –reconfig' ?

Read /usr/share/doc/initscripts-*/sysconfig.txt.

yes, it should be KEY= for a wep key… you could also try using NetworkManager…

I had a similar problem a long time ago. can you post you xorg.conf (rabf)

hey that worked, thanks

Glad to hear it.

i wonder why that worked but 'X -configure' didn't
oh well!

the man page says X -configure is not known to work for all setups… so I suspect it's just not working right for your particular hardware.

nirik- is there a RPM/yum version of network manager?

yum list NetworkManager\*

yes. 'yum install NetworkManager nm-applet' then 'service NetworkManager start' and use the applet that appears in your menu bar.

ahhh, it's the \* that i was missing to get list to do anything useful
bahhh, it's the \* that i was missing to get list to do anything useful/b
indeed
i started the service, but am not seeing an applet anywhere

I need help with new system I am trying to build - I can't get it to power up. When I check the 24 pin atx power cable with tester the -5V led doesn't light. Is it likely that a new power supply would be defective?

Log out and back in.

mgstroud, it isnt likely, but it is possible

Darth_Tux:When I plug the cable into the motherboard and try to power up nothing happens I don't get power to fans, ect. Howerver when I am testing the 24 pin plug the fans work? Any ideas?

ivazquez- no dice

mgstroud, anything i could suggest would be a blatant guess
but i like blatant so here goes

are you using gnome or kde or something else?

kde

loose plug? loose wire, bad PS, bad MB

Hello. What is a simple command to encrypt / decrypt a string of text from the commandline ?

ok, 'yum install knetworkmanager'

knetworkmanager.i386 is already installed

mgstroud, look here http://www.daileyint.com/hmdpc/manual.htm

I have had two bad mother boards out of five, gigabyte and abit. I am trying ASUS now. Is it possible to screw up mother board by reversing plug, etc?

most are set with pins so you cant do that
but i havent built anything in a few years

Dell keeps pushing back my ship date, so I'm thinking of getting a Mac. Anyone know of successful F7 installs on the regular MacBooks?

ok, not sure if you need to run that or if it runs an applet… can you try running it? knetworkmanager should talk to NetworkManager.

nirik- i did, and it's created some output, hang on, i plugged in the ethernet, so i'll pastebin

so… yum has fastcgi but no applications that support fastcgi
anyone know what is up with that?

It's because you haven't stepped up to package and maintain any.

Thanks fro your help and the link. I'll try a little trouble shooting now.

so thats fine if its like my-obscure-app-fcgi but there are _none_, so there should at least be one or fastcgi shouldn't be in yum

my pleasure

http://pastebin.com/m237bf57

A lack of current use cases isn't one of the determining factors for what Fedora includes.

humm…that seems to be blank…

grr, hang on

that is fairly retarded

Why?

ivazquez, because you need to reverse the polarity of /dev/null

what good is having fastcgi in the tree if you can't use it without building your own stuff?

because you can use it if you build your own stuff?

http://pastebin.com/m237b7f57

mgstroud, PM me if ya have questions, or come to #enx

ok, what does 'service NetworkManager status' give you?
also, 'service messagebus status'

both are running

hum. So I assume knetworkmanager doesn't really seem to work after that?

nirik - hmm, now knetworkmanager generates no output at all
oh
it's in my tray now!

yeah, it's an applet

right, i knew that, but jsut wasn't expecting it to, ya know, work

how do we switch from gnome to xfce?

switchdesk

you could also try wifiroamd, but it would require you to tweak scripts to do WEP.

nirik- ok, i'm connected
awesome
what do i need to do to get everything working on bootup?

one downside for NetworkManager is that it won't connect to your net until you login and run the applet…

wow i guess i dont have that installled.

or you can logout, and select Xfce from the sessions menu on gdm.

nirik- but i can have the applet autorun? and it should find and connect automatically?

i dont seem to have switchdesk installed. and i am not using xdm

yes, it should autorun if you logout and save your session…
ok, 'yum install switchdesk' ? how do you start your session? xinit ? startx ?

startx so far because it's in a vm

Hi

how can i install a .emerald file?
(sry for the repetition)
(my client froze for a sec)
i already have beryl installed

by clicking import on emerald-theme-manager

How do I set up and configure a DNS server?

You need to add it to your autorun apps manually.
You need to twiddle the ronol bits.

ivazquez, ok, i can do that, do i need to do something to get the default Network Device Control thing to stop trying to connect?

You mean the GNOME NM applet?

Which DNS server program is the most popular one?

ivazquez- kde

I have no clue what KDE does.

bind, i suppose

fair enough, let's see what happens on a reboot
heh, and ot think, i haven't even started with ivtv or lirc yet…

probibly bind, yeah… there is also pdns available in fedora as well…

once I install it, how do I configure it?

Are there any frontend configuration programs available?

any good tutorial for custumizing Fedora 7, i would also like to add a new po file for anaconda and add some packages to the ISO DVD for F7?

revisor

okay, but what about the new po file for anaconda?

Write it, patch it, build. Same as any other app.

build new rpm package?
okay, thank you

arangel, look at the revisor project

Are there any frontend configuration tools to use for DNS BIND servers? Also, I do not have my own domain name, but I have a Dynamic DNS name, can I use that?

revisor.fedoraproject.org

http://ch.jdg.info/mess/tominv4_test.mng

XulChris, opens for me with xine

thx
hrm VileGent when i try xine it says no demuxer plugin for mng

XulChris, **shrug**

f7 or 8?

f7
XulChris, f8 hasnt been released yet

and you opened it with "xine http://ch.jdg.info/mess/tominv4_test.mng"?

yes
yum install yumex and install all the xine packages

why would i want to use yumex?

so you can see all the packages as i was referring

im only missing the -devel packages and a couple gxine packages
whats wrong with just using "yum list"?

XulChris, whatever

yumex is evil

is not

its the worst of all yum guis
pirut can do the same thing

I have 2 pictures, can someone tell me what is wrong with them? http://i10.tinypic.com/52z3rj8 http://i9.tinypic.com/61uizo4

different strokes for different folks
pruit is even worse
XulChris, i told you how i installed xine and it works for me and it dont work for you so where is the problem

pruit doesn't install all the needed deps -_-

what are you trying to do? Need some context for looking at thos pictures.

hi, is there any way to install fedora on a vserver? is there any rpm for it? or any place i should be searching?

i have all the xine plugin rpms installed afaik

nirik, notice the KDE group is installed, but it didn't install KDElibs

unless there is another repo im missing

JKnife, yum provides kdelibs

you use xine from livna?

-_-

XulChris, yep

hrm

VileGent, I know that, I was saying pirut is effed up…

do you have totem-xine installed?

fwiw, iwl3945 didn't work for me on F7, freshrpms ipw3945 rpms worked right outta the box

XulChris, no

hmm maybe thats it

they used to conflict
i always remove totem

let me try uninstalling totem-xine*

bronx, yum updates has done wonders on that
JKnife, i dont use priut at all

yeah, the iwl didn't use to work for me, but has gotten pretty solid in recent update kernels.
yeah, thats weird. File a bug?

I hate filing bugs

no fila bug, no reason to complain

anyone ever had a problem (using nvidia's x driver, in my case) getting an hdtv to display the right resolution from dvi-hdmi? in my case, no matter what modes i set in xorg.conf, x refuses to display 1360×768 (the correct 720p for my hdtv), instead displaying only 1280×720..

no fila bug, no reason to complain, no fixa

cause it is always 6mths later before they say anything and it is always try the new version or that is how it is on most software

hi all

hello

uninstalling totem-xine didnt help

HI everybody

any program out there for linux similar to pocketdivx for win ?

what is it?

How do I configure pdns?

i'm pretty new to linux. i have running fedora 7 with apache installed. i have my own register your domain name name. what else do i need to run my own web server? what is a good tutorial site?

hmm i even have a /usr/lib/xine/plugins/1.1.7/xineplug_dmx_mng.so installed

gn00b, fedorasolved.org

you have a static IP address or a dynamic dns service?

ah it works if i download it first

jamonation, dynamic. i have a zoneedit account (but don't know how to use it yet)

i cannot start k3b http://www.pastebin.ca/654643

How do I configure my DNS server?

which dns server? bind, powerdns, there are quite a few

i have -41 kernel, no dice with iwl :-/

powerdns

try http://www.howtoforge.com/perfect_server_fedora7
http://downloads.powerdns.com/documentation/html/

try the -52 one… http://koji.fedoraproject.org/koji/buildinfo?buildID=13350 ?

ok!

jamonation, i just completed that. now i'm trying to get it connected to the domain that i own. can you help?

how bleeding edge is -52 ? std repos don't push that to me

it's not yet released as an update, but it has newer wireless stuff in it.

jamonation, actually, i got all the way to the end, and when i tried to install ISPConfig, it couldn't open my domain and i couldn't go any further

right, glanced the changelog, wireless updates from last wednesday

-52 is the first kernel that starts m iwl4965 on boot up, I have had to restart the network with the earlier kernels

sounds promising, I guess

I looked at the link, but I cant find anything about configuring the server.

It's only abuse of op powers if it's unwarranted…

What are you talking about?

Hey besides Thunderbird, Evolution, and Balsa are there any other GTK based mail clients?

tyler-wylie: yes, I like claws-mail myself.

nirik- i have knetworkmanager starting on bootup (and NetworkManager is chkconfig on), but do you know how to get it to connect to the wireless network without user intervention? additionally, it seems to want the WEP key everytime, despite being saved in kwalletmanager

I'm talking about help vampires.

you would need to set it to autologin to your session, networkmanager doesn't connect until you run the applet. No idea on the wep key, it should save it I would think.

lol

nirik- i'm not seeing any options anywhere for an autologin, unless i'm just being dense? as for WEP, i followed the directions on the opensuse.org site, and the key is IN the wallet, it just isn't trying to check the wallet until too late
nirik- i'm not seeing any options anywhere for an autologin, unless i'm just being dense? as for WEP, i followed the directions on the opensuse.org site, and the key is IN the wallet, it just isn't trying to check the wallet until too late

do you use gdm to login? or kdm? with gdm you can run 'gdm-config' and set it to autologin to your account.

nirik- oh, wait, my user account automatically logs in, i thought you meant the wifi network
nirik- on bootup, it runs knetworkmanager (i put a symlink in ~/.kde/Autostart)

http://www.slash7.com/pages/vampires

it's jsut that i physically have to tell it to connect to the network and then enter the key in the config panel (after it tries to get an IP, i get a popup about trying to access kwalletmanager, and needing a pw to do so, which is also something that iwll have to be bypassed)

nice link…

there are other forms of vampires in FOSS also

anyone know if the Fedora 8 Test 1 Live discs are working well?

anyone ever had to trudge through setting a ModeLine for an HDTV? if so, any advice for places to read up on how to do it? my Xorg log file isn't spitting out too much useful information… :/

can you post the log file somewhere?

sure can
http://ifup.us/~jeff/Xorg.0.log

hello everyone! im having some wireless networking issues!

freakin' nvidia driver not telling me what mode it sets.

yeah, i know :/

what mode does it end up doing? xrandr or xdpyinfo should tell you

ask your questions… we can't help until you explain the problem.

i'm not sure how to get this ModeLine nonsense working
well, it puts me in 1280×720, which isn't this HDTV's native resolution… rather than using 1360×768

im the router i assigned the laptop an ip and entered its mac address
now i cant configure the laptop to connect to the router

seems like the nVidia driver understands a "safe" 1280×768 default but has no idea what to do for 1360×768

any ideas?

doublecheck the mac address? see if your ap has logs where it shows whats trying to connect?

the fedora X server has built-in timings for 1360×768; you should be able to just say that in the config file instead of 1360×768_60
that said, can i get an X log from trying to run it with the nv driver instead?

nothing in the logs
pain this is
i dont understand why it doesnt work anymore
what is the command to get mac address

you can find it in the /sbin/ifconfig output.

ifconfig eth0

hi fro\ty
frozty_sa*

want me to switch it to nv and use "1360×768" instead of "1360×768_60" ?

or rather…ifconfig device

i am installing fedora via a minnimal boot cd.

either one. nvidia + "1360×768" might work, but i'd like to see what nv tries to do too (since that will show me the properties the monitor reports)

i don't know what to enter in the ftp feilds.

my battery charge icon is no longer working, crashes every time i load it (GNOME)

read the install guide

dont know what i have done to it, it worked when i first installed fedora

where is that?

http://docs.fedoraproject.org/

thnks\
thanks*

it goes dirrectly to bug buddy

report the bug? Did it used to work? what changed (did you apply updates? hardware change any?)

It worked until i added fluxbox

will do; also: http://ifup.us/~jeff/xorg.conf is my config file, for reference if you need to know anything about it
(aside from the fact that i just changed the driver to nv)

http://www.pastebin.ca/654692

er, where is koffice on the kde menu?

i have sense updated the whole system

all i see is open office in fedora 7

Oh i also installed a new kernel, would that effect it?

it could.

I will give it a r-boot

oh
it's koffice-suite in fc7

sweet, i got the information with the nv driver, i think
it still displays the wrong resolution (1280×720) but it did give me the information for 1360×768
http://ifup.us/~jeff/Xorg.log
whoops, sec

it was the kernel

http://ifup.us/~jeff/Xorg.0.log

something between 2.6.23-rc1 and 2.6.23-rc2

hey, cool, broken monitor
it's giving you 1280×720 because it's claiming that's the preferred size.

interesting
because it lists 1280 before 1360?

yeah. note the line:
First detailed timing is preferred mode

how neato
how can i get around that?
can i specify the ModeLine manually in xorg.conf?

Not using driver mode "1360×768" (exceeds panel dimensions)"

Hello. I did a yum upgrade from FC5 to FC6 and then again from FC6 to FC7. Everything went well, as far as I can tell, but I can't boot with the latest FC7 kernel. Udev hangs on boot in udevsettle. I'm currently booting with an FC6 kernel instead. Any ideas what might be wrong? (And yes, I've
read the FAQ and have labeled my drives, etc.)

well, with nv, you won't get around it at all, because of this line:
(–) NV(0): Panel size is 1280 x 720
^^ that line is a report from the panel setup engine that the nv driver uses; nv _can't_ go bigger than that, period

so is there any solution to the problem? perhaps with nvidia's driver?
IIRC there's an option for ignoring the panel size that is reported
Option "ModeValidation" "NoDFPNativeResolutionCheck"
that would ignore it, if i'm not mistaken

might do, yeah. i seem to be looking at an old version of their readme.
yeah, i'd play around with that. but i think i'm at my limit of knowledge about the nvidia driver; you might try asking #nvidia as well

hmm, okay; i'll fiddle around with it a bit now that i at least know the proper ModeLine (i'm assuming nv's log output is correct and that i can construct my own modeline with it)
hopefully with the right modeline set, i can use the ignore native resolution check option along with "ExactModeTimingsDVI"

when i depmod -a, i am getting the following error message: WARNING: Couldn't find symtab and strtab in module /lib/modules/2.6.22.1-41.fc7/updates/sound/acore/snd-rtctimer.ko
any ideas? even commenting out every line of modprobe.conf doesn't prevent hte message, so i'm a bit confused as to what is going on with it

your monitor also reminds me to finish implementing EDID extension support

Run rpm -qf against the file.

it's a Sharp Aquos LC-46D43U; don't blame me
tell Sharp their default sucks

I ran into some hardware problems the other day, so as part of the diagnosis i was tried out a different video card to see if it was the culprit. luckily, it wasn't, however now when i boot into x it no longer shows the nvidia load screen thing and my computer seems somewhat slower now

ivazquez- module-init-tools-3.3-0.pre11.1.0.fc7

indeed. i should try to buy one of those.

Is there a problem with my drivers?

snd-rtctimer.ko is in that package?

Costco dropped their price tremendously, something to the tune of $400 off of MSRP; make sure to order one online from them to get the savings, if you buy one

wow, 46". biiig pixels.

ivazquez- wait, i think i might have run the wrong thing, hang on

yup
46"

shame it's not 1080 though

went with 720p rather than 1080p to save $

but shiny

because, to be honest, i don't have anything that's 1080p (i'm NOT spending $500+ to buy a bluray player :P )

ivazquez- alsa-kmdl-2.6.22.1-41.fc7-1.0.14-61.fc7

…aside from my computer, that is

ivazquez- sorry, i ran it against modprobe.conf, doh

ps3 has upscaling now. although that does require buying a ps3.

Run rpm -qi against that package. http://www.rafb.net/paste

Anyone know?

yeah, i thought about it, but it's just so much money to drop overall, for the capability of playing blu-ray

why not spend $500 on a blue-ray dvd drive .. then $20 per disc .. .. c'mon .. why not?

that, and, playing movies/games on 720p looks "good enough" for my eyes
plus, being able to read this irc chat from my couch is badass
haha

nod. if i get one it's not because it's a blu-ray player, it's because the lack of fsaa on all my ps2 games is starting to get irritating.

true enough, just depends on what you want from the tv

ivazquez- http://rafb.net/p/8QA1HL51.html

the dangers of hacking X. ugly graphics start to drive you up the wall.

do you have atrpms enabled and have you done a full system update with it enabled?

You're going to have to ask someone at ATrpms what's wrong.

opsec- it is enabled, but i'm not sure i've done a full system update, i can though

no

http://fedoraproject.org/wiki/JohnMahowald/ATrpmsWarning

do NOT do that

If my nvidia drivers are messed up, do i need to unintall anything before re-installing them?

i prefer to act as if atrpms doesn't even exist as a fedora repo

only fedora

hi I am new to fedora and I would like to know the command equivalent to a dpkg -l on debian

EvilBob, so that's a no then?

do you like the game "russian roulette" ?

alexIdoia, does that just list packages?
(installed?)

What does that do?

sup funk?

hey richie

how you been?

right, this is why i had not done a full update w/ ATrpms

well yes and then I grep it, actually I would like to ask the system to see if some package are installed

oh noes, we have bob, rjune, opsec and ivazquez in channel at the same time

sexy as always

are the stars aligned funky?

it seems so

alexIdoia, rpm -q ….

hmm. the monitor does pass my edid conformance tester

we've got a maestro too

clearly the tester is insufficiently mean.

EvilBob, so?

don't disclude yourself

got a new(to me) car

alexIdoia, rpm -qa for them all

yeah it is like a 2005 flashback

ok

Hey all, just wondering about something… How can I boot to Windows (not fedora) if Fedora is half of my F drive and windows is on my C drive? Everytime I auto boot / boot from a hard drive fedora comes up.

nice, what kind?

opsec- but i ran a full update yesterday BEFORE setting up ATrpms

http://home.bravegnuworld.com/~rjune/bmw/

sweet! i got it working, man

rock

i'm just providing you with valid information .. what you do with that is up to you

I thought the folks at ATrpms were cleaning up their repo

Anyone familiar with uninstalling nvidia drivers and can help me out with it?

personally i'd rm -f /etc/yum.repos.d/atrpms.repo

i set the two options as i told you, and hand-typed the modeline; now, nvidia's driver runs beautifully. nothing like a nice, sleek compiz desktop on an hdtv

robbins876, how did you install them?

i'm pretty sure my rpms are up to date (given i installed/updated yesterday), but I'm not certain what i should even be asking

rpm -e 'nvidia*' should work

daMaestro, with some tutorial i found online

link?

what is the problem you're experiencing .. i missed it

http://fedoranews.org/cms/node/2852

what do you think?

rich.. i had an '81 of that car

It smells like a misbuild of that package, which is why you have to talk to the packager.

opsec- depmod -a is reporting WARNING: Couldn't find symtab and strtab in module /lib/modules/2.6.22.1-41.fc7/updates/sound/acore/snd-rtctimer.ko

he has ED

loved it

what happened to it?

rjune, still has the original (or at least bwm "brand") floor mats

hmm. and i can't even think of a good way for the verifier to complain about this one.

gave it away to some guy

she don't run anymore. got ran 2qt low on oil

both the physical and logical sizes are pretty close in aspect ratio

Hey all, just wondering about something… How can I boot to Windows (not fedora) if Fedora is half of my F drive and windows is on my C drive? Everytime I auto boot / boot from a hard drive fedora comes up.

i restored it to it's original condition with the help of the local bmw dealer

daMaestro, you check out that link?

you need to configure grub, installation should have done that for you
we have one about 60mi. away. but I'm hoping to kinda go that route.

grrr

o.o

robbins876, fun.

i'll google it :]

don't forget about u-pull it places too

!

very cheap parts

most assuredly

robbins876, http://fedorasolved.org/video-solutions/remove-nvidia-installer/

replaced all my dorr handles at one of those places ..
$5 per handle .. as opposed to $200 at bmw

daMaestro, alright, then after I do that, would you recommend I use the same guide to re-install them again?

right after xmas I'm gonna be poking around for one with a decent interior and driver door

my momo gear shifter handle was like 150$ .. for a golf ball sized leather handle ..

ok, i actually just removed alsa for now, i don't think i'll need it anyway, as audio will be via the PVR-350 anyway

LOL, stick or auto?

stick
i don't do auto

I'm assuming yours was the 5speed then?

yep
metallic blue green

that's the one thing I would change. it's got a 4 speed so all the gears are a little tall

i put racing seats in it with 5 point harness

that's not OEM

heh .. nope

how's business?

planning on going to central america soon for about a month .. for dental work
then come back for a month .. then off to india

what is the name of the figlet package?

dental work, eh?

it's like 90% cheaper for dental work in central america .. they have the same equipment .. competent docs ..
i'd rather pay 75$ for a crown than $1600 like i did on the one i have .. which is now broken

pretty soon we'll be outsourceing everything.
even sex.
oh wait, we already do that

they already do that

the world is one giant outsource

FC7. Everything went well, except that udev hangs (in udevsettle) when I boot with the latest FC7 kernel. Right now I'm booting with an FC6 kernel and that appears to work. I was pretty careful to label my devices, etc. Any ideas what this might be? (Yes, I've looked through the FAQ already
and see no specific mentions of udev + FC7 kernel issues). Thanks!

daMaestro, would you think that I should re-download that file to the /tmp directory?

that would be fine

how long did you leave it… udev is sometimes very slow…

i gave it about ten minutes (since I had read that it is slow)

I think you should not use the OEM driver package.

yeah, that should be lots.

yeah, i figured that was overkill :-)

anything in logs?

ivazquez, i'm in the midst of uninstalling it, actually

nothing that seems too relevant. i do see one block of suspicious stuff, perhaps… is there a paste service for #fedora?

use pastebin.ca or the like…

okay, here it is: http://pastebin.ca/654729
i don't think there is anything interesting in there, alas.
perhaps there is another log I should be checking?

it has nothing to do with F or C drive, and all to do with the MBR that is were the boot info is stored for the boot loader, / is linux partition in the partition table usualy hda1 or sda1 a windows partition is unknown or somthing else

you could try booting the f7 kernel with 'udevtimeout=10' and see if it gets past udev then… ? might allow you to troubleshoot more at least.

Hello , i have suse linux , winxp , fedora 32 bit dvd image , and internet that is always connected , i can install fedora with this stuff ?

tried that. actually, the udevtimeout kernel param didn't seem to have any impact, so I went into the udev startup script and had it invoke udevsettle directly with a two minute timeout. what happened was that after two minutes, boot continued… and everything worked until it was time to log
in, at which point the whole system appeared to hang. I really haven't explored much more than that in this direction. but perhaps I w

I'm heading away from keyboard for a while… try the udevtimeout if you get a chance… not sure what else to suggest.

thanks for the suggestions!

ah, it was an idea… perhaps file a udev bug? or look in bugzilla for similar ones.

will do. it's strange, i've seen some mentions of udev freezes with specific kernels via google searches — and usually people say "if i compile the kernel with gcc version FOO it works [aka udevsettle doesn't hang] but if i compile the kernel with gcc version BAR it hangs." strange if
true!

FWIW, I've had udev problems that are probably unrelated with a 2.6.22 kernel under Yellow Dog Linux on a PowerPC
(YDL is basically repackaged Fedora)
2.6.9 worked fine

interesting. yes, it seems to actually be related to the kernel [since the same build of udev starts up fine against an older FC6 kernel]

can anyone tell me what nagios is on for fedora yum ?

meth

daMaestro, check this out.. http://pastebin.ca/654745

nagios-2.9-1.fc7
like i told you yesterday.

robbins876, yum update kernel

wont' that mess up a lot of stuff?

robbins876, uname -r

2.6.21-1.3228.fc7

robbins876, yum update kernel

man, i hate doing that!
but i guess i have to

why?

daMaestro, because you need to reverse the polarity of /dev/null

but the good news is it kicked the heroin

ln -sf /dev/zero /dev/null ~! don't really do this, this was for zcat ;-)
robbins876, why do you hate updating the kernel

he likes to be out of date?

it seems to alwasy mess up mythtv

I like your magic

but yum update kernel doesn't return anything
says nothing marked for update/obseletion

robbins876, yum list -d 0 kernel

ah yes, sorry I forogt opsec

hey ixion

says it's installed, perhaps i need to reboot and select the correct kernel?

robbins876, you should be running the -41 kernel

fyi, you can check any official mirror for an updated package list .. regardless of whether you have fedora installed or not

but i'm not

2.6.22.1-41.fc7
and i'm telling you that you should.

i understand, but do i fix that by rebooting and selecting that kernel?

yes

alrigth

if mythtv breaks on you, you really should be using a repo that keeps updated

i love watching people who have been coming here for a long time .. who *still* don't get it
they are my tee vee

hahaha…hello opsec

hello .. how's your pet jackyl ?

sleeping out back. was a busy day today :-p

well.. hopefully you guys will have another riot soon ..
i'd hate to see you relaxing too much

yeah…heard about what happened with fuel about a week or so back?
btw, thanks for the optimism ;-)

daMaestro, that kernel dosen't show in the list

rafb.net/paste

btw, you been here yet in all your travels?

http://rafb.net/p/P25MvB22.html

not yet, robbery isn't something i enjoy much
looks like it's installed

rafb.net/paste

haha..well, sticking to the nice areas usually keeps you safe from that. but it's a big problem we face, yes

"don't stop your car at any stop lights" is the message i get

nah, it's not that bad

http://rafb.net/p/6cKQQJ88.html

..message you get from where, btw? me now, or somewhere else?

no, elsewhere

well, it's definitely not that bad

la -als /boot/grub

la command not found

"command not found?" A: Run the command AS ROOT after switching users with "su –login" or "su -" in order to get root's command PATH so the command WILL be found; don't run "su" by itself. If it's still not found, then either it's not installed in a standard path location (echo $PATH), is
not executable (chmod a+x), is in your current dir (./runme), or you've spelled it incorrectly.

looks like the kernels are installed .. let's make sure .. then you can edit your grub.conf
sorry, typo
ls -als

http://rafb.net/p/jdm8qe18.html

robbins876, opsec with the kernel entry missing, who knows what else failed to run with the transaction; rpm -e kernel-2.6.22.1-41.fc7; yum update kernel

yea
remove all the kernels that do not appear in grub.conf

i'm having a total system freeze when i log into my desktop today

then run yum update

you ppl

pembo13_com, using fglrx?

*yo

only way to get out is reboot
daMaestro, no.. nvidia + kde

hmm, i've had some strange hard locks with fglrx

daMaestro, only changed i made yesterday was put in a tuner card (for mythtv)

Fedora's default desktop manager is Gnome right?

i can't even ssh in when it locks up

ahh, that would require additional kernel modules right?

does it come with KDE or no

yes, yes

yes

yes! /me joins in on the fun

daMaestro, no, just firmware… well it uses ivtv which is already in

fedora does come with kwindows

ryan_, do you need the cheat code to unlock KDE?

pembol13_com, have you tried taking it to see if that fixes it?

zcat++++

hmm, pembo13_com, has there been a solution to zap2it hating us?

daMaestro, yah… was on slashdot earlier this week

anyone help me install the compiz-fusion screen saver on f7 ?

Well im just trying to figure out whats the best distro to use that had KDE. I have been using Gnome and wanna try out KDE for awhile

I got a problem when im trying to install fedora 7 with a live-cd, when im trying to boot the disk i get: WARNING: Cannot find root file system! Create symlink /dev/root and then exit this shell to continue the boot squence.

daMaestro, read that there's some new pay service
but cheap

what zcat said

hmm… /me might rebuild his myth box
i should say install what is needed; i have it built

Ryan_, well, Fedora's KDE works wonferfully for me

they're aiming for $20/yr. i'm sure there'll still be some free screenscrapers though. it's only text

go to kagesenshi's blog

none of that really matters yet if ican' log into my desktop

$20/yr is worth it

ryan_, KDE gets taking used to after gnome. if it's not broken, don't fix it.

pembo13_com, do the keyboard lights flash?

pembol13_com, try taking it out…

http://www.schedulesdirect.org/

opsec, http://rafb.net/p/3VMfRT77.html

daMaestro, don't have keyboard lights
moitoius, it booted once without it…
moitoius, will have to try taking out the firmware or osmething

you've updated with atrpms .. which has ruined your system
i can't help you

iit seems like Konversation is one of the things loading just at the time

no, i didn't, i only installed files that were needed by mythtv from atrpms

darn

pembol3_com, do you mean drivers (not firmware)?

doesn't look that way to me

a few days back I was saying how my debian system is much faster than fedora system… do you remember?

ixion, i think so

atrpms makes kernel modules that break / taint fedora kernels..

I think its down to a vmware incompatability with LSI Logic so I have to use BUS Logic instead

maybe someone else is wiling to do atrpms surgery on your system..

pembol3_com, i double konversation would freez the entire system.

if it were my system, i'd reinstall and not use atrpms for anything

well. kernel modules are a little tricky. either you an old kernel with no new ivtv module available. or a new kernel with no old ivtv module availabl

*doubt

moitoius, i doubt so too.. .but i don llwo
i get zero useful errors

pembol3_com, so you said your system was fine without the tuner card?
pembol3_com, have you tried logging in without it plugged in?

Is it yum or pup which is the "standard" way to install software on Fedora? Also are dist upgrades supported by the same two utils going from say 7.0 to 8.0 in the future?

thingy, yum

lol

upgrading from one relase to another has not been officially supported
but a lot of people do it anyway
if you have to ask how, it's probably not for you

thingy, pirut in GNOME sits on top of yum even.

AndyCap, oh!

pembol3_com, you still there?

see YumUpgradeFaq on the wiki for more

does Fedora hae a 1cd install that includes KDE ?

pembo13_com, been getting your name wrong… you get my other messages?

not really. there is a livecd that's a (big) cd which you can dump the image onto the harddrive. or you can look at revisor and friends to make your own

ryan_, i doubt it. try kubuntu, or such, if you wanna give KDE a whirl. but you probably won't like it if you are a GNOME user.
there are differences that would probably annoy people from each camp if they were to switch (e.g. kde user annoyed by gnome, and gnome user annoyed by kde).

I am trying to install Fedora Core 6 for my PowerPC machine (iMac G5). I have successfully (with some troubles) installed Ubuntu on my Mac before, but I find Fedora is easier. Furthermore, I am having an issue with the installer. After boot, I am unable to get the installer working
correctly.

ryan_, oh you can try knoppix [http://www.knoppix.org/]

How good is Knoppix ?

It keeps blanking out (black screen) after it loads the kernel for the install.

Sean_1, which kernel is it loading?

ryan_, For doing what? What are your requirements?

linux by default.
"linux" I should say
but even with directives such as vesa or text, it still blacks out.

i have intenet , suse linux , fedora install cd 32 bit image (iso) i can install fedora with this stuff ?

Sean_1, it should tell you a funny long name such as kernel-2.6.18-1.2798.fc6 and a architecture

on a new laptop. Surfing the web, listening to tunes, dvd watching. I watch divx content. Mess with some photos etc in gimp
that kinda stuff
pretty basic

I have the PPC iso
Right now I am at boot of the install DVD.

ryan_, knoppix is a recovery CD, you should rather use kubuntu.
ryan_, kubuntu will install your basic stuff for you.

WTFis your problem?
KDE packages are available in Fedora

opsec, i have no idea what i did, but it's working now

ryan_, heh! thats not basic…but knoppix can probably do that stuff. The only thing would be the divx movies…not sure if it would have the media support on it.

thanks for all the info

sorry, he wants a one-cd kde distro

There is no reason he needs to run *buntu

each distro has it's puposes

im not a newb but not pro either. I want something thats very easy to install has great autodetection of hardware and implements kde well

Can anyone help me avoid this black screen?

if you want people to run *buntu then use their channels, we don't need your BS here

Aren't there single-CD rolls of Fedora 7 + KDE now?

boot the boot.iso do a network install selecting the packages you desire

is there a command I can parse to yum to update everything up to latest versions etc?

Yes there is. No need for Ubuntu, Ubuntu is lame.

#fedora-ppc

hi

so where can i get these single cd installs that include kde?

Ubuntu = Linux, Fedora = Linux, so you are saying Fedora is lame

http://torrent.fedoraproject.org/

I need some aid. My YUM command is taking me to a loop

sorry I offended you. the guy just wanted a live kde cd.

im assuming i need to download this one Fedora-7-KDE-Live-i686.torrent ?

Sean_1, http://forums.fedoraforum.org/archive/index.php/t-59332.html talks about passing the "video=ofonly" parameter and choosing to boot in text mode…worth a try.

that is a live media spin, that features KDE, yes
it is installable to your harddrive if you desire

thank you. Is hardware support just as good as say Ubuntu/kubuntu

I stand corrected. sorry, didn't know Fedora KDE LCD existed.

Ubuntu is lame, even if it is linux.
Fedora isn't lame

besure to check the size of the resulting image it may not fit on a CD media

Ryan, what are you using now?

Simple, no need for cocky statements with no thought or meaning put into them.

Sean_1, ubuntu are for beginners, something you were someday

I know but Ubuntu isn't really that good on my PPC.

was using Ubuntu 7.04 Feisty now im using Kubuntu. Tried pclinux but it would crash off of cd install

I started with Fedora tbh

I have no problem with Ubuntu, heck, I spend half my chat time on the Ubuntu and Kubuntu channels.
Linux users are linux users, in my view all are created equal, from DSL to Ubuntu, to Fedora, to Suse

heh, started with Mandrake back in July of 1999, moved to Red Hat Linux 5.2 and 6.2 later that year

Well im either gona install Kubuntu 7.10

EvilBob, me too, I started on Mandrake 9

well KDE seems to be what ever it is at least initiating the freeze

please guys, let's be tolerant to other distro's.

6.5 here IIRC

Gutsy beta or im gona install something else. I just dont no what yet lol

made a new user, logged in with it without any freeze

I started with Yellow Dog 4 in a pretty old Powermac 5500

pemb13_com, brilliant. now just rename all the . directories in your profile one-by-one and see which fixes the problem

eavatar, I hear Yellowdog is pretty nice.. I have never used it personally

it is a good PPC only distro, the first one to load at a PS3 (the best Linux box ever!)

the point here is to help people, not to advocate any specific distro.

what distro and version are you using now?

if I want to install package I should use rpm right ?
say I want to install cron

is there a program like superkaramba but for gnome to have a dock menu…

pembo13_com, brilliant. now just rename all the . directories in your profile one-by-one and see which fixes the problem

its usually installed by default.. but you would probably want to use yum

use yum

moitoius, no tab complete in your irc client i take it

asdf
bah

ideally you could use yum to get it downloaded automagically. but if you have an rpm with the dependencies installed you can install it with rpm -Uvh somerpm

eavatar, so I hear. I have never owned a Mac or a Ps3 (the whole gaming console generation passed right over my head) The last game console I had was an atari…

kubuntu 7.04

well rpm -q cron does not show anything

moitoius, before i do that… going to relax a bit and watch tv

how to make my clone time out ?

But I will whip your butt in pitfall! lol

How do I find my current fedora version?

since that's whole reason i booted up for

ghost it. talk to nickserv

like the one is in the bottom… http://www.gnome-look.org/content/preview.php?preview=2&id=13548&file1=13548-1.jpg&file2=13548-2.jpg&file3=&name=MacOS-X+Aqua+Theme

yum to install ?

pembo13_com, lol, or just copy the . folders into the new profile one-by-one and see which breaks it.

logan-koester, try click at system about fedora :p

moitoius, yah… will do that in a bit

CLI

i'm pretty sure it has something to do with the startup scripts

pembo13_com, i think that will be easier than renaming. good luck…

You may want, just for gigles, to download the Fedora 7 disk. You can, during set-up decide to have Gnome, KDE, or both.

yum install somepackage or read man yum and play with yum list

frozty_sa2, can finally get your nick back eh?

And personally, I like the Yum and RPM systems much better than the apt-get and Debian system..
Just a point of personal prefrence though

why don't you want to download all the cds for fedora?

any idea how to do it from the shell?

is rpm harder
slow dsl

not really, it is more or less point, click, and let it go..

took 3.4 hrs to get kubuntu

no, but debian is better (as I was told /right here/) for bad internet.

rebooted server box (after a dc). was lagging massively

well, that may be an issue. Fedora 7 is pretty large..

logan-koester, cat /etc/redhat-release

Comments

rici i have a host system with apache running and guest virtual systems installed with their own apache but restricted

* with mod_perl), or should I stick to plain old Apache2

Comments

Syntax error on line 185 of -etc-apache2-apache2conf Syntax error on line 1 of -etc-apache2-mods-enabled-mod_ifierload

Add_Header': Can't locate Apache.pm in @INC (@INC contains:…"
Why is this?

That's actually a question for the Perl folks. But the general reason is that there are different subdirs for different types of modules.

Thanks. I'll ask in #perl.

Based on the directory names, it also seems to have something to do with whether the module was installed by your distro - 'vendor_perl' - of afterwards.

SetOutputFilter proxy-html — still to no availe
once i get this working - i'm going to write a howto for sure

Checkout startup.pl and adjust use lib qw(/home/httpd/perl); as required

[root@nietzsche tmp]# find /usr -name startup.pl
[root@nietzsche tmp]#

god@nietzsche$ Disconnect: you have been kicked out of the system

hah

haha

sad that nobody else got it, though

I got it.

I see I provoked more than I should have

:-)

if i rotate a apache log will it start writing on the new file or continue writing on old file?

it will write to the new one as if nothign happened

nice!

it will write to the old one, if you move it to the same filesystem
it will fail to do so if you move it to another filesystem

it should write it to the old one unless you sighup apache

(imo)

unless of course you move it to another filesystem as gryzor says. Then I'm not sure.

it's better to used piped logs

that is how I have it setup now.. like this
ErrorLog "|/usr/apache2/bin/rotatelogs /var/apache2/logs/error.%Y%m%d 604800"
but..

but is there a simple script etc to test it?

what's the but?

hehe
but if I want to remove files olders than 30 days how do do that ?
i need to separate roatte script ?

you'd need a separate cleanup script
there's no rotation involved in deletion.

correct
so I should nto use logadm which does rotation

correct

What is correct depends entirely on what you're trying to do

try to shut up then

i'm not following you…

logadm does not involve pipe.. which i think is better as u mentioned
thnx

using standard log rotation tools does mean that you have to restart apache.
that's a drag, which is why i think piped logging is better

that is what I am realizing

i wish more daemons implemented apache-style piped logging

now I could just change that error.%Y%m%d to something more intelligent
so it will automatically overwrite and dont need a cleanup script
i need 30 days

yeah, logrotate has its limitations.
there are other pipes, though.

cronlog!
cronolog

cronolog is better or http://www.cronolog.org/

….

i dont need a cleanup script if I just use the day number
there is only one day number 01 .. no matter which month
so it will automatically overwrite
assuming it can overwrite .. correct?
pipe log that is
so if I change that to error.%d that will take care of it
error.09 will always be error.09.. no matter which month

you need two log files
current and previous
ah, you're keeping dailies, and you want to delete last month's.

ErrorLog "|/usr/apache2/bin/rotatelogs /var/apache2/logs/error.%d 604800"

i'd use a cron script, really.
it's trivial to delete non-current logs if you use ymd suffixes

nah.. that does two job

or check out cronolog
it has a ton of options

error.%d — this does the magic
there will never be multiple error.09
i wont have to bother with a cronjob

well, as you wish

do I need the last argument ? 604800 ?

you'll end up with some confusing log files, though.
like, march 31 will be around until may 31
the last argument is the rotation interval in seconds iirc

which is fine
the date is always there for every file
so those few incovenience saves me extra cron headache

Why's cron a headache?

somebody can explain me about wildcards?

^Sprint^: be more specific.

its not unless i have to manage other 300 servers ..

csync2

csync2 is http://oss.linbit.com/csync2/ and is not only used for sharing configurations or files across multiple servers in a cluster, but also for taking proper actions after doing so.

:-) .. not ready to argue on that

I want to do *.domain.com

serveralias

serveralias is http://httpd.apache.org/docs/2.2/mod/core.html#serveralias or http://httpd.apache.org/docs/1.3/mod/core.html#serveralias

and no metter what I replace * I get the main page of the website..

^Sprint^: I'm guessing this is where you're heading?

hmm?

might also need that on DNS level…..

^Sprint^: pastebin the output of httpd -S, please

so I should put that second in 24 hrs .. currently it is 7 days
man -M /usr/apache2/man rotatelogs confirms it is in seconds

http://apache.pastebin.ca/651322

my biggest beef with rotatelogs is that it rotates every X seconds instead of at midnight

?

well is there any other way to use pipelog then?

cronolog

cronolog is better or http://www.cronolog.org/

you can pipe into anything, but you want what you pipe into to be reliable

fajita: im back. ends up that having 'AuthzLDAPAuthoritative off' so 'require valid-user' works is not compatible with 'require ldap-group'

well, that's true. i don't think require ldap-group is ever compatible with require valid-user
the require's are effectively "or"ed together
so if you had require valid-user, then require ldap-group (or anything else) would be redundant
note that require ldap-group will fail anyway if the user isn't valid.

thanks bye

right. got it now
thanks a ton for giving me that example. i was actually considering reworking my directory to use groupOfUniqueNames

glad it helped
groupOfUniqueNames is awful
just use group
if you're going down that route

agreed. i avoided it at all costs and was REALLY bummed i might have to implement it anyway

i'm not arguing in favour of the nis stuff
standard ldap has group and groupOfUniqueNames
the latter is a hack, and is no longer necessary now that ldapv3 supports composite rdns
so i think it should die

haha
well. ive stuck to the posix classes mostly
being a linux based hosting services shop. it just made sense
if i was a little braver i'd probably try to use kerb too
s/braver/more masochistic/

kerberos is no more difficult than ldap, you should try it.

you might reconsider if you knew how disorganized my environment is
im working full time trying to bring it around. kerberos might be feasible once i get things turned around
haha

good to try it, to at least be aware firsthand of its benefits and limitations.
know all of your options before you commit to any direction.
I made the mistake of trusting someone else to do that in out environment, now we are stuck with Active Directory and regretting it but too far downt he path to change

sure. sage advice there

the nice thing about ldap is that it's flexible enough to do anything you want

oh no. AD

the not-so-nice bit is that you have to figure out how to tell it to do what you want

yeah, I really wish we had used novell's edir

edir is nice
i wanted us to use it too
we could have gotten it for free, too.

yep. im using openldap, but am leaning more and more to maybe converting that to sun directory server

yeah, I really like it. they were going to give us a free license that would have covered the entire poputaion of out state as well.
population of our

including the cows?

sun is, imho, doing awesome things for sysadmins right now

hehe, yah, and the pigs as well
good model really, give the software aware sell the services…

yeah

sounds sort of familiar

i think management rejected it because of the negative connotations of the word "novell"

does it look kosher? http://rafb.net/p/fjtayE67.html

same here, and bias of the person doing the research at the time in our case

which put me in the awkward position of trying to argue that novell was not their father's novell, although actually it is

who since went to work for MS

should I need to rename access_log to something else

but novell has always made solid products, however quirky

yeah and their directory is the other thing they did *really* right.

if that works for you, it's fine.
agreed

?

what ever happened to netscape's directory product?

so we ended up with openldap, which is … ummm …
they sold it to redhat

figures

openldap is good. just dont use the distro packages
and patch bdb properly

and keep up with the bugfixes

yeah. that too

and don't expect too much in the way of accurate docs

openldap's shell back end options is neat.

the mailing list is good

can flatten out any name space with it

yeah. back-ldap and the slapo-chain stuff rocks too for replication

with multiple backends for the data/users/

do I need to add one `CustomLog /var/apache2/logs/error_log common'

and syncrepl was essential. they would have gone bust without it

yeah, now that syncrepl is working. although it can be a pita to configure
you need the customlog formats you need.

ive got it doc'ed and some good example if you want em

if you don't need the format you don't need it
no, it's fine. i've got it cased. but it took me a while.

I see

customlog defines formats you can use.
but thanks. you should put them up somewhere where people can get at them.

true. i'll add that to the list

can someone pls test http://jakdarippa.dydns.org for me. when i try from within my own network, i keep getting my router

I get dyndns.org.
What are you expecting to see?

servertokens http://jakdarippa.dydns.org

lighttpd

it should be the apache test page

It's not.

wow! cronolog is awesome! you never told me I dont need a cronjob with cronolog.. perfect
i will just replace rotatelogs with cronolog

What does cronolog do these days that rotatelogs doesn't do?
For a while they were feature-identical, but it's been a couple years since I looked.
Ah. It creates subdirectories. That's handy.
Hmm. It appears that it's always done that. I didn't realize.

I think with cronolog I can say rotate end of the day unlike rotatelogs where u can only specify the interval

Ok. That's handy, too.
Good stuff.

well now how do tell it to rotate every night at midnight
cronolog that is

it's more or less automatic

I got my answer
http://cronolog.org/wiki/index.php/FAQ#Does_this_program_work_without_actually_shutting_down_apache_in_order_to_manipulate_the_log_files.3F
thnx

wooden, can you try http://71.209.224.19

The connection has timed out

hi again, why my htaccess protection does not work

What exactly is happening, and in what way does it differ from what you want to be happening?

northing it shows up. apache is 1.3.37
AuthUserFile /mnt/pass

Ok, this isn't quite specific enough.
So perhaps I'll try another question.
Are you sure that .htaccess files are enabled?

Require valid-user

And please pastebin the exact contents of your .htaccess file.
Is that the complete contents of the .htaccess file? Those two lines?

http://apache.pastebin.ca/651382

wooden, i think i've got it this time. can you pls check again for me?

Are you certain that .htaccess files are enabled?

What are the file permissions on .htaccess and your password file?
Timed out.

Are you certain that .htaccess files are enabled?

..htaccess files are enabled??? Its new install in server are they enabled?

ji, how can i see whch virtual hosts are on my localhost
but not looking up in folders etc
is it possibel to dig
or ping etc

I can't find etc in the DNS.

probably not

by default they are not enabled?

depends on the distro

how to enabled
opened htttpd.cof
conf

conf is /etc/apache2/apache2.conf/etc/apache/httpd.conf!/usr/local/apache/conf/httpd.conf/usr/local/httpd/conf/httpd.confee: find conf

ok

hi, what is the differente between SVNParentPath and SVNPath ?
Or where can I find that info in the apache website?

svnbook.red-bean.com
you'll find more useful info on that specific directive in there

SVNParentPath

SVNParentPath is the alternative

SVNPath

what?

svm

i'm not following you…

svn

svn is see subversion

subversion

subversion is a revision control system intended as an easy-to-use, fully-functional replacement for the Concurrent Versioning System (CVS); for more information, see http://subversion.tigris.org/ or join #svn on Freenode. For complex [authorization] setups take a look at: http://www.debian-administration.org/articles/208 or http://svnbook.red-bean.com/nightly/en/index.html or http://svnbook.red-bean.com/nightly/en/svn.serverconfig.html

fajita

imMute?

sam`: thanks, I think I found the answer

SVNPath is used for specifying a single svn repo

OK, imMute.

SVNParentPath is used for specifying a folder containing multiple svn repositories

….but svnparentpath is the alternative…

no, SVNParentPath is used for specifying a folder containing multiple svn repositories

….but svnparentpath is the alternative…

how do I replace factoids?
forget SVNParentPath

I forgot svnparentpath

SVNParentPath is used for specifying a folder containing multiple svn repositories

OK, imMute.

okay. kwame did you catch that?

yes bro, thanks!

is htaccess enabled? apach 1.3.37 http://apache.pastebin.ca/651398

1.3.37?

1.3.37 is the latest 1.3x release

1.3?

1.3 is the 1998 release of apache. Do you use Windows 98? Slackware 4? Redhat 5?

AllowOverride None

AllowOverride None means "Please ignore my htaccess files." and is the default setting. or See http://www.onlamp.com/pub/a/apache/2003/12/04/apacheckbk.html

What fajita said.

What is the purpose of the chunked transfer encoding?

to avoid having to count bytes before you start outputting content

why would you need to ever? :/

for example, if the content were dynamically generated

yes, and?
why does anything need to know its length?

so that you know where it ends

hrm

otherwise, all you can do is close the connection at the end of the content

can it be disabled?

for keepalive to work, you need to know where the content ends

the Squid cache doesn't support it :/

which version of squid?

2.5
I think

if the requests are http/1.0 or the requester indicates that it won't accept chunked transfer encoding, apache won't generate it, afaik

indicated it won't accept it how?
it needs to be HTTP 1.1 for Host

bro, do you have an snv server using openldap as an auth server?

nope, mine uses authz and basic password

ah, thanks, I already got it working like that, I'm looking into using openldap

luke-jr: you can send a host header with http/1.0

does anyone know if dreamweaver 8 supports htdigest for WebDav?
I can get it working with Basic auth but not digest
plus I'm using a https webdav url, even though I'm using Basic Auth the password should be encrypted in the ssl stream, yes?
I guess I could use ettercap to make sure

if you're using https, the whole request is encrypted
so it's pretty secure

that's what I thought

imho that's better than digest auth over http

https webdav is a good way to work on my resume at work :}
uhttps webdav is a good way to work on my resume at work :}/u

pfft, ssh works fine

luke-jr: i thought squid did support chunked te now, but maybe that's not in 2.5

I use a ssh forwarded tunnel to privoxy for web browsing

or maybe i got that wrong

probably in a newer ver Debian doesn't have in stable :p

*shrug*

Hi. What happens if the .htaccess is only readable for root? It's just ignored, right?

i can't get through to the squid-cache wiki, so i don't know
no, you'll get a permissions error

oh, Debian added 2.6 to stable
how nice of them
now my config is invalid
-.-

rici for sure?

don't use that as a way to disabled .htaccess or directory access

no, thats not my intention

i'm pretty sure that you'll get a permissions error. probably show up as a 500 internal server error
or perhaps as a 404, i don't know
certainly shows up in the error log

rici i just believe that the .htaccess file isn't readable for the apache, because I cannot see it with an web ftp client. anoter .htaccess file in another directory i can see

that means that it's not readable by you. unless you are apache, it doesn't prove much more than that
well, depending on which user the web ftp thing is running as

it's the php right
and i guess php is running under apache
so i should be able to see it

could be.

over, under, sideways…

wonderful, upgrading Squid 2.5 to 2.6 turns it into an open proxy…

well okay. have to wait till tomorrow morning anyway. thanks for your help rici
cya guys

luke-jr: yeah, i gave up on squid a while ago. but i understand why people still use it.
apache's caching and proxying has improved quite a lot

right now it's the only way to handle revers proxy of rpc_over_http that I have found though.
at least until niq codes mod_rpc_over_http for a case of wine

heh

what's special about rpc_over_http?

is it possible to get apache to enable directory listings (Option +Indexes) to only work on a request from a certain ip (or set of ips)?

only a case?

let me find the write up on it, I guess like may MS inventions it really violates the http rfc
may/many

ah, an MS thing

something about streaming data back as a response, been a while lemmie see

MS == ManipulateStandards

hi again

I use it because Cox Communications sucks

I got to the problem "You don't have permission to access /fax/.htaccess on this server." server is mine, what is going on?

yes

It worked pre 2.0.54, then something was fixed and rpc_over_http was broken
trying to find the details still

if it's your server, you can find out easily by looking in your error log

can you give me at least a hint?

sorry, i was about to
the easiest way is to use a rewritecond to check the ip, followed by a rewriterule "^$" - [F]

Hello, please can someone help me from going insane?

which will cause empty requests in that directory to be rejected

Good evening / Bonsoir

I have "AddOutputFilterByType DEFLATE text/css", but this did not do what I hoped. I added "AddType text/css .css", and this does not help. What on earth am I doing wrong?

yes " client denied by server configuration: "

what are you trying to do?
client denied by server configuration

client denied by server configuration is http://wiki.apache.org/httpd/ClientDeniedByServerConfiguration

^^

rici, I want .css files to leave the server compressed

You don't want css to leave the server compressed.

so like check for "/$".. interesting cool, thanks

You may think you do, but you don't.
IE, in particular, can't handle compressed css.

context, you have to use ^$

DrBacchus, YSlow keeps banging on about it!

They are mistaken.

Tell YSlow to get in touch with YIE

but that won't match sub directories will it?
or you mean and?

Okay, so I will ignore that. What about javascript?

no, it wont

YSlow makes several recommendations that will break a significant number of sites.

so ^$ and /$

you could use a more general version of that… it was just a hint

DrBacchus, can you give a few more examples?

yea okay cool
i got it i think

With regard to compression, only text/html and text/plain and text/xml should be compressed, or most browsers will choke on it.
The "content distribution network" thing is all very nice, but not something available to those of us without $1,000,000 budgets.
I forget what the other stuff was. Checking …

DrBacchus, yes I ignored the CDN rubbish

Ah, yes the etags stuff. Someone was ranting about that a few days ago, apparently it's an invalid recommendation.

// Order deny,allow // deny from all // allow from … // /FilesMatch

DrBacchus, the Etags stuff is rubbish too I tink
DrBacchus, you beat me

if that works, that's probably even easier. and it will do subdirectories

it is the same

DrBacchus, so I should really not compress javascript? okay, not done too. btw, I still would like to know why the options I gave failed. What did I do wrong?

it is the same as what?
i think mod_deflate might refuse to compress that content type

Well, the AddOutputFilterByType directive you pasted looked correct to me. I wonder if it was overridden elsewhere.

but that's just a wild guess

rici, ah, I see.

deny/allow http://wiki.apache.org/httpd/ClientDeniedByServerConfiguration

Also, note that the browser will set Accept headers.
So if the browser won't Accept gzip on .css files, then the plugin will see them uncompressed.

i'm not following you

But that could be my imagination.
I don't know if browsers are that smart.

if they were that smart, they'd know how to decompress

That's certainly true.
That would be an awful lot of extra work to go to, wouldn't it?
That was a pretty stupid thing to say, in retrospect.
The thing to do is enable mod_deflate logging, and see if Apache thinks it compressed them.
Also, it could have been cached.
But at this point I'm just guessing.

I cleared the cache and did a restart instead of a graceful reload, but if I get a bit of time later I will enable logging, good idea thanks
I don't suppose you happen to know about debian's system of module.conf files do you?

debian–

that actually works thanks

cool. that should probably get put in a recipe somewhere then

ExpiresActive seems very picky

expiresactive?

expiresactive is Chttp://httpd.apache.org/docs-2.0/mod/mod_expires.html#expiresactive

Ah.

a2enmod
that's all i know

rici, yes, but my question is more to do with the config for a module

you'll have to ask a debhead, then, i guess. sorry.

ok

try #debian
they should take more responsibility for their apache config system, anyway.

absolutely.
they should script their entire system, and make it sane.
s/script/scrap/

they did do step 1
oh, scrap. right, different concept.

something I type things that are not in my head at all
I guess my fingers go on their own

sane scripts would be good
documented sane scripts would be even better

Thanks for your help rici and DrBacchus

rici, hai

oi
still not working?

http://httpd.apache.org/docs/howto/cgi.html#butitsstillnotworking

fajita, thanks but

fixed the problem with htaccess. it is not reading password file correct
htpasswd -c pass.dat name
abc pass entered, it does not work

at least until niq codes mod_rpc_over_http for a case of wine — what was the question? Might mod_sparql be the answer?

fajita SetEnvIf

http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html#setenvif just substitute your version number

what's the easiest way of running both http and https on one daemon?
what's the easiest way of running both http and https on one daemon?

just have different vhosts

mod_sparql
hmmmm
a while back pctony and I were tryying to coerce you into a module to facilitate reverse proxying of microsofts rpc_over_http bastar.. er implementation
to allow "Outlook anywhere" to be reverse proxyable with apache, currently squid is the only working alternative
or ummm MS's proxy solution I guess
if you consider that an option

so what's missing from a[pache?

that was my question

not sure, trying to find the messges that went around about it. It worked 2.0.54 and before I think, but something deemed to be a bug was fixed after that it it stopped working

If I knew what you were talkin' ’bout ….

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

mod_megaspaz

something to do with the response from the server and keeping the connections alive. I think it keeps a RPC_IN_DATA RPC_OUT_DATA connection open forever or something

aaargh!

YOUR WIFE IS A BIG HIPPO!

put the world in a panic!

dogs and cats!

Living together! Mass hysteria!

proxy never sees the end of the response to send it back

yuk
statefulness

it just sits there collecting the response pieces and never gets the end of data to trigger the send to client
yeah sort of like NTLM I guess?
relies on a session in a session less protocol

rici, I'm still a bit of a newbie with the Apache config. I've got it listening on :80 and :443. I have got Vhosts for / and for each separate website. Where would I put the SSL stuff?

In the :443 vhost

yep
except for the initialization stuff

i'll try and find the details, and if I cant I will set it up in test again and document the behaviour for you

ah, so I need a separate vhost for :443 then

yes,and you have to remember that named vhosts are not supported very well with ssl

hi in my mime.types I got: application/ogg ogg ( apache 2.2.3 ) but when I upload a OGG file using a php script it prints (application/octet-stream)
any ideas?

thinking is *hard*!

rici, hrm, this was as simple as adding 3 lines in lighttpd ;-)

it's about the same in apache
i think it's maybe six lines

hey
I've been wondering… how hard would it be to come up with a module (say like mod_accounting)

rici, am I on the right track so far for a non-SSL config? I've got the VirtualHosts for the domains below http://pastebin.ca/651478

so, nah back to the question
so I'd like to count per user the downloaded bytes…
so if a user downloads a 10M file, then I could keep track in sql.
how hard would that be to code? is there a good API for that in apache?

just process the logs.
there is a good api for writing custom loggers, yes.

thats not feasible

why not?
never mind, i don't really want to know.

it would have to be realtime…
so in theory, if i'd implement a custom logger (which in fact "logs" after a data transformation into sql)…
would that work?

yes, it would. but then, so would a little script which you used as a piped logger.
sorry, having trouble connecting to pastebin.ca

where else can i go to search for an answer (ie forums etc)? i couldn't find my "httpd (no pid file) not running" error in the docs

what seems to be the problem, exactly?

rici ok, thanks

that means you tried to stop apache, and apparently it wasn't running

by

rici, try http://pastebin.com/d1d8649ba instead

bitchx for the nintendo gameboy?
i think not.

i try to restart apache2 on ubuntu 7.04 and it just gives me that error… lemme see if i can find the error log when i ran /etc/init.d/apache2 start

do you really want to have named virtual hosts?
and one https: ?
if the latter, then ditch the namevirtualhost directive

to virtualhost *:80

virtualhost *:443

Well, basically access the same content from https or http, and for either domains or server root

SSLEngine On and the rest of your ssl stuff (certificate, etc.)

where name can be alphanumeric with punctutation (spaces, hyphens, commas etc) and N is just a number? i read the tutorials but regex is too confusing

oops, i meant rewrite it to /music/name/n

"for either domains or server root"?

well, accessing either domains on the server, or for things like xx.xx.xx.xx/webmail
by domains I mean the full www.domain.com

i'll try and find the details, and if I cant I will set it up in test again and document the behaviour for you — :-)

hi all.. having a little problem trying to get multiple virtualhost working on ubuntu 7/apache 2.2 - pasted a bit of the conf files at http://rafb.net/p/e6U62H71.html
i have another virtualhost file which is similar, just a different servername
have followed the directions from apache2 bible (i think!)

rewrite

rewrite is one of the crustiest bits of code out there, but also the most useful see also mod_rewrite

here's a bit but as I scan the results I dont see good details. http://marc.info/?l=apache-httpd-users&w=2&r=1&s=RPC&q=b

also what can cause apache to take a good 60 seconds to restart?

in fact dont bother looking at that, I can write this up and get a packetcapture that will result in less reading than that mess

heh

hello all, i'm trying to rewrite/redirect but i'm having trouble having the get/post data carry over to the destination

post/get data does not follow a redirect.
It's in the HTTP specification.

ah crap. I'm in over my head now. That's what i get for installing ISPConfig (subsequently uninstalled). Now I get "unable to start piped log program '/root/ispconfig/cronolog" in my error logs

hmm.. so i am barking up the wrong tree…
i assume its the same for rewrite?

Possibly. I don't know. What problem are you trying to solve?
If you rewrite without redirecting, you can preserve arguments.
And with rewrite you can always preserve the QUERY_STRING

well, we want to pipe some scripts over to https (from http) without having to re-write all our links
(manually, wouldn't mind if apache re-wrote
i'll look into rewrite…

you can reverse proxy and preserve POST. you cannot redirect and preserve POST

where can I read about iptables?

yeah, i dont think redirect will work, looking at rewrite now
seems to have handling to preserve queries…
just gotta figure out how to capture that data…

maybe i was being too telegraphic.
mod_rewrite can do explicit redirects, internal redirects, and reverse proxying

hmmm, its not playing nicely… i'm trying to capture the data with (.*) then restore with $1

however, it doesn't see the query string in a rewriterule
and if the query string is in POST data, it doesn't see it at all

[QSA]

[QSA] is query string append (see 'QSA') http://rewrite.drbacchus.com/rewritewiki/Flags_2fQSA

however, by default, mod_rewrite does not alter the query string
so if all you want to do is pass it through unaltered, then don't worry about it.

where can i go to configure apache NOT to start a piped log program? Here are my logs from apache2/error.log: unable to start piped log program '/root/ispconfig/cronolog

errorlog

errorlog is http://httpd.apache.org/docs-2.0/mod/core.html#errorlog or the directive that specifies the file in which errors should be recorded. (Hint: ask me about the error log)

transferlog

transferlog is http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#transferlog

so i would just do something like "RewriteRule /cgi-bin/thescript(.*)$ https://www.site.com/cgi-bin/thescript$1 [L,R]" ?
sorry if this is a dumb question… i apprecaite the help
or i dont even need the (.*) and $1, you say?

that's an explicit redirect, which you could just as well do with a redirect directive

You need QSA

it will work fine on GET, but it will not work with POST
you don't need QSA to pass a query through — only if you want to add something to it
sorry, i know you know that

Oh. Yeah.

rici, how would i set that up?

I'm a bit scattered today.

rici, I'm a bit confused. If I ditch NameVirtualHost and move the domains (ServerName ServerAlias) up into the main VirtualHost, I can access the domains, but now I can't access the /var/www/ root

RedirectPermanent /cgi-bin/thescript https://www.site.com/cgi-bin/thescript
but! that won't work with POST.

ah

the issue isn't apache

hello all

All is not in today, devhen|Work

it's the HTTP protocol itself

heh he, its me
i know
oh
that works
well i guess i'll stop being a lazy admin and just change the links…

how can i set the default expires and other headers ?

thanks for your help, all

hia
is there a dedicated channel for apache beehive folks?

I have a staging vhost webserver on my primary box that I use for preflight testing my website clients scriptings before uploading things to the live server

_packrat:
vhosts
vhost?

vhost is http://httpd.apache.org/docs-2.0/vhosts/ or http://httpd.apache.org/docs/vhosts/

all well and good, but I'd like to be able to view these vhosts from anywhere on my 192.168.1.0/24 not just at localhost only

also:
ssl vhosts

When using SSL, each virtual host must have either its own IP address or its own port. Or both. or for details see http://httpd.apache.org/docs-2.0/ssl/ssl_faq.html#vhosts2 or http://www.onlamp.com/pub/a/apache/2005/02/17/apacheckbk.html or see SNI or consider wildcard certificates or http://wiki.cacert.org/wiki/VhostTaskForce or see ip based vhosts

ip based vhosts

ip based vhosts is one way to host multiple domains and be able to use different certificates for each of those domains using ssl. see http://httpd.apache.org/docs/1.3/vhosts/ip-based.html or http://httpd.apache.org/docs/2.0/vhosts/ip-based.html or http://httpd.apache.org/docs/2.2/vhosts/ip-based.html

one presumes none of that is directed at me…
ssl being outside the scope of the problem completely

no, that's why i didn't put your nick in front of it

that's what I figured

you haven't explained why you have a problem

it *seemed* close which made me wonder

so i could only guess, and i'm too tired to guess

ah well the problem being I have no idea how to accomplish this for the local subnet, as opposed to for localhost only
normally I enable access to the vhosts by adding a line to /etc/hosts but that's not going to make them resolve on any of the OTHER computers on the subnet

no apache beehive folks here?

Nope, sorry

ok.. bad luck then

indeed.
you could use a local dns server to do that, or you could put the names in all the hosts files

) how goes it?

or you could set up your other hosts with a proxy server

so .. if I already have the vhosts set up correctly in httpd.conf, to enable them for the subnet I'd need to set up an additional local dns for those hosts to resolve within the subnet

yes.

with no other changes to httpd.conf

apache can't reach out and change the browser's dns configuration
sad but true

well yeah that much was obvious by my having to edit /etc/hosts
but setting up bind for them I wasn't sure whether I'd need to further change httpd.conf

although if you use a proxy server, then the browser sends the fqdn to the proxy server, so you only have to worry about resolution on the proxy server

S'okay

ah ha!

that can be easier than running a local dns server

my only problem remains how to set up the dhcp router resolving comcast for the subnet with an additional dns server for local only vhosts

the very man i was looking for

right, that's why using a local proxy server can be easier

hmmm.. this I know nothing about

your browser has a place to configure a proxy server
you have a box which has apache installed.

never tried setting up a proxy server before — is there any documentation describing what you suggest without going to a general "proxy setup" doc somewhere

it's pretty well the general proxy setup doc, sorry

hmm okay

the way i do it is to run a separate apache instance on a separate local ip number
although that's not really necessary, you can just use a different port on the same ip
balthough that's not really necessary, you can just use a different port on the same ip/b
the separate instance only does proxying, and it doesn't have any external access

if so that'll solve one issue quite easily

you can't have more than one dns server
so you're out of luck there. you need to have a complete internal dns server
it's a bit of a pain

actually you can — normally there's at least two listed

yes, but they need to have the same data on them

they don't fall back ?

you can't have one which resolves some addresses and one which resolves others
yes, they fallback, but the data needs to be consistent
anyway, setting up a proxy server is a snap. the hard part is securing it.

Comments

sylvantis ok mate btw i did some tables for my website and i am wondering is there some type of standard i should

hello….?

hello
whats the most common character set the use on web pages ?

utf-8 isnt it?

no ICD
i MEAN
like arial or serif
what the most common that fits to the eye ?

i would imagine it'll be ariel as the standard font is its not set but im not set, depends on the browser settings i think
out of interest Agiofws what did you want to know for?

i'm making a static page just want to know what type of fonts i should use
but its in greek so it depnds on language aswell

oh, greek i wouldnt know what to say there tbh =p

tbh ?

to be honest.

I have a page with submit button only. How can i put that at the end of the page ? using table or any suggestions please..

are people awake here?

nope
we're all bots.
:O

tag in xhtml?

"#" is not valid in the usemap property and "name" is not a valid property at all in map
I haven't used an image map since the 90's when when were cool
and no one knew there were standards

check on w3schools
i think they do xhtml

cool

look on the reference page[s]

hi does anyone use nvu ?
is there an option while adding an image you can put a legend at the bottom of it ?

a caption you mean, no you have to build that yourself, but, you have the title="description" attribute you can use.

gpy lets see
ok right click image properties
tool tip ?
alternate text
?

I am looking at this site http://uk.olx.com/posting.php and i notice if I select a region, or category I cannot see these options in the view source code, is there something I am doing wrong, as I would have thought right clicking and view source code
would show me these options

gpy, what atribute doi use ?

what goes in the title attribute is what will be shown as a tool tip. any legends or image captions yoy have to build yourself

aha

img src="foo.gif" title="im a tooltip!"

gpy, nvu doesn ot havea a title atribute "
oh it has wait
gpy, i used title but it does not show it
i don;t want a tool tip i want a constant legend under each icon

in what browser?

in nvu

you should get a little tooltip when you hver the image

gpy i don;t want a too tip
i want a constant legend
like those in books
can that be done or do i have to code it in
and link the text with the pic and all of that to a new static host page ?

show me what you want

imagine a PIC with a description underneath and when them ouse goes on they all highlighht
gpy
http://www.whylinuxisbetter.net/

aha?

for the time beiing i'm adding text the classical way

Hi all, what IDE do you use for making websites? Thank you

IDE ?

development tool

nvu ?

Thank you
Have you tried Aptana?

hi
how can I give validome my uri for validation through a get variable in stead of the referrer?
www.validome.org
it's because I want to integrate validome into my webdevelopper toolbar of firefox

hi folks, i've got a select box named "data" inside a form, but after submitting the selected entry is not submitted….with GET the url contains ?data=
&submit=submitname

how can i get my flash background transparant?

hello
input type='submit' value='Elimina' onClick="window.location.href='http://www.w3schools.com/html/html_form_action.asp?deletekeyword=0'"
why it does the form action instead of the onClick action? do i have to enable javascript somewhere in the html?

hi
can anyone tell me what the html format
to have a PIC and underneath a legend and those BITH linked to a statci web page ?
to have a PIC and underneath a legend and those BoTH linked to a static web page ?

is there a way to inline fonts to html hosting files (so that i can declare fonts in my page and people can download them on demand if they dont have them) ?

the link works correctly. how is this correctly done?

can anyone tell me how to wrap a row?

http://jon.pmtech.com/~jschall/cplus/ I'm going for this: http://jon.pmtech.com/~jschall/untitled.bmp
how can i do that?

can anyone tell me how to wrap a row?

Hey, can anyone help me? http://jon.pmtech.com/~jschall/cplus I'm trying to get the picture of the case moved to the right, like in this: http://jon.pmtech.com/~jschall/untitled.jpg
I could use a table but if i do that, next time i have a question here, someone will bitch that i'm using a table for layout.
plus it would probably blow up internet explorer.

and when I set that to display:block and add widths each span is on its own line…anyone know why?

i forgot br clear="all"

input type='submit' value='Elimina' onClick="window.location.href='http://www.w3schools.com/html/html_form_action.asp?deletekeyword=0'"
why it does the form action instead of the onClick action? do i have to enable javascript host somewhere in the html?

Can you use SVG graphics in HTML using the HTML tag?

what do u call templates like
nuke
and all those

hello. what is the html code to make possible for people to write comments on my website?
how do i add feedback to my website?
i put text in a table but the text always is in the center of the table. how can i make it so that the text is on top and left in the table?
any1 can help me? how do i align text ontop and in the left corner of a table?

http://validator.w3.org/check?uri=http%3A%2F%2Ffolk.ntnu.no%2Fnicolaij%2Findex.php%3Fpage%3Dmusic ?
a href="http://validator.w3.org/check?uri=http%3A%2F%2Ffolk.ntnu.no%2Fnicolaij%2Findex.php%3Fpage%3Dmusic"http://validator.w3.org/check?uri=http%3A%2F%2Ffolk.ntnu.no%2Fnicolaij%2Findex.php%3Fpage%3Dmusic/a
?

heyo
i did the sin of converting a word document to html and now when i open the webpage on internet explorer it says the page is trying to use the "Microsoft XP" activeX control (?!) what should i remove from the html?

ALmost everything

heh, i already figured out, lots of smartags and style satanic puzzlewords

mso:weirdness

yup

hello

can some one tell me what perms or what path do i have to set so the html hosting page can display the images ?
src="file://whyimages/global_update_thumb.png"
/var/www/htdoc1/ — ?

Is this a public site?

if i set opacity in body{}, can i override it for an img ?
like set it to 1 again for images

No
Everything inside *is* 1. Setting it lower will make it even less opaque
And you can't set it higher than 1

anybody know a good application for designing HTML pages ?

they don't exist :/ better to hand code

Too much to revise HTML tags all over again
Plus i need to focus more on php or javascript
heh.

hey i need help

So ask.

ok, this is going to sound weird, i need a text editor for windows mobile 5 that can open a .html file and more then one at a time
sad thing, im probably only one here who codes on a pda
also wondering if anyone can help me with css

There is #css

aw ok, ill will ask the css there, i assume no one uses a ppc here so, thanks anyway…

How can I play 3 sounds one after another
Whats the best techniqe

not a html question as such, but my web page looks kind of boring right now, would someone want to give me advice on how to, shall we say spiff it up a bit?

can someone help me? i would like to add a comment function to news links i have on my url. how i do this?

how do you set the little icon in the url widget of browsers?

can someone tell me WHY the heck NVU is not giviing me a WYSIWYG when i host the page locally ?

hi — i have some post/get data, i'd like a button that clears it all out
reset's only clear the input fields in the form, but i'd like to clear the request data
can it be done?

?

but a button

wtf is a request data?

haha
data you get via post/get

hidden fields?

any type of field

….

so….i'll add some more detail for the silence say your page is mypage.html?data=value data=value is the request data, i'd like a button that goes to mypage.html with no request data
an href can do this, no problem, but i'd like a button that can
I've tried adding the attribute href to my buttons…but obviously that doesn't make sense and does nothing

heh

well..javascript to the rescue i guess: input type='button' value='Reset' OnClick='window.location="page.html"'/

hello, how can i force width (with css) to break words when they are not defined as breakable? (i believe there was some html tag for it)

sylvantis, and what words are not defined as breakable?
Oh, right. Ask and leave.

Zoffix, well for example i have a forum, but some users have pretty long usernames, which don't break where my width is defined, only new words are started on the new line

sylvantis, you can do it with `word-wrap: break-word` which is CSS3 and currently is supported only in IE and maybe WebKit browsers

are you prejudicing me? i use to help people too in channels you know, especially linux channels
Zoffix, hmm ok thnx i ll give it a try
Zoffix, do you also know the tag for a possible word break? i forgot and can't seem to find it on the internet

sylvantis, no such thing. white-space supports breaks on \A
]css white-space @ sylvantis

css white-space: http://w3.org/TR/CSS21/text.html#propdef-white-space

Zoffix, ok thnx a lot m8

anyone know how i can add a 'comments' function to my news links i post on my website?

io4, you first need a post form, then capute the 'comment' using the $_POST variable with php, then use htmlentities on it, then write it to a file, i for example put it in a appropriate directory, and used ++$count to until a file was reached that wasn't taken, then wrote to it, and include
them via the same way, until ++$count doesn't exist anymore

io4, at least, that's just one method i worked out, it can probably be done in numerous ways

sylvantis given that i suck at html or any other type of programming for that. i would just like some peice of code i can cut and paste into my html documents for this. is that possible?*

bah
io4, well, ask Google, not #html channel. This has nothing to do with #html

zoffix come again?

Come again what?
Do you come to the beer store asking to fix your car?

io4, hmm yes i think there is a packet for that
io4, lemme check the name, i think it was smarty or something…

sylvantis yes please. thanks.

io4, http://smarty.php.net/ , you need to read some stuff and all, i don't know about it, i write my own code
io4, it might be useful 4 u, i haven't looked at it so good luck

ok
sylvantis so there is no easy html code for this one?
sylvantis btw you know the html code for a list of links i want to organise under menus that 'fall down'?

]listamatic @ io4

listamatic: http://css.maxdesign.com.au/listamatic/

]mootools @ io4

MooTools: http://demos.mootools.net/

io4, you need a server side language to do your "comments" thing. HTML is not one of those.

io4, that would be javascript, i advise against javascript, it's disableable on client side

Nothing is wrong with JavaScript as long as you provide a proper fallback.

io4, i do recommend some server hosting side language education, like php, it's really simple actually

http://text.ecreate.com.au
]php

http://juerd.nl/site.plp/perl_php PHP sucks because: http://tnx.nl/php http://czth.net/pH/PHPSucks

sylvantis ok mate. btw i did some tables for my website and i am wondering… is there some type of standard i should use in order to be sure all computers see 'the same thing' i mean what should i have for width and height?

heh

so that firefox, ie and all type of screen settings see the same
zoffix maybe yous hould leave this channel? you are of no use anyway…

io4, yeah, I am no use to dumbshits like yous

zoffix well i am not talking with you am i? i am talking with sylvatis and so far you have done nothing but to interupt. so please stfu

io4, eh? No you are talking to #html. If you want to talk to sylvantis without interruptions do to /msg kthnx
….if only you knew how fucking dumb you sound.. fuck..

that is good. so you have something to rant about. because i doubt anyone want to be near your ass.
no i will just put you in my ignore list.. ceya
now

io4, I doubt that you even know how to use the /ignore functions.. dumb ass

http://www.enyem.com/test/drawing.html Try dragging your mouse on the drawing panel.
The problem with IE is that when I drag it also selects those rectangles
Not always but more often than not… so how cna I make it not select the rectangles?
Each rectangle is an empty span

Comments

suppose i have two sets represented as ordered arrays Suppose the sets are S and T When is it appropriate to to

blocks or dev-cpp could be a better option…

and did you namethe file ending with .c?

yes .c

anyway, as i said, what you pasted "works".

ohh ok, I think I have the problem in other place…

in that it would compile but not link.

why no link?

there is no function named main.

ohhh ok ok sorry
well I will look for the problem in other place, I have other question I am trying to made an "dinamic" array of that struct
I will use realloc

dynamic

sorry my english is not very good
yes dynamic

you cannot change the size of an array.

with realloc I can't?

does realloc keep current information?

!book deborah

a pointer is not an array.
your paste used an array, thus my comments.

deborah, malloc/realloc gives you a block of memory. it is not the same as an array.

ok, but is like if I made an realloc of an array
add to the end a block
right?

no

you can't realloc an array
what you can do is get a block of mem with malloc and store the pointer… you can use that as an array… and then realloc it if you will

ohh I see, well I will use list with pointers to do this….

if you use malloc you can resize the allocation using realloc, which you track with a pointer.

without lose the info right?

perhaps, depends how you handle realloc.

sounds like deborah needs a book

or two

!book
noit me :$

hahaha.

owned

yes I need it heh

PoppaVic already did the !book thing to deborah.

There is a lot of time that I don't use C

some people don't notice….

yeah but i don't hink she saw it

I forget it a lot

0) { supper

there C in every day!
Vitamin C.

there's C-men

while (gut != full) eat;

I hate you so much

^_^

like you know… programmers

yes I know heh
I am making a compiler
and I need to use C

wow

sounds like homework then

yeah

while (muscles desired_size) workout(&muscles);

yeah for the university

well at least they decided not to do java

either homework or a reaally far-fetched personal project
hahah

sure Java I don't like it

take a number

java is a full-on mess

full-on?

lol, i was creased at something my dad said to his wife the other day:
full-on = massive, huge, really in your face
"Gillian, you make a variable cup of coffee"
first thing i thought of was int coffee = rand() % 10;

hahahah

i thought of coffe-fill_level = rand()

#berkeleydb
oops

amateur error

people still use that? i thought everyone moved to sqlite

i thought of drand()*10

berkeleydb is an yacc channel?

no, we're using FSFS :p
bdb hash like 0 to do with yacc.

everyone moved to sqlite
then some realized that a relational database is not at all what they need
and that sqlite performs badly under certain load profiles
and move to a specialized bdb that does just what they need
(that's why I'm investigating it)

i'd be happy with just a decent b+tree library
if only i could wrap my head around b+tree algos, i'd make one

not really
the big point of bdb is ACID transactions
a b+tree is all very well, but you still have to handle all the mess of locking, isolation and reliability that transactions bring
and bdb does that rather well in ~300k

what, does that etch my data?

it meeeeelllts it

unfortunately bdb doesn't scale very well.

nor does sqlite heh

oh? Do you have a specific experience in mind?

sure — I tried to put millions of blobs in — the performance was mediocre to start with, and rapidly became incredibly slow.
particularly for updates.

use fsfs
or flat files :p

what kind of blobs (size) ?

I hear mauve blobs are fastest.

(just thinking of something I've run into, blobs that are larger than a DB page, that cause overflow pages and major performance suckage)

Hello

why do i need to pass -lm to gcc when using math.h?

one missing ; and now it works

because Bog hates you?

to tell the linker to look for the math library I guess
is it separate from the rest of libc or something?

panagos, why wouldn't you need to?

is anyone here familiar with Glade/GTK+?

!anyone

for instance, i dont any special flags when including stdio.h!

but why don't you need to use -l with stdio.h or things like that

you do

because the linker implicity adds -lc

Ahh

it just happens that the tools handle that for you

-lc is used someplaces, and allowed most places, and automatic in others

aha

so c is the main libc stuff and m is the math stuff

guess what

Hi.

automatically meant #include "/usr/include/…"

it does…………

it doesn't.

(well, if you're picky, it does not. but to answer this noob question, "it does")

panagos, apparently you don't have a book.

but from what i know, math.h is in /usr/include/math.h

!book @ panagos
^_^

panagos, you are confusing header files with libraries.

the problem is not "math.h", it is "libm.so"

include whatever is in some configuration somewhere

panagos, math.h is a header file. a header is not a library and libraries contain code.

what book?!

or libm.a

your C book.

http://rafb.net/p/ZS8nz683.html any suggestion ?

fridim pasted "improve perf" at http://rafb.net/p/ZS8nz683.html (54 lines)

#define _GNU_SOURCE
you need that

eww, GNU indent.

you guys were making fun of my parser earlier, but it works

before you include anything

(and not even consistent)
use realpath instead of canonical_file_name

hrnt, that's right, the warning's gone.
jengelh, ok

realpath seems to be vulnerable to buffer overflows

what, where?

at least my man page warns about that

my page says resolved_path should point to a char[PATH_MAX]. No problem here…

you need to allocate space for its return value, but you can't find out how many bytes you will need.
and it also says that PATH_MAX thingy does not work
but i guess that if PATH_MAX exists, then it is ok

well, in your C library perhaps.
well, if you don't have PATH_MAX you can stil pathconf(path, _PC_PATH_MAX)

there is a warning that its return value can be huge, and thus be unsuitable for memory allocation.

no that sounds bogus

rafb.net/p/ZS8nz683.html looksk horrid
looks *

it's not like 4096 chars for a pathname would not be enough

"Some return values may be huge; they are not suitable for allocating memory."
well, it could just as well return (size_t) -1;

someone should just fix all the horrible things of todays' libcs.

I hesitate between libc and glib to do that (exploring recurcively a directory)
But I better like to know libc.
But it I do parse_dir ("/home/fridim"); that's huge in memory

just what do you want to do

;o

something," mean? I downloaded a library and am trying to build it, but it says "unknown field
Sorry, "unknown field 'identifier' specified in initializer."
I am not sure if "identifier" should be defined in a header file, or if this is a name in the struct. I'm not used to seeing "foo: bar, something: another, …"

is anyone here familiar with Glade/GTK+?

wrong channel.

what channel would suggest then?

how would I know.

well that makes two of us

#gnome?

I would assume that would deal with GNOME specific widgets

#gtk+

thank you

#gtk+ on irc.gimp.net

already got it

hello

x_or, you'd better paste the relevant code. see topic.

lo

Sup?

not much.. Writing notes, watching hunting-shows. You?
Oh, and I made my !@#(*^&!Y@#!! day - damned vhs ate another of my tapes.

Looking for my cigarettes.

they only have so much stored nutrion when they leave the factory, so at some point they need to eat.

heh.. I got mine right'cher ;-)

I need cheese; I suppose I'll get some tomorrow.
Oh, here they are. Now I need to find my lighter.

heh.. Place the tip against the power-supply ;-)

Okay, here it is.

where are variables declared outside main() and outside scope of any function() stored?

On the heap.

hey guys, can u look my code, is it right to return a double* http://rafb.net/p/nCYQnt67.html

tcleval pasted "create new empty matrix" at http://rafb.net/p/nCYQnt67.html (18 lines)

Instead of in the programs data segment/stack.
Hm?

I expect variables will be stored in HEAP only via malloc and new

I can insure you that they are compiled into the object. What the linker/loader does with what it was told is another issue.
assure

When you allocate memory with either malloc() or calloc(), it is taken from the dynamic memory pool that is available to your program
Which is indeed the heap.

sometimes you declare in such a way that the compiler will generate a record for something the loader will just leave space for.

hey guys, can u look my code, is it right to return a double* http://rafb.net/p/nCYQnt67.html

tcleval pasted "create new empty matrix" at http://rafb.net/p/nCYQnt67.html (18 lines)

patience

Cin, lol… yes sorry ;-)

Hrm; I suppose.

well, it does depend on the compiler, linker and loader code, of course

you can return a double*, but i don't know if that's what you need… what are you trying to achieve?

what's ckalloc do?

The heap is an area in memory that is dynamically allocated by the application. The data section initialized at compile-time — I've read numerously that variables declared outside main() or globally declared variables are stored on the heap; I suppose I was wrong.

allocs money to calvin klein?

most assuradley

they may well be out in that "heap", but our access would never know.

Meh.

hi

was yer connection alive when Z mentioned how mmap plays part in this?

Nah.

ok.

Why?

nada - doesn't matter

Alright

that's fuckerbot hard.

now that's a nice and useful bot. spewing random stuff.
cin, fix it.

What is the purpose of feck?

to irritate?

Ah.

it getting the topics of rafb.net urls is pretty useless too.

Heh

done.

Bbiab.

Auris-: any more orders?

cin, not at the moment, sorry.

int p10_nick(sock_info *sock, char *from, char **params)
how can i check how many parts of params is sent?

Acidic32, by telling the function.

or using the apropos conventions

AC N Acidic31 1 1186944715 Acidic32 xxxx.pipex.com +oiwgxha acidic32@staff.xxxx.net BRVuHG ACAAB aniel or AC N Acidic31 1 1186944715 Acidic32 xxxx.pipex.com +oiwgxha BRVuHG ACAAB aniel

so what?

there the 2 incoming lines

it is common to have the last elemenet of the params array to be NULL

mm

and, usually a newline has no bearing on those param
hmm… iirc (check me on this folks) the \a \b \r \t \n stuff _is_ case-sensitive, right?

cin, bots don't need to entertain us so it shouldn't speak unless spoken to. regarding the url topic getting, it can be useful, but it seems to me that the rafb.net pastes are rarely given a topic which is at all useful.
PoppaVic, I should think so.

Auris-: thanks.. Sometimes the simple-shit is what we suddenly ponder ;-)

never seen a mention of case insensitiveness regarding them.

"follow by a lowercase letter"

lovely - danke ;-)

ah.

http://rafb.net/p/knKL0Z37.html

typical uncompilable dreck.

hi
is there a webserver in c?
:

i never wrote that

many.

i want to build an web application in c

back later..

go for it. have you learned c yet?

any idea on how to get how many parts of params there is? http://rafb.net/p/knKL0Z37.html

a little times in school

10 or 11

were can i find one?

google?

search google or sourceforge

or icewalkers or freshmeat or …

or asking here

no
:P
can i do like a while loop?

certainly. you still need to know when to stop.

and go through getnext(params) untill we reach a null one?

as long as the caller supplied a null one, sure.

it send a new line
not sure if its \r\n or just \n

read the standard.
(or hell, just look at the other code — sheesh)

hi
when $LIBRARY_PATH is empty, and -L not specified, how do i find out which directories would gcc search for libraries?

''man gcc''

the man page says "certain system directories"
which is about as unhelpful as it gets

alternatively use info or a web browser (to gcc.gnu.org).
because it varies from system to system, and typically vendors pee in the soup too.

right
i realize that
so i hoped there would be some way to have gcc tell you that

from ''man gcc'' searching for "searh" it was fairly simple to find.
err, for "search"

ah, there it is, thanks
figuring out to search for search was too much of a mental leap

these things happen.

Hm

humph

has anybody here used openssl before, do i need to link the functions dynamically if I am unable to locate the '.a' file?

that is commonly the case.

is it possible to load all of the functions of a dynamic library or do I have to load them invididually?

why do you care? just use the ones you need.
if you feel you need them all then the mere fact you have them all referenced in your dispatch table will be sufficient.

hmm i'm so stupid
i just thought
openssl is open source, I can create the static library myself
lol?

lol

what kind of a question is "lol?"?
at least my installation of openssl came with .a and .so.

hello
anybody haves a module that implement's the abstract data type bitmap
?

holst, would you give me a copy of that module in c?

uh abstract is too abstract

jengelh, what do you study?

nothing?
why?
i speak from experience

abstract datatypes in C?

hell, just make it a char array and do the bitmap magic already

what if your rate of questioning exceeds one question per five minutes
you could be a fool longer than forever!

you aren't a fool if it is a smart question.

jengelh, because in the university we study abstract data types

speaking from experience is good.

university may make you a bright brain, but code is gonna be horrible.

guess what I found when I typed "adt bitmap" into google (and I didn't even try google's code search).

Auris-: wow.

static inline void set_bit(char *a, unsigned int bitpos) { a[(bitpos+7)/8] |= 1(bitpos%8); /* may vary on how you lay it out */ }
I don't need no friggin adt
because while all you students are still thinking, I'm already implementing it.

unsigned char *a

you should be using unsigned char and CHAR_BIT.

and time counts in the industry.
it does not matter
but yes, for good styling, it should be unsigned.

jengelh, it does matter. char is permitted to have padding bits which may lead to fun results.

bit operations are always unsigned, are not they?

nope.

assuming a CHAR_BIT=8 system, chararray[0] |= 128 … and chararray[0] & 128 should DTRT, no?
example?

as long as you have 8 value bits in your possibly padded char, you are good. otherwise you are toast.

Mmm, toast.

possibly you are saying, fuzz on all that portability stuff, everything is 8 bits 2s complement (with no padding or traps), in which case you are golden.
but some even some of those platforms will trap on sign flipping, so be wary.

what is TRT?

Do The Right Thing

yes, but what's the right thing?

but CPUs hardly care about "char" or "unsigned char"?

I know this is probably a basic question, but I haven't been able to google the answer - how do I compute a non-square root in C? - say 8^(1/3) - the pow/powf functions in math.h seem to well.. not work as I thought they should

pow(8, 1.0/3)
or cbrt(8)

most cpu's don't work with chars, only something wider, and sometimes they've been told "if i use a bit set instruction don't worry, but if i use a arithmetic instruction have a fit if the sign bit changes", and you can only guess what the compiler produced as instructions if char is signed, while it is pretty much certain that the "don't freak out" mechanism *must* have been used for unsigned.

yup
and if your bitop adt only uses | & and /, then that sign issue does not pop up

when I specify a fraction like that as second argument, my ld returns an error "undefined reference to `powf'" "collect2: ld returned 1 exit status"

-lm …. it's been discussed before

-lm

thanks

you mean they have special freak-out versions of AND and OR?

I *did* actually try google - I hate asking basic questions - but thanks a lot

you might want to complain to your vendor, as the documentation should tell you. a'la freebsd'a ''man powf'' …
LIBRARY
Math Library (libm, -lm)

What a nice nick.

part

cin == Chris ?

part

Calculators are bad for development.

I don't like how the government monitors and data mines all the IRC chat

it certaintly helps me sleep better at night knowing that they do

i write better c programs knowing someone is looking over my shoulder.

it also saves me disk space , i dont have to log all the chats anymore, someone else is doing it for me

Do you now?

yeah, but they won't be handing them out

Sadly most people don't care

I wonder why government would log ##C..

It's the exact same type of stuff that they do it Communist China but nobody cares

Agrajag-: nice nick :o )
(sorry in advance for this unhelpful comment) I suppose we're the Liberal USA, then?

they want to make a file on everybody
If you don't care if the government gets out of control, then I guess you are

Yes; but why?

Why does it matter if the government gets out of control?
If evil people get too much power, well … You know what they did in Russia and China they killed 10's of millions

So, you're afraid of dying, from irc chatlogs?

10s of millions!?

i thought instead of let the gov sniff on my computer, i send everything to them once a week, ….
but nobody cares

When did Russia and China kill that many?

During the Communist revolution

lol
you must be a yankee

oh I thought you meant the nazi regime or even later

The USA is no exception to such tyranny

Government conspiracy theories are dumb.

What is a conspiracy theory?

i learned at sociology study that goverment/-ing means using force on other people to make them pay taxes and stuff

Is Hitler killing 6 million Jews a conspiracy theory?

hmm, come to germany and see what happens, if you compare current gov activities with former east german 'Stasi'

he sortof conspired against everyone

Hitler was a great man.
You should read Mein Kampf someday.

lol

ugh

;

The Communist dictators were "even greater"

Please.
This is very offtopic

should i ever try to get my stasi files, or should i wait and read them together with BND/BfV files together?!

Why does this pertain to anything?

Programming is fun, but if you're killed off by the government it won't do you any good

conspiracy theories are pretty dumb

its about the surveilance, that current gov is doing or about to do

I think people do it to feel self important

Hitler killing 6million Jews is a conspiracy theory

sigh.

You are welcome to join any hacktivist group.
You are offtopic.

wait how did you go from goverment logging all irc channels (doubtful) to goverment kills programming (even more doubtful)
uwait how did you go from goverment logging all irc channels (doubtful) to goverment kills programming (even more doubtful)/u

It's not as much of a theory with so many witnesses.

Surveillance that government uses has nothing to do with ##C or it's interests.

But believing a government that doesn't even so much as value your opinion values anything else about you is asinine

They log the IRC channels and phone calls etc. to make a database hosting of who to kill off first
They log the IRC channels and phone calls etc. to make a http://www.oxxus.net">database hosting of who to kill off first

then what are you talking about this stuff and hitler here?

You're an idiot; AntiLiberal brought hitler up.

Heh

I brought up the communist revolution stuff

funny, someone against the government also in #ufo
what a coincidence :P

yeah, but you ask me, why dont you ask all the guys, talking offtopic here? and i return the idiot to you, thanks

take the political spew to #politics

^

because unidentified flying objects rebel against national IDs.

Funny how I say one thing and it stirs everything up

It's called trolling. Don't take pride in it.

I'm in #politics; It's been an irritable experience.
Mostly pertaining to Ron Paul.

All the more reason not to perpetuate it here.

but nobody is talking about C now, why not talk about something interesting until somebody starts talking about C again. Besides computer programmers are smarter than the rest in the other channels, #politics is dumbed down

Silence is not an excuse to troll.

draichis_, you don't like Ron Paul, you like the DMCA ?

Stop.

!ops AntiLiberal
~ops

What are you trying to do?

get him booted

lol

can you boot AntiLiberal

argpointerp[A][B]; char * argpointerp[MAXARGS];
what do A and B do?

why should they do something?

argpointerp[1][3] would go to the second pointer in argpointer[] and then skip 3 chars right?

indeed.

I'm bored.

you could talk about the P word … hehehe

P word?
Panda?

trolling on politics

party?

Panda = Politics.

Is the DMCA off topic too?

Knock it off, AntiLiberal.

Everything sent thorugh the internet as 0 or 1 is illegal with DMCA.

lol, they could do that if they wanted to

That's what I heard.

:*

I make an off by one error every time I could

hi

sscanf doesn't have any length protection does it

it does.

sscanf(pointer, "%s", stringp); could overflow right?

you didn't use it.

int sscanf(const char * restrict str, const char * restrict format, …);

what's restrict?
how do I set the maximum field width on "%s" ?

%5s would set it to 5, right? Well, I don't know but you can try.

not counting the null byte, yes.
char s[5]; scanf("%4s", s);

thanks

You're most welcome.

Heh.

I'm so bored. I have nothing to do.

Read a book.

There is always so much to do in the world
be creative

Teach someone something.

That would be a good idea. But who should I teach?

hey

Polarina, stream the radio show on www.infowars.com, you won't be bored anymore

There is a limitless amount of people who wish to learn things.

I havn't found that to be true, at least not the things I want to teach them :P

I wanted to become a Gentoo developer, but they just feed me with some documentations and instructions like "Bug 1234# - fix that." instead of taking me step by step, showing me how things are done.

Usually it's "I want to fix this bug, and I've already done half the job", not "I want to work on this specific project"

it's also not generally "teach me how to develop".

Actually, half the time it's "I _have_ fixed this bug, here's a patch."

Becoming a Gentoo developer is much like being a store assistant.
It's not worth the effort.

Draichis, what do you know about being a gentoo dev?

Yes, I noticed. And I know. But reading the entire documentation on how to write these ebuilds is just so hard because of its size. And when I try to write a ebuild, I just don't know what to do… So much information from the documentation streams through my head, I just don't know where to go.

Start with something that works. Tweak it until it breaks. Figure out what broke. Repeat.
Start with something that works. Tweak it until it breaks. Figure out what broke. Repeat.

Auris-: You have to have a thorough understanding of ebuilds, and so on.
Auris-: There is constant disagreement between developers.
Auris-: It's become a fashion statement.

I fail to see a link to being a store clerk.

Auris-: Worst of all: It's becoming like being a debian dev, only with lower standards (and less peerage, granted)

Going step to step is much better. When you got something to do, and know how it's done. Next time you get something similar, you go similar steps.

and you sure have weird fashion where you come from.

Instead of going thorugh the entire documentation.

Knowing the steps is utterly pointless. You need to understand why those steps work, and if you do, you don't need to remember the steps.
I am not interested in raising another cargo-cult coder, and neither is anyone else

If you don't understand, and are not willing to read or learn, you're applying for the wrong job.

cargo-cult?

Auris-: You don't need to understand.

That's exactly my problem. I don't know where I want to go and help out.

Indeed.
What are you interested in?

Programming in general.

Have you read SICP?

SICP?

SICP!

I see.

I might know if I knew what it stands for.

You need to define what you want to program.

It's the wizard book

Polarina, it sounds very much to me like you need to broaden your horizons; read more; learn your craft.

Structure and Interpretation of Computer Programs.

you can also watch the movie if you want

There's an SICP movie?

You need to read SICP. You also need to read a good algorithm book, say INtroduction to Algorithms. Then you need to learn more languages.

I'm interested in OS development/exploitation.

well more of a series

Someone filmed the entire MIT 1st year class, which is based on SICP

I was intrested in that too. But what part I'm interested is dynamic.

Which is why I learnt C, because most hosting on unix based servers based OSes are written in/around C.

If, in the course of that, you become interested in something - go for it. But still follow that route as well.
Until and unless you do that, you're not really of use to anyone…

It's a personal website host decision, becoming a Gentoo developer, will not truly fulfill you.

I wanted to implement a Ogg Vorbis decoder but the specifications for these are too complicated. Can't figure out what determites the size of each packet.

i'd need help to code up ferror(3), the "typedef struct _IO_file FILE;" is currently empty maybe that's the trouble?

It's not, actually, but if you haven't done any of what I suggested I can see why you'd think that.

Polarina, a vorbis decoder sounds fun, I would use SIMD with it too, it really needs it especially for the encoder

Do what?

Mind you, there are already perfectly good decoders around. libvorbis, for one.

from reading ferror(3) i don't get what is the "the error indicator for the stream" ?

Read SICP. Read I2A. LEarn more languages. Scroll up,.

I know more programming and scripting languages than you think.

You also seem to think there's a difference between the two

Polarina, I sincerely doubt that. Coming online on a Sunday and claiming to be bored speaks volumes about you.

makx, why are you reimplementing the standard library?

I have some basic understanding in a lot of languages.

streams have two flags that might be set, error and eof. ferror reports the state of the error flag, and feof the state of the eof flag.

Do you know any languages more exotic than Python?

Exotic?

so it is a flag in struct _IO_FILE ?

or whatever it is called.

Based on your presence in ##C - less similar to C than Python.

I never heard the word "exotic" before.

Lisp, haskell, prolog, forth, smalltalk.. even ruby, I guess

Less similar to C?

The messy languages?

try not to peek into implementations, it might give you mistaken ideas of how things work.

Postscript, maybe?

Auris- small mem target, only need specific stuff

By that logic BASIC is exotic

well, except that one implementation.

You mean languages not similar to C?

That's what I said

small platforms hardly ever need streams.

Yes. Lua, PHP, Pascal, Assembly, Bash and more..

though if you are careful you might do it, and certainly there are various implementations around for that purpose.

I might give you lua, but I doubt you've used it that way. All the others are basically identical, less powerful versions of C.

What are you using to determine that, Baughn?

What do you mean?

Syntax?

Polarina, why are you here? You have available free time, right now. You have identifed your own shortcomings: you have trouble reading large documents, and feel you need to be led by the hand, step by step, through any process. Surely that suggests to you a clear course of action.

y ? x : y; } and when i call int maxx=max((int)a,(int)b); i get an error like "call of overloaded function is ambiguous" . does anybody have a clue

…food's yelling. Oh well. Please read SICP, at least; it's free, and online.

Because bash syntax is a pretty far cry from C

Link?

Featureset, programming style, and how I think about them
google.com

Thanks.

pleed, C++ is over at ##C++.

Baughn, in that case
Java is just a less powerful implementation of C

o_O

geez, 3 pleeds.

Now, now. java has useful features that C lacks.
Be nice if it had functions, mind you.

That other higher level languages don't?

That C doesn't
Java has… well, the java security model, mostly. Still haven't found /that/ elsewhere.

Hmm.
Alright, I'm going to work on some things now.
See you.

Java is more like C++

Not yet, but it's getting there

have no flag for EOF as it is quite easy to return -1, when that happens, need to get deeper into streams

if you aren't going to provide proper semantics, why bother?

The one who wrote SICP must have ben really bored.

You will read it, or else I will taunt you about an elderberry, a hamster, and your parents.

mmm, hamsters.

Go on.

Must I?

l

No.

I'm sure you've already watched it. Anyhow, it really is a good book.
Read it in order, do the exercises, and it'll build the mental machinery for programming. It's good at that, sometimes in nonobvious ways.

It'll take three ages to do that!

Takes MIT students one semester. If you're not willing to devote at least that much time, what's the point?

semester?

Can anyone of you tell me where I can find the sourcecode of the X event tester "xev"?

Half a year, minus change

Omg.
I don't know LISP.

It's Lisp. Also, that's okay. It'll teach you.

http://cvsweb.xfree86.org/cvsweb/xc/programs/xev/

http://www.hackinglinuxexposed.com/articles/20040608.html

I suggest using the DrScheme implementation for the exercises. Oh, and joining #scheme at some point.

thank you very much )

But how is it going to help by learning LISP?

you'll learn about programming and thinking differently.

It doesn't, really. Teach you lisp, that is.

?

It teaches you just enough (in the first 1.5 chapters) to handle the book.
There's far more to lisp than that, but you don't need it (for the book). I'd encourage you to learn more later, though.

But what use is all this?

nerd points

It'll teach you how to think

I know how to think..

You really need to take that on trust, I'm afraid. It won't be obvious until sometime after you're done.
Think better, then. Or stranger. Programming isn't like your usual everyday thinking.

fishtank completed!
http://img106.imageshack.us/my.php?image=dscf0450sv0.jpg

I know.

slade123, is it coded in C?

haha
no i used dremel

Ack…
Sacrilege!

baughn it died on its own
i had a dual 1.3ghz cpu in it
and it burnt out
magic smoke got away

well, if it was like everyday thinking, some people would seriously need to get their heads debugged

So that's why you've sealed it up now. Might be a bit too late, but points for trying.

hehe no i am putting a beta in it once the sealant dries
maybe i'll get a live plant too

I'm just short on ideas on what to do. Ideas for some programming projects?

polarina you should take up fishtank creation with me

More than I could ever handle, but the thing is, you wouldn't be able to do any of them
I /have/ gone through that bootcamp, see. :P

Do what?

polarina were you hanging out in whats his names chatroom the guy that wants to make an os?

Explain please.

Rewiring the Glorious Glasgow Haskell compile host to produce code that does (intelligent) partial evaluation, for example

i forget the name of it… It started with a x or a z or something

Or forcing the square nut of SLIME into the octagonal hole of GHC

it was the name of some document organizing technology idea
baughn the way you describe your ideas scares me

Yes, I forgot the name. Let me try to remember it.

you were hanging out there though :P ?

I pick my analogies with care. A square nut does fit into an octagonal hole, but there's hole left over.

I called the organized guy a hippie and he banned me
I was just being sarcastic
organizer guy

it also fits in 8 different orientations.

that's where you put the triangle-ish analogies

Xana?

Anyone familiar with how to compile hosting bison programs?

Also, I've just come back from spending my weekend in a hack run trying to force said nut into said hole. Two bottles of glue later, I've come to realize that it'll take.. more weekends.

yes xana

I've create the C source, but it seems like it needs to be linked to a library
and i can't figure out what

Yes, I remeber about that.

polarina is xana still happening?
he banned me :p

Read SICP, and you'll never look like bbryant again.

I'm not sure, but I can check.

ah, don't worry about it

Baughn, ?

Ok.

bbryant, do we get to guess at the error messages?

Don't worry about it.

Auris-, undefined reference to yylex
which would imply it has to link to something, i was just wondering if somebody knew what that was

-ll

so you are looking for projects polarina??

you need to write your lexer

Yes.

what did you do last?

moaned about being bored

Xana it was, I think.

ah did you actually code for his project?

Yes.

ah
I always felt there was room for a norton ghost opensource clone but that is nearly impossible :p

Goodbye.
Goo/quit
;o
;/Quit

….

oh my idea killed it

Killed what?

odd.

even.

oh everyone just seemed to get quiet polarina

You gotten the sicp book yet?

Yes.

It's a rather grand book.
Hi, jengelh
Alright, cool
[A`
brb
alright — that's a bit better
bitchx isn't very comfortable
hello
I wonder where poppavic went

oh i liked him
what is the "sicp" book?

he's out to be victorious

structured and interperetation of computer programs

ooh sounds too fancy for me

Hello |FF|Im2good4u.

Can I use popen to start a process, then only check on it when I want to?
say I stall the program with printf.. and when I hit enter then it does an fread and gives me the output, it should be real time, right?

hello

ah.. ok, never mind my question, the program was writing to stderr for some reason.. I redirected it to stdout, my code works.
hello

is there any functions in libc that swaps bytes/words?
maybe it'd be cleaner to use one from libc rather than writing my own

swaps bytes, like htons?

htons?
well, just a function that swaps, say 0×1f to 0xf1, and 0xff00 to 0×00ff
oh, it looks like freebsd has a manpage for this
man 9 byteswap seems to work

Switching endianees?

Little endian?

o_O
what version of fbsd do you have?

i'm writing a file format that needs to be byte swapped for a machine in big endian

little endian

Yes, but why changin 0×1F to 0xF1 when it's the same byte?

because the hardware that reads this file format will not read 0×1f as 0×1f, but rather 0xf1
which is incorrect
so i must byteswap it

Polarina, http://google.com/codesearch?q=lang%3Ac+swap+endian&hl=en&btnG=Search+Code

So, 0×12AB would become 0xBA21 ?

yes

Like reading backwards 4-bits at a time?

well, 8

8) & 0xff))

Byte is 8 bits. 0xFF is 8 bits. 0xF is 4 bits.

erm, sorry, thats to swap words
you're right

4) & 0xf))

But why does the hardware behave like that?

because its big endian

I know what big-endian is, but why read backwards every 4-bits instead of 8?

to swap bytes?

because he's confused most likely

me? confused? why do you say that?

nibbles!

because your BYTE_SWAP is swapping bits around within a single byte, endianess is not involved with that

nibbles.bas — snake in ms qbasic

0×12345678 would become 0×78563412 when endianees is changed.

then what about my WORD_SWAP()?

your word_swap, assuming you take word to be a 16 bit value (and byte to be 8 bit), will swap the endianess properly

yes

You can also use XOR instead of OR.

Hi

i pretty much use WORD_SWAP() and BYTE_SWAP() once

8) & 0xff))

but now i see that BYTE_SWAP() is useless

it's worse than useless
and hopefully you aren't sending expressions with side effects into that macro

Good night everyone.

i'm not… i just removed it

hi
vague CS question
suppose i have two sets represented as ordered arrays. Suppose the sets are S and T. When is it appropriate to to do and elementwise belongsto test for elements of S, and when is it appropriate to scan both arrays in parallell.?
it seems that the answer may vary depending on the relative sizes of S and T

a bit late, but, if you want to represent set-stuff why not use bit(maps) and bitwise operators?

snappy, because i don't know anything about it. do you have url?
probably because i don't know anything about it

!google C bitwise operator

GameDev.net - Bitwise Operations in C: [http://www.gamedev.net/reference/articles/article1563.asp]

i know what they are i don't understand the connection with sets
the sets are represented as ordered arrays all with unique (for comparison purposes) elements

you still have to know the domain of the sets i guess though
well a set either has an element or it doesn't, and that's exactly the amount of states a bit has :P

i woulnd't know how to avoid using infinite sized bit-sequences
the possibilities for elements are great

oh

Adam Roan

parallell would be best then i suppose not sure what you mean by "elementwise belongsto test for elements of S"
but i get a vision of some gross often repeated binary search when i read it

Hi all!
Just needing a bit of makefile help - is there a better channel to ask on?

hum…
ask me?
I'm not savvy with it, but I can help
otherwise any linux channel should help.
nopaste it first

Basically I'm using make to update an executables directory with the latest contents from my build directories.
So I have 'exec/misc-utils/foo.pl exec/misc-utils/bar.pl' listed as dependencies to all.
And then I have:
exec/misc-utils/%.pl: coding/misc-utils/%.pl

PaulWay[w], just pastebin all of what you have please.

cp $ exec/misc-utils/

That's about it.

hi,all I developt socket apps, I have a problem, how to know the data is received when I send a data?

It's complaining that it doesn't have a rule to make exec/misc-utils/foo.pl though.

http://rafb.net/paste/
paulway. put your makefile there

tengulre, you're not giving enough information
i.e. windows or unix sockets, tcp or udp..?

linux, tcp.
I using recv to receive data, but I don't konw what time call receive ? send(…); sleep(..); recv(…)?? is right?

tengulre, unless the function returns -1 and sets an errno, then it was received
tengulre, if the socket is blocking, then you don't have to wait until data is available in the buffer to read it

have you tested all return variables to see if it was working fine?

is it necessary create a new thread to recv it?

tengulre, no

can u give me a simple sample ,pls! I m a student. so..

http://rafb.net/p/WlfnhH89.html

tengulre, if you show me your code i can give you tips on what you're doing

google "beej" and you should get a nice tutorial with plenty of examples

OK ,wait.

this is a really weird makefile, please ask in ##linux

bbryant:http://rafb.net/p/KYzWt297.html

Nitro tha CiMien

No worries :-)

:P

Hi

hey, so i got a string that looks like this C,2,4,2,5. I want take the numbers out of the string and perform calculations on them, how would I do that. Something like long row = strtol(string[1], NULL)?

hello everyone

Hello WORLD
AHHH!!
you got me

haha

what do you want to get out of the string, numbers 2 4 2 5, the hex value 0xc2425, or decimal 2425

the decimal value

what's the close routine related to __pthread_initialize_minimal_internal() in nptl?

strtol(s+1,0,0); is one way to extract it

and that would return the decimal value
ok i'll try that, thx

hi all
I want to ask how can I change a int into char?

the magical = operator

the compiler made the cast? if I have int a; char b; a= 3; b = a; in b I will get '3' ?

no, you will have 3
'3' is an int with a different value than 3

ohh ok
thanks very much wxstok

if you want to convert 3 to '3', add '0'

how '0'?

'3' is '0' + 3

I have 3 in x for example that is an int

'0' + 1 = '1'
"012345789"
'a' + 1 = 'b'

ohh ok

'3' is also an int, int i='3'; printf("%d %d %d\n",3,'3','3'-'0');

yes but if u need to store 3 in a char variable u do char c = '0' + 3; ?

no, 3 is 3

ack, another ipv6 user

that translate the int into char?

char c=3; int i='4';

'3' is '0' + 3
'4' == 52 in ascii

someone know what is the way that is_intiger use to work '
?

no.
this pattern only works for digits, not letters.

zid but I don't understand how to convert the int into char
I need to store the value 3 in a string for example

"3"

not specific to C, but does somebody know of a channel for objective c, OSX programming?

but I have 3 store it in an int, so how I cast
int to chaf
char
int a=3; char b; I can't make b=a;
exist some function to convert the value of a into char?

wouldn't sprintf do it for you? sprintf(resultString, "%d", inputInt);

what makes you think you cant say b=a;

wcstok, because if the int is 45, then the char would be 'A' or something (whatever ascii 45 works out to)

int = 2 bytes I think?

no.

char = 1 byte?

yes.
why does that matter?

I can't change automaticaly without a function
int to char
will lose

you are confused.

data
yea
I know heh

you may lose data if the int value is not in the range of a char.
what problem are you trying to solve?

I have to store info
in an array (I have a function that make that)

look into sprintf, which makes a string, then grab the [0] of it to get the first character. You need to decide how to handle multiple character numbers (ie. 45 = two characters, and 100 is 3 characters.) If you go char b = 100; what do you want to happen

sizeof(int);
int's are usually four or eight bytes (they can be more, or less, depending on what a char happens to be.
blah)

the prototype of the function is addArray (char data[],char data2[])
sometimes I send an string I call the function with a string

that is not 'a problem'

other times I call it with a int

What point are you attempting to proove, by saying, if you go char b = 100; what do you want to happen?

and said me an error becouse an char was expected..

no, it didn't.
re-read the error message.

ugh

[C Error] E2034 Cannot convert 'int' to 'const char *'.

const char * is not char

ya

so, what's this stupidity about 'char'?

trying to answer deborah's question. It's an undefined range, since the only "numbers" you can store in a char are '0' - '9'… the range of an int is WAY bigger, so she needs to define that

please do not confuse 'digits' with 'numbers'
chars are integers.

What are you saying.

sorry about the semantics I'm just trying to get deborah's actual requirements so I could help

then you failed on all counts.

ok
let me try again

i seem to recall when you do returntype function(char a[]), a is typed as a char *

what is the difference between 'char' and 'char *'?

mm
the difference?

that would be supported by reading the error message, yes.

the pointer
char * is a pointer
char is the variable

so, why are you passing an int to something which expects a char *?

char is a type def.

no, a char *p; p is a variable.
char a = 'x'; a is a variable.
p = &a; *p is the same variable as a.
'x' is the value of the variable named a or *p.
the problem is that deborah hasn't learned how to think yet.

ohh ok
I think I understand

I hear SICP would help with your thinking technique.

so why are you passing an int to something that expects a char *?

i think she just hasn't learned C's little rules

well, she doesn't need C's little rules to answer my question — she just needs to be able to think

thinking is harder than learning rules

and it doesn't look like she's going to bother.

I can imagine how many people were confused by char *p; and *p by itself when they first learned C

that's irrelevant to the basic problem.

I do that
to reuse the function

what the hell are you babbling about?

I am implementing a mm I don't know how to said in english
in spanish is polaca inversa, you know what I mean?

what does passing an int to a function that expects a char * have to do with reusing the function?
why … are … you … passing … an … int … to … it?

becouse I need to store in an list characters
sometimes is an int 12,13,+
for example
so, sometimes I send 12 (int)

that function expects a string …

other times I send +

no, you don't send +

'+'

that is not a string

no, you don't do that either.
the function takes a char *, '+' is a char.

"inverse pole"

yeah inverse pole

'+' is an int

yes But if I send the ascii of +
I don't know what is a number or what is a char

in the final analysis, its a numerical value

you need to learn the difference between a char and a string

in the range acceptable for a char

in C, a string is a sequence of characters terminated by a ''

yes, but let's not complicated things too much

yes
I know it

you write it like "string"

heh

you must give a string to the function if it expects a string …

ok, but in your function, you have char a[] or some such, that automatically is translated to char *a

you can't tell the difference between an integer value and '+' either (because surprisingly enough '+' is just a numeric value)…you really want 2 separate functions…one to put crap on your stack and another to reduce it based on some operator

I think that's the main confusion, or not

no really
I can't reduce it

no, the main confusion is the failure to understand that you can't pass an int to a function expecting a char *. It's fairly fundamental.

I have to store it like was writing,
yes Chris
that is my problem
I did't understand how I can cast the int

you don't _want_ to cast the int.

to the function that expect string[]

I think you need a different function - don't try to use this function to do two things.

paste the code you have to http://rafb.net/paste/

ok
1 sec

perhaps sprintf would be useful?

http://rafb.net/p/0IJkIe37.html
I put the prototipe
becouse It was a large function

did you write this function?

If u want I put all… but I don't kwow if serve to u
yes I made it

i don't get it, if you're passing a single character..
why not just declare it as a char?

you can put as many lines as you want in the pastebin
and you may be better off giving us more detail rather than less… :-)

agregar_termino_polaca (id_variable,$1.v.tipo,$3.v.valor,'=');
doesn't look like C to me

not valid C

yes is C, that made it yacc

it's just using the gcc extension to support $ in identifiers.

ghastly.

ah
so… you still haven't answered why you don't just use a char instead of char *?

ok
becouse

you said you were passing '+'

well, perhaps "=" might be appropriate.

void agregar_termino_polaca (char operando1[],int tipo,char operando2[],char operacion[]) {
operando1 can be 1 or variableName..
I have to use string in operando2 too

This sounds really dodgy.

operacion I can use a char
but there is no the problem I think, the problem is in operando1 and 2

ok, so pass your string as "string"
to the ones you declared as char *

int a=2;…… agregar_termino_polaca (a,….)
I can't do that..
I think

Comments

« Previous entries · Next entries »