Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
cladamw [cladamw!~adamwang@host-222.80-43-115.dynamic.totalbb.net.tw] has joined #qi-hardware
erikkugel [erikkugel!~erik@206-248-184-96.dsl.teksavvy.com] has joined #qi-hardware
pabs3 [pabs3!~pabs@d175-38-169-34.per801.wa.optusnet.com.au] has joined #qi-hardware
<kristianpaul> ha, python i missed thatn one
<qi-bot> Jon Phillips: Via @qihardware qihardware: @inazhangsh Awesome. Thank you for the information, Ina. http://t.co/9f8W2mRJ ( 154041815488667649@rejon - 57s ago via Ping.fm )
cladamw_ [cladamw_!~Adamwang@host-222.80-43-115.dynamic.totalbb.net.tw] has joined #qi-hardware
Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware
xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware
panda|x201 [panda|x201!~hzhang@123.116.127.173] has joined #qi-hardware
SkyNet-1000 [SkyNet-1000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware
cladamw [cladamw!~adamwang@host-222.80-43-115.dynamic.totalbb.net.tw] has joined #qi-hardware
DocScrutinizer [DocScrutinizer!~halley@openmoko/engineers/joerg] has joined #qi-hardware
pabs3 [pabs3!~pabs@d175-38-169-34.per801.wa.optusnet.com.au] has joined #qi-hardware
<viric> wpwrak: I've troubles with the make '-l' because I run boinc
<viric> wolfspraul: yes, as wpwrak said, '-l'. Some like to combine -l and -j. You can also call 'nproc'... "make -j `nproc` -l `nproc`" :)
<wpwrak> what's nproc ?
<wpwrak> and what's boinc ? :)
<pabs3> nproc returns the number of processors/cores/something
<wpwrak> (boinc) ah, i see. generalized seti :)
LunaVorax [LunaVorax!~LunaVorax@ABordeaux-552-1-9-55.w92-149.abo.wanadoo.fr] has joined #qi-hardware
<viric> wpwrak: run nproc
<viric> wpwrak: well. I'm not much for searching extraterrestrials.
<viric> I run boinc for this: http://www.worldcommunitygrid.org/
<wpwrak> nproc doesn't seem to exist on my ubuntu. neither on one of my older gentoo installations. ah, a more recent ubuntu has it.
<wpwrak> a very recent ubuntu :)
<viric> you live in the past
<wpwrak> i don't mind missing the joy of chasing after breakage after upgrades :)
<viric> that's because you run such fragile linux distributions
<wpwrak> yeah. should have stayed with MCC ;-)
<viric> there you go :)
stefan_schmidt [stefan_schmidt!~stefan@guest232.ibr.cs.tu-bs.de] has joined #qi-hardware
jekhor [jekhor!~jek@vulture2-nat-43.telecom.by] has joined #qi-hardware
<viric> nproc is in coreutils maybe already two years.
<viric> since 2009-11-06
<whitequark> what do you think about this CAD?
LunaVorax [LunaVorax!~LunaVorax@ABordeaux-552-1-9-55.w92-149.abo.wanadoo.fr] has joined #qi-hardware
<wpwrak> doesn't seem to be parametric -> of limited use
<whitequark> it's the fork of QCad btw
<whitequark> what do you mean by "parametric"?
qwebirc27647 [qwebirc27647!3a3c99ed@gateway/web/freenode/ip.58.60.153.237] has joined #qi-hardware
Ayla [Ayla!~paul@9.95.112.78.rev.sfr.net] has joined #qi-hardware
LunaVorax [LunaVorax!~LunaVorax@ABordeaux-552-1-9-55.w92-149.abo.wanadoo.fr] has joined #qi-hardware
jivs [jivs!~jivs@nat-sta-smtc2.tvu.ac.uk] has joined #qi-hardware
jonand [jonand!~kakmnstr@h35n1-asp-a13.ias.bredband.telia.com] has joined #qi-hardware
mstevens [mstevens!~mstevens@fsf/member/pdpc.active.mstevens] has joined #qi-hardware
pabs3 [pabs3!~pabs@d175-38-169-34.per801.wa.optusnet.com.au] has joined #qi-hardware
antoniodariush [antoniodariush!~antonioda@nat-sta-smtc2.tvu.ac.uk] has joined #qi-hardware
xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware
cladamw [cladamw!~adamwang@host-222.80-43-115.dynamic.totalbb.net.tw] has joined #qi-hardware
jivs [jivs!~jivs@nat-sta-smtc2.tvu.ac.uk] has joined #qi-hardware
<whitequark> can anyone suggest a good place to get 0603 resistor and capacitor sets?
<whitequark> err I think I want E14
<whitequark> *E12
jekhor [jekhor!~jek@mx2.promwad.com] has joined #qi-hardware
jluis [jluis!~jluis@80.31.92.21] has joined #qi-hardware
wolfspraul [wolfspraul!~wolfsprau@p5B0ACFE2.dip.t-dialin.net] has joined #qi-hardware
<wpwrak> whitequark: parametric = you define dimensions as parameters you can later change, without manually redrawing things
<wpwrak> this implies that the CAD also needs to record the logical structure of the construction
<viric> oh there is a fork of qcad?
<viric> great
<viric> it was already hard to keep qcad building :)
<roh> wpwrak: well.. depends... you can still manually move stuff around.. groups and 'parts' are in there i think
<wpwrak> roh: manually moving things around is what i don't want to have to do ;-)
<viric> there was a release of freecad recently
<wpwrak> is freecad parametric ? or just scripted ? (scripted is sort of poor man's parametric)
<viric> it was scripted, long ago
<wpwrak> i guess i'll stick with fped as my "cad" for a bit longer then :) i'm a bit puzzled why people don't make proper parametric cads. if i can do it in what is a little byblow project, it can't be *that* hard ...
<pabs3> this thing claims to be parametric (in the title): varkon.sourceforge.net
<viric> hm I'll package those
<viric> this last is last updated on 2009-02
<wpwrak> hmm, i looked at it a while ago but found it too cryptic to use. not sure if it has gotten easier
<wpwrak> almost three years .. then it's probably still cryptic :)
<qi-bot> [commit] Werner Almesberger: m1/patches/rtems/fix-ftpd-root.patch: allow ftpd to start in /ssd/ (by Xiangfu Liu) (master) http://qi-hw.com/p/wernermisc/73b9b50
<jonand> whitequark: there are 0603 resistor kits on ebay for $100 or so, in decent boxes
<jonand> you could probably find even cheaper in plastic bags but I prefer boxes
<wpwrak> boxes are good. vials are better: http://downloads.qi-hardware.com/people/werner/tmp/vialtray.jpg
<wpwrak> (you can get them cheaply as bio/chem lab supplies)
<wpwrak> for resistors, buying some strips isn't too bad. they're still cheap. of course, typing in the order is tedious ...
<wpwrak> one benefit of the vial solution is that you can easily rearrange your set as you add things
<wpwrak> plus, it gives you a convenient excuse for milling the tray :) http://downloads.qi-hardware.com/people/werner/tmp/vialtray-mill.jpg
<whitequark> jonand, wpwrak: thanks
<jonand> wpwrak: wow!
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
<wolfspraul> I'm upleveling the KiCad command line patches
<wolfspraul> wow, A LOT of changes in the KiCad sources :-)
<wolfspraul> cannot say that I'm complaining, it's good to see an active project...
<wolfspraul> but a lot of heavy lifting, moving everything around
<wolfspraul> more or less I have to go through each of the command line options again
<pabs3> didn't they get merged?
<wolfspraul> oh they were not in mergable quality
<wolfspraul> and I dropped the ball
<wolfspraul> it's a lot of work :-) if you want to lend a helping hand you are more than welcome
<wolfspraul> but let me finish this round now, at least make them work again with latest upstream first
<wolfspraul> it will take a few days
<wolfspraul> also it would be nice to have a test script, so that I can just run a script which will compare results
<wolfspraul> so many wishes, just where is Santa Claus???
mstevens [mstevens!~mstevens@fsf/member/pdpc.active.mstevens] has joined #qi-hardware
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
urandom__ [urandom__!~user@p548A1CE8.dip.t-dialin.net] has joined #qi-hardware
DocScrutinizer51 [DocScrutinizer51!~lagrange@openmoko/engineers/joerg] has joined #qi-hardware
Ayla [Ayla!~paul@28.95.13.93.rev.sfr.net] has joined #qi-hardware
<wpwrak> wolfspraul: we could probably use the ben-wpan project for a quick test. it exercises a lot of these functions.
<wolfspraul> yes I will write a little bash script as a starter, but nothing big
<wolfspraul> I have to be careful that this up-leveling finishes fast
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
emeb [emeb!~ericb@ip72-223-81-94.ph.ph.cox.net] has joined #qi-hardware
LunaVorax [LunaVorax!~LunaVorax@ABordeaux-552-1-9-55.w92-149.abo.wanadoo.fr] has joined #qi-hardware
erikkugel [erikkugel!~erik@206-248-184-96.dsl.teksavvy.com] has quit [#qi-hardware]
rozzin [rozzin!~rozzin@209-20-69-211.slicehost.net] has quit [#qi-hardware]
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
Ayla [Ayla!~paul@9.240.112.78.rev.sfr.net] has joined #qi-hardware
skynet-2000 [skynet-2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware
kudkudyak [kudkudyak!~sun@94.72.133.151] has joined #qi-hardware
kudkudyak [kudkudyak!~sun@94.72.133.151] has joined #qi-hardware
<viric> the cross ld tells me: Relocations in generic ELF (EM: 0)
<viric> /lib/liblua.a(lapi.o)
<viric> what is that thing?
<viric> any idea?
<Ayla> looks like you're trying to cross-compile a binary that uses liblua
<Ayla> but isn't /lib/liblua.a for your host?
<jow_laptop> having a /lib/liblua.a at all is very unusual
<jow_laptop> viric: whats the context of the error?
<viric> linking with liblua
<viric> Ayla: that's not a full path.. I wrote the last part
<Ayla> ah ok
<viric> it only complains on lapi.o
<jow_laptop> viric: was the liblua.a built with -fPIC ?
<viric> it should not matter. I build a program, not a shared lib
<Ayla> yes it does matter
<viric> mipsel-unknown-linux-gcc -O2 -Wall -DLUA_USE_LINUX -c -o lapi.o lapi.c
<viric> it matters? why?
<viric> I suspect maybe I stripped the .a
<viric> build system 'strip' usually breaks host system archives
<Ayla> shared objects should always be compiled with -fPIC
<viric> I'm not making any shared object
<viric> :)
<Ayla> well, all the objects inside the .a are shared objects
<viric> no
<viric> they are normal objects
<viric> '.o' vs '.so'
<viric> :)
<viric> right, I stripped the .a. Solved.
<Ayla> I know .so
<Ayla> but the objects inside a .a should be relocatable
<Ayla> hence the -fPIC
<viric> No
<viric> well
<viric> they are relocatable
<Ayla> so that you can compile different binaries with one .a
<viric> but PIC means "relocatable at runtime"
<viric> every .o is relocatable
<viric> always
<viric> but not at runtime
<Ayla> hmm.
<Ayla> right
Ayla [Ayla!~paul@9.240.112.78.rev.sfr.net] has joined #qi-hardware
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
rozzin [rozzin!~rozzin@209-20-69-211.slicehost.net] has joined #qi-hardware
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
Ayla [Ayla!~paul@28.95.13.93.rev.sfr.net] has joined #qi-hardware
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
jekhor [jekhor!~jek@vulture2-nat-43.telecom.by] has joined #qi-hardware
paroneayea [paroneayea!~user@fsf/member/paroneayea] has joined #qi-hardware
<viric> it's incredible how 'strip' destroys host-system objects
<viric> they look normal, but host-ld does not want them anymore.
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
<wpwrak> could that be one of the reasons why "strip" has options ? :)
<viric> the host-strip works fine.
<viric> the build-strip destroys it :)
<wpwrak> division of labour :)
<viric> hehe
wejp [wejp!~j@m2.mullvad.net] has joined #qi-hardware
Ayla [Ayla!~paul@9.240.112.78.rev.sfr.net] has joined #qi-hardware
<viric> sorry, but.. what do you use for cad then? :)
<viric> fped?
<viric> you wrote fped? :)
<wpwrak> i use fped wherever i can, yes
<wpwrak> and yes, i wrote it :)
<viric> aah..
<viric> is it some kind of 'povray' for 2d?
<viric> it reminds me of metapost a bit.
<wpwrak> this is M1 left and right wall, with new/changed holes: http://projects.qi-hardware.com/index.php/p/wernermisc/source/tree/master/m1/case/case.fpd
<wpwrak> you can use the scripting language or you can use the GUI
<viric> ok
<viric> where to get fped?
<wpwrak> oh wait
<wpwrak> that's obsolete :)
<viric> hmmm
<wpwrak> README updated :)
<viric> it looks like a big effort :)
<wpwrak> in what sense ?
<viric> it's not a trivial program
<wpwrak> it took more than a weekend, yes ;)
<viric> ok, I keep note ;) I won't use it now, at least
wej [wej!~j@m2.mullvad.net] has joined #qi-hardware
<viric> although it would be nice to have it running...
<viric> wpwrak: do you have an output example?
<viric> the pdf is entirely made with fped?
<wpwrak> fped generated postscript files. i they merged them into a pdf with a script
<viric> ok
<wpwrak> (labsw) i was too lazy to add measurements :)
<viric> aha :)
<wpwrak> they're kinda unnecessary on that case anyway :)
<viric> how do you write measurements in fped?
<wpwrak> you measure between the points, then set the offset (if any) of the measurement line
<wpwrak> the distances come from parameters. the measurements only tell you what the end result is
<wpwrak> measurements have a few quirks. e.g., you can't measure between arbitrary points. but it usually lets you measure between the points you need. (there are some tricks to improve that, but they're only accessible via the scripting language)
wej [wej!~j@m2.mullvad.net] has joined #qi-hardware
<viric> wpwrak: is it very different from metapost?
pabs3 [pabs3!~pabs@d175-38-172-205.per801.wa.optusnet.com.au] has joined #qi-hardware
<viric> I used metapost for some kind of drawing similar to what you get with fped, I think
<viric> I used it when I needed to draw series of black/write circular sectors, to calibrate a 33rpm long play player with a fluorescent tube
<whitequark> er
<whitequark> that stuff about parametric CADs reminds me of this: http://dvdp.tumblr.com/tagged/dvdp%20done
<viric> :)
<viric> nice link
<whitequark> yeah
<whitequark> I hope I've not killed anyone's brain here
<viric> I can stand it :)
<viric> I'm still most imporessed with this one http://iphoneappcafe.com/wp-content/uploads/2010/11/whoa.jpg (or similar)
<viric> (I just searched the image - I'm not giving that specific url for anything in particular)
<whitequark> oh yes, I know that for ages
<wpwrak> viric: metapost seems to be more drawing-oriented. fped focuses more on objects. plus, fped is designed such that you can have a GUI with functionality (well, almost) equivalent to the scripting language
<whitequark> viric: works almost as well even if it's printed
<viric> ah ok. no gui for metapost. But it's quite powerful
<viric> whitequark: I know I know :)
<viric> I had that in my cubicle wall for a long time :)
<whitequark> viric: have you had to take it down due to coworker/boss complaints? :D
<viric> some complained, yes ;)
<wpwrak> viric: why on earth ?
<wpwrak> whitequark: seasick is nice. didn't know that one yet
<wpwrak> err, viric, too :)
* whitequark adds a point to his todo list. you know, "if it'll ever happen that I'd work in office..."
<wpwrak> ... paint all the walls like that :)
<whitequark> heh
<whitequark> even better
<whitequark> "get a lot of HUGE oled panels and tile with these animated gifs"
<whitequark> bonus points for fading from one to another.
<whitequark> madness is guaranteed.
<wpwrak> when elop burns out, we'll send you to complete the work of destruction :)
blogic [blogic!~blogic@46.4.11.11] has joined #qi-hardware
Ayla [Ayla!~paul@28.95.13.93.rev.sfr.net] has joined #qi-hardware
Ayla [Ayla!~paul@87.169.26.93.rev.sfr.net] has joined #qi-hardware