#emc-devel | Logs for 2011-08-09

Back
[00:03:50] -!- theorbtwo has quit [Ping timeout: 252 seconds]
[00:04:00] theorb is now known as theorbtwo
[00:06:30] -!- Danimal_garage has quit [Read error: Connection reset by peer]
[00:09:06] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[00:46:58] -!- Danimal_garage has quit [Read error: Connection reset by peer]
[00:55:02] -!- robh__ has quit [Ping timeout: 246 seconds]
[01:20:45] -!- Danimal_garage has quit [Read error: Connection reset by peer]
[01:37:03] -!- Nick001 has quit [Read error: Connection reset by peer]
[01:44:20] -!- Technicus has quit [Quit: Leaving.]
[01:49:45] -!- Danimal_garage has quit [Read error: Connection reset by peer]
[01:56:00] -!- sumpfralle has quit [Ping timeout: 276 seconds]
[02:03:23] -!- i_tarzan has quit [Ping timeout: 252 seconds]
[02:08:10] -!- Loetmichel has quit [Ping timeout: 260 seconds]
[02:53:36] -!- JT-Shop_ [[email protected]] has joined #emc-devel
[02:57:12] -!- JT-Shop has quit [Ping timeout: 240 seconds]
[02:57:17] JT-Shop_ is now known as JT-Shop
[03:47:03] -!- ries has quit [Quit: ries]
[03:49:40] -!- mhaberler [[email protected]] has joined #emc-devel
[03:50:28] -!- tom3p [[email protected]] has joined #emc-devel
[03:52:15] -!- theos has quit [Ping timeout: 255 seconds]
[04:03:59] -!- Zencncbuild has quit [Ping timeout: 240 seconds]
[04:10:54] -!- FinboySlick has quit [Client Quit]
[04:24:12] -!- theos has quit [Ping timeout: 255 seconds]
[04:30:55] -!- jbunch_ has quit [Ping timeout: 258 seconds]
[05:24:42] Eartaker is now known as Eartaker-AFK
[05:30:21] -!- tom3p has quit [Quit: Ex-Chat]
[05:30:55] -!- stormlight has quit [Read error: Connection reset by peer]
[05:32:22] -!- ve7it has quit [Remote host closed the connection]
[05:39:32] -!- jbunch has quit [Ping timeout: 240 seconds]
[05:44:46] -!- Connor has quit [Ping timeout: 260 seconds]
[06:04:05] -!- nicko has quit [Remote host closed the connection]
[06:13:59] -!- e-ndy [e-ndy!~jkastner@nat/redhat/x-rjluvzrexpnddxsu] has joined #emc-devel
[06:15:37] -!- capricorn_one has quit [Remote host closed the connection]
[06:31:33] -!- JT-Shop_ [[email protected]] has joined #emc-devel
[06:33:10] -!- JT-Shop has quit [Ping timeout: 264 seconds]
[06:33:14] JT-Shop_ is now known as JT-Shop
[07:16:13] -!- mhaberler has quit [Quit: mhaberler]
[07:40:37] -!- jbunch has quit [Read error: Connection reset by peer]
[07:49:53] -!- sumpfralle has quit [Ping timeout: 250 seconds]
[07:52:09] -!- mhaberler [[email protected]] has joined #emc-devel
[08:05:38] -!- awallin [[email protected]] has joined #emc-devel
[08:13:13] -!- awallin has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[08:13:35] -!- awallin [[email protected]] has joined #emc-devel
[08:14:22] -!- mhaberler has quit [Quit: mhaberler]
[08:21:43] Cylly is now known as Loetmichel
[08:26:51] -!- mhaberler [[email protected]] has joined #emc-devel
[08:29:16] -!- Zencncbuild has quit [Ping timeout: 260 seconds]
[08:29:17] -!- robh__ [[email protected]] has joined #emc-devel
[08:30:45] -!- uwe_ has quit [Ping timeout: 276 seconds]
[08:44:11] -!- Zencncbuild has quit [Ping timeout: 240 seconds]
[08:54:53] -!- archivist has quit [Ping timeout: 250 seconds]
[08:58:03] -!- archivist [[email protected]] has joined #emc-devel
[08:58:58] -!- pjm__ has quit [Ping timeout: 264 seconds]
[09:04:56] -!- mhaberler has quit [Quit: mhaberler]
[09:06:45] -!- pjm has quit [Quit: TTFO]
[09:14:57] -!- The_Ball has quit [Ping timeout: 252 seconds]
[09:22:04] -!- mhaberler [[email protected]] has joined #emc-devel
[09:33:05] -!- factor has quit [Read error: Connection reset by peer]
[09:41:24] -!- Tom_itx has quit [Ping timeout: 276 seconds]
[10:14:42] -!- awallin has quit [Read error: Operation timed out]
[10:16:00] -!- awallin [[email protected]] has joined #emc-devel
[10:18:39] -!- awallin_ [awallin_!~quassel@2001:708:110:1020:224:7eff:feda:7c7d] has joined #emc-devel
[10:51:21] -!- sumpfralle1 has quit [Read error: Connection timed out]
[10:51:36] -!- Valen has quit [Ping timeout: 260 seconds]
[11:00:57] -!- sumpfralle has quit [Ping timeout: 257 seconds]
[11:21:20] -!- mhaberler has quit [Ping timeout: 250 seconds]
[11:24:40] -!- mrsunshine has quit [Ping timeout: 260 seconds]
[11:25:45] -!- MOGLI has quit [Quit: Visitor from www.linuxcnc.org]
[11:29:05] -!- mhaberler [[email protected]] has joined #emc-devel
[11:48:00] -!- The_Ball has quit [Ping timeout: 260 seconds]
[11:48:21] -!- Loetmichel has quit [Ping timeout: 276 seconds]
[11:53:33] -!- sumpfralle1 has quit [Ping timeout: 276 seconds]
[11:57:03] -!- skunkworks_ has quit [Remote host closed the connection]
[12:01:11] -!- mhaberler has quit [Quit: mhaberler]
[12:06:41] -!- mhaberler [[email protected]] has joined #emc-devel
[12:09:30] -!- theos has quit [Ping timeout: 255 seconds]
[12:14:26] -!- factor has quit [Quit: Leaving]
[12:47:59] -!- nullie has quit [Ping timeout: 252 seconds]
[12:58:15] -!- skunkworks has quit [Remote host closed the connection]
[13:08:31] -!- Danimal_garage has quit [Read error: Connection reset by peer]
[13:15:37] -!- vladimirek [[email protected]] has joined #emc-devel
[13:32:28] -!- kljsdfhklj has quit [Remote host closed the connection]
[13:41:57] -!- skunkworks [[email protected]] has joined #emc-devel
[13:54:23] -!- stormlight has quit [Read error: Connection reset by peer]
[14:04:46] -!- stormlight_ has quit [Read error: Connection reset by peer]
[14:06:27] -!- isssy has quit [Quit: Visitor from www.linuxcnc.org]
[14:20:04] -!- awallin_ has quit [Remote host closed the connection]
[14:42:03] -!- JT-Shop has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0.1/20110707182747]]
[14:42:27] -!- JT-Shop [[email protected]] has joined #emc-devel
[14:42:57] -!- rooks has quit [Ping timeout: 255 seconds]
[15:00:21] -!- e-ndy has quit [Quit: Ex-Chat]
[15:03:46] -!- rooks has quit [Ping timeout: 264 seconds]
[15:11:21] -!- Danimal_garage has quit [Read error: Connection reset by peer]
[15:21:09] -!- mhaberler has quit [Quit: mhaberler]
[15:23:25] -!- Danimal_garage has quit [Read error: Connection reset by peer]
[15:43:45] -!- ve7it [[email protected]] has joined #emc-devel
[15:45:41] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[15:50:32] -!- mhaberler [[email protected]] has joined #emc-devel
[16:00:35] -!- isssy has quit [Quit: Visitor from www.linuxcnc.org]
[16:06:09] -!- nullie has quit [Quit: Ex-Chat]
[16:21:12] -!- e-ndy [[email protected]] has joined #emc-devel
[16:38:30] -!- TekniQue has quit [Ping timeout: 260 seconds]
[16:48:31] -!- El_Matarife has quit [Quit: Nettalk6 - www.ntalk.de]
[17:44:52] -!- tlab has quit [Read error: Connection reset by peer]
[17:48:25] -!- Danimal_garage has quit [Ping timeout: 246 seconds]
[17:52:46] -!- DaViruz has quit [Ping timeout: 260 seconds]
[17:56:26] Tom_sbc is now known as Tom_itx
[17:59:29] -!- atom1 has quit [Quit: Leaving]
[18:22:15] -!- Valen has quit [Quit: Leaving.]
[18:23:16] -!- automata_ has quit [Remote host closed the connection]
[18:32:42] -!- Danimal_garage|2 has quit [Read error: Connection reset by peer]
[18:36:57] -!- vladimirek has quit [Ping timeout: 255 seconds]
[18:41:27] -!- stormlight has quit [Read error: Connection reset by peer]
[18:55:33] -!- isssy has quit [Quit: Visitor from www.linuxcnc.org]
[19:11:39] -!- jbunch_ has quit [Read error: Connection reset by peer]
[19:28:06] -!- vladimirek [[email protected]] has joined #emc-devel
[19:50:42] -!- logger[psha] [logger[psha][email protected]] has joined #emc-devel
[19:50:46] -!- n2diy_ has quit [Read error: Connection reset by peer]
[20:00:05] -!- stormlight has quit [Read error: Connection reset by peer]
[20:25:10] -!- mhaberler has quit [Ping timeout: 258 seconds]
[20:29:34] -!- Zencncbuild has quit [Ping timeout: 264 seconds]
[20:39:32] -!- n2diy_ has quit [Quit: Ex-Chat]
[20:43:01] -!- e-ndy has quit [Quit: Ex-Chat]
[20:52:36] -!- n2diy_ has quit [Client Quit]
[20:56:15] -!- FinboySlick has quit [Quit: Leaving.]
[20:59:46] -!- Al_Smt has quit [Quit: I'll Be Bock]
[21:00:31] -!- mhaberler [[email protected]] has joined #emc-devel
[21:23:31] -!- e3m has quit [Quit: Clap on! , Clap off! Clap@#&$NO CARRIER]
[21:25:02] Eartaker-AFK is now known as Eartaker
[21:32:51] -!- Guest558 has quit [Quit: Visitor from www.linuxcnc.org]
[21:37:53] -!- vezza has quit [Remote host closed the connection]
[21:46:30] -!- syyl_ has quit [Quit: Verlassend]
[21:51:31] -!- skunkworks_ [[email protected]] has joined #emc-devel
[21:54:48] -!- Fox_Muldr has quit [Ping timeout: 276 seconds]
[22:05:23] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust1037.basl.cable.virginmedia.com] has joined #emc-devel
[22:12:42] -!- TekniQue has quit [Read error: Operation timed out]
[22:18:13] -!- stormlight has quit [Quit: stormlight]
[22:21:15] -!- The_Ball has quit [Ping timeout: 276 seconds]
[22:28:21] <CIA-11> EMC: 03seb 07v2.5_branch * r30a6a0dd0cf8 10/src/emc/sai/Submakefile: link sai with g++, not gcc
[22:28:24] <CIA-11> EMC: 03seb 07v2.5_branch * r632cca6d58b5 10/src/hal/utils/Submakefile: explicitly link halscope with libm
[22:29:25] -!- mhaberler has quit [Quit: mhaberler]
[22:36:05] -!- mhaberler [[email protected]] has joined #emc-devel
[22:36:48] -!- The_Ball has quit [Ping timeout: 240 seconds]
[22:39:27] -!- Tom_itx has quit [Ping timeout: 246 seconds]
[22:43:46] -!- newbynobi has quit [Quit: Verlassend]
[22:53:11] -!- The_Ball has quit [Ping timeout: 260 seconds]
[23:25:20] -!- mhaberler has quit [Quit: mhaberler]
[23:30:50] <andypugh> Is there any way to compare a u32 to a 4-character string.
[23:31:19] <andypugh> Specifically, 0x30324938 == '8i20'
[23:31:25] <andypugh> (This would be in C)
[23:37:19] <JT-Shop> could you convert it first then compare?
[23:38:15] <andypugh> Pretty easily, yes, but it won't be obvious in the code.
[23:39:26] <JT-Shop> hmmm, then I'm out of guesses at the moment
[23:39:48] <andypugh> I was wondering if there was a way to cast '8i20' to a u32.
[23:39:55] <cradek> I'm not sure there's a portable way
[23:40:37] <cradek> you could make a union with char[4] and u32, and then use htonl to set the u32 in a way that ensures the byte order, then use strncmp(..., 4)
[23:40:45] <cradek> but that seems so very silly
[23:42:07] <andypugh> I guess that endian-ness is the bug-bear of the idea.
[23:42:50] <cradek> otherwise, ((u32 & 0xf000)>>12) == '8' && etc etc
[23:43:11] <cradek> yes but htonl fixes the endianness problem I think
[23:43:34] <andypugh> I will just #DEFINE the board IDs as u32 constants.
[23:43:39] <cradek> there you go
[23:43:56] <cradek> #define EIGHTEYETWENTY 0x30324938
[23:44:13] <cradek> #define EIGHTEYETWENTY 0x30324938 //8i20
[23:44:56] <andypugh> well, I have HM2_SSERIAL_TYPE_8i20 but the idea is the same.
[23:45:50] <cradek> oops, I meant ((u32 & 0xff000000)>>24) etc above, of course
[23:46:58] <andypugh> I just assumed you had slipped into trinary :-)
[23:47:26] -!- JT-Shop has quit [Read error: Connection reset by peer]
[23:47:58] -!- JT-Shop [[email protected]] has joined #emc-devel
[23:48:10] <cradek> goes to show it's not a very obvious way to write it :-)
[23:49:36] -!- Calyp has quit [Quit: Leaving]
[23:49:53] <andypugh> It's a card ID back from a Mesa card, and all comms is in 32-bit registers. It's more sensible than a magic number.
[23:52:14] -!- robh__ has quit [Ping timeout: 246 seconds]