Utilitybase chatlog - 2006-04-07

Back to overview|Highlight a word

00:32:05   <-- bones has quit (Quit: This computer has gone to sleep)
03:30:46   <-- Bitpool has quit (Ping timeout: 180 seconds)
05:40:38   <-- Rigo has quit (Ping timeout: 180 seconds)
05:43:15   --> Rigo (~repairs@113ade0c.14012855.blueyonder.co.uk) has joined #amigadev
05:43:29   <-- number6 has quit (Ping timeout: 180 seconds)
06:35:49   --> bones (~darren@1a9e3c85.11de379d.demon.co.uk) has joined #amigadev
07:39:35   --> watertonian (~xxx@2d996ff7.22cbf9e3.rcsntx.swbell.net) has joined #amigadev
07:39:46 watertonian hello all
07:40:00 watertonian !seen a_fat_hairy_woman
07:40:00 GrimReaper I don't know who a_fat_hairy_woman is.
07:40:09 MrBot watertonian, I don't remember seeing a_fat_hairy_woman.
07:40:47 watertonian anybody know of an Amiga yahoo messenger client?
08:09:40   <-- watertonian has left #amigadev
08:45:05   <-- BinoX has quit (Ping timeout: 181 seconds)
09:02:20   --> neax (~sym0r@f5eb36d.2af52808.xtra.co.nz) has joined #amigadev
09:04:34   <-- neax has left #amigadev
09:21:04   --> neax (~sym0r@f5eb36d.2af52808.xtra.co.nz) has joined #amigadev
10:02:07   --> Bitpool (~icechat5@1916f0b2.285ef2b1.opa.tdchosting.dk) has joined #amigadev
10:17:24   <-- neax has quit (Client closed connection)
12:26:28   <-- Bitpool has quit (HUB.US.AmigaWorld.Net SE2.AmigaWorld.Net)
12:26:29   <-- Rigo has quit (HUB.US.AmigaWorld.Net SE2.AmigaWorld.Net)
12:26:29   <-- Orgin has quit (HUB.US.AmigaWorld.Net SE2.AmigaWorld.Net)
12:26:29   <-- OrginWork has quit (HUB.US.AmigaWorld.Net SE2.AmigaWorld.Net)
12:28:07   <-- GrimReaper has quit (Client Lost In Netsplit)
12:30:59   --> GrimReaper (GrimReaper@TheOther.Side) has joined #amigadev
12:30:59   --> OrginWork (~orgin@Network-Admin.AmigaWorld.net) has joined #amigadev
12:30:59   --> Orgin (~Banana@Network-Admin.AmigaWorld.net) has joined #amigadev
12:30:59   --> Rigo (~repairs@Rigo.Amigaworld.Net) has joined #amigadev
12:30:59   --> Bitpool (~icechat5@1916f0b2.285ef2b1.opa.tdchosting.dk) has joined #amigadev
12:33:25   --> jahc (~jahc@jahc.Amigaworld.Net) has joined #amigadev
12:36:45   <-- jahc has quit (Quit: <klesterjr> Immoralized for all eternity <klesterjr> Immortalized, I mean )
12:40:16   <-- Bitpool has quit (HUB.US.AmigaWorld.Net HUB.EU.AmigaWorld.Net)
12:40:16   <-- Rigo has quit (HUB.US.AmigaWorld.Net HUB.EU.AmigaWorld.Net)
12:40:16   <-- Orgin has quit (HUB.US.AmigaWorld.Net HUB.EU.AmigaWorld.Net)
12:40:16   <-- OrginWork has quit (HUB.US.AmigaWorld.Net HUB.EU.AmigaWorld.Net)
12:40:16   <-- GrimReaper has quit (Client Lost In Netsplit)
12:41:01   --> GrimReaper (GrimReaper@TheOther.Side) has joined #amigadev
12:41:01   --> OrginWork (~orgin@Network-Admin.AmigaWorld.net) has joined #amigadev
12:41:01   --> Orgin (~Banana@Network-Admin.AmigaWorld.net) has joined #amigadev
12:41:01   --> Rigo (~repairs@Rigo.Amigaworld.Net) has joined #amigadev
12:41:01   --> Bitpool (~icechat5@1916f0b2.285ef2b1.opa.tdchosting.dk) has joined #amigadev
12:41:10   <-- bones has quit (HUB.US.AmigaWorld.Net FR.AmigaWorld.Net)
12:41:10   <-- zerohero has quit (HUB.US.AmigaWorld.Net FR.AmigaWorld.Net)
12:41:11   <-- wegster has quit (HUB.US.AmigaWorld.Net FR.AmigaWorld.Net)
12:41:11   <-- arc has quit (HUB.US.AmigaWorld.Net FR.AmigaWorld.Net)
12:42:58   --> zerohero (~zerohero@Zerohero.Amigaworld.Net) has joined #amigadev
12:42:58   --> bones (~darren@1a9e3c85.11de379d.demon.co.uk) has joined #amigadev
12:42:58   --> wegster (~wegster@2d996ff7.3d716d1f.res.rr.com) has joined #amigadev
12:42:58   --> arc (~u@38050f2d.2142b218.lv.cox.net) has joined #amigadev
13:01:44 nicomen Lumberjack, pointer
13:01:44 nicomen See http://irc.utilitybase.com/logs2006-04-07#T13-01-44
13:09:57   --> LumberJack (amigadev-l@11de379d.26d9672f.AmigaWorld.Net) has joined #amigadev
13:14:07   --> LumberJack (amigadev-l@11de379d.26d9672f.AmigaWorld.Net) has joined #amigadev
13:14:18 nicomen LumberJack: pointer
13:14:18 nicomen See http://irc.utilitybase.com/logs2006-04-07#T13-14-18
13:14:22 nicomen grr
13:15:07   <-- arc has quit (NO.AmigaWorld.Net HUB.US.AmigaWorld.Net)
13:15:07   <-- wegster has quit (NO.AmigaWorld.Net HUB.US.AmigaWorld.Net)
13:15:07   <-- zerohero has quit (NO.AmigaWorld.Net HUB.US.AmigaWorld.Net)
13:15:07   <-- bones has quit (NO.AmigaWorld.Net HUB.US.AmigaWorld.Net)
13:15:07   <-- Bitpool has quit (NO.AmigaWorld.Net HUB.US.AmigaWorld.Net)
13:15:07   <-- Rigo has quit (NO.AmigaWorld.Net HUB.US.AmigaWorld.Net)
13:15:07   <-- Orgin has quit (NO.AmigaWorld.Net HUB.US.AmigaWorld.Net)
13:15:07   <-- OrginWork has quit (NO.AmigaWorld.Net HUB.US.AmigaWorld.Net)
13:15:07   <-- GrimReaper has quit (Client Lost In Netsplit)
13:16:44   --> LumberJack (amigadev-l@11de379d.26d9672f.AmigaWorld.Net) has joined #amigadev
13:16:54 nicomen LumberJack: pointer
13:16:54 nicomen See http://irc.utilitybase.com/2006-04-07#T13-16-54
13:17:10 nicomen thank you
13:39:38   <-- bones has quit (Quit: This computer has gone to sleep)
13:52:33   --> jahc (~jahc@jahc.Amigaworld.Net) has joined #amigadev
13:52:38 jahc if(DBflag = !DBflag) // Flip and test
13:52:43 jahc what does that do?
13:53:07 jahc I used to use a double buffer function to change from toggle from 1 to 0 to 1 to 0 (etc)
13:53:17 jahc db=1-db;
13:53:23 jahc is that line I pasted similar to that?
13:54:53 jahc aha. it DOES do that.
13:54:56 jahc (I did a test)
13:55:03 zerohero if(bah = !bah) will always be true tho
13:55:12 jahc really? hmm.
13:55:18 jahc are you sure?
13:55:24 zerohero no idea what it actually does, when it comes to other variables than bool
13:55:33 jahc its a BOOL
13:55:38 zerohero yes, bah will always be assigned the value of !bah
13:56:12 jahc its alternating somehow though here
13:56:13 jahc I dont know how
13:56:24 jahc its true first, then changes
13:56:28 jahc true
13:56:30 zerohero hmm
13:56:36 jahc false
13:56:37 jahc playback_buffer_size before playing buffer: 108544
13:56:37 jahc true
13:56:37 jahc playback_buffer_size before playing buffer: 108544
13:56:37 jahc false
13:56:37 jahc playback (etc)
13:57:08 zerohero so it takes the assigned value and evaluates it
13:57:13 zerohero i was wrong then
13:57:25 jahc its bloody confusing to me hehe
14:03:37 nicomen no
14:05:06 nicomen $ perl -le '$foo = 1; if ($foo = !$foo) { print "true"; } else { print "false"; } $foo = 0; if ($foo = !$foo) { print "true"; } else { print "false"; } '
14:05:09 nicomen false
14:05:12 nicomen true
14:05:21 nicomen it does what it says; flip and test
14:06:02 nicomen if (foo = !foo) { /* .. */ } == if (!foo) { foo = !foo; /* ... */ }
14:07:44 nicomen translates to something like: let's see if the inverted value is true, if it is, cool, then we have already the inverted value in the variable, if it isn't, too bad, but we have the inverted value in the variable for future usage
14:08:07 nicomen hope it cleared it up
14:08:23 nicomen actually:
14:08:50 nicomen if (foo = !foo) { /* .. */ } == if (!foo) { foo = !foo; /* ... */ }; foo = !foo;
14:09:12 zerohero if(x = !x) does not work on an int tho
14:09:32 zerohero tried int x = 5;, then that magical line, didn't work
14:09:36 nicomen == foo = !foo; if (foo) { /* ... */ }
14:10:14 nicomen it should "kind of" work with int too
14:10:35 nicomen $ perl -le '$foo = 5; if ($foo = !$foo) { print "true"; } else { print "false"; } $foo = 0; if ($foo = !$foo) { print "true"; } else { print "false"; } '
14:10:38 nicomen false
14:10:41 nicomen true
14:11:15 nicomen x=5; !!x <-- wouldn't give you 5 though
14:11:43 nicomen 5 evaluates to true in a boolean context, true is really just 1 in c (non-0)
14:12:08 nicomen !true == false == 0
14:12:14 nicomen !5 == !true == false == 0
14:12:24 nicomen !0 == !false == true == 1
14:13:08 nicomen some compilers would warn you about using an assignment in a boolean context though and suggest the use of explicit parenthesis
14:13:49 nicomen if ((foo = bar)) to explicitly say that you know what you are doing, and just didn't do a typo ( if (foo == bar) )
14:14:44 jahc brb
14:14:46   <-- jahc has quit (Quit: <klesterjr> Immoralized for all eternity <klesterjr> Immortalized, I mean )
14:14:57 zerohero ah, yes, it does work with int
14:15:13 zerohero but the 5 goes away after the first x = !x
14:15:32 nicomen yup, you don't get it back as you implicitly convert it to a boolean
14:15:34 zerohero the it's just 0:s and 1:s
14:15:39 nicomen indeed
14:15:45 zerohero +n
14:15:56 zerohero i think it's because gcc 4.x is b0rked ;)
14:16:14 nicomen no
14:16:18 nicomen it's correct
14:16:28 zerohero i know, it was a joke :)
14:16:34 zerohero apparently a bad one
14:16:45 nicomen there's no way for the compiler to know what the value was before you converted it to a boolean
14:16:58 nicomen it's like asking for:
14:17:11 nicomen float = (float) (int) float2;
14:17:39 nicomen if float2 = 4.5f, float == 4.0f
15:50:21 wegster heh, hello bad, ugly code ;-)
16:03:35 nicomen then you haven't seen my contrib for tg ;)
16:08:11 wegster nicomen: tg = ?
16:19:47   --> racs (~not.tod@2ae78891.1366b407.catv.broadband.hu) has joined #amigadev
16:19:48 MrBot [racs] Pimp my flowers! ;)
16:19:52 racs hi there
17:33:42   <-- zerohero has quit (Quit: If there's a scale of stupid, I would be right on top, yeah!)
19:16:42 racs gone
19:16:43 racs bye
19:16:45   <-- racs has quit (Quit: )
20:16:29   --> bones (~darren@1a9e3c85.11de379d.demon.co.uk) has joined #amigadev
20:38:06   <-- Bitpool has quit (Ping timeout: 180 seconds)
21:05:44   --> zerohero (~zerohero@Zerohero.Amigaworld.Net) has joined #amigadev
21:44:39   --> Ami603 (~coco@1366b407.1b5b45e4.dynamicIP.rima-tde.net) has joined #amigadev
21:44:44 Ami603 hi
21:45:45 zerohero evening
21:52:45   <-- bones has left #amigadev
22:00:06   <-- zerohero has quit (Quit: If there's a scale of stupid, I would be right on top, yeah!)
22:20:10   --> zerohero (~zerohero@Zerohero.Amigaworld.Net) has joined #amigadev
22:39:46   --> number6 (~user@1de2983b.31b34b44.dialup.citynet.net) has joined #amigadev
22:48:25   <-- number6 has quit (Ping timeout: 180 seconds)
22:51:44   --> zerohero_ (~zerohero@1377149a.1e79b4c9.tn.glocalnet.net) has joined #amigadev
22:51:58   <-- zerohero_ has quit (Client exited)
22:52:48   -!- Ami603 is now known as Ami603[zZz]
22:53:50   --> number6 (~user@1de2983b.31b34b44.dialup.citynet.net) has joined #amigadev
23:21:12   <-- number6 has quit (Ping timeout: 180 seconds)
23:28:46   --> neax (~neax@4b89d8f.1a8c5c1c.xtra.co.nz) has joined #amigadev
23:34:26   --> number6 (~user@1de2983b.31b34b44.dialup.citynet.net) has joined #amigadev
23:43:53   -!- neax is now known as neax-afk
23:46:14   <-- number6 has quit (Ping timeout: 180 seconds)
23:51:35   <-- neax-afk has quit (Read error: Connection reset by peer)