IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.46 MB
Powered by
Channel Info
Network: freenodeChannel: #netbsd |
Search in www.irclog.org
Log from #netbsd at freenode 2006-07-22
[00:12]<xdff>hello
[00:13]<dzezycssjg>hello :)
[00:14]<xdff>hello
[00:14]<o2nz>hello
[00:14]<ddnsr>hello
[00:14]<dzezycssjg>:)
[00:20]<mrvnbsm>wtf
[00:20]<mrvnbsm>you cant overload functions in c?
[00:22]<mrvnbsm>damn
[00:22]<mrvnbsm>i hate C
[00:22]<xdff>what do u mean dave ?
[00:22]<vgzrvjrgg>C is a nice small yet powerful computer language
[00:22]<vgzrvjrgg>C++ is a monstrosity
[00:23]<dzezycssjg>date: No, you cannot :)
[00:23]<dzezycssjg>Ehh,, s/date/daveBSD :)
[00:23]<xdff>daveBSD what do u mean u cant overload functions?
[00:23]<dzezycssjg>hypl: He means that C cannot overload functions :)
[00:24]<mrvnbsm>hypl: C does not support overloading of functions
[00:24]<mrvnbsm>meaning multiple functions with different parameter lists
[00:24]<dzezycssjg>daveBSD: But I believe that the ANSI-extensions adds support for this
[00:24]<xdff>ohh
[00:24]<mrvnbsm>fucking C
[00:24]<mrvnbsm>its old and busted
[00:24]<xdff>thought u meant overload as in like overflow lol
[00:24]<mrvnbsm>heh
[00:24]<mrvnbsm>s/pythong/python/g
[00:25]<mrvnbsm>hypl: anyone whos taken a compsci class knows what overloading is
[00:25]<xdff>im in highschool
[00:25]<xdff>i taught myself C and i guess i should know that but i didnt so im stupid heh
[00:34]<ugnw>daveBSD: About C - good or nothing :P
[00:43]<rfrumyj`>How can i open this file: MPEG ADTS, layer III, v1, 32 kBits, 44.1 kHz, Monaural ?
[01:13]<mrayg2nsv>haha
[01:13]<mrayg2nsv>just read your comment
[01:13]<mrayg2nsv>on not being able to overload a function in C ;D
[01:13]<mrayg2nsv>iirc function overloading is stricly an OOP thing
[01:13]<mrayg2nsv>and C predates OOP quite alot :-D
[01:14]<mrayg2nsv>and damn backing up 200 gigs over the network via rsync takes long ;D
[01:28]<o2nz>Macinbest: try gnu cp with -u :P
[01:41]<mrayg2nsv>lol
[01:41]<mrayg2nsv>82?
[01:41]<mrayg2nsv>82% done already
[04:26]<wyvyrjggg>Could somebody please take a look at an rc script and tell me why it isn't working?
[04:26]<wyvyrjggg>http://michael.geekfire.com/915res.txt is in /etc/rc.d/ and 915res_enable="YES" is in my rc.conf
[04:28]<ajsxn>try sh -x /etc/rc.d/915res start
[04:28]<ajsxn>you might see something in the debug output
[04:30]<wyvyrjggg>Just a lot of "$915res_enable is not set properly)
[04:32]<ajsxn>oh, right
[04:32]<ajsxn>a shell variable can't start with a number
[04:32]<wyvyrjggg>Ahah.
[04:33]<wyvyrjggg>Thank you so much!
[04:39]<wyvyrjggg>Hrm... it's not actually doing anything. The script isn't giving me errors, but it doesn't look like it's.. you know.. doing anything. Is it loading too early maybe? I don't see any output from it at all.
[04:40]<wyvyrjggg>I run the script via the sh -x method and it works fine.
[04:41]<ajsxn>what are the exact commands you use when it does and doesn't work?
[04:42]<wyvyrjggg>'sh -x /etc/rc.d/a915res start' And then in my rc.conf a915_enable="YES"
[04:43]<mgrggr>do you have the full path to every command in your script? is it set as executable?
[04:44]<wyvyrjggg>I did a chmod a+x on it just now just in case it wasn't set as executable, but yes to all the paths.. we'll see if it works this time.
[04:45]<ajsxn>you said it works fine when you run it with sh -x
[04:45]<wyvyrjggg>The chmod did it :)
[04:45]<ajsxn>how are you running it when it doesn't work?
[04:46]<ajsxn>heh, ok
[04:46]<wyvyrjggg>During a reboot.
[04:47]<ajsxn>ah
[04:50]<wyvyrjggg>On a completely different note... anybody know if Pixel will work with NetBSD?
[04:51]<mgrggr>What is pixel?
[04:52]<wyvyrjggg>http://www.kanzelsberger.com/pixel/?page_id=7
[04:53]<ajsxn>if there is source available then it can be ported
[04:53]<mgrggr>I don't want to open a web browser to read about your question. ;)
[04:53]<ajsxn>and may already have been
[04:54]<wyvyrjggg>When trying the FreeBSD version I get "Exec format error, Binary file not executable" so..
[04:54]<wyvyrjggg>deanna: sorry :) It's an extremely, extremely good image editor a la Photoshop. Not free but, I personally find, worth it.
[04:54]<ajsxn>freebsd 5 or newer binaries probably won't work even with the binary syscall translation stuff
[04:55]<ajsxn>and of course no freebsd binaries will work without it
[04:56]<wyvyrjggg>Ahh
[04:56]<ajsxn>you'll likely have better luck with COMPAT_LINUX and a linux binary
[04:57]<wyvyrjggg>Trying.
[04:58]<wyvyrjggg>The developer even releases a DOS version, so I think I can probably get him to do a NetBSD one :)
[04:58]<ajsxn>ah, the joy of binaries
[05:09]<gygrr>hello
[05:10]<gygrr>hello
[05:12]<mgrggr>hi!
[05:13]<ajsxn>heh
[06:29]<p00fytx>is there a `best way' to compile non-bsd packages, so that i can be sure i can take the compiled version with me when i mess up the bsd install and have to start again, or is it simply better to re-build the package after the new install?
[06:29]<ajsxn>sure
[06:30]<ajsxn>you add it to pkgsrc and build a package
[06:30]<p00fytx>joshe: and i presume there's a very well documented procedure somewhere, that i should read before asking more questions?
[06:30]<p00fytx>s/[?]$//
[06:31]<ajsxn>http://netbsd.org/Documentation/pkgsrc/
[06:31]<p00fytx>joshe: i'll take that as a yes.
[06:31]<p00fytx>is it bad to just install junk from source, without using pkgsrc?
[06:31]<ajsxn>there are sometimes reasons to do so
[06:31]<ajsxn>but you're usually ahead using pkgsrc
[06:32]<p00fytx>figures.
[06:32]<p00fytx>does pkgsrc have a search thing that i can use?
[06:32]<p00fytx>or are the packages all spread about the place on random servers?
[06:32]<p00fytx>say, hypothetically, i want to find cplay, and all it's depends
[06:33]<ajsxn>I usually just use ls
[06:33]<p00fytx>ls...
[06:33]<ajsxn>oh, you don't know how to use pkgsrc at all, do you?
[06:33]<p00fytx>joshe: i've got a fresh install, and only linux under my belt







