@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> mspo: You understand that (pointer to thing) doesn't mean anything except that the variable in question is meant to be interpreted as an address rather than an object, right?
<0> The "thing" part is meaningful to the compiler and to the guy reading the source code.
<0> i.e. "thing *foo;" can contain an address which represents the start of a "thing", or it could represent the start of a "something_else".
<0> The compiler takes it on faith that you will be using "foo" to contain the address of the start of a "thing". Casting works around this :).
<0> It's all in the interpretation.
<0> so a "char **argv" just says that "argv contains an address which is the start of an(other) address; that 'other' address will contain a char."
<0> (theoretically).
<0> I say "theoretically" because it's not illegal to have "char *foo" and "int *bar" contain the same address; as I said above, it's all in the interpretation: References to "*foo" will be ***umed to refer to a char, while references to "*bar" will be ***umed to refer to an int, even though "foo" and "bar" contain the exact same address.
<1> anyone done any rpc programming?
<2> Greywolf: i've seen unions that do just that
<0> reuben: That's kind of the point of a union.
<2> dsr: unions are pointless without pointers?
<2> s/dsr/Greywolf/
<0> Aha. Ahaha. GIVE me thaaat...
<2> a union's point is pointers, that point to a liter of beer, and to those who prefer their unions, here's a pointerless pointless Hear Hear!
<0> I've used unions for multiple data types. I always thought that a stat structure should have had a union for rdev/size, since on a device, size is meaningless, and on everything else, rdev is meaningless.



<3> Greywolf- I got that part. I was didn't know when to use ** instead of *
<3> anyway, time for dinner
<3> I'll be back into it tomorrow morning, I think
<2> greywolf: a device generally makes a union meaningless
<2> this cisco router has had open telnet access to the internet for years
<0> Memo to all personnel: Effective immediately, due to security problems, we have clipped all hard data lines to the computer except the console. This makes it hard for others to connect, and we apologise for the inconvenience. However, response time at the console is REALLY snappy!
<4> does netbsd support the IT8212F onboard raid controller?
<4> hm ill try it nvm
<2> ssh EscapeChar + tip == evil
<5> tip?
<2> better alternative to cu
<2> a skinny version of kermit
<5> ahh
<6> what controls the maximum size that can be allocated in a single malloc call?
<0> Depends on what you use kermit for. tip ****s for file transfer. Kermit's great if you don't have ftp/ssh/scp...
<0> Oh.
<0> Sorry bad timing Ober....
<0> Hmmm. Malloc grows the heap...so probably datasize.
<6> is it tied to the size of available physical memory?
<0> Not necessarily.
<0> Keep in mind that unused stuff gets paged out.
<6> well
<0> Of course, if you try to REFERENCE it all at once, that could be problematic...
<6> Memory: 32M Act, 92M Inact, 460K Wired, 5328K Exec, 113M File, 153M Free
<6> Swap: 129M Total, 129M Free
<6> the maximum i can currently allocate is 128 MB exactly
<0> Hm. Is that in one call?
<6> yes
<0> Argh! I don't have a compiler on this box!! Frap!
<6> one sec
<0> I was gonna run a test...
<6> i can allocate 256 MB in multiple chunks
<6> actually no, 255
<6> perhaps it will help if i add more swap?
<6> hm, i just added 1 GB of swap, but it had no effect on either the single-call limit or the total limit...
<6> any ideas?
<6> wait, i am dumb
<6> always helps when you have bugs in your test code
<6> ok, so both with and without extra swap i can only allocate either 128 MB at once or 127 MB (why smaller?) in 1 MB chunks
<6> nevermind, it was all due to limit...
<6> i was sure i had tried that already
<6> also that 1 MB smaller was a bug as well :)
<7> good morning
<8> where are make install logs located?
<2> greywolf: i've never used tip for file transfer, that is a strength of kermit
<2> greywolf: though you could use tip w/ sz/rz no?
<2> mm amber bock, never tried this before
<2> emc bought rsa? =(
<2> how do i know what the device file for my com port is on NetBSD/sparc64
<2> ?
<9> it's /dev/ttyb
<9> or /dev/ttya
<9> from Solaris
<2> if i set up getty on my pc's tty00, the sparc64 system can log in with tip dtyh0
<2> but tip dtya doesn't work
<2> if i set up getty on the sparc64 ttya or ttyh0, i cannot log in with the pc tip dty00
<2> i am guessing since i have a weird pci ultra-10, that is why dtyh0 works but not dtya
<9> i know sparcs are DCE instead DTE ports
<2> i have a null modem cable between them



<2> or do i
<9> really?!
<2> whatever it is, i can log into the pc from the sparc, but not the other way around
<9> you souldnt need one
<9> that;s the thing
<2> it is an unlabelled serial cable that worked for a serial console on the sparc64 back in the 1.6.2 days
<2> so i will ***ume it is not a null modem cable
<9> yea hmmm just use PPP instead? >:}
<9> oh wait, you can't use the serial console port on the U5/10...i think...
<2> i used to
<2> well if i cannot log in, how can i use ppp?
<9> *sigh* i could go for an authemtic serial console
<9> the dell console redirection blows
<9> what you need is a cyclades 16 port PCI card
<9> they're like $20 on ebay
<9> http://cgi.ebay.com/Cyclades-8Ys-PCI-v1-00-8-port-serial-adapter_W0QQitemZ230003051201QQihZ013QQcategoryZ11182QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
<9> http://cgi.ebay.com/Cyclades-BYo-PCI-v2-00-Card-9-PCBS-0061_W0QQitemZ280003275946QQihZ018QQcategoryZ56100QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
<2> what do you think is wrong with the serial port i got?
<9> nothing, but it sounds like an opportunity to burn some of that green >:}
<9> money, that is
<2> this is frustrating
<9> i have this nice serial port debug device that tells me using LEDs what bits are being set on either side
<9> http://www.datalinkcom.net/accessories/232BOB1_large.jpg
<2> the serial cable still works for the console on the ultra10 when booting to ofw w/o vga, but it doesn't work for getty on ttyh0
<2> i am thinking that with the vga console and wscons/wskbd/wsmouse something wonky happens with the serial port
<2> lava_lamp: i think i would be better advised to use a spare pci ochi with a usb serial adapter
<9> or a real IDE controller
<9> the ATA controller ****s...UDMA2 max ...5400 RPM drives
<2> lava_lamp: i already put a pci sata controller in there, sped it up way faster
<9> very nice
<9> 16mb cache drives?
<9> that **** is hot
<8> humm
<8> ive installed xorg. pkg_info says its installed but no command work to configure it
<8> think ill remake my pkgs
<3> ugh
<3> I bought some fake pot from a store thinking it would be like nice, flavoured tobacco
<3> at least
<3> but it's just crap
<8> parsely?
<8> parsely and stems
<8> lol
<3> ;)
<3> pretty much
<3> money down the drain
<5> any mac68k users?
<10> heyhey
<8> when ever you make a pkg from source and it bombs where is the log?
<10> work/.build.log or something IIRC
<8> nm I found it in wok/.work.log but it wasnt showing up in the meta-pkgs directory
<10> The meta-pkg doesn't really build anything ;-)
<8> haha
<8> well now you tell me
<10> You didn't ask!
<10> meta-pkgs typically are nothing more than a shell that pulls in a bunch of other required dependencies
<10> They're useful, but you need to actually look at the failed dependency when debugging any pkgsrc build issues.
<8> ok. hence no work logs
<8> thanks for the info
<11> and, pkg_deleting a metapackage does nothing really unless you specify it to remove everything it depends on as well
<8> for instances on xorg, a pkg_delete "*xorg*" would delete all xorg packages correct?
<8> or should I add the -r option also?
<9> i don't think pkg_whatever tools do anything with ARGV[]
<9> *xorg will be a glob value interpreted by the shell
<9> unless it expands to nothing
<5> any mac68k users?
<9> probably all drunk by now =/
<5> heh
<9> i'm suprised we use RMD160
<9> instead of say, SHA256 or TIGER
<9> for pkgsrc distinfo hashes
<9> mmmm, SHA256 might be a bit tough on vax
<11> I'm more surprised about SHA1 :)
<10> what's wrong with RMD160?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #netbsd
or
Go to some related logs:

#computers
the newfies
Corbin Dallas mooltipass
#computers
#beginner
Uses Unarium
#mirc
IEUserpassEnable
Portugal
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes