Back
[00:04:54] -!-
theorbtwo has quit [Ping timeout: 276 seconds]
[00:06:50] -!-
jimbo132 has quit [Ping timeout: 260 seconds]
[00:19:20] -!-
toastydeath has quit [Ping timeout: 258 seconds]
[00:22:39] -!-
GoSebGo [
[email protected]] has joined #emc-devel
[00:38:06] -!-
pjm has quit [Ping timeout: 240 seconds]
[00:41:29] -!-
mhaberler has quit [Quit: mhaberler]
[00:43:33] -!-
tlab has quit [Ping timeout: 250 seconds]
[00:53:36] -!-
robin_ has quit [Ping timeout: 255 seconds]
[01:12:59] -!-
tom3p has quit [Quit: Ex-Chat]
[01:20:55] -!-
sumpfralle1 has quit [Quit: Leaving.]
[01:33:49] -!-
mikeggg has quit [Ping timeout: 250 seconds]
[01:39:17] -!-
mhaberler [
[email protected]] has joined #emc-devel
[01:39:46] -!-
danimal_garage has quit [Quit: KVIrc Insomnia 4.0.0, revision: 3900, sources date: 20100125, built on: 2011-03-15 15:32:03 UTC
http://www.kvirc.net/]
[01:47:44] -!-
skunkworks [skunkworks!~chatzilla@str-bb-cable-south2-static-6-78.dsl.airstreamcomm.net] has joined #emc-devel
[02:14:40] -!-
jimbo132 has quit [Ping timeout: 258 seconds]
[02:15:25] -!-
andypugh has quit [Quit: andypugh]
[02:50:30] -!-
mhaberler_ [
[email protected]] has joined #emc-devel
[02:50:44] -!-
mhaberler has quit [Ping timeout: 258 seconds]
[02:50:44] mhaberler_ is now known as
mhaberler
[03:02:54] -!-
mhaberler has quit [Quit: mhaberler]
[03:18:21] -!-
ries has quit [Quit: ries]
[03:33:17] -!-
mhaberler [
[email protected]] has joined #emc-devel
[03:50:15] -!-
mhaberler has quit [Quit: mhaberler]
[04:11:48] -!-
ve7it has quit [Remote host closed the connection]
[04:14:16] -!-
l0st1nsp4c3 has quit [Quit: Beware of programmers who carry screwdrivers.]
[04:15:43] -!-
FinboySlick has quit [Quit: Leaving.]
[04:19:12] -!-
mikeggg has quit [Ping timeout: 240 seconds]
[04:23:04] -!-
isssy has quit [Quit: Visitor from www.linuxcnc.org]
[04:49:41] -!-
kb8wmc has quit [Quit: ChatZilla 0.9.87 [Firefox 3.6.18/20110628230241]]
[04:52:13] -!-
psha [
[email protected]] has joined #emc-devel
[05:00:22] -!-
psha has quit [Quit: Lost terminal]
[05:25:06] -!-
mrsunshine has quit [Ping timeout: 240 seconds]
[05:55:34] <CIA-11> EMC: 03cmorley 07v2.5_branch * rad79f694e939 10/debian/extras/usr/share/applications/emc2-pncconf.desktop: pncconf - fix desktop entry name
[06:05:12] -!-
psha[work] [psha[work]
[email protected]] has joined #emc-devel
[06:39:59] -!-
Farthen has quit [Read error: Operation timed out]
[06:42:27] -!-
theos has quit [Read error: Connection reset by peer]
[06:48:10] -!-
jimbo132 has quit [Ping timeout: 260 seconds]
[06:48:11] -!-
The_Ball has quit [Ping timeout: 240 seconds]
[06:50:13] -!-
isssy has quit [Quit: Visitor from www.linuxcnc.org]
[07:32:28] -!-
sumpfralle has quit [Ping timeout: 258 seconds]
[07:57:35] -!-
jimbo132 has quit [Ping timeout: 240 seconds]
[08:00:04] -!-
Eartaker has quit [Quit: Not again...]
[08:22:13] -!-
JT-Shop_ [
[email protected]] has joined #emc-devel
[08:25:08] kljsdfhklj is now known as
kljzzzzzzz
[08:29:34] -!-
ssi has quit [*.net *.split]
[08:29:34] -!-
JT-Shop has quit [*.net *.split]
[08:29:35] -!-
steves_logging has quit [*.net *.split]
[08:52:21] -!-
RifRaf has quit [Ping timeout: 250 seconds]
[09:10:16] -!-
mhaberler [
[email protected]] has joined #emc-devel
[09:20:50] -!-
Rif has quit [Ping timeout: 252 seconds]
[09:50:05] -!-
nicko has quit [Quit: Visitor from www.linuxcnc.org]
[10:10:22] -!-
acemi has quit [Quit: WeeChat 0.3.2]
[10:23:13] AC-130H is now known as
AC-130U
[10:24:23] -!-
sumpfralle1 has quit [Read error: No route to host]
[10:31:05] -!-
Connor has quit [Ping timeout: 258 seconds]
[10:36:28] -!-
mhaberler has quit [Quit: mhaberler]
[11:28:20] -!-
sumpfralle has quit [Ping timeout: 240 seconds]
[11:59:33] -!-
DustyDingo has quit [Ping timeout: 250 seconds]
[12:00:44] -!-
skunkworks has quit [Remote host closed the connection]
[12:36:56] -!-
skunkworks [skunkworks!447329d2@gateway/web/freenode/ip.68.115.41.210] has joined #emc-devel
[13:22:00] -!-
El_Matarife has quit [Quit: Nettalk6 - www.ntalk.de]
[13:56:33] -!-
alex_joni [alex_joni!~alex_joni@emc/board-of-directors/alexjoni] has joined #emc-devel
[14:03:26] -!-
mrsunshine has quit [Ping timeout: 257 seconds]
[14:12:32] -!-
JT-Work [
[email protected]] has joined #emc-devel
[14:21:43] -!-
jonasthomas- [jonasthomas-!~chatzilla@adsl-99-189-216-118.dsl.emhril.sbcglobal.net] has joined #emc-devel
[14:26:47] -!-
Valen has quit [Quit: Leaving.]
[14:41:54] -!-
mhaberler [
[email protected]] has joined #emc-devel
[14:44:33] -!-
factor has quit [Read error: Connection reset by peer]
[14:45:59] -!-
jimbo132 has quit [Ping timeout: 258 seconds]
[14:46:05] -!-
dgarr [
[email protected]] has joined #emc-devel
[14:52:21] <dgarr> for consideration:
http://www.panix.com/~dgarrett/stuff/0001-ngcgui-internationalization-provisions.patch
[14:53:22] <cradek> - puts stderr "NOTREACHED reached mode=<$mode>"
[14:53:22] <cradek> + puts stderr "[_ "NOTREACHED reached mode"]=<$mode>"
[14:53:46] <cradek> is this right?
[14:54:11] <cradek> I see another kind of like it
[14:55:07] <cradek> - puts stderr "$fname not writable"
[14:55:09] <cradek> + puts stderr "$fname [_ not writable"]"
[14:55:11] -!-
mhaberler has quit [Quit: mhaberler]
[14:55:19] <cradek> yeah I'm sure some of these are wrong - this one has three " marks
[14:58:15] <dgarr> three " marks is wrong, the other is ok i think(but maybe a poor message), did you see others with three " marks?
[14:58:39] -!-
tom3p [
[email protected]] has joined #emc-devel
[14:59:03] <cradek> oh is the first one ok? I assumed [] in "" did not call the sub. I don't really know tcl at all.
[15:01:32] <dgarr> yes first one sb ok, i'll update patch in a few minutes
[15:02:00] <cradek> ok thanks
[15:07:51] -!-
GoSebGo has quit [Quit: Bye]
[15:15:09] <psha[work]> dgarr: is it using standard emc catalogs?
[15:15:34] <dgarr> i think so -- this is my first attempt at i18n
[15:16:31] <dgarr> it updates src/po/emc2.pot
[15:16:43] <psha[work]> so probably it'll be fed from main catalog file
[15:18:42] <psha[work]> ah, it uses Emc package to load localization
[15:18:46] <psha[work]> i've tried with plain msgcat
[15:19:14] <psha[work]> ack on this one
[15:21:57] -!-
nullie has quit [Read error: Connection timed out]
[15:26:40] -!-
psha[work] has quit [Quit: Lost terminal]
[15:32:00] -!-
Connor has quit [Ping timeout: 260 seconds]
[15:35:47] -!-
JT-Work has quit [Read error: Connection reset by peer]
[15:36:07] -!-
JT-Work [
[email protected]] has joined #emc-devel
[15:41:48] -!-
jimbo133 has quit [Ping timeout: 252 seconds]
[15:47:22] -!-
kb8wmc [
[email protected]] has joined #emc-devel
[15:47:44] -!-
Connor2 has quit [Quit: Leaving.]
[15:49:42] <dgarr> patch updated (fixed a few, made quoting style more consistent):
[15:49:44] <dgarr> http://www.panix.com/~dgarrett/stuff/0001-ngcgui-internationalization-provisions.patch
[15:54:34] <cradek> darn, psha left
[15:55:48] -!-
L84Supper has quit [Quit: puff of smoke]
[15:55:59] <kb8wmc> good day cradek
[15:56:20] <cradek> is there a difference (other than just style) between puts [_ "str"] and puts "[_ "str"]" ?
[15:57:01] <cradek> I typed enough into tclsh to convince myself that they both work
[15:57:37] -!-
L84Supper has quit [Client Quit]
[15:57:42] <cradek> the latter looks confusing to me, I'm wondering if it's necessary for some tcl reason I don't know
[15:58:57] <dgarr> i think the latter will guard against strings translated with embedded white space
[15:59:26] <dgarr> or weird characters
[16:01:35] <cradek> ok, shows what I know!
[16:01:38] <cradek> what branch do you intend?
[16:02:11] <dgarr> i think the style is probably overkill but better for consistency and safety
[16:04:14] <dgarr> v2.5 -- it would be good if someone could test with a src/someotherlanguage.po
[16:05:03] -!-
micges [
[email protected]] has joined #emc-devel
[16:05:26] <cradek> did you try it with 'LANG=de emc' or somesuch? you might get lucky and some strings might match.
[16:06:22] <dgarr> i tested with LANG=pl.utf8 but few matches
[16:06:54] <cradek> ok but it does basically work? you got a few matches?
[16:07:36] -!-
nullie has quit [Quit: Ex-Chat]
[16:10:05] <cradek> I'm not seeing any, I tried pl and de, running sim/ngcgui_lathe
[16:10:10] <dgarr> i dummied up a few matches to test
[16:10:19] -!-
jonasthomas- has quit [Quit: ChatZilla 0.9.87 [Firefox 3.6.18/20110628230237]]
[16:10:20] <cradek> ah ok
[16:10:23] <cradek> good enough for me
[16:10:49] <CIA-11> EMC: 03cradek 07v2.5_branch * rad9349098a7e 10/ (src/po/Submakefile tcl/ngcgui.tcl tcl/ngcgui_ttt.tcl): ngcgui: internationalization provisions
[16:10:49] <cradek> thanks
[16:13:16] <dgarr> thanks for your help -- you have good eyes for quote structures
[16:17:04] <cradek> welcome
[16:17:36] <cradek> even if I don't know what I'm doing, I always try to scan the patch
[16:17:46] <cradek> I should learn more tcl someday.
[16:21:26] -!-
psha [
[email protected]] has joined #emc-devel
[16:22:54] <dgarr> i should too -- it's like vi -- my fingers know what to type more than i know what i'm doing
[16:28:28] -!-
SteveStallings [
[email protected]] has joined #emc-devel
[16:28:29] <cradek> lately I've written out some tunes I learned by ear - I have to play from the beginning, a few bars farther than last time, watch to see what my fingers do, write it down, repeat until end of tune is reached. it's really pretty funny.
[16:28:40] SteveStallings is now known as
steves_logging
[16:41:19] -!-
psha has quit [Read error: No route to host]
[16:46:18] -!-
psha [
[email protected]] has joined #emc-devel
[17:00:12] -!-
dgarr has quit [Quit: Leaving.]
[17:02:19] -!-
factor has quit [Ping timeout: 252 seconds]
[17:23:59] -!-
ve7it [
[email protected]] has joined #emc-devel
[17:47:48] -!-
tom3p has quit [Quit: Ex-Chat]
[17:55:57] -!-
robh__ [
[email protected]] has joined #emc-devel
[17:57:11] -!-
Loetmichel has quit [Ping timeout: 240 seconds]
[17:59:45] -!-
JT-Work has quit [Read error: Connection reset by peer]
[18:01:04] -!-
JT-Work [
[email protected]] has joined #emc-devel
[18:12:33] -!-
JT-Work has quit [Read error: Connection reset by peer]
[18:13:17] -!-
isssy has quit [Quit: Visitor from www.linuxcnc.org]
[18:13:29] -!-
mel has quit [Client Quit]
[18:17:11] -!-
JT-Work [
[email protected]] has joined #emc-devel
[18:23:11] -!-
e-ndy [
[email protected]] has joined #emc-devel
[18:23:46] -!-
acemi_ has quit [Quit: WeeChat 0.3.2]
[18:25:09] -!-
acemi has quit [Quit: WeeChat 0.3.2]
[18:27:55] -!-
JT-Work has quit [Read error: Connection reset by peer]
[18:31:10] -!-
e-ndy has quit [Quit: sleeping]
[18:31:42] -!-
JT-Work [
[email protected]] has joined #emc-devel
[18:52:30] -!-
isssy has quit [Quit: Visitor from www.linuxcnc.org]
[19:05:05] -!-
psha has quit [Ping timeout: 246 seconds]
[19:06:29] -!-
psha [
[email protected]] has joined #emc-devel
[19:10:04] -!-
Calyp has quit [Remote host closed the connection]
[19:11:37] kbarry is now known as
kb18951452
[19:12:45] kb18951452 is now known as
kbarry
[19:23:54] -!-
KimK [
[email protected]] has joined #emc-devel
[19:26:41] -!-
andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust1037.basl.cable.virginmedia.com] has joined #emc-devel
[19:31:48] <micges> hi andy
[19:43:11] <andypugh> Hi
[19:54:12] -!-
mikegg has quit [Quit: Visitor from www.linuxcnc.org]
[19:57:06] -!-
vladimirek [
[email protected]] has joined #emc-devel
[19:57:25] <micges> as I know that 7i64 is working, I'll process with SPI interface at hm2
[20:04:23] <andypugh> SPI?
[20:06:42] <micges> yes, got 7i46 and I want it usable
[20:09:09] <andypugh> How does that interface with EMC2?
[20:10:19] <micges> 5i20 have 6 SPI channels, each can have 24in/24 out
[20:10:36] <micges> it's faster and I want to learn hm2 more
[20:12:10] <andypugh> Which Hostmot2 module does it use?
[20:13:42] -!-
Birdman3131 has quit [Ping timeout: 255 seconds]
[20:13:56] <micges> ?
[20:15:20] <andypugh> Hostmot2 (ie the firmware) has BSPI, SSPI and DBSPI modules...
[20:15:37] <micges> oh
[20:16:03] <micges> probably SSPI
[20:16:33] <andypugh> You know I have already "done" BSPI for the 7i65?
[20:16:49] <andypugh> So that other SPI devices should be simple comp drivers?
[20:16:51] <micges> no
[20:17:08] <micges> code is in master?
[20:18:20] <andypugh> No.
[20:18:38] <andypugh> Let me find you a link.
[20:19:07] -!-
syyl has quit [Ping timeout: 258 seconds]
[20:20:36] -!-
kb8wmc has quit [Quit: ChatZilla 0.9.87 [Firefox 3.6.18/20110628230241]]
[20:20:41] <andypugh> http://thread.gmane.org/gmane.linux.distributions.emc.devel/4335
[20:21:53] <micges> nobody applied it
[20:22:14] -!-
motioncontrol has quit [Quit: Sto andando via]
[20:22:21] -!-
isssy has quit [Quit: Visitor from www.linuxcnc.org]
[20:23:14] <andypugh> Happens a lot.
[20:33:18] -!-
JT-Work has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]]
[20:40:38] -!-
kb8wmc [
[email protected]] has joined #emc-devel
[20:44:55] -!-
micges has quit [Quit: Ex-Chat]
[20:47:46] -!-
OoBIGeye has quit [Ping timeout: 260 seconds]
[20:48:44] -!-
isssy has quit [Quit: Visitor from www.linuxcnc.org]
[20:54:04] -!-
KimK has quit [Quit: Leaving]
[20:57:34] -!-
newbynobi has quit [Quit: Verlassend]
[21:02:46] Tech_Talk is now known as
Birdman3131
[21:02:49] -!-
FinboySlick has quit [Quit: Leaving.]
[21:07:12] -!-
skunkworks has quit [Ping timeout: 252 seconds]
[21:10:26] -!-
sumpfralle has quit [Read error: Operation timed out]
[21:14:03] -!-
psha has quit [Quit: Lost terminal]
[21:18:31] -!-
KimK [
[email protected]] has joined #emc-devel
[21:19:16] -!-
mhaberler [
[email protected]] has joined #emc-devel
[21:20:17] -!-
kljzzzzzzz has quit [Ping timeout: 250 seconds]
[21:22:40] <andypugh> Sanity check. If I want to check that at least one bit in a byte is set, but not all of them then the test:
[21:22:56] <andypugh> if (f ^ 0xFF)
[21:23:06] <andypugh> Does have the right effect. yes?
[21:36:25] -!-
mel has quit [Quit: Ex-Chat]
[21:42:42] -!-
vladimirek has quit [Remote host closed the connection]
[21:42:44] <mhaberler> "IMO" yes
[21:43:34] <andypugh> Yes, I have fiddled with it with my hex/binary calculator (built in to MacOS, jolly handy)
[21:44:11] <andypugh> Interesting question though, mhaberler. What does happen if you bitshift a million places to the left?
[21:44:34] <andypugh> ie. for (j = 0 ; (f & (1 << j)) == 0 ; j++){} with f = 0
[21:45:41] <mhaberler> he's your weekend study:
http://graphics.stanford.edu/~seander/bithacks.html
[21:46:40] <andypugh> I was looking at that yesterday to look for a clever way to do that operation.
[21:47:12] <andypugh> Bit I keep being told off for being too "clever" and not clear enough, so I stick with the obvious way.
[21:47:18] <mhaberler> do you want to loop thrugh the bits?
[21:47:41] <andypugh> Just want to find the position of the first set bit.
[21:49:18] <mhaberler> oh, ffs
[21:50:07] <mhaberler> man 3 ffs
[21:50:20] <andypugh> ?
[21:50:45] <mhaberler> linux $ man 3 ffs
[21:51:55] <andypugh> I thought you were swearing at my stupidity!
[21:52:52] <mhaberler> nope, fundamental chinese industrial strategy: "better a good copy & paste than a bad reinvention"
[21:53:00] <andypugh> FFS is a common acronym for "For F**cks Sake"
[21:53:15] <mhaberler> oh. didnt know that interpretation
[21:53:21] -!-
Fox_Muldr has quit [Ping timeout: 276 seconds]
[21:54:19] <andypugh> I am not sure how to include a generic linux command into kernel code though, so I think I will keep what I have.
[21:54:30] -!-
syyl_ has quit [Quit: Leaving]
[21:56:04] <mhaberler> this might help too: find first one in
http://en.wikipedia.org/wiki/Bit_array#Find_first_one
[21:56:38] <mhaberler> n machines that use two's complement arithmetic, which includes all conventional CPUs, find first one can be performed quickly by anding a word with its two's complement, that is, performing (w AND −w)
[21:57:44] <mhaberler> I think two's complement arithmetic is a safe assumption for emc2 cpu's
[21:59:13] <andypugh> As it happens, I tried ffs and it worked...
[21:59:24] <andypugh> "channel.\n", i, ffs(*inst->data_reg_read) );
[21:59:46] <mhaberler> good
[22:13:26] -!-
nullie has quit [Quit: Ex-Chat]
[22:21:17] -!-
isssy has quit [Quit: Visitor from www.linuxcnc.org]
[22:21:25] -!-
danimal_garage has quit [Ping timeout: 246 seconds]
[22:27:43] -!-
mhaberler has quit [Quit: mhaberler]
[22:35:20] -!-
mhaberler [
[email protected]] has joined #emc-devel
[22:44:33] <andypugh> mhaberler: That 2-s complement trick isn't actually correct in that Wiki article.
[22:44:59] <mhaberler> really?
[22:45:06] <andypugh> It doesn't return the index of the rightmost 1-bit.
[22:45:19] <andypugh> It just returns the rightmost one bit.
[22:46:25] <mhaberler> well, but for translating bit into index all you need is an array of 8 bytes
[22:46:48] <mhaberler> 0x80,0x40...
[22:47:30] <andypugh> Yes, but that isn't mentioned in the Wiki page. And the example quoted uses values that make it appear to work.
[22:48:36] <andypugh> It is the correct operation to set my "reported this one" flag, but not the right one to report which card has the problem.
[22:49:01] <mhaberler> well, text was clear: find first one can be performed quickly by anding a word with its two's complement, that is, performing (w AND −w). This results in a word with only the least significant (rightmost) bit set of the bits that were set in w.
[22:49:12] <mhaberler> it said bit, not index of bit
[22:49:43] <andypugh> Yes, I agree. But it doesn't solve the problem that is the subject of the section.
[22:50:41] <andypugh> It's an efficient way to count set bits, and is used in an example in the bithacking page. To count how many bits are set in a number:
[22:51:16] <andypugh> for (c = 0 ; f $= -f ; c++ ){}
[22:51:29] <andypugh> (sorry, &= in the middle there)
[22:52:26] <andypugh> (Err, and I have that wrong :-)
[22:53:05] <andypugh> f -= (f & -f)
[22:56:30] -!-
sumpfralle has quit [Ping timeout: 252 seconds]
[23:19:39] -!-
FinboySlick has quit [Quit: Leaving.]
[23:19:49] Farthen is now known as
finn
[23:23:24] JT-Shop_ is now known as
JT-Shop
[23:25:57] -!-
spupuser [
[email protected]] has joined #emc-devel
[23:34:34] -!-
tlab has quit [Read error: Connection reset by peer]
[23:37:03] finn is now known as
Farthen
[23:52:46] -!-
robh__ has quit [Ping timeout: 240 seconds]
[23:54:45] -!-
jimbo132 has quit [Ping timeout: 264 seconds]