sorry again I tried adding the extended partition to my fstab and rebooting to see if it would mount I attempted

never heard of "laptop_mode"

if it is starting GDM lethalrocks it is in rl5

Its on a gentoo-wiki for acpid, and cpufreqd

either way lethalrocks, you would not see any DM (k,g,x,etc…) if you boot to rl3

so what is it that handles the sound in kde now then?

Hi, I have a quick question regarding overlays. It seems that Sabayon users cannot file bug reports for Gentoo or get official support, even for a Gentoo ebuild, does that prohibition cover Gentoo users using the Sabayon overlay?

the wiki may be your first problem

into_311 what ever you want

?

you ahve to have a sound deamon, to play the sounds for the window manager thats my understanding

Mahasamatman, rc-update -s 5 says that runlevel doesn't exit

just like all wiki's, you can't trust everything you read

ignore the sound system setup into_311. all apps will use alsa, esd directly

i downloaded the stage3 tarball to the /root directory, i am trying to extract it but it is telling me i dont havt enough space. can i move the tarball to /mnt/gentoo and extract it there?

indeed. The problem isnt acpid though, I know for a fact that it works. I know its compiled in the kernel. I've had the setup for almost a year now. I just dont see why wmbattery says I dont have acpi

bug reports for overlays don't belong in the gentoo bugzilla at all

I dont have arts, and I get all the notifys into_311

I'm talking about stuff in the main portage, though.

are you using esd then?

If you're using the exact command given in the Gentoo Handbook, you should be extracting it straight to the destination partition anyway

Since Sabayon users cannot report them, so it seems, would I forfeit the ability to do so by using their overlay?

extrat it to /mnt/gentoo

I'd suggest check you've typed the command correctly. If you believe you have, can you give us details of how big the partition you're trying to install Gentoo on to is please

I use what ever the app prefers into_311. some want esd, some use alsa directly
knotify will pick what ever you want

ok thanks i probably missed a step…

ok, therefore a soudn daemon is still required for certain things. maybe not alsa specificially, but A sound deamon

I never said you did not need a sound daemon into_311

I'm not running any sound daemon and use quite a lot of multimedia stuff…

Ctibor, thank you

You should be fine as long as the developers don't believe that the packages from the overlay(s) might be atleast part of the problem

still thinking lethalrocks

Mahasamatman, would you like me to reboot and grab certain info while things are working?

are you trying to playback/mix more than one sound at once?

Mahasamatman, aren't*

artsd has never been a very stable thing, I have avoided it for years into_311

i have had a time or two where disabling arts helps you play certain games, or what not. But for the most part, it works just fine being left alone also..

yes… e.g. video and mp3… working normaly

AllenJB,I guessed that'd be the case, but it seemed a little ambigious and thought I should check first since Gentoo/Sabayon hostility seems quite strong. Thanks.

i made / 10G, /var 10G, /usr 20G

I guess I'm stupid for following the same model that every linux distro has used for years in having alsa and then a sound deamon on top of it

What to you would be "acpi support in kernel" ??

Those sound easily large enough

I'll have to try it without, might liberate me

dmesg.test.txt" and then do what you need to to get back here and nopaste the txt

Mahasamatman, okay, will do

into_311 I always felt that the minimum layers between the app and the hdwr is best

anybody know how to find out how much a network interface loads the cpu?

i'm just trying to figure out why they enable it by default then
including gentoo, in their make profiles

apparently the KDE devs have decided so as well

How do people normally copy a kernel config to a new kernel version? Do I need to merge?

i think i was in the wrong directory the 1st time. i copied the tarball to /mnt/gentoo and it extracted fine. i think /root is in ram? (i have 1G ram)

into_311 kde is linux's windows. that is why. (not sniping, I use it too )

Copy the .config file to the new directory and then run "make oldconfig"

something similar to this http://rafb.net/p/1SkAKA82.html

kde enables exerything it can by default. I disable almost everything I can after installing it. makes it alot snappyer into_311

AllenJB, thanks. What about two different patched versions such as gentoo-source vs suspend2-source?

thats actually for my desktop… i need to take a lot of that out

Same procedure.

hi all - sorry for the dumb question - haven't had to do this in linux based hosting services before - after a hyperterminal/putty type program for connecting via serial cable

AllenJB, ok. Thank you

i thought i was going to be building everything form source… o well

would anyone know something in portage I can use?

The only dumb question is one not asked.

This is mine: http://rafb.net/p/uUyfpC68.html

AllenJB :-) thank goodness it wasn't the inquisitive idiots quote

wouldnt you say mine would qualify as "acpi in kernel" ?

the 64bit livecd won't boot on 32bit machines right?

Now you come to mention it… =P

yes. my best guess is wmbattery is relying on the /proc to gets its info and you don't have that compiled in
# CONFIG_ACPI_PROCFS is not set

why are you sing a 64bit cd for a 32 bit machine? never tried it myslef, but i'm pretty sure the answer is no.
64bit machines work well with 32bit OS, not the other way around…

into_311 lol

how do I setup gvim to print to my cups printer?

skyphyr, terminal over serial? try something like ckermit

I have a sempron and I can't tell if it is 64bit lol

I'll try with that and let you know.

what does cat /proc/cpuinfo say about it?

Mahasamatman, that was very odd… restarting both ifaces didn't work… I could ping my gw and the router's gw (isp box) fine, but no further… eventually it decided to work

yey .. everything seems to work fine … now just one problem ..
how do I get /dev/sda3 back to /dev/md3 ?

BlackBishop, easy.. 2 command

care to tell them ? or where I can notice them ?
I know it's something with mdadm –add

BlackBishop, `mdadm /dev/md3 –remove /dev/sdb3 && mdadm /dev/md3 –add /dev/sdb3`

what does the output of cat /proc/cpuinfo tell you?

but why /dev/sdb3 ?

or do you know what type of motherboard you have in teh system?

I'll do stuff all over again .. no problem ..

BlackBishop, i though you removed sdb3

I want to sync /dev/sda3 to /dev/sdb3 which seems to be up ..

failed?

ok lethalrocks lemme edit a file and post it back

active raid1 sdb3[1] 154256064 blocks [2/1] [_U]
so .. /dev/sdb3 is active .. right ?

BlackBishop, ok then yes sdb3 is active

so mdadm /dev/md3 –remove /dev/sda3 && mdadm /dev/md3 –add /dev/sda3 then !

BlackBishop, you might lose some logs and stuff since you were working off sda3 but it should be minor with a fresh install

yeah .. that's why I don't care

That got it solved and working (My best web hosting guess is when I updated kernels 20-8 to 21-4 seeing as it was depreciated, I didnt add it back

excellent

BlackBishop, then you need that command you just quoted me.. and it will rebuild that partition. (check via `cat /proc/mdstat`
)

LocalGhost ~ # mdadm /dev/md3 –remove /dev/sda3
hot remove failed for /dev/sda3: No such device or address
LocalGhost ~ # ls -la /dev/sda3
4
sorry about that

owned!

lethalrocks, are both nics plugged into the router?

mdadm: hot remove failed for /dev/sda3: No such device or address

your manual that came with the computer doesn't tell you or anything?

I built it like a year or two and I just pulled it out of the closet

well .. doing mdadm /dev/md3 –add /dev/sda3 seems to put it in recovery
yeeey .. I guess this is about it ..

thanks grknight

there was a point in time where we had 64 and non-64 bit semprons instock
of course now we just keep x2's

thanks grknight and everybody else who helped along the way !

did you ever cat /proc/cpuinfo | grep 'model name'

BlackBishop, just becareful with RAID stuff. it gets a bit touchy

"AMD Sempron(tm) Processor 2800+"
do they have special flags?

BlackBishop, and be sure to add the mdadm to the boot runlevel for monitor mode (see `man mdadm.conf` and `man mdadm` for details on that)

what are the microcodes on it? you should be able to google that and get info right?

Mahasamatman, I'm here now (flaky net, seems to be eth0 (nforce) causing it, so I stopped it

did that !

well the safe_cflags guide says they have matching model and family numbers
and that the only way to find out is to look at the serial

lethalrocks, "rc-update del net.eth0 default"

now .. emerge -uD world ..
anything else I should do after this ?

Mahasamatman, I was just typing that in anyway
Mahasamatman, Any idea why it's broken?

i do not know. my guess is if it doesn't say its not

i backed up all of my email from thunderbird on my windows partition. anyone know where the email profiles are stored for thunderbird on gentoo?

~/.mozilla/ I guess

make && make modules_install && make install will upgrade the kernel for me right?

~ expands to /home/yourusername/

it could be that having the route dup'ed btwn the nics is causing an arguement that has to time out
lethalrocks

bonsaikitten; thanks

~/.thunderbird for me

http://www.gentoo.org/doc/en/gentoo-kernel.xml

Mahasamatman, so remove a route line from conf.d/net?

oh … that might work too :-) never sure where mozilla apps hide

no let

tehtechman; k, thanks

Okay, I was able to get my ethernet cable plugged in and I now have internet, but I need to be able to hook up a linksys wireless adapter. Anyone ever do this?

thanks

only use one nic, no reason to have 2
lethalrocks

sorry, wrong page, http://www.gentoo.org/doc/en/kernel-upgrade.xml
your welcome

oh, alright, thanks again

Mahasamatman, if I didn't have two, I wouldn't be here

lethalrocks if it works with the card disabled, remove it and just use the mobo. it may not be the nforce that causes the issue. it just shows as the nforce cuz it gets setup 1st

anyone know of a package to use to remotely run and capture images from a digital camera?

anyone else have probs with adobe flash hanging up firefox? any way to remedy that?

is there a way to tell portage that a file in /etc is not a config? I would like my ebuild to just replace existing

Is it ok to reconfigure to a different build profile (ie, from the default to desktop)?

be more specific

Argh, damn wireless

This morning, my system update is failing because of a bad nvidia-drivers ebuild. Anyone else seen this?
It says the size is wrong in the ebuild.

aleron, you mean the release profiles? then yes.. you just need a `emerge -avDN world` after that

I'm creating an ebuild for my application. There are some files in /etc that I want portage to just overwrite on install.

hi, i'm trying to make a crontab which checks whether a certain process is running, and if not then start it. when the process starts it has unique paramaters such as ip and port. how can i do this please?

Mahasamatman, you seem to be right. running on eth0 only

I'm used to RPM based packaging where you can mark specific files as config

look in #gentoo-dev for ebuild questions

thanks

Where are the c++ standard libraries includes located in gentoo installation?

welcome

c0l0rad0, you want #gentoo-dev-help for ebuild questions.. #gentoo-dev is private for devs

/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3/
if your CHOST is i686

can you not find the serial# on yours then? I would think you can look that up to see if it corresponds with what AMD has listed for the processor.

lethalrocks awesome, go ahead and pull the card. your system will use less power and run cooler. plus there is no reason to allocate the resources

anybody know how to find out how much a network interface loads the cpu?

btw lethalrocks, emerge xorg-x11 is pulling in 26 builds here

Hi, I have a strange problem with wine

Hi all, having a mysql problem :ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

whenever I run winecfg

when trying mysql database services -uroot -p

it says that it creates my .wine directry
but nothing ever happens

elvanor_ stop hitting enter every 10 chars please

Randal^: you didn't set the password,.. try emerge mysql –config

so theres no ~/.wine dir?

no

Maybe likewhoa, will try, thx.
will remerge mysql, bbl.

and the config window doesnt come up?

no

xorg-x11 has a lot of dependencies that need pulled down on a base gentoo system.

does it hang when it says its creating the dir?

yes
what do you mean by hanging?
it just stops saying anything

yeah… does it just sit there eating up CPU time?

into_311 I know, I just wanted to give an fyi to him, he was thinking it would be 10

let's see

oh

anybody know how to find out how much a network interface loads the cpu?

How do I solve a "digest verification failed" with emerge -uDN world (nvidia-drivers)?

it does not show in top
however i got quite a few running processes shown by ps ax | grep wine

resynch or emerge –digest nvidia-drivers -pv then retry emerge -uDN world.

i saw this problem in here earlier also with teh nvidia drivers
AlefBet I would try to resync first, I'm told that surelly emerge –digeset nvidia-drivers can cause more problems later on..

did you have to re-digest, or did resynching fix it?

no it can't.

I would try to "killall wine" and see if that kills everything and then run winecfg. If that doesn't work then someone smarter than me will nee dot help you

that last person I saw, on an amd64 system had to re-digest

Okay, I'll try resynching (although when I tried that before, the server said my timestamp matched and didn't download anything)

unless he's downloading it an unofficial mirror than chances are it was damper with then he should worry.

no, that does nt help

if resyncing doesn't fix it, I would report it as as bug

anyway as soon as I hit control C all wine processes are killed

so they can fix it

where? Gentoo bugzilla?

doesn't make much sense for everybody to do a work-around to get it installed, if it is legitimate and should be working
yes

Is there a way to setup grub for Gentoo and define the kernel image and junk without editing the grub.conf file? I'm known for breaking bootloaders way way too fast.

are you on x86?

Yes.

I think I'm goingt o need tab compleasion

did you figure it out? I'd like to know also

But
the most I've done in grub is set it up. That's it.

AMD64 under 31bit

known bug already

plug_timeout doesn't appear to be respected in /etc/conf.d/net

http://bugs.gentoo.org/show_bug.cgi?id=185884

*32

Keith-BlindUser: type 'e' at the grub menu then add your kernel line then hit 'b' to boot it.

what actually changes if I "eselect vi set gvim"? (it's currently set to "vim")

I'm setting plug_timeout=0, but eth0 still gets backgrounded.

bsdfox nope :/

Keith-BlindUser: use a generic name in grub.conf and use symlinks with that name to the real kernel image
Keith-BlindUser: that way when you update your kernel, change symlinks, done

so nothing for me to do but wait for the fix to propagate to the rsync mirrors?

Keith-BlindUser: "make install" is helpful. it always keeps at least one backup and ensures that "/boot/vmlinuz" always resolves to the latest kernel, whatever it's called.

its a knkown bug for all architectures. Yeah, you could add yourself to the thread to be notified when its fixed

Maybe it could be mentioned in the channel topic.

the ebuild –digest has broken things for me before. I wouldn't recommend it as others freely do..

okay, I'll wait.

Keith-BlindUser: all you need to do is make sure that you have an entry in grub pointing to "/boot/vmlinuz". you can also define another pointing to "/boot/vmlinuz.old".

srry man. I dont really know what to suggest other than emerging again. my use vars are USE="X alsa cups jpeg ncurses opengl oss"

Keith-BlindUser: so if you ever build a bad kernel, you know you've got another entry in grub that always boots the most recent working kernel.

thx anyway.

Keith-BlindUser: it takes care of the copying to /boot and everything.

bsdfox In windows using a program you can see how much cpu hardware interrupts use, but I need to find out that on nix

Keith-BlindUser: so you'd never need to edit grub again.

I've tried in the past.. let me tool around with /proc for a few, it might be in there somewhere

not for the forseeable future, in any case.

I'm sure there are programs that do exactly that

anyone here know why when using genkenel it gives me a error when compiling busybox ?

how long should "grub-install" take on a reasonably modern box ?

how can i correct this

Firmware space is locked read-only. If you can't or don't want to disable this in firmware setup, and if you are certain that your system has a functional RNG, try using the 'no_fwh_detect' option.

About half the time it take to type grub-install

hmm .. so the random number generator module fails to load ..

What makes gentoo desktop different from say, ubuntu?

oh dear

anyone care to tell me how I can make it work ?

its been running for about 5 mins…

Valdrone, you tell it exactly what you want on it
mzbot, teach Valdrone gentoo

Gentoo provides flexibility (support what you want), dynamic dependencies (install what *you* want with the features *you* need), an awsome community (tried the forums lately?), an active development model (we keep improving), great documentation, and is easy to maintain (we provide you with the best tools possible).

Yet it's impossible to turn into a desktop computer

bleh, killing it an re-running works

This is my second day at it.

good

Valdrone, i've had no issues with doing xorg

I use it as my desktop

funny, i've been using gentoo as my main desktop for five years…

my 4th … but I managed to make everything work today ! in just 1 day ! after figuring out all the troubles I've been through in the meantime

I can get Xserver to run, but hell, I don't want to console launch every app, I want KDE.

bsdfox if you find anything useful in /proc tell me, ok?

sure

you can install KDE

Valdrone, how are you trying to install kde?

feels odd to have /dev/hdd1 ad (hd0,0)

but .. I have this problem .. the last one .. intel_rng: Firmware space is locked read-only. If you can't or don't want to disable this in firmware setup, and if you are certain that your system has a functional RNG, try using the 'no_fwh_detect' option.

anyone here have the busybox genkernel problem

grknight, emerge kde-meta

Valdrone, and what is happening?

what HDDs do you have?

grknight, It goes through it with no errors, though I do get a couple system beeps, but that's usual
grknight, In the rc file thing I changed the DM to KDE

an IDE as a slave on channel 2 (where Gentoo is installed) and a SATA disk

grknight, Then, when I booted, I was only presented with xorg. And startkde wasn't valid

Valdrone, from the console.. what happens if you do `startkde`?

grknight, startkde didn't work.

i can t compile kdebase and pyqt , anyone has an idea?

channel 2 slave is hdd so nothing to worry about

/usr/kde/3.5/bin/startkde

Valdrone, what happens if you do `emerge -av kde-meta` right now?

I know - my brain is screaming at me to put (hd4,1)

grknight, Well, I'd have to chroot right now

bleah.. f it will figure it out tomorrow enough work for today

Valdrone, well then. i suggest either chroot or install irssi onto your main system so we (the channel) can best help

working on Chrooting

I am running the 2007 live cd installation and im using a static ip…its asking for my broadcast address. im not sure what they are wanting here

bb__, usually a broadcast is the .255 of a .0 netmask

so 10.2.100.0

66.104.131.255 probably

k

bb__, so 10.2.100.255 if you're netmask is 255.255.0.0

thanks!

hi
any start-stop-daemon gurus around?

TPABKA, you writing an ebuild or something?

that worked thanks guys!

bb__, if in doubt set up dedicated ip hosting with ifconfig and do ifconfig interface it will show the broadcast .

putting jboss to with local.start/stop

grknight, I did the emerge -a -v thing

TPABKA, what's the problem with it?

grknight, Now it asks me if I would like to merge these packages
grknight, And several are listed.

Valdrone, should be a good size list because kde-meta never finished

165 packages (165 new), Size of Downloads: 81,899 kb.

Is it possible to mount /var/cache/edb/dep/ and /usr/portage/ on the same partition?

grknight, So should I say yes?

it starts ok, but because the start and stop commands are different (run.sh and shutdown.sh accordingly), start-stop-daemon gives me 'No /opt/jboss-4.0.5.GA/bin/shutdown.sh found running; none killed.'

Valdrone, if you sure that's your chroot, then yes. if i were merging kde.. i would personally do it from the main system to make sure things are not missed

grknight, Well, my main system is having networking problems

is it possible to prevent net.eth0 from being started by device initiated services?

grknight, Is there anything I should do afterwards?

TPABKA, you have to use the –name parameter when the scripts are different

let me try

skyphyr, yes.. look at /etc/conf.d/net.example

was looking into that actually

you mean in the rc startup files?

Valdrone, make sure it emerges ok.. if something is not right (zlib flag on pciutils is common lately) it will stop and you will need to do something about what it says

hmm, cat /proc/[pid]/stat shows 'java' if i add –name java it says 'No java found running; none killed.'

Valdrone, instead of chrooting google and setup your machine for internet and do it from your machine not from live cd and chrooting

and i can see the process in ps

bdf“`, Tried that, it's really not being nice, at all when it comes to setting up it, I tried one last thing but haven't been able to reboot into it

TPABKA, i would not recommend start-stop-daemon if it's hosting with java support based.. too complicated to get working.. just use the scripts directly

bdf“`, Since it takes about 20 minutes to actually get into a livecd

thanks grknight :-) will take a look

bdf“`, What's wrong with chrooting anyway?

Hi all!

Valdrone, nothing really, but its like doing the right way
i dont think there should be any problem with chrooting .

I can't do the right way if I can't set up mai intarwebz

TPABKA, if they don't fork themselves.. just do `/dev/null 2&1 &` to force a fork for the start process

the reason i use start-stop-daemon is because i want to run it as user (tomcat) but don't want to give the user shell or home dir

Valdrone, its ok no issues carry on with it

TPABKA, hmm

and to just use the startup scripts i need the user to have a shell

But if it says everything is alright, and startkde still doesn't work, I'm taking a one way download to kubuntu.

Valdrone, if you can't download files.. you can always do `emerge -f kde-meta` to just pull down all files if you want to try that way

Valdrone, why dont you just use a installer ?
download a 600mb live cd

Does anyone know how to get mpg out of cue/bin vcd image?

and use a networkless install with installer

bdf“`, Because that didn't work.

Valdrone, get a 2006 installer
it will work
2007 is gay

bdf“`, But that won't give me a GUI.

you meanm the installer is gay

yngwin, yea

….

language?

me?

bdf“`: and you too

i'd say

bonsaikitten, as in ?

unless you meant "very very happy"

and there's nothing wrong with being gay

Whats the command to shutdown linux

bonsaikitten, i just mean installer isnt nice

But seriously, not even the installer is set up to make a desktop system

not the place to discuss :-)

shutdown

bdf“`: bad choice of words

We really need to have a seperate jboss server hosting instalelr

bonsaikitten, alright , will keep in mind

Right until you start using the word pejoratively…

It has all these arguments

shutdown -h now

-h?

Valdrone, kde-meta generally doesnt give any problem try it

-h for halt

bdf“`, That's what I've been doing, but it did give me a problem.

or something like that

thanks

I solved my problem

whats the problem exactly?

I use halt =/

wine needs net.lo to be started

bdf“`, After emerging 299 dependencies I didn't even have startkde

Valdrone, why ?

yngwin, , After emerging 299 dependencies I didn't even have startkde

did it finish emerging properly

bdf“`, How should I know?
bdf“`, Indeed it did.

what exactly did you emerge?

It's your system. You ought to know.

yngwin, kde-meta

hmm, does that not have kdebase-startkde as dep?

rej, No, gentoo has taken control of it. emerge kde-meta should install kde, but it didn't.

You seem to have run into problems that no one else has. Don't start blaming Gentoo just yet.

Valdrone, it does generally

you know the kde documentation?

i installed kde-meta like week ago worked fine

are there any patchsets with gensplash and software suspend

yngwin, No, I don't know the KDE documentation because I haven't found one directed to gentoo users

http://www.gentoo.org/doc/en/kde-split-ebuilds.xml

Valdrone, it is

http://www.gentoo.org/doc/en/kde-config.xml

Valdrone, ideallly just the kde-meta emerging would do the job
i did the same

Now don't say you googled those…

worked for me

Okay.

also, why do you expect to have a "startkde" commmand
I don't

i know these exist, but yeah, google will find them for you as well

vertigoacid, I expect having startkde after installing kde. .
vertigoacid, Just like I get startx after installing xorg

rofl

Valdrone, startkde should be there its ok

emerge -av kdebase-startkde

yngwin, Will do when my kde-meta is done merging.

kde-meta depends on kde-base/kdebase-startkde

Valdrone, not required

Er…

What.

kde-startbase has fewer programs

When kde-meta is done emerging, you will probably have startkde…

kde-meta contains almost everything in it

Anyone up for helping me diagnoze my problem with Apache on Gentoo? ##apache hasn't spoken a word in a long while.

rej, Didn't do it last time.

If not, just emerge the split package.

so you're compleining now before the emerge is even done???

or you could use Gnome, or fluxbox or something

but my point is, that having or not having startkde is not an indication of whether kde is installed or not

yngwin, I emerged kde-meta last night and it didn't give me startkde
yngwin, That's what I'm complaining about.

so how come it's emerging now?

There's #gentoo-apache too.

Ah, thanks a heap. That sounds like more hope.

yngwin, How should I know, I left it on last night, emerge is completely automated. It never asked me for anyhting

I would suggest you first stop complaining at all.

Pfft, I'm just pissed off that emerging kde-meta didn't do what it should have done.

did the emerge of kde-meta finish at all?

And now I have to waste another hour emerging it.
yngwin, Yes.

It seems http://www.gentoo.org/doc/en/kde-split-ebuilds.xml would have answered the startkde question…
"To emerge the basic KDE environment allowing you to login into a minimalistic KDE session, emerge kdebase-startkde."

Hey guys. Is it possible to force USB device detection to happen before md (RAID) autodetection?

then how can you be emerging it now again?

yngwin, I changed a USE flag?

ah

yngwin, I added opengl to it.

rej, kde-meta includes kdebase-startkde

just make sure the emerge finishes, and doesnt end with an error, then you should have startkde

"To get absolutely all KDE split ebuilds, emerge kde-meta."

When a new kernel is marked stable, what happens to prior versions of the kernels?

Bummer. They're about as talkative in #gentoo-apache as they were in ##apache.

yngwin, Okay, time to wait an hour+ for this to finish

Keith-BlindUser: they remain stable, but will eventually be deleted from portage

anyone know how to fix the genkernel busybox

It's still going on 3 of 165

Right now I am wondering if the path to startkde was ever known to the shell that Valdrone was using. I.e. did he do an `. /etc/profile.env` at some point or re-login, perhaps?

Keith-BlindUser, in portage? most stick around.. on your system? they're usually slotted and don't interfere with each other

anyone know how to fix the genkernel busybox

genkernel has nothing to do with busybox.

then why does it build busybox on "geenkernel all"
then why does it build busybox on "genkernel all"

I now have a Chihuahua in my lap.

that may or moy not help

Well, it's been on 3 of 165 for ten minutes now…

I still don't know why everyone is so worried about startkde. even with the kdebase-startkde package, I don't have a startkde executable on my system, and guess what? kde works fine

tehtechman, Sure should help compiling.

if you have that package, you must have the startkde script

vertigoacid, Then how come kde starts? :|

set your xsession in rc, and run startx if you're not going to run xdm, seems simple

Sounds odd.

For some reason, X doesn't even start up automatically

did you add xdm to your default runlevel?

What is the latest kernel?

vertigoacid, I think?

you need to tell xdm to start up

Hopefully not an RRC release..

is there a way to specify a RAID device with USB drive and boot from it, w/o initramfs?

anybody know how to find out how much a network interface loads the cpu?

Err RC

tehtechman, Someone gave me a command to do it, but it obviously didn't work.

Please do `/usr/kde/3.5/bin/startkde`.

rej, I can't.

Or `ls /usr/kde/3.5/bin/startkde`.

rej, Specifically because I'm merging 4 of 165

What do you mean you can't? Open a shell, any shell, and type that in.
Type Alt+F2 to open a new shell or something.

rej, While KDE is merging. Yeah, that sounds safe.

Sure, why not.

rej, I'm not prepared to fuck over another 150 dependencies.

Certainly typing `ls /usr/kde/3.5/bin/startkde` wouldn't harem.

hah

Uh
Why is gentoo-sources taking so long to emerge?

its also in the current genkernel man page too

I am not prepared to take any of that attitude.

I ran the command 5 minutes ago.

Keith-BlindUser: where is it hanging?

And it'st ill going.

also because Valdrone is in chroot and installing kde, instead of trying to fix networking issues

Keith-BlindUser: is it downloading?

Extremely slowly looks like.
Yeah. It's only on 46 percent.

Keith-BlindUser: it's a big package, iff you hit a slow mirror downloading will take a while, also unpacking will take some time

What' the latest version?
I'min the stable portage tree..
Because

ok

Keith-BlindUser: eix will tell you that

Keith-BlindUser: the kernel source is aroung 40MB these days

I'm officially censored

As far as I know the accessibility Speakup kernel patch was removed from the 2.6.22 kernel.
Without that, I cannot use Gentoo whatsoever.

47MB for gentoo-sources
Keith-BlindUser: _OR_
you can mask gentoo-sources, and continue updating on an old kernel

Keith-BlindUser: man, IRC must be a handful to listen to

Yeah

Imagine listening to an emerge. :P

In fact.
IRC can be a pain upt the…..

you know… I just realised something… on IRC when you're blind it must be like you're in a room full of people

Because

stt

Each time I try to scroll,
I jump tot the bottum of the screen as soon as anything new happens. So reviwing here is a pain.
So if I asked "what is the latest kernel version" twice,
that's becuase
I mostly likely am missing messages.
And generally you'll find that communicating with me one–oon-one in query is a better idea most of the time.

I sure hope you have join/depart messages turned off

Nope I don't know how.
I'm hereing "User at long as hell IP and stuff has joined #gentoo. User at long as hell IP and such as quit IRC…etc.
Every second.

bsdfox a guy told me that with http://www.opersys.com/LTT/ and much work it can be done

Like now

keith, what irc client do you use?

Keith-BlindUser, looks like speakup was dropped in latest gentoo-sources "Dropping speakup from 2.6.22 on Daniel's request." i'll try to find more on it

Irssi of course.

Keith-BlindUser: are you using irssi? then it must be possible to turn those off

With what exactly?

Keith-BlindUser, try /ignore -channels #gentoo * JOINS PARTS QUITS NICKS

Browsing documentation online also, is a ….major…well….pain.
BC most browsers don't have java script wich I need, etc.
And most of them are configured i horrible ways by default.
in
like irssi was
I tryed it default
And
I was like

that rocks :-)

"Ouch!'
BC
My time was being read each time the clock changed.
etc
rofl

Keith-BlindUser: horrible ways? irssi? I've never had a problem with it

anyone know why grub would be repeating GRUB across my screen on boot?

Keith-BlindUser, seems there are major issues with 2.6.22 and speakup.. "Initial 2.6.22 release. speakup has been dropped for incompatibility reasons."

http://www.gentoo.org/doc/en/grub-error-guide.xml

post your grub.conf at pastbin?

While trying to emerge maxima I get the errors pasted at http://rafb.net/p/WeLCIV87.html How can I fix this and emerge maxima? Thanks.

Hey guys.
How do I emerge lm-sensorss? You guys do not seem to have it.

Keith-BlindUser: Try lm_sensors.

PM, please. Don't respond directly. I'm getting out of here so I do not miss more messages.

Keith-BlindUser: sys-apps/lm_sensors.

could someone help me with what to do with this compile error http://rafb.net/p/HzBLVi43.html

oOtherwise I will probably keep repeating and missint more messages etc.

http://apache.pastebin.ca/626638

did you read the link that was posted?
"According to airhead this can be caused by having your bios detect your disks automatically. Try to set your bios entry to User Type HDD.
Another possibility is that you had Grub installed on your MBR and tried reinstalling it (for instance due to hard disk changes) but used the wrong setup and root commands. "

I'm wondering if its because my bios is ordering my disks differently to linux (bios things I have 4 ATA controllers, but links sees 2 ATA and 2 SATA)

perhaps. is there options in your bios to change how that emulation is occuring?

I read it yes, but I'm still unclear what that means
I can choose RAID or IDE for the SATA controllers

have you tried both ways?

no, but IDE is the only one that Windows can use

I've got a package that portage says is not installed, but that i reality is. So when I try too uninstall, it won't let me. How can I fix/remove this package ?

I'll try swapping the (hd0,0) and (hd1,0) round

emerge package && emerge -C package ?

vertigoacid, :emerge package fails

do I install the gatos ebuild with everything in a rage128 based install or do I install the gatos pkg instead of something?

bleh, no dice

tried adding the package to /var/lib/portage/world?
and then emerge -C

40
oops

note, I am not a portage expert or anything, just taking stabs from what I know

i can't seem to get the cpu scaling to behave properly…i'm using the ondemand governor and it scales it down just fine, but it never bumps up the speed when under load

is it recommended to use the x11-drm ebuild, or compiling the modules in the kernel?

when using ondemand, what does cpufreq-info say?

Thanks … Tried the "world"- emerg -C trick,… did'nt work

Mahasamatman, x11-drm wont generally gain you much unless you have a currently unsupported card

Mahasamatman, iirc, the kernel approach is preffered

thanks alot guys

wellllll. how about doing a make uninstall by hand?

i'm new to kde, how do you install kde themes?

vertigoacid, http://www.pastebin.ca/626649

well, that looks good. sometimes, the max and minimum freqs will be the same
which is bad

vertigoacid, yeah, but the minimum is 1000ghz, and max is 2.4 ghz…but my system (even under 100% load) will only run at 1000ghz

1000ghz, wow!
so you're running an AMD CPU, I assume?

could some help me im trying to emerge gnome , and i am to gnome-menus where i get a error about checking for inotify_init…. no … i have CONFIG_INOTIFY: Built in . can someone help me out?
http://rafb.net/p/75DXm531.html

vertigoacid, haha sorry, 1000mhz

www.kde.org

vertigoacid, yup amd x2

in side of the control panel.. i think the theme panel is there.

do i need to have config_inotify no?

LadyNikon; yea, nvm. i think may have found it. thanks

oops. I put VIDEO_CARDS="rage128" instead of VIDEO_CARDS="r128" in make.conf. Do I need to re-emerge xorg after correcting that? or does it only affect things after the xorg build?

you would need to re-emerge
I recommend emerge -uDN world — it should figure out what it needs to do

I was on here earlier because I couldn't update my system — nvidia-drivers ebuild was broken. Now it's fixed, but pdflib is broken.
Anyone else see that? Is there an open bug on it?

thanks kojiro

Mahasamatman, just emerge the r128 driver … emerge -s r128 to find its name

AlefBet:

uh, which aproach is better kojiro, or NeddySeagoon?

When I am emergeing maxima, I get an error that it cannot open gcl_collectfn.data … using locate I have determined that i have gcl_collectfn.o on my system, but no gcl_collectfn.data ; Which package and/or useflag do I need to get gcl_collectfn.data?

there's tweaking possible through files in /sys/devices/system/cpu/cpu0/cpufreq/ondemand/

ooh that layman thing seems useful
running that now to get kde4
hopefully

emerge -uDN world is more "complete" and leaves the work up to portage. emerge x11-drivers/whatever is probably faster.

gentoo-{wiki,portage}.com accessible from here

"better" is best left to you to figure out :OP
:P*

vertigoacid, sure…but what gets me is that i never had this much trouble getting it to work before…it used to work just fine

ok :{}

someone change topic.. -wiki and -portage are back

vertigoacid, :hmmm .. can't find any makefile. I'll keep on looking. Thanks for your help

With all this re-syncing to fix broken ebuilds, i'm afraid I may run afoul of the "sync only once a day-ish" netiquette rule. :O

:shrug: I use cpufreqd, found that it works better, at least for my laptop

anyone know if its possible to change my NIC mapping? ie, switch which card is mapped to etho and eth1 (swap them)

vertigoacid, ah, well this is for my desktop

are you sure you even originally installed it from portage?

Yes. I always do !

\x90: check out /etc/conf.d/net.example there might be something about that there

\x90, look at your udev rules in /etc/udev/rules.d.. one is a persistent net set

Mahasamatman, both work - emerge world -uDNav will catch any other stuff too

ok, thanks

you could try powernowd

Anyone know how to make my terminal, say xterm, for example, *not* color-safe?
I need to test a script

http://www.gentoo.org/doc/en/power-management-guide.xml#doc_chap3

vertigoacid, yeah i'm going to try the powerthend

ro NeddySeagoon, this is new sys, of course, so I will go world to avoid later issues
only 3 pkgs
1st one is mesa, the one I cant get to build on my other system, hmmm
u1st one is mesa, the one I cant get to build on my other system, hmmm/u

anyone?

Mahasamatman, good luck

trying to emerge kde4 gives a LOT of blocking
i thought it could coexist with 3.5.x

if it builds here I am gonna be happy, but mildly peaved

eh?
oh

hehe

you mean you'll be befuddled!

hi all, does anyone know if the ATI Radeon 9800 Pro has an open source driver which works with AIGLX?

anybody know how to find out how much a network interface loads the cpu?

well after all the effort I put into getting it to build on my main system for a world update(and failing) I will be more than befuddled if it compiles here. (although I surely want it to compile on the new sys)

ok, this is a rather stupid question, but why when i am building my kernel, and things i have chosen not to compile are still built at modules?

kojiro

Mahasamatman!

hehe

Flibberdy, it's called radeon

and it supports AIGLX now?

Flibberdy, the open source one always did iirc

d

How can I fix "Digest verification failed" errors? apparently my nvidia-drivers-100.14.08.ebuild is the wrong size

is it ok to only have about 9 lines in /etc/make.conf ? thanks

hi

Last i checked i don't think it supported my graphics card chipset (R300) Time to do some more investigating

Flibberdy, http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/tree/src/radeon_chipset.h

.. i investigated that it has something to do with my charset. does anybody know exactly where the problem is?

Flibberdy, only the R500 and up are not supported at this time that i know of

just found that site grknight, thanks

could some help me im trying to emerge gnome , and i am to gnome-menus where i get a error about checking for inotify_init…. no … i have CONFIG_INOTIFY: Built in . can someone help me out?
http://rafb.net/p/75DXm531.html

"emerge -av category/package"
how am i supposed to know what 'category' means there?
ah

sys-apps/sys-kernel/app-portage, goto /usr/portage and every directory in there (except distfiles) is a category

and fdisk will recongize the partition type, but now fdisk doesn't show any device types or block information. The main concern is when I do command 'fdisk /dev/hdb4' (the extended partition), it says Unable to read

why is this and what am i doing wrong?

ye figured that out

tuxick:

just trying to parse the doc about kde4
it's missing parts
which no doubt are documented somewhere else
http://overlays.gentoo.org/proj/kde/wiki isn't the right one to read?

any ideas on my prob :] ?

does anyone know a *working* guide of setting up an imap server

I'm having a wierd problem I just installed sendmail and it is refusing to start now

bXi_, does the gentoo virtual hosting guide for postfix suit your fancy?

what imap server? I like courier-imap, and it's really straightforward, IMO

i did a 'fdisk /dev/hdb' and got the partition table to show up and it does recognize /dev/hdb4 as an Extended partition. How can i mount this partition, from fstab, or manually?

have you formatted /dev/hdb4 yet?

i thought i did when i moved my linux installation to the new hard drive.

install a working mailserver and add imap

but it's defintely possible that i didn't. so there is nothing on the partition yet

would that be doable with qmail?

hi all

hey, i'm having weird problems trying to update sysem and/or world

hey all.. is anyone here crazy enough to be using an old ati r128 card with X11 7.2, and happen to have tv-out support?

i've set up qmail some time ago an another box

wellll, mesa built :{

I'm having a wierd problem I just installed sendmail and it is refusing to start now

any particular reason you're using sendmail?

i followed this btw http://gentoo-wiki.com/Mail_Server_based_on_Exim_and_Courier-imap

apperently something went very wrong, but i cant seemd to find out what

should i just format the extended partition?

'extended partitions' aren't real partitions, if you're talking about what i think you are. you want to create logical partitions within that extended partition, and then format those logical ones

make[2]: *** [__headersinst] Error 1
make[1]: *** [rdma] Error 2

I just installed gentoo for the first time, and when I leave the install cd and boot to the installed gentoo, I'm unable to connect to my network (dhcp time out). Can someone help me ?

_AxS_, I also run asterisk pbx and I have a script that emails me when voip goes down

yes that's what i'm talking about, but i've never done it before, so you're saying i need to create logical partitions inside the extended partition and mount those?

dhcp times out, or dhcp doesnt even run?
yes.

okay thanks i will try that

ok thats why you need an MTA. but do you actually need sendmail, over say, qmail or postfix or exim?

just re-read the section in hadnbook about setting up network, make sure youve got the right drivers and ifconfig shows eth0

you know, if voip goes down, chances are good that webmail hosting goes down too

it seem to be running, and after a little time, it return : "Error, eth0: timed out"

_AxS_, do you have a personal problem with sendmail or what?

ah. m. dmesg |grep eth — is eth0 your network card or is eth0 an eth1394 network interface?
yes. its old, and it's harder to use than the other options
gentoo ZPertee postfix install

http://www.gentoo.org/doc/en/virt-mail-howto.xml

…ok thats a bit overkill..
but it'll work

ok thanks for the info

if you just need something to send mail out, install ssmtp
that is, you don't need it to be a daemon

_AxS_, ok thanks for your help

np

I don't undanstand the output, but there is one line with "eth1394: eth0: "

Is anyone aware of a prblem with netscape-flash?

can anybody help me solve binutiles emerge failure?

Can you please pastebin as much of the emerge output as possible, from the bottom up?

yes, you can details at bugs.gentoo.org

AllenJB, where? not here i hope?

*get

that means 'eth0' is a firewire-over-ethernet interface. your actual NIC is going to be eth1

teach Serees about pastebin

A pastebin is a web site where you can paste many text lines or sometimes files, to avoid flooding a channel. Try to avoid pastebin.com as it is very slow, consider using rafb.net/paste instead. If you don't have a browser you can "emerge nopaste" or "emerge wgetpaste" to send text to rafb.net/paste from the command line.

i had /dev/hdb4 as the Extended partition starting at block 5241, and i now created /dev/hdb5 as a Linux type partition starting at the same block as the extended /dev/hdb4, block 5241. Should that work?

yep

okay thanks

np

thx mzbot :p

do i need to "write" the partition table in fdisk before i quit?

yep

damn, dhcpcd eth1 just works !

madjar:

ok thanks again

thank you !

you can adjust your /etc/conf.d/net accordingly and then these will start up on boot
i would recommend setting 'config_eth0=( "null" )'

it was supid, but I would never have guessed by myself

it helps when you've seen it before..

Thank you, and good bye !

anybody know how to find out how much a network interface loads the cpu?

…run nothing else and watch cpu load when there's a ton of traffic going on?

hello _AxS_
are you sure that for example 'top' would show the cpu usage?

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

not 100% sure, no.. but i think it would.. as 'system' usage

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

_AxS_ do you think that a 200MHz machine would handle routing 100mbit traffic?

definitely.

how about with traffic shaping?

well, most routers aren't much faster than that..

most routers can't handle 20Mbit

true
how many systems is this going to deal with?

I'll want to run a squid server, a ftp server and a samba server as well, and some other things like irssi and stuff

I'd say full 100Mbit needs about 500Mhz to work reliably (depending, of course, on the complexity of the routing)

sorry to bug again, i rebooted and the partition failed to mount, and it won't mount manually either.

did you make a filesystem on it?

how many clients?

Doh! xD, that i didn't do :-|
heh. geez, sorry

np

bonsaikitten say 40
_AxS_ let's pretend it will be ~40 computers

I'd take a "normal" desktop machine for that

i cant' emerge nvidia-drivers - using emerge -s nvidia - and it cant' find it =(

say 2Ghz with 2G RAM

for routing?

…yeah, 200mhz might be a bit slow, esp. considering the fact that you want to run daemons on it too

well, squid can be quite heavy
and 100Mbit is a lot of juice

anyone knows where linux based hosting services memory usesage log file?

I guess ram will be more important than cpu speed

bonsaikitten how about just for routing?

anyone knows where gentoo log memory usesage files?

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

bu routing, you mean NAT ?
s/bu/by/

wondering if I can remove the protect from an /etc file in the .ebuild file?

nope.

_AxS_ yeah, what else?

pkg_postinst will allow you to install directly over top of anything, but dont do that.

totally depends on the complexity

I'm going to do that

well, there's NAT and there's routing. routing is just the rules defined by 'route'

if you just push data from A to B it will take maybe 500Mhz

if you know how to compile your kernel properly, ie: get rid of everything you don't need, you can get a pretty solid box, but with 40 computers their will undoubtedly be pr0n surfers.

a full statefull firewall with a complex ruleset might be quite a lot heavier

Bascially I want to change the /etc/default/useradd file via some package without any manual conf-update needed

how are you guaranteeing a sustained 100Mbit, out of curiosity?

I agree, I run an old pIII katmai as my gateway box

ok… just dont say we didnt warn you.

yeah, used to have an athlon as fileserver/router/gateway/…

I can either move sys-apps/shadow to /usr/local/portage and "hack" it or try to overwrite via self made ebuild

sounds like a great way to break stuff

you could just turn off config-protect

can anyone offer some assistance on a trac install?

heyhey :-)
what's not working?

Wouldn't that be a per server setting? This has to be done via the .ebuild file somehow. I don't want to have to log into a bunch of servers

or better, have whatever you're doing install via a simple rsync or untar.

bonsaikitten, it's all your fault! - I'm at the install stage - tracd –port 8000 /var/lib/trac/project1 looks like trac is working - I think my mod_python is configure correctly, but I'm a little uncertain what do to at the authentication stage

This is true

_AxS_ what do you mean sustained? ok, my english is not that good

I don't see what your problem is now

_AxS_ the isp I'm hoping to move to gives 100mbit of national traffic

100Mbit interfaces are rarely dumping data constantly at 100Mbit. a sustained transfer would be doing that–keeping the nic pegged at 100Mbit

bonsaikitten, the trac guide at http://trac.edgewall.org/wiki/TracModPython seems to describe setting up authentication for ldap or AD - do I have to have either?

no :-)
simple password-based auth will do

how do I do that?

_AxS_ and a lot of isps in my country do that, so there are lot of people with 10 or 100mbit national bandwidth, so when torrent trackers or dc++ servers come in, the connection gets maxed out pretty often

what is kerbose? is it something that a gnome only system would need? thanks

are you setting this up for an entire apartment complex or something?

rtfm ;-)
not sure what you did or did not do, you have to be a bit more specific

bonsaikitten, you enjoy my pain

I get a "Digest verification failed" on my pdflib's ebuild. How do I solve that?

ah. sounds expensive. ok, well, i think the answer is you need something beefier if you don't want to drop packets or end up with a router as your bottleneck.

what is an easy way to print pictures (with preview and alignment)?

xxd a friend of mine has a lan like that, I have root access to his machine I'm hoping to get that isp soon, and maybe make a lan, only 40 people would be a little bit too optimistic

no, if I did I'd have told you to install bugzilla

It says that it is the wrong size.

_AxS_ it's really not, national traffic here is very cheap, and with expensive international traffic, it tends to be used pretty much

then you need to make a friend and get scrap/surplus fibre cables , then they can't blame the bottleneck on you.

I was wondering if someone would mind joining a special cahnnel I idle on. It's called #Blind-Gentoo-Administration. I'd like to speak with someone who has an idea of exactly what packages I'll need to compile the latest kernel correctly. Ande exactly what to emerge if I haven't. I am getting errors about the all target and failiors when compilng busybox happens on my kernel.
And my portage tree is up-to-date.

bonsaikitten, let me ask this … when I ran "tracd –port 8000 /var/lib/trac/ticket", I was able to connect to localhost on port 8000 and see trac okay - so shouldn't starting apache with vhosts pointing to that same directory also allow me to connect to trac?

xxd the isp only gives me utp

So I'll see someone there, but will remain idle here.
Thanks.

I get a "Digest verification failed" on my pdflib's ebuild (it says that it is the wrong size). How do I solve that?

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

Keith-BlindUser: update world no problem?

It's jsust too overwelming to try to sort out so many messages with speech-access..it extremely sucks. If my question wasn't of such high-importants, I wouldn't be asking for smoeone to talk to me one-on-one join another channel, or anything.

they might even put a gigabit switch in my building, but I don't think they'll be putting gigabits anytime soon

So BRB

6 I hope at least… but I agree, you will need more then 200, I would go for 1 GHz at the amount of people you want, plus a very minimal install

I'll check that other channel for anything that might have come up there.

the isp is basically a lan through all of the city, the capital

In about 10 minutes, geting some lunch. BRB

it is always more expensive to upgrade later then go more now

ah yeah.. we have those here.. 'metronet's' they're called i thinkl

sorry, again. I tried adding the extended partition to my fstab and rebooting to see if it would mount. I attempted to login as usual and i get messages 'User's $HOME/.dmrc file is being ignored…etc…File should be owned by user and have 644 permissions..etc..' is there something i need to correct?

and packet shaping/filtering on a complex level is totally out of the question without some beef.

…what did you do after formatting the new partition?

I think apache needs some minor tweaks, but it's all in the docs

could some help me im trying to emerge gnome , and i am to gnome-menus where i get a error about checking for inotify_init…. no … i have CONFIG_INOTIFY: Built in . can someone help me out?
http://rafb.net/p/75DXm531.html

reiserfs msods vfat iso9660 xfs","Kernel panic - Not syncing: VFS: Unable to mount root fs unknown-block(9,1)") immediatly after "List of all partitions:", during the kernel init of a new gentoo install.

can't emerge nvidia-drivers
get this

The root is a raid0 array using xfs, with an external journal on a seperate raid0 array. XFS, raid0 and controller drivers are built into the kernel. I noticed that the end of the partition list, it lists each raid array with a "(driver?)" at the end of each line, not sure if this has anything to do with it.

Digest verification failed:
!!! /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.09.ebuild
Filesize does not match recorded size

Can anyone help please?

after formatting the new partiton i just added it to my fstab with an entry '/dev/hdb5 /home/davo ext3 noatime 0 1 '

Did you compile the necessary filessytems into the kernel?

i want to use the extended partition as an addition to my /home directory.

I built all the xfs options into the kernel, along with raid0

or perhaps do i just need to mount it to another location instead of /home?

Meliorator, How can you have roots journal on another raid, or even another fs ? It won't be available when root is mouted and checked

Do I understand the manual correctly? -fomit-frame-pointer is already included in -O2?

bonsaikitten, so if apache points to the project directory, but just shows a directory listing instead of trac, then vhosts is probably correct and…I goofed elsewhere? yes?

It's possible, I did with jfs without problem

..ok, ut did you copy stuff from /home/davo to the new partition furst??
first, rather

xxd, what do you consider complex, and what do you call beef?

nope, i haven't done anything with my old /home directory
if it's still there… :-|

yeah, you need to copy or move the stuff from /home first. unmount /dev/hdb5, then mount it to /mnt/cdrom (just because that directory is there)

Hi, i've try to emerge dev-perl/DBD-mysql but stop with this msg "Cannot find the file 'mysql_config'". Previously i've installed mysql but manually…

Meliorator, The unknown-block (9,1) is /dev/md1 … it seems your root fs is missing from the kernel

then cp -a /home/* /mnt/cdrom/

whew, i was scared there for minute

delete the tar file in /usr/portage/distfiles and/or wait until ebuild has been fixed in portage

how can i use the little puple gentoo bar from the livecd on my system?

umount /mnt/cdrom; mv /home /home-old; mkdir /home; mount /dev/hdb5 /home

I don't know how to specify the path to mysql to the emerge command…, anyone knows how to do it?

the fbsplash?

well that would be cool to. but i mean the purple bar
on the right

I can see why you might think that, I'll just reboot with a livecd and paste kernel config lines
*on a pastebin

the thing that shows up during boot..
…and shutdown

ebrake i don't have it there only olders versions

Meliorator, ok

okay i'll give it a shot. thanks _AxS_

np.. gl

no im talking about the purple border , on the left that says gentoo on it

it's one problem or the other. either a corrupt tar file or a bad hash in the ebuild

you need the correct splash theme
my guess is that the splash-themes-livecd package has what you want

ebrake the problem that i never used this version and i have no tar files in /usr/portag/distfiles =(

emerge installed x11-drivers/xf86-video-ati is that needed for a rage128 pro?

is there an EASY way to get virtual mail setup?

doh

you can search bugs.gentoo.org to discover whether the problem has been found and sync again when it's fixed.

mod_python is working

\o/

Mahasamatman, yes

No (i used handbook to set nvidia)

fyi, that rage pro is probably actually a mach64. same driver either way though

I don't use nvidia.

ebrake

ok _AxS_ I will look into that ty
the rage printed on the gpu is misleading _AxS_ I guess?

ZogG, most dri issues can be solved if you post your /etc/X11/xorg.conf and /var/log/Xorg.0.log

Is it easier to set DRI on an intel chipset (or just an intel graphics card)?

so since it is not mentioned in the gentoo ati faq, what does that mean _AxS_?

Mahasamatman, put Driver "ati" in your xorg.conf … it will choose the right driver for you

I see 2 config dialogs in xorgcfg. wierd

Skankerpotimous, You need kernel support for your AGP chipset, Kernel DRM support for your GPU … they are are much the same

Comments

somone here who has ever tried to upload through a http lib like libcurl to twiki

map?

s/is a member/is a member variable/

m; m[42] = &foo;

FrameFever, typedef function pointers and/or use boost.function for at least a semblance of simplicity

it should work anyway
http://www.boost.org/libs/bind/mem_fn.html

mhm I can also save a function like Vector getVector()
in your std

Comments

I have a somewhat older debian install using kernel 268-2-386 I also have a Broadcom 4306 wlan pci card I need

psu problem would panic any time, cabling problem would panic only when something extremely broken happened, like the drive writing data to the wrong place on the computer

Kevin`: I think it's a kernel related problem

so..
loh
log*

when kp occurs I can only turnoff or reset

which is consistant with kernel panics
and intentional, of course

Kevin`: a broken module?

dunno, LOG IT AND FIND OUT

hio all
hi

Kevin`: done! writing a data dvd with success, so it only happen after a dvd copy
Kevin`: or k3b mismatched configuration?

Mazingaro k3b itself shouldn't be able to cause this

Kevin`: just tying out the copy now
Kevin`: could a read error throw a kp?

Mazingaro it shouldn't.

Kevin`: now the copy is started, last time same source cd (windows buruned) kp before power calibration

Am I just blind or has there really been no announcement about the Debian Maintainer GR?

Kevin`: succesfully copied!
Kevin`: I mean

test
~sudo

failed

i guess sudo is (SUperuser DO) better than su, according to talon.It is able to give limited super user privileges to specific users, or can allow you to do silly things like run X apps with root perms, or good in scripts with "username ALL = NOPASSWD: /some/program", or http://www.aplawrence.com/Basics/sudo.html, or good for ordering sandwiches, or not pseudo

please dont use at beginning special chars "~" - it activate the bot(s)

ok

!test

Test Failed.

good morning
I smiled as soon as I woke up today
I let e2fsck run last night, today my drive is clean of errors
yippy
now I am going to buy another 500gb disk, make my backup, and not worry

good!

hehe
man
I have to go to work in 40 minutes
I'm kinda sleepy, hopefully the boss won't be there cuz it is sunday

to sell lingere? ;-)

no man

shoes?

for example yesterday
I fixed a simple outlook express mail could not be deleted problem and charged 200$
regular job, I manager a pc sales/tech/repair store
I boss people around, its fun

heh

basically the problem was that I had been playing the new oblivion expansion
so I was using XP, and all my media was on the ext3 500gb disk
so I mounted it in windows with ext2ifs driver
I had a few crashes, you know windows right
so then, I try to write to ext3 under windows and it says, can't write, file or disk corrupted!
so I booted a 64bit ubuntu, (the only cd I had) and ran fsck, took all night a good few passes, but I fixed it

!beer stoned

so man dvs
what have you been upto

I spent last night at this city "block party" last night and it was a pain in the ass

heh
block party eh
Chemical Brother - Block Rockin' Beats

well, that's the best way to describe it.

I think I need to see a dentist
need to detail my mouth

with gold caps? ;-)

I mean everytime I try to clean the back of my toung with a toothbrush
it makes me wanna throw up
how the hell do dentists do it without having you throw up
gag reflex etc.

why are you trying to clean the back of your tongue? I don't

cuz it gets dirty after a while
residue builds up and gives you bad breath

that's what mouthwash is for

its like a offwhite creamy gunk that is all over your toung
dude…
mouthwash?
all the way back there
makes me wanna puke
I rinse my mouth with it, I don't try to drink it

heh

get that tootbrush out and start scrubbing

I like the blue mind kind
mint
and the orange citrus

which reminds me i need to scrub that to get last nights bar taste out of my mouth

man I don't trust mouthwash
I still brush my toungue for a good 1-2 minutes
as far back as I can

listerine

then I rinse with mouthwash
listerine

no wonder why you gag!

yes

as you should

no but I'm saying
how to clean way far back

i like plax also

ow
wow*. fixing my ext3 disk has now somehow made windows unbootable
somehow the c was changed from a primary(1) to a logical (5)

and the problem is….? ;-)

i get superblock last write time in the future every time i fsck an ext3 fs, even if i just fsck'd it

fuck dude

i call that a bug

I should just buy an xbox 360
and use nothing but linux and call it a day

only reason i put ext3 on my laptop is because i don't know of any jfs windows reader things

then buy a converter so I can hook up my xbox to a kvm
ext is good

can't tell

mount time is fast, fs is kinda slow
and its stable
plus it has journaling
drawback, no undelete

then why the superblock write time in future every time

slow
I don't kow

me neither
it's across all installs for like a year or more afaict

not here

i will give ext4 a shot though

I have not used it yet
maybe I should stop stoning
I don't really care

I don't like using two partitions to hold one set of data

what else am I gonna do at work
I'd rather just stone at home and then go to work

read manpages

6 days a week man
but its ok

i just worked 6 days and today i get to work on my cars

I am paying my dues
no I worked yesterday too
I had an onsite appointment
3 hours
damn, thats like almost 7 days

!pity stoned

hehe

I pity da fool stoned!

dang
aha!

I pity the fool too
but I also may suggest how he may better himself
- cleveland -
~~6-
*

heh i was on heinlein

morning, does anyone have a repository i can go to to get PyQT?

uh oh i still am

~you know

so are you going to be late again ?

I don't want to go to work today
but I have to

so?

I'm not late on purpose man
wtf

find another if it's so rough

I was only late twice

since the 'talk'?

sicne always

so you were late once and your employer thought it necessary to have a chat…

I was late twice, and he had a chat
thats it
and there was a tornado in nj or something I think
so traffic was crazy

something tells me third time might be the charm with this guy then

nah
he needs me
I do a good job
and I bring his company a good name
everyone else who works there has a foriegn accent
so I deal with the custoemrs, plus I'm good at dealing with people

yoda, I dont know about anyone else but I am only on x86 and x86 _64…sorry

yoda?
hahaha

quit

no
irc is beginning to bore me :/

are there problems with s.d.o today?

what is s

security

!sdo
ah

alright man Im out
off to work, starved

bye
don't be late
;-)

Hello everybody, I know this is an old news, but does anybody have more informations about amd and their promise of release free drivers ?

Hello. I've got a laptop with an extremely annoyingly sensitive touchpad. ksynaptics and such don't seem to have an effect, neither when I try to adjust down the sensitivity, or when I try to shut the pad down alltogether. Can anyone help me out?

how do i set debian to pull one specific package from unstable tree
i want to install pyqt version from unstable tree

Go to packages.debian.org and manually download it
At least, that's what I usually do

Dark_Apostrophe, what about dependencies ?

Hmm… Not sure. Download them too, I guess. Not sure how else to do it.
Then again, I'm not exactly an APT expert.

xset -m? i dunno if it works for touchpads

Hello. How do I rer-run package configuration (for an installed packagee) so that it re-merges the config files (do you know what I mean?)

if you're running testing, it might turn out ok. If you're running stable, chances are you'll need a lot more dependencies

you could check backports.org to see if they have a backport (or attempt to build one yourself ; /msg simple sid backport) Installing a sid package will often want to upgrade your libc which is not what you want.

i.e. the config file was upgraded and asked about re-merging my changes. I sayd No but I have now changed my mind

ok

I'll give it a spin

reed[]: generally, there should be two copies of the config now: the original and the new one. You should be able to diff them for changes and merge manually.

well dont need libc6 upgrade, pyqt's required libc6 version is already installed

you mean foo.dpkg-dist?
does that config file merge thing come from the postinst script?

reed[]: part of dpkg iirc. You can check /var/lib/dpkg/info/pkg.postinst if you want to see if it's called from there though.

my sound is fixed

i.e. is there a command to just force a redo of everything that happened after the pkg was unpacked?
or force apt-get to redownload and reunpack and everything else?

reed[]: /msg dpkg confmiss (maybe)

reed[]: there's dpkg-reconfigure, but it might not do what you expect it to

if you think bug 437361 is a ssecurity bug feel free to mark it so

i tried dpkg-reconfigure, but since the packages were configured, it doesn't do anything. or at least it's not doing the same things.

i'm not sure about this, but adding line APT:efault-Release "stable"; to /etc/apt/apt.conf and then just apt-get install -t unstable pyqt should do that… or at least it worked for me with sarge and unstable rails

hi
http://www.debian.org/mirror/webmirror#list
why isn't the USA on here?
I know there are mirrors here…..
can someone tell me where the list is?
I can't connect to the georgia tech mirror

the US mirror doesn't have a country code

there could still be a link to it

I guess it wouldn't be a mirror, would it? ;-)

or rather, I still need a link to it

that list is the list of www pages mirrors, you want www.debian.org/mirrors

well there are plenty of mirrors

reed[]: if you're really desperate, you can run the script with same arguments as dpkg did: /var/lib/dpkg/info/foo.postinst configure "previous-package-version"

ah, thank you~
I mean thank you!
another question - apt-get is telling me a list of files that were automatically installed and are no longer needed; how do I select these for removal?

apt-get autoremove

rrrrreally
very cool feature

YA RLY

lol
ORLY

ORLY sounds like an airport in France.

NO WAI

BAJESUS

do you like chezburgerz?

i'm installing debian from floppies
but it can't detect my partitions
no /dev/hda i mean
some suggestion?

is it an internal hard drive?

yeah, a laptop withouth cdrom too
hard drive is working because i can see the partition with other dos tools and i can change de mbr or format it

Hello all
is march a vaild option in apt-build.conf

what made you decide on floppies vs CDROM?

no cdrom avaiable on my laptop
no usb boot either

oh

trying__2 is it a sata drive?

mmm, some doubts there
how i can verify?

well do you have /dev/sda?

let me see, one minute
it's not a sata
i used to have a hda

ok

some of the older kernels identified sata drives as hda and would change on kernel upgrade

well i'm installing etch… i guess it would have a new kernel
any other idea?
well another aproach… any idea to install ubuntu with floppies and inet?

hi any one got any experience with openwrt ?

the folks in #openwrt probably do

oh i missed that
ty
!ty

somebody said ty was thank you, or cobb — a baseball player, or the hosting company that creates Beanie Babies(TM)

s/thank you/I'd thank you but am too lazy to type in the required nine characters/

heh, if he did i prolly would have replied with np anyway

!moc

well, moc is the QT meta object compiler

.4.4-8+etch4

re

not sure why it even wants etch3 instead of etch4 (php4) in the first place

dos000, you can pin it in one of the confs but if it's a specific source you can force aptitude to use that source over others via -t othersource I believe
dos000, other deps may be newer

eps, the source is the same .. they are coming from debian security
eps, what i dont understand even is why it wants to still use etch3

i would like an automated method for fixing lintian's 'executable-not-elf-or-script' warning

dos000, aptitude show package on both of them and see the required deps; there is usually a reason for it

is there one?

do you have a security.debian.org line in your sources.list?

jelly-home, yes i do

i could hack some find kung-fu, but wtf, someone did this before for sure

did an update recently?

jelly-home, yes .. multiple times !
jelly-home, this has been going on for 2-3 days now

lintina
!lintian

rumour has it, lintian is the Debian package checker, and has pages at http://www.debian.org/lintian/

I'm getting seg faults when dpkg is rebuilding the package list - I've killed the .bins in /etc/apt/ and blown away /var/*/apt/* data and done a clean

i came her yesterday .. and no one could figure what was going on .

aptitude install foo/6:4.4.4-8+etch4

got the dpkg update from this last week :P

ah
no pinning I presume?

phogg, foo is what in this case ?

the package name

phogg, he still wants to use etch3 !
jelly-home, no i have no pinning so far

sorry, = now /
s/now/not/

can you pastebin apt-cache policy …?

why does the media source have etch3 and etch4 under the same branch?
that;s just dumb
or is one stable and the other testing?

jelly-home, yes .. one sec
phogg, it still gives Err http://security.debian.org stable/updates/main php4 6:4.4.4-8+etch3

dos000, do you want etch4 from testing?

no, testing's php4 is at 6:4.4.4-9+lenny1

i was told etch3 was supperceded by etch3 .. in stable
eps, i mean etch4

jelly, ah I see

eps, i have another system and policy returns etch4

ahh boy im hungry

I have no used stable for many years now so I'm behind on how it is done

I dunno why

jelly-home, http://pastebin.ca/654511

well, you don't have the …etch4 version avaialbe at all.

jelly-home, what do you mean ? etch4 is in the security repositories. the question is why i am being froced to fetch ethc3 which does not exist

on my system it lists etch4 in security

phogg, yes .. that is the normal way. but for me it is stuck at etch3. cant understand why

it's not in the repositories you have available. check your proxy if you're using one. delete /var/lib/apt/lists/security.debian.org* and redo the update

the seg fault coming from apt-get/aptitude/synaptic is caused by the following; /usr/lib/dpkg/methods/apt/update: line 42: 3075 Segmentation fault $APTGET $OPTS "$APT_OPT0" "$APT_OPT1" update
is any one familiar with it?
can't find any known bugs

phogg, 1) i have no proxy 2) i pointed fingers at the data center and they said we have no proxies 3) i removed those so many times !

I am searching for beta-testers for Pingus (lemmings-like game), anybody interested? /join #pingus

grumbel, my sister loves that game :P

what does security.debian.org resolve to?

jelly-home, 128.31.0.36
jelly-home, 128.31.0.36 212.211.132.32 212.211.132.250

force it to any of the other two IPs in /etc/hosts and try updating again?

hi

Hi. I added a line into /etc/apt/sources.list to install a package and when I run apt-get update it says "The following signatures couldn't be verified because the public key is not available: NO_PUBKEY" How should I proceed?

jelly-home, still says etch3

how can i extand my resolution list in the gnome setting
?

how do i apt-get install a new kernel ?

giz_bmz, I'm not sure but it probably reads from /etc/X11/xorg.conf

garotosopa, if you go to the home page of that source there should be some keys they give you that will get rid of that
else ignore it
unsolo, apt-get install newkernel, restart when done

eps, thanks, there was a apt-key add command line there.

which architecture?

jelly-home, i am on x86

awsome, snatch is on telly

liable, not a bad movie

jelly-home, is there a way i can definitely detect if the guys at the data center are using silent proxies ?

one of my favourites

wget -nd http://security.debian.org/dists/etch/updates/main/binary-i386/Packages.gz

thanks
and listing possible kernels ?

what's the timestamp on that file?

unsolo, if you are using grub it will automagically list the new kernel for you at boot (if it is newer it will be default)

4" (I'm in UTC

just a note you may have to recompile extra drivers like nvidia again under the new kernel

jelly-home, it says 2007-08-11 10:44

is there a way to prevent the kernel to get upgraded?

Good morning everyone

and, do you see the correct php4 web services version in it? Search for "Package: php4"

morning Daveman

i was more thinking of listing ones i can install actualy

Hi
i am using RS232 Serial Port

jelly-home, yes its there !

oh sorry unsolo; grep is your friend; aptitude search linux|grep kernel

thanks

you may have some sort of explicit proxy in your apt.conf

with a GPS i can make "cat /dev/lp0" and i see the output

jelly-home, where is the actual packages i am using ?

i have another device, but when i use "cat /dev/lp0" tehre is no output

/msg dpkg hold

but if i use windows and Hyperterminal, i can see output

!paste

Please do not paste anything at all to this channel. Instead, use: http://channels.debian.net/paste/ or http://rafb.net/paste/ or http://picpaste.com for pics.

jelly-home, thanks … soooooooooooo much ! there is something in there !

linux-image-amd64 == linux-image-2.6-amd64 ?

http://paste.debian.net/34477

how can i change Baud Rate, Stopt Bit and so
?

this is my xorg.conf

asg, thanks. do you think it could cause any further problems?

ahh iam getting better at fix pc

so how can i increase my resolution ??

eh, you shot yourself in the foot :-)

contral pannel

it will only prevent that package getting upgraded automatically. That includes any security fixes, etc.

jelly-home, its the guys from the dc who did this ! when they auto install etch

i read setserial documentation, but there is no option to change that

asg, ok. thanks again.

how would i get a list of all installed packages in a format that would enable me to feed them to aptitude on another machine?

jelly-home, what do i do whith this file ?

probably just comment out the Proxy related lines and redo the update
// is used for comments (or just remove them)

is drbd the only disk clustering over net available ?
and is it still maintained ?
and it seems that installing a new kernel blew up the system .. ouch

jelly-home, i am your slave forever !

sound cards what is dif between 4.1 and newer

myselections

thank you

so what do i do when apt-get install newkernel fails ..

you're welcome

lol

using http://paste.debian.net/34477

darn thing blows up because of some mdadm incompatibility

how can i change the resolution to be higher ??

you boot the previous kernel and fix the problem

I want to flash my bios on a Asus mainboard I downloaded update from Asuswebsite…the downloaded file is a .ROM file what I have to do with that? Burn ob a CD as a image?

you need a flash software

there's flashrom.. never tried it but

Can you recommend some software for windows?

##windows ?

hm yes sorry… :P

!info flashrom

(Universal flash programming utility), section electronics, is extra. Version: 0.0+r2739-1 (sid), Packaged size: 32 kB, Installed size: 124 kB

doesn't the motherboard manufacturer provide the flashing utility as well? awdflash if the BIOS is Award's

hm but flashrom only works on linux? My friend has only windows
mhh jelly-home I will take a look onto the website thx.

you need to get the asus bios flash utility
and perhaps a flopy
maybe

ok thx

I use grml for flashing bios's (but from the dos that it includes) as its on a usb I just put the files in (I have no floppy)

look on your motherboard cd
my gigabyte mobo cd is a bootable one

hehe he lost it

I've recently seen a commercial linux fs that has some redundancy capabilities: http://wiki.digitalbazaar.com/en/Starfish_Distributed_Filesystem

you can download the flash rom from the site, same place you should find utilitiesasus flash thing

Yap I found it thx

/msg dpkg etch

Which bazaar package is the, well, canonical one? (canonical not as in "the company"

http://support.asus.com/technicaldocuments/technicaldocuments.aspx?root=198&SLanguage=en-us
^^
oh ok

hey thx stoned

737 nicks!

how can i share my desctop in two screens ??

jelly-home: interesting..

anyone manage to get apparmour running under debian?
uh, i mean. can i get apparmour running under debian without going insane
buh, i mean. can i get apparmour running under debian without going insane/b

hello,i've just installed the mysql-server meta-package on a debian etch "stable" with aptitude, but i can't find it under the misc "installed" packages view(but the mysql server is effectively installed): the other packages i've installed are showed right….do you have any suggestions?
tnx

dpkg -l|grep php mysql web hosting will list *mysql* pkgs you've installed

does anyone fancy logging into my box and installing the 2.6.21 kernel with the nvidia driver

sure, i wouldn't mind another box

:-S
what does that mean? :-S

it means i could run the torrent tracker on your box and not have the RIAA on my back

eeek

so why do you want .21

i run mythtv on that box what uses a Hauppauge Nova-T 500 TV card, and there is a bug in the driver but it has been resolved in the 2.6.21 kernel

ahh
!bpo

rumour has it, backports.org is an unofficial repository of backports for the current stable distribution, prepared by Debian developers. Read http://backports.org/dokuwiki/doku.php?id=instructions ask me about
backports

yes it shows up that effectively the packages for mysql jboss server hosting are installed, but i can't figure out why aptitude does not show mysql-server installed under the misc installed packages view….i mean i found aptitude functions
and views really helpful,so…i wonder why

use aptitudes search function to see if you can find it that way

ive installed the backport 2.6.21 kernel no problem, im just having difficulty installing the nvidia driver, ive been trying to follow these instructions without success: http://grizach.sc18.info/nvpatch/

i believe it is /searchterm
ahh yeah, forgot about that nvidia fun

installed and not installed, do you know some way to search only in the installed view under aptitude ?

i do not

There is some problem doing upgrade on etch …klogd seems to hang the upgrade
sorry not etch but lenny

anyone here with mysql-server meta-package could control under the mi sc installed packages view in aptitude if is it showed up ?

blah anyone tried to use sierra 595u modem in linux?

is that a 56k dial up modem?

nope its a evdo modem

ok

hmmm, does aptitude search ~imysql help?

im following the instructions on http://www.sierrawireless.com/faq/ShowFAQ.aspx?ID=602 but i keep getting no carrier

how can i share my desctop in two screens ??

vnc?
user01 I havent a clue..

i use one monitor on laptop, another lcd on desktop

no not vnc
i have two screens
i want to make one desktop with them
so i'll have a one big desktop

you have two physical display devices?

yes

How do I prevent system freezeups while I am in KDE? Sometimes the programs (Opera, keditbookmarks, …) freeze the screen and the computer becomes useless. Suggestions?
How do I prevent system freezeups while I am in KDE? Sometimes the programs (Opera, keditbookmarks, …) freeze the screen and the computer becomes useless. Suggestions?

does ctrl-alt-backspace still work?

run memtest86

I will try it next time, what does ctrl+alt+backspace do?

which graphic card(s)? Are you using free drivers?

to check if my memory is valid?

aye

ati

kills x

Alright, that's something good to try. Are there any other things I should do? Maybe some special configuration? "Don't let programs hijack me?" heh'

run sshd and when it freezes see if yo ucan login and kill the process thats the issue

the point here is that aptitude does NOT show this package under its "installed packages" view, even if it is regularly installed!

ah, but I don't have a machine nearby
wouldn't it be a bug with the KDE interface if all user interaction is denied?

whaat is the kernel version of debian?
latest version

2.6.22

looking all over the documentation for it
thanks

but does aptitude recognise it as installed..

I am partitioning the drivee manually… should I turn on ANY bootable flags?/

what do you mean, "freezes"? Holds the keyboard/mouse focus? Does the music player (if any) stop playing? Do you get disk activity?

if aptitude says its installed, then i'd be inclined to wonder if you just haven't missed it in the list
i don't think you need to

jelly-home: music stops playing too, yes, and I see no disk activity IIRC

the latest stable version of fedora linux for debian is 2.6.18

stable Debian uses 2.6.18

what? You and I were not talking about aptitude

thats what they said in linux

uhuh, mavior i mean

ahh good 2.6.18 is more stable the 2.22 from what I have seen… though I had problems with suse's Samba on Linux…

you can use that as the search term in the aptitude ncurses interface, btw…

you may experience better interactivity with a _very_ new kernel with CFS patches, or try the (now unmaintained) ck patchset

On another note, where's gtk-config found?

!MOC

well, moc is the QT meta object compiler

why do you need that ?

well linus's epic plan is that the distros create stable kernels, and he releases not quite stable kernels, iirc

s/not quite stable/@#$%^&/

that epic plan has costed me 2 months of my life

well, use something otgher than linux then

nothing supports expandable arrays

solaris/zfs?

openNAS seems AWSOME… but no expandable arrays
solaris supports expandable arrays?
how is it with new hardware

dare i ask whats an expandable array :|

probably not very good

google for zfs. it's da shit, supposedly.

mdadm /dev/md0 -a /dev/sde

or better, ask in #solaris about it

mdadm /dev/md0 ….

#opensolaris
i use ZFS, you can add to a pool online

oh, there's a separate channel, right

it means you can add a drive to a RAID 5 array without loosing the data on it

it's better than raid5! :-)

it is raid 5.

here's the thing

(I mean, zfs)

and you can use raidz

Solaris doesn't support all the wild block-device-level stuff that Linux does.

it can be raid 1 or 3 or 55

So that kind of thing ends up implemented in the filesystem

ok, aptitude shows the mysql-server meta-package under the "new packages" view….don't know why….thank you anyway

mdadm, in linux, today, will allow you to reshape RAID online
go from RAID5 to RAID6

hello.

eh, I don't care about mixing up the levels as long as it works

damnit
i thought debian kernel swapping was safe
seems i was wrong
system broke.

jelly-home: But that's what GreenJelly was describing: dynamic ability to reshape arrays.

kernel swapping as in…

ZFS is pretty great, don't get me wrong, but we already have that on linux :P

you swapped linux based hosting services for kfreebsd and it broke?

nope, he just wanted to add disks.

(shared storage pools, we don't have. )

we don't have the checksummage though

jelly-home: … You can reshape from RAID5 to RAID5 :P
checksummage?

raid5 / 6 still have write penalties

I have 6*500mb drives I want in Raid 5 (this is paart of my problem)…

checksumming of data read back off the filesystem, to make sure you get back what you wrote in the first place

jelly-home: humbug. Welcome to the modern era. We have this great processor, the pentium II!

tomorrow, I run out of space

That's built-in at the filesystem level, not at the block device level.
XFS does that.
Ext3 might, don't know.

uhh ohh… how do I back up 2.5 TB of data (sorry, I ment 7)…

XFS does? did not know that

and the reason I mentioned it is because the mentioned being stuffed with Linux' no stable kernel at all policy

Yup. That's how I discovered problems with sx8
jelly-home: Yeah, well, that's just fucking stupid. But fucking stupid is the design philosophy over at kernel.org. Go figure.

so I add a drive to the RAID–5 aarray as a spare… then I convert that spare right into the array… meaning I can add a drive without loosing my data

hence, solaris.

jelly-home: For all of my Solaris partisanry, I use Linux on my home desktop. And I have fewer and fewer Solaris systems at work. Go figure.

yeah well, me too :-)
but someone has to play devil's advocate!

no offense, but static device names suck

No, you need to use the "–grow" option. Don't add a spare.

pipeline you first add a spare
then you grow
weird, I know
but thats how you do it…

grrr where is that picture of a girl with a cat on her bubby, representing firefox
I cant google it

You add the spare in order to have someplace to store data while you grow to another device.
The spare plays no role in the finished array.

'It is not possible to add a disk to a RAID-Z or RAID-Z2 vdev. This feature appears very difficult to implement.' hmm, there be a bummer

pipeline the spare becomes the extraa drive

'fraid not.

yeah, got to do it as raid-z2 from the start

It's just swap space so that you can fuck up safely.

here… this is EXACTLY the steps I use…
and have used successfully

btw do you really use 500mb drives

o reshape, add drives to your raid set in the future, you first add the new drive to the existing raid set. mdadm –add /dev/md0 /dev/sdf1 Next use the –grow switch to reshape it to the new number of drives you want. The command below assumes you had 3 devices in the raid set before you added
sdf1 and now after you added sdf1 to be available to the set, you want the raid-devices to be 4. …
…Next time you add a device, it would be 5 … mdadm –grow /dev/md0 –raid-devices=4

aren't we nitpicky

sorry cast… I ment 500gb or what they call aa GB… 467

no i upgraded the kernel and it blew.

what kernel should I pick?

ahh, ok. some people really do have arrays of 500mb drives is all..

nah.. I have around 2tb
and am waiting on a DOA drive to come back

a single filesystem?

??

i downloaded lirc 0.8.2 from lirc.org, I ran configure and now Makefile is empty and I cannot make the source - does someone know why or what the reason could be?

is all of your 2TB used for a single fs?

yess
its all one raid array

Hey
ttf-opensymbol seems broken

from what to what?

I keep getting "failed to write to cache" in regards to it

2.6.18-4-686?

Every single time I use apt-get
Anyone seen the problem before?

2.6.8 to 2.6.28-4
err 2.6.18-4

28?

which debian release?

what cpu? use 2.6.18-4, but perhaps -k7 or whatever you run

celeron D
64 bit
on a 965 ICH8 Chipset

jelly-home: 64 bit
amd
etch
but old kernel came from sarge i think
and sarge-amd64 was experimental

how did it break exactly?
did you follow the upgrade procedure from etch release notes?

I want to install a rsbac kernel. what's the best web hosting way to do this on debian?

I think I screwed this up… it never asked me about the raid arraay… doh… should of set format to one of the drives
– doesnt want to manually build another raid array
I dont know how… but I went from not knowing what mdadm is, to knowing its small behaviors on different systems with different devices

jelly-home: its back up now..
jelly-home: seems it wasnt the kernel..
only the broken raid1
had to get someone to take a look
upgrading from remote is allways a risk

unless there's remote console access (and even that doesn't help sometimes)

yea..

raid is kinda foolish… if the software screws up the file or the array, then there is no surviving… and if the drive corrupts, yet doesnt repport a bad sector the repair has to make a 50/50 guess….

raid1 can be mounted as a /dev
lets say you raid1 sda and sdb
and sda fails you can mount sdb directly as well
raid0 however is a lot more unsafe.
and i would say foolish to use..

silent write errors are a good reason why raid5 is bad

unless you need a insane cache speed storage..

raid0 is stupid under any circumstances

jelly-home: im running hardware raid6 these days..

you will always be better served by just upgrading your storage.
RAID0 isn't going to be half the win that a RAID card with a large cache gets you

Jelly-home I totally agree… but Raid 6 doesnt help much if its a software couruption… I am storing video files, so if one of my video files gets corrupted, I can live

thats why im running hardware..

um, checksum 'em?

RAID will never save you from your own fuckups.

I've got this error after a apt-get update : http://phpfi.com/255868
What can I do ?

therefor it makes sence to use RAID5 because it A) provides a single place to put my data… B) I need a large number of drives, and C) an extra disk + SATA card + extra power does not make it feasable

now the challange is to find a HA filesystem–.

pipeline who says it has to be your mistake…

that doesn't cost 6 figures?

jelly-home: its cheap

Use LVM now, or you will regret it later.
OCFS2

pipeline linux isnt 100% perfect, nor are the clients your using, or the hard drive controllers, or the motherboards, cpu, etc…

ocfs2 is distributed?

jelly-home: areca 1210 + 4 500GB drives isnt much..

that's not HA, that's just a RAID.

jelly-home: For some value of distributed, yes. You need three nodes, and you really need gigabit ethernet levels of latency and bandwidth.

ahh yea

6*500
soon to be 7

jelly-home: But it's rock solid, well-tested, availble today, and performs well.

hehe.. you will get the LBA64 problem there GreenJelly

Another fun option is parallel NFS. Unfortunately, not available on Linux yet
Definitely worth reading about. It's a beautiful system.

drbd

aaasolo?

drbd is pathetic.

you have to adress LBA64 when the volume exeeds 2TB

nice, hopefully any on three nodes may fail?

hmm what other options are there.

jelly-home: Yup.

aasolo were does tthis problem exist, and how do you solve it

Buy a SAN or a mainframe, use your vendor's faculties.

my mouse cursor has stopped responding to movements I make on the synaptic touchpad, although synclient -m shows that the movements are being seen at some level

Peecees are not the solution to all problems :P

anyone know the secret of amavis with debian? there's no amavis.conf, what's up with the conf.d directory?

any idea how I can 'unfreeze' the mouse cursor?

!tell Xanthor[aw] about dynamic mmap

unsolo from what I read 2TB was easily extended with ext333
ext3

jelly-home: The catch is that when you get down to two nodes, you can run into a race condition

you have any idea how long can a fsck of that huge an ext3 can take?

jelly-home: Here's the problem. Linux has no way to GUARANTEE that nothing writes to a block device. When an OCFS2 node "fences" itself (removes itself from the cluster) it kernel panics
jelly-home: It's the only way to guarantee data integrity

jelly-home YEP! about 6 hours

that's nice

jelly-home: When you get down to two nodes, and one of them loses network connectivity but not disk connectivity, both nodes will see two heartbeats but only be in contact with one node. And one or both nodes could fence themselves
jelly-home: It's a race.
jelly-home: with three nodes, a voting process works even when the network is down.

eh, who cares, let the frontend reboot itself. I don't run the stock market or a bank

hi, I have apt-geted kernel-image-2.6-686 which installed kernel 2.6.18+6 but when I run `uname -a` I get "2.6.18-4-686"
how is that?

unsolo what is this 2 TB problem… I really need to know more

jelly-home: well that kinda makes it less than HA, doesn't it?

hush :-)

am I missing something?

renewbie yes

?

single block devices are limited to 2TB.
At least, that's the way it used to be.

whats that?

at least on my hardware controller i have to change adressing to LBA64 when exeeding 2TB..
which means i will have to reformat the volume as well

aasolo I am not using a RAID controller
unsolo purely software raid

there's an option for large block devices in the kernel since about 2.6.20

well i would imaging these some of the same problems there.

20 disk raid controller costs around 1K

hi all. I cant go hibernate second time on my dell e1505 laptop running etch. if I boot usual way I can press Fn-F2 and It would work , but when I reboot again and the system is restored from hibernate image - Fn-F2 button doesnt work. does anybody know why? thanks.

http://www.webconnexxion.com/raid/product_info.php?cPath=60&products_id=414

any idea how to install RSBAC on debian?

anyways san isnt an option yet.
so what choices do i have

unsolo thats the device

people who build raid5 shit me in general, but people who build raid5 without making sure that the array stripe width is sane shit me greatly.

unsolo but they make a 20
unsolo I cant afford that

and adding a single spindle to an existing raid5 is a good way to get there

are you running 20 drives in raid ?

tried running hibernate script as root? Maybe just the key combo doesn't work

in a software raid ?

anyone know about installing RSBAC on debian etch?

jelly-home: but it works if I reboot usual way… do I need to add something to hibernate.conf

unsolo not yet

any good options for a fallback file system ?

that's not what I asked

…. OCFS2 …

ok

it might be only the key-combo is broken after the resume

I didn't run any scripts manually.

unsolo I will wait till the drives prices come down and as my need for space increases, hence my requirement for an expandable raid system

parallel NFS is pretty sweet too

I'm asking you to try it, instead

You have a whole lot of nodes that serve as block servers, with a small number of nodes that actually do locking / transactions / etc
All backed by your choice of HA shared storage. No local disk crap.

thx jelly-home, it works

unsolo I WISH openBSD supported expandable raid arrays, cause openNAS is an amazing system. openfilter has not gotten the attention it needs

ccd(4)

jelly-home: where is this script?

areca is hot expandable btw..

OpenBSD is ten years behind the times and trailing. It's never going to modernize. Don't hold out hope :P

er… in the "hibernate" package :-)

pipeline wouldnt doubt it… but damn is it secure

but parallel nfs isnt available for linux hosting yet is it

An undeserved reputation.
It's UNIX. UNIX is insecure by definition. Otherwise it would no longer be UNIX
uIt's UNIX. UNIX is insecure by definition. Otherwise it would no longer be UNIX /u

(not nexenta)

jelly-home: It's going to be a long wait.
I don't believe so.

so ofcs2 is an option..

unsolo:

thx jelly-home, it works

unsolo I WISH openBSD supported expandable raid arrays, cause openNAS is an amazing system. openfilter has not gotten the attention it needs

what is the IRC command for thoose emotes

d'oh
http://developer.osdl.org/dev/nfsv4/site/index.php
I doubt this includes pNFS, but I guess you have to start somewhere

wow, I did screw up the install

does anyone know a repository that has nvidia-kernel-100.14.11?

hopefull a raid build will fix it
hehe

nvidia-glx needs it but it's not avaivable

crap darn server booted the wrong kernel.. guess i have to travel to it to fix it.

You have to build it yourself.

thanks for the input..

argh _

why do people use ocfs2 with drbd if drbd stinks.. any other ways to do it ?

ocfs2 doesn't really give me wood I have to say; roll on dynamic striping and variable block sizes at the fs layer

Because they're cheap shits
a decent SAN costs a lot more than a peecee crammed with disks
You're looking at 40k just to dip your toe in the water.
a nice peecee costs all of 10k :P

i know..

Yes, well, there's the cheap way to do it, and there's the good way to do it. They're mutually exclusive.

haha
well is the cheap way stable is what im interested in

Yeah, well, OCFS2 + drbd is a shitty solution.
But it sure is inexpensive

unsolo is the 2TB problem you have is with linux having a single drive that is larger then 2 TB, or is it with the Raid controller??

you're talking to the wrong people; www.infortrend.com for ex.

its with how you refer adresses

should I choose a different FS?

Hi
When I want to move a directory to another filesystem, sometimes this happens
I move, then break using ctrl+c to check somethin
g

think it would affect the block device somehow..

then when I want to continue move, it gives this error
inter-device move failed: `xxx' to `xxx'; unable to remove target: Is a directory
I don't want to remove it, I want to move everything that's not there yet

all i know is that some say i wuld have to reformat if i extend my Raid volume beyond 2TB..
that i do not want to do.

so what do I do to make sure the data is indeed moved (if I remove the target directory, I lose data)

so if you start by making your volume use lba64 it wouldnt matter basically.

….LVM dude

but if you don't restripe and your filesystem is too useless to support dynamic striping then you will end up with wobbly access patterns

unsolo I will have an answer for you within a week if you send me a email at big_green_jelly_beanatyahoo.com

average service time? wossat.

unsolo that is if I get it to work

what for.
i like having 2TB large single partition drives.
@home

home are you?

it makes everything so much simpler

ok i can't find the sources for nvidia-kernel-100.14.11 either _

(dropping and) restriping the lv underneath a filesystem that does not support dynamic striping is a feature, not a bug

I hate having to backup filesystems larger than, say 200-300GB

I can't for the life of me understand why people try so hard to end up with *crap* IO access patterns.

what does +6 mean in this kernel version 2.6.18+6?

i know but i dont need it at home.

and what does -4 means in this kernel version 2.6.18+6?
oops

this drbd system is ofc not at home.

and what does -4 means in this kernel version 2.6.18-4-686 ?

jelly-home: solution: no backups at home because I can't afford a tape drive of appropriate capabilities
jelly-home: it annoys me that tapes are so cheap and drives are so spendy :P

hehe
tape media sure is cheap… the good drives are a different story

jelly-home: thats an advantage with raid6
you can have multiple failures..

Debian's fourth take on the 2.6.18 kernel series.

so you dont care that much for drive quality

raidz2 :-)

the advantage of raid6 is that you hit the garbage read throughput of a degraded raid5 with lower frequency
it won't help you if you botch your stride size maths though
and it's always going to suck latency-wise for writes
god help you if some tinker adds a spindle dynamically to it

im using stock drives.. Timing buffered disk reads: 434 MB in 3.01 seconds = 144.04 MB/sec . Timing cached reads: 2488 MB in 2.00 seconds = 1244.08 MB/sec

now fire up 2.5 the number of benchmark threads as you have spindles

hi

and come back and talk to us about average service times

what can i do when aterm segfaults when i try to run it?

well thats on my home server
and its by my terms more than fast enough..
but its not a insane speed.

use urxvt?

latency latency latency

thats what you have 1(0) for.

a late IO may as well not exist

and im talking of the cheap sollutions.

$®%'ã®FLoD'SaLdiri+$®%'ã®FLoD'SaLdiri$®%'ã®FLoD'SaLdiri+$®%'ã®FLoD'SaLdiri$®%'ã®FLoD'SaLdiri+$®%'ã®FLoD'SaLdiri$®%'ã®FLoD'SaLdiri+$®%'ã®FLoD'SaLdiri I'm Using'SpiDeR
ScRipT+$® H t t p : / / W w W . S p i D e R S c R i p T . C j b . N e T +$®%'ã®

the zfs guys have hit the bong hard and come back with an interesting design
cruel and unusual layering violation tricks, sure
but an interesting design and it works well for most mixes

fuck you grecee

thanks

wtf

same ip
^^ how about =B?
+b

I have a somewhat older debian install, using kernel 2.6.8-2-386. I also have a Broadcom 4306 wlan pci card I need to get working. I've studied the bcm43xx project, but I'm a bit lost. Does anyone have a link to a good howto on how I can get this card working?

Yeah

if I have filesystem trouble, and files show up in /lost+found, are they guaranteed to be intact?

ha! i found the rotten smell. was coming from this mostly empty tea cup

Permission denied (publickey,password). any clue?
there is no one here dude, get lost

Hi
I have question, how can I schedule a command to run after 2 hour?

!at

extra, extra, read all about it, at is a Delayed job execution and batch processing program or an old IBM computer. austria

sechedule jobs

sleep 2h; cmd

!schedule jobs

that "at" factoid was meant for you
man at arms

what was the issue with at a long time ago?

jelly-home: but dpkg did not say what I want

man at

jelly-home: ok

wtf… "at teatime"

how can i install agetty ?

what do you need it for?

i need to chage Boudrate, Stop Bit, etc of RS232 /dev/ttyS0
jelly-home: any idea ?

hm. baud rate can be changed even with the normal /bin/getty

humm
let me try

there should be a line in default inittab
3:respawn:/sbin/getty -L ttyS0 19200

so… yeap, timezone can't be chosen in the debian installer properly, as far as I can see, I have tried in both netinstall and regular install

345:respawn:/sbin/getty 38400

hmm can you do backup with preserve over scp ?

can i change that value?

Look up rsync over SSH- that may be more suited for backups.

don't. scroll down.

I think the problem is that 'choose language' is taken as 'choose country' when they are two very separate things…

probably it is

add a line like I pasted, only uncommented.

http://www.pastebin.ca/654668

and since this is within a closed network i guess i can just rsync directly right

so uncomment your T0: … line and edit the baud rate properly

ok
then?

reload inittab
"telinit q"

hi

is there any documentation about run linux from a computer wothout HD
like console

what do you mean 'like console', what does thta have to do with no HD?

loads - search for netboot / nfsroo

reiser2 use a live cd

no

usbstick

i mean no live cd
is to use a computer like a terminal

the only thing you can do is search if there is a way to boot from network
but then you need a network card with bootrom
google for network boot linux or something like that

jelly-home: telinit q reload the runlevels?

it makes init reload inittab

this is outright funky, it can't find packages grub nor lilo during the install

jelly-home: but is there any message outpu after use telinit q ?

hello there. Can someone gives me a list or a name for a linux game for two ?

no

you want multiplayer games? of what kind?

nethack! anything from the unreal tournament series will run, as will quake 3 and enemy territory

but there should be a getty working on your serial port 1 now

man

!games

i am using a device that send a string

koth, netris, quake, xevil, bzflag or the only piece of software that is allowed to be non-free, because they are more like an art form than a program, or http://www.uniball-central.com, or #gametome for newer games. WikiWikiWeb:LinuxGames, or
http://www.mtp-target.org, jumpnbump, supertux, gtetrinet and pathogen, or nethack, or freeciv, or dopewars, or http://icculus.org/lgfaq/gamelist.php

nethack is not multiplayer, unfortunately

well, it sort of is
you can find corpses
and share a scoreboard

the bones levels don't make it multiplayer :P

was that a requir..oh, right. it was

telnet nethack.alt.org :P

I can't believe people quote bzflag as a linux game, it makes me ashamed :P

just because it remembers some state, doesn't mean it's multiplayer

yeah, been there, but frankly I perfer playing on my pc with all the colours and such

eh? bzflag is a classic. And it runs on linux. And it sure beats the crap out of the original bz.

no, *nethack* is a classic, everything else is crud :P

Is there support for CORE2 QUAD cpu in stable kernel?

bz kinda sucked because it was single-server

jelly-home: i just put a GPS that is configured to send text string using 9600 baud

Surely.

is working
but i have another device that send another string, but doesn`t work
but in windows it send ok

nethack is not a linux game anyway

Any idea where to check if kernel can really make use of additional cores? Eg in multitasking

I'm having some trouble installing, it says it can't find packages grub and lilo (I tried both), I'm using the regular CD

run htop, look

You'll know immediately after boot.
cat /proc/cpuinfo
If there was a problem, it probably wouldn't boot

I'm looking for the info atm, so I could decided which cpu to buy :P

Back

does it work with minicom for example?

minicom?

yes
!info minicom

(friendly menu driven serial communication program), section comm, is optional. Version: 2.2-5 (sid), Packaged size: 283 kB, Installed size: 1112 kB

With the price/performance on those suckers, I can't imagine NOT buying a C2Q or the Xeon counterpart.

what's Q? quad core?

what
what's a good way to check and see if the PHP5 package was compiled with DB2 support

phpinfo();

I have a feeling I'm going to have to recompile the .deb to support db2

DB2 as in IBM's database?

where is minicom config file?

yes
I have to connect to a DB2 database on an IS/400
er AS/400 for a customer

if you need nonfree libraries or headers to build that support, it probably isn't built

i know PHP has the capabilities, but lots of the threads on the web point to needing a driver from IBM — but all these threads are 2 years old

you can set up serial port options while you're running minicom

but is the debian src even going to have the true PHP source? Or should I scrap the package and just grab it from php.net?

ctrl a and then o

no response
CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.2 | VT102 | Disconected

sure it has php source

I'll see if I can figure it out

can I unzip multi-part files?

you'll want to do something like apt-get build-dep php5; apt-get source php5; then edit php*/debian/rules, or wherever the ./configure is called

!bz2

from memory, bz2 is the extension used for file created by bzip2, a program like gzip that gives better compression(particularly on text files) but takes much more memory to run see bzip2. or use the j switch to tar, or install and use unp (ask me about unp)

you'll need deb-src lines in your sources.list for that

jelly-home: yup — I have those

I even tried installing WinZip via wine, but I still cannot properly unzip multi-part files

concatenate them

unzip doesn't work?

use JDBC :P

somehow I don't think they're just split

that won't work, I tried that and then ran zip -F (or tried also zip -FF) to fix the archive, but no succes

as funny as that might be to you I'd use anything — although I hear JDBC setup is a pain

jelly-home: correct, no version of unzip properly unzips multi-part files

bugger. who is the fool that used multipart zip?

I was more poking fun at your choice of platform. I don't know that anyone in history has ever tried to make PHP talk to a DB2 database

you really think he had a choice?

jelly-home: if it doesn't work under Linux, it's not by definition something or someone stupid; everybody uses winzip and multi-part files

jelly-home: He must have a lot of flexibility if he's able to get as far as selecting a language that isn't typically used and not even know whether it will work :P

I'd use rar for multipart

it's not my choice
it's a large mfg company that has all of their operations stored on a DB2 server

actually, I'd never heard of zip multi-part files. I'd only ever seen RAR and split tarballs.

iSeries IBM AS/400

I meant the PHP side.
Most DB2 development, regardles of iSeries vs. pSeries, is done with J2EE.

that's because you're a Debian user

well I can use anything we want, but it has to be inserted into a MySQL DB on a daily basis

zip multpart format is kind of crap. you _must_ have the last file to make an extraction

Windows users will use WinZip, not rar

you're killing me, smalls.
RAR was windows-exclusive for many years o_0

Will they ? Most windows users I know use winrar

it's the multi-part format loved and used by OMGTHESCENE all over the world for ten plus years :P

warez doodz use rar!

does someone read me when I say I have trouble installing or just when I talk about nethack? :P

well do you have a way to just pull a simple SELECT from a table in a DB2 database using Debian?

… or so I'm told :-D

rar and those goddern sfv files ;/

okay, so you all like rar for multipart, but meanwhile no Linux user in the world can unzip multipart zip files

you're the first!

indeed

can the linux version of 7zip do it ?

to actually complain here, yes
other people just think "Linux sucks" and the reinstall Windows

and they're right

Does the LIVE CD contain crypto-modules cryptsetup-udeb ?
and is it suitable for rescueing crypted fs?

/usr/bin/p7zip: video.zip: unknown suffix — ignored

I'm mildly surprised that WinZip under wine can't do it, though

p7zip is not winzip :P

care to upload an example

p.s. there's no such thing as a multipart zip file. You want to interpret the specific-to-winzip format that very few people use

there is.

jelly-home: no standard

you're in the wrong here, even PKZip supports it
while we're at it, is there an actual standardized spec of .zip format?

how can i get the nvidia-kernel package?

jelly-home: Nope, just a common subset shared between implementations
jelly-home: pkzip's multi-file is specific to pkzip IIRC

so there's no "standard" to refer to

is there an easy way to find reverse dependencies in debian?

deborphan package has some tools to help with that

well let me ask this
is there any good reason to run the port mapper if I'm not using nfs?

NFS is the only RPC service most people ever use
so if you don't know, then no, there isn't.

I could've sworn that one time I was installing an everyday application that had portmap in its dependencies, recommends, or suggests
but grepping through /var/lib/dpkg/available, I don't see any such app

gamin or fam, I think

gamin and fam run their own daemons
no RPC necessary
they use unix sockets

I believe one of the alternatives uses RPC
fam does.

I see nothing about portmap in the fam control info
that might have been where I saw it before, though

I have two box and I would like to backup all content of /home/ onto the second box every 24h, what is the best way ?

in retrospect, it does seem like it was fam

Perhaps take a look at rsync.

rsync for sure

I thought about doing a simple copy but then I am sure they are other optimised way that copy only the modifications
ok

aptitude search '~Dportmap'

i'm trying to create a 1TB volume group - vgcreate -M2 -s 32M vg01 /dev/sda1 but I end up with a VG Size of 280.25 GB how to get vg size larger ?

how can i get the nvidia-kernel package?

how can I list the users on my system ?
installed a package that created a user… I need to know what username it created

less /etc/passwd

ta

general protection fault: 0000 [1] what could cause this ? it crashes whole my system full error: http://pastebin.com/m72fac8ce

"general protection fault"??

rpm -q –scripts packagename is probably better.

Does the LIVE CD contain crypto-modules cryptsetup-udeb ?
and is it suitable for rescueing crypted fs?

Hmm.. or is it…

does anyone here use nagios ?

your kernel is tainted, can you reproduce this without nasty modules?

jelly-home: no, as i really need that module for my raid card :§

www.mail35.de

spammer…

jelly-home: where is it getting that information from? how come when I do apt-cache show fam, it doesn't mention portmap?

ah, fakeraid with a binary module? I'm not sure you'll get much help

www.mail35.de

.1.1-12), libstdc++6 (= 4.1.1-12), lsb-base (= 3.0-6),
!ops tommy15 spamming

Hydroxide, bob2, caphuso, dondelelcaro, doogie, eeyore-, ElectricElf, ):, helix, ljlane, LoRez, RichiH, mentor, Netsnipe, TML, walters, xk, gravity, azeem, Maulkin, stew, peterS, Alife, Myon, Ganneff, Maulkin, weasel, zobel: jelly-home complains about: tommy15 spamming

oh wait, you're right

www.mail35.de

how can i get the nvidia-kernel package?

Hello all , Is there any way to check if my ssh server is working fine?

ssh into it?

ssh to it?
DUH

fam isn't even in /var/lib/dpkg/available

yea jelly-home i know its fucking crap, but controller doesn't work without the driver

www.mail35.de

please stop that

I'm not even running fam, but for some reason, nautilus seems to be notified immediately when a file or directory's name changes
or when one is deleted

maybe you have the other one
gamin

I don't have gamin either

www.mail35.de

nautilus can't use gamin
other file browsers can
it's either polling or it's using some built-in kernel mechanism
and I doubt it's polling

[how] can apt-cache show me what repository a package will/can come from?

maybe Gnome uses something else to set up dnotify/inotify

isn't there some sort of kernel driver to replace fam now? I seem to recall hearing something about this

apt-cache policy foo might help

jelly-home: u think its caused by the driver ? or u think it might be something else

how in the hell do you pay attention to all of the channels you're in?

no idea

I don't think I've ever seen anyone in that many channels in all the years I've been on IRC

I don't pay attention to them all, but I do have my client monitor for various things (like people calling for ops, etc)

how large is your logical device?

what iss the grub command to turn off ACHI?

I heard about problems with XFS on large block device

how can i get the nvidia-kernel package? …

or people asking about the number of channels you're in? :p

jelly-home: i'm running xfs on a 5TB block device
working perfect :s so :s

!nvidia-kernel

nvidia-kernel packages do not exist any more - they were too much of a pain to keep in synch with kernel-images. To install an nvidia-kernel package, apt-get install module-assistant && m-a a-i nvidia

I see, it's working exceedingly perfectly

:P

thanks xand

if you can get your fakeraid working with free drivers, try asking on lkml or xfs lists

argh
"Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use "

jelly-home: it doesn't work with free drivers
stopid crap controller

sucks to be you?

m-a prepare

!kernel headers

http://uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html

I try not to buy hardware that works with unsupported drivers

i know i'm learned also now
:p

buying hardware for linux can be tricky

doesn't help

is there a way to 'mask' a package from apt? make it think it is installed so that other packages that depend on it will not be blocked?

note I didn't exclude closed or 3rd party drivers, only "unsupported" :-)

its supported

why is deborphan a binary? it seems like it would be a relatively simple script in any number of languages

by highpoint drivers
…;

we're running RHEL instead of the preferred Debian on some machines just to have support for SAN

Comments

Hi I do int table_X[4][4]={{01-10}{-1001}{100-1}{0-110}} to do some x=table[2][1] or so But sometime table returns

once you've done that, think about implementing it so that an arbitrarily high value of n can be provided.

moin

chao de, umi
chao ban, rather

is there a way to see if an initialized variable has been assigned a value?

yes, it has.
hence "initialized"

oh
well i mean like
int i;
but dont give it a number

that's only initialized if it's of static storage duration
if it's inside a function without a static hosting qualifier, then it's unitialized

i think i miss-asked again

the way you check it's been initialized is by making sure you initialize it.

i want to see if an element of an array has a value

it always has a value

so is it zero?

whether it's a garbage value or not depends on whether or not you initialized it.
if you haven't initialized it, the value is undefined.
this could be 0, or it could not be.
initialization can be explicit or implicit

so do i need to go through my entire array and set all the values to zero

you can initialize all values to zero of an array with = { 0 }; at the definition
eg. int x[50] = { 0 };
note. int x[50] = { 3 }; will initialize the first element to 3, then the rest to 0, not all to 3.

so wouldnt int x[50] = {} do the same thing then?

no.
{} is a syntax error.

ok

Hi, I do "int table_X[4][4]={{0,1,-1,0},{-1,0,0,1},{1,0,0,-1},{0,-1,1,0}};" to do some x+=table[2][1]; or so. But sometime, table returns values far beyond 8000. How can that be?

your code is broken, paste the whole thing
(to http://rafb.net/paste)

thx, I'll do so

or goto hell;

that reminds me of one of my ex-CEOs

:=

when someone told him about a problem, he'd say "fix it or fuck off"

lol
was it a winning attitude?

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

perhaps

I'm trying to build a usb-mouse with a ATMega8. I would love to get my old 1981-Arcade-Trackball working again on a PC.

looks too complicated (and uncompileable by me due to non-standard stuff like avr/io.h and usart.h) for me to immediately see the problem

ugh, what horrible code.

… it's just for testing. I'll clean it up to get a minimal-error-code

it's usually best to keep the code clean as you go
but anyway.
off to an airport

But maybe it's due to avr-gcc (GCC) 4.1.0 or avr-libc 1.4.5-2

position_X += (int) table_X[i][j]; shows problems with your basic notion of how c works, since you cast an int value to int.

i doubt it's your compiler

^^ …

back way later.

is there an actual time when preprocessor directives take effect?

which char set is this encoded in ?
%4E%6F%20

yes.
take a wild guess. you may be correct.

while ascii would be NoSP

is it during pre-compile time? it seems there is no certain time it takes effect.

that representation is typically used in URL encoding

there is a certain time.
review the translation phases.

okay thanks

*lol*, I cleaned up the code for my trackball-interface, and I don't know why - but now it works (I hope for long) http://rafb.net/p/lMrTGN43.html

is there any specific difference between the initialization and the assignment of a variable?

it's encouraged initialisations be constants
and be positioned at the start of a block
i.e. instead of
{ int f = 0; … if (…) { } int p = foo(); … }
you have
{ int f = 0;int p; … if (…) { } p = foo(); … }

why is that encouraged, exactly?

so variables aren't seemingly randomly popping up, difficult to keep track of

it seems more naturural to declare variables as they are first initialized

heh. sometimes cleaning gets rid of the bugs. often it puts them in too, so be wary.

i've understood what initialization is, but what's assignment exactly?

no, that makes it easier to keep track of, imo

well, conversely, in C++, it's exactly that idea. "declare it where you use it" and also assigning nonconstants in initialisation
I prefer to declare all variables I use at the start of the block it is used in

that doesn't make any sense

what doesn't?

initialization is 'declaration and assignment'

there doesn't seem to be such a large conceptual difference between C and C++

there isn't. I'm talking about "recommended practices"

that it's encouraged to do it one way in C and another in C++
if there's any good reasons to do it either way, it should hold for both C and C++

AFAIK I'm referring Bjarne's recommendations

otherwise, it's just personal preference

well, it might be that objects in C++ have constructors and it is expensive to construct them and the assign a value to them. you might as well wait and just assign the value at initialisation
er, "and then"
that's not an issue in C

that sounds awfully like premature optimization

it sure does
but the practice has merit regardless, doesn't it? (being your preferred practice)
thus it's just an additional advantage that it happens to help speed up your C++ programs a bit

yeah, but I was just wondering if there are real reason to do it either way, or if it really just personal host pref

Construction of objects in C++ is hardly any less efficient than in C. Not even copy-constructors.

ok

As long as you use the initializer list, you don't experience any overhead.

if you declare an object first, and initialize it later, it will be initialized twice
afaik

Yes, but that is bad practice.

lol

hehe

which is what we were saying…

That's just the same as initializing arrays in C with memset, even if they are overwritten afterwards.

"later" is not initialization.

well, ok
it's an assignment

the fact is, two objects are created instead of one

and an initialization of an anonymous object

T foo; foo = bar; /* two objects allocated */ T foo = bar; /* one object */

However, objects in C++ is in general more expencive to create than in C, because of exceptions and functions called in constructors.
s/is/are

yes
what is your preference? declare it at the start of the block, or declare it as you use it?

why do exceptions made it more expensive to create C++ objects?

Well, exception try and catch blocks do greate overheed, and more code.
Try for yourself, and look at the assembler output.

do you have any idea of what you're talking about?

which is your preference?

what do exceptions have to do with creating objects?
start of a block, but I'll happily introcuce local blocks
introduce, even.

indeed, introducing local blocks doesn't deviate from the "start of block" practice anyhoo

Well, you might want to catch exceptions your member variable throws.
Depending if you do something more in the constructor than just initializing members.
Instead of questioning me, perhaps you want to tell me where we disagree?

I think you aren't thinking.
what would you do in C, instead?

I would probably initialize the object inside a function, and return an error code.

GOOD-OLD-1981-Trackball is working with my ATMega8-avr-gcc USB-Interface *yeah* ;-)

so, what is the cost of an unthrown exception?
how wonderful.
you can now track your balls reliably, I hope.

ever ;-)

catch exceptions, constructor smells c++, smell like middle level
not low-level

Probably just the cost of a compare.

so, what was that gibberish earlier?
and why do you think that an unthrown exception costs a compare?

ace

what is the overhead due to an exception that is never invoked?

I said probably, because it depends a lot on the layout. And what answer do you really want? The number of cycles?
Instead of making me look as an idiot, please contribute with something yourself.

you have no idea what you're talking about.
it doesn't depend on layout.
what does an exception need to do if thrown?

Unwind the stack until it reaches the first exception handler for the type thrown.

to me, c++ says use boost, not to implement something, but low-level..

so, how much does winding the stack cost?
to me, c++ says "use something else".

anyway *use*

wouldn't an invoked exception cancel the object creation anyway?

yes, but start by considering the case where an exception is not invoked.
this will give the base cost.

If a member object's constructor fails, the main object is not created. Correct.

well, the creation is aborted.
it will generally already have been allocated
otherwise you could not use pointers to members in the constructor.

I don't see why there would be cost if no exceptions happen
mostly all I can think of in terms of expense is calling constructor functions that the code ran inside them
er, 'and' not 'that'

you haven't thought it through then.
what does an exception need to be able to do if invoked?

I don't know, I haven't studied exceptions. would it need the ability to abort the object creation?

nothing special about that.
but it does need to be able to find every handler on the way back, including destructors.
so you can look at the cost of managing that information in case of a potential exception.

aha
not only the object, but all the objects allocated within it

not just that, but it needs to be able to find all objects created before it with auto duration

what do you mean by "auto duration"?

auto storage

oh right
can you think of a term that completely encompasses the feeling of "been there, done that"? for example, if someone were to excitedly start to tell you about something they have discovered recently, but which you have been aware of for a long time and of which you are now bored, and so because of that you are disinterested/indifferent/apathetic/bored

jejune?

hmm

jaded?

oh, jaded might be it
I'm looking for the word that encompasses both the feeling and the _reason_ for the feeling
aha!
jaded . dulled or satiated by overindulgence
that seems perfect
thanks Z

welcome

blasé also seems to fit
(after using the thesaurs on jaded)

a better fit

ah

Oo

Stoke?

hi

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

LOL. have you heard about the encouragement of procreation in Russia?

no

hi Chris

http://www.dailymail.co.uk/pages/live/articles/news/news.html?in_article_id=471324

um, that's Perl
this is ##C
(c_newbie)

i know, the sample was php, i failed to convert it into c

oh, php
close enough
well, C doesn't have associated arrays
associative, even

so basically, it cant?

well, C doesn't have associative arrays.
cool

hash?

not right now thanks

lol

i guess ill go with multiple if

what exactly do you want to do?
a constant array is no problem
associative arrays are sometimes impliemented in libraries
s/ie/e/

i just want to create as same as the paste-url ive shown you.
so i can get easy calculation

shrug, PHP makes my eyes bleed

lol, I have an interview on Friday for a job using it
spit on meeee

ghastly

make me feel cheeeaaaap

using what?

(I'm a masochist etc)
php
and also they want C++ and C# experience, of which, I have a bit

right

what do you think about the job?

where?

sounds good. I'd be the first developer in the company (they use an externel dev company), so I'd have some freedom of creativity

sounds greeeaaaaat!

I have nearly 100% creative freedom

I don't really want a stressful job doing difficult things, I just want a "job on the side", so I can work on my own projects/interests in my own time

I even suggested using an ircd as a messaging server for a bunch of custom daemons on our system

of what does your job consist?

ppl also important, are they nice?

shrug, i make some software

pardon?

people than job content

what does ppl stand for?

people, generally

that's cool. it's annoying when the hosting company won't allow you to implement something useful because of FUD

yeah

can i use vector?

C has no vector
were you using C++, you could probably use map.
but I don't speak C++

oh ok

is there a function in string.h that will let me compare a parts of two strings witout comparing the entire string. Im trying to get a function that will tell me "list" and "list parts" are equal strings.

strncmp

yes.

is that like an advanced strcmp()?

yes, it's got 50% more parameters

found it, thats perfect thanks

lol

hey Chris, my USB-Trackball is now working ;-)

wonderful

I just cleaned up the code and now it works ;-)

must've been too much dust in the Veeblefetzer, honschu.

Veeblefetzer? Is this a sort of beer?

it might be
back in about 14 hours, please refrain from discussing anything interesting until i return

lol

ok

!udict interesting

(adj) Something which arouses no interest at all. Used to politely avoid admitting this, which indirectly expresses your indifference. Example: Yes, your bottle cap collection is interesting.

lol

bah

I know, I know

sup people

hi, what is the best way to match on string literal inside another string? is it fnmatch() ?

just use bison

Comments

something happens when a post a new content on joomla 15 the content appear like undefined anyones know how to

hi does anyone knows good images pack for joomla article publishing
the default clock, asterisk etc are not so apealing
so i was looking for some good collection of images

hello, something happens when a post a new content on Joomla Services 1.5, the content appear like "undefined" anyones know how to fix ?

joomla 1.5 … is there any particular reason not to use it on a live site?
huh?
is there?

can I use joomla on googlepages?

n, u need php and mysql

ok

how do i make it so regular users can submit news, it says they are not authorized.
still want it to require approval before it goes on site tho

yes, for example that it hasnt received a security audit yet

i want it so that, anyone who decides to register can submit news.
how do i change the properties for groups?

http://cobweblive.com
my left menu does not get completed..it stops to only the number of modules i have and remaining part it shows me the background of the body
what should i do?

search forums for "create users as authors" or look into addons JA-submit or http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,2587/Itemid,35/

thank you

also i have specified table.moduletable td ul{
list-style-image:url(../images/main_button.jpg);
}
i cannot figure why it's not showing an image on the left of the main menu
supergreg..could you please check in to see what's wrong

table sux
:Z

then what should i do?
also the site http://cobweblive.com appears bad in IE…can someone tell me why? I have validated the css and xhtml
i am badly stuck with these two things
noone? :/

man this is gettin under my skin, i want to do a very simple thing and this shit is making it way too complex.
they want $ for JA-submit, and the other one i have to set permissions for my entire site all over. wont even let you log in as a user.
i just want users to be able to submit news, i don't want to have to set perms on my entire site.
on every single page.
man fuck this

supergreg, oh, right, well, too late now
coo, ech0ish was way, WAY confused!!

does any good newsletter script exist for joomla? I want users to register with their e-mail and then to be able to send them monthly e-mails
I want to use my own mailserver

CyberCr33p, check this http://extensions.joomla.org/index.php?option=com_mtree&task=listcats&cat_id=1792&Itemid=35

most of them use a 3rd party service. I want to use my mail server
I think I will use a seperate program
and wrap it on joomla

CyberCr33p, if so….make it available in Joomla dev center , so that..
those who want, they can use that code…

it will be external program
I will just use a wrapper
to include it to my webpage
when I have more time I am gonna to write a small component
for joomla

anyone here own a pda cell?

can someone check this cobweblive.org
in IE6

NiaM_, can't it work in firefox…getting 404

it works properly on firefox at my end
http://cobweblive.com/
pratyush..here is the url
that was incorrect sorry

NiaM_, i was about to say that only..check the URL d00d

:P

ive got a att/cingular cell phone for work and a verizon as my personal cell, wanting to get a pda with the att phone

DrDigital, apple Iphone…..
NiaM_, gotcha….but font's…not that much good bro

Which font looks the best?
i think i am using Times roman now

make some thing , some curved fonts,rather than using boxed
*use something

umm…did not really get you
font-family:"Times New Roman", Times, serif; this is what it is right now

NiaM_, any one can register in your site?

nope
actually ya
i don't really know
not much of a designer
just learning…more of a php services person
just learning…more of a http://www.oxxus.net">php services person
:P

what is the font size?
can you make it a bit -1

as in decrease the size?

NiaM_, the menu items are very big…
NiaM_, yes

also in my menu the upload your images online is not appearing
table.moduletable td ul{
list-style-image:url(../images/main_button.jpg);
}

oh!…

can you tell me why?

NiaM_, well not so sure…

heheh
k

im thinking of canceling my phone and dsl and getting comcast instead
for just internet, i already have skype
and get this in august
http://news.com.com/HP+device+marries+Wi-Fi+and+cellular/2100-1041_3-5282083.html

NiaM_, make the it as background rather the list-style-image
may be it will work…
url(../images/arrow-off.gif) no-repeat 5px 4px;

tried
did not work

hmm

does it have to be a .gif?

NiaM_, no need

hello
whats going on here?
is there a bot for automatic thumbnail generations?
no gallery or anything like that
just somethingn lke {thumbnail}path/to/file.jpg{/thumbnail}

you know in an article where is has "written by administrator" and the various mailto/pdf etc icons?
how can I get rif of all that?
s/rif/rid/g

robin_sz, remove the author info..at the time of publishing or editing the content

found something on jed
never mind

and the mailto/pdf icons?

danZenie, http://extensions.joomla.org/component/option,com_mtree/task,search/Itemid,35/searchword,thumbnail/cat_id,0/
robin_sz, at the editing there are options for the global icons..like pdf/mailto etc

ah,
ok.

robin_sz, un select them…

so somewhere I can change the global defautl to be not there?

robin_sz, yes..

one day I'll figure out wht the difference between a section and a category is
im sure I knew once, but tis gone now.
hmm
well, it doesnt seem to be in the global {site|system|server} config

robin_sz, hmm

preferecned

preferences even
sigh … set author/created/modified etc all to hide, article is set to "use global defaults" and .. they still appear

yes. its a beta.

hmmm …
and the top menu … when you select a menu item to have another item as its parent .. it doesnt seem to have any effect, it just appears as a top-level item anyway
hmm maybe I'll go back to 1.05 or whatver the release version is
that or stick with my TT2 powered site for now, wait until 1.5 comes out of beta

so
has anyone here had any luck finding joomla-friendly themes for simple machines forum?
because I'm sick of trying to hack this template to work
I'd try phpbb but I don't even want to go there
I don't trust it
oh ffs… it broke fireboard on me
white page of death ftl
oh it was the JSMF index patch
fucking stupid assed bridge
I take it everyone's out partying? :p

I am in austin tx and it is raining so I am around
anyone else out there

yeah

algum brazuca?

what are some good module content listers
Im finding limitations like not being able to turn off titles or displaying bullets too far indented to the right on the two I have tested already

hi. I've installed joomla on my ubuntu OS, with Dyndns. I've got a problem with the contact, when i try to compile the form it pop up me "make sure the form is compiled correctly" and it is!!!
somebody can help me please?
do I have to impost the firewall for php mail function work?

Help please I have $db = mysql_connect("localhost", "user", "passwd"); in a homegrownphp file under joomla which works but when i try
$db = mysql_connect("localhost", $mosConfig_user, $mosConfig_password);
then i wont
and if I echo $mosConfig_user just a line above it will print the value of it correctly?
mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /opt/lampp/htdocs/mosaddphp/invoice.php on line 12
is what it says
msg nickserv help identify

hello

hey, i have a question about paypal… does anyone have a paypal account here
do you only pay a percent on the transactions..
or is there a monthy charge

only a percent
of the transactions

ok so …
i can sign up for a merchant
and if i dont sell anything

yeah tis cool

i dont have to worry about charges.. correct?

i dont know
i sell stuff on ebay
so i have the mechant account

yeah
i want to sign up for that but
was wondering if it charged anytying
or just percent

hi all
I got a question, how can I make it so that someone can post something to the frontpage w/out using the 'frontpage manager'
I was thinking it would be something like changing the blog section to be part of the frontpage but not sure how to do that..

what do u mean chun

I wanted to make it so that I could submit news to the front page
instead of using the 'front page manager'

explain more…
u want users/guest to submit to the front page?

a publisher user
w/out needing to use the frontpage manager

i thought that when a publish submits.they have the option to put on front page
right?

I know there is a 'submit news' link on the front page, and as a publisher when you use 'submit news', type something, and click apply or save it will put items in the news section, but not on the front page
i can't find that option to put on the front page nix
the only way I do it right now, is i use the 'submit news' link, and then log into the administrator interface, find the content item, and then click on the frontpage button

Good night. What is the problem in http://lvxnox.org/teste/ ?
Table 'lvxnox_wp1.jos_session' doesn't exist SQL=SELECT * FROM jos_session WHERE session_id = 'a934e318efb0b0b3fdae4cd2f1240a71'

confirma que a tabela jos_session existe!

no phpmyadmin?

atraves do phpmyadmin, pode ser

bye

whats up everyone
everyone sleeping ? :O
bleh ;/
has anyone here messed with flash for a joomla banner?
alguem ta aqui?
:/
jeez 73 people afk :P
sup samorph
and incubus

shaiz yes ?

just saying hello

sorry, heyyo

howdy!
can i somewhere set my "Page Title" = hide by default?

in the general config spiekey

in the global configuration? Are you sure?

What language is Joomla built with ?

yes i am sure

Its not in "content" or "site"

what version of Joomla! are you referring to spiekey

Comments

ok i have something that is confusing me big time I have the following arguments in a file that is being read

mmap can fail you know

it works for now because after the end, memory is filled with zeroes, but i'm not sure if it will always be

yes that too

that question is probably offtopic here

you can invent any buzz word/term you like.. politicans are famous for it.

know any more approporiate channels for that?

you can write bad code anywhere - we'll let you.

umm, what's wrong with mmap here?

told you - you ignored him

except for the end of file, of course

huh?

"mmap can fail…."

but malloc can fail too

certainly - so what?

and…?

so looks like there's nothing bad in using mmap
or is it?

anything can fail, and even report the fail - we all these 'returns"

so two wrongs *do* make a right, whew, glad we figured that out

hehehehahahA!
all [call] these

malloc()'s return value should be checked as well

damned right

aah, i get it

As a virgin, you check EVERY RETURN - once you get some experience you learn how many you can ignore/trust until later.

well, i do check the value, just omitted it to fit it all in one line and make readable
uwell, i do check the value, just omitted it to fit it all in one line and make readable/u

good luck.. Stay well

I need to replace every instance of FOO in a file with a string that is longer and then ship the result to another function. Should I scan the file for the number of FOO instances first so I know how much space the changed version will take? or should I realloc as needed?

hey guys

functions don't use macros. They are already compiled - try again

where do i find what each DT_* constant means? .. i dont know what FIFO and CHR and DIR and BLK and so on is.. (maybe I know DIR :-p)

this isn't a C macro. It is a "macro" for the text I'm processing.

then you are interpreting - do what you need to do what want.

that depends on the situation; one possible solution is to assume that the file is comprised of nothing but FOO and so you allocate the largest possible result and avoid any realloc()ing or checking

pizza_ FOO will be uncommon and the files are a bit big
interesting idea though

it's too hard to help folks that ain't even sure what they are thinking they are doing to tell us what they expect to happen w/ insuffcient info

I'm sure what I want to do
I need a string that is the same as the contents of the file but with FOO replaced with something longer

fine, then you know what to do/output.. What's the fiven/input? In between is a function.

then in that case you may want to do realloc() as you go; more complicated but faster alternative is to realloc() extra room at the end every time you run out, so instead of N realloc()s you do N/M realloc()s

fiven/given

Careful with realloc()s, this operation has a cost.

pizza_ so M is the size of the blocks I'm alloc

is that statement correct ? "plans on studyng C++ hardly"

That's why I'm thinking I could scan the file first to know how much space to alloc

is it just me, or has ##c really gone to hell these days?

the umpty O() realloc shit doesn't interest me.. Folks better grasp wtf they expect and output and write what's in the middle

M in that example would be the difference between the lengths of FOO and what replaces FOO

I suspect it's summer-school

sorry, actually, that would be backwards. oh well, i screwed that up

pizza_ I get the drift

basically, say you need an extra 5 bytes per replacement, give yourself an extra 500 every time and you only need to realloc() every 100th occurence

dude, if I read that - you'd find the bit-bucket.. So, go edit and ask after a day or seven of editing

ill be there on monday eahaeheha
i calling F7 on it now.

where do i find what each DT_* constant means? .. i dont know what FIFO and CHR and DIR and BLK and so on is.. (maybe I know DIR :-p)

What's up?

well, I am here every day - but my interpreters and patience is limited.. Imagine the idiots in Personnel.

i allocate one more byte so there is always some space for a

some told you about mmap - and you have no damned idea what yer doing.
some/someONE

Some people learn by trying to accomplish a goal

so what?

You could specify a constant for a SIZE, when you read your file, when you reach that SIZE you realloc()

They bug the channel for weeks doing that and still never read or test?

i don't get it. i check the return value, what's wrong now?

what is your motivation to be here?

t? a Toaster
goddamnit

Are you bugged when I ask how you do?

don't do that when I am typing - ask first - and no, not today.

oh ok, sorry

foo-nix: I am fine. I am tired. I am trying to help others and cogitate my own code. No, I was not upset

well its only one page with font 14, cant you have a little look ?

Ah, good, computer says NOoOOOOooOOooOOoOoooOOOOooOooOO?

apparently, it lost a full line of post to ##C to prompt a dcc and then I could not recover. !@#(*&!@#(*^Y!! Besides, it;ll take you a few days and I'd recommend writing text or html anyway
the damned client basically said"
"line? what line?"
remember - this "resume" is going to need to be stored, edited and printed for years to come.. ASCII or html works ;-)

true, ive allways had a swx and a pdf

KISS principle
Some places, you can email a resume

well i think its "ok"

Anyone sends me FLUFF "documents" gets junked

i was afraid of writing a resumé that would look as a sysadmin profile

begin with a simple 1 page print. If you can't say it in one page, you better have extraneous info or be an old fart with a doctorate
folks want yer entire history in one page

well its everything in one page, ill pass it to html and post

are dynamic libraries required for running the software if software compiled using static libraries? (openssl)

you can even secure email server me.. My head isn't there today anyway.

Hey [M]Fox are you there?

if you run a static hosting program, then dynamic code isn't a real issue - pretend the system has died.

Hey Arpa121

what is a nice word to replace "very good"

Com to IM [M]Fox
come*

i mean, im putting stuff like, good knowledge of xxx,

you need a thesaurus.. excellence/excellent/exceeding-expectations/etc

Yahoo! ? well, you're already being in my ignore list

:-l why?

I think it is considered better to say things like "I developed…" then "I know…"

the thing is that i didnt developed :/, i mean ive learned 99% of stuff on home, i have little proof of knowledge.

ahh ok

i dunno, upon a time i've seen you ignored

my only "proof" is my unfinished and abandoned msn client

experience/exposure/practice - again see a thesaurus. Every programmer needs a thesaurus

pls forget the Yahoo!, it sucks

any programmer w/o a thesaurus makes my skin crawl

heh, i use my thesaurus everyday.

folks should - as usful as a dictionary

how can i decifer what is causing a bus error? i am using truss in solaris
i am using the "truss" command in solaris

I don't wwar a truss, and truss was easy from linux - once I learned the "rules" of the game.

and i have the dict client for my dictionary :P , my vocabulary has declined after graduating highschool. It's rather sad

yes, thesauruses are very… "good"

good!

not really "decline" - more like… I don't need to screw around, I have the basics… BIG, /huge/ diff
when someone has a dictionary and a thesaurus, all you need is "in context"

hi everyone…. i want to know, what would be better to use when coding an SDL game… c or c++?

A lot of my own "english" was from reading novels as a kid.. For years I'd asked Mom-the-English-Major.. Then I got the books and learned to work out "in context" - it matters, folks.

someone told me to use native c, but i can imagine of an advantage using classes from c++

wow.

dude, yer welcome to code C++ - over in ##C++

PoppaVic, :-)

years of reading books and saying "Ma, what does "…." mean?"

PoppaVic, then perhaps you can tell me the advantages of c against c++

in ##C??? Get real

use whatever you feel the most comfortable with

pizza_, k, then i think i would prefer c++

can i use inline functions inside for loop conditions?

there is no harm, as a child, asking folks/friends what something means.. It's like asking "Why?" all the time. Meanwhile, learning to view it and use tools isn't bad either.

I'd hate to ask questions constantly.
Why is that?

iota, because of the classes.

isn't Einstein being quoted for saying something like "It is important to never stop asking"?

great. off you go then..

As a child, I always asked "how", "why", people began to give answers that didn't answer the question.

as a kid, that is what parents/grandparents/uncles-aunts are for.

I stopped asking, and began searching.

not remotely bad

I never really got my questions answered..

kothog, very kind of you

I became lazy to ask, thereafter.

plus, it's not the answer that counts, most of the time, it's the ability to find the answer yourself. asking questions should be tempered with the realisation that the answer is likely to be incorrect.

imagine any kid old enough to understand privacy/shame asking "Ma? WHat does 'Suck it up, you bitch!' mean." (etc

if you kept being curious, that's fine I guess ;-)

kothog, am i disturbing you?

the answer always matters, but learning to learn seems to escape many, many folks

I usually asked questions about creation; I was very interested, in knowing how the world was formed, religion didn't provide the understanding I required.

what, by telling us all you have a preference for c++?

kothog, i told it to iota because he asked me and not to all

I don't do religion, and I had the bible AND time/life books. So, it's just another "why?"

there is no harm, as a child, asking folks/friends what something means.. It's like asking "Why?" all the time.' well now back a few hours when i asked a question i got my answer and then you give me the impression i never should have asked. why are you thinking about it differently
now?

he's a man of many contradictions…?

Programming, (in my point of view) is a world on it's own, which is mastered by the languages ruleset. You are lord, and master of your own code.

mastered by knowledge of syntax?
yikes.

Yes, or language syntax.
Ruleset, etc.
I've read the bible, quran, torah, anything I could get my hands on.

religion is a seriously PERSONAL view and mindset.. No one is ever going to try to answer the questions (GODS do not care) - you can ask others. shrug

Nothing answered my questions, and people whom I find to be religiously.. religious, seem to think me insane for being agnostic

beg to differ there dude. syntax enables expression. what makes mastery of programming is the science behind it, not the grammar. anyone can learn the grammar.

ok i have something that is confusing me big time…… I have the following arguments in a file that is being read into my program….. ^.*\.txt txt files/txt Text Files what a place a slash before files so ^.*\.txt txt /files/txt Text Files … I get a bus error… if i remove the "/" and
leave the like so ^.*\.txt txt files/txt Text Files. the program works fine… what is causing the bus error?

Yes, but you're drifting to other affairs
The mastery of programming is the science of knowing.
Defining a goal.

Last I saw, he never hurt others intentionally.

no
programming is getting shit done, as portable as possible.

I just wanted to point out that I think your definition of programming is too narrow and implies cubicle-monkey cobol maintainer guy. I understand what you're saying, and a mastery of a language allows fuller and more meaningful expression. But mastery just of grammar does not a programmer
make. that just makes a good reference book.

so anyone can help me figure out my problem please?

programming is more like cooking (and vice-versa) than anyone ever wants to teach.

just wondering what support channel this is when you come in for help after you have tried everything you can do (well ok i didn't have much that could help, i was unexperienced of segfaults and kinda am still.) and get sayed that you should have tried more? i'm still learning, and the term
"segmentation fault" is new for me, debugger i have never heard of.

yea.. cooking!

My ambition in life is to know.
I want to know
To develop, create and sometimes destroy.
Yes, defining a goal.
And working towards it

a cook can damned well learn to program; a programmer worth shit can cook.
ouchies - too many choppy lines

i've heard that analogy before. and the syntax of cooking is a kind of sub-branch of chemistry.

"to KNOW" is not to _do_
yeah, I've heard chem/cook related - they tend to forget someone has to taste/eat/experience it.

alton brown is a good cook.

I _know_ how to make rabit-joints/joining.. I Lack the tools and patience for much of cabinetry.

I never claimed knowing was doing. But knowing, enables you to do, whether or not you choose to. Understand, if you can, that without knowing there would be no doing, I program because I enjoy knowing that the capability of creating "my own" is in "my hands" I am lord and master over my
code.
And if you execute my code, you are subject to my creation.

no
See, yer still confused

the *expression* of cooking is the presentation, the audience, the interface between food and gourmet.

and now when i have got into a dead end again with sprintf i am doubting should i ask at all, in the doubt i would be called a lamer and would be mowed down :/

yes, expressing this is where iota is screwing up

i gotta figure out a clearer way of explaining it in the future..

- officially - is not what you _do_

_-_

learning to speak of it, and do something closely akin IS akin

Incurred fault #5, FLTACCESS why does placing the "/" in a text file cause this much problems?

well… like "the five mother sauces"
I can't remember half of them, and almost all are just a baseline to reach some other place
programming is the same idea of learning about basics to reach a place.

:-) yes.. I'm trying to push my wife to go to get her chef accreditation. would be *sooo* cool.
b:-) yes.. I'm trying to push my wife to go to get her chef accreditation. would be *sooo* cool./b

dude, don't noodge her.. I helped sis thru the courses.. Just invest in the hardcover "joy of cooking", maybe a few more books, and _practice_
it's almost 100% the same as programming, really

Am I on ignore or something?

I can see you

she's already way past that. when she makes chocolate-covered coffee beans, she uses my roasted beans, and individually paints them with flavours of chocolate. she has a half dozen hard-core cookbooks and can do things with food that I dream about.

worse, she could end up like I am.. I can cook shitloads for all sorts of folks… But wtf for? they don't care or pay shit.

lol, ok, its just i asked quite a few questions and none even a peep or a doc to read lol

ah, but if she has her chef accreditation, she isn't going to be forced out to work. she doesn't need to. she is free to experiment, and I'll buy her the kitchen she wants.

yeah, I've too little experience with baking/coating - although I've eaten coffee-beans before.

she individually selects the chocolates.. has the forms prepped.. man you should taste the truffles she makes.. aw yea..
ushe individually selects the chocolates.. has the forms prepped.. man you should taste the truffles she makes.. aw yea../u

yeah… Part of the issue is experience/organization/speed (sounds like C, eh?;-) and the other is - why bother? Watch that "Hells Kitchen" crap - I'd kill that mutha'-fucker - but meanwhile, his bleeping makes "good tv"

that guy's very amusing, I don't watch that show enough..
haha I totally just drooled on my desk.
doh

I find it "amusing" only in that I'd kill him very, very dead. And - frankly - I might kill my coworkers.. This makes me a "homicidal-maniac" - but I don't trat folks this way and I refuse to treat them that way.

hmm

yea you don't wanna be going around in irc saying stuff like that. :-) so you're a cook now? sous-chef maybe or..?

trat/allof folks to treat me

is there any way of adding a character into a string else than sprintf()? i think i use it right but it causes the segfault :/

I've been as high as chef, and hated every moment - it tended to mean "don't rock the boat, but yer responsible - now give me a menu"

too bad. yea there's a spot I go to that's a chain restaurant, and the kitchen manager there tells me he's thrilled when I show up because he makes these insane hot wings with this sauce he developed and won contests for, but isn't allowed to cook normally because it's not on the official
menu.

I've no interest in ever again getting hired as a programmer, or a "chef" or "shift-leader". Fuck 'em all.. Just pay me to show, do the job, and go home.

and basically I have my own pot, own spoon, own section of the kitchen there cordoned off because they can't be used to make any of the normal fare.
totally rules. I love that guy.

Learning to cook is like learning to program or read. Enjoying sharing talents with folks that care is also nice.

what is a good debugger?

he wanders out of the kitchen and delivers the wings personally, with a flourish and everything. big, sadistic grin, but honestly even though they're at my heat threshold, the flavour is the best I've ever had the pleasure of tasting. after three years he even gave me the recipe!! has like 15
ingredients dude!

sure

even parmesian cheese, of all things. that one surprised the heck outa me.

e's HAPPY because someone cares and listens and enjoys
he's
he's "sharing"

he knows I appreciate it, and it gives him a break from the same items day in and day out. I don't go up there enough I think.

chances are, his _cooks_ and /dishdogs/ do _not_ enjoy, and that most waitstaff never thought of those two.

but the drive is like.. two hours just to get there, and the gas I go through is pretty expensive.

btdt

they all get in on it, come over and chat with me, I talk them up everywhere, and they give me free 2-for-1 coupons and stuff. pretty much the whole staff knows me there and cheers when I wander in the front door. :-) Big place, too.. I guess I'm just appreciative of their efforts and they
tend to respond to that.

bthey all get in on it, come over and chat with me, I talk them up everywhere, and they give me free 2-for-1 coupons and stuff. pretty much the whole staff knows me there and cheers when I wander in the front door. :-) Big place, too.. I guess I'm just appreciative of their efforts and they tend to
respond to that./b
bthey all get in on it, come over and chat with me, I talk them up everywhere, and they give me free 2-for-1 coupons and stuff. pretty much the whole staff knows me there and cheers when I wander in the front door. :-) Big place, too.. I guess I'm just appreciative of their efforts and they tend
to respond to that./b

must be an unusual place. Usually, only the manager, waitstaff, chef - hear dick, and the majority of the work devolves on the cook-drones and dishdogs
stay well
heh.. still sounds like programming to me

so anyone willing to help me a bit please? I would honestly appreciate it


now i replaced sprintf with strcat and it still doesn't work

no idea - never listened
strcat tells me you are quite likely skullfucked

ok, would you mind if i re-explaned it ?

big, since I'd need to read my raw-log, go for it
worst case is the bots punt you

ok it will take a bit bare with me

well what else could i use? sprintf causes segfault, strcat causes segfault.. *sigh*

show what you're doing and what you want to happen

maybe you want to rafb one single GIVEN, have, EXPECT url

almost certainly you're making a mistake you don't realize.
!testcase

A testcase is a minimal compilable example exhibiting your symptoms. Please paste a testcase at http://rafb.net/paste to help us assist you.

sprintf works exactly as advertised. snprintf lets weenies feel they wear a diaper.

I wrote a program that grabs args from a conf file using regex and such…. in any event this is an example of one of the lines .. ^.*\.txt txt files/txt info of txt files … (not including dots and such) I have about 30 or so of those lines… they work fine… when i place a "/" prior to
the dir files /files/txt it errors out after reading all 30 lines and gives me buserror

what can i do to figure out the problem?

if it is that same code same, it is not because of sprintf, it is because of you passing it an char * to unitialized memory for the destination strnig.

yer wrong at least three times

yeah, except i changed sprintf to strcat
hmm

PoppaVic, explain?

co now you are cattin onto an point to char that doesn't point to any allocated memory. If I were strcat, I'd segfault to

so, rethink the issues and post a GIVEN, OUTPUT, solution,

let me try that agin. what bed typing on my part!

hmm

there are still books that advocate strcat - worse, there are classes.

So now you are strcat()-ing onto a pointer to char that doesn't point to any allocated memory. If I were strcat, I'd segfault too.

strcat is no more useful than strlen

sprintf is scary

so should i first strcpy "" in there first?

sprintf is simple

not if you understand how it works.

"scary" is folks w/o a clue wtf a "string" means

understanding how it works doesn't help the thousands of examples of bad sprintf code all over the place. it's scary not because I might use it incorrectly, but because lots of people tend to.

no, first your char *res; should have a res=malloc( somelength );
then you actually have some meory associated with it.

oh, well - "bad examples" - sheesh.. Don't blame K&R or C

or be declares char res[100]; or something

ah

oh, no certainly not.

so it's not got anything to do with sprintf

what book are you using that negleted to tell you this?
no, it doesn't

folks suffering head-up-ass Syndromes are why examples and tests and docs all tend to blow - and I include the C-std commies

but it crashes there because you told sprintf to write into a random place in memory you didn't own in your process.

hmm
i kinda get it
yay it works

that is good. I'm actually surpirsed I remembered enough about your code this AM to say all that.

yeah, so am i

sprintf wants a buffer of a proper size. And it wants fmt-string to tell it what to send there; and it wants vars to fill those fmts. That's it. Period.
all snprintf() does is allow a programmer to get stupid/sloppy and decide the size at the beginning.
…and folks will STILL nuke themselves
brb - lemme recycle

snprintf is perfectly useful. (shrugs)

hmm "connecting" scrolled over "disconnecting" over "authorizing" - weird
goddamned keyboard

can you share FDs between a parent and a child?

using usocks, yes

what is usocks?

otherwise - rethink the issues right NOW
if you need to ask, start thinking it over

unix sockets?

yep

okay
well you didn't say unix sockets
you said usocks

I sure did

like its some alient piece of software
then you expected me to know what you were talking about

usocks/isocks
yer going to do the same with a handle
there have been really, really few demo-programs I've sone that need/do that. And, usually some idiot wants more info. it's scarey
sone/seen

well I'm not some idiot
I know why I want to do it

cool! ;-)

some people just can't be expected that they know everything about everything

What's fun is watching "some idiot" get defensive! ;-)

so i'm "some idiot" eh?

I hate it when you answer questions

hehehe
well, yer welcome to ignore me and watch for others ;-)

But somehow, most people who do know what they are talking about say something like "you should listen to PoppaVic"
Odd, itsn't it?

it is possible to recover from SIGBUS?

the fun part is - you can know all you want, but you stil need to express it and ask that question to other folks.

I asked the right question
"How do I do X"
"this is how you do X"
very simple

and apparently you got the right answer

only you answered the question in a profoundly stupid way

otherwise, you expected too much shrug
ahh.. OK, so it's my fault.
Silly me

0 and I'm
I'm going to leave this until monday

big deal

it would have been smarter perhaps to goole 'usocks' and realizes it is a common abbreviation that to complain about someone using a common abbreviation.

I googled it
that's how I figured out you were talkning about "unix sockets"

then there's no need for all this unrest

he asked me, and that's fine - I always feel I use that term "special"

if you can't be bothered to type out the additional 7 characters I'd hate to see what ANY of your code looks like

so why did you ask "what is usocks?"

C is the product of someone who couldn't be bothered to type out those seven extra characters
look up B :P

I didn't type it, don't continue getting all passive-agressive on me.

- why not just ANSWER me"

peapicker; do you really want me to walk you through the timeline?

I read the whole backlog

I figured you did ;-)

"what is usocks"
….. no answer

product placement ^_^

google
answer
"you mean hosting on unix based servers sockets?"

is foo++ or ++foo approximately atomic?

can you please -o? you're scaring me…

I've no prob with folks that don't like me.. I *do* have issues with them not liking me because they just {want,deserve} and "answer"

(where by "atomic", I mean "thread-safe without locking)

she's explicit, and simple-minded

if foo is a shared member in different thread, no.

I don't feel entitled to an answer, but I feel if you're going to sit here and try and help people don't do a half assed job

threadS

ok

} and/} an/

abbriviating something to save yourself 7 whole keystrokes is a half-assed approach

yeah, single minded with the +o, i don't like when people are +o

unless you hunt and peck at your keyboard…

put a lock around it. on a multiprocessor machine, you can simultaneuosly access x with both processor, conceivably

it brings back memories of getting kickbanned

I suppose I should type Internet Relay Chat instead of IRC too?

PoppaVic's keyboard only types 10 characters a second

or Inter0Process Communication instead of IPC?

most people know what the hell you're talking about when you say "IRC"

has anyone here used llappend?

a hell of a lot of people here know what you're talking about when you say usocks.

I've never heard the term "usocks" before

well, I'm very slowly hunting down a race, and if there's a quick fix for making something more threadsafe, I'll do it (I don't really think this is hte culprit, though)

acronyms remain acronyms.. programmers, buearecrats, politicians and milspec love them

hohum, all people - most people = people left in the dark, you don't want that now do you?

and you point is?

pop mostly sight-types, this dinky powerbook keyboard screws me up enough
"Columbus MethodL find it and land on it"
L/:/

I run into acronyms/abbreviations I don't know all the time. in this business, get used to it. (I mean computing in general). don't get pissed when you don't know one.

my point? you involve yourself in something that has nothing to do with you and you ask others to state a point?
bmy point? you involve yourself in something that has nothing to do with you and you ask others to state a point?/b

yer trying to save folks that don't care - again

/ignore hohum
"oops"

i think most of us are getting sick of hohum's yap :P
amateur error :P

nah I did it on purpose.
hence the scare quotes

I won't lose any sleep

worse: they take it all personal… I don't know who yanked out his nutfuzz or killed his kitten, but it is personal. Fuck it: we ain't in his room - or we'd demand coffee, munchies, beer or booze.
see above ;-)

I would quit working in this field a long time ago if I took things personally.

we can always just demand beer anyway
no munchies though, i had a kebab before i came home

coffee is mandatory, beer they want to pretend we don't need - and they LOVE to pretend "well, you did not satisfy the issues"

kebab and beer. this sounds like a brilliant plan.

amen

lmao, more like a night on the lash than a night on vi

well, I gotta' be careful - we gota Ma' thru AA and I only cook with booze near here anymore
here/her

Hi guys, im afraid I have a bit of newb-esque question and I'm hoping this is the right place for it, if not tell me to bugger off :-) I'm trying to write a bit of c# that takes the last x lines of a string 30 lines long and I can't for the life of me figure it out..

makes sense. I have a couple firends the same situ.
try ##csharp

it's a very newb-esque question

this is the C group

dudes, you do NOT want to go thru that whole mother/AA thing… It'll make you cry in frustration

ahh! my bad.

and we will tell you to bugger off, because this is the wrong channel

ill go bug the folks over there

damn
my sentence construction looked better

sorry for intruding :-)

cheer, bro.
cheers

it's not a problem

no sweat - live well

toodles! /quit
doh

some people could learn from pagangeek's good attitude

will they though?

no idea

probably not

ain't no fuss with folks that rtfm and topic, and ask and are polite and then realize they are in the wrong place.
I'm a rotten, rude mofo… But, I have great respect for folks that read and ask and reply - polite.

you sound like the mafia lol

manners are never wasted

"the most important thing is manners! hold on, i've gotta saw this guy's leg off"
true

yes, yer into "context" ;-)

(laughing) a don in the chicago C mafia?

lol
if that's the case, i must be one of those young punks that dreams of making it big
and then gets shot down in the end, like in scarface or something

i predict you will make it big

signal BUS (invalid address alignment) the address assigned in mem is 0×2a830…. what could be causing that problem

but, meanwhile - polite never hurts.. Snuffing the folks you tried to commo politely with and ignored you is STILL "polite"

as long as you don't swear in front of their children

that is using the dbx debugger

no, in back of them

and spend time with your family!

what bugs most folks is "rude" because "we bad/k00l" - and ignoring what yer yer told.

when the krays ran the london underground you could leave your back door open
… not that you'd want to with that pair of nutters running around

sometimes it slips out, and guilt is usual. What's wrong is expecting them to all be snow-queen-virgins forever, or getting bent when they use it. Tell them the where/why.
negative-reinforcement is evolutionary.. Overuse is just plain stupid.

Do you spend time with your family? Good. Because a man that doesn't spend time with his family can never be a real man.

what if you can't have a "family"? What is a "man"?

I assume someone gave birth to you.

are static libs always smaller than their dynamic counter-parts?

I realize that question is a real mind-fuck

Sorry to touch sore spot. didn't think about that

yer talking about lemons and legumes

thats what i figured….. thought they would be pretty much the same size

dude, I've never had a "sore-spot" with you.

"I spent my whole life trying not to be careless. Women and children can be careless. But not men."

brb

so what does a static have thats its dynamic doesnt?
library that is

static-libs are "object archives" that are simply extracted at need to generate the end-product. Dynamic libs are almost as bad as dlopen/plugins

With that in mind, i think I'll shove off. See you gents later!

stay well

thanks.

with interfaces pretty much dependent on shlibs/dynamic code.

I shit you not: the concepts are nontrivial and worthy of weeks of tests

so if i link ncurses, do both the static library and dynamic libray get compiled into my program?

it might well help to realize that any 'script' - be it text or binary - is "interpreted" (see !file) such that the data is either literal or interpreted, loaded, dynamic, static, etc
ok, NOW yer beginning to consider console(s) vs presentations, etc

Meat Loaf ^_^

Don't listen just to me - start doing some research.. Otherwise you too will become an outcast/ignored: I am NOT "popular"

can i send you an email with the resume ?

eh, whatever

danke

don't expect an answer today - I'm ready for a nap

i aint afeared or readin

well, that "whatever" itself will poins yer input here; and everyone needs to be paranoid to some point.

0 in

poins/poison

i dont :P . its party day today.

PoppaVic:L i'll be paranoid in a sec

dude, I'm in MI - I forgive you ;-)

we do things latter -here-

please don't push… I'm getting tired.. We can talk again tomorow, based on the email

i've asked this before but no one answered, are there any open mailing lists for c programmers?

latter is last/later - watch yer ass

hi

anybody ever make a goatsex error function?

what does it do? display the error in the guys wide open ass?

as a rule, and based on my own experience, eerything about C can be done with K&R and manpages.

yeah, in ascii

neat

eery/every

it wouldn't be very hard, just disturbing

reading man open(2) it comes out that no locks are acquired by default and multiple processes could even open in write mode the same file. fcntl must be used in order to get a lock. this whole thing seems to be a posix requirement. would anybody care to confirm and explain why this
choice?

why is ASCII bother you?
is/does

thinking of red for the anus, gotta figure out the different different color brightening first though
so it looks real angry like

goatse ASCII already exists
Just google it up

there are no file-locks as you believe for the OS

yes, but an error function that incoraporates the ascii

yer strike 2 on the posts

Ah, I thought you were still looking for the ASCII itself.

/usr/lib/libgoatsex.so?

I think that's a fine idea, as long as you plan on keeping your employment (assuming this is for work).
don't plan on*

it would be sweet in a presentation though
explain that one :-)

I just figured out my error in my C program. I forgot to allocate memory for the function pointers when I called them. I was getting a SIGSEGV in ?? ().

stop nudging - yer talking locale and presentation.

PoppaVic, what does a SIGSEGV in ?? () mean anyway?

it means bluescreen fuck-up, so do the debugging and fix it

yeah, i think i'll just chill for a bit

I did fix it. I just wondered what it generally meant?
PoppaVic, does one have to allocate memory for function pointers before using them?

the prob I have with everyone on the planet and their particular "locale" is that everyone seems to believe it all 100% translates - not presentations, _meanings_
I have no idea what you think are doing, doing, or expecting.. Too old to much care.

i think an ascii goatsex_error would make people get the -meaning-

PoppaVic has got one foot in the grave already

what do you mean?
For some reason I was receiving a SIGSEGV when calling a function through a function pointer. I allocated memory the function pointer, and the error went away.

i'll just check if comp.lang.c is free, i've never used usenet and was under the impression that all of it cost money to use but someone said some groups are free
ui'll just check if comp.lang.c is free, i've never used usenet and was under the impression that all of it cost money to use but someone said some groups are free/u

it's not groups you pay for

gotta go make me some shapes for that plotter, ttl man

it's access to servers

stay well

there's free servers
some are better than others

usenet is free. providers charge. your ISP may well provide usenet for you

no.. You are triggering_

PoppaVic, for some reason the memory address of the function pointer and the funtion were different after I called another function pointer from the struct and that was the cause of the error.

_triggering_ SEGV

how?

not my problem - yer the one learning C

yeah actually usenet was included in my isp deal but they never sent me any info, i think i called them about it and they had no idea what i was talking about, typical

heh

may you help me learn it better?

news.myisp.com

learn about those signals and where they occur, use gdb and BT on it

i just want a mailing list for c programming because i prefer e-mail over irc, doesn't matter if it's usenet or regular mailing list

What is "BT"?

british telecom

Post the source (rafb.net/paste). Let's see what you have.

frankly, while I try to be "nice" (and I am a real fucker) - folks that don't TRY and TEST and READ are right on the bottom the list of my interest and one notch above /ignore - Just like if you were in a classroom. I ain't getting paid to salvage yer hull or payload.

I concur on the fucker part

I can't figure a better, more diplomatic/lying way to express this
One solution insults you; another insults me; another burdens "the class" or "myself"

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

Honestly, I can't - in good conscience - save you. You seem to be too fucked.

thats honest

I say.. this is a good time to talk about religion

god thats so weird :/

well, I try - and I _try_ not to insult folks that _trying_

that's the spirit, cartucho

it's always a good time to start a religious flamewar
at least that's what al qaeda think

:P
they want a more open debate, scott_w

lmao
hey, that glasgow car bomber wanted to just flame people
he didn't count on that baggage handler though lol

religion is an open-ended clusterfuck of "belief" anyway

thats what you believe

:P

I'm easy.. Everyone I know or have ever seen has a "belief0system" - question is: will they hurt folks they don't even know, or hurt themselves to MAYBE hurt those others? I'm not into hurting folks.

neither am i

Respond, if you're interested.

but theirs nothing wrong with belief

If someone is BAD, I try to avoid them. Worst case is "remove them and hide them"

here.

lol
whos bad?

I have to leave soon in a minute…

This isn't compilable. I don't see how you could possibly get a runtime error, like SIGSEGV.

sure. Folks dan believe what they like, as long as they harm no one else - if your personal web host belief harms me - stay low ;-)
dan/can

the memory address of the toArray func* changed.

sorry to interrupt, my 2 cents, its not the religion which is bad, it is the ppl who use religion who make it bad, for that matter humans can mannipulate anything for power and control

Have a good evening. I don't think we have time to go through this. Pretty simple, but you're leaving.

can you now envision why I prefer programming C to people?

yea that makes since
programming people is tough

I know, and folks can be weak or strong; and if they HEAR "the law" - they already shark-bait. Read it or don't; agree or don't. Stop using yer illiteracy to bother the rest of the world

If you take the closes group of 10 ppl, same race, religion, country, financial status, culture and leave them isolated for cpl of yrs, when you see them after cpl of yrs, they will have made groups within them
PoppaVic, stop using my illiteracy ?

Next time post a complete testcase, compilable, linkable and runnable.

great flame wars.
bring on the KV-II

anyone making any money programming c?

Try not to waste the time of experts, once you get their attention.

actually (I hate to admit this) Programming people is easy - but parents have rights, society has rights, local/state/federal goc all have "rights" - I don't always agree with it all, and wish every single person would learn to research and THINK!

yes, my time is precious (im kiddin')

PoppaVic, I think in any given group, some ppl are bound to be dumb, shallow, easy to flow with the wind

yea but programming the good things into people is a good right, right?

That's one issue. But the other is he's unlikely to get this chance again. he should make the best hosting of it.

no, it's true - time is precious. To someone, somehow.

PoppaVic, I hope I am not that illiterate by world standards

i know, im just kidding cause im no expert :P

This is why folks developed writing.

and then when they've learned the good things they canthik about them and come up with more good things right?
can think*****

I was making money programming c

for who nande

some local company

politicians make fortunes programming ppl
fortune*

oh no wait… these days I can still make money programming c

really?
were did you learn the language?

yeah and this time it's even better
I don't have to program win32 c

i think its easier to switch to C++ if you want money.

aye I prefer c++ for corporate projects

programming what "good things"? Every child is programmed, some good and some bad - it depends. What is acceptable/tolerable? What is not? What makes a child able/willing to learn - instead of lay there and cry/scream for attention?

well actually prototyping in python and extending with c++
that's still my fav

money is a gotta have. the knowledge to do it is a want, for me

babies are just selfish. self-centered little beasts.

still on regilion, PoppaVic ?
protestant programming

forget "me" for now.. Look around it

hi

hi fax

hi guys

hey Poppa

how can I get maps in C ?

have you ever watched Dr.House on universal channel ?

hi fax

na im still listening to you vic

i got a stupid doubt

write one. i can send you mine.

yo phax

I've watched the House series on 35, and he's more often right than not: everyone is a liar
45/46

imagination, sometimes creates great things

i knew you would like him, i watch it too, very nice.

35/36

hm maybe but, that's weird, I've the feeling the map implementation itself would be longer than the program
I'm still interested though

drugs stimulate your imagination

common, it needs some code hacking, but it should work with some effort.

Thats not true in general

nothings even remotely suggests "imagination" means "rude little fuckwads"

oh wait.. I had my serious button on right there

how i pronounce "POSIX" ?

a book or paper can be "rude" - in that the characters can be.

ok

pos icks

post pics

heh

that's what it means on the internet

p o six

what is BOTHERSOME is that kids believe they don't need to read, write a sentence, or even remotely try to be polite.

is it correct?

no. POZ ICKS

its hard to say that vic, because alot is known to people that others might not know

a lot whom/whee nopt to whom/where?

lol

whee/where

it should be quite fast, although the foreach function is not well suited for hashtables, i have plans on expanding it and having a separate list of struct pointer to enhance efficiency in a foreach function.

we also see this a HUGE amount in hearing about "ascii is evil" and "well, gee - why would I use escaped C-strings?"

hm ok

strings are evil!

unicode is evil

bytes are evil!
PoppaVic is evil!
oh wait…

no no you were spot on

unicde

All I can say is - there are certain polite basics. Period. And, if I know the culture of an object, it can belch at my table to express OK.
farting and shitting on my table is "Just not on, lad"
comin g into my home to reach-for/grope my youngest sibs is "Fuck you, I can wax yer ass"

ok now you talking

lol

These are pretty simple "rules"

lol

been one of those days

I slept through the bloody day

has this happened in the past?

ah well

the former? yes. That's fine, we's "tolerant" - the latter? Ain't ever going to happen twice. If I don't wax the fucker, a sib would - and the body would likely disappear.

are you having fun yet?

this is called "interpreteration"
not really, my BP raised really high and I was counting ammo in my head

IDKFA

take it easy pops

ok why didnt you go to the police?

yeah.. it's droping
the cops? Are you nuts?? Involve _government_ and the shark-bait _lawyers_??

ok

why not just stab someone and give the cops a body, tool, prints and confession?

why?

same deal

in case when realloc was called to grow an existing memory block and no more free memory is available directly after that memory block, a new block is allocated and realloc returns the pointer to that new block. does realloc copy the old too small block into the new larger one and free the
old ?

cops are a (bad) layer around a (omg) layer around "courts" - yer talking trust.
as a rule, realloc() tells me that you are fucked - do it right the first time
realloc() is well documented - the use of it and the how of it is not. Rethink the issue.

PoppaVic, you ever used llappend?

Yes. The man page and the C standard describe the behavior of realloc.

isn't it faster trying to enlarge an existing memory block (if possible) instead of allocating a new block, copy the old into new and free the old? what's wrong about realloc?

ok, that's yer first prob
stop optimizing early

Your question says it all when you ask what happens when realloc needs to move the block of data.
If it didn't need to move teh block of data, you wouldn't be asking the question.

fanti, it's fine to use realloc when you understand how to use it, and the subtleties

realloc does about 3 things to retuen one. Stop folding issues together early

If it doesn't need to move the block of data, it won't.

Why I cant change the const value with pointer? http://rafb.net/p/qqMVBn96.html

realloc() is one of those funcs you need to test the fuck outta' in a really small testbed that doesn't matter. I usally manage to live w/o it at all.
stop dicking const

INT main should return INT
fffs

hey PoppaVic

and STILL stop trying to dick FOO when FOO is a const.
hi IRBMe

It's been a busy week! But I've been busy doing a whole lot'a nothing.

(and channel) - const on a param means "no touchie!" - const elsewhere is going to mean that and WHERE it is stored - just…. Don't
blowing off the family and talking.. Code is still pseudo and nearly ready for a solution.

bu I could change constant with "pascal". I think I can change constant value with "C" too… I know constant is constant. But I want to learn to change them any way.

as far as locals and globals and "const" and pointer mixes, well - fine: see cdecl
NO, nonononono
now yer talking about "calling conventions" and who does what to whom
forget "pascal"
as a rule, if you can't write a C function as an interface - yer gefuckt
for the love of Pete - weigh in here…

woo! i finally finished a function that should switch data from one endianness to another
should

hi

more likely i'll use it and it won't work

if you need to learn about C and pascal calling-conventions, fine - go somewhere else and suffer

and if i use it on OS9 i'll see my kernel disappear

theoretically speaking.. is it possible to write a program that gains roots access and breaks out of any chroot it is in?

never done that - I'd be afraid of it

using OS9?

yeah

lol, same

well, shit.. I prolly need a book and to heat dinner
last I read, os9 and osX was an issue.

you use OS9 where ?

i don
't
i was making a joke referring to the fact that OS9 has little-to-no memory protection

with osx, I don't much care - I don't need issue under my issues under..
ahhhhhhhh
Stay well, folks… It's been a looog day.

OS9 has memory protection.
the rom memory is protected hehehe

ROFL
even then i'd be wary
i'd be roared if someone overwrote the ROM and caused it to be unbootable or something
on a serious note, how would i test my function?
lol, i wrote it with no real experience in endianness, and no idea how i plan to test it

try it out?
or somthing

seriously though, i have no idea what output i'd be looking for

good way to learn

78563412"

well like
fucking
what code did you write

your computer is big-endian or little-endian ?

the one i'm using right now is little-endian
the one i plan to use the function on it big-endian

cant you just flick the endian switch on your CPU to test it?

does x86 have an endian switch?

little-endian evil computers need these functions because all networks are big-endian.

heh

damn lilliputians

i'm gonna try what you suggested _3dfx
two mins
no, didn't work
just stuck a load of 0s in lol

hehehe

ok, try again

re

#define swap32(X) ((X24)|(X24)|((X8)&0xFF0000)|((X8)&0xFF00))

78563412"

a bit scrambled? middle endian?

endian conversion.

almost got it
and no, that's just bloody ugly lol
done it
not the most efficient, but it'll do

unsigned swap32(unsigned i) { char *p=(char *)&i; p[0]^=p[3]^=p[0]^=p[3]; p[1]^=p[2]^=p[1]^=p[2]; return i; }

improved it even more by getting rid of a redundant
hold on, i'll post

(char *)&i o.o

http://rafb.net/p/t6xkJT37.html
and it doesn't depend on the size of a variable being a certain size
and it's not a macro
:P

it should be

:O

unsigned long switch_ul_endian(unsigned long nts)
instead of int switch_endian(unsigned long nts)

true
one sec
my bad lol
amateur error

the xor version looks better :~

C99 has inline, so no need for macros if you are using it

short swap16(short i) { char *p=(char *)&i; p[0]^=p[1]^=p[0]^=p[1]; return i; }

but yours assumes that it will be a certain size

that may look cool, but it lacks the clarity of the "boring" way ;-)

and it isn't portable :P

let the compiler worry about optimization. make your code as clear as possible

i once read about someone who spent hours optimizing code, only to compile it and find out they broke it
amateur error lol

hehe

hehehe

why so complicated, as you access the bytes anyway?!

I/O warning : failed to load external entity "NULL" - ? (libxml2)

your version works with any variable size ?

it should
cause i use sizeof(long) and a loop to perform the switch

hmm

so it goes through every byte, rather than relying on it being a certain size
that's the theory anyway :P

i will try with unsigned long long

you might have to change it to sizeof(long long) in that case
to accommodate for the fact that you're using a different data type

ok.

5634127856341200

hmm

not good :P
i've found another problem
could be related, i'll look at it

hi

i have a litle problem char nick[30]; sprintf(nick, "%s", "test"); with this test.c:21: warning: incompatible implicit declaration of built-in function sprintf

you should include stdio.h

+1

:o works now tnx
i didn't see

you should also compile host with warnings: "-Wall -W"

replace int temp with unsigned long temp
sorry, that might be the cause of your problem
s

efcdab9078563412

i enhanced your code hehehe

i guessed :P
two minutes, i know where this bug is, i just want a relatively optimised solution

no no no
stop this Right now

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

sorted it out
i was doing a redundant action
nice
http://rafb.net/p/Gcbg4J50.html

#define make_endian_swapper(function_name, type) \

stop what?

"optimize"

well, the "optimised" solution was simply the best solution
i would have been doing certain things for no reason at all
like clearing the last 8 bits when i was going to shift it along (thereby "clearing" them anyway)

http://rafb.net/p/aQmqWr31.html looks better and use only 3 variables :~

yeah, i saw
Bon Jovi - Living on a Prayer
how class is that song though

old man ;p

lol, it's a classic

I can't define a macro within another macro, can I?

yes you can
no, wait
you can't DEFINE one
you can "call" one
but not define
but the thought of that is quite perverse

Thanks I've found another way to achieve the same.

could i create a macro that does #define switch_endian_ul(var) switch_endian_ul(var) ?
i think i saw something similar in glibc, but i'm not 100%

what's the point to do that?

Was the way to concatenate a string with a parameter inserting a dummy comment?
#define foo(a) blah/**/a .. ?

#define foo(a) bla##a
I think

he's asking for something else, i think, but he needs to clarify

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

how can i see with the gdb what has caused a memory access error ?
i don't know the english word
here it is "speicherzugriffsfehler"

Thanks. That's what I was looking for

Segmentation fault - h
this is the english word

that's perverse
:P

lol
use english locales

usually Segmentation Faults are because a loop didn't behave properly
that's my experience anyway

Christian_IS, name key words.

hm yes, the german locales are good in guis, but for compiler errors it's shit xD

country boss; or something.

imho they are always shit

Ah, I think I misunderstood :P

the translations are often crappy and I prefer english anyway
segfaults because of a loop?

English has the rare advantage of being short

elemento_de_la_lista

Spanish

I'm assuming scott_w means loops that go out of bounds on an array due to improper termination conditions

http://rafb.net/p/qMnSAO80.html - in macro form, works with u16, u32 and u64

in my experience segfaults mostly occur of improper use of pointers

the fact that you put it in a macro makes me sick

I usually get my segfaults in C++, when I forget to initialize members and then the destructor thinks they're valid memory regions and deletes them

I want to learn C# I heard it is 1 of the more easy ones to learn. I was wondering anyone know a good tutorial or book or PDF I can get for begineers?

*p=(char *)&X is improper use of pointers ? :~

wouldn't that be #C#?

I joined there
Thanks

can anyone tell i don't like C#?
i had to spend a year doing .NET
not even .NET
VB6!!
it made me cry… regularly
my college is full of numpties…

one
time
at band
camp

i guarantee if i'd have been able to write my project in C it would have been 300x more stable and i'd have gotten a MUCH higher grade
as it stands, i got a C and i was lucky she didn't notice the bug that wipes out half your data

C# is just C with macros (only macros)

i found it on the last day and couldn't be arsed to fix it rofl
ergo, C# is perverse
all right, i'm off to bed
later all

If you don't mind my asking, where in Germany are you from?

north-rhine-westfalia
middle-west

ah, I work for a company HQed in Munich. Germany is really nice, but I've only been to Bavaria.

how are the pubs?

hi

hi room

hi int

sup

char *genick() { struct utsname info; if (uname(&info) != -1); return ("%s\n", info.sysname); } is this good ? becouse on some distros works and on other don't work

do you know what return ("%s\n", info.sysname); is doing?

=-o

on some distros it works?!

it shoud return uname

yes, of course
Yes, and are you aware that the "%s\n", bit is redundant?

in that case, i don't know what that does

fax i do not understend

do you know what x is after int x = (1, 2, 3); ?

no

what happens is it evaluates, 1 thdn 2 then 3 and results in 3
setting x to 3
the same thing happens in your code
return is not a function

:o

and it does not format uname with "%s\n", it simply returns the uname itself

C functions are like mathematical functions, meaning they only have on output for a given set of inputs
s/on/one

so i give return info.sysname; ? :s

yes
No thats totally false
C "functions" are like computational procedures

if (uname(&info) != -1); /* do you know what this does? */

what are you talking about? computation procedures don't necessarily have single outputs
take for instance x86 instructions that change multiple registers or registers + flags

oops I didn't spot that
good point, thats -another- mistake
computation procedures as in they perform some computation in sequence and quite probably have side effects

printf("lol\n");

ah

hmm

printf("I guess everyones busy coding…lol\n");

eating
(pasta)

hi. is there an equivalent of php to use C code in html files?

only if you find a module that would interpret it.

printf("%X\n", 257);

no except your httpd has a module for that
you can use cgi

thats a terrible idea

fax why

thats like all the disadvantages of PHP combined with all the problems of C

damn, this FBL and the CAN stack from vector are driving me nuts

fax can you elaborate

php sucks, C sucks for writing we apps
when you add it together you get somthing even worse
its called synergy

i need something faster, thought I'd use C instead

faster than what

php

what is it that you are doing that needs to be faster?

creating thunbnails, resizing photos etc

you are usibng gd or somthin gin php to resize images?

there are many of them, few hundred to a thosand on each upload. I want to create the thumbnails on the run
I'm using this phpthumb library
http://phpthumb.sourceforge.net/

it seems to work via via GD or ImageMagick
which are both implemented in C
so I suggest that you get more faster computers

so i wouldn't be faster if i did it in C
it*

it would be unnoticable
image resizing is done in C anyway

you would reimplement something that's already implemented in c

the only things you would speed up probably take user 1% of the running time of yor program

char *p[2]; p[0] = "hello"; p[1] = "world"; how can i, using printf, print the second letter of the second string, i.e., the 'o'?

ok thanks

do you know how to get the second character
p[1] is "world", p[1][1] is 'o'… so printf("%c", p[1][1]);

thanks. is there any other way?

yeah

1[p][1]

i was thinking to get there by incrementing p or p[1], but i think that's utter stupid

yes it is

you can't increment an array

steved-: *(a+1) is legal
int a[30]

it's not incrementing a. and it's exactly the same as a[1]

it is equivalent
it is clearly not exactly the same

fax how so?

definition://exact

visually it's not the same. the meaning is

the meanings are equivalent but not exactly the same

how are they different?
*(a + 1) = a[1] = *(1 + a) = 1[a]. all four are exactly the same

they have the same values
but they are obviously not exactly the same

they do the same thing

use your eyes

they obviously are

look at what you have written

you were talking about meaning

four different expressions which evaluate to the same thing

how is the meaning not the same?

you are claiming that some different things are exactly the same
this is false

apparently fax is an editor, not a compiler.

how are they different? they all add 1 to the pointer a decays to, and then they dereference the resulting pointer

my compiler is accepting *(p+1) but not *(p++)
is there any diference?

p++ is trying to change p's value

for starters, int y, x = 4; y = x++; … what is y and what is x
and what if you replaced y = x++; with y = x+1;, what are x and y

in what way is it failing to accept it?

you mean what am i trying to do?

Do you know the answers?
if not you should write a test program to fin dout

no, i mean "what leads you to believe your compiler is not accepting that expression?"

because it gives me an error
yes i know, that's pretty obvious

so you see how x+1 and x++ are different?

the first doesn't change x and the second does

right, but the value of y aftewards its pretty important as well

good thing you understand it completely, because by itself the expression looks valid.

twkm p is array
in his example

exactly

ahh.
p for an array. yuck.

this whole pointer shit blows my mind

char *p[2];

he probably doesn't realize it's an array

Comments

someone may help me i was tring ti find the word hello in a string i use strstrmessagehello but it not filter

i'm looking for a way to find out how many cpu cycles a specific code take? or what are the real costs of a function / assignment / etc…

You can use a profiler.
But if you're careful you can produce pretty accurate results using your hardware clock.
and perform the measurements over large samples of data.
See also gprof.

anyone here good at winapi threading? im having a problem trying to get multiple threads to access a common varible concurrently; with mutex and volatile

hi

testing concept with a simple ++ in a loop

did ansi C have enum ??

and dont get the value i should when both threads exit

yes
it does

most likely you fail to use the mutex properly.

in C 80 or 99 ??

you must use it for both reading and writing.

C90 and C99

but it's not form KeyWord in my book

your book is perhaps pre-ANSI
buy a newer book

i will

i just have a simple increment, with a mutex before it, and releasing after

Chris, thanks for help

Amr, no problem

WaitForSingleObject(pos, INFINITE); x++; ReleaseMutex(pos);
full concept is 19 lines if i should post it
i jsut really dont' see what im doing wrong here
having two threads incrementing in a loop 200 times each, never end up with 400 when both threads exit

that's the increment. when you read it do you also use the mutex?

im not reading until after other threads have exited
waiting for all of them to exit with waitformultipleobjects
that seems to be working
but the mutex doesn't seem to be working
i can put in an invalid mutex name and it will not stall, it will jsut go right on through

are there any man pages for C standard functions?

lots
section 3, usually

how do i access them?

other than not checking the return values so missing any errors it looks like it should work.

try man 3 printf

k

i know, last error was 0 unfortunatly…

if it can't find them, install your development manpages package

what about the return value from the call to WaitForSingleObject?

well maybe not..
i put the getlasterror in the wrong place
stupid me
this is what happens after you've been coding for 10 hrs

heh

ERROR_BAD_DEV_TYPE 66
network error..
not very helpful
wtf does a mutex have to do with a network error heh

did the CreateMutex return an error?

nope, still trying to find exactly whats triggering it
heh, i got a dif network error for the open though
with 16000 error codes you'd think they'd be somewhat on target

Hello all
Anyone here know any 2D game engines for C not C++ on linux
I'm thinking to create a mario like game for my C program projecty

SDL
not a game engine

scummvm
*duck*

Allegro.
Or you can use OpenGL directly, not too scary.

true
can opengl handle physics

Mornin

docmur, lol?
opengl is graphics only

Oh, you want a physics engine?

I knew that
lol
well physics / game engine

Well, you should have said so!

I didn't know they were different, the ones I've looked at combune them

http://google.com/search?q=c+physics+engine

opengl for a mario game?

docmur, don't you want an already made game?

that would suck

it would be easier

no I want to program the game I just need the game / physics engine for improvement

you will program almost nothing if you already have all done

where does uname -o get its output from?

The uname() syscall I would imagine. Depends on the OS though

nope, not uname()

Does Mario even need physics?

lol lets say yes

It's all sprites and collision…

exactly
you just need to do simple collision

open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
^– is a significant line I get from 'strace uname -o'

Unless you want to remake Mario like what these did with Lode Runner… http://harveycartel.org/metanet/n.html

yeah, but that one's called on uname -r too, which calls uname()

Collisions between rectangular sprites !=, and I mean !=, physics engine.

lol okay well I'll use not phsyics engine

this isn't it

Hrm…

uname -r does a uname() call
uname -o does not

what are you using uname for

If I have allocated some memory for a pointer to int but don't know how much memory. How can I find out?

meh

you can't

you don't, you keep track of it when you malloc()'d

you can't

check the coreutils code

but that's just silly

I have to disconnect
will do

you don't need to
you know how much mem you request when you call malloc

int *p; p = malloc(n * sizeof *p); // you can now use p[0] to p[n-1]

So, for a pointer to char the termination character is '', but ther is no such thing for int, right?

'' determins when strings end, not when char pointer allocation ends.
s/mins/mines/
whether it's char or int, you need to keep track of how much you've malloc()'d

Use your own allocator.

Yeah, but what do I do if I don't know what n is.

you're stuffed. know what n is.
why would you not know?

I have got an array of pointers to int and each pointers has differnt amount of memory. I just want to print it out and if I don't know how much each pointer holds it screws me up.

how did you allocate the memory for the array of pointers to int?

WoodyWoodpecker, as Jafet said, you can write your own allocator and determine how much memory your object consumes
something like.. my_malloc( "tree1", nodea ); my_malloc( "tree1", nodeb )

What exactly do you mean with allocator?

and then print_alloc("tree1");

can you answer my question, please?

oh I see, a malloc-wrapper function.
Yeah, sorry.

Whatever you do, you need to keep track of what you malloc.

it's not optimal for runtime though

thanks for help , I mast go but i will be back

I explizitly told and pointer to hold less memory than others. I assumed later on I don't know which one holds less then the others.
s/and/a/

bye bye

well, whatever you do, you must keep track of the sizes somehow

I got confused about the real difference between a pointer to pointer and a array of pointers.

this could be as simple as storing it in the first int

WoodyWoodpecker, there's no difference really

sure there is

Chris, what is it then?

yes, there are some (too I don't undestand enought about it yet).

well, it affects sizeof, and arrays can't be assigned.

Chris, that's assuming that by array you mean stack allocated array

psykon, by array, I mean an array, in C
stack is irrelevant
C doesn't need a stack

Here is my problem. I have n amount of numbers and for each n I have to save them together (that is why I choose to save the numbers in an array).

is it a dynamic list ?

Chris, what is a C array then?

So I have an array of pointers to int. Theoretical each array-index holds an array of int which different lengths.
Sorry, what do you mean?

WoodyWoodpecker, you have to keep track of the size of each

you might want a linked list instead

I need it to grow dynamical, if you meant that.

easy as that

it's a contiguously allocated non-empty set of objects with a particular member object type.

So how could I do that best?

Chris, cool, and if i have a pointer to the first one, why is that not an array?

ahh, yeah, that soudns good.

WoodyWoodpecker, learn more about what pointers are and what malloc does

s/soudns/sounds/

then maybe you can proceed on what you want to do

because it's a pointer it just points to memory

int a[600]; int *b = a; what is sizeof a, what is sizeof b?

WoodyWoodpecker, have an integer
and increment it every time you add one
Chris, that's what i said

I know

what? I am demonstrating a clear difference between a pointer and an array.
you said there is no difference.

siezof(a) is 600*sizeof(int); siezof(b) is sizeof(int*);

correct.

Chris, not a difference that matters

int a[600], int *b = malloc( sizeof(int) * 600 )
:P

of course it matters.

Ok, thanks guys, I will try rewriting it in a linked list.

of course what matters?

Chris, you know what i mean
i could give you an array or a pointer pointing to an array and you could treat them the same

except for free()

psyche_, hmm, I'm not sure about that

WoodyWoodpecker, decide carefully. You should choose based on your requirement.

psykon, I'm not sure about that

unless you don't free() stuff then you're right.

snhmib, that's obvious….

psykon, did you mean to say "pointer or array", because you actually said "pointer or pointer to array", and a "pointer to array" is a distinct type that is different from "pointer"

that's the difference, an obvious difference !

there are similarities in that arr[i] == p[i] if the pointer p == arr;

I know, but I don't have the years of experience you may have.

but that is where the similarities end.
so you do not tell people "there is no difference between points and arrays"

yea but so is your discussion.. a pointer just points, it's not an array :P
byea but so is your discussion.. a pointer just points, it's not an array :P /b
bbyea but so is your discussion.. a pointer just points, it's not an array :P /b/b

My problem is hard to explain in englisch. I will just try it with linked list first.

rutski, i mean a pointer pointing to an addr which has an array of the pointer's type

doh .

psykon, so would the function arg list for what you're thinking of look like "void f(int* p)" or "void f(int (*p)[])"?

first one

ah, ok; so then it's a "pointer" not a "pointer to an array"

rutski, i explained that

A pointer is a pointer. An array is an array.

it's not a pointer to an array as far as the compiler is concerned

a reference to an array is a pointer

C does not have references.

i see

c++ police

When passed to a function, arrays decay to pointers.

psykon, not fully, you said "addr which has an array of the pointer's type". Both my function prototype examples fit that description. so there was still an ambiguity

thats what i mean

Then phrase it correctly jedi06.

rutski, yes, at the address to which the pointer is pointing

internally, they are all memory addresses

there is an array

ok Jafet will do

psykon, yes, and again, both prototype examples fit that description. They both "have an array there", but in the first case dereferencing p will give you an int type, and in the second one you will get an array type.

how can i make an autoconf script tell me exactly what its doing at a certain point
i keep failing a dependancy check, but i cant figure out how its determining it

read config.log

did.

if it isn't a c program you would probably do better in ##workingset, for general autocrap help.

ok, thats what the autotools are from?
thanks

and what did it show? (the last thing, mostly)

configure:19076: $PKG_CONFIG –exists –print-errors "glib-2.0 = 2.0 gtk+-2.0 $
Requested 'pidgin = 2.0' but version of Gaim is 1.5.1-1.el4
i cant figure out where its pulling that from, since i have no include files or anything else in /usr it could look at to determine that

seems pretty clear.

you have gaim installed but you need pidgin (which is the next generation of gaim)

pkg-config tells it.

where is pkg-config getting that from

from .pc files somewhere it normally looks.

man pkg-config, search for the paths

ah ok

or locate ".pc"

aye, the man page should say.

still, it's off topic here

aye, support of a package you didn't write. try ##workingset.

which distro? each has a support channel

or a channel specifically for the package you are trying to compile.

sweet, thanks. that worked
ive never used pkg-config, so figuring out when its stupid never really seems to be very easy for me

''man pkg-config'', also ##workingset, and ##$package

(don't join the channel ##$package but replace $package with the name of the package you are looking for )

he's in #bash — i think he'll get it.

ne1 recommend a good refresher tutorial for bind that has long forgone coding?

User "ne1" not found. Sorry.

ne1="Has any one"
shiet and my bind has blown

Can't even spell an expletive properly.

!beej

beej is http://www.ecst.csuchico.edu/~beej/guide/net/ ; http://www-db.stanford.edu/~cho/programming/network.html

:|

can anyone help me with a raw sockets problem, please…?

just ask your question

can you ask a more perinent quetsion?
err, pertinent.
some people like beej. i prefer a book. links to each sort of thing are available from the home page.

i'm tring to send a raw packet trough the lo interface.. but the server i'm sending syn to isn't responding…

p-p-pleeeeze eddie, you gotta hide me!

ta

the application works if i send syn to another computer trough eth0 or other interface…

I believe it was more like "pbbbbbl-leese", wasn't it?

yeah

It's a sad comment on Hollywood that I actually sorta' enjoyed that silly film.

i hear pleas for help in the roger voice

I dunno', of late I know there is an angry little person behind the pleas.

why do you feel transmitting via lo should works as you desire?

….looks good, now to find a synapse still functioning….

what?

have you tried running traceroute on lo?

yes…
no
i just ran ethereal..

and…

the packet is sent
but the tomcat server hosting doesn't reply

and to where does lo lead?

huh?

?

*shrug*

where do you expect it to lead?

i'm tring to send a raw packet trough the lo interface.. but the server i'm sending syn to isn't responding…

excactly. outside of the machine is not one such place.
err, exactly.

to make thinks clear.. the server runs on 127.0.0.1
^things
….?

hey

so if you send it through eth0 it works, but lo doesn't. sounds like an issue configuring the network interfaces, not the program.

no]
if i send it trough eth0 and to another computer
it works
if i send it trough eth0 or lo to the same computer i get no response…

I wonder.. Does POSIX allow for non-flat memory..? I.e could it be possible to make a i386-segmented Linux architecture?

It started like that! :0

Hmmmmm….

most ways posix doesn't care. mmap'd objects must appear to be linear, though whether you play with segmentation in the impementation doesn't matter so long as it doesn't have to be noticed at the user level.

It would lead to interesting issues at the C layer though…

the c standard is written to allow segmentation.

E.g. half of my motivation would be to allow things like realloc() to work nicely…

Why? Ever seen DOS code?
yum NEAR and FAR pointers.

So I think you'd have to have a seg_malloc(int seg; size_t size) and similar
The point would be you could have large arrays etc.. allocated to their own segment, so realloc can resize them without caring
Sortof like LVM really

you might want such for trickery — there is such a malloc for linux based hosting services that uses page flipping i think — but then it wouldn't be standard so doesn't have to obey any rules from the standard.

Right, so
You know one of the cool things about having a page table, right
is you could, in theory, have the OS fiddle with your page tables
to give you the concept of totally linear memory, overlapping on non-linear memory

though that implies allocating on page boundaries, which ruins small object efficiency.

You can treat your virtual memory space as sparse, and just map in pages as you needed memory

I'd prefer if we had a way to "scroll" the mmap to other sections on requests that triggered it.

Its actually quite cute an idea.
mm slab allocation.

I also want non-flat so that the stack isn't executable
Bang goes most of the common-but-boring security holes

hey, just write a new OS that doesn't suck

not boring "tedious" ;-)

Writing an OS isn't hard. Just grab all the Minix^WLinux boot code, and do stuff righter this time

Well, that's half why I wondered if it'd be OK by POSIX
That way, if it is POSIXable, I'd already have a nice base of applications that can run on it

You haven't thought that perhaps POSIX isn't partly to blame?
And maybe thinking through POSIX wouldn't bea bad idea?
And really, you can think of "processes" as virtual machines..
… so you could always have POSIX processes and non-busted-ass better ones..

yeppers

anyway. back to hackery.

posix doesn't care about it. it has some rules about what stuff is part of a process, but cares little about how it is organized, and leaves things like segmentation as a possibility.

posix is eviiiil
:3

w/o posix, we'd be fucked for file/dir/etc
damned systems vary too much

we'd be at FAT32? xD

what?

yes, probably evil, that's true, but it isn't an impediment for LeoNerd.

pish
bugger off mmap and character based read/write plz, and use proper messages and ring buffer type types plz.

spell "please". plz

Heh.
Sorry, been dealing with idiots all day here.

and there is no reason to pitch mmap, (which I rarely use), or char r/w
Actually, prolly easier to simple add what you want, then subtract _and_ change
simple/simply

oh, of course.

does anyone know if MSVC (vs 2005) supports IEEE-754/IEC 559 ?

Does snprintf put '' and the end of the buffer?

man 3 snprintf

:|

don't man him

yeah, it's always depressing to get caught and told to rtfm

woman 3 snprintf

I'm sure he knows about man pages
he's just not feeling like searching for himself

Feel free to pamper him.

he could also write a throwaway-test

yea. im doing a testcase

I didn't say "testcase"

good boy pejo_
he's trying to do something here

a testbed, a simple do-and-print/dump test for a few variants. Learn and pitch it

k, can u do an example for me first?
so i have something to learn from

int main() { …. exit(0); }

is anyone in here experienced in winapi thread synchronization
im trying to figure out how to access common data between threads, but im not getting the result i expect
void test(HANDLE h)
{
for (int i = 0; i 200; i++)
{
EnterCriticalSection(&CriticalSection);

oops , indeed

poppabebe
'' is inserted
gcc and man told me so

excellent. So, it's properly truncated (unlike str*cat variants)
Nothing like the pride in learning these simple, irritating little thingies ;-)

when i use mysql i get row[1] for example
how i can find out what is the first latter
row[1] in this case come as string

Offtopic, my007ms.
Unless you make it a C question.

Jafet, how i can know the first latter from the string

What's a "string"?
What is the type of row[1]?

MYSQL_ROW row;

Nope, not a C question.

i am still very new

then stop using shit beyond your skills

I have a struct that is 2 bytes big. when i do sizeof() it, it returns 3. Why? http://paste.cplusplus.se/paste.php?id=6382

how can you find the first letter of "hello"?

Padding.

luck?

struct padding serp_

look at the paste please

for starters, this is ##C - ##C++ is down the hall.

that is C

it's not a byte OR 3 bytes

but I use bitfields to make it 2 bytes
5+6+5 = 16

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

you can believe what you want, but you did it wrong and posted silliness

Oh noes, cplupluc invaders.
Feces.

what am I doing wrong?

s/cplupluc/cplusplus/

bitfields are either really handy, or really horrendous. Depends on your viewpoint and use. Further, there is no 'u8' type.

typedef unsigned char u8;
i thought that was implied

no, it wasn't

okay.
what am I doing wrong?

too many space-cadets to assume.
how big is it supposed to be? Why and what is it?

it's supposed to be 2 bytes big, as the bits in the bitfield add up to 16

well, for starters - it's not automagically packed.

I thought that's what a bitfield does…

If you want a pair of bytes, then use a pair of bytes.

okay

the primary thing you are doing wrong is not learning c, but guessing it.

No. There is no automagical packing of structs.
stop guessing and start learning.

compiler?

gcc

also, remember structs get aligned and padded

try __attribute__ ((packed));

bitfields *may* pack together… Sometimes. If they are consecutive and the sizes play-well-with-others.
otoh, you can't & (address) a bitfield, either

u8 r : 5 __attribute__ ((packed)); etc..
5 __attribute__ ((packed)); etc..

okay thanks

He can't write C, so teach him packed.. Good deal. He's yours.

I'm a bad influence , I know

that's all i needed though
now i'm all set
cheerio

set for disaster

haha

he'll be back… and we can let CoreEvil save him. shrug

why are you so mean.. :/

just honest.

i know tons of c
but there are some bits and pieces i don't know

You think you know tons of C.

i do

int a[6]; what type is a?

int[]

sorry.

if we have int a[6]; what are the types of following expressions: a) &a b) (a + 0)

is a pointer to the first location of the array ?

no

your main problem will be when other compilers are used. or if gcc decides to remove the packet attribute thingy, or if they change how it works — either of which is possible since they have no standard to which they must conform, only their own notions of what to do today.

#pragma pack is better supported
but still it's not standard

it's actually more fun when they use that [] and [6] stuff as a param/arg

have to start simple.

they were doing that [] crap again today.. It's depressing to watch.
even more depressing to watch them toss a few parens at the arg/param and act like it's not a pointer.
brb - lemme' cycle

the first would be int*[6] and the second would be int*
i think
but none of this is relevant

close

that's only relevant if you're writing a book or learning the standard just because

aren't you planning to learn the standard ?

I am content if I can use a language

i like using [] in functions args by the way

Dude, I give the standards lip-service and listen when folks speak of it. I also been programming long enough to see several neices and nephews into college.

I don't need to know every little thing about them

i use [] when i pass a pointer to a first element of an array, and * if i pass a pointer to a single element

Internally, I might.. Exposing that to idiots that pretend to have a clue is just cruel ;-)

serp_, then don't come to use when something is not working

so everybody has to read the standard to be allowed to answer things?
ask*

well, you need to show effort
we are not your books

someone may help me, i was tring ti find the word hello in a string, i use strstr(message,"hello"), but it not filter HELLO when it wrote in cap, someoen could help me figure out all word hello ?

Lowercase message.

Absolutely not. The "standard" is just another Guideline - and there are multiple. But guessing and faking shit is downright stupid unless you are doing both in small tests to LEARN the limits/behaviors.

You could also try stristr, but I doubt it's standard.

jafet Oh

Deep breaths!

how to convert into lowercase ?

Note that lowercasing has its own caveats, but generally good enough for normal usage.

I be cool, mon.. Not my prob if folks _like_ running headfirst into concrete.

lowercase function seem eating lot of memory..

Jafet, your line is wrapped too much. it's only 2 lines here.

i have to go trough all caracter to conver iit cahar per char ?

Erm?

Vanpriest, don't worry about memory.

It seems so.

fix yer client

Alternatively, write your own stristr. Will be fun.

it's thousand times more than what "hello" will occupy

everything is written somewhere… why does this channel exist and why are you here?

Hello, http://iso-9899.info/wiki/Snippets#gets_is_not_safe

serp_, to torment you.

shouldn't you have if( NULL != (f)gets(… instead of 0

we are NOT here to save yer lame-ass from the blood and pain of learning.

sigh

if i have a long text, and i try to find hello worrds in it, it kinda a crazy thing.. and lot of mory used
memory used

I think NULL is defined to be 0, if that's what you mean.

if so, you probably want to look into regular expression libraries (like PCRE)

guess what, something like that already exists.

Jafet no its not

gets is a whore, and fgets returns a code or a count - don't screw with it, respect it.

respect a whore ?

read it again

read, man

ahh ok

fgets is one of the nicest, most useful funcs in the spectrum

thetre no function tat look into the string with ignore case ?

it does what it sez, and it documents what, where, and how. Folks assume on their own.

Vanpriest, it is not hard to make one

simular as strstr but with ignore case

stricmp/strcasecmp

Vanpriest, this is not php

Vanpriest, there's the fast way and the memory way
which do you prefer

i read much & ask little, haven't formed an intelligent question yet

you?

what the way you suggest me? using regular epression ?

yes, it is the newbie way

what do regular expressions have to do with this

or should be

wsomeone suggest me tat few line before

oh, you mean your behavior - I was context-lost for a sec
regex has no bearing here - geezus, fucking script-kiddies

Vanpriest, okay suppose you want to locate "hello" in "123 hELlO 123"
you can either dup 123 hELlo 123

he is too lazy and not going to implement his own, I think.

and turn it all to lowercase

I agree

or just check with lowercase

i know
the think when you turn the stirng into lower case it

every method has pros and cons

anyway.. it's late

both* methods*

night folks

you have to do a for(x from 0 to the string length)

Vanpriest if the string is all lowercase, you can use strstr()

which kill a lot of memmory i was trying to avoid all for tha why

dude, yer freaking my screen out with scrolling - relax a bit or right longer sentences.
write

huh?

to convert a string into all lower case, can i convert a string directly or. i have to convert character per character
that what i read in google :s

yes.

if you are short of mem, yer already hurt. If you ain't even got anything to work and are freaking over mem, you are just wrong.

google gave me a samples to convert char per char, which is eating a lot of moemry

:o)

character per character obviously. http://iso-9899.info/wiki/Snippets#the_.3Cctype.h.3E_is.2A_and_to.2A_functions_require_an_unsigned_char_or_EOF

ok.. X(
i will do it

Vanpriest it does not eat memory, duplicatng the string will

Stop screwing around "optimizing" until everything works for at _least_ a goddamned module, if not the program.

jIj oh ok.

well, you get it right back again and now know an offset, which means the dup is disposable.

a
sorry
sorry got disconnect

similar occurs when you use a local/automatic char-buff and work within it to learn something, and then return: it hogs a bit of mem for a moment, and then returns it for reuse.

PoppaVic i am aware of that

i am aavoiding to modify the string, so converting to lowercase force me to copy into a new string

Vanpriest you can alternatively write your own strstr() function.

what are you trying to accomplish?

if you look around first, you might find it's already there.

shut up, omnipresent crazy man.

i recieve a string message from server, i am makng a quick chat filter

overall, all I can presume is that you are playing fuck-around and pretending to "optimize" for stupid reasons, at the wrong time.

"ass" in the message string
but i recieve over 1000+ message per second

ass is just three letters, not a "word"

Vanpriest over 1000 per second? whoa.

for you, it's a way of life

PoppaVic its a samples

pmk lol

i can filter b@tch or whatever
that why i do not want to create a string everytime
it eat a lot of momory

“lot'' ?

I know what it was, and I know you are filtering/censoring as well. Doesn't matter, you need a more clear idea of what, when, why and how.

i am just wanna check in the message string directly and figure out the word, it
i am trying to figure out a command like in Java or Php to do a find in the string with ignore case sensitive

Vanpriest you either go with the memory way (which i think is the best) or with the speed– way

15 minutes after you get it to work, some little weasel will bypass your shit shrug

wihtout having to cop y the message into a new string, convert it into lower case, and check it

Best approach is a NFA. Build one with flex.

Vanpriest it does not eat as much memory as you think it does
that is, if you free() the memory you're using each time

yer talking about in-place, r/o tests

ok jIj .

Vanpriest and if it is a server/client issue, the checks should be done client-side to reduce the memory/resource usage

FOr starters, you need to declare what "a word" is. You can't do dick without rules for yourself

for(i=0;i(strlen(x)-strlen("HELLO"));i++) { if(x[i] == 'H' && x[i+1] == 'E' && x[i+2] == 'L' && x[i+3] == 'L' && x[i+4] == 'O') {x[i] = 'h';x[i+1]='e';x[i+2]='l';x[i+3]='l';x[i+4]='o';}}

they are not importand checks, so it does not matter if someone REs your client

or something

i suppose you don't have any security anyway

censors and editing other folks is a pita

"I will not spew unintelligible non sequiturs on ##c every single goddam day." It'll work wonders for you, pops.

you can't do it well w/o context. And I don't like folks screwing with my context.
editing someone that wrote "asset" or "assume" is just stupid, and if they want to be real dicks they would embed it in other symbolics anyway

your task is doomed to failure, though, since you'll never catch all appearances of words unless you are also aware of Úñ¡¢ó¬

heh

I'm serious.
  take notice

I do agree, content is usually an issue for clients. otoh, I've always felt a human auditor at the server helps to reduce the multi-client "spew" of twits.. Not fair to the network or users to _force_ them to accept a packet of racist/sexist/whatever crap to filter it there.
I do agree, content is usually an issue for clients. otoh, I've always felt a human auditor at the java server hosting helps to reduce the multi-client "spew" of twits.. Not fair to the network or users to _force_ them to accept a packet of racist/sexist/whatever crap to filter it there.
pmk is right, there

thing is

I'm always right, crazy man.

Vanpriest did not ask how he can filter (bad) words from a buffer
what he asked first was for a case-insensitive strstr()
it's teh XY problem
candide, xy

You want to do X, but don't know how. You think you can solve it using Y, but don't know how to do that, either. You ask about Y, which is a strange thing to want to do. Just ask about X.

learn to write a line, man ;-) No, I agree - he has issues on his issues because he is playing at "optimize" before he has it all nailed to the floor.

why can't he use strcasestr(3)?

It's like using 'find' on a 2gig document - you already _know_ you want a finger on the 'next' key..
same reasons as usual: he doesn't understand and isn't clear what he wants in any given case
This explains why he starting mumbling about using regex, too
started

hi

lo

Hy'

ok i found the command to ignore case sensitive. its stristr…
it was pretty simple -_- dont need to convert anything
lol

“command'' ?

i mean the function in C

stri* and strcase* are neither universal. May have one, the other, or none.

i see…

this code
char c; while((c = getc(stdin)) 20); will run for ever even if EOF is reached only if c is type of signed?
and char being signed or unsigned is compile hosting dependant right?
(if not specified)

wrong return type

PoppaVic, i know, my question is differend

by itself 'char' is sign-controlled by the CLI of the compiler

do you want an answer from somebody that knows C?

so i cannot know if my program will run forever or stop if EOF is reached in that snippet correct?

it's an irritating oddity, and EOF is not a char, is it?

pmk what about your answer
PoppaVic i know what EOF is

oh, goodie.. What is it? Pmk is more than welcome to save you, btw

PoppaVic have you understood what i am questioning?

well, for starters your use of getc() was bad; and you stuck it in a while-test as well, you asked about char-signing by the compiler, and then pmk shot off his uber-mouth. So.. Good luck.

i'll try to ask again, char c = -1; if(c 0) { printf("yes\n"); }
if my program prints yes depends from the compiler, correct?

Ask pmk.

The signedness of plain char is implementation-dependent, and on some compilers it's adjustable. On x86, for bad historic reasons, plain char is signed.
So plain char works like unsigned char or signed char. This is somewhat different from plain int, which is always the same as signed int, except for one implementation-dependent context.

thanks pmk, and to be honest i don't see how the latter question differs from the former

what is that context?

Extra points will be awarded to the student who knows when a plain int might not be signed.
an implementation is permitted to treat a plain int bitfield as unsigned.

iow, there is Yet Another CLI option.

so never declare a bitfield as plain int, always use an explicit signed or unsigned, whichever it is that you want.

lo draic

i have to go.

hello
I'll be back in a minute

wb

Thanks
How's it going?

oh, it goes.. A few more notes, a few more chores, a few more ignores - you know

i think i've found a tautology
if you've been staring at a piece of c code

taut is nice
oh.

for more than 3 times as long as you normally would
and you still don't understand it

heh

it's probably a hashing algorithm

well, I'd not think "hash", but I _would_ think "unclear"
I've never been overly interested in hashing.
My universe is usually ruled by a chronological or an alpha-based search, if not a simple index.

hash functions seem to usually be a combination of random arithmetic combined with random bitwise ops

It's more a search-order than a storage-method.

A long, long time ago - around the time of dbIII - I really started to realize that data is data, but keys and searchs are another whole mess.
actually, it even matters HOW to access what you keyed and want to r/w/x
so, the key and it's result should deliver that info. And maybe do it, or you need to explicitly schedule it.
But, I agree.. "hashing" is a nifty idea for folks that might use trees or lists.. But when, HOW and why is a realy kick in the nuts
/realy/real/
near as I can tell, hashing implies "you tell me how, I am too stupid" and "buckets"

the more he raves at the emptiness, the less sense he makes.

again: "go fuck yerself in the corner"

as far as i'm concerned hash functions are shrouded in mystery

I can't recall the last time I bothered with them

hashtables are quite common

I know Z uses them often
I'd rather use a tree, a list, or something else.

faster than a tree

not always. it depends.

can use a tree

that's fine.. Then tell me why it's "better" or "applicable"

implemented correctly, true balanced trees (not AVL or red-black) can do better than an expensive hash function.

faster is nice. So is apropos. So is who does what to whom and why.. You already said the latter eludes you.

and hash tables are hell if you need to be able to delete items.

keeping trees balanced is a pain in the arse though

iirc, hashes are best for r/o
balanced trees are just one form

Hrm…. I don't suppose anyone here knows how I'd get an X11 connection into a GIO source..?

au contraire, true balanced trees are easy.

I am positive there are folks that use unbalanced trees
hehehehe - Yer the glib guru, dude ;-)

AVL and red-black trees are only height-imbalance-limited.

Sure, I know GLib. I've never done raw X11 lib before

my sympathies.. I've avoided it since my days of editing an object via X11.. I just don't want to know.

heh what for

true balanced trees also support a fast "find the Nth item" function, which a hash table can't do. handy if you need to iterate over your key set in order.

It seems Xlib wraps too much stuff - I can't seem to get a nice easy filehandle out of it, that I'd inform it to look for more events

that is true
why don't you just use xlib directly

and the overhead of a true balanced tree is just a single bit per node. yet data structure texts spend way more time on AVL and rb trees. don't know why anyone uses them.

XWaitForEvents or whatever it is

Hmmm?
Because XWaitForEvents will block. I need it async. because X11 is just one-among-many things my program will be doing

char *uid = ""; and I'm getting this: warning: initialization discards qualifiers from pointer target type. why?

i see
i don't think it will block
i have written code that doesn't block
i think you wrap it in an XPending or something

i

Well, in any case, I need to get Xlib to tell me the fd of the connection to the X server, so I can add that to the select() loop
(well, poll() since it's GLib)

mm
there's probably a system-dependent way of doing that
maybe you could nick something from the x11 port of gdk

I was pondering on that

well, it's still going to predicate on Xlib on an X11 box.
I recall a project where I was dipping into each to deal with gtk++

LeoNerd, what are you working at?

it's unusual for someone to want to connect to X in glib, why not just use gtk?

A much more generic version of xbindkeys or imwheel
I want a program that has a big config mapping of "When event X happens under conditions Y, do Z"

so just for Xlib?

X11 keys/mouse presses might be events. Which window has focus can be conditions. Actions might be exec()ing something
Nooo.. way more
Other input devices, perhaps a joystick
Other output actions, such as mpd control

I see

cron is "bind [time] to [exec]"

goddamned isp

Hello

i want to call an external program with execl. How can i read the output?

"read the output"?

you'd pipe and fork - and it's obtuse.
consider popen/pclose instead

if you have a chance to read the output, the program didn't run
which is to say, you don't want exec*

hehe ok
so i want fopen ?
i'll try that

see what PoppaVic said

thanks a lot

!book cmichael

(popen != fopen)

candide, in front of me with open site about exec*

a site is not a book, you putz

book page
i'm sorry

no. It is _not_ remotely the same.. What you are implying is "save me, I am too fucking cheap to buy a book and toolazy to read it or do the exercises"
lo, peapicker
Folks here cannot save the lazy from death. And, we tend to applaud suicide.

Hi

lo..
I'm thinking of vaccuming the house - what's new?

My uncle stepped into my house; 30 minutes ago, saying "I need to learn how to write computer programs"
uMy uncle stepped into my house; 30 minutes ago, saying "I need to learn how to write computer programs"/u
I have a horrid hangover; and I'm going through this book (Chapter one, for the third time) with my uncle.

why does he need to learn how to write computer programs

I hate going over books multiple times.

hey there, PoppaVic

hi peapicker

sorry for the delay. busy day

dude, you know my feelings on "programming" - I suspect he has no idea what he asks, but has something he wants

I think he found a girl who digs guys who are into coding or something.

hahahaha

lol

Yes, well; I don't mind it, being as I'm getting paid.
But going over this book again.. not something I fancy.

/bAD/ llama! you can't leap to conclusions w/o experience ;-)

;p

maybe he wants the code to tell him WHOM to lay ;-)

so he comes to you i need to program what the hell does he think hes going to program

bonsoir ou re !

virtual is ignored, because of his away/back crap

Perhaps he saw that die hard 4 movie.

haven't seen it

It's pathetic, they attempt to hack all the online IPs, and own traffic lights, etc.

well, it's family.. so yer fucked right there. Telling them how and coaxing them means you really teach them and the listen, or it's all moot - and they want a "tool"

I could care less about the 'family' factor.

yeah, but I am old enough to make that call - don't let emotions control you. Interest is interest.. Let them learn or die well.

"I think with my brain, I could program very well in a month"
u"I think with my brain, I could program very well in a month"/u

"Let them learn or die hard"

Cool, "Show me"
I miss a local box that was NOT my endian or OS.. I'm damned tired of x86 assumptions.

sorry, that's an allusion to the name of the die hard movie draic was talking about :o )

I need to set archlinux up on my other laptop; slackware is irritable.
So brb

is it possible to hack into street lights
from online

btw, I love the look and price of the new iMacs

i doubt very much

there may be monitoring/control infrastructure

I don't think so. It's an automated system which triggers the traffic lights at sequential moments.

if there is a control remotely then maybe
im sure it is

you could proably turn it off

there is certainly a network of controls/controllers: stop thinking of yourself as a hacqueer

it might be a local control not connected to the internet though
and it may not accept inputs to control them

if you think you are "kewl" then goto #asm and just bother them.

what's wrong with asm

you can definitely manually override any stoplight if you have physical access to the control box

do we really need to rehash it?

yes manually i'm talking remotely

yeah

unless they designed it to remotely access them then its impossible

talking with other systems means access and agreements.

i mean remotely control them

I don't give a flying fuck if you mean humping them remotely.

crazy man always starts to lose it badly about this time of the day

here is local and here; there is remote and there

see? not an atom of intelligible sense remains in his ravings.

again "fuck yerself in the corner"

time to start gnawing the leather straps again, crazy man.

you seem to be very interested in traffic light hacking
I'm sure there's a paper somewhere.

not really draic's uncle is
i was just wondering if its even possible like they say in the movies

bbiab

fine.. Then you tell the wannabe all your wannabe secrets that somehow sneak into their machine and execute what you think they don't protect and really allow. shrug
I'm sure they are all just panting to hack cray's

preprocessor help anyone ? I want a macro MACRO(test) to expand to "/path/test" with /path being defined by another macro

the wiki, loke we've mentioned for years
like

#define PREFIX /tmp
#define MEDIA(x) PREFIX/x

greetings all

MEDIA(test) — this works, but I'd also need double quotes around the result (currently /tmp/test)

I told you where to look. Die well.

talking to me ?

Just expand to "/path""/test" and let automatic string concatenation do the work for you.

yeah, listen to pmk

and ignore poppavic, he's literally crazy and just raves in ##c all day long, unintelligibly.

;o

I must be wrong all the time, 'cuz Z and twkm spend their lives telling folks all about it.
wb

;
;]

I can't rely on automatic string concatenation, as cpp output is not sent to a C compiler
"/path""/test" — this is not understood by it

then pipe it through sed 's/""//g'

nah, too complex, no way to add quotes at beginning and end of the expansion from the macro itself ?

so, I am wrong - he is wrong - and there is no solution?
tsk.

raving looney, go back to gnawing on your leather straps.

yeah, interesting headspace you have.

http://rafb.net/p/zezmPK79.html — how come that segfaults on runtime?

take the asterisk off the assignment

alright, I found out I didn't need those quotes after all. Thanks pmk !

and also off the argument to printf

look at the arg to the printf

aha that worked

which C book are you using to study the language?

I'm looking at some tutorials online and I've also got a for dummies book

get Kernighan and Ritchie right now; anything else is a waste of your time and ours.

coal mine accident here in town, three people dead

http://cm.bell-labs.com/cm/cs/cbook/ ?

bingo

a BOOK is dead-trees. trust me

dead trees?

oh, just shut up for christ's sake, crazy man
ignore the crazy man

doesn't mean dead treas aren't what you're looking for

I guess C hasn't changed a whole ot since 1988? :-p

it has, but right now you need the learn the fundamentals of ANS C, and they haven't changed since then.

He's yours.

dead-trees are pulp-paper - die well

Hello Airer-girl.

come on now, you saw "girl" and went nuts ;-)

hello Airer-girl

lol

If you think so

a real live gire?
girl*

well, I based that on yer post and "her" nick ;-)

you go girl…

amen

i thought they wen't extinct

gals and guys… Let's not get too wild over sex, kids ;-)

like the dolfins of xangxai in china

Christ; Alright, i'm going to go over this chapter with my uncle; he's back now. Hopefully I can go through three or four chapters with him today, and he'd give up his attempt.

you know it gets down to about 5% women/minorities at the earth science graduate level

airer-girl what do you do?

it's more useful and interesting to help folks until they step on their weenie - and THEN tell them they need experience.

it just takes time
Airer-GIRL!

well, it also depends on wtf they do and where.. Doze and dos will let you crash the entire box.

I'll call back in a little while; I need a new pack of cigarettes anyway.
Hah ;[

good luck

cigarettes cost you lots of money don't they

yes, we smokers are getting raped - we are !pc and we get damned tired of it

companys are going to start docking your pay too
well your putting quite a strain on the health system also

not mine they won't, and I suspect there is a huge court-case in the works

not really, jedi06. if people are stupid enough to smoke, they often kill themselves earlier, and end up costing less in total.

i doubt it i'm sure there are some statistics that back me up.

just search "smoking costs" on google

stats and "emotions" have no bearing on "rights" - Folks can believe what they like shrug

well some companies will pay you more if you don't smoke

pay you? please.

yup

I think he means health insurance

i mean the companies you work for

oh

same for low cholesterol, eating healthy, excersizing

I've worked places that absolutely expect you to "clock out" - be unpaid - for "half-hour-lunches", but tried to mandate what you did for that 1/2 hour. Good luck.

becuase they pay for your health insurance

right

health insurance don't care if you smoke they just will deny you health care

so they say.
Wear a seatbelt and a helmet, too

hi everyone

Hu
hi

I was cooking earlier sorry

Airer-girl: howdy.. Whats the issue (I know from cooking)

um to answer your questions 1- I don't program, just learning, 2- thanks nm
um nothing just got done eating

Airer-girl: well, yer in ##C, so you must care and be interested in C.

are you in school

no not in school and I want to learn C yep

ok, fine - dump the "girl" suffix, and watch, test, and ask

test what?

whatever code you care about

why do you want to learn c

oh
because it's fun I just got into linux and using a computer so I'm learning quick

the sexist suffix will ruin yer day.
code and coding is sexless.

airer-girl did you happen to see die hard 4

why would it ruin my day?
jedi06, no

Hi! I need to go through all files in a folder. How to do that?
(Using CRT)

crt?

I could use Windows' FindFirstFile() but I want the code be platform portable

Airer-girl: do you have big tits? a perfect complextion and are shaped perfectly? (hint hint)

CRT = C Runtime Library

You have to use an OS/platform specific set of APIs for that.

You're vile, PoppaVic.

yer in the wrong place
!win32

win32 is try #winprog on EFnet

PoppaVic, I see what you mean, I don't have big "tits" but I'm tanned and fit for love making

Airer-girl: ^^

no, I am too old to care - but watching either side bait or pant is really depressing.

airer-girl how old are you

20

mr_science, especially now that it's totally broken.
i like crux a bit better.

CRT cannot do that?

Airer-girl: that's TMI for ##C and we don't care.. The only time sex matters is when you make a comment or joke and you are afraid it might bother some twat.

It depends on what you mean by CRT.

hey, i'm running a couple gentoo boxen on 5 kinds hardware

MartinVavra, windows has posix opendir/readdir/closedir.

only one or two break at any given time…

The *standard* C library does not have APIs for reading file names from a directory.

PoppaVic, was just answering your questions

*dozen

so just use that. not as exciting. but if you write for windows & unix you have most OSes covered.

Airer-girl: Did you ever figure out how to use arrays?

Airer-girl where do you live

draic, no
jedi06, …

Amazing.

But *your* CRT is likely to have *extra* APIs, such as _findfirstfile() and _findnextfile().
uBut *your* CRT is likely to have *extra* APIs, such as _findfirstfile() and _findnextfile()./u

SEE!?

CRT is C RunTime Library and findfirsfile() is a Windows API call

hi there

godddamnit.. /sigh folks: Programming is neuter.

so i can't know that

wtf? Does this look like #hottub to you? Take your flirting to privmsg.

MartinVavra, and opendir is posix and seems to be on windows and unix. although it might be renamed _opendir on MSVC crap

I will try to use the POSIX functions! Thank you very much.

the force is bloody weak in this one.

The POSIX functions are likely not available on Windows.

yea. you're welcome

I've one notch above zero-tolerance for newbies that think sex doesn't matter

Teckla, windows has some of the simplier posix functions

Airer-girl: as you progress, notice the geek cultural differences between language channels on freenode…

i had opendir/readdir on Turbo C++ .. and that was DOS

as spock would say, fascinating…

Lo friend.

cultural differences…? I am just interested in C what will knowing it help me on?

Auris-: hehehe - too busy primping ;-)

draic, hi

I see…. So what to do about it?

I don't think opendir/readdir/closedir are among them.
But maybe.

Teckla, it might be a borland thing.

yoda would sigh too.

Airer-girl: What confuses you in regard to arrays?

Auris-: yoda was very old, and tired.. Btdthts.

Teckla, i've used opendir/readdir on windows without cygwin. and i've used it on DOS before too. the semantics are slightly different than the true posix versions. but it was good enough.

I still have a hard time understanding C as a whole sorry

Airer-girl: What confuses you.

it's pretty trivial to write readdir using findfirst/findnext api.

you should start with a book airer-girl

We'll probably find out soon if MartinVavra can't find those functions.

PoppaVic, true, but he knew his stuff.

I would expect Airer-girl has a book.
The C Primer Plus is relatively nice.

Teckla, well he might have to switch compilers.

I am reading Practical C by Reily Publishing (I forgot the author)

I see.
I need to finish this archlinux install, hold.

how'd you get that to work? I was looking for something like that the other day but all I could find was a little wrapper library

Auris-: or at least LEAD folks to learn.. THere is nothing wrong with leading someone to think/learn and become _better_

Airer-girl : real girls don't use C anymore they tend to use languages like java

java is an offshoot of cpp.. and cpp is an "upgrade" of c..

or maybe C is old enough to be retro-cute and a chick magnet

that's what the bokos ays
book says
wow

It tells me you and then are stupid.

then/they

can you just be nice to people

am I? I haven't said anything

not my issue.

matt___, hrm. i could probably write a wrapper library for findfirstfile in about 15 minutes. i don't see why it would be hard.

Airer-girl: not remotely possible - too much testosterone. I don't much care, but the kids do

matt___, and borland and mingw32 seem to already have those wrappers

how come the scanf function here segfaults the program?
http://rafb.net/p/tOLK1890.html

scanf is a whore, you segfault - not the func.

PoppaVic, you've been playing the sex card yourself by talking about it and you care, otherwise you would be a nicer person
again, I have said nothing, put me on ignore if this bothers you so much

Airer-girl: I as never a "nice person" - so that card fails.

explain?

as/was

ahh ok, mingw32.. I was trying to find them the other day using MS' compiler
ahh ok, mingw32.. I was trying to find them the other day using MS' compiler

you want pmk - feel free.

oh ok, good to know 'I as never a "nice person"'

I tried.

Airer-girl: are you really a girl?

um okay..

yep

doesn't really answer my original question though

##C doesn't care - /msg them

Airer-girl: then how come you say you "`as never a nice person"

"nice person" is just laughable. Because it's subjective AND contextual.

Airer-girl: I as never a "nice person" - so that card fails.

ah aight…

my bad: I am not "nice" - I never said I was.

Where's an op when you need one to stop this f-ing stupid conversation?

nice as in what? any meaning of it?

PoppaVic is like the big sassy lady working at the DMV

*lol*

why? no one is flooding or harming anyone - start a goddamned conver-fuckin-sation and STOP CARING

PoppaVic flood is detected, try flood again !!! ;D

People have been TRYING to talk around this stupidity.

noooo.. you mean Zhivago .. I am sorta' helpful and polite.

ther's no talking around it
there's talking through it though

really? where?
wussy ;-)

exactly, the dmv lady is the same way

Teckla sounds like Tequila btw

PoppaVic can say whatever he wants. He's been around for ages. He has diplomatic immunity.

occasionally

no
I can be wrong, and I can be mean/rude - and I don't much mind being called on it. maybe that is a diff

I wish to use 'diff' to detect only new lines added to a file. what arguments do i use ?

As I come to think about it, "poppa" is kind of sexist too.
….for anyone who considers "girl" to be sexist.

think phonetic-alphabet, but male/female boils down to "neuter"

hypocrisy
- they always trip on their own feet

if fems, (which outnumber mels allll over), want to propose and pass bills, publish books or whatever and teach "it", I can deal with it: All of you are just grey text on my screen.

I don't know if your blurred phonetic nick makes in less sexist.

Poppa Victor - if you have issues, they are YOUR issues

PoppaVic, are you an op?

didge, is it a C file?

yeah honey, don't be coming in here

hehehe

woah!
who left these lying around?

underscroll?

you have no idea how many years I;ve said that w/o meaning to insult someone.

Auris; no it's a directory structure generated with tree

honey, dude, yo, bitch! - etc..

Yo.

are we speaking again? I got the feeling I really pissed you off the other day.

didge, we try to focus on C matters here. did you read diff's manpage? it takes two files and reports their difference. an unified diff might prepend new lines with a + which you can grep for.

Auris-: you may know them as "that line"

I find it amusing that *girl left

cin, I just noticed that I don't think I've ever thought what _'s name in english might be. is "underscroll" official?

she may not come back too

Nah, you didn't piss me off.

Auris-: it's common where I come from

whew.. I really got the feeling we got into it, and I was sad over it.

Because of your AOL-ish "age/sex/language?" response to her, or because of the inane "conversation" which took place?

why would either matter in ##C?

i think its age sex location

Sad over your sociopathic unintelligible incessant ravings? I don't believe it.

jedi06, I though jedi were supposed to not get too involved with any sex.
+t

I do maintain that ##C is usually sex and color-blind, and I can understand jokes that sorta' bleed.

Auris; thanks

you're wrong how would we make more jedis

Auris-: alternative (and probably used more commonly) is 'underscore', http://en.wikipedia.org/wiki/Underscore

ah, underscore. yes, rings bells.

jedi06 heh

C is really blind of all things that do not constitute it. :P

Reading the backlog, I think I'll go do other stuff and remain 'away' B

jedi06, you don't. that's the point. the force makes them.

really old farts like pmk often call it "underbar", too. and "@" is "masterspace", but that one's really died out.

not really… ##C will absolutely debate how to do what to whom "in terms of C"
…not remotely a _BAD_ thing.

What does that even *mean*, crazy man?

pmk, where does masterspace come from?

we missed a chance to get a 20yo tanned & fit girl into k&r

And, sure… I know a few fems in ##C such that I avoid a few jokes. Folks do this all the time at parties.

The @ character had a code of 0 in a couple of ancient six-bit encodings.

what kinda geeks ar we?

Auris what do you think the force is…

interesting are the many names given to #
has, mesh, number sign, octalthorpe, sharp

the world needs less bubbleheads & more codemonkeys

namely, Univac's Fieldata and CDC's six-bit Display Code.

jedi06, there's a pile of movies that describes it quite well.

LOW LINE¨

why would I bother to bait and trap a fem that had no interest?

I've never heard that before tho

  Unicode is wonderful.

bait & trap her into doing something intelligent

thats in the movies not real life i'm talking about the real jedis

pmk, so was it used as a separator?

then it had no issue with sex.

Indeed, every Univac Exec 8 command began with @.

i think she came here for c programming & the geeks panted all over her

it flaunted "*_girl" 0 I no longer gice a shit

no she'll be back

give

pmk, ok. interesting tidbits. :-)

why do i think of homosexuals when somebody says geeks

do homosexuals bite the heads off chickens?

maybe yer a latent?

I can't imagine a more enticing experience for a young lady than chatting with 473 virgins, including a weird old crazy man.

well , maybe your mom can tell

lol

fatsheep, your segfault came from you not allocating any memory for the string you wanted to get with scanf. read your book about arrays and memory allocation.

Do you have a web site?

I always find it amusing that folks _always_ decide it's the "other persons fault"
no, I use an ISP and rarely ref the url

I faintly remember you showing me some cool project you'd done, over the web… dunno, maybe it was someone else.
Ooh, no, it was another ##C regular that I haven't seen around in a while. His nick started with an 'a', forgot the rest. :P

cool is subjective ;-) W/O a clear plan and warm bodies, it's just more noise.

sometimes I wonder if I should at least once check the email account that came with the adsl-connection.

Yeah, well, it was 'cool' even by the introducer's perspective.

no
'cool' is like "he/she is HOT" or "nice tits" or "nice dick", etc - it's all subjective and there is no way in hell that everyone cares or agrees

pops, please call the doctor, and say "the meds stopped working, come pick me up"

it's clear that it was Capso who thought the project was cool.

I just love that you keep caring

time for your nice white canvas jacket, crazy man.

assuredly, and that's "cool" for him/it
a bit is still a bit, and yer into the garbage-bin ;-/

Which A levels do I need to get admission in a computer science education in UK, USA or CA?

C doesn't have A levels.

C is for Cookie!

it is.

ahmad, please check each school's admission information at their respectively website.

matt___, yea. i don't use MS's compiler. only mingw32 and borland.

Comments

« Previous entries · Next entries »