Archive for Tomcat

I noticed some entries were missing from watchdog in Drupal 5 and I figured out that it was happening for uid

err
Michelle,

I think webchick is right to a degree, but what forums are really lacking is a personal connection to the community. I think what is really needed is a large cache of content which you can easily link those repeat questions to, rather than ignoring them outright. If the answers were easily
available on the web, I don't think people would be asking the questions.

Well, I'm getting help on making a web 2.0 logo for my site in there now, which I"d never post on the forums because it's rather OT

From a end users perspective, forums can really suck, because it often takes forever to get any sort of answer out of them, which doesn't jive for people working under deadlines

it's just a matter of taste i guess

if you're under tight deadlines, the first thing you shoudl do is STFW

STFW?

Search the fine web. Often, the person telling you to do a search has the manual

shut this fucking window (the irc window that is)
and WORK HARD

then you're not dependent on either someone eventually answering your question on the forums, nor on some random expert you need just happening to be in IRC the same time you are.

Docs question. Do we call it FAPI 2, and FAPI 3?
Does that mean version 2 and version 3, I hope?

hmm, what's the context?

The people who can answer my questions tend to not read the forums

functions, forms generated by the new Forms API (fapi2) can be themed in a similar manner. This tutorial will work through the process of theming a form.

api versioning. yay

nah. I would do "the form api host in Drupal 5"

ahh it was the input filter causing the access denied
how bizarre

That's better. Thanks webchick

I understand where your coming from.. but at the same point, I think theres a gap between just starting something, and being an expert at it, which the web often doesn't do a very good job of covering. I for instance just started creating drupal host
sites a few months ago, and very rapidly got to the point where what I wanted to do was often more specific than it seemed information was available for, but I certainly wasn't to the point

"…forms generated by the new FormAPI in Drupal 5.x (and higher) can be themed in a similar manner…."

where I knew drupal internals well enough to wing it and just figure it out, at the same time, I still had some pretty demanding deadlines to get things done in

http://drupal.org/node/168134 = review please.

Drupal, install system, critical, patch (code needs review), 1 IRC mention

ping

and it's that stage where I think people often decide to stick with a platform, or leave it, and a lot o fthat will come down to how well they get the information they need to implement their projects.

hi

just my $0.02

menu question

D6?

u huh
is there any way I can remove an item from the menu
through some callback
without menu.module

All we can do is improve the documentation.
And that means people who reach intermediate level, who run into intermediate level roadblocks, document how they got past those roadblocks and do so in a manner that's useful to others.

hook_menu_alter , unset , done.

ooh yay!

hook_menu_alter is a big highlight of the new system.

agreed, documentation is always great. I think in general though, that's a stage that most software projects have trouble catering to with their documentation, I don't feel it's unique to drupal.

That's what FAQ projects are usually attempting to address.

documentation is indeed the best answer, but in the meantime it's definitely great that you guys have people willing to answer questions.

It's great that we do; but it's not reliable. People come and go; knowledge ebbs and flows.
Until it's documented you don't know if that knowledge will be there.

k,zxktrtaswersa
mbvx bn ;ddcfgjygtssasyu890ra

if you feel that way, hang out in #drupal-support and answer other noobs questions.

cat. :P

You must teach this cat how to program!

Cooper?

and learn the answers to harder question at the same time

or Pickle?

I do/have answered questions which are easily within my ability to answer

great
there ya go

it's hard to justify 2 hours a day answering questions in irc to my boss though i'm sure some of you guys have the same problem.

what goes around…

another nice aspect of irc is the information i've soaked in just by glancing in here every now and then
things that I now won't ever need to ask questions about, that was really my motivation for coming in here in the first place.

haha yeah Cooper.
Pickle doesn't come by unless he thinks I have food.

are you eating at the computer? :P
haha

it's hard to justify 2 hours a day answering questions in irc to my boss though — Yeah, especially when he's yelling "Play cars Jamie NOW"

haha

is it easier to justify 2 hours in IRC asking for help?

demanding job, apparently.

haha, i've never had to.

guys/girls, in several files I seet the output being parsed to a function called t, is this to translate it to other languages?

chx - Yeah, can be. They're both napping, now… Ah, the quiet

typically when I ask a question i'll just go back to trying to solve it, and if anyone helps me out before that then great

good guess
you're correct

k, thnx

beeradb - Yeah, I do that, too

watching irc tick by isn't the best host method for fixing code, i've found.

dmitrig01, maybe a silly question but why isn't an identifier used instead of text?

the text IS the identifier

because it's used a lot and people want it to be short
brb

anyway, speaking of work, I should buckle down and bang out this last hour

beerfan, I understand, but parsing a string of 100+ chars is a little expensive I think, an integer would be faster (imho)

it's easier

ok

ping!

pong

pm
ping

.

pm

any one knows a "photolog" alike module for drupal ? smtg users can post photos and comment photos ? ty

acidfree is one I guess

shameless plugAcidfree Rocks!/shameless plug

vhmauery, hmmm :-)
vhmauery, like this you mean? http://lonki.xs4all.nl/node/85

acidfree is not so much a photo blog sort of thing as a photo album. But it does offer a filter that you can inline photos with
macOnki, that is a Acidfree-5 album…

is there a newer one?

hm… it looks really nice! I will try this acidfree… ty :-)

macOnki, no, but technically Acidfree-5 does not have a stable release yet — still waiting on some changes in Video module

The first time is always free.

RobLoach ping

vhmauery, I am reviewing the latest stuff
both drupal host and modules

macOnki, the 5.x-dev version of Acidfree works fairly well as long as you don't do videos

I'm not doing those
yet
vhmauery, now we are at it, is it possible to load the css and js only when needed? It's a little overkill to always load it

macOnki, submit a patch

vhmauery, I am still learning how the internals work, that might take a while

clients cache all that anyway, it is not a real big deal in my mind
but then I am not an enterprise web programmer, just a hobbiest

ok
fair enough
well, if I can find the time and knowledge I will patch it, I am a bit of a byte clown, I like small pages when possible

this SUCKS
what's the _street address_ of fucking citilab?
this is not mentioned _anywher_ on the site!

Google Maps?

as far as I could make out, it's…
Citilab of Cornellà de Llobregat
Edifici Can Suris Pl. Can Suris (Can Surius Square)
Cornellà de Llobregat, Spain
I just hope that makes sense to a cab driver.

oh come on, you're using a taxi to get there?

I actually have no idea how we're getting there.

the metro goes right to cornella center

But without fail, I'll probably sleep in some morning. Like say, oh, the morning I lead off with a presentation *cough* Brussels *cough* and need to take a cab.

and from there it's about 200m by foot

LOL

I wrote a custom views style plugin specially
views_teleport.module

I need something http://www.tmb.net/vullanar/en_US/vullanar.jsp eats

Try Edifici Can Suris Pl. Can Suris

ajk^: Pong ping pang pung.

RobLoach, pm?

http://www.tmb.net/img/genplano.pdf

note that the venue is NOT in Barcelona.
It's in Cornellà de Llobregat
Which looks like it's a suburb or something.

it's still in zone 1

Llobregat centre.
that works
it's across the street seemingly

ah, cool

from our appartment, it's about 45-50 minutes by metro

that's what I was checking yes
it's zone 1?
great!!

if I'm not mistaken…
http://tmb.net/pdf/corona.pdf
the end of L5 (cornella) is definitely in the very inner circle
http://www.tmb.net/en_US/barcelona/moute/targetes/t_10.jsp
transportation will be very cheap

I installed acidfree… now how do I add an album ? I allready added a menu entry called 'Albums' but there is no such thing as 'Add Album'

support?

Please direct support questions to the volunteers in #drupal-support or on the Drupal forums. #drupal is a place to discuss and help with code, advocacy, documentation, infrastructure, and pretty much everything else.

binutils — node/add/acidfree

yes. It's very confusing

why?

vhmauery, ty, I found it

but I compared it with another map and yes

L5 is the metro
the "longer" lines are commuter trains

L5 is not on the Corona map

it is.
there is a tiny symbol next to Cornella

ok, it's mentioned at Cornella
but still the line is not there — i compared this map with the full map which (fun!) does not contain zone borders…

the "full" map is only zone 1

seems liek it
http://www.tmb.net/img/genplano.pdf

or mostly zone 1
Molins de Rei (light blue) is already in zone 2
according to the corona map

anyways. we will need just a zone 1 pass.
I will have that for a month
44.35EUR , not bad.
you guys are buying a five days tourist card?

no
I'll probably buy those 10pack tickets

ah.

10 for 6.90
of which each journey may last up to 1h 15
with an unlimited number of means of transport

you will use four daily at least

yes
4 * 5 days = 20
= 2 10-ticket
= 13.80
compared to 20.80 with the 5-day card
I could make 6 journeys a day and the 10-ticket is still cheaper

your call
it might be cheaper even for me to go with those 10 pack tickets — but it's a close call and it's so much easier to have a simple pass

6 journeys a day, I can still buy this 5 day card

true.

ok, it should be written somewhere that you absolutely cannot leverage any type of hook_form_alter into a php template.
dangint.
And believe me, I've tried for hours.

why would you put i in a theme?

Cause I was trying to get crazy!

-_-

It will hook. It will make errors. It will not, however, alter that dang form

i'm gathering real world drupal techniques under my belt :-p
i was wondering what was your use case

http://drupal.pastebin.com/d45c190e6

P.S. it makes sence that form alter doesnt work in theme because i think by the time you reach the theme stage all your content has already been prepared

Never ever do this.
yeah.
prolly.

oh let me guess
you mentioned about making 'global' modifications that are not theme speciffic?
or something?
or ARE theme speciffic?

right

which one?

I wanted to try and leverage a non-specific function into a theme
or themes.
I shoulda just dropped it into a module

ok

I've lost a whole day trying this

why dont you hook into theme inside your module to see which theme is being loaded?

Basically, I was wanting a way of overriding a contrib module's .theme file

oh
those weird things again

But I wanted to do it in a way that didn't affect the site no matter which theme was chosen
and thus, the template.inc being forced into template.php
no dice.
hook_form_alter has to live in a module
or it won't do its job.
Like an office assistant on their first day…

the only reason i can see for /not/ using a module is to force that change without having to activate anything. soft of like a new default

right!
That's the way I see it

i c
now i'm just curious as to why wouldnt you want to activate a module?:

As in, if I handed you a theme for your new site, and it overrode the labels on all the signup.module's stuff to make them prettier
You'd never know it, till one day you activated signup.mod
and poof!
there it is in full glory

hmm

See, I likes themes. I don't write modules unless I have to. That for the propellorheads that hang out in #drupal.

yeah thats difficult

woops
I'm IN #drupal

:-p
though i like your idea
and it does have to do with theming
so you /shouldnt/ have to write module for it

I cut you with my propeller

:-\

Greetings. I just installed Drupal 5.2 and for some reason in the admin section the "Run the clean URL test" is a page not found. Any ideas?

I just figured that if modules were handing out their own .theme files, I should be able to override that in my site's theme without having to enable Y.A.Module

the test failed

I run a few drupal sites on the same apache… and I know it can do clean URLs just fine.

oh
never mind

You can override. It's altering you can't do

mod_rewrite messed up?

is it possible to modify the primary links menu programmatically?

oh really!?
hmmm

Shouldn't be. It works on the other sites.

perhaps you forgot to copy the .htaccess file in the root folder?
most os don't display them by default

And altering was what i was trying to do in order to add more fields.

Wouldn't that be there by default after tar -xvzf'ing the drupal website install? (looking)

See, adding more fields is no longer just presentation.

I can add and remove items from the default navigation menu, but I don't know how to access the primary links menu
bI can add and remove items from the default navigation menu, but I don't know how to access the primary links menu/b

That's altering the content.
That's a module

I don't know how you installed Drupal.

ok then. a module for the form_alter, and a template function for the field label's overrides?

That's why I was never able to justify a patch that extended form alter to the theme.

Nope, .httaccess is there.

hmm

dowdle, tar -zxvf would add the .htaccess

changing labels… shouldnt that be related to translations?

I just extracted the drupal-5.2.tar.gz and renamed the dir… nand made that document root for the apache virtual host.

imho ALL strings should be changeable somewhere in the admin

that shoulda read, "imnsho"
heh

but using .htaccess adds a read to apache modules for each page view

Duh, I think I need to add a few options to my VirtualHost container in httpd.conf

the .htaccess should be added to a vhost

i had terrible luck with translations so far
i dont know what i'm doiung wrong but nothing ever translates
but if you translate from english to english… you essentialy changing the labels

Ok, that fixed it. DUH.

They are, if you use a translation package.
Not that I've ever done that, cause the performance hit isn't worth it

Anyone want to take an existing site's look and turn it into a drupal theme for me?

i used to work at a company (www.easyroommate.com and www.vivastreet.com) which uses 100% translatable labels

I work for a deparment of a college… and the University has a theme they want everyone to use… and it would be so nice to have a drupal theme I could give to other departments to use.

and their site is lightning fast
ofcourse they are running multiple master-slave servers

litwol, how did they implement translations? apache index.foo.language?

noup
one giant query to fetch ALL strings

hmmm

and then use the ones that needed
very unoptimized
however. still very fast

Anyone know anyone who creates Drupal themes for hire?

i do

once you have enough memory it will work I suppose litwol ;-)

Talking to me?

i have a designer friend that can design and then i code it
or you can give me psd and i code it

The theme is already on a site (not running drupal)… so you can go by that?

not memory, they query the DB on every request, i guess it has to do with db cache which turns back to ram like you said
i can go by anything :-p

The campus web communications folks have templates in .html and .php format.

check out the theme at dev.hias.org
by drupal standards that is a very complicated theme

Ok, if you want to check out the original to see what you think, here's the url http://www.cs.montana.edu/
Seriously, email me info on how much work you think it'll be and a rate. admin@cs.montana.edu

yes its quite easy to do

I already kinda hacked up a drupal theme but it leaves a lot to be desired… and I'd like it done correctly.

i do my themes from scratch

Here's my poor attempt: http://www.cs.montana.edu/drupal/

well you almost got it

litwol, query_cache needs memory too
I run a mysql server that needs at least 200 MB of query cache

hence the very last part of my sentense :-p

:-)

i run an old P3 dedicated server with only 512 MB ram (

I run on a p3 with only 192 MB ram :-)

auch!
is yoru server any fast?
my is SLOW

it's fast, I am running spamikaze on it :-)

lol whats spamikaze?

Damn… ghetto servers.

google for it

oh
spam server
-_
damn you!

:-0
I helped coding that
b.t.w., anti spam server :-)

very interesting site design. sometimes its a 3 column layout, sometimes 1 and sometimes 4

if litwol's not available then other people (me) are here to help

when designing a module, should I try to make every piece of content a node? for instance, our department wants the department theme to have a javascript slideshow at the top that links various places. Is it worth makign a node that consists of just a file and a link?
making a node type i mean

if its linking then make it a menu item

Well, not really. Perhaps some of the links you are going to are on the main www.montana.edu site… but all of the pages on the www.cs.montana.edu should be two columns I think.

use various jquery modues to customize how your menu will act

yeah i was thinking of just creating an auxilary slideshow table in the db, and storing filename, weight, caption, etc in there

it boils down to either one of the two options
1) use whats out there but spend tons of time understanding how to make it work the wya you want it to work
and
2) write your own code which can be done faster but it may be prone to security risks
email me please at litwol@gmail.com

the problem is this slideshow is going to be tightly coupled to the theme.. so if i used an external module, I'd probably have to modify the code, which i would want to avoid doing

mention any extra details that you are interested in
usualy i just do themes for myself and friends (aka free) so i feel bad riping your off :-p

lol

so we can do a fair trade :-p
you keep the money in exchange for an email as detailed as possible as to what you want
regarding theme that is
okey?
^^
O_O

:-)

WOW

what?

after submitting 11K lines of patches to phpnuke, securing exponentcms without getting payed I should :-)
after submitting 11K lines of patches to phpnuke, securing exponentcms without getting payed I should :-)

exponentcms?

you're getting a good deal!

kkaefer, don't ask

http://expcms.sourceforge.net?

dmitrig01, you're right
kkaefer, yes

heh

exponentcms.org

that still exists

eww, i never managed to get to use php-nuke. around the same time i found drupal but i quit drupal some no less than 4 times before finally getting the hang of iti guess what burned me out those 4 times is the fact that i jumped neck deep into theming off the back

search securityfocus for my remarks :-)
kkaefer, well, james left the team, Fred still seems to run it

I don't know these names
the only name I can remember is Pitor

i'm working up an admin screen for my module, and i'm wondering how system_settings_form works… do i have to initiate any of those variables that it sets somewhere? or does it just automatically detect all the variables used in the admin screen and update them as such?

Piotr
I mean

I do not remember him/her

that was in the *very* starting phase

ioc group?

I think they didn't even have a website up

Ok, I just sent you an email with all of the info.

oh… i see, it detects and saves automatically- but to get it working your form elements have to be named the same as the variable…. duh

seen greggle*?

google for it and then click the cached version of the page'.
greggle1 was last seen in #drupal 1 day 23 hours ago saying 'or is it referral module?'.
I was just trying to make sure it was you who posted about that to devel'.

saw your post… i'm actually in colorado right now too (i went to a NYC meetup a few months ago, but have been out here since)
but i'll be going back east again on sunday

Sorry, I was busy composing the email and didn't see what you said… until now. Ok, yeah.. hell yeah… I'd like to see you do it for free… but then again… $25 an hour wouldn't be bad either.

dang.. well that sucks..
you going on the bike ride in Denver this Saturday night?

wish i could do it- i'm actually way up in the mountains

I'm hoping if I can get a decent theme that matches the branded templates… that I can offer it up to other departments and colleges on campus and more folks we start using Drupal.

and i'm out of here early on sunday
when are you off to china? i'm going to be there for most of Sept
uwhen are you off to china? i'm going to be there for most of Sept/u

that sounds good

Btw… I was in a booth (OpenVZ) right next to the Joomla boot at LinuxWorld last week.

the problem i noticed is that there's a lot of /non uniform/ things added randomly thoughout the theme

probably mid to late Sept: we'll be down South near Guangzhou

Well, have a look at the templates and those should give you what needs to be in the theme and what doesn't.

so those will have to be added imdividualy somehow either through module dev of through admin. but i'll figure it out and tell you when i give it more thought
of = or*

cool deal… i'll be there too- at least for part of the time. we'll have to do a china meetup

You mean like embedded graphics at the top of a content area?

oh ya.. I'm planning on doing some China meetups after a while..
you coming into the Denver area before you head out?

Did you get the email I sent ok?

yes, usualy appearing on top left corner i think

nah, i'm driving back east- and will be going thru the Springs on the way out. i'll be back this way from nov-about feb

yep i got it
when do you need this by?
i'm going out tonight :-p

dang.. ya I'm heading out of here for S.F in Sept.. then we're heading to China from S.F sometime in Sept.. after we get our Visas.

ech, i'm about to lose my satellite connection… i'm REALLY far out big-ass thunderstorm blowin in

ya I see.. Ok have a good day. I guess we'll meetup online and maybe meetup in China.. keep in touch
ya I see.. Ok have a good day. I guess we'll meetup online and maybe meetup in China.. keep in touch

shhh
i'm trying to score work here
jk

They have a zillion examples and variations. It would be nice to have a slight customized variation of our own for the CS department but I'll be happy with one that looks enough like the generic two column template. Here's a page of examples and variation sites: http://www.montana.edu/cpa/webcom/webtemplate-examples.html (that I should have included in that email)

sounds good, i'll shoot you a message next month

np, i already came up with a possible solution
also. does your site get a lot of traffic?
not really important
but if it doesnt then i could use some cool modules like text to image converters for your top menu
but w/e i'll do some examples and email them to you later

I doubt it… I have no real meters currently… but we really need to revamp the content… which is why I want to get it on Drupal. Then if we do start getting some hits I can use the caching.

cool
what will be in that right column?
left is menu, middle is content.

I can install php-eaccelerator.
Two column… menu and content.

mkey
that 3rd column confused me
okey expect email from me by monday

http://api.drupal.org/api/function/comment_invoke_comment — is there ar reason hook_invoke_all() isnt used here?
sorry module_invoke_all

Cool.

passing by reference

It would be so cool to have 1, 2, 3 and 4 columns in the theme… but like I said, 2 column only is all I really need.
Here's an example of 4 column: http://www.montana.edu/level2/prospectivestudents.php

i'll make it 2 columns and you can extend it with panels
can you assign different theme to individual panels?

I think because it's not only invoking a hook, it's also invoking an op.
there'a node_invoke_something as well.

I don't think that's a good approach
nodeapi

Yes. That.

just thinking outloud

you're better off coding a whole four regions in there

yeah. i'll just do multiple templates with different regions and use some module that changes templates based on region

At the moment, no.

i'm going to play a fortune teller for a moment and say that i ahve a feeling manels is going to become partly a theme element
outter panel for layouts
inner panels for contnent

you're better off doing something like this: http://pastie.textmate.org/private/beg17mr9nkct262fsq
http://pastie.textmate.org/private/c6vzptup7ze5srlrhc

exactly lol
i've seen one presentation given by dries
and his last words were
'lets eliminate web masters… coders…. themers. and outselves :-p

} in phptemplate.php

:-p

k, time to think about a patch to t() :-)

Oh, I think I missed your question if you were asking me when do I need it by… ummm… a week or two… or however long it would take you.
Websites are really driven by content creators and I don't think those can be replaced.

think of that website i told you about that is driven by translated strings
when patching t() :-p

hehe

speed is of the essense

speed is interaction between code, rdbms and lots of webserver tuning

it would be easy to speed up t() if all translation queries were pooled
but since all modules run their own queries it cannot be done now

sure it can :-)

we cannot /eliminate/ module executions. but we can /reoder/ execution of things

queries can be cached
reordering is nice, it helps

and if you pool queries and then bulk translate them and then let modules access the result
like
module queue translation job, then system query bulk translation, then modules patch into result to get their stuff

well, the first step would be to thing about caching per node

we have caching per node
a lot of strings repeat on multiple nodes
so you need string cache

second one would be to cache per node/language
hash them to sensible id's an query cache them

Drupal is teh fast with normal caching + css preprocessor

dmitrig01, sorry, it's not

for me it is
on localhost

for me it isnt

lol

drupal needs sick CPU to run well

RAM

imho

litwol, it's not to hard to change it

well depends on features

Well, ghetto servers will only live so long… and then you get machien with sick CPU.

no

yeah i'm pushing for a new server at my organization

well, I will prepare a patch, might want to talk to some php internal folks first

seen Crell

Crell was last seen in #drupal 23 hours 5 min ago saying 'laters'.

hmm
but how did you like the translation bulking idea above?
it would mean that all t's have to be run 3 times more than they are being ran now
or maybe just 2x
but it could reduce calls to db_query by hundreds

litwol, when using/available memory is high then yes, it would be an idea to use it

not necesserily
mkey i'm out now
ttyl

most memory is saved by keeping pages small, make few calculations, drupal isn't good at it
laters

I don't think that the size of the output has much to do with Drupal's memory usage.

killes, not on the output side, but calculating the output could be speeded

Any module or code that processes images (lots of large images) uses a ton of memory… and I can't think of anything that uses more.

Drupal is a swiss army knife, and as such may not be the best tool for any particular job but it's flexible enough to be a good tool for a lot. Suggestions for improvement are welcome.

sure, everything can be done faster. :P
if you have concrete suggestions, I am very willing to listen.

1); = just for aestethics, I would use #type value

also, I would think on using #access throughout the module
and finally, this is a really cute module
you are wrong

feel free to commit changes

commit? not just file em? sure.

it's been known to happen, once or twice ;-)

Suggestions for improvement are welcome. = usually not.

a patch for a module with less than 50 loc? :p

the attic is full with ideas
_patches_ for improvement are welcome.

so…suggestions aren't welcome?

depends

;-)

really depends

if they are concrete enough
"make faster" isn't helpful and will be ignored if you are lucky. :p

if it's a well researched one… with an understanding of the past and effect of the change…
http://drupal.org/node/36602

"make faster" isn't a suggestion

9 IRC mentions

right, it's whining. :p

is it impossible to create a path alias for a views 2nd page? like replace viewname?page=1 with viewname/page/

more like a demand

not impossible just tricky.
you need a custom_url_rewrite function for that.

not worth the hassle

hassle? where is hassle?

seen hassle?

Sorry, I haven't seen hassle.

I had a site where custom_url_rewrite was 237 lines long
LOL
it's easy

oh yea
even for a farang?

Can anyone tell me if there is an easy way to redirect to another page after a page loads which outputs html to the page

with js
or meta tag

drupal_goto

output buffer (phptemplate does that) and drupal_goto
I can't telly
*tell
I only know what's easy for me

drupal_goto wasn't working for me. must need to look further

mfer, if you mean, after the HTTP response has been sent, then no

Hmmm, I have clean urls but when I go to create a page the URL section isn't there?!? I don't recall a setting anywhere needed to turn that on. Ideas?
err… I have clean urls on…

dowdle, just enter the values for the menu, clean url's are only important for user foo

Well, I think I'm just getting ahead of myself. I guess I really should check out the modules section… and get that all configured. I'm so used to working on Drupal sites that are already setup… and I haven't done a fresh install in a long time.
Yeah, after turning on some more modules… like URL settings start to show up. DUH. I hope I'm subtle entertainment for you experts.

dowdle, it's my first visit in this channel, I only read code :-)

btw, i just had a quote out of place in my drupal_goto. maybe it's time for a break

seen dlobo

dlobo was last seen in #drupal 1 week 1 day ago saying 'right up there with amnesty :P '.

!seen dlobo

dlobo (n=lobo@222.152.34.26) was last seen quitting from #drupal 1 day, 22 hours, 16 minutes ago stating (Read error: 113 (No route to host)).

sudden interest in civicrm? :p

I just wanted to warn him of the waking licence tide
personally, i would not touch civicrm with a ten foot barge pole.

*g*
yeah, I wanted to speak to him too.
did eaton send his mail?

anyone got a couple minutes? I think I found a bug in dblog and I'd like to just double-check my logic

not that i know of

k thanks, I thought I had missed it.

I noticed some entries were missing from watchdog in Drupal 5 and I figured out that it was happening for uid 0. The query to fill the watchdog page does an inner join on users, which doesn't include user 0 anymore, so those entries aren't added. This will hide any watchdog entries for deleted
users, for instance. Am I missing anything?

Junyor, how could one exploit the dblog?

if uid = 0 is missing, it needs to be re-added.
there is some strange bu gin Drupal that I'd really like to track down…
the bug is that uid = 0 gets lost.
it might be in the 4.7 to 5 update.

ok, so uid = 0 *should* be in users?

yes!

oy

Junyor, I suppose you should check if this is true for any deleted user

your Drupal works without a user 0 ?
that's a surprise
usually Drupal is terribly broken w/o that

yes, but we're disallowing anonymous users to access anything. Access is via LDAP

if you have db backups I'd really like to know when it was lost.

I would think even login has problem w/o a user 0 but i might be mistaken never tried it
and won't now
night all

we just upgraded to Drupal 5, so I'll check if it's there in 4.7
night

well, under these circumstances it miht be that omebody thought it would prvent access…
cool

it was gone prior to our upgrade

hmm, thanks
so maybe somebody thought he'd be extra smart and removed it?

I hope not, since that extra smart person probably would have been me

*g*
this bug has been reported more than once.
however it was never clear when it happened.

well, it's not missing in another 4.7 install that's also using similar access control methods, so I don't know what's causing it
but I'll fix our DB
and it's not missing in my 4.6 install

What's the recommended minimal setting for memory_limit = in php.ini for drupal?

8

seen moshe*

moshe_work was last seen in #drupal-dev 2 hours 7 min ago saying 'bbl'.
moshe_work_ was last seen in #drupal-dev 5 days 3 hours ago saying 'y'.

I found something fishy. The uid field is set to auto_increment. I tried to add UID 0, but it wouldn't allow it. Then I disabled the auto_increment, added UID 0, re-enabled it, and UID 0 disappeared. Does that sound like a possible cause?

yeah
why is the uid field auto_increment?
it should not be.

no idea

at leat not for Drupal 6.

we're using MySQL 5.0.32

that should not matter.

Junyor, which dbengine? myisam?

probably, checking..
yes

k
Junyor, ok, let's reveal, you are adding uid 0 to drupal or the database?

database

Junyor, then the core accepts it, it should

yep
but it wasn't working when the uid field was set to auto_increment
but works now

did you use drupal to submit it?

no

nice

so, I'm guessing the reason uid 0 sometimes goes missing is because uid is sometimes auto_increment. I'll see if I can figure out why that happened

hi

I don't think there's any way to find out. My oldest backups have it in the table definition, but maybe this can give you a lead. Thank you for your help

thanks.
I still don't have an idea why it shoudl get dropped. :p
since it doesn't happen very often, it isn't really a huge problem

yep
later

hey! how are things!
I posted the meetup… you have to come now

heh

figured a good send off was in order..
you need beer..
free beer.

uh oh
Thursday was the day I can't do

hey.. its your last chance for a really good US beer before you're off
OH!!!
crap..
seriously!

Friday or sat or Sunday

damn..
ok.. I can change it..

cool man

Friday then?
weekends might be iffy, eh? or not in Denver..
I think in NYC people like there weekends.. and avoid meetups
Friday are generally not the best day either but if Beer is involved then..
well exceptions are made
so.. hey…. you wanna do a live on TV meetup?
in front of a green screen…
we can pretend to run away from the Drupal man all day

sorry, I only pay attention to stuff prefixed with my name
um - a weekend night is probably bad
weekend days work reasonably well

So Friday night out? maybe Saturday afternoon?

I don't know of DOM has that space, though
yeah

hhm.. I'll ask at DOM..

or if Brian wants to do it

hmm.. Ok I'll check with Brian and Tony at DOM and see if we can get a Saturday setup..
what do you think like 12ish?

I can be flexible then
but yeah, mid-day seems about right to me

what about pushing it up to Wednesday…. I'm thinking that the turnout on a Saturday afternoon during the summer isn't going to be so good.
or maybe just doing it Friday night.. and doing a short session at DOM and then heading straight to a bar.. to make it a bit more lively and fun

I'm booked until Thursday
inclusive

ok…

well, Friday quick session+bar works for me

ok.. lets change it to Friday and see what happens with people online..

cool

see what the comments turn out to be..

any svn gurus lurking?
is there an easy way to exclude a directory form a commit
not permanently mid you
just for a particular commit
grr, typing
mid = mind
and form = from, for that matter

anyone know when practical drupal is supposed to be out ? or if it is done ?

Slurpee you mean put lullabot book?
we have just begun writing it
it will be out next year

UIT Cambridge Ltd. (August 1, 2007)

there is another book by that name though i think that is just out?
yeah i dunno that one

i thought lullabot was doing the o'riely book

and we will probably change our name i guess
yeah
we are

http://www.amazon.com/Practical-Drupal-Evaluating-Content-Management/dp/095445295X

bummer that the names are the same
but o'reilly will need to sort that out

i wonder if that is the reason for the delay ?

No the reason for the delay is that books take a long time to write.

hm, you mean on the cambridge one?
i doubt it

pro drupal development was good. way more in depth than I thought it was be.
yess add1, the cambridge one

yes, to what merlinofchaos said
book dates get constantly moved

i couldnt find any info on line aout it

just due to trying to get it done
yeah i dunno much at all other than they bogarted our name

i heard that user groups can get copies of books for free. you just have to write a review or something
wtf, Preorder this item today and it should arrive on or just after 08/28/2007 - walmart.com

wtf is Niall Mansfield?

walmart? ick

hi!
I just unstalled a dns based blocklist

I was going to tacle the who question later
well crap
uninstalled?
on what? Your server or d.o.?

installed
d.o.
I've had it runnign on my server for a month.

ah well.
I've been blocked for months anyway
just don't use sorbs. they won;t take me off

not email blocklist.
http blocklist.

ooOOooOo
for bad crawlers? referrers?

bad crawlers

I've been wanting to try something like that

nice.

it is now running for 13 minutes.
guess how many accesses were blocked…

been listening to the SXSWi podcast over spammers, etc…

"10,000?

http://www.projecthoneypot.org/
no…
nearly 300

drupal.org/user/73521

eww, thanks!

That's still a lot in 13 minutes.

wow

yep
let's see if they complain about too much resource usage. :p

which/how are you implementing the blocking?

dns lookup

I meant sw package
I wonder what/if any drag/latency this introduces

http://planetozh.com/blog/my-projects/honey-pot-httpbl-simple-php-script

I take it you are doing the download list as opposed to live lookups?

j #poker
gah

OSUOSL will likely take the list of blocked IPs and then pipe them into iptables.

and that's something we now know about you

no, live lookups
there is no downloadable list AFAICS.

I was reading the Commerical and high traffic uses of http:bl


I've mailed them and asked two weeks ago
they didn#t say "no" .P

it says to contac them on download. If for example you are in the alexa top 10,000
bit says to contac them on download. If for example you are in the alexa top 10,000/b
and it does say 'may prefer'
www.projecthoneypot.org/httpbl.php

I've used their form
I didn#t mention our Alexa rank though.
and neither did I ask for zone files.

I was merely thinking that it would reduce any 'lag/latancy' for lookups

I've actually no idea what a zone file might be…

not actually having used their tool yet, I am only imgining how it works
dns zone file
so you could do lookups locally vs tranvering the web

ic
gethostbyname is what the script uses.
so you think I should try asking them again?

I would say at least touch base… I forget what alexa rating we are but I know it's high
don't want them hunting us

805!
on alexa

they may also be happy to aid us more if we are willing to 'say' we use them later

I didn't think it would be that high

I knew we were top 1000

that's crazy

well crap, my sites dropped
not posting for a month didn't help
oops. have to go deal with child

mailed them again
it's really great fun to watch the block counter increase. :p

seen m3avrck

m3avrck was last seen in #drupal 8 weeks 3 hours ago saying 'well worked on a project with others that did that'.

seen nedjo

nedjo was last seen in #drupal 6 weeks 5 days ago saying 'Ciao all.'.

yikes

Nedjo was never much of a IRC user

ahh i see thanks
tinymce is driving me insane!

that's its main purpose I think

hehe

what else is it good for? :p

ab-so-lute-ly nuthin

if my trial is representative, this small script should remove about 7% of our daily page visits

how could I erase all url aliases but only for a certain node type??

you could do it with some fancy SQL.. maybe. YOu might need to pull the path aliases into an array and parse it with PHP..

hi

the logic would basically be "for each path that matches node/[some number], select that node and check its type. If its type is 'whatever' then delete it."
hey!

yeah, some fancy sql will do
see my mail to infra
Dikini mentioned you'd been in contact with these guys?

webchick, killes, alright I'll try it
thanks

Wow, cool!
Hm. Not really. I posted on their board that I wanted to make a project honeypot module, but someone pointed out the ht black list module.

ic

on a very very very old community I used to be on, we did some graphics work for them.

well, we are running this now on d.o.
hope we doN#t blow their servers. :p

http://drupal.org/project/httpbl
Ha, awesome.

nice, I didn't know about that
I am runnign a custom script which dikini sent to me.
w000t, just passed 1500 blocks.

haha holy crap.

yeah, totally amazing
I was always convinced we'd have a high loa of nasties on d.o but that it's that much is amazing.

5-10% of our traffic?! Yes, I'd say that's… certainly… something.
So when this is added to iptables, will that keep the load down on d.o?
and just filter them out @ the server level?
Or doesn't it really make a difference..

yes, if it is in iptables the access will be blocked before even apache is bothered.

That's fantastic!

we might even try to implement this on the load balancer.

Oooo!!

indeed
the module has the disadvantage that is runs on Drupal. ;p

haha yes, indeed.
I just thought it was cool.

it i
s
if you don't have a load balancer etc

The more of these mfers that are caught, the better, and Drupal has the ability to be used on all types of sites.

right
we actually have a problem with catching the nasties…
their script won't run behind squid.
so currently, we don't catch, we only benefit from others catching…

Ahhh right.
Can't we still put a link to a honeypot in the header?

it would be useless.
their script would report that 127.0.0.1 is spamming. :p

LOL oh right.

http://www.projecthoneypot.org/board/read.php?f=6&i=461&t=461

"In some instances, Project Honey Pot is willing to make the http:BL service available for commercial products such as firewalls, load balancers, or anti-spam appliances. If you are interested in using the http:BL data in this way, please contact us."
from http://www.projecthoneypot.org/httpbl.php

yeah
next paragraph

Since drupal.org is in the top 1000 Alexa rankings, rather than 10,000, maybe they'd be willing to help us.
As I'm sure we get all kinds of interesting crawlers. :P

yeah
I've used their contact form

Right, I saw that about the DNS

last time I mentioned d.o but no Alexy rankings. .p

But that still leaves us in "leech" mode rather than actively helping them compile lists of spammers.

right
I've mentioned that
shouldn't be too hard for them to send us a modified script.

Yeah

we'll break the 2000 line soon. :p

lol
how long has it been enabled?
Looks like less than an hour?

1:15

ha.
See, now you're not going to get to sleep, cos you'll be refreshing those stats all night.
"Is it 2500 yet??"

:p
actually, there's a number of people who try to unblock themsselves
actually more than 10%of the blocks…

How do they do that?

2000 w000t!

woohoo!!

the script presents a form that allows you to unblock yourself

Ahhh. Interesting!

yeah
I am only not sure if a "smart" crawler could operate this form…

Is there some kind of captcha on it, or?

If I have a cck type called "rate" should I be able to create a node-rate.tpl.php file in my current theme directory and have it use that to display the node? I have tried and it does not seem to work

It bases it off the internal ID.

no
JS, though

which, if you're using 4.7 would be content_rate

5.2

and if you're using 5 is usually just 'rate' (if you've not upgraded from 4.7), but check the form at admin/content/type to be sure, because it can differ.

that works, but for some reason my iframe tag does not

How would I go about creating a new contrib module project? http://drupal.org/node/add/project-project seems to want a CVS directory, which presumably requires someone to create it?

lyricnz - You need to apply for a cvs account

I have a cvs account, of course
but just commit for my modules, I presume.

Oh, I don't know beyond that… The approval email gives a bunch of helpful links
AFAIK, you can make a new project once you have cvs access

Correct

you need to create the contributions/modules/xyz directory first

LOL! I was searching the forums about the panels by term view to see if anyone had done a two column version and ended up finding an old post of mine that I forgot to come back to

lyricnz, have you looked at the handbook?
http://drupal.org/node/100748

5 IRC mentions

heheh. The thing I was doing wrong, was not putting a file in my contrib dir, before trying to commit

I hope you tip yourself, or at least send a note of thanks ;-)

agaric - Well, the old post didn't answer my question… So that didn't help me any. Unfortunately, changing this to two columns doesn't look like it will be simple

Wahoo, that worked.

Oooh, I did it. I'm sure it could be done a lot less hacky if I knew what I was doing, but it at least works

is there a drupal function that makes an array an associative array?

back

drupal_map_assoc?

http://api.drupal.org/api/5/function/drupal_map_assoc

seen dmitrig01

dmitrig01 was last seen in #drupal-dojo 3 hours 58 min ago saying 'Out until the 20th or 21st'.

sighs /

http://drupal.org/node/166913 )

Drupal, book.module, normal, patch (code needs review), 8 IRC mentions

"…%title may be added again using the Outline tab, and each of its former child pages relocated manually." OR "…%title may be added again using the Outline tab, and each of its former child pages will need to be relocated manually."
Nobody?

3000!

haha

over 500 of those are unblock events, though

3000? Oh,

FYI - That honeypot blocklist hit me earlier. Kind of an ugly error page, you could at least make it pretty

really?
so what activities are coming forth from your IP? :p
does the unblocking work?

maybe some anti-virus is in order?

It unblocked on it's own after a couple page refreshes (I had logged out, then went to log back in and was greeted by the forbidden page)
Nah - dynamic IP.

interesting

cache maybe?

shouldn't.
the block script runs before Drupal even bootstraps.

WAG == wild ass guessing

I actually came in here to see what it was all about when I saw it, then read the infra email…

guess you need to have a word with your provider…

Me and a few million others I guess

yep
how dare they provide services to spammers and other evil guys…
night!

Night.

user_authenticate?

http://api.drupal.org/api/5/function/user_authenticate

ping dopry

hi

with workflow/actions- can you set off an action when changing state that performs validation, and if it fails block the state change?
i found http://drupal.org/node/71586 which claims it does state change validation… could anyone elucidate how this is supposed to work?

1 IRC mention

!seen davidstrauss
strange.

hi (little later…)

ping
oh, hi greggles, how are you?

hi

go to bed

I don't understand why having themes.d.o alive is a problem

too late for being awake
:-)

no no…. mail server blew up at home trying to fix it
so jjeff, I hope to have a solid roadmap fo rht edocs next week. any chance of an interview to pimp it more?

podcast interview?
sure!

cool… dries sends me email prompting me to broadcast more
but I really didn't have anything solid ntil recently (you seen the pdf?_)
I feel like such a slacker for taking this long too

I couldn't get the pdf to open

like your podcast?
bummer… hmmm… I even generated it with a kubuntu system
did you get it open?
opens with KPDF as well
it's not quite the same as I've added to the docbook, but to get an idea check out http://scratch.blkmtn.org/install-and-config

let's exchange some email and schedule the podcast

ok. use sepeck@gmail.com for now.
my blkmtn mail server blew up and it's causing me restore difficultiues right now

jeff @ thatcompanythingthatido com

pingv.com?

?

I was teasing jjeff
and I didn't think brught.com first

ah

my sone has one of the robot stickers from earlier this year
sone == son
hell, I can't even spell right

sorry I'm distracted… walkah, eaton, and I are sitting in a hotel room cramming for our workshop tomorrow ;-)

I am working on fixing my darn mail server and IRC is not necessarily time sensitive. I am used to slightly disjointed conversations
cramming? You didn;t already have a class outline?! /me fires up blog
cramming? You didn;t already have a class outline?! /me fires up blog
yay! mailserver fixed… whew!
now family and friends won't kill me

Are there any plans to add more rule types to Access Rules, i.e., restrict only comments, restrict only submissions, etc?

contrib permissions modules

supprt?
support?

Please direct support questions to the volunteers in #drupal-support or on the Drupal forums. #drupal is a place to discuss and help with code, advocacy, documentation, infrastructure, and pretty much everything else.

mad props to me for reading the topic

What have people found is the best way to have a user editable image gallery?
Just the basics would be great. Allow users to create albums/galleries then allow the users to add pictures to those galleries

well you could use a cck type as a gallery.. or even simply views

I really like the CCK method of uploading images

you could add a cck gallery node type and then reference imags to the gallery with node reference
check out www.centraledesnations.com/photos

patchak

for a very simple gallery, you can use a multiple-value cck imagefields, and you have one node per gallery (of course that doesn't let you move pictures between galleries)

I like this system for upload pictures and auto sizing them etc, but I can find a simple way for users to create the galleries. without the user having to go through taxonomy and views ( link: http://drupal.org/node/144725 )

19 IRC mentions

well why not create galleries as nodes

Hmm

and then assign images to those nodes

Hmmm, I could do that.

one image = one node assigned to a gallery, you just have to theme the gallery node

So would I make a content type of "Gallery"?

yeah

oook, I need to look up themeing of nodes then

and you would use nodereference to link the images to that node
you could even use insert views to insert a grid view in the node body
so no theming necessary heh

Would the view set it self up automatically based on the name of the gallery node??
Sort of a dynamic view

yes of course
something like 'pull all the nodes related to this one' view

And my next question is then, how can I embed a view into the gallery nodes?

there are several ways to do it, you can use modules for that, like insert view and view field
check them out

ok

let's move the discussion in drupal-support

Thanks

hey np

wtf
Forbidden
Sorry. You are using a suspicious IP.
new d.o feature ?

Grrr!

may someone give me some idea about this line? i don't really understand the need of it: comment.module:1011
$query .= ' ORDER BY SUBSTRING(c.thread, 1, (LENGTH(c.thread) - 1))';
the SUBSTRING seems useless?

Hi do you have a sec to talk about http://drupal.org/node/165160

Drupal, database system, critical, fixed, 1 IRC mention

please?

can you test on your mysql installation if user name blocking works with mask like %block% this as far as i know should block all user names with block inside
I tried it and it didn't work but maybe my install is borked somehow

i run those query within mysql directly, and report with expected result
and it is the same case for both Oracle/DB2, and MSSQL, that i am now developing

yes I read your report but maybe you use case is a bit different
you should try quers SELECT * FROM `term_data` WHERE LOWER(name) LIKE LOWER('tblockt');
where name = %block%

yes, i try that too

or you can use access table
and it worked

Anyone know how I could get the exposed filter of a view to use a dropdown instead of an autocomplete search box for filtering freetaged terms?

ok I'll try it one more time just a sec

i test this in phpmyadmin directly, and it is ok: SELECT * FROM `term_data` WHERE LOWER(name) LIKE LOWER('%lp%');
but this will face error: SELECT * FROM `term_data` WHERE LOWER('%lp%') LIKE LOWER(name);

http://drupal.pastebin.com/m21a54ec7
do you see what I'm trying to say?
in user name blocking we compare normal word like "usernameblockthis" with mask from db like "%block%"

my patch comes with LOWER(), did you try that too?

yes

please try to work with term_data (usually more data), and try my examples, too?

SELECT * FROM `access` WHERE LOWER(mask) LIKE LOWER('tblockt') zero results

(my access is always empty ;p)
(in D5)

yes but in term data you donot store masks with % inside
which is the case with access table
try adding some rules at admin/user/rules and use check rules to see if they work

http://drupal.pastebin.com/m4bfae936

term_data is not broken. access is broken.

yes
please add some rules at admin/user/rules and you will have some rows in access table

we are talking about the syntax of query statement, which is not directly related with any table

yes but I think it is in this case you have normal text stored in db while in access table there are masks like "%mask%" which makes a difference

so you means that mask store something like '%block%', and so your compare is no longer function?

http://drupal.pastebin.com/d1c59080b

thank you

ok so i get it now. the problem is becasue we are storing something like '%abcd%' in mask directly, and so the compare become no longer functioning?

yes
your patch changed the order and it broke it

therefore should we change into this way: SELECT CASE WHEN status=1 THEN 0 ELSE 1 END FROM {access} WHERE type = '%s' AND (LOWER(mask) LIKE LOWER('%s') OR LOWER('%s') LIKE LOWER(mask)) ORDER BY status DESC
maybe this can solve the problem?

look like it should work, give me a sec

that substring clause cutsoff the first and the last character of the thread field.
een dww

umum… understand the function, but don't understand the needs…?

seen dww

dww was last seen in 2 days 25 min ago saying 'seen heine?'.

lol

look at the threat column

varchar?
are you talking about the last "/"?

this works for me http://drupal.pastebin.com/m6bb0cee0

may you just running this mysql directly? i hope to test it with paltform independent

yes it works directly aswell

I think so
also the first char

nono, this only trim the last char, as it start with 1 (the first char)

yeah, just found that out, too.

so this will become database dependent problem… at least in MSSQL… i am thinking about solution…
may be i will try to create a MSSQL procedure that wrap the DATALENGTH into LENGTH?

actually, I am not sure that this code is ever called…
and it seems to be quite useless too.

O_o!?
but the remove of these code may require a more deep explore of program logic… and this may be a bit difficult for me…
as i am now focuing on MSSQL driver (only…)

LENGTH, and try the effect. anyway, thank you very much

does that query work with DB2 also? you said DB2 does not support 'text LIKE column'. What would it do in this case?

as I see it, there are four possible modes for comment ordering.
no I missed something

i think it may be a problem too… anyway, i am not able to test it with DB2 right now…
(server is now offline…)
anyway, i get your idea and problem, i will try to fix it as soon as i can

can anyone tell me how to bypass login in drupal?

Summary: I don't really know why the substring is neccessary. :p

lol…

I need some help deciphering some php
Can anyone lend a hand?

meta?

Simply ask your question. No need to ask to ask . Unless you are doing a census, asking whether anyone uses a module isn't going to result in a useful answer.

how to bypass login

is it ok with the drupal assoc. to have the "'drupal" name in the domain name of my site?

morning all
does anyone know if drupal is ipv6 compatible? (i know it will work on an ipv6 host but stuff like watchdog ip addressesn, rules based on ip addresses etc)

ping

was there an answer while my adsl dropped?

depends
we are working on a statement on that.
depends on what php/apache feed to Drupal.

no dependencies on ip addresses in drupal self?
blocking ip addresses? soring in watchdog?

don't think so
if there is sorting it might of course give strange results.

Comments

I notice that my LaCie hard drive when attached to my gentoo box doesnt spin down after not being used for a while

Parser… configure: error: XML

Comments

I have HP nx7300 notebook with Intel 82801G ICH7 family HDA based on AD1981 chip I installed alsa-driver-9999

you think that although that way of thinking does allow you to understand the concept but is not quite accurate to what actually happens?

What makes you think that?

Hey people, I manage to open quicktime movies in mplay but without sound
do you know what am I missing?
in mplayer

correct

well i'm trying to compile a kde update and it says it has a qt error, says to recompile kde with threads, if so how do i tell it to recompile with threads?

device-mapper?

dekela, launch mplayer from a shell and look at what it's telling you

I kind of need both.. or, gentoo says i need udev, and i say i need device-mapper

How are you trying to compile hosting this update?

i mean recompile qt with threads support

SePhIr0tH, With the movie?

edit /etc/make.conf add 'threads' to USE='bla bla bla' as in USE='bla bla threads bla'

dekela probably win32codecs?

emerge -uD world

dekela, yes

USE them threads ;-)

Not sure how, Its a movie trailer online

what package exactly?
don't see a threads use flag on kde that fast

dekela, with the url link

qt 3.3.8 r3

mplayer http://blabla

no threads on qt
[ebuild R ] x11-libs/qt-3.3.8-r3 USE="cups gif ipv6 mysql opengl -debug -doc -examples -firebird -immqt -immqt-bc -nas -nis -odbc -postgres -sqlite -xinerama" 0 kB

k
well its still complaining it wants it recompiled so doing that to see if it then updates

can you post the error to http://pastebin.ca or something?
you sure it says threads? afaik threads = pthreads which has been deprecated for well… since a long long time

yea thats what the build log suggested, it in there just incase

please give us output of 'cat /etc/make.conf | grep USE'

but it could be just a broken build of qt had a similar problem in the past recomplied qt and then the kde updates compiled without problem

but you can still force "amd64" on apache alone. that might be acceptable for you.

the ~x86 is on a relative fresh installation

Just an idea, but have you done a revdep-rebuild lately?

no i havent what does it do?

holy cripes on toast

And if you're going to pastebin your USE flags, may as well pastebin your whole make.conf
bAnd if you're going to pastebin your USE flags, may as well pastebin your whole make.conf/b
It fixes things.

why ACCEPT_KEYWORDS="-~amd64 amd64"?

please give us output of: 'readlink /etc/make.profile; cat /etc/make.conf | grep USE'

well computer is busy compiling qt3 atm, will post asap on my windows laptop atm

why u have multiple shells :P

no gentoo is on my P4 box

you still have multiple shells… hit Alt+F2

Do you have crazy CFLAGS?

I had ~x86 before and not amd64

hi gentoo guruz, how can i check if netfilter is enabled through the default installation (bare bones, based on the handbook)

is this an old install?

sorry, brainfart. I meant "-~x86 x86"

i'm in the chatroom on my Windows Machine

Ok

it's just to show how many packages would be affected if you _were_ to set the stable x86 keyword now.
in order to establish whether it's safe to change.

Can anyone confirm whether they are getting a segfault when executing "fuser -m /bin/mount" ?

I do not.

works here

could someone please ask to remove http://www.open-whois.org/lookup.cgi?domain=lists.gentoo.org&Lookup=Lookup from there? somewhat annoying

what do you think that will do? listing all processes using files on your filesystem on /bin/mount does not make sense to me /bin/mount is an executable not a mounted fs

(with pcimisc 22.5-r2 (unstable))

http://pastebin.ca/664338

er, psmisc rather

now i got a compile error with the qt recompile

err what?

and there must be others. just noted the reject_warnings

and gentoo-sources 2.6.21

that doesn't look good. there are far too many ~arch versions of core system packages installed for downgrading to be safe.

remove what?

gentoo.org from the rbl?

(and gentoo-sources 2.6.22-r1)

i meant someone from infra or so

I'd recommend you file a bug at http:/ugs.gentoo.org/

ugs? heh

ok, maybe a good idea. will do later

if you want consistent behaviour between both servers and don't want to use testing/unstable packages then you should probably install again. downgrading requires advanced knowledge and bespoke procedures.

ah that makes sense yeah calling a RBL open-whois… they should shoot somebody. but uh try gentoo-ops or gentoo-devs if there is such a thing

or, as AllenJB suggested, you could live with it and simply force the "x86" keyword for the apache package.

damn it i followed alot of guides and all lead to the same place "ACCESS IS DENIED"

none of the packageges are gong down in version number though

er, yes they are. look again.

If my root partition is an ext3 but was made without the -m reserved block size, is it possible to clear some space and have it adjusted without losing your data? Sometimes it fills up and effectively stops my pc

cant make a domain client to join a domain

most of them in fact.

Hello all.

sys-libs/glibc-2.5-r4 [2.6.1] — for example

do you mind us ignoring good habbits? I mean it will get kinda awkward if like 800 ppl are saying hello to each other all the time

hello
that felt good

what happens if I "live with it"

:P

http://nopaste.com/p/a6CbEhPjL for removing that packages from world file. And when tried to do emerge -1 packages, i saw error: Failed to create dir '/var/tmp/portage/* HELP please, i have only subj. system on my pc…

Hi

hello
woohoo i could keep this up all night

I spend a few days moving data aroound an configuring mail/ftp etc… it would be really anoing if I need to reinstall

you get to use testing tree across the board. even if you force "x86" on certain packages, their dependencies will still be "~x86" unless you recurse through those also.
if this is a production system, I don't recommend it. why they heck was the ~x86 flag set anyway?
uif this is a production system, I don't recommend it. why they heck was the ~x86 flag set anyway?/u
the*

-1 installs, -C removes what is it that you're doing?

Are you sure it's bad to downgrade these pacages?

yes!

most ppl know where /ignore is :P

in particular, downgrading glibc could put your system out of action.

I really can't say… I don't think I set it

ok

oh :|

run mplayer from terminal and here is what I get:
Cannot find codec for audio format 0×6134706D.

But I guess I must have. Can't understand it

Is there any gentoo dev here? I have a little question..

Anyone know of a nice GUI DVD authoring application, which enables you to write menu screens etc?

indeed. official stageballs never ship with ~arch set.

I need some help by someone who understands strace output to find out what could be causing this segault in "fuser -m /bin/ls". http://paste.ubuntu-nl.org/34388/ Could some please take a wee look at this?

in chans like this just answer, nobody is going to answer until they know the question as they won't know if they'll be able to answer
s/answer/ask

http://nopaste.com/p/a6CbEhPjL for removing that packages from world file. And when tried to do emerge -1 packages, i saw error: Failed to create dir '/var/tmp/portage/* HELP please, i have only subj. system on my pc…

so anybody know? If i run can i run mke2fs -j -m 1 /dev/(root) without losing the data somehow?

MUAHAHAHAHA
its DONE !

for a segfault gdb'ing it and getting a backtrace would probably be more useful than just an strace

so what's your actual issue? you can't install something or what?
i see errors coming by all the time, it still works

parellel emerge is a bad thing to do? For example two emerges without common dependencies?

ugh, a null pointer deference in kernel mode. that's pretty bad. for the record, I'm using 2.6.20-hardened-r6 and it's OK. that looks like quite a serious bug - I think you should file it.

no, if you recreate the fs you loose the data

StormByte Apparently not. But it's no faster than doing it one after the other

Guess I need to start backing up my conf files

kerframil, oh. I'll try downgrading to your kernel version and see if its the kernel. thanks

Damm. :-(

are you trying to increase space or something? i think there's a grow option

not really, there are a couple race conditions when merging/unmerging, but they happen fairly rarely

not ideal.

(mostly unmerging)

wdinows needs alot of restarting untill you put the machine in a domain ) hehehe

is evoltion 2.x only able to write in ldap with v2 protocol ?

also portage uses locks for a lot of stuff these days, so it's slowed down a bit by that

right. please do file on it when you can. it really merits some further attention.

freakynl, no, just to reserver space…cause if root partition fills up many things stop working

(fex. if you start an emerge while something is merging it'll wait till it's done before it builds the deptree (or starts fetching, not sure which)

because i used sabayon linux for this gentoo install cause i'm lazy, and evidently they didn't understand the need for the -m option!

?

if both hosts are otherwise quite similar, maybe you could roll some binary packages from the x86 host and use that to quickly bring the other host up to speed (after unpacking a fresh stageball).

they are supposed to be identical in many ways. How can I use the binary pacs from the other server?

In all merges that use libtool for building, parallel is faster, because libtool is so slow and does not use 100% of CPU power

install portage-utils and start by running: qlist -IC | xargs quickpkg

Does someone knows how to permit Kopete not to ask the password every time to open the kde wallet?

note the .tbz2 packages that are created under /usr/portage/packages(/All).

on the target.

as long as the tbz2 files are copied across or mounted.
for example, unpack stage3 then emerge -auDk world (-k = –usepkg).

how do i need to compile evolution to get LDAP support, i used ldap…but i cant see any LDAP settings in preferences

maybe also ask in #kde or #gentoo-kde

I've installed splash and it works fine, but it doesn't show the icons when services are started!

No one has crazy CFLAGS, atleast not in their own opinion =P

Good point.

there are a lot of netfilter options. try: zgrep -E '(NF_|NETFILTER)' /proc/config.gz

freakynl/TFKyle: I don't need this command to work per se…its just that the halt.sh script in /etc/init.d is executing something similar during reboots which causes the oops messages. Are either of you able to tell from the systrace output here whether it could a kernel or userland related
thing? http://paste.ubuntu-nl.org/34388/

Please just ask your question

emerge -C pkgs && emerge -1 pkgs. But emerge doesn't work any more aftef my command (

my CFLAGs are really crazy :P

: [sdb] 1014784 512-byte hardware sectors (520
should be 495,5
flaptoppy ~ # dd if=/dev/zero of=/tmp/bla.tmp count=2048 bs=1024
2097152 bytes (2,1 MB) copied, 0,0135133 s, 155 MB/s

TFKyle, ok I will try that after trying an older kernel and then an unstable version of psmisc

it's often permissible but you should be very sure that there are no common deps. and, in theory, there are other things that can go wrong (although the circumstances under which it could would be very rare).

should be 2 exactly

I'm a dev from kuroo (starting one) and I planned to do emerge –oneshot –nodeps for some uncommon dependencies in paralell, but I need advise from portage devs to do that, I don't know if its secure or not

tune2fs is your friend

ok

kerframil, sweet thanx

ARGH revdep-rebuild didn't pick up on apache using expat and now apache won't start and in 1/2 an hour i am supposed to demonstrate a website to clients…

thanks all for answering!

someone here who can shortly help me with evolution-ldap contacts. I can search the ldap contacts dir with the dist. name i use in evolution ( tried ldap search ) also the search base is correct ( tried ldap search ). But i still get "qry not successfuly"

hmm, is there some really bad lag between freenode servers or something?

you could try the temporary and ugly method of creating a symlink

yeah there are some issues with services and so on

mzbot, teach BCMM expat

expat-2.0.1 has been marked stable. However, it is not ABI compatible with earlier versions. To successfully upgrade and fix any reverse dependencies (along with several other issues), run: emerge -n1 ~portage-2.1.2.12 && emerge -n portage-utils && emerge -qep world | grep
–color=never -oFf (scanelf -plRBF '%F %n' | awk '/libexpat.so.0/{print $1}' | xargs qfile -qC | sort -u; echo -e "libtool\ncurl") | xargs emerge -1

2097152 bytes is correct. It's probably correct in so far as it's 2.1MB, _not_ 2.1MiB
i.e. in mebibytes it's 2, but in megabytes it's closer to 2.1

woah, that has changed…
um look
i just remerged apache and no joy

it's not 2.1 with 1000 either

it's 2.097. that's close enough :p

please please please, someone, what is the quickest way to get apache to function normally?

can you be more specific? also try asking #gentoo-apache

with 1 decimal place, the rounding is correct.

it won't start, init script says /usr/sbin/apache2: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
remerging does not help

http://www.pastebin.ca/664351

rebuilt expat, and look at topic

what friendly12345 had the bot say to you is the solution

erm rebuild apache

guess that's true, as with 1024 it's .048, but still

yeah but is there anything i could do faster to just fix apache? i'm supposed to demo a website in 30 mins…

as far as i'm concerned 2.0 MiB == 2.0MB there is no 1000's in my opinion in IT and it shouldn't come to it just because some disk sellers think it should

try symlinking to the new expat library, if you really need to get it working within 30mins - there is no guarantee that apache will work properly though

no

i've rebuil dapache already
hmm thanks anyway

please don't give people bad advice like that
please don't do the symlinking

the expat problem is system wide, if you ignore the expat fix given by mzbot you'll have nothing but problems

nah i know that malfunction is gonna be worse for me than total failure

I've already warned him/her that that is ugly

bah, i already "fixed" it when the instructions where just revdep-rebuild

don't really have a choice i'd put that command in a shell and hope for the best

it's changed now hasn't it?

that's your opinion. I'm just relating the explanation.

thanks all

and my explanation makes sense.

um no one happens to know the specific dep of apache that might cause this do they?

thanks kerframil!

there's no shortcutting the expat issue. sorry

perl -e 'printf ("%.1f", 2097152/1000/1000)' displays 2.1

thanks…

readelf or depspec is your friend :P

when did the mzbot advice change?

dunno, some ops here have been working hard to come up with a command that works best

gah, py 2.5 still isn't in ~arch

hum in general how much stuff is that going to remerge?

but quit talking here and go run it, you're wasting time

already syncing in preperation

depends heavily on your system. if it's a server without xorg and so on, quite fast. if it's something with a gui, tons of stuff
on my java server hosting it was like 5 items. on my desktop it was 66

you'' notice you have two versions of apr and apr-util, recompile all 4 apache works again

hmm?

emerge -e apache —may be quicker but only semi-complete

just be clear, I'm not disagreeing that the MiB vs MB thing can be somewhat irksome. I'm just telling him why it's saying what it's saying.

oh thanks

hi, ive problem with coldplug-20040920-r1 its blocked by sys-fs/udev-089

libexpat.so.0 issue?

absolutely

yup, go for it

thanks

wow when is the last time you did updates of any kind?

you don't need coldplug, unmerge it and upgrade udev

I just emerge -C apr apr-util apache && emerge apache

actually, revbuild could be your friend too, as I added the -p option

okay

uh i wouldn't suggest that unles syou quickpkg those first

(to say to just check the binaries that are in the given package)

thanks
apr and apr-utils are smallish packages?

if i do a minimal install how long would it take to get to a kde4 + beryl ?

yup

great! apache just took much less long to compile than i thought
and with that done once it should be ccached

teach Xplicit how long

Since everyones system varies in speed and other factors, it is generally not possible for anyone to say how long emerging something may take. However, you could ask someone who has gentoolkit installed, and the package you are wondering about installed, to do a genlop -t packagename to get
an idea.

i know _why_ it does it, what i don't believe is why we IT ppl succombed to some disk manufactorers

Is there any other file other than /etc/conf.d/local.start where to put commands you want to be run at startup?

ok. well I just wanted to separate the two issues. I thought you were disputing the math initially.

is udevfsd working similar to coldplug when system is booting?

thx

I am haning problems with gnome, gnome applets crashes as soon as I open them???

kde takes centuries

no i dispute the fact we (the opensource world) succombed to some disk selling strategies and unknowing end-users. i mean stuff like this 2097152 bytes (2,1 MB) copied, 0,0135133 s, 155 MB/s

kde4 is only available from an overlay as a monolithic build by the way

confuses the shit out of me, not to mention when i have to use a hexeditor to look at disks n such and use dd to copy parts of them offsets n such look really stupid now

do i need hotplug scripts when i am using udev
?

and linux host being about choice, i want to know where the flag is that makes everything 1024 multiples again

yes, it is confusing but don't use the S word please

mind the language please :-)

sorry didn't notice

Can anyone suggest a simple, light weight mail server to install? I only need it to see errors sent to root.

full on rant mode

so uh, where's the flag???

look at dd manpage, it's explained which prefixes are base 2 and which are base 10

yea i can specify MiB, it will still output MB

they're all pretty lightweight in real terms. I like postfix, personally.

do i need hotplug scripts with udev

Thanks.

even worse, M=1024's MB=1000's MiB=1024's etc

wow gentoo pages are back online!

they were down?

few days
not more

i could'n acces few…
in the past few dasy

the root of gentoo wiki was down yersterday, and a lot of its pages

hmm, http://packages.gentoo.org/ looks kinda strange

and gentoo-portage.com is back too

gentoo-wiki != gentoo

you're right…

jes' chiming in with other gentoo-related things that were down

ah, p.g.o/etc. are back up (without p.g.o obviously)

mencoder is part of mplayer, right? whenever I emerge mplayer, I never get mencoder. What do I need to do?

ohh I do like the new packages.gentoo

you probably need the encode USE flag

should I enable sse3 for a p4? or is that going to slow it down? It's a p4 with HT, and I'm running it under SMP

? most p4's don't have sse3

some do

and yours does?

http://en.wikipedia.org/wiki/SSE3

so I guess it will slow it down if i have stuff compiled with sse3 and it doesnt?

pni == SSE2 right?

ok. will try that now.

depends on whether it also generates x86 compatible code i guess

ah, pni is sse3

SSE3, also known by its Intel code name Prescott New Instructions (PNI)\
from the wikipedia

-march=prescott should enable it automatically if you've got a prescott

mzbot, wiki simmerz safe cflags

http://gentoo-wiki.com/Safe_Cflags

how can i tell easily if I have a prescott?

if you used -msse3 or a -march that enabled it it would cause apps that use it to crash with invalid instruction when they try to use it afaik

ok, they don't crash

I think -mcpu is safer to work with earlier CPU's, but a bit slower
or -mtune rather

that worked. thanks!

however, lshw doesn't show sse3 in capabilities for the cpu

cat /proc/cpuinfo to check if you have sse3 2

It's pni in cpuinfo..

tmr: pni is in there

yep

guess I should really be using -march=prescott?

I can't log on to my AP using WPA. I can in cleartext. Could someone take a look on my WPA config to see if I did anything wrong? http://pastebin.org/859

for some reason when i emerge stuff it says i have one too many config files to update (when i run etc-update it always has one less that what emerge reports)

Hi there, how can I disable the Ctrl-Alt-Backspace to instantly kill X (and log out when windowmanager is used)?
I see no relevant line in xorg.conf

hang on, i know that one
in serverflags
Option"DontZap""yes"

I have ServerLayout section, serverflags not.

you'd have to add it

I see the online package database is still down

add a section, and an option in that section?

yes.

yes, which is why the topic still says that

Thanx, bunder!

gentoo-portage.com works

yes I know bunder, I just checked. thanks
I assume they are concentrating on fixing these problems and not keeping programs updated?

that is/was a bug in portage, it has been fixed in later versions

i see… so at least its not my system

hi btw

hi

god this emerge is taking forever, i was hoping to wake up and be able to take care of unbricking my router this morning

i'm still on self-imposed fgo sabbatical :P
renice?

Coud U recommend me some app (lightweight, like xchm) to read .lit files? (eBook files)

i know

its not my fault that some mods thing porn is okay in otw
s/thing/think

take it to /query if you want to continue, this is OT here

ok

what can you do if you've added a new feature to a package in portage, but, the author of the program's reported e-mail address fails, is there another way to get it into portage?

`Goatee: open a bug

`Goatee: and let the bug wranglers decide who to assign to.
`Goatee: such bugs should be marked with a severity level of "enhancement".

`Goatee: make sure to mark it as a feature enhancement
hah

tweedledum and tweedledee, at your service

thankyou

when I change a ebuild, how to regenerate his digest?

please stop changing nicks

It's just a little thing, I added highscores to Lightyears, but, it's a stable enough mod.

still up?

download a cli utilitu called clit(covert lit) which wil convert the lit file into html and then you can use any webbrowser to view it.

anyone got a ballpark idea of how long openoffice takes to emerge?

what kinda machine?

oh! he left

its 3.30 PM … of course I am up

turion64 running 32 bit with 1gb ram
2ghz
ah, I just woke up here… couldn't even tell you what time it is

do you have ccache?

?

hehe d3ity

ok, in that case, I'd take a ballpark guess at about 8 hours

I'm betting me not knowing what that is means no… what is it?

but it's anybody's guess, really
ccache is the compiler cache

plus the fact that since I was sleeping, I have no idea how long it's been going for exactly

if you turn it on, your first build becomes much slower, and subsequent builds become much faster.

would having such a thing improve compile times? if so, how would I go about getting it? just emerge it?

gentoo ccache

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=3

ah, the handbook, as soon as this compile is done and I get into a desktop, i'll check it out
might be beneficial on my desktop machine as well that has yet to go through the revdep-rebuild ordeal

In kde my title bar has disappeared and I can't switch to other applications, when I do i only see blakness

anyone know of any necessary use flags to get shorewall / iptables working together? Everything seemed to compile without a hitch, until I got to installing shorewall, which wouldn't emerge with a minimal flag for iproute2… so I neg'd that flag for that package… but I keep getting
messages from iptables that "No chain/target/match by that name" with a minimal shorewall config…

no need to cross-post

you are missing required NETFILTER options in the kernel. my advice is to enable all of them as modules then see which ones are loaded after you've started shorewall. then you can narrow down the kernel .config to just those modules that you need.

… and I would see which ones were enabled by using lsmod ?

negating iproute2 useflag isnt a good idea
iproute2 is …pwn

yeah

I negated the minimal use flag, not iproute2… ( at least not intentionally. )

I checked the contents of the initramfs and it doesn't include the images folder of the splash theme
how can I add the icons folder?

hi here
need some help

I'll be right back, gonna try startx

just installed gentoo on my fakeraid,installed grub to boot windows and gentoo,windows work fine,but when gentoo boot it give me a Kernel Panix
Kernel panix - not suncing: VFS: Unable to mount root fs on unknown-block(1,0)

is there any docs on the overlays? also, layman -L did not list xeffects, i could add it with layman -a xeffects tho', that's kinda strange. anyways, for kde4 (beta stuff) i appearantly have to unmask a lot of stuff and there's bound to be some info on it (don't see any options in layman to get
an informational/project url)

when did busybox become part of system, and why?

busybox is important

dunno long time ago, probably for portage chroot's but it's just a guess

if you need it you *really* need it :p

build it statically and you can fix a ruined glibc system

hrm, still libexpat issues…

nobody can help with my kernel panic ? ;( want to finish my install so i can use it ^^

Mytenia, are you using an initial ramdisk?

what do you have as your root= parameter?

either you're specifying the wrong root=, you don't have drivers for your harddisk controller or something similar

ok, reported and the edited files have been attached to the bug, it is a well thought through system, thanks for your help.

When I hibernate (using suspend2) with X closed.. it all works fine, but when I hibernate with X and resume.. after loading the screen turns black with colored vertical lines.. I think it is a graphics driver issue.

0,0 is usually disk controller driver missing, anything else is generally either wrong filesystem or filesysgtem driver not compiled into the kernel

i'm using ramdisk like i read on a gentoo wiki,i have root=/dev/ram0 init=/linuxrc real_root=/dev/mapper/isw_ibffgcffb_Volume06
my grub is as follow:

bbiab

thx for the fyi

root (hd0,0) 2nd line: kernel /boot/kernel-2.6.22-gentoo-r2 root=/dev/ram0 init=/linuxrc real_root=/dev/mapper/isw_ibffgcffb_Volume06 dodmraid
not enough used to linux to find the problem and fix it,dunno where to look ;(

mmmh, dmraid

like i said i'm using a fake raid *Intel Matrix Storage*

ew. dmraid. icky.

is there any docs on the overlays? also, layman -L did not list xeffects, i could add it with layman -a xeffects tho', that's kinda strange. anyways, for kde4 (beta stuff) i appearantly have to unmask a lot of stuff and there's bound to be some info on it (don't see any options in layman to
get an informational/project url)

fake raid is evil. can't help you with it, i avoid it like the plague.

anyone else having a problem installing nvidia-drivers on amd64 running in 32-bit mode?

only way i found to use both linux and windows on a raid

dmead, what do you mean running in 32bit mode? gentoo x86 ?

yes

sorry i'm on gentoo amd64 :/

:/

? wtf is fake raid, and what's wrong with something like a 3ware raid controller

I think it wont work

won't work?

mask nvidia-drivers using package.mask
and install nvidia drivers from their website…

hmmmmm
ok

this is how I solved the problem, maybe there is a better way

ya kno i dont think i installed a crond yet

not a solution for everyone.

not a solution :-)

there should probably be a way to address the problem via portage

fakeraid is software raid that's integrated on motherboards.

hello… which package is mencoder from?

hello , wacht step up movie the best movie

and 3ware cards are hardware raid, i prefer linux sw raid instead.

DrEeevil dmead you are right, this is not any nice solution… adding 32bit support in portage by a USE flag can't be so hard

meh… still no X gotta rebuild my windowmanager

hello , wacht step up movie the best host movie

mplayer
nvidia works in 64bits fyi

oh right. I have mplayer installed though but not mencoder. Guess I have to put it as part of the use flags

it works in 64bits, but not for 32bit apps

add encode use flag.

ah great thanks

which 32bit apps?

like games-fps/enemyterritory, quake4-demo, doom3-demo
etc.

works for me.
what card?

all 3 are real raid solutions IMHO, 2 of them just use the CPU to create it. not familiar with raid sets created by nvidia chipset and other cheap stuff, but i take it the bios doesn't see them correctly? otherwise it shouldn't be a problem as long as it's support. btw, win2000/xp/2003 do
support software raid

quake-4 works fine 64bit

on 64bit
quake4 isnt 64
:p

fine, point is it works

mmm maybe it works now, didn't work a year ago or so when I begun using amd64…

I wireless keep connecting and disconnecting. I never get the change to get an IP. I use WPA, what could be wrong?

yap it does :p

well
SmatZ, my arch is x86
not amd64
but installing the x86 modules seems to be messing it up

oh sorry …

they are consider fakeraid because it's not hardware raid, but i only like to refer to "fake raid" when it doesn't provide any fault tolerant.

only install the bin, do the data transfer manually

ok i'm back in my install,remounted the drive using the live cd etc,but dunno where to look first for the problem ;(

but the processor itself IS amd64
etc
brb

he's problably missing sata drivers in kernel.

gonna look

i just like to call it software-raid, fake raid makes me think ppl sell jbod as raid-1 or something

yea fake-raid should equal raid0 since it doesn't provide redundancy.

my raid array is a raid1

but those bios raid solutions really suck, because they create partitions across all the drives that take up all the space, which prevents you from using software raid in linux based hosting services along with windows.

ok in kernel i have Serial Ata and Parallel Ata build-in

i get it, but semi-hardware-raid should never be seen as a single disks so you can do software raid on it again. it might confuse the raid logic too and just because raid-1 says it's a mirror it doesn't mean the vendor doesn't decide to write disk-1 from beginning-end and disk-2 from
end-beginning or much more complex methods

under it i have Ahci Sata support,Intel ESB, ICH………PATA/Sata support build-in

this the intel ich controller? do you have CONFIG_ATA_PIIX, CONFIG_SATA_AHCI enabled?
well those semi-hardware-raid solutions take up all the space on the drives when an array is create, thus preventing anyone from creating a separate raid partition. this prevents me from having both linux,windows on 1 machine now when using raid.
get rid of CONFIG_PATA_MPIIX if you have it enabled. also post lspci output.

bleh. I am curious - recently I did a lot of upgrading and also changes to my config files for X.org. one of them has changed behaivour on my system. now X apps which use images seem to be often crashing. for example, firefox will segfault everytime I try to run it, while xloadimage will
randomly work on some of my PNGs but not others, crashing with messages lik 'An internal error (SEGV) has occurred. If you would like to file a bug..' Does this sound …

… like any particular error to anybody? (revdep-rebuild reports everything's ok, and I'm using ~amd64)

/exit

what's the right way to set or save "ip rule" conf so it will be ready after each boot up?
s/each/every/

ok kernel compile hosting and copied,but now lspci don't seem to work,weird

if you're talking about netfilter, the iptables init.d script does exactly that.

Whats the native samba equivalent for linux?

oops

samba? :P

^

if I were to buy a usb-stick wlan card, as i'm sick of trying to get my built-in to work, what type of card should I get?

net-fs/samba? _

I mean to share between linux pcs, rather than to support windows file sharing

nfs, I would imagine.

NFS is the closest thing to a de-factor standard. you can use CIFS to share between Linux hosts though (Unix extensions are supported).

yea, nfs _

from all fwmark 0×64 lookup vpn

i.e. CIFS isn't just "windows file sharing".

rules that look up local/main/default is set by kernal by default

hey guys i can't change the timezone no matter what i put in conf.d/clock it stays EST any ideas

ah. well you could put your rules in /etc/conf.d/local.start I suppose.

killer-9, /etc/localtime ?

thanks, that's a nice place

ayayae,do i need to copy everything from my lspci output or just the things concerning Hdd,Sata and raid ?

psych, localtime point to the zone that i want in /usr/share symbolically

killer-9: Which field in /etc/conf.d/clock are you editing?

just your sata line.
killer-9: /usr/share/zoneinfo/….

got 2 that may be usefull

JB318, Timezone

post them

killer-9: What were you setting it to?

Europe/Sofia

Intel Corporation 82801GR/GH (ICH7 Family) SATA RAID Controller (rev 01)

JB318, Europe/Sofia

killer-9: Got me. I don't remember where else you're supposed to set the timezone any more
killer-9: That looks OK to me

do you have CONFIG_ATA_PIIX, CONFIG_SATA_AHCI enabled?

my user is added to the wheel group, but when i try to su to root, it tells me Authentication failure… how can I fix that?

killer-9: set symbolic link from /etc/localtime to it.

killer-9, Where does it say 'EST?

Marvell Technology Group Ltd. 88SE614x SATA II PCI-E controller (rev 01)

did you relogin that user first?
you using the intel badaxe2 board?

psymin, #date

likewhoa… i was doing #su - user …. then $su

non Asus p5wdg2-Ws-pro workstation motherboard

3 EST

likewhoa, and also when i login into xfce and launch a term, it wont either

killer-9, if you log out, and back in .. does the date command still output EST?

psymin, and i want to change that adding sync to ntp server
psymin, aham that is the problem

enabled the stuff i posted above.
type "id username" and make sure he's part of the wheel group.

likewhoa, (wheel),11

nice motherboard btw

sata ahci is build-in,but i can't find the other one in make menuconfig

it's in SATA section right on top.

got AHCI SATA support Built-in

it's called Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support

Intel ESB, ICH, PIIx3, PIIx4 Pata/Sata Support,is it that ?
ok,it's already enabled

likewhoa, brb

well then it's something with genkernel and i can't help you with that since i refuse i mean don't use it.

not using genkernel ;p

Is there any way to tell the kernel not to cache files of a specified process?

that kernel line looks like you are..

it's the line i can see using make menuconfig to configure the kernel

psymin, Any ideas where ntpdate is getting its zoneinfo?

hi

likewhoa, okay, still having the problem

I'm trying to do a emerge -avuDN system and udev is being blocked by device-mapper
how do I resolve this?

could you paste the details of the block please?

ok

pastebin if it's more than a few lines.

hi ,is there a simple to get ride of the starting/stopping service message when parallel statup is activated

in any case, I think I know what the answer is. try to specifically upgrade deivce mapper first: emerge -a1 device-mapper
device*

http://pastebin.com/m5d0a8871

yes, upgrade device-mapper as indicated above.
it needs to be at least 1.02.19-r1.

what's oneshot do for you that regular emerge doesn't?

don't add to the world file.

ok
is there any reason I wouldn't want this added to the world file?

it depends

I do emerge -avuDN system before world anyway

faq world

The world file is stored at /var/lib/portage/world and contains a list of packages that have been previously emerged as a result of being _explicitly_ given to emerge as parameters (i.e. unnamed dependencies that get emerged don't make it in). As an emerge target, "world" effectively refers
to all of the package names defined in this file (and also implies "system").

as a general rule of thumb, world shouldn't contain deps of things you've asked for, only things you've asked for.
if device-mapper is something you explicitly request then yeah, it should be in there.
but using -1 won't remove it.
for example, if I run qdepends -Q device-mapper I can see that lvm2 depends on it.
I have lvm2 in world, so technically, device-mapper doesn't need to be in there as well.
like I said, it depends

killer-9, is ntpd running?

lvm2 is the "top-level package". that it needs device-mapper is co-incidental to my needs. if I run emerge world with at least the -u parameter, I know device-mapper will be updated wherever possible.
also, littering world with low-level deps can stop depclean from working properly in some cases.
because nothing in world is considered a candidate for removal, ever.

thanks for the help kerframil, got to go now

psych, yeah

ok

psymin, yeah
psymin, look i think that the hwclock is set to keep localtime and this is the problem do you know how to convert it

killer-9, if the daemon was started before the timezone change, try restarting it

psymin, i did restarted everything so many times

hmm

can anyone recommend a command-line ftp program?

Aw0L, ftp

lftp

uh-huh
thanksguys

Aw0L, use telnet ip 21 and speak FTP :-)

Aw0L, try getting use to ftp it's the most commonly used one and it is almost everywhere installed

"pppoe-status: Link is attached to ppp0, but ppp0 is down", what it is the solution ?

killer-9, I don't seem to have it - is it part of another package?

Aw0L, ncftp

Aw0L, net-ftp/ftp

thanks

can I remotely start a shell as if I was at the machine?

hasueno; yes ssh/telnet

while you're at it look at screen

end-schranz, that's just a normal one, I mean as if I was really at the box itself, screen wakeup the lots
I need a shell that won't die when I timeout
where I can screen to

If i am installing gentoo inside vmware workstation Do i still have to do the fdisk step? it does not seem to be working anyway

because this internet connection is so crappy, it disconnects every 20 min or so, and then my ssh terminals die

just start screen and use screen -R -D if you get disconnected
use screen on the remote machine of course, but it survives disconnects quite well

i would also recommend the scree sollution

okay, I'll try a plain screen then

is there a simple to get ride of the starting/stopping service message when parallel statup is activated?

hi

Hey, what's the program which I can edit gtk programs' themes with?

alright, group photo
say cheese!

:o

http://slackwaregallery.com/albums/userpics/10001/2007-08-20-110011_1280×800_scrot.png
progo, gtk-chtheme?

abby, you have a such program?

progo, it's in portage

abby, thanks

progo, np

so .. I have a dedicated 3ware raid card .. on pci-express .. wha'cha guis recommend for 8×500G read/write speed ? .. a whole raid 5 with all the drive ? .. a raid50 ? .. a raid 6 ? .. raid 10 ?

abby, pretty fancy desktop you have.

Forgive me, but I always thought Stripping was the fastest

it's supposed to be a file-server D

progo, thanks

anybody got a link for the doxygen gui?

BlackBishop, is not :p

I have a very messy desktop, but, hey it reflects me

BlackBishop, oh YOUR box lol

:P

raid0 should be fastest, but that implies you don't care about data loss
otherwise I'd say raid5 is the best compromise

2 config files in '/etc' need updating." and then etc-update only lists 1 config file?

since I swithed from kernel 2.6.20 to kernel 2.6.22 and the ibm-acpi module has been remane to thinkpad-acpi (I updated the kernel config) my kima applet doen't show anymore the hibernate option. I don't how to do suspend-to-ram.

well .. I don't care about the data loss .. ( at least .. not much .. ) .. raid 5 or 50 ?

raid0

try dispatch-conf instead. also, you can search for the files with: find / -type f -name "._cfg*"

if you want to go for speed go all the way

all the drives in a raid 0 ? .. I think .. I should at least do a 10 ..

kerframil, dispatch-conf only listed one file too

depends on how much you prefer data integrity over performance

well .. the drives are 1 day old
and have a 5 year warranty ..

raid 10 loses half the space, raid5 is a bit slower and loses 1/nth with n disks
raid10 tends to be a bit faster at the cost of space

8720 MB in 2.00 seconds = 4363.18 MB/sec
524 MB in 3.01 seconds = 173.95 MB/sec
this is the raid50 .. ( 3T of space .. yumm )

anyone used gem in a while?

blackace, what kind of controller you running that raid on?
oops
BlackBishop, what kind of controller you running that raid on?
stupid autocomplete
i've got a old dual celeron with 3T of space in raid5 but I don't get those speeds

it's a 3ware pci-express 9650SE-8lmpl

ah nice
i'm using 2 older PATA 3ware cards

abby, i want such desktop you have!

at this price .. it should be .. I almost fainted when I heard the price

my mess (scaled to get onto imageshack) http://img513.imageshack.us/my.php?image=shotxv9.png

this is a sata ||

yeah $600 isn't very realistic for a home user haha

I got it for 400$

BlackBishop, lucky.. ebay? or you just got the hookups?

CNU, compiz-fusion, emerald, and avant, and conky
CNU, plus a good icon theme and custom wallpaper

`Goatee, that is a mess.. i don't use desktop for anything but backgrounds

abby, thank you

well, you are very disciplined, as you can see I use itr as a dumping ground

I have a nice provider who .. after a couple of years .. and lots of stuff baught .. started giving discounts ..

CNU, yup

`Goatee, well.. i use my home dir for the same thing.

oh, now that's also a mess
I dev stuff, so, it gets pretty messy

BlackBishop, sweet. to bad newegg and the like don't do that… i'd be some kind of gold member after all the purchases made there
`Goatee, i understand completely

thankyou

so would I !

What's the latest version of perl in avalible via portage?

just emerge -s it

but .. as you can see .. I'm not only buyin' stuff under 100$ .. in 2 months .. I got stuff for like .. 5000$

or better grab eix
5.8.8-r2

Thanks

it's nice to see that you're having fun, but try to keep it a bit more gentooish here please ;-)

how in the hell do i enable PHP with this new apache i just emerged lol
weird

Uh oh… its DrEeevil

I am ! :P I'm installing gentoo on a separate 160G drive so I can still experiment with the raid card

ok c bon j'avais oublier 1 ligne dans grub.conf ^^

if you wanna have really of topic discussions, just go to #xmce, that channel's mine and I don't care

ops

yeah, but the rest is a bit offtopic ;-)

sry,i forgot 1 line in my grub.conf

DrEeevil, there wasn't anyone asking questions… not allowed to talk in here?

do you still have to compile every single thing in gentoo? or have they decided that its pointless yet?

well … a bit yes, but too much is too much

compiling rules

MoonPatrol, start at stage 3 and you don't have to compile much

or binmerge

Chris?

what's the purpose of passive mode connections when dealing with FTP?

Is it correct for linux-headers to be a higher version then the linux sources installed? emerge wants to install linux-header-2.6.21 while I'm using hardened-sources-2.6.20. Should I force it to use a 2.6.20 version of linux-headers and do emerge -e world twice?

it's something to do with arbitary high ports

halo
edge

how do you take off the default firewall?

dmead, default firewall?

iptables

"take off" ?

remove..

dmead, can't you just disable iptables?

yea, where
i can never remember

dmead, check /etc/init.d/

not there

why not?

it's a kernel module

./etc/inet.d/iptables stop

dmead, then just remove the module or the iptable rules

wheres that ?

ah, this answers my q. http://forums.gentoo.org/viewtopic-t-574734-highlight-headers+higher.html

i think when the module loads
it just blocks everything by default
all incoming traffic

why compiling gcc doesn't use -j8 ?

it shouldnt

dmead, do an "iptables -L" to see what rules you have set

by default i mean

dmead, but as i recall there's no default rules when you install it

isn't there the flush option
flush table

yeah -F

and -X too !

ugg, the binary isn't there
the default kernel config just crams it in

hmm hmm

quick ?
i added -D PHP5 to APACHE_OPTS
and the server just spits out a plaintext document instead of passing it over to PHP

hi

dmead, you're binary should have been installed when you emerged iptables

does anyone hee uses intel-hda sound card?

dmead, try running it as root. your user may not have rights to it

i have one

Im a bit confused, cause all the config files for apache have changed around
so I dunno what's wrong

i installed the package
there seems to be no rules set
i think my dns/bind server is doing the blocking actually
cause i can ping my ip

what exactly sound card do U have?

you /etc/init.d/apache restart ?

abby, you need to add a line so the apache geronimo server hosting knows to preprocess .php files before sending them

maybe i'll describe my problem

an intel 82801FB on board controller part of my mainboard

teach Morpheouss ask

Just ask, don't ask to ask, don't ask who's familiar. Don't ask if anyone knows about it. Just ask the question, it's the easiest way to get people to answer

choose the blue one

SkunkyFone, i did

maybe #gentoo-apache ?

are there a file somewhere telling me wich version of gentoo i got installed? im going to choose a profile now, i forgot that when i installed gentoo, half a year ago.

ultralisk, where would i do that? Like I said the config files have gotten rearranged

abby, check your httpd.conf for the php.conf include

ultralisk, a bunch of IF statements are littered all over the place now

version of gentoo?
:p

head -n1 /var/log/emerge.log

ultralisk, alright

abby, looks like this Include /etc/apache2/modules.d/70_mod_php5.conf

ultralisk, Include /etc/apache2/modules.d/*.conf

hmm 169388202: Started emerge on: Jan 21, 2007 14:03:22

that should do it I suppose, but nothing happens except I get a plain text document back

i keep getting errors when trying to emerge system -u
its been happening since a few months ago

this about having to choose i a "profile" is crap! i want to have gentoo like it was in the old days

abby, not sure if wildcards work

too bloated.

abby, check to see if the php conf exists in modules.d

ultralisk, that was the default httpd.conf lol
ultralisk, it does

wildcards work here

I have HP nx7300 notebook with Intel 82801G (ICH7 family) HDA based on AD1981 chip. I installed alsa-driver-9999 and it loads snd-hda-intel module. In alsamixer i have only: Master, PCM, Mic Boost, Caller ID, Internal, Off-hook. Sound quality is not good. I installed XMMS but equalizer does
not work there. Can anyone tell me what might be wrong?

abby, hrm

i may be butting in, do you have -D PHP5 or -D PHP$ in /etc/conf.d/apache2

abby, make sure that libphp5.so exists where its looking for it?

philw, i do indeed

anyone?

I looked in that 70_mod_php5.conf file
Maybe this line has something to do with it
IfModule mod_mime.c
AddType application/x-httpd-php .php
?

any asus a8js user here?

IfModule? What the hell is that? lol

the section gets parsed only if the indicated module is loaded

abby, that just tells the server to use php for *.php files

checks if the module is loaded: above that is test for mod_php5 not being there and if so load it

ultralisk, do you know where I can enable this "mod_mime" thingy?
philw, so i dont think mod_mime is loaded
what do you think?

that's part of the default httpd.conf - check there

Is there a program or script that will go through all my music and rename it based on tags? eg. i have like 1000 mp3s and flacs in one dir and i want /dir/artist/album/song.ext?

abby, that should already be loaded

philw, yeah, it's loaded
so what in the world could be wrong
i wonder

This sounds like just the job for a python script. But I don't python that well….

abby, check in /usr/lib/apach2/modules for libphp5.so . make sure its there

ultralisk asked about libphp5.so - it should be in /usr/lib/apache2/modules/
oops

philw, yep it's there

hmm, to get swedish with mozilla-firefox-bin, shall i USE -sv or -sv_SE?

hey … I'm unable to mount my usb flash. (it used to mount fine some time ago). mount says: wrong fs type, bad option, bad superblock on /dev/sdc, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so

(not with minus though)

what can I do ?

bleh

sure it's not sdc1 or something?

SkunkyFone, I am sure.

ldd /usr/lib/apache2/modules/libphp5.so reports missing libraries, perhaps?

I broke expat :'( help
gnome-screensaver now fails to emerge, pango too,..

/topic

im at a loss here guys, any ideas?

abby, i'm poking around on my apache setup..

philw, no

that would be nice if pango would emerge, huh,

philw, im betting on a configuration error
but I'm not sure where

I guess i'll try anyways, thx

do you need ExecCGI permissions on the directory? Do you have them?

oh well it works now

I've left everything on the defaults minus the virtual host
philw, I'm not sure honestly

Hi all!

hello guys, I have a question in regards to my onboard SILSATA controller3112A controller and kernel configuration. Does anybody know which driver to select in the kernel config?
there is a couple options, I"m not sure which one mine falls under.

anyone know when baselayout-2 will go stable?
or just testing

check all options to test, and if it works you go eliminating, I think is the best you can do now

SATA_SIL

yeah, good point stormbyte. I was just wondering if anybody else in here had that same chip and already had an idea of which one to select.

right, mzbots thing is pretty useless thanks to "pango" failing to emerge…

abby, if you tail /usr/lib/apache2/logs/error_log is there anything there?

thanks

use the tab key

kerframil, what do you mean?

for nick completion in your IRC client

I'm just gonna destroy my setup and start fresh

the n ick completion feature

frick it :p

gotcha

abby, hold on

ultralisk, i'll just unmerge and reemerge

abby, its always something stupid and small

thanks!

abby, did you check the error_log file?

does ebuild utility does the same than emerge does?

ultralisk, alright
ultralisk, yeah you're right

I've seen that problem quite a few times. the solution I've recommend hither to is to unmerge pango and some of its dependencies then rebuild. that works, but I have what I think is a more concrete method (if you'd like to try it) …

ultralisk, one sec

emerge is a superset of ebuild. with ebuild you can perform some of the steps that emerge does when building packages.

eg. pango, gtk+ and insert app here
tried, failed, messed up more

some of?

ultralisk, nothing on PHP in there

well, would you like to try my prospective fix? I'm hoping it will work so that it can go in as another mzbot faq.

hey all.. how can i play audio cds w/ mplayer/audacious?

abby, hrmm frustrating.. this always seems to happen when i set up apache as well

can't do any more damage than what has already been done…

it won't do any damage. the worst that can happen is that it doesn't work.

that failed?

ultralisk, it's okay

abby, if you do "apache2 -t" does it say everything is ok?

ultralisk, i'll trash it and start with all the defaults
ultralisk, then go step by step from there
but for right now, im gonna grab some lunch

abby, alright good luck

i forgot, but at the moment it's emerging everything from world, skipping pango
hoping that 'l do SOMETHING. :p

ho hum

ultralisk, thanks for all your help

I'd take it as far as gtk+ then. all previous fixes have involved fixing the deptree up until that point.
here comes a 1-liner

BlackBishop, i'm not registered

k

grep -vxFf (emerge -qep system) (emerge -qep gtk+) | sed -rne '/^\[ebuild/{s/(^| )\[[^]]*\]( |$)//gp}' | xargs qatom | awk '{print $1"/"$2}' | xargs emerge -1
I'll briefly explain. it builds gtk+ but starts from the "lowest" dep and works its way up (but avoids rebuilding "system" which would be a waste of time).

ok
the emerge from mzbot just failed so..
econf
running.

try now

the logic is sound, the only problem I can forsee is that it may be necessary to unmerge some affected packages first (and my script doesn't do that yet).
I have to get back to work. please /msg me the outcome. if it doesn't work I will amend it as per above statement.
I know that will work, even if the current approach does not.

I need to get a count of the number of lines in a file, excluding blank lines … can anyone help me figure out how I can easily do that?

your feedback will be appreciated.

how do I kill a process?

hey guys
is there a real way to fix a ps2 mouse resolution?

ctrl-c

kill -9 PID

i mean, i have this cheap ps2 optical mouse and it's way too fast

sleek, man wc

StormByte, it doesn't die

still running (obviously) so that's a good sign. :p

npc, try the xorg.conf

if it does not die this way being root, proccess is really stucked, you may need to reboot

xfce4 settings have no effect whatsoever

what is the thing you want to kill?

npc, were you listening

yeah, I know to use wc for the line count, but what I'm trying to do is: cat file | something to eliminate empty | wc -l

it's when it gets to libXft/fontconfig that it becomes relevant. fingers crossed.

StormByte, sync

have a look on xset m

`Goatee: been there, done that, i've set Option "Resolution" to 64-1024 and it doest change a thing

(in this case, that is)

StormByte, but well I think I killed the bash where sync was being run and now it died…

then change the acceleration rate

how about toes? do i need to cross those too?

heh

so it is solved?

thanks guys

sleek, what's the problem then?

emerging xset

I think so. at least `ps aux w | grep sync` doesn't list it anymore

hey all ive recently emerged Amarok and now get this erro amaroK could not find any sound-engine plugins. amaroK is now updating the KDE configuration database. Please wait a couple of minutes, then restart amaroK.
Any ideas?

eliminating empty lines from the count.

grep -v ^$

so, I see packages.gentoo.org is back up… but I see no search function… what's the deal?

the affected code obviously needs to be rewritten. give them time.

you can always do eix, mate

did you emerge it with mp3 use flag?

the devs are on it, soon all will be back to normal

dont think so lol

besides, it's not packages.gentoo.org. only the mailing list archives have returned, it seems.

ok, I see

you'll be late at work :P

yep. gone.

i used the mp4 tag, just added mp3 and it doesnt show up on the build to use mp3

just a simple question, let's say I close my laptops lid when I leave it compiling something @ 100% cpu usage, it's no problem doing that? considering the heat etc ?
a little off topic, though gentoo does need a lot of compiling to do

as long as there's fans, I wouldn't worry too much
airflow is very important. rest the laptop on a hard surface and let the fans run

what's the difference between mount –bind thing and just making a symlink?

well it's an hp laptop, so the cooling should be great, just that the area around the touchpad geats kinda warm and with the display just next to it, just wondering if it's all ok

exyan, your laptop should be fine

you shouldnt do that. on a hp laptop the fan actually blow some of the air thru the keyboard. closed lid = less airflow

HP designers = tards :P

on the pavilion ones?

where do I fix a 'failed to set font' message from startup?

on most hp laptops ive used

m

CNU, http://aplawrence.com/Linux/mount_bind.html
CNU, google is your friend

is use.desc the _complete_ list of useflags? the wikipage about xorg and fonts says i should use "corefonts" and "freefonts" among lots of others, do these flags exist?

How do you press alt f1 to change shells in vmware?

try crl+alt+f1

Can some one tell me the easiest and safest and quickest way to move the entire contents of a drive before being formatted to another drive in some kind of compressed file like a tarball? Thanks!

a drive, dd, a file system, tar ?

do a search for a stage4

huh?

in tar mainatining permissions: tar -cvpj file.tar.bz2 * for example

a/win 26

dd if=/dev/hda of=/mnt/someotherdrive/backup.dd && tar -czf backup.tar.gz backup.dd

GentooDude, http://gentoo-wiki.com/HOWTO_Backup :-

heh
will that do it all in one shot?

yes but need paths on the second bit, got lazy
the && means the second command only runs if the first succeeeded

ok well im gonna mount my drives and ill tell you which is the source and destination

ultralisk, thank you very much

ant alt f1 does not work, ctl alt releases the mouse back to windows. any othes ideas

I can write to fat partitions with vfat right?

is the source for programs deleted after its emerged?

nope its in /usr/portage/distfiles/

you mean inside a VMWare machine?

and the files that would be in /usr/src in other distros, ghet put where?

Okay I got my directories now…. the source is /mnt/winc and the destination is /mnt/wind/laptop and I need a complete backup of winc in wind/laptop hmm

only thing under /usr/src/ would be linux. when emerging the source code gets unpacked to /tmp and compiled. once finished and installed its deleted from tmp.

Yeah, i am inside the vmware machine. booted inte a live cd and no matter what option i pick it boots into the gui. I am trying to plres alt fq to get to a a prompt
alt f1"

id like to do this to pidgin http://developer.pidgin.im/wiki/MsimInstall but im not sure where i should be putting the files

Guys, will this work?
dd if=/dev/sda of=/mnt/wind/laptop/laptopbackup.dd && tar -czf laptopbackup.tar.gz laptopbackup.dd
to make a backup of /mnt/winc/* to /mnt/wind/laptop/backup.file

There's a kernel option, 'gentoo nox' or some such at the bootloader prompt. This should make the cd boot to a command prompt.

it could work, but it's entirely useless. and a waste of disk space. do you want a disk image, or a ZIP of the disk contents?

Ohh ok thanks, I was typing nogui

anyone ever done the MSIM plugin to pidgin?

Can I type gentoo dopcmcia nox

/mnt/wind/laptop/laptopbackup.dd.gz

think that will work?

no point making a tarball, it's only one file. and you can gzip on the fly.

ok, you get what im tryin to do right? basically take the whole contents of one drive and put it in anotherdrive/directory/backup.file right?

Comments

igli i just notced on FEATURES=-sandbox emerge -av gcc with the packageuse having multilib its showing the flag

|

Well you're talking about an interface

not off hand

Damm_ what can I do?

It's a bit different than a classic chroot

Marvell's become quite popular, and sadly they have more quirks in their hardware then realtek

hm :/

file a bug on bugs.gentoo.org?

but, should I continue with the compilation of the kernel, then worry about it later?

phaedrusiszen, iwconfig wlan0 essid {put the real essid here} key {xxxx-xxxx-xxxx-xx} I think,

Damm_ so I can't update my gentoo?

yes you can, just don't emerge that package

I'm getting tired. It's after 1am here. I want to help more, if you can wait for me to wake back up tomorrow, just write me at my handle @gmail.com
We can go from there

my kernel compile failed during compiling sky2…

from your sk98lin patch's possibly?

Glad you're at the point you're at now though

neat, thanks a bunch for your help tonight Phae.

you can also try git-kernel if you can get on long enough

You're more than welcome

couldn't have done it without ya

:-)

and, you live USEAST?

Yup

When I do the emerge -Dnav world it try to build pango

Florida

hehe
Pennsylvania her
e

lol

Oh yeah, night owl

emerge -Dnavpv

linux is worth it, methinks

Where all night owl

it actually gives me the same result before and after i applied a patch

then make a list, and then emerge

Ok, 'night till we talk again

yep

but ill try this one you linked me to again

'night!

hrmph, I have been running 2.6.22-ck1 for about 3 weeks with 0 issue

Is there a way to emerge vmware workstation 6

revision 19 or **E8053
err 88

PyQt failed to emerge and I have no idea why…

yay, gcc is finally finished building

you sure?

ill try again

yes, except for glibc
that's building now

anyone know the package name for finch? (text based pidgin)

ohh, the old patch i used from marvell was, well, older, yours is newer for sure, hopefully this will work good
thx again

Damm_ is there a problem if I ask for help again?

how do I emerge pidgin anyway, it's masked with ~arch, which means it's unstable
hasn't been tested

ferret_0567 you could emerge by path

ok
I think I know what you mean

you cd into the /usr/portage path

/etc/portage/package.keywords

and then do emerge packagename.whatever

cool
I'll see about that

gluck

right now, glibc is building

guys Im updating my gentoo system but I have a problem with pango, can you help me? http://rafb.net/p/DzfXT324.html

you can always ask publicly…

with all my CFLAGS :-D

we'll try and help our best

tnks man

is it with libexpat?
(cant really view the page..

kenji, have you got perl installed?

psykon I have perl

did you use –as-needed?
that's the best 'LDFLAG' of em all

kenji, seems like there's a problem with the ebuild then
have you checked bugs.gentoo.org?

um…not sure
do I check this with emerge –info ?

psykon Im on bugs.gentoo.org but I don't see something about my problem …

but noone knows how to install finch or what package it is in?

on average, is mozilla-firefox or mozilla-firefox-bin newer/more 'bleeding-edge'?

kenji, open a new bug then

it's inside the pidgin source

psykon:

google –as-needed

kk so emergeing pidgin will give me it?

it's well worth it

I think you just need to pass a flag to configure
not sure if emerging pidgin will give you finch automagically

it has the ncurse flag or w/e.. ill try it
just have to rebuild it after I get gui i guess.

mozilla-firefox is source, bin is the bin off of mozilla.org
patch's can be applied to source, optimizations, etc

I see something on a gentoo website

yeah, so the source means more patches and thus newer?

another thing.. why is the gentoo-wiki down?

or does it take for a newer release to appear as source while the bin is around quickly?

I think because it's associated with packages.gentoo.org. See http://gentoo.org for more info.

seems like there might be problems if you use –as-needed
see the /topic

anyone have any idea why the graphical installer would fail after the make.conf config screen? it just says "installed failed" and to view the log, but the log isnt created?

didnt see that
well atleast the allpowerful google is there to help us newbs :P

I need someone to help me with a PyQt problem I have,

guys Im updating my gentoo system but I have a problem with pango, can you help me? http://rafb.net/p/DzfXT324.html

lol GUI installer

I'm assuming, you're referring to the Gentoo Graphical instaler? If so, I might recommend taking a shot at installing with just the command line installer. From my experience, it's more stable (2006.1 that is).

the graphical installer is full of bugs

yep

hmm ok

more stable, a LOT more stable, from what I've heard

and actually works?

it's unlikely to leave your cat unscathed

JdGordon, Think of it experamental. Install via the handbook

ehh command line is easy, once you get used to it xD

lol, good one

I've never actually gotten the graphica to work for me. lol… the only reason I have gentoo installed today, is because of the command line installer. lol

about the 30th install.. takes 5 min.. xD

brandon, indeed, lol

lol

I will say.. I use gparted to place some partitons thought..

that's not so bad

Tools are tools, Use what works, I say

yeah
:P

most of the problems using –as-needed are gone
and if you upgrade expat 1 to expat2… you don't have to recompile a thing with it

Unless there's been some improvements to the command line installer, don't try formatting any partitions to anything windows based (fat, ntfs)… it'll just churn and churn and churn, and make no progress. That's what the 2006.1 did for me anyway. And preferably, only install stuff that requires no compiling, as compiling errors aren't always recovered from the best hosting during the installer. That's my experience anyway.

most = 95%
mostly only gnome apps have issues with –as-needed

that's good

and who uses gnome

so, where do I poke the people who came up with the vmware overlay?

I use it…

poor soul

PyQt failed. http://deadbeefbabe.org/paste/5839 - If you notice at the top, it says sip doesn't exist but I just emerged that successfully.

GParted borked the partition tables on my drivve a few weeks ago. I used TestDisk, i believe it was to recover the partition data, and gain access to my drive again. I guess i tried telling it to do too many operations all at once, so it dumped on me

what a great domain :p

I think my perception of KDE has been marred by Ubuntu

what's your perception of KDE?

does KDE do weird things like replace /etc/X11/xorg.conf without you noticing in Gentoo?
^^ that

nope

/etc/ confs are protected under Gentoo

I rather doubt it does on Ubuntu, either…, unless you invite something to

and, anyway, you'd have to have root privileges to do that
I don't think I typed my password…

YO WHY CANT I SEE PROFILES WHEN I CLICK ON A NAME

yeah I broke my drive today (wipe it 100%) so I cant take my comp back anymore

….

it does in ubuntu if you mess with their restricted modules (like nvidia drivers).

inless I get a hp pavilion restore

YO WHY CANT I SEE PROFILES WHEN I CLICK ON A NAME.

ok, so I'm not just typing in my password when I shouldn't ?

KDE on Gentoo is quite sane and easy.

I like fluxbox personaly

ok, I'll take the time to compile it then

but honestly I don't run KDE, I run a really old window manager that's unsupported

DOH… So did you wipe the drive intentionally, or accidentally? I was resizing empty partitions. that's what killed me. And i had school work on it. lol. Thank god for Test Disk.

YO WHY CANT I SEE PROFILES WHEN I CLICK ON A NAME

never used kde on gentoo did on suse and ubuntu didnt like it
well I was following this guide.. kinda missed the part about brokenblocks(?) wipping your drive before it checks it..

KDE is Fine, but for the most part I just don't like Gnome, nor KDE

You'd be surprised howmuch more help, you'd get if you'd STOP TYPING IN ALL CAPS.

i've never used KDE besides when I started using linux way back in the redhat 7.3 days

this isn't Yahoo! chat, that's why

pre slackware 1.0 here…

how much RAM dose a base KDE install use?

YO myspace an aol has pics

not much if you don't touch a peripheral :p

and only touched it for like 10 minutes… kde = windows for linux? (that was my impression of it back then)

why not here

cuz on ubunut/suse it was like 600mb

yahoo sux

gawd

brandon, depends what you want on it?

it has alll porn bots
i wanna meet a real girl

OLD yahoo chat was teh bomb

thats what chats about isnt it

tr00
aim chat rooms ftw

nah

no
aIM sux

it wouldn't include guys like him, would it?

You're clearly in the WRONG chat room.

freaking dial up LOL

aol i sayd
no im not on dial up

yep, he is

i mean back then

what?

yo dont hate on me cuz im sexy boy

no, your not

an ill steal ur gurlz

nah noone taking in capps.. they get ingnored.. :P

PyQt failed to emerge properly. http://deadbeefbabe.org/paste/5839

if i CAN only see there pics
wtf
how come profiles are not workin when i click on a name?

well, you won't get help with that in here

the only thing I remember about AOL waiting for the dial up service to log me in and then seeing the news about a 40 year old fat dude sending his size 50 underwear to a 14 year old girl
that was horrible

why i gotta leave

!ops

aol is not dial up anymore
hasnt been since 96

which he met on AOL chat room

are you referring to me or MR_SEXY?

?

MR_SEXY

yes it is, but they charge stupid broadband users for their cruddy content on top of highspeed service

jale you a chick

anyone know .. how long the wiki will be down … sorry idk what there doing to it.. or if there server hosting is down .. if anyone knows thanks alot ..

are you

are you a troll?
oh
yes

no

ha

im 6 foot 1
no troll here

….

lol
troll

It looks as if they are upping the security to patch for a discovered buffer overrun kind of exploit. So, when they're confident it's been re-secured. that's when. Heck if I know though. =(

you are braindead

richiefrich, use the cached google results

brb

i have been

install failed…. /mnt/gentoo/etc/conf.d/clock no such file or directory?

i have to figure out how to see profiles here

in irc?

yeah

there are no "profiles" on IRC.

why not
why isnt there
there should be
like myspace

Because of your mom, MR_SEXY

lol

lol cant findout how to actuly login on flich
:"S

your moms worried you might get abducted

is the 2007.0 install cd stuffed/bugged or something?

thats one way but thats not a profile /msg nickserv info MR_SEXY

myspace is cool

anyway thanks jale2ice and Dominicus__

if you don't have a Gentoo Linux related support question then please go elsewhere. this isn't IRC 101.

nope, why?

Unless you have an issue with Gentoo linux based hosting services Support, please join #gentoo-chat or another chat channel.

np richiefrich

someday there gonna have mypace and aol buddy lists on ur cell phone

where did you read that there uping the security ? the forums ?

hi

hello

n u can hit a screen name and it will dial that persons number from ur cell

yay…

instead of text messaging
i bet irc wont have that

final warning. this is a Gentoo Linux support channel.

they dont even have profiles yet
wtf

go away

can someone kick him..good

ty kerframil

lol thx

ty kerframil

That was kind of funny.

Recently there was an issue with a gentoo server or collection of sites of all gentoo material. it's on the front page of http://gentoo.org top most press release.

install failed…. "the error was: list index out of range" after it tries to start the emerge-kernel

Now, could someone please help me? http://deadbeefbabe.org/paste/5839 - PyQt failed to emerge. If you notice at the top, it says sip doesn't exist. However, I successfully emerged it before attempting to emerge PyQt.
Now, could someone please help me? a href="http://deadbeefbabe.org/paste/5839"http://deadbeefbabe.org/paste/5839/a - PyQt failed to emerge. If you notice at the top, it says sip doesn't exist. However, I successfully emerged it before attempting to emerge PyQt.
Now, could someone please help me? a href="a href="http://deadbeefbabe.org/paste/5839"http://deadbeefbabe.org/paste/5839/a"http://deadbeefbabe.org/paste/5839"http://deadbeefbabe.org/paste/5839/a/a - PyQt failed to emerge. If you notice at the top, it says sip doesn't exist. However, I successfully emerged it before attempting to emerge PyQt.

yeah nice of one of you guys to show up :p

Real quick, does anyone here use irssi, that can tell me the command to access the internal help system to irssi?

/help command

/help will list commands

suiside & BelialMkII… it sort of doesn't do anything at all, when i enter "/help". =(

Dominicus__, i normally use online documentation for it, if your stuck at a console you could use lynx or links

make sure you have the help pages in /usr/share/irssi/help/

K, thanks. Yes, i'm stuck recompiling everything on my system that demanded to be update from expat's upgrade. And yes, those help pages do exist, i've been browsing them, they just don't actually do anything. =(

how can i turn off the error output for all open programs to my xterms?
like Amarok errors spit out into my xterm
ive noticed this with other programs

amarok 2/dev/null

ok, but if there a setting on my gentoo box to change this for all programs?
I've never seen this on any other distro and have sued about 15 different distros over the past 10 years

Comments

is it normal that fonts quickly grow a lot thicker above about 12pt like from 1px thick to 4px thick and is there

blink

Comments

I want to list all nodes within 25km from a location To narrow the search down I check the locations city then

It's slightly more complex than that, because 99% of the installations out there wont' have jquery_form installed, and so panels is going to die as soon as they get that.

no

It needs to be graceful somehow.

Oh

Yoyoyoyoyoyo

the input type="hidden" name="[form_id]" /
tested and posting a new patch

Yay! I'll try it out.

So $form_id ~ name attribute?

seen eaton?

eaton was last seen in #drupal 37 min ago saying 'KarenS! yched! Woo!'.

drake support cakephp 1.2 ?

posted
http://drupal.org/node/163440#comment-289952

Views Bonus Pack, Bonus Panel Views, critical, patch (code needs review), 3 IRC mentions

Err… the form I'm trying to alter doesn't have a name attrbiute. How can I know what it's $form_id is?

jeff have you seen this? got the guy to put more details on the module page, but can't tell if it's different to custom_bcrumb or not…? http://drupal.org/project/node_breadcrumb

Thanks Druplicon… You always are there for me.

the cool thing is it supports thing like if I was gonna make a four panel or four panel stacked, it would be *really* easy

I love small code ;-) .

+function theme_views_bonus_panels_fourcol_stacked($view, $nodes, $type) {
+ $config = theme('views_bonus_panels_fourcol_stacked_config', $view);
+
+ return theme('views_bonus_panels_layout_engine', $nodes, $config, 'fourcol_stacked', true);
+}
RobLoach:

There's a fourcol_stacked?

no, that's what a fourcol_stacked would look like

Four columns would probably be way too many .

Oh okay.

We have to figure out a way to get Views Bonus Grid to have rows and columns selectable.

whaddya mean?

Right now, you only specify nodes per page, and the grid makes a square out of it……. But what if you want a grid of 5×1, or grid of 10×3?

ah

oh. Rely on jquery_form if it's available, otherwise, use the default. That's ok.

There's an issue about it on there somewhere which you should look at.

How can I find the current nid from within hook_form_alter?

look at line 20

Of grid?

$form['nid']['#value']
if there is a nid
yeah

Yea, that's probably the better approach.

Thanks

k, np

I have to ask. Why not have a panels_bonus and put all your panels modules there?

I wanted this stuff specifically

With this, you have to programatically go in…. I'm saying put it in the UI somewhere.

that's not possiblee

they're not a bonus. They're panel styles. merlinofchaos prefers it this way because then it shows that anyone can create a panel style plugin.

it will be possible in 2

Yay ;-) .

k

seen neclimdul?

neclimdul was last seen in #trellon 17 hours 20 min ago saying 'haha, man I'm so out of touch'.

feature request: separate rendering of teasers vs. fields from style plugins

any news on neclimdul's progress with views+subscriptions?

no idea

k

Can't, really.

I don't see why.
views_bonus_panels has teaser views only
in 2 it'd be nice to be able to have that be flexible

The plugin will have to have a setting.

there should be standard handlers. Plugins should extend a plugin base class, which has standard rendering functions, such as $this-render($node), which has references to $this-view, which contains something about whether to use teasers vs. fields vs. something else. I could see tons of plugins duplicating the same settings

Hmmm.

maybe the settings could inherit from the base plugin as well

I'll have to draw that out. I haven't actually designed out (in my head) what'll happen there with the new theming stuff. Ironic, isn't it?

yeah

lol. The updated patch is ready, but I can't make the CVS diff because internet is still lagging… *sigh*

Okay. I'll look at it later. I'm doing a bunch of stuff to Panels now that I got Nodequeue 2 into beta. Sony needs the arguments stuff and named panels.

named panels?

LIke Views
so you can have panels provided entirely by code

cool.

That's going to mess some stuff up, though, because now there may not be a pid

And with "arguments" you mean the context stuff, right?

Yea.
Also embedded in the URL like Views. Only this time with less suck.

maybe I saw this here, maybe elsewhere. I'm not sure. But for anyone interested in captchas in general, or in improving Drupal's captcha, it's worth a read: http://sam.zoy.org/pwntcha/

http://pastie.textmate.org/88311

That's a start.

OMG @ http://sam.zoy.org/pwntcha/passport00.jpeg
I would have no idea what to type in the box.

VNW6RPWL

5, not 6

5*
VNW5RPWL

huh?

omg, webchick is a robot!

That last could easily be an I as well.

lol

Are there any plans for a SoC wrapup chat? It would be cool to share our progress/problems with everyone.

I think it's probably 'node' and 'fields' where node leads to a node_view and you can possibly flip some switches to change that around (i.e, full node vs teasers vs with links vs without links etc)

And I thought there was an L after the 5.
there could be! that's a good idea.
unfortunately, I'm traveling this Sunday.

you means switches in the UI
?
http://pastie.textmate.org/88312

Yea

patch posted (twice actually, lol). http://drupal.org/node/166762

Panels, Code, normal, patch (ready to be committed), 2 IRC mentions

Yea for #1 or #2?
IMO litwol is right

Yea I mean switches in the UI

litwol is right about what?

hmm maybe the following weekend?

what it is
the CAPTCHA

yeah, that would be good. I'll see if there's anything on the dojo agenda for next Sunday.

ye
pwolanin
on hook_menu

For Sunday, Aug 26?

no

Where is the definitive resource for that, btw?

nope, it's open
http://groups.drupal.org/node/4273

9 IRC mentions

Sweet.
does that work for you?
That also gives people a few more days' notice.

That is a pretty good start, though.

cool

absolutely. thanks.

hi

Though rendering comes after getting all the handlers and the cache (since getting that stuff ready opens up a point where concurrent work can happen)

hello WimLeers

thank YOU. What a fantastic idea!

oh I forgot, views_plugin extends views_handler

any news about views+subscriptions?

It seems to be working, but misses displaying the first node.

views plugins?

views 2
o rly?

Looks like it, still investigating.

BTW do you like the code?

Hmmm. It might, indeed.

it's pretty clean/verbose, eh?

Haven't reviewed code yet ;-) .

what would be possible with it?

please do
what, views 2?

how can I get my blog on Drupal Planet?

no, Views Plugins

views style plugins

i'm playing with it

but revamped

oh. cool

e.g. OO, settings, …

and is it working partially/completely? Or are you stuck?

Oh I was thinking last night that two javascript tools I think we'll use a lot in the UI are: teh ability to easily tie some set of fields to a checkbox; enable them when the checkbox is checked and disable them when unchecked.

ask someone who is an admin on d.o

2 Columns prints out as three columns, so it misses every third node.

yeah
that could be useful

ok, thanks

hmm

field).

no problems just as soon as I get something to fill my freetime my freetime goes away so its been a bit slow
I'll post an update today.

and of course the dependant dropdown?

take your time, I'm just checking how it's goign

That'd also be a good way to do BETWEEN: Then we could easily have two value textfields and generally the 2nd one isn't there.

did I hear that right? Views will get dependent dropdowns?

But it becomes enabled when one selects 'Within range' or 'Outside range' or something.

for exposed filters, obviously. Any details on that yet?

no
we're just brainstorming on javascript hosting I need to write

Right.

let's start a wiki page on GDO
of everything i need to write ;P

There should already be a post we can use. Though it's probably not a wiki
Feel free to set one up in the developer's group, though.

Fresh drupal web hosting install…. Panels, Views, Views Bonus Panels……. 6 Story nodes, a View with 2 column…….. It prints out nodes #1, 3,4,6…… Misses 2 and 5.
Fresh http://www.oxxus.net">drupal web hosting install…. Panels, Views, Views Bonus Panels……. 6 Story nodes, a View with 2 column…….. It prints out nodes #1, 3,4,6…… Misses 2 and 5.

hmm
I'll look in to it

dmitrig01: the most difficult part about dependent dropdowns is the part where the user has to configure what should depend on what. If you have 5 levels of dependency, the UI gets too complex. Did you have any magnificent ideas how to solve that yet?

http://dmitrizone.com/dump/squidster_.html — try that

Same thing with 1 top 2 column.

what about 3 col?

The others work though… Haven't tested By Term.

By Term is b0rked

that's non-hierarchical. You can't set up depdent dropdowns with that.

it was always b0rked

:-(

We haven't gotten that far.

Should we just remove it?

yeah
but not right now

I gotta go to lunch…. I'll be back in a bit.

change line 38 to switch ((int) $count % $cols) {

dmitrig01: I have created dependent dropdowns for Views' exposed filters. See http://64.40.146.141/forum/filter. Click Chipset, then click status fixed, then click any other status.

pls just try that

dmitrig01 : the code is hacky, but it works. It only works for vocabularies and terms: you can show another vocabulary depending on the selected terms. The UI to configure this is a major PITA though.

Don't think that did it…. stilll same thing.

hmm
can you print_r($content) right after 84?

what's the easiest way to run hook_install on a module that's already been installed?

why?

Using devel.module's 'reinstall module' feature?

seen gurpartap?

Gurpartap was last seen in #drupal-support 5 days 11 hours ago saying 'phr3ak, ^'.

thx

module_load_install($modulename)
modulename_install();

i just copied and enabled some modules over to my live site, but it didnt run the installs for some reason
did for devel though…

what time are dojo lessons again? 11AM PDT?

yes

hello

Cool.

I currently have a drupal installation that I'm wondering if I can use an index.html for the main page and use drupal for the rest of the site. is this possible?

not really
look at front_page.module

you can try to rename Drupal's index.php to whatever.php and it should still work

You could do some rewrite magic too…

hmm

http://drupal.org/project/front

but using front would probabaly be an easier solution
I assume you're going for the whole splash page deal?
chx|wardriving?

hi from the Cologne/Bonn usergroup meeting

ahh

now, is it just me or HEAD install is totally b0rken with mysqli?
and maybe mysql as well

http://podhurl.com/tinderbox
apparently it *was* b0rked but it's fine now

Hmm

how new is your checkout?

seen fago

fago was last seen in #drupal 1 hour 39 min ago saying 'fago was last seen in #drupal 1 week 6 days ago saying 'someon's nick pong''.

through drupal.. perhaps you could shed some light there aswell.

Nah, you can take over the whole page if you need.

next test will run in 9 minutes

have a doc you can point me to?

mine is a few minutes old off cvs.

hmm
:o - mozilla is using a blink tag
http://tinderbox.mozilla.org/showbuilds.cgi?tree=Firefox

not bad, with a quite bright screen and wifi , Tank runs five hours
i guess i can push that to 6-7 without wifi
coooool

omg
blind

front.module lets you take over the entire html code for a page… Does it need to be a physical file?
Alternatively, you can just print the index.html file and exit()…
Or use a rewrite rule in htaccess…

which would be the recommended method

Depends on who's doing the recommending :P

which would be the recommended method?

pm?

sure

lol

heh

AirShow in Chicago - on its way this weekend - jst had a f-16 Fly-by my condo

I say try front.module, if it does the job, great. If it doesn't, try something else. ;P

ping?

pong

Hiya. Can you spare a moment on a theme system structuring question?

Sure. Also, I forget; I asked you about aggregator.module a while back and I can't remember the answer

does front.module come with drupal or is it an addon?

I'm part way through un-b0rking it, but decided to focus on more important modules to split up first. If you want to take over, I'm fine with that.

oh goodness no

hehe.

Views 2 is now my primary focus. Except work needs Panels 2

http://drupal.org/node/167109 - What's your thought on the theme function question?

Drupal, node.module, critical, patch (code needs work), 3 IRC mentions

and hopefully NQ2 will have a smooth beta

you have not installed a contrib module before?

nope
im new to drupal

http://drupal.org/node/70151

any moderator on GDO wanna approve http://groups.drupal.org/improvements-core ? I would but I don't want ot approve my own thing

11 IRC mentions

http://drupal.org/project/front

You can move theme functions by registering both 'file' and 'function' in the registry.

hm. I thought file indicated that it was a tpl.php file. (That's what you said the last time I asked. g)

It does, if there is no 'function'

Ahhh…

Yea that was a bad call on naming

So we can move theme_foo if we specify file='mdoule.foo.inc', function='foo' in the registry?

Right.

Spiffy. I'll pass that along.
And then we get to go back and further split existing modules that we've already split. w00t! :-)

Well, mostly theme functions are being templatized
So not much splitting there

That's the other reason I've been avoiding them.

Feel free to make templates as you go

Have your or dvessel been splitting them off if they're not getting templatified?

If you like
I don't think so

I need to read up on that first before doing it. :-)

Probably the admin theme functions that aren't going to get templatized should be split off.

Just to double check… node_load isn't going to work when called from within a node that hasnt' been saved, yet, is it?

right

That's what I thought… quicksketch's suggestion won't work, then. Darn
Was hoping to avoid hacking fivestar

starting a wiki page

Is there a wiki page to track which have been templatified, so that we only page-split theme functions that you guys have already passed over?

was there just a major update to cck?

killes - Do you have any idea (even just a rough guess) of when that js will be in the event module?

Just tried the print_r($content) and although it picks the right content, doesn't display them all in the 2 column.

pastebin pls

heh

http://pastebin.com/d6b6a9f1d

no, pastebin the print_r

I guess I can mail you the JS file
But absolutely no guarantee it will do anything…

killes - LOL! Ok, I'll give it a try

is views fusion the correct tool to achieve one to many functionality in the manner of a threaded forum post?

http://pastebin.com/m5ab71b0e

hmm, odd

task/list%3Ffilter0%3D1 — how do you put a path like this into a menu item?

So it's selecting all nodes, rendering as 2 columns, but thinks there's still another column in there.

err….

oh, easy fix

task/list?filter0=30
task/list?filter0=30 — a path like this gets expanded to the bad url encoded path…

nm

which drupal doesnt process…

sent

I've never found a way to do that… You could set up a path that redirects to it…..

Bdragon|busy, wont that path get encoded the same way?
testing..
and does anyone know of any attempts to use clean URLS for filters in views?

Thanks, killes. Sister just called. Will try in a few

viewsURL/filter0value/filter1value//filter3value

what about the other parts of the filter?

what other parts?

http://pastebin.com/d65cd9a56 …….. That's the View exported. You could probably make it without having this though.
Can you replicate the problem

like the op?

RobLoach:

Exposed operator…
anyway, they ARE clean urls…. Those are other k-v pairs…. clean url refers to hiding the "q" key

You can't put query arguments into a URL in the menu system.

this is so weird! merlinofchaos have you ever seen a cck field with "Filtered text" get check_plain()d in a list view (even with full html host selected)? it has other text fields in the same content type which work fine. weird, eh?

No idea. I haven't actually used CCK + Views.

hmm ok I'll blame the cck folks then
this is so weird

:O

merlinofchaos, why? it would just fall back to the known menu root and have the extra path ars arg() no?
excepting the special case for views arguments
merlinofchaos, clean urls aside.. d o you know a way to store a views path + filter in a manu item?
menu

anyone developping modules with CakePHP ?

or do i jeust need to write an argument handler for case tracker?

i was wondering about the user field and auth matching with drupal

michaelfavia - Alias it

why would you want to use one php framework within another one?

No

michelle… ill try. thx

drupal is a CMS framework

true, but it usually has some expectations wrt the php web hosting you use.
anyway, I've not heared from anybody that he'd do this.

It's pretty easy to write a module that lets drupal web hosting authenticate against some external source….

michaelfavia, still page not found.
i aliased task/list?filter0=30 to tasks/andrew

Sigh… I normally like Windows but sometimes the babysitting gets annoying. Now I need to figure out how to get the js file you sent, killes, because OE thinks I need to be protected from it

i think it may be faster to write an argument handler
Michelle, tbird can help you there if desired

Huh… I thought I had done that alias it trick.. But it would have been in 4.7

Make it act like an external url by specifying http://….

ahhh
well done

otherwise it will be trying to fit everything into q

but i was wondering about Drake, what does it do with my cakphp ?
bbut i was wondering about Drake, what does it do with my cakphp ?/b

Nah, I usually like OE. I don't normally get emailed js files anyway
uNah, I usually like OE. I don't normally get emailed js files anyway/u
I've been using OE for so many years… It's comfortable
killes - Nope, the js isn't doing anything… Is there code in the version of the module on d.o to call it?

Is there a tool or easy way to figure out what function is displaying a certain piece of output?

There will be in Drupal 6, but not in D5.

awe

Aliases also don't handle query arguments.

wow. that one line is the ugliest hack I've written in months

found the problem
http://drupal.org/node/163440#comment-290016

Views Bonus Pack, Bonus Panel Views, critical, patch (code needs review), 4 IRC mentions

lol, "works for real". ;-)

not tested, and all that good stuff :P :P

warning: Division by zero in /opt/lampp/htdocs/drupal-5.2/sites/all/modules/contributions/modules/views_bonus/views_bonus_panels.module on line 38.
Division by zero in /opt/lampp/htdocs/drupal-5.2/sites/all/modules/contributions/modules/views_bonus/views_bonus_panels.module on line 38.
Wait a sec…
It works, but now when there's no top, it results in division by 0.

hmm
on 2 or 3 or both?

One thing after another ;-) …… Both.

but with a top?
print $cols in theme_views_bonus_panels_inversion

It's because when you have no top, $cols is "two" "three", etc.
But with a top, it's numbers.

OMG

lol

REEALLY?
NOT POSSIBLE!

twocoltwocoltwocoltwocoltwocoltwocol

Bdragon|busy, full url worked thank you…

np

new patch

lol

why is the specified menu path urlencoded in the first place?

YAY!!!! Commit! Quick!

killes - There's no reference to it in event.module. I tried adding it in the same function where the checkboxes get added but that didn't work. I'm out of ideas so I'll just wait until you have time to get the module updated.

ok
I had thought that renaming it to event.js might work.

Because the path is, by defintion, the "q" param
NOT encoding it would be a bug.
as then it would be leaking into other params…

or appending it to the existing file

killes - Oh. Didn't think of that. LOL! Lemme try

task/list?filter0=30 wouldnt be leaking though….

http://example.com/index.php?q=task/list%3Ffilter0%3D1&filter0=somethingelse

as part of the q

q=task/list%3Ffilter0%3D1
filter0=somethingelse
op0=whatever
A path is a path.

killes - Hmm… Doesn't look like event.js gets called, either

but drupal doesnt url decode the path segment if you put it back in like that ..

Everything else is sideband data
It's part of q
Look at $_GET['q'] coming in
it should be task/list?filter0=1
which isn't a valid path of course
arg(1)=='list?filter0=1"
remember that when you set up a path, it's setting q and q only…
A second field would be needed to store the "other" get params (i.e. non q stuff)

http://snappy.dvessel.com/
needs more work but it's getting there.

seen greggles*?

greggles was last seen in #drupal 1 hour 41 min ago saying 'seen gurpartap?'.
I was just trying to make sure it was you who posted about that to devel'.
how about memcache on d.o'.

oh yeah!

humm i don't remember him saying that…

me either

hey man.. I'm out in Denver, I heard you're still in town.

yes, for a bit more

okay well as long as you don't remember either…

we need a local meetup, next week - wanna run it

next week.. what Thursday?

8] pidix: where i have to change the style of the search input
9] pidix: i have the theme
9] BoarK has
9] pidix: i have tried to change the styles in the style.css file of the theme and in the search.css file of the search
9] pidix: but it didn't
9] pidix: any

I don't know, I'm actually booked the whole time

sure I'll run it.. if you show up

1) don't flood the channel, 2) that looks like copy/paste from support and…
support and?

If someone doesn't answer in #drupal-support it doesn't mean you have license to be off topic in #drupal. Your next avenue for support is the Drupal forums (http://drupal.org/forum). Please respect the channel topic.

ok, sorry

so don't do that

what's the local g.d.o group for Denver? or other group (i.e. where are people organizing).. I'll take it on and get something going.

doing

g.d.o/denver

Awesome ;-) .

how long are you here?
let me reconfirm my calendar and we'll figure out a day that works for both of us
whomever else wants to show up…lucky for them

until Sept 5th ish.. or so.. I haven't purchased my outbound tickets yet.

I'll tag a 1.2-alpha1, k? (I wanna 1. test 2. maybe get more features in)
ping

Sounds cool ;-) .

quickstart?

quickstart is http://drupal.org/handbook/cvs/quickstart
quickstart is a href="http://drupal.org/handbook/cvs/quickstart"http://drupal.org/handbook/cvs/quickstart/a

cool

Semi pong

what's the cvs shortcut for tag?

tag
cvs tag

has panels_print_layout changed in 2?
cool

cvs tag DRUPAL-5–2-0-BETA
It has but I don't think significantly.

k
’cause views_bonus_panels uses it

Hmm, I think that's something lacking in general…

isn't that what admin/build/modules is for?

Well one can pull a version from the info file

if (module_exists('foo') && module_major('foo') = 2) {

But sometimes API version is different from stated version.

ping

*g* dutch is so funny…
"En wat een buitengewone foto! Prachtig!"

looks good
ready for commit?

Give 'er.

damn! I forgot to add the file

hey i just wanted to give you a high-five for all the work you've done making captcha work again.

No problem, man. A lot of work came from soxofaan, wundo and Heine.

so DRUPAL-5–1-2-ALPHA1 is valid?

Totally

well send them all my regards i really appreciate having it working again

Haha, yeah me too…. New "stable" version should be out soon ;-) .

darn, I messed up DRUAPL-4-7

Does anyone have any suggestions for a more "certain" message?

one thing that would be nice is if you put a link the the fonts directory to some free fonts that would be easily downloadable

can you help me?

Drupal, book.module, normal, patch (code needs work), 6 IRC mentions

You can use -F to move a tag *if* you haven't already created a release on it.

j
*k

lol, what's up?

no I committed to the wrong branch

That's a neat idea…. Mind sticking up an issue?

I committed the views-bonus_panels.module to 4-7 instead of 5

sure

haven't tagged yet

lol, oops.

and while you're add it add to changelog.txt. I'm a *total* CVS n00b

Sure thing.

Oh. Heh. Guess you need to back that out.

I don't suppose there's docs anywhere on bending exposed filters to your will, is there?

aaand tag it for DRUPAL-5–1-2-ALPHA1

There's some here and there. They can be a little tricky to bend.

I made mine into checkboxes

I've got a cck field that's a series of checkboxes and the filter it gives me is "is one of" and "is none of" instead of "has one of" and "has all of" and "has none of" like you'd think

ping

Anybody here familiar with schema.module?

pong

so how's the crosstab supposed to work?
*crosstable or soemthing

Ugh, not well.

http://drupal.org/node/121730

Views Bonus Pack, Code, normal, patch (code needs work), 6 IRC mentions

what's it supposed to do?

http://groups.drupal.org/node/2879
that.

5 IRC mentions

Really cool stuff but apparently it doesn't completely work.

Should this go into DRUPAL-5?

u huh

If it works even a little bit it should go in.

that's why I'm releasing an alpha :P

Cause it's a really slick tool and if it goes in it'll be more likely to get people fixing it

It kind of works.
It works if you need it to do exactly what it shows in that group post.
However, if you need it to do anything else, it doesn't work.
For example we couldn't use it for the OSCMS site because we had sessions that spanned rooms, and also sessions that spanned timeslots.
We also wanted to base it on a date.module field rather than node created time (or wahtever it's doing now)
So the patch there was an attempt to abstract it out a bit more to make it flexible.
And I don't think it works even a little.

lullabots ping?

ALPHA1 or RC1?

ALPHA

"DRUPAL-5–1-2-ALPHA1", right?….. Not "DRUPAL-5–1-2-ALPHA"……. without the #?

yes
I'd like 1.2 to be somewhat of a big release

I usually go alpha and then alpha2

Too late now ;-) .

listen to merlinofchaos
done?
I'll make a release node

Too late.

you made that too? :P

Yeah, sorry….. http://drupal.org/node/168008

1 IRC mention

np
how about the changelog?

Yay! This 1.2 release should be pretty big if you plan on multiple alpha releases.

yes

Oh shit…. …. You want to do that one? Or shall I?

I wanna get the crosstab in as well
you do it CVS freaks me out

Yeah, I wish Drupal had gone with SVN or anything else….

http://drupal.org/node/168009

Project, Usage statistics, normal, active, 1 IRC mention

SVN wasn't really an option when Drupal started
And CVS isn't that bad.
Especially now that I know how SVN does tagging and branching, I'm not so fond of it. It's pretty hard on bandwidth when doing a full checkout.

you should make the method a secret and not commit it to drupal web hosting CVS, so thieves don't know how to get around it

hehe, well it's all about making it difficult enought that its not worth their time.
but i don't think the obscurity would help too much

Yay! Done….

cool

I would listen to merlinofchaos if he wrote a book!

have you taken out the audio/playlist stuff out of views bonus? didn't seem to work in d5.

we need to get that working too
I don't want to remove it. I want to fix it
that's next

There's a new release… It has audio_playlist, but doesn't work …. I believe there's an issue for it.

there's more han one issue for it

RobLoach yeah - all the development with the audio/playlist has thrown it out of whack

remove dupes 2nd step: fix problem

I think the audio playlist stuff is mostly unnecessary with the current version of audio.module

you wanna help us with it?

I mean, drewish would know for sure

in the bonus pack? yeah zirafa pulled all that into the audio_feeds module

so we should remove it?

There you go. Point people at that instead.

i think so

k

guess i'm helping by raising these points :P

*cough* *cough*
do you want to help with views_bonus
?

i'll test things out when i can

wanna write something up about where people should look for the new playlist functionality, and then mark all playlist things as either 'by design' or 'fixed' or 'won't fix' (you decide)

I wish there was an application as slick as TortoiseCVS for Mac/Linux.

RobLoach, cervisia is ok (kde)

I've been using TortoiseCVS on Windows, and applying CVS patches and stuff through Linux.

i'll see what i can do

it's in the head version of the audio module…

does drupal have support for RDF?
or should that be asked in the #drupal-support channel?

RDF?

depends on if you want to code it or beg for it :-)

Resource Description Framework

Sounds like something for Views Bonus Export ;-) .

swill, no but you could create a theme for it, possibly via a view

I was just wondering if there were already any initiatives.

just modify the rss view theme

http://drupal.org/project/relationship

We just put in exporting views to CSV and DOC file formats, seems like exporting a view to RDF would be pretty cool.

(not very active atm but some interesting stuff…)

Relationship might do what you're looking for though.

thanks for the link. i will read that page.

……… Has to be ported to 5.x though.

alright, that is pretty much what i was expecting. wanted to make sure i wasnt missing some obvious stuff.

Still trying to concentrate?

There's a drupal 5 branch…
Just a very low activity project at the moment, it seems

i will look into it. thanks for the info guys…

Speaking of info, the DRUPAL-5 branch is missing the .info….

I have 100 GPL icons. Is that too many for a theme?

drupal.org/project/pimpassicontheme ?

it'd be something like supericon theme

http://drupal.org/user/33240
might want to get in touch with dman and ask about the status or something

$ ls -1|wc -l
108

I want to list all nodes within 25km from a location. To narrow the search down I check the location's city, then grab all location containing nodes from the db for that city. I then calculate distance between lat/long pairs and discard any node more than 25km from the desired location. Is there a more elegant solution or a module that I am not aware of that does this?

geo.module will be the best choice for this sometime Soon(tm)

Is there a beta so I can peek at the code?

drupal is so cool
i wish i had discovered it years ago

You can pull it from cvs
It helps if you know a bit about GIS systems, it leverages PostGIS or mysql database services Spatial.

anyone knows of a "blog" this module in Drupal ?

y3w
*yes

ok so the change-a-url-into-a-hyperlink module is a core feature now, right?

entendu - Yes

What if I wanted to expand its functionality?

No idea

You can write a filter module to do so
Don't know about directly extending the core one, but you can make a filter that handles the cases the core one doesn't

without boring you with detail, I'd like to change the way links are written — but only when those links are off-site.

I think you can implement Bonus: Monthly Archive with just normal Views module.

You think a filter module would be appropriate?

hmm

There is a filter module for that…

build it them
*then

entendu - Somewhere in contrib there's a module that adds a picture to external links… If you can find that, use it as an example

Let me try this…

and export it
http://www.youtube.com/watch?v=VA3zXzzMusY — this is cool

hmm….
that's odd
http://drupal.org/project/Modules/category/63
The title is messed up on browse by category
http://drupal.org/project/extlink

snap! nice!
I would assume it's a relatively simple thing to make it re-write the url rather than display a picture

Heh

I don't like 'heh's….

Look through that category list
see if anything seems right
try it out
Would be pretty simple, yes, once you understand how filter modules work…
hook_filter?

http://api.drupal.org/api/5/function/hook_filter

Check it out. I'm trying to track EXIT link tracking (click thru module does INCOMING link tracking)

ahh, I see

It seems like there is a need for it — plenty of questions around on how it's done, but not a lot of answers, short of "use jquery and google analytics"

You know, an exit tracker would be a good contrib module…
filter + optional "you are leaving page" + stats collection…

*nod*

hmm…
http://drupal.org/project/links

I mean, it's easy enough to rewrite the links in a template page if they're in a defined spot, redirect them to /exit.php?url=
but, it isn't drupaly!

can I use views to display multiple node types in one page? like a threaded question/answer?

Well, with a filter you can rewrite all external links inside node bodies and such at once….

I did look at that, and IIRC, it requires you to enter all your URLs *first* and then attach the generated result to your page
^ re: /links module

Well, it's an API, maybe it can do some of the backend lifting while you feed it links found while filtering…
Just a thought
Like if it can already handle the actual tracking, might be worth leveraging that…

*nod*

The more that you can delegate, the less code you have to write

ping
http://groups.drupal.org/node/5652

1 IRC mention

pls edit

Also, always poke around in the issue queues first in case someone else already blazed the path….

if you're still around, could u read my question on views?

sure
where?

can I use views to display multiple node types in one page? like a threaded question/answer?
I'm just starting to use cck and views, so I don't get how to do basic application stuff, like even make a link that says 'answer this question'

multiple node types: yes. Threaded question/answer: Depends on your requirements…

or how to print out the answers, etc
in a manner similar to a forum

Well, views is not very good at trees…
You need answers to be nodes?

well not necessarily
I mean, if someone wants to view the answer individually they should be able too though

Perhaps nodecomment can help with some of this?: http://drupal.org/project/nodecomment

reading it
oooh, nice

K - I have a question for *all* drupal developers: why are you not making install profiles? too time consuming? if so, what cojuld be made easier? thanks muchos

ping

btw, do you know views fusion? would that also achieve the same effect?

Dunno, but having questions and answers as a node relation *is* an interesting idea…

dmitrig01, one of the guys I work with has made a Drupal/Übercart installer, which is kind of more than just an install profile. Personally, I've been busy writing module code

anyone an admin on GDO?
you a GDO admin?

uhmmm… I've got a few permissions… but just a few

do you think http://groups.drupal.org/improvements-core gets to be a group? I'm a moderator as well but I don't want to promote my own group

I'm not an admin on g.d.o
seen moshe

Sorry, I haven't seen moshe.

seen moshe_work

moshe_work was last seen in #drupal-dev 14 hours 31 min ago saying 'anyway that piece is gonna take a more seasoned js and ui engineer than i'.

I can promote it
I just don't want to do my own

maybe webchick
she's like omni-admin
….or do it yourself :-)

do you think it gets to be a group? I can take it out of the queue, but I want to know you're opinion
or *anyone's* opinion

How do you change $view-gridcount from the UI? Using global $view; $view-gridcount = 2; doesn't do anything.
…. in the header.

lol

And that's why you don't trust just anyone.

k. Anyone who has perms on GDO, meaning they are somewhat trusted .
I told you already
it's not possible

Why isn't there a unicorn schnapps pony group?

So, you can't create a grid view without 4 columns?

no
settings aren't possible

what do you think the price of drupal could be if it's a commercial product?

That's because there is no global $view
It's either global $current_view or views_get_current_view()
Depending on if it's 4.7 or 5
Or if you're in PHP arg code, then it's just $view-gridcount

Running $view-gridcount = 2; or $current_view-gridcount =2 doesn't work.

just want to collect some information for reference

It'll cost ya .

hrm… d.o ate my comment
http://drupal.org/node/167956 is a good example of how not to use SQL table aliases

1 IRC mention

oh. weird. my comment showed up.

seen EclipseGC?

EclipseGc was last seen in #drupal-dojo 1 day 3 hours ago saying 'dvessel: I'm heading into a meeting, be on in about… 9 hours maybe'.

anybody around who has EclipseGC's e-mail address?
I had it, but forgot it
*lost it

why doesn't drupal release double licenses? GPL and a closed license

Closed license?

….

drupal doesn't release licences.

not offending…
just want to collect information…

i have just kicked you not kickbanned.
but continue walking down this road and you get that too

please note that GPL violations will be prosectued

seen dopry

dopry was last seen in #nowpublic 12 hours 46 min ago saying 'brb food and smokes time….'.

What would be the point of a non-gpl drupal release?

kkaefer ya

the point is moot

don't know
just see some apps do it

guys

php-nuke?

so go use those

you really want that I begin banning people?

what's a violation besides re-distributing it under a different license?

I can
stop.

ok

this discussion is over.

smackdown

well, different licence is enough

I mean *besides* that, but I guess it's best host not to talk about that in presence of chx

and chx is present everytime.
you, Barcelona? hackathon after that?

/join #licence-discussion-hideaway
wha?
*points at dmitrig01* HAHA!

are you drunk tonight?

no

lol

haha

lol

speaking of which…
….there is still an open bootle of wine in the fridge
*bottle

Can drupal be used for managing homepages?

Yup.

support?

Please direct support questions to the volunteers in #drupal-support or on the Drupal forums. #drupal is a place to discuss and help with code, advocacy, documentation, infrastructure, and pretty much everything else.

Ok, I'll go to drupal-support.

how to add custom fields?
to user

support?

Please direct support questions to the volunteers in #drupal-support or on the Drupal forums. #drupal is a place to discuss and help with code, advocacy, documentation, infrastructure, and pretty much everything else.

^^

oh, forgot that

I think that with that module, you have access to your site restricted (e.g. for paying subscribers)
but if someone searches on google, the first page view on that website is not restricted
i.e. you can see the content
every further click requires payment
huh, earnie boyd gets philosophical…

if google is allowed to cache your content then it will still be possible for others to see it if they really want to

I don't think that module has something to do with that
but you're right

you're a TextMate user too, right? Wouldn't it be great if we could team up to make an xdebug bundle? That would be SOOO handy

(I did not write the module nor am I affiliated with it in any way)

yes

tag in the head of the page? i'm modifying a code-highlighting filter module, and i'd like to get away from inline styles. can this be done?

it's only… I'm not sure how to make breakpoints and such
maybe team up with Ciaran and we're set

me neither. I haven't used xdebug at all. The only debugger I've ever used that was *good* was Visual STudio's XCode's is *much* worse than VS's
heh, you're in ##textmate as well

i have a filter on earnie boyd
better than frustrating myself

smart

hehe

i wanted to boot him from the list

V. smart.

it's actually not offending what he wrote

I'm vaguely surprised the guy's stuck around, tho he has gotten better.

there are kinder souls who did not let me

yes

i say, sure
speaking of google cache , that expires after a time
but Internet Archive
boy

boy oh boy

those are really Archive

is that a bad thing?

I have not found anything devastating about myself in there but for example i am not proud of a few posts of mine that dejanews/google groups digs out of my very distant past
that thingy also has an unforsaken long memory

yeah its strange to take a peek into the past

block?

What exactly are you trying to do?
Is the CSS multiple choice, or calculated based off of some always-changing value?

why would you want that… Just use drupal_add_css() to add the different css files on the different pages

is d.o search disabled on a schedule basis ?

It's disabled until further notice.

Crell, WimLeers i'm modifing the geshifilter code highlighting module, and for each piece of node content, there are css styles generated - different for evey node. i'd rather not create a temp file for every node - i wanted to just put them in the head. should i be doing this a different way?

Further notice being "when we've improved the database backend enough that we can turn it on without the server catching fire." :-)
Why different on every node? That sounds like it would be confusing, and/or better handled with richer CSS rules and body classes.

tags as well. see drupal_set_header()

well, it is a code highlighting module - the amound of css code would have to be *huge*, seperate for each of the 60-some languages it supports

So you'd have one CSS file for each language, and drupal_add_css() just the ones you need for each node.

and anyway, code i'm working with doesn't let me precompute it, it generates seperate code each time.

it's enabled from time to time though

You may want to exclude those from the preprocessing cache, or not. you'd want to benchmark it.

you're probably right in general, i'd have to talk with the external code authors, to get that functionality, though

Sounds like you inherited poor code, then. :-)

did you mean, drupal_set_html_head ?

seen dmitrig01?

dmitrig01 was last seen in #drupal-dojo 12 min 1 sec ago saying 'bbiab all'.

If you really need to inject CSS into the page itself, you can use drupal_set_html_head() and write your own style tag.

yes, this module has maybe 5 forks, but the original external library is fine

That's a least-best path, though.
Ick.

oh, of course

tag. i do believe the html spec says only one style tag inside of head. there isn't anything like that, is there?

Where does it say that?

i may be wrong, i haven't checked

tags with @import statements.

The only caveat is what order the head is built on output. Your styles may be declared before or after the normal ones, which if there is a conflict will affect which one "wins".

i don't anticipate any conflict

Then that should be OK then.

there's an issue to change all @import to links

Yes, I was working on that. :-) Someone needs to review/RTBC it.
http://drupal.org/node/145218

Drupal, base system, critical, patch (code needs review), 4 IRC mentions

Problem with Date CCK field. When no date is entered, it still displays and displays "When: 7pm Wednesday, December 31, 1969"

That's the PHP "gah, there was no date!" value. File a bug against the module, please.

Is there a way to show or hide CCK fields depending on what they chose for one CCK field?

Crell, okay.

Not in core. But you could write a CCK field module that does that itself in JS, or form-alter a node form to add your own JS to do that.

has anyone gotten fileshare to use a progress bar?

when you return a form from a _form function (i.e return $form) … is it possible to return an array of forms (form definitions)?

Pong Ping Pang.

Ping Pong Pung Peng

Found it…. http://drupal.org/node/168052

Views Bonus Pack, Monthly Archive, normal, active, 1 IRC mention

I disagree

What should be done with it then?

use hook_views_default_views

?

that allows views to be added to the system
http://drupal.org/node/99568

2 IRC mentions

seen dopry

dopry was last seen in #nowpublic 14 hours 3 min ago saying 'brb food and smokes time….'.

does anyone here use the nodecomments module?

meta?

Simply ask your question. No need to ask to ask . Unless you are doing a census, asking whether anyone uses a module isn't going to result in a useful answer.

I'm confused…. I'm talking about Views Bonus Archive being able to be implemented using just the Views module…. Therefore the Views Bonus Archive isn't really needed….. Am I missing something?

replace the module with one hook: views_bonus_archive_views_default_views which provides an archive view

the nodecomments module is acting weird, I need help, it's attaching all the content together as if it was one long post
how do I stop that?

why would the search block stop working? I confirm that the form is posting all the correct fields (tried with stock garland theme to verify no theme issue)

The weird thing is that the code in views_bonus_archive.module is pretty much the same as the import code provided at http://drupal.org/node/52037 . It's just that the Simple Monthly Archive doesn't need the Monthly Archive module enabled (obviously)……. It's actually really easy to implement the view without the module, so I'm just questioning its being there.

when did it stop working?

3 IRC mentions

unknown
wish I did know

it was in between some event? you did something and then, it wasn't there? do you have throttling on?

throttling is not on.

have you looked at the module at all?

obviously some event but I've pretty much exhausted placed to look

The code, yeah.

that's the point
it should stay

Ah, so the module just adds it explicitly as a View Type? Even though it's quite easily implementable without it? ;-) .

don't know what to say and you've checked the theme, unless its on the left sidebar and your theme doesn't employ one

it doesn't add a view type
it adds a view

searching from /search/node works but searching from the search block just shows the search form with no results despite that the form post is received…
search is a bit loopy so not fun to troubleshoot

Okay, but still you can do that manually without the module or coding still ;-) .

I''d like to keep it

seen fago?

fago was last seen in #drupal 6 hours 58 min ago saying 'fago was last seen in #drupal 1 week 6 days ago saying 'someon's nick pong''.

Kay, no problem ;-) .

greggles, fago wrote nodecomment right?

not as far as I know
I believe that was rdouglass (with the help of the other bots)
fago wrote (among other things) nodeprofile and its family

seen bradfordcp

bradfordcp was last seen in #drupal-dojo 17 hours 2 min ago saying 'seen flk?'.

what are the most popular cck and views related modules?

Panels and Views Bonus, I'd say.

ping

it's a bit old, but you could look at the data behind http://knaddison.com/drupal/drupal-download-statistics-april-2007
and that would tell you most popular downloads
and then you'd have to cross-reference views/cck lists for most popular of that kind

nifty, I'll check everything out, pretty sure I've heard of panels
clearly I'm wrong in advance, but panels = blocks ?

yes, wrong
blocks can be placed in panels

should have said "right"

entendu:

get it, he's right thatr he's wrong ^_^
:-D

so it allows you to create avoid hand coding a theme?
avoid creating*

panels does
yes

interesting

Make sure you pick up Panels 2, as it's infinitely better than 1.2.

Crell ping

ajk^: Ow!
How goes?

fine, you?
anyway, Q4U. Can you think of a reason why php5.2.3 refuses to catch exceptions? I have the simple example from the manual and it works fine from the command line php -f but put the same simple file in teh Drupal web tree and it Fatals "uncaught exception"?

Time crunch as always. :-) What's up?

Hey guys, I found a bug in 6

btw, nice work on killing php4, nudge nudge

hehe. Thanks.
Could it be drupal web hosting rather than PHP 5.2.3?
Hm, although I know exceptions work in 5.2.0 with Drupal, because I'm using that on a site right now.

I'm thinking it's Drupal, I grepped the tree for set_exception_handler and no signs of even that

I readed that PHP4 develop until last of 2007

killing as furture tense, not killed as in past tense

PHP 4 will have no releases after 1 Jan, and no security patches at all after 8/8/08
And any PHP app worth mentioning will be ignoring php web hosting 5.2.0 as of 5 February 2008.

Crell, ty

Those that aren't on the list aren't worth mentioning. ;-)

ksh Robert Douglass wrote node comment

hello everyone, please welcom a newbie

Juxt, wb

i am new to drupal, so far i think i like it. i do need a little guidance
i am trying to write a module (my 2nd one)
for druapl 4.7
(yes i have to use it)
so i exposed a new menu item which calls a function goodmail_user_index …
in general i need to present user a form
in which he's type a value which would later be stored
i figured the form would rely on _submit hook

ajk^: Anyway, um, I dunno.

but my problem is, how do i create that form

To be honest I've not really worked with Exceptions much in PHP 5.

Crell, cheers, trying a test in a none Drupal env now

I find when you're learning, the best way is to find a module that already does something similar to what you want to do and copy/paste.
Then start changing things to see how it works.

i agree, just havent found anything similar

There are lots and lots of modules that provide forms.

http://api.drupal.org/api/groups/4.7

hehe thx

I go home now. lateres.
laters

is there any way to make a node automatically go into a menu?

Drupal mainly has two types of forms: those on settings pages (hook_settings() in 4.7), whose input is stored in the variables table for later use, and "normal" forms which use the Form API.
fapi?

fapi is http://api.drupal.org/api/5/file/developer/topics/forms_api_reference.html

note that's fapi for v5

right so i need to make use form api here

True. Replace 5 with 4.7, but it's similar.

great i think i found what i was missing. thank you!

yes. And explaining the form API is unfortunately way out of scope for an IRC discussion. So I would recommend either copy/pasting from a module that does something sort of like what you want to do, or maybe looking through some of the example modules posted at http://api.drupal.org/api/4.7

there was a 4.7 module that did what you're asking

But if you have specific questions, then we can probably help you.

yep, somehow i totally overlooked the api doc… i am new to drupal so i am climbing the learning curve

There's also the Pro Drupal Development book which does a fantastic job of explaining Drupal concepts.
And I highly recommend it if you're new to Drupal dev, because that more than anything will help clarify most things.

http://drupal.org/handbooks

i have the book, alas it's written for 5

True. But almost everything carries over.
There are a couple differences in the menu system and FAPI, but they're all outlined at the upgrading modules page.
update modules?

update modules is http://drupal.org/update/modules

well, I'm about to pull my hair out with this search issue

i agree, the book got me pretty far as far as understanding drupal. i've been at it for about 2 weeks just get lost once in a while
so what's better than irc folks holding my hand thru it ;-)

You're probably talking about 2-3 hours of someone's time.

the satisfaction of figuring it out on your own? :-) j/k

Maybe the paid services forum?
I would recommend getting as far as you can on your own, and then asking specific questions.
That's how most of the rest of us learned it.
But I can't answer "How does the form API worl?

Crell, ok, seems not to be a drupal related problem but with the apache+php server setup

I can answer "How do I add a custom submit handler to my form?"

gotcha

doh, he's gooon

Or "How can I make my form redirect to a URL when it's submitted"

Somebody went and changed the search.module's api on d.o without asking me if it was ok, didn't they? Now my uber-cool drupal.org search plugin for FF is broked.
uSomebody went and changed the search.module's api on d.o without asking me if it was ok, didn't they? Now my uber-cool drupal.org search plugin for FF is broked./u

lol selmanj
er Senpai

Everything is "page not found"
I mean, I know searching d.o is hard, but EVERYTHING just went 404
heh

were you asking development questions in here?
Juxt is asking development questions.

depending on who you ask

If he were asking how to change the site name, he would get 'support?' ;P

in my opinion it was dev questions

(assuming Juxt is a he. Sorry if you're not. I hate it when people assume that :P )

it looks like search is just disabled

ahhh

it's the worst performance drain so the first to go

awesome my form is working! see just needed a little push in the right direction.
uawesome my form is working! see just needed a little push in the right direction./u

Can anybody tell me the official name of those .theme files that are showing up in contrib modules these days?
I'm having a really hard time finding and edit docs about them.
Just now, I learned the hard way that there's no easy way to upgrade a module that uses these .theme files if you've customized yours, and now you want to upload the newest patch

interesting..

override themes in your own theme

but some modules use their own theme file
and if I switch themes, I want that custom module theming to stay the way I left it
So I modded the module's .theme file

They're still theme_ files. Should be aable to override them like any other

bzzt. bad.

I think the .theme files just make them easy to find

but now it appears i can't upload a newer module or I'll loose the .theme

modify other people's code and suffer the consequences

if you want your changes to be global to any theme, override them in a custom module with phptemplate_wahtever_function
Theme overrides don't _have_ to be in template.php

is this d6 functionality?

Somebody's got to have thought of a way to store .theme files separately from the actuall module, right?
Maybe in D6?

they can be anywhere. PHP is dumb. It just cares that things are defined somewhere.

lol

..theme is just a way of removing markup a bit from logic

I've never seen a module with a .theme file

You'd want to keep the module's .theme file with the module. YOu put your changes in your own theme

event has a theme file.
but it's just a collection of theme functions

location does, too

Ah hm.

"Theme overrides don't _have_ to be in template.php" HERESY! Traitor! :

what? They don't.

heee

It's nice because you dont' have to search the module code for theme_

so in the future, make a custom global_theme_overrides module.

I used to work with another CMS that used /custom directories for you to store any modded files like .theme

and copy/paste the theme functions you want to override in all themes there, rename to phptemplate_foo
Then they're all in one place.

that's what sites/ is

And then it would look there first before looking to it's default /modules location

And template.php only stores the stuff that is theme-specific.

Senpai - What do you do for theme functions that are in .module instead of .theme?
Senpai - What do you do for theme functions that are in .module instead of .theme?
You dn't modify .module, do you?

Sorta like a sites/all/modules/pathauto/custom/

That sounds horrible.
Then your customizations are stored alongside program code.

Yeah, I rm -rf the whole dir before untarring the new
I'd lose all my changes

If your module stuffs up and you have to replace it with a clean copy, you'd lose your changes.

no, I never muck about with changing the module's code. That one time? It still gives me night terrors.

Senpai - It's no different… .theme isn't special. It's just a place to organize the theme_ functions
bSenpai - It's no different… .theme isn't special. It's just a place to organize the theme_ functions/b

Clean separation of custom + contrib/core == the path to Drupal happiness.

I gotta run… Hubby's turn to eat supper. Back a bit later

how do you separate custom and contrib code?

So if I wanted to make sure that people know about this concept, in the docs, what type of a search query would I be using as a newb who's just found his first .theme file?

Custom modules go into sites/all/modules/custom, contrib modules go into sites/all/modules/contrib

I want to edit or write a page about this shile it's still fresh in my mind
*while it's

I recently set up the same system but I'm not too happy with it

if I need to patch a contrib module for some reason I do http://www.lullabot.com/articles/strategies_for_patch_management

O_O

hm? why..?

i didnt realize you can go to lower directory than sites/all/modules

yeah, you can sites/all/modules/geez/what/a/bunch/of/clowns

well, mostly my fault. Planned to move contrib modules into custom or "patched" or whatever. But modules should never move.

you should read Pro Drupal Development.
it's ok if they do.. you just visit admin/build/modules, but it's better if they don't, true.

webchick and Michelle, it was more like sites/modules and sites/customizations, than what I outlined earlier. The reasoning was so that you could, in fact, nuke the old module and untar a new one, but any modifications would still be there, just right alongside it. Sorry for confusion.

Comments

hi I know that nobody in this channel can give me a definitive answer but my homework for my C class is to write

very hard core* sorry

Auris-: is this line valid or not sprintf(buf, "%*s", sizeof(buf)-1, "long-string"); ?

yes you're right Smirnov

and i got an A in my algorithms class so its not to say i dont like algorithms
i just dont like the competitions

but there are some interesting problems

Auris-: is the - 1 necessary ?

anyone have any ideas of why my if statement becomes true consistently at the same place even though it does not match?

hi

and im even taking grad algorithms next semester

_sin_, how does that relate to fgets()?

does everyone agree with…

i mean if you are going to do it for fun, thats good

Auris-: fgets works in a similar manner

but dont expect to compete and win unless you really are a walking encyclopedia

http://72.14.205.104/search?q=cache:L3ypA2n3GR8J:www.lrde.epita.fr/~didier/comp/gen_in_repos.php+should+configure+script+be+in+CVS%3F&hl=en&ct=clnk&cd=8&gl=ca&client=firefox-a

?
sorry its from google cache the original page is no longer available

_sin_, oh, so you read gets() source code?
s/gets/fgets/

Auris-: no. I read it in Buffer Overflow attacks, in the book, the author noted that fgets(buffer, sizeof(buffer), fp); is a common mistake and it can trigger and off-by-one overflow

the author seems broken.

Hrumph, i agree with it

Auris-: are you positive ?

ok it sounds reasonable
it's something i hadn't seen addressed anywhere else but i hadn't really researched it all the same

_sin_, you decreasing 1 from the size is about indexing. fgets manpage states that fgets reads at maximum size-1 characters and then appends . this is not indexing.

I just checked the standard
it is exactly the same as what you are saying
if fgets(buffer, sizeof(buffer), fp); one less is sizeof(buffer) - 1 then appends the '' at buffer[sizeof(buffer)
] that is an off by one, no ?

no. because fgets won't assign at buffer[sizeof(buffer)].

why not ?
sizeof(buf) - 1 is the position of the last character, and then it has to append an '
''

0 to size-2 is size-1 characters, the number of characters fgets will read.
and so the '' will be placed at size-1

yes
exactly

quite so.

so a call fgets(buffer, sizeof(buffer), fp); can trigger an off by one

_sin_, so is buffer[size-1] out of bounds?
no it can't.

size - 1 if size = sizeof(buffer) is not out of bounds

try it. ask valgrind if our english can't convey it understandably enough.

but that will not be the position of '' that will be the position of the last character the 0 will be one position after that and then it is out of bounds
Auris-: it works if you try it

you are confusing lenght with indexing. that is not the same.

but it still triggers an off by one
wait give me some time to think about it

char x[5]; fgets(x, 5, stdin); /* fgets will read 4 characters, storing them in x[0] through x[3], placing the '' at x[4] */

I see, yes that is correct. I wasn't correct.

hello
http://rafb.net/p/HYkhbz33.html — why that says to me 2 different results?
there is some error in the code?

Hey all, anyone with much MPI experience here? I'm wondering if it's "not cool" to let each process take a chunk from one large file, does that cause parallel read-write issues?

borderc, try having "ciao\n" in your program.

i've taken 4, in MD5_Update, then "ciao" is sufficient
ah, in my program
ok
yes, the error is here
damn!

"echo ciao" outputs ciao followed by a newline.

yes, i must use echo -n

IRBMe_, please stop that.

hes probably afk
I doubt he's doing it to rile you :p

why would his client switch nicks back and forth?

unconcat

fwiw FooBarBaz is doing it also

FooBarBaz is disconnecting, irbme isn't.

ah! i finally understand

maybe he's got some kind private message load balancing.

in my code, buf[BUFSIZ] isn't nessarily all null
i set the first part of it, but the rest can be entirely random (if i'm correct)

sega01, if you don't know any better, assume that uninitialized variables can have any values in them.

#define BUFSIZ 4096

i've had similiar problems before, but i'm very new to C
even though it wasn't entirely nessary, i'm glad i pushed through and finally figured it out

uninitialized values are the shit
{ int x = 5; } int x; //x is probably 5
:-D

probably not

yeah, probably not.

psh

5.0

ignoring compiler optimizations
lol

it's likely that compile will move the latter x's declaration to the beginning of its block.

optimizations shmzations

stop this now

yessir

el pollo verde leche

we can't even touch this, how could we stop it?

http://rafb.net/p/WsXgkS55.html, I wanna make it from 300 to 0

int main should return an int

it compiles good but no output

I don't care
change this first
next you can fix the for loop

!main

main is int main(int argc, char *argv[]); or int main(int argc, char **argv); or int main(void); See also ''argc'' and ''argv''; the standard entry point to C programs

what should I change??

haha

thanks Auris-

yop

You can include stdlib.h and return EXIT_SUCCESS
at the end of main

fahr = fahr - 20
yuck

wait.

sorry…

but that does look like k&r code. but they are lazy bastards.

can you fix it there I'm new to C and if I see my fault I can see what I did wrong because the things you just sayed doesn't make any sense for me..

hi. I know that nobody in this channel can give me a definitive answer, but my homework for my C class is to write some program. It states to use positive integers for length / width / and height. I decided to use doubles instead to improve accuracy (also currency is not always an integer…
which comes later in the program). My question is, since most of you have probably taken a programming class before, do you think my professor would care about that?

the function main should have return type int
In your case, you can use
int main(void) {
instead of "main() {"
And at the last line of main, before }, return EXIT_SUCCESS;

ow … but I'm following a book atm so they didn't tell anything about void

You need to include stdlib.h to for that definition
void in that case means that the function doesn't take any parameters

oow
is there any good online beginner tutorial for C because my book directly speak of things and they don't explain right what it is..

I have never taken a programming class before, but I would do exactly as your professor has requested.

i agree

0

but, it doesnt make sense to use an int for length width height and currency
none of those are ever ALWAYS integer values
do you agree with that nobody_

fax ok I will find it tnx

http://lumpio.no-ip.com/dont-use-thx-sry-plz.txt

stiv2k, what are you trying to code, an universe?

lmao
no
its the first assignment for the class

stiv2k, then don't generalize if you don't need to.

cl : Command line error D8045 : cannot compile C file '.\cdrsrv.c' with the /clr option
any ideas?

read.. the.. manual..

stop usign the /clr option

we just have to write a program that asks the user to input length width and height values, then figure out the surface area of a fish tank, and then figure out how much it costs to build (using a rate of $.02 per square inch of glass)
Auris-: what do you mean?

it should be ./cdrsrv.c, not .\

hi guys - im looking for a way to run some code (to check for sip messages) every 20 ms - i already do this in a gtk app (using g_timeout_add ) and am trying to create a command line only application. Any suggestions ?

pretty trivial, why are you telling us?

usleep

fedt, not on windows.

what is a SIP message?

just want to know your opinions as fellow C coders
would you use an int or a double if you were in my position

i'm no programmer, just need to compile this.

opinions on what? how trivial your hoemwork is?

what should i use?

You need to read the manual

windows supports c now??

i don't know? ask a windows channel
the compiler has always supported C…
what language do you think Win32API is written in?

no! i know it's trivial. I wrote it up in a good 45 seconds… but I think using a double is smarter and more precise whereas the instructions say int. I just want to know if anyone agrees with me

yeah, but isn't gnu focussed on hating all microsoft?

No one cares

a double for what?

the length width height and currency variables in the program

who is going to buy so much of something that you need a double?

what is the units?

"yes, i'd like to buy 4,335,039,253,059,134 feet of foo"

ffs, it was a simple request, i dont care if you don't care but at least you could have made the effort to steer me in the right direction

they mgiht want half a foot..

i'm reading it but i only see how to compile .cpp code

inches for the dimensions, dollars for the currency

he said it has to be an int though.

seems like an int is precise enough fo rinches..

ok

this a windows only code.

here is a tip: teachers don't like their students being clever when it coems to absolutely trivial programs
legis ! winprog

goto #winprog on efnet

i see

in this cse a doube would actually probably be less precise than an int

SIP message = Session Initialisation Protocol

why is that?

double can store anthing an int can store

(message i mean)
used for setting up voip calls etc

i hate words spelled -sation rather than -zation
stupid europeans.

obviously, but once he does the mathout he'll loseo soem precision due to rounding

ints don't round?

why don't you have an event framework set up so you get ane vent when a new SIP come sin rather than polling?
what would they roudn to..?
the nearest integ..ooh wait they already are that

what if you divide an int by another int

you get an int

or multiply an int by a decimal value
but it wouldn't be accurate if it doesn't divide evenly

you can't do that
so? it's called integer divison
that' show it works

i see
yeah my professor was explaining that

You should use Rational Big Integers

ok so you said you can't multiply an int by a decimal value?

If all you want is + - * and / with infinite precision

but liekly fo ryou, 0.2 need not be an decimal
so youc an avoid the whoel thign!

because in the program i have to write, i have to multiply the surface area by .02….

.02 rather

i'm basically converting a fair amount of code that was done by non programmers - i havn't coded properly in about a year, and am extremely rusting - know the idea of events, but implementation is going to be tricky

lies

lol

stiv2k, if your program is specsed to use ints and therefore it is tolerable that you can't use fractions, it's okay to be imprecise.

so what will happen if i do that

0.02 is an integer if you alter your units

i dont quite understand

then you probably shouldn't be writign this program
what don't you understand?

what, by moving the decimal point or something? multiplying it by 100?

how many cents is $0.02?

two

thanks for that constructive criticism orbitz, it added a lot :P

oh
okay

yaay

the output must be in dollars though
not cents

see why teachers don't like students attemptin got be clever when they are writing trivial programs? because they don't know what ot be clever about
so?
how trivial is it to convert that to dollars?

well it is easy yes i know that

Very trivial
:]

but what if it doesnt come out to be an integer

how could it not?

shutup
go do your damn homework

i didn't realize we had sub-cent demoinations
is this new coin called 'lint'?
if so, is belly button lint worth more tan pocke tlint?

you are a prick. if you dont want to listen to me then make use of this protocol's /IGNORE function

Do your fucking homework

/ignore is not part of th eIRC protcol
it is a trick your client uses
see, this is why you shouldn't tru to be clever

then you better hope your client supports /IGNORE
i wasn't trying to be clever

why should he care? you are the one who seems annoyed
you can jut as easily ignore him since you seem all bent out of shape

i actually specified them as double's before i read that they had to be ints

just shit u

i don't care
i don't know what that means
are you sayign stiv2k has to do a number 2?

shut up*

i hav eot do a number 2

less talk about homework, more C

but i took a ton of laxatives this morning

ok

That is homework

you'r ehomework!

my homework *is* C

ssh

yes but yoru prble is so trivial it's icnreidbly boring for us
ask somethign interesting

it may be trivial for you
but im new to this

its only non-trivial because you're stupid
or thinking about it too much

anyways

why should I respect you? You called me a prick
also you bore everyone

what are you btiching about? hav ei not been helping you quite a bit see the light of ints?
you even learend integer arithmetic from me
so stop comlaining

lol
relax, dude

you owe orbitz a great deal

thanks for helping me out, orbitz

oh one second it's "waaa nobody resepcts me"

i was directing that rant more towards fax though

now it's "chill out orbitz, it' snot my fault i'm an asshole"
you insutled the entire chanenl thouhg

hahaha

should you be taking an english calss too?

you're the one misspelling everything

righ ton time

haha

oh the predictability of freshman

stiv2k, what keen insight.

as a matter of fact i am in an english class
though it is composition

now that is out of your system, do you have any useful quetison to ask or do you just wish to continue bitchin about how ##c isn't doing your homework for you?

whoa
i didnt ask anyone to do my homework for me
secondly, im going to smoke a cigarette

just saying you wish to continue bitching woudl have sufficed
you don't ahv eot actually bitch

What *kind* of cigarette??

a marijuana ciggerette?
i hear all the kids are doing that these days

please, calm down

parliament lights (buy 1 get 1 cause its cheap)

they refer to it as…a reefer

We don't allow drug taking here stiv2k
Yeah, sure.. just be careful

illicit drugs
nictine is withotu a doubt a drug

correct

come back with an interesting question, i'm bored

ok anyways im gonna get on that. maybe i'll bitch some more later when i get back….wnat ot do my hoemwrok for em???? im a nub

a nub? are you missing limbs?
vietnam get you bad?

Don't be a litl bitch :/
It's not a good thing

be a big one

or even XXL

aight
what about this one
lets say i have to perform a multiplication involving an int and a half of a cent
something that cannot be expressed as an integer

….
3 * 0.5 = 1

yes

mind blowing

truly

go to bed :/

it's only 7:30

how do i search for stray non-ascii symbols in source code?
i am pretty sure I have a ^a somewhere (an a with a hat on it)
are there any progs or something which do that

use your editor.

its displaying normal :-\
i retyped the line the compiler was erroring on
didnt help
im getting warnings about \u2018\u2019 all over the place

sounds like you are using a word processor as your editor, as u+2018 and u+2019 are left and right single quotation marks as might be used to replace "…" with "smart quotes".

how would i toss out u+2018 and replace it with "
and toss out u+2019 and replace it with "
?
since im not sure where hte problem is

use a text editor…

Smirnov, do you code in MS Word?

no

I think even MS Word has a search and replace function.

no!!!!
mF
i use vim

perhaps that's the problem.

why
its not my code that has problem

nope, it is more then likely you

no…
i just downloaded a .tar.gz, untar, make
i dont think its my fault really

can't you use vim/s search and replace ?

i could but im not sure how to type in \u2018 into it

if you downloaded source and it has this problem contact the maintainers.
if you are writing code and get these errors check your editor's settings.

When I asked "is there anykind of championship on the internet about "who writes a code for certain purposes faster" ?", I meant a real time championship online. Does it exist?
"who writes algorithm faster"

possibly that would describe some 0-day exploits, otherwise no.

topcoder?
did you even do a googel search?

perhaps you might be interested in the ICFP Programming Contest.

I´m a bad googler

didn't google even have google jam or something?

http://www.google.com/search?client=safari&rls=en&q=programming+contest&ie=UTF-8&oe=UTF-8
are you just an idiot?

not like , thank god
not like you, thanks god

good come abck

Yes you are

anyone can use good.

the guy that gies you a link full of programming contests MUST be an idiot since you couldn't type in 2 words
anyone can use good?

I can prove this on an EtchaSketch :P

thanks.

fax, shouldn't that be hyphenated?

go ahead

what happened to IDC_STATIC?
it doesn't exist anymore?
er, sorry wrong window

we sold it.

hi, nice to meet you every body.

does anyone know what .la file is for?

no
you will have to look it up

thanks, but I don't know where to look

Do a search for "la file extension"

http://www.justfuckinggoogleit.com/?query=la+file+extension

Then check the links

I have a question. Does anyone tell me what 's the mean below code ?
what is the mean for the micro "__THROW"
*************************************
extern unsigned int if_nametoindex (__const char *__ifname) __THROW;

WAKEY WAKEY, HANDS OFF THE FUCKING SNAKEY

sheesh.
teenagers

gikid, don't yell, please

oops
crap

more importantly try to say something which has meaning

sorry, that was ment for another net

fax, on IRC, that is unheard of

i forgot /amsg messaged EVERY net

that is smart

so now you've presented yourself as an imbecile on every part of the internets, instead of just the small part you had intended?

imbecile!

kylix, something related to C++. grep some more in the headers.

thanks.

Hi
I programe a irc bot, and I want to know how can I get the pseudo of the persone who post on the chan
Using sockets , In C language
Can any one help me ?

No

-_-

pSuedo?

the name (the pseudo) for exemple Bug_Bug , or Smirnov , or fax …

http://tools.ietf.org/html/rfc1459
start reading

RFCs are so dry :-\

O_O
infi it's very long, I just wanna know how to get the name

what name?

alamar for exemple
Bug_Bug

so you want us to do your work for you? no thank you.

then you look at your output
as you will recognize all public msgs are of PRIVMSG type

is this the only one methode:

:Bug_Bug!

the rfc documents how msgs of type PRIVMSG are structured

I want to know if this is only the once method

yes, reading the documentation on the protocol you are writing an application for is a way of understanding the protocol for which you are writing an application.

:pseudo!

:Bug_Bug!

I can't read that

call them nicknames or nicks, not "pseudos".
and irc rfc isn't terribly long.

But I dont want to read all the rfc to know only "if this is the only method to get the nickname", I don't want read and after dont foud how to get nick name
I just ont to know if there are a irc command to do this, if yes I will read this from the rfc
ont=wanna*

READING HURTS

lol

jesus christ man. I suggest you find a different line of work. programming is 80% reading and thinking, 20% typing.

reading is READING HURTS

does anyone know what is wrong with this? if(x = 3) printf("x is 3\n");

it is always true

the '='

Nothing

is not probably what you mean

That code is fine.

if(x = =3)
if(x == 3)

well it is
but it's probably not what he wants

oh im missing my equal sign lol no one gave me the bok on that one.

you should compile with warnings turned on.

(x=3) is always true

thanks guys

if(true)

mean?

and = ^^

??

not equal

equal

-1

that's an annoying syntax
just use ==

No

?

You should just have not said anything

Me?

everyone

ok..

-_-

if I have a struct, with a fixed-size array in it, is there any issue with doing a memset(pStruct, 0, sizeof(StructType)) ?

Can you actually explain a bit more clearly what you want to do?

the medium-length description is…
i'm having a very odd issue with memcpy throwing an access violation exception, every once in a while. i'm copying a list of structs, stored as a linked list. the new list is made basically by doing *pCopy = *pSource…
the structs are just a clump of variables, with a fixed-size array at the end.
they're initialized by doing memset(pStruct, 0, sizeof(StructType))… memory allocated with "new"

Are you writing this in C++?

##c++ is just around the corner.

if hes calling memset from C++ god bless his soul

yeah but they're answers are basically, "use a vector, don't use memset", etc.

so dont use memset

don't use memset.

Why can't there be middle ground with C having "new" :-)

because new is just malloc which throws an exception..?

You should ask ##c++ about problems related to C++

it's a tad more involved than that

They are totally different languages..

using memset is not hard
and you shouldnt need to zero out a struct in C++, thats why the constructor sets default values

oranje, most uses of memset are wrong. I don't know what your structure is, but from the little information you have given us it is probably wrong.

or in C you would have a function which returns a new struct for you

well - if you have a struct of like 500 variables, how would you go about zeroing them all?

struct MyStruct; MyStruct MyStruct_create();
why are you trying to zero everything
and if your struct is 500 variables its WRONG
read about refactoring

take this to ##c++

500 bytes ill believe you
yeah they'll just laugh him out for using structs and memset

they already did.

i hate people who write C code in C++

fine - ignore everything I've already said.

they should just write C if they are going to write C code
s/write/use

Thanks for sharing.

yeah

i'm dealing with bastardized legacy code at work - it's not really a choice.

oranje, struct foo { int a, b; } bar; bar = (struct foo){0}; will set all members to zero.

man memset

oranje, memset(&bar, 0, sizeof bar); sets all *bytes* to zero, which is not quite the same thing.

aha. Draconx: why?

memory alignment generally
sorry im a little upset, dealing with some homework code which is basically C with some templates thrown in here and there

That sounds abysmal

it is
it wouldnt make very good C code either, there's no memory cleanup routines

oranje, because an int storing the value 0 is not necessarily represented with all bytes zero.

say what?!

as if he'll ever use archiectures which are insane like that
from the sound of it his legacy code will only work on x86 32-bit anyways

bonne nuit

oranje, consider an implementation where int is represented with 1 sign bit, 1 padding bit used for odd parity, and 30 value bits.

does anyone here happen to use flex

well - could doing memset to zero a struct, regardless of what garbage might end up in said struct, somehow be attempting to set memory outside of the struct due to alignment issues?

oranje, using memset to set all bytes of a struct to zero is legal. However, attempting to read the values of the members in that struct after the fact may not be.

alright - just so I can put that hypothesis to bed, memset is never going to leak beyond the struct if I pass it sizeof(structType), even if the struct turns into garbage?

well, if the struct is not of type structType…

arg. crap. as dumb as that is, I'm pretty sure that's (indirectly) the problem.

hey everyone. I'm having issues (Fedora 7), mpiexec crashes (with a buffer overflow error) everytime I run it, I can't work out why, I remembered last time I used it I needed to start something before hand, though don't know what!

oh, how i hate fixing up code that was supposed to run on dos.

oranje, memset(&the_struct, 0, sizeof the_struct); avoids this problem.
but doesn't avoid the problem of using memset.

that's not exactly where the problem is… but. is there any reason to do sizeof(theStruct) instead of sizeof(structType) ?
for future reference

aha, remembered

oranje, `sizeof the_struct' will almost always be clearer and less error-prone than sizeof (whatever_the_structs_type_is), when it is appropriate.

in C does "\f" the same as "f" ?

so style instead of function… got it. i was just following the existing conventions in the codebase.

errr, "\a" as "a" ?
since \f is special

\f is FF or something, \a is BEL

ok fine
does anyone know where i can find a lex\flex rule for lexing strings?

don't it's 'test'

doesn't escaping a char that isn't a standard escape sequence mean something fancy?
like keep the value regardless of character set?

wish i knew

"If any other character follows a backslash, the result is not a token and a diagnostic is required."
and "Lowercase letters as escape sequences are reserved for future standardization. Other characters may be used in extensions."

well then

\Xhh is \xhh
whats this about lower-case?

\X is not covered in the standard before it says "any other character".

j c++
mistype.

how dare you

thanks for the help, Draconx.

a struct just defines the format of an order of bits in memory right ?
or in any bit stream ?

!book chino

im just asking…
im not programming in c or anything

hEHEHE
you guys rock
this channel much better than ##c++ most of the time
they just let noobs walk all over them. here people are men and tell the noobs to go read a book

yea real men dont hit enter and talk to them selves

please learn how to spell "neophyte".

so should I eventually have K+R memorized?

neophyte doesnt sound as demeaning
K+R is old school
memorize C89

hmm, someone suggested that book
it's not very interesting

they probably suggested K&R2

ah the book

i thought you meant K+R style

Zhivago

this is the second edition

yeah they made the language, of course they are good

"the c programming language"

please write that READ you mentioned in CL :p

but is it good for noob programmers?

bill_k, OK, that's K&R2.

probably not

A decent parser would be a good thing

!k&r

k&r is The C Programming Language, 2nd edition, by Kernighan and Ritchie, http://cm.bell-labs.com/cm/cs/cbook/ - be sure to see the errata as well, at http://cm.bell-labs.com/cm/cs/cbook/2ediffs.html

that's what I got

a decent parser ?

also c primer plus by prata
but i'm noob to programming and it's pretty hard to read a 500 page book without having a use for programming yet

learn another langauge
did you see our comment on your template problem?

bill_k, er, K&R2 doesn't have 500 pages.

what template problem
oh in C++?

yes

no i went to go eat dinner let me check

many people complain about K&R because it is rather slim.

you just can't win..

please learn how to punctuate.

C is simple
why? its irc

you just don't know C yet.

yeah.. ok buddy

please learn how to spell "it's".

i might not know the depths of the preprocessor but i know C kk

int a[10]; what type is a?

unless you including libc as well

libc is part of the defintion of C…

int array size 10

how do you write that in C?

how do you write what in C?

c primer plus has 500 pages

that is true but for that there are manpages

it's not easy to write type names in C

the type of a

so java is better to start with? I know a bit of java

it is, if you know C.

it makes me want to use that notation with a "hole" symbol

you want to write the type name of A… for what purpose?

that question is dificult to answer
i say start with python

just wonder if you know C.

or haskell

java is a good start

bill_k, scheme wouldn't be bad, either.

ignore Zhivago, you have moer pressing issue sin ##c++ that will hopefully not make you look like a retard tomorrow

newbies can be so cute

me?

who?

something about nth?
that was a warning though not an error

what problem do you want to solve?

Everyone is not trying to solve problems Zhivago…

that is the only output from running make
and it is a ratehr serious warning

yes
some people come here just to get into fights with fax

lol


not when i'm eating.

man what the hell are you on about anyways? are you talking about describing the type of a without using the identifier name? thats just int[10]

o god
Please don't start this

well done, what's the type of &a?

lol

*(int[10]) …

I bet it's a script he runs :p

that isn't a valid type..

I suggest that you learn C.
and stop whinging about the other newbies.

great
i dont know an esoteric feature which is useless unless im going to write a compiler to C
congratulations

um..
No

uhh that is not esoteric in any way..
using the pointer-to operator on an array is qutie ocmmon
(as a result you seem to be digging yourself even deeper…)

look if i was writing code i'd do int**

No

but im sure you wanted some more specific answer

Leave this place

those types are competley dfiferent
int** is not what pointer-to an int[10] resolves to

Don't use pointers, they're evil.

which is why i didnt say int** as my answer

You're evil

then i don't know why you brouhgt itup a second ago

Stop harming Smirnov

because i can only see it being practical to know the type of &a as more specific than int** when you are writing a lot of macros

fax, I got my code to compile as a C project as opposed to C++. It was looking spaghetti anyway with all the pass by references.

Yuck

wow
references are great!

Wrong channel

then you don't see very well is my only guess

references are crippled pointers

a tool

perhaps yu simply have not written much C code, but pointer-to an array is really quite common and can lead ot soem confusion if you don't understand the types

dont see what?

like another

They're intuitive but they were making one function do a lot of stuff and it wasn't like main was the core of my code anymore. Got ugly.

use them if they fit your needs

you said "i can only see it being practical .."

brb

int[x] can be used in places where they expect int* so.

so you obviously have some vision issue

ThinLizzy they don't fit any need in C

Garbage

yes, beacuse arrays are not first calss objects

stop it

the optimizer likes references

that does not mean you can use an int** in the place of a pointer-to an array

you can code C using some C++ features like references and local scope

ThinLizzy huh?

ThinLizzy, I got in trouble for that. :P

ThinLizzy then you're not coding C

and…?

(and made myself look like an idiot because I thought they were C)

Wrong channel

ah i got it
int*[10]

was not me the one that brought the reference subject here, fax

i udnerstand you are annoyed with zhivago beacuse he did some pointless quiz with you, but unfortuantely his quiz showed that you do not understand the issue he brought up so just get ove rit

Stop it

no
that is sitl l incorrect

why not? my code compiles now
lol

fax, do you say anything other than bossing people around?

why?

then your code is wrong

hack @ it long enuff, and miracles can happen

some users must have a terrible life. and they like to discharge their frustrations on irc

ok how the hell do you do it then

tis true

do what?
we aren't talking abotu doing anything, but rather the type of an object

some people has no lives, so they want to hurt others feelings on irc

better than raping kids

surely its possible to write this type in a function declaration
and then pass &a to it and see if it works

would the type of &a be pointer to array of int? (if a is int a[]?)

true, but anonymous cowards should be raped

yes obviously i tis, you just haven't come up with the proper type yet

alamar, that would be a reasonable representation of the type, in English - but that is English, not C.

!c89
how do i get to the c89 standard

google, you freak

i duno, google for drafts online?

I was just curios if pointer to int or pointer to array of int is right

look on the bright side — we're not letting you noobs walk all over us — go and read a book.
that's what great about ##c, isn't it?

doesnt &a mean pointer to an array of 10 ?

No

c standard on google? this is new

& gives you the address of whatever a is

yes
'pointer-to' is a much better description of the operation

ok…. so why isnt &a int*[10]

no

that's an array of 10 int *'s

oh

but, you should know that already.

yeah i meant int(*)[10]

No you didnt'..

then you should have said so from the start, and avoided all of this confusion.

yes of coures you meant the corret answer
and all this time i thoguht you were giving the right answer but meant something else

Maybe he did.

he didn't

noobs are like that.

you guys are vicious ;-)

theres a difference between not knowing the esoterics and being a newb

well, I didn't think pointers were that esoteric.
be kinder to noobs, since you are one.

just beacuse you insist on calling it an esoteric does not amke it one

don't poke the bears Smirnov ;-)

there's a difference between admitting you don't really understand pointers to arrays and claiming that they are esoteric.

!book Smirnov

a pointer to an array is a pointer to an array
just because i didnt know the proper notation for this doesnt mean i dont understand type systems

well it does

im sorry, but notation is notation. semantics is semantics

C is not going to teach you anything about types

haskell or ml will though

can you stop this X = X talk
its really boring

uhhit kind of does actaully, undestandign teh type system involves knowing how to represent types as well as what operations yeild what times

C is too crude

failing that…you don't know the type system

He answered the question correctly in English, he didn't adequately express it in code. I see no harm.

it demands a lot of bookkeeping from the programmer

thank you

i think youprobaly know teh basics well enough atleast

but you can do whatever you want

im in a compile host course, i can easily write out types for you using formal notation

no harm done regardless, the point Zhivago is makin gis Smirnov seems to be treating some newbs with a bit of distaste but he is in no position to do so as he can't even convert a simple english type expression properly to C
which is rather trivialin the grand scheme of things

learn SML

i know ocaml

so what?

its very similar

This is ##c, everyone but the nice people (who are in a minority) treat newbies like pieces of crap. That'll never change. ;P

your simiarl

no pointers though

dude you are so lost

newbies are boring

I give up

maybe the newbies resemble pieces of crap

ok you are right. anyway i wasnt trying to be demeaning its just hard to find good help in ##c++ when its full of newbies and this channel is mostly good of people who arent newbies

SamB, hey, I consider myself a newbie. I never read the C standard. But I have a publishing deal in the works for a game I made and things look good.

##c++ is hardly full of newbies…

well it was about 5 hours ago

guys move this discussion to ##c++
thanks

doubtful, iw as tehre 5 hours ago

well whenever you werent there then

which game, joshcryer?
you need smuck

orbitz way to make a point for him

ThinLizzy, super secret. It'll be on the Playstation Network in a few months, hopefully.

Where can I get some smuck?

all i remember is that orbitz wasnt around to the time i was referring to

everywhere

people do not just stick around in channels waitign for you to ask a question that you are more than capable of solving on your own if you think about it. some patients is required even on IRC

oh i wasnt asking any questions at the time, just saying it was full of unfocused newbie talk

can you drop it please

drop what?

really old by now

i seem to be aging at normal speed

lol

I can't get the point of fax whines

anything you say Smirnov is going to make up excuses for and claim he was right all along

i'm drunk, he' sonc rack
we're teh dynamicaly gay duo
yes it' sso fun

oh well
if you are enjhoying .. I will just go read

heh

i'mpretty sure i can get him to call his mother a whoe
whore

l;ol

cool
should it be a MILF? ~
s/it/she

orbitz do you type like a retard on purpose or does it come natural

in short, you seem to suffer painfly from teh Dunning-Kruger effect. i suggest you fix that before even people that wan tto help you find you too irritating
drunk

orbitz are you always drunk

no need to be that rude
i didnt say i was an expert in C, merely that i wasnt a newbie

Your own words "I am a C expert"
explain tha..

yes, and everything you don' tnow is "esoteric"
we got the point
get over it
stop defending yoru self, i twon't work

you should get over it..

C is fugly :-(

Don't look at it then
You can just stare through it

s/should/& all/

where did i say that

Hi guys.

hi

ubf = nubf;
nubf-header.header.offset = 0×414141;
printf("%d = %d\n", nubf-header.header.offset, ubf-header.header.offset);
So, what's the output?
"4276545 = 0"…

One way to find out is by running it and checking

It seems like an aliasing problem, I tried turning off strict aliasing.
No luck.
I reproduced it on both gcc 4.2.1 and gcc 3.4.4
ubf and nubf are both pointers, BTW.

I guess as much

fax, obviously

what type is ubf-header.header.offset?

Zhivago, int.

so, what surprises you about this code?
well, paste a compilable example

Zhivago, why would the values be different? :-)
But here is another thing, one second.
Zhivago, ok, as unsigned 64 bit ints and me using %llu the values printed are equal
However…
0000120 4141 0041
I have printed this value right before writing to disk.
Zhivago, hrm.
Zhivago, is a tarball fine for you?

is this a single threaded program?

fax, yes :-) Though if it was some sort of race (some gcc parallelism hax), 64 bits are typically racier.

construct a test case.

But the assembly itself is also using pretty primitive instructions.

make a small example to illustrate this problem

Might not be so easy, especially if it is an aliasing issue.
I will try though.

it should not be an aliasing problem

Zhivago, ok. Here is something simple.
ohhhh
man
Doh.

either a link to a paste site entry, or make it all on one line.

No, it isn't aliasing.
My problem is elsewhere, I was chasing a stupid issue.

!paste

Paste code/errors here: http://rafb.net/paste/ - Helper script for pasting files: http://code.google.com/p/rafb-pl/

In my header, I forgot I had 64 bit ints.
pop 32 (0×414141) pop 32 (0).
Wow, I wouldn't have thought it was something so stupid.

probably not actually stupid in the slightest

it was almost certain to have been something like that.

is there a way to trace with gcc the files that get included

yes.

how?

twkm, I have been doing a lot of UPC development…a land where many compilers are seriously broken.

that's why I asked what the type was

i am trying to find out which file a function is being declared in

twkm, some coming back to the world of C where most compilers are sane…is kind of strange
Zhivago, yes. Thanks. Too bad it wasn't a cool bug though ;[

typically fairly boring information.
but, surely you looked in the gcc manual to find the option that shows include processing.

i dont want to do gcc -E
too much crpa comes out

then look for a different option.

perhaps you should look into the grep command, too

though most times just reading the documentation for the function is more than sufficient.

indubitably

?

sounds like you want ##c++

:-(

and it shouldn't matter to you what a particular system header file does "behind the scenes", just use it as documented.

by any chance?

i would assume it is

no

stdlib.h ? unistd.h ?

don't assume that any standard header includes another standard header.

except where documented.

#include string.h

ok
you are right
but in general, is there the possibility of those files inculding string.h?

(and if you are writing c++ you really should be discussing this in ##c++)

who cares

why do you think that is relevant to anything?

cause im having problem with my strdup function being redefined
and i dont see any #include string.h

Don't name a function strdup

strdup is non-standard, so it isn't surprising that you may have issues with it.

well, it's in a standard, just not C
in general you shouldn't define your own functions beginning with str, I believe.

if you name any non-static function str* you risk colliding with the implementation.

str* is reserved

what standard is that?
ok before you all get mad at me
this is homework code

strdup is in POSIX

this being ##c i naturally mean the c standard.

why should we care?

naturally

huh? people here talk about POSIX all the time :-)

in your own code you might call it str_dup or dupstr.

maybe you should focus on your homework

so what?

sorry thats kind of hard to do when it doesnt compile

ok guys, it's too cold here…time to code in starbucks ;-P
Bye

Wrong

so nothing,?

stop defining a function called strdup, why do you need to?

im not
its the homework code
the homework code that is given to everyone
which i havent even edited yet

ah, well start by editing it so it doesn't redefine strdup

Please focus on your homework
It's not worth discussing here

how? it uses strdup lol

begin by telling gcc that you need a standard compilation environment, not the non-standard one it provides by default.

I don't care

ok so why are you so upset about it

well, it's because we don't allow noobs walk all over us

Am I missing all the fun?

extern char*strdup (__const char *__s) __THROW __attribute_malloc__ __nonnull ((1));

for gods sake

is __THROW conditional macros that change based on C++ or C?
i found it in my /usr/include/string.h

perhaps. if it is it isn't germane to programming in c.

Stop this

go lookup the definition.

This was _several_ hours ago!
I feel like I'm in a TNG time loop

stop what ??

just take your head out of the washing machine.

what are you talking about man, i stopped arguing with Zhivago and orbitz 3 hours ago
uwhat are you talking about man, i stopped arguing with Zhivago and orbitz 3 hours ago/u

Just go and do your homework

use the transporter or the deflector array, that'll fix it.

wtf??

you're threatening fax's postion as 'prime punctuation deficient'.

what do you think im trying t odo

just stay away from da android
http://assets.lego.com/upload/contentTemplating/LEGOAboutUs-ProductPressReleases/images/2057/pic46C6489A-6995-41F2-B6EF-FB95064BC88C.jpg

eurltoolong

lol
I had one that was over 8 lines long!

ok next question
if you have extern t func(); and then later t func(); t func() { /* defn */ …}
all in one file
what is that suppoesd to mean?

Don't do that

read your book.

use the external func or the local one?

what does your book say about it?

or ask an intelligent question.

it doesnt say anything about when you mix extern with non extern

Don't do that

what book is it?

IM NOT! its the fucking homework code

there's nothing wrong with that.

There's nothing right with it

it's perfectly correct code.

It's purposeless

who are you to judge?

then consider what it says about extern, see how that might matter.

umm ok
but im still not clear if it tries to link to the external identifier during the linking stage or not

I found one of chaitin's books online

t would have to some sort of typedef

you don't seem to understand what the extern qualifier does.

http://www.umcs.maine.edu/~chaitin/eesti.html

it means dont reserve memory

nope.

because it exists already in an external object

nope.

dynamic linkage?

Stop guessing

*shrug*
fine
you win

This calls for a fresh pot of potent Tea.

im going to buy K&R2 when i have some money

http://www.iso-9899.info/wiki/LinkageAndStorage

I think that will help you learn C
but I don't suggest that thats the best thing you could do

clearly i need to know the esoterics to get any positive reactions around here

I would like to be able to admit when you are wrong, and not guess randomly about thing
That way talking to you will be a lot more meaningfulll

prec that doesnt actually say what external linkage is
i like languages, less the build systems

if you want definitions look into your (or a better) book, or get a copy of the standard.

an extern declaration doesn't try to link to anything.

whats better, K&R2 or the C89 standard

it simply says that this variable has external linkage — the linker does the linkage

depends what you want.

what's better? a fish or a sock?

to learn C? i dont know

`which is heavier?`
!standard

http://std.dkuug.dk/JTC1/SC22/WG14/www/docs/n843.pdf - C99 + TC1 + TC2 working paper: http://open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf - comprehensive
reference: http://ccs.ucsd.edu/c/

and what if you say it has external linkage, then later say it has local linkage

are you kidding me? Have you any idea weight of a wet sock?

where did you say that it has local linkage?

to learn c i'd suggest k&r. as a reference i'd choose the standard.

if you omit extern doesnt that imply local

no.

Smirnov, there is no such thing as "local linkage".

ok i mean internal linkage sorr

and it doesn't imply internal, either.

erm
wait are function declarations external by default ??

and learn how to write "doesn't.
please punctuate that sentence properly.
I'm tired of trying to read your subliterate maunderings.

Are function declarations external by default?
Please, I must know :-) .

gag me.

No

Then what do you call the default linkage?

!book Smirnov

linkage of file scope identifiers is external by default.

Wow, you guys, it's not like I'm asking why int x = "foo"; doesn't work…

take a nap. get a fresh start in da morning.

I've worked out that your definition of "esoteric" means "anything that you don't know already".

Sorry, but I've never claimed extern to be esoteric :-)

You sure as hell implied it

I don't think I mentioned that word once when talking about extern.
So what does gcc do when it can link against several functions with the same name?

hence "implied"

complains.
why not test these theories?

seriously.

Why isn't it complaining in my case? I have a locally defined strdup as well as the built-in posix strdup

start typing those little programs
my 1st day here, I was never this annoying.

Yes you were
:p

moi?
my how 3 years go by quickly

I had the good sense to not type anything the first day I was here

…we could hear thoze gears tho

probably due to it being in libc — but read the linker documentation
you've made that definition available to be linked against — is anything trying to?

at the top, #include stdio.h

we need a blow-by-blow?

Made my own strdup, that printfs "In my strdup", if I comment the definition uses the libc, otherwise uses my local defn.
So that is kind of odd, shouldn't it complain about it?

put your own strdup in another file.

why should it complain?

you're using the local definition, naturally.

1.2

str

str is a reserved file-scope identifier prefix when followed by a lowercase letter

does god support open source software or proprietary software?

if i put strdup in its own file, it still links to that

stop spamming

To the local definition that I have.

now make a second file like that.
god supports the brigade with the bigger guns.

ah, thanks

welcome.

fez, Jesus supports Open Source and sharing and love. The One True God (Hewbrew, Abrahamic) is a propertarian who wants to eat your soul.

fortunately they are the same creature.

If a segmenation fault callstack dump have "0xffffe440 __kernel_rt_sigreturn+0", it means the the SEGV happened in a signal handler?

it may just mean that you're dumping stack from a SIGSEGV handler

Zhivago, no. SEGV dummper is SEGV handler
There are so many __kernel_rt_sigreturn+0, I can't see the full callstack

are you causing a sigsegv in the handler?

Zhivago, yes, I just want a confirmation
Zhivago, every time I'm online, I found you are already here

how fortunate for you
I suggest that you apply for a medal.

hey Zhivago

hi, does anybody know how to install libmath and libpthread under ubuntu? im going crazy just to execute gcc -lmath -lpthread

sounds like an #ubuntu question to me.

they didnt answer

try -lm
and -pthread

its the same
im trying luck in the ubuntu forum

please learn how to spell "it's".
also please try to learn how to ask sensible questions.
well, good luck with whatever is the same as whatever.

what about learn to learn?

Sorry, I speak Spanish. My keyboard layout is not very English friendly.
Farewell.

well, the first problem is getting a sensible question.

hello all
name a good language to write wireless applications

cobol
what does language have to do with wirelessness?
you might as well ask "name a good language to write programs to run on computers with blue cases."

sorry if problem

Hi

"hi"

I have a newbie question regarding C programming
I am using a multidimensional array in a C program and it seems to be slow; is this true?

no
C doesn't mention any speed regarding data types

and you're not using a multidimensional array
there are no multidimensional arrays in C; int x[3][3] is an array of array

Chris I mean I have defined "double A[3][3][3][3][4];"
Chris Yes I agree.

yes, that's an array of array of array of array of array
so you will be doing 5 pointer dereferences every time you access a single element.

Would there be a speed benefit of making it just one array?

well, it's less dereferencing
that may or may not be faster

multidimensional array

Chris So that does make it slower than defining double A[250]; and then addressing in that?

C doesn't define anything with regard to performance or optimisation of this, and it depends on your specific code, platform and implementation; use a profiler.

http://en.wikibooks.org/wiki/Programming:C_arrays

3 to the fourth power times 4 is not 250

wikis can be written by anyone

It is a multidimensional array

no it isn't

Yes it is

and i thought that such arrays were stored contiguously in c anyway, it should only be doing one dereference

This is a perfectly acceptable and accurate term

Chris How should I use the profiler;should I implement both options and then compare them with the profiler?

yes, or simply write some code and time both
a[x][y] is *(*(a+x)+y)

Chris Then what is the best web hosting reference for C programming? Where I can look up the type of questions I jus asked?
just

since they're implementation defined, I don't think you'd find it in a C reference

however, it can be accessed with a single dereference, *( a + ( x * Y + y ) )

I can relatively easily define an addressing macro and then make it into a single array; I'll try that and compare.

is there a reason why you need so many dimensions?

I have a daemon program that listens for socket connections but periodically I need to run a certain function, how can I do that? I was thinking of doing it with alarm but I can't seem to get it to work..

can you show a test case that demonstrates that?
oh, yeah, if a was int *, it would work
but it wouldn't work on the array type

Frasha Well, I am gathering coefficients from different equations and whidh have a different dependency upon variables. So then the "easiest" thins is to use a variable coef[A][B][C] … where A stands for the equation number, B stands for the variable number, C for the geometric dependency; and
then I just loop over A,B,C.

[u]sleep

i hardly think i need to put in the cast for you, you know better than that

select() or poll() with an appropriate timeout

and you have 5 levels of that?

Frasha Actually more than 5. There are various geometric dependencies; the equation may depend upon a variable in any of the nearest neighbours.

do you have the source posted up somewhere?

Frasha No I don't; would you be willing to look at it?

sure, post it on rafb

Frasha http://rafb.net/p/7Y687p68.html

I'm really not seeing how I use select or poll seeing as how I dont seem to have a file descriptor to use..

Frasha The definition is on lines 126/127

how are you listening for a socket connection?

really horrible code

well I have a sockfd.. and later on I accept into newsockfd
but those have nothing to do with.. the other thing.. ahh

ahh?

fax Something more constructive would be useful.

yeesh, 3024

Buy a faster computer

use select or poll to tell you when there's something waiting for you to accept on the listen sockfd, use the timeout to schedule when you want to run this function

fax What do you mean?

if you were using a c99 compiler you could just use __func__

then you don't need to optimize

Frasha I am not sure I know what you mean.

c99 has an implicit static const char __func__[] = "nameof the function"; at the start of each function.

where you have __FUNCT__, if you're using a c99 compliant compiler you can use __func__ and you don't have to define it per function yourself

Frasha I see. I usually use gcc at my own computer and portland C on the supercomputer. Ar they c99?

gcc covers a subset of C99, including __func__

if it's a recent gcc it will have support for some c99 features

yeah they put in the easy bits

you would have to use -std=c99 from the command line when compiling, unfortunately

Frasha What is the advantage of using c99?

though, i couldn't say for portland c, never heard of that

Frasha http://www.pgroup.com/

it has __func__

well, c99 has some added features from c89 that you might like

Frasha Its difficult to debug with portland, so I prefer gcc to run "small" jobs.

berend72, well, you get C++ comments, and you can declare variables anywhere, and that's about it.

Frasha Thanks, I will look in to that.

and compound literals!

variable length arrays

nothing really useful.

and snprintf and friends

i find single line comments useful, since i'm a lazy typer

except almost every compiler made in the last 20 years or so supported // as an extension anyway
s/20/15/ perhaps

yep, though now it's standard

20 seems a somewhat large value.

yes, true

10 may be more realistic

okay, okay.

i wouldn't mind having nested comments too, hopefully in the next standard

you can nest #if 0 :o )

what is the point in nested comments? if you want to stop a block of code use #if 0
s/stop/suppress/

yeah, though only vim of the editors i use highlights it

gedit hilights it ;o)

i doubt you'll ever have nested comments, since they were explicitly rejected in c89.

except i don't use gedit, nor will i ever
for what reason?

read the rationale.

fax Why horrible code?

i guess i'll have to find one

fairly trivial.

}\n }\n }\n }

"The Committee rejected this proposal on the grounds that comments should be used for adding documentation to a program, and that preferable mechanisms already exist for source code exclusion."

hmm, sounds like their reasoning for not having a lot of features, you can already do it one way, why give you another potentially easier to use way

it's no easier

hi there

"Preprocessing directives such as this prevent the enclosed code from being scanned by later translation phases."

it's easier for me to type /* and */ than #if 0 and #endif

pathetic.

same here
I would much prefer nested comments
but I don't really care
It's the reason that // is good

i see no reason why they can't merely have the preprocessor strip comments right away

the preprocessor does strip comments away.

"merely"
sigh.

whats up twkm?

me.
i shouldn't be, as i've still got this cold, or whatever.

ah :[

if the preprocessor does already strip them then what's the problem with later translation phases?

sorry

*shrug*

the concept of "preprocessor" doesn't necessarily consist of a single translation phase, as far as I'm aware.

yeah it does

how can I compare two strings to see if they are exactly the same

strncmp

strcmp()

==
Oh wait
C doesn't have strings!

Frasha Do you have any more useful comments on the code I pasted?

the preprocessor traditionally encompasses at least 4, sometimes 6 of the 8 translation phases.

well, it seems pretty convoluted, you might consider finding a better algorithm for this

I would suggest not having a huge single function, if that hasn't already been mentioned

oh cool

(i.e., traditionally phases 1-6 are done by cpp, 7 by cc1 and 8 by ld)

I found the phases http://uw714doc.sco.com/en/SDK_cprog/CLC_PhasesTranslation.html

it's nice to see fax confidently refute my statement, but then listen to twkm

though in fact these days that would likely be a mistake, and you'd want to stop cpp around 4, leaving cc1 to handle 5 thru 7.

You didn't say anything true
seems like you could do 6 before 4

aside from 'the concept of "preprocessor" doesn't necessarily consist of a single translation phase, as far as I'm aware.'

er 6 before 5

people are odd. parity.

twkm i talk to keith now.

what does 'exactly the same' mean?

wonderful.

yeah it was great!!!!
I called him and such
and we talked
about file systems, because I was doing a project
he is doing well though
i am soo excited!
He's on the computer a lot he just doesn't come on IRC anymore

a sensible fellow.

Zhivago who?

whoever doesn't come on IRC anymore

keith

maybe you should follow his example

Zhivago what example?

never mind, it would probably just confuse you.

probably
i think it's an insult but im not sure.
sorry…

where you from?

USA

o…

sorry i have asperger's

whats that got to do with anything?

i have problems with social skills im sorry
was Zhivago insulting me though?

I don't think so

ok

autistic hats sound interesting

autistic hats?

yes, he's on #autistichat

well, he is both american and has brain damage, so it sounds relevant.
never mind about it — it wasn't particularly relevant.

relevant to what?
Not relevant to C

I suspect that this conversation is also confusing you.

It's not
;0

it's not relevant to c
Zhivago you don't like me do you?

Do you code C?

The most I've ever done was write a File System in C

wow

And modify the scheduler for 2.4 kernel

I think that counts :p

but nothing amazing;;
I still haven't memorized all the functions and have complete grasp on certain things. But I do know C decent

hehe

But I don't think I am expected to have all functions memorized because you can usually look them up

I didn't make an effort to memorize the entire library

Anyway yeah I did a mockup of EXT2
with superblock, inodes, blocks etc

thats pretty impressive

Eh it was decent
I guess?

fishing for compliments?

well
I never wrote a filesystem

I didn't actually format a disk, I had a flat binary file
And mounted it

out of intrest,
Roughly how big was it?

Pretty much it consisted of superblock, inode table, block table, inodes, blocks, indirect blocks (these were stored as a pointer to the struct inside the struct for inode)
Not too large? Under 1MB lol
I was going to add journalism to it but I didn't
I had a time limit
And I cared more about it being perfect than adding features
It was a pain in the ass the way I did it because I had to do a traversal of O(logn*n) (I think) anytime a user entered a directory to look up the files inside the directories

Comments

« Previous entries · Next entries »