2015-01-24 00:21 pcercuei has quit [Ping timeout: 272 seconds] 2015-01-24 00:21 lol! 2015-01-24 00:22 name=basename $0; 2015-01-24 00:22 * DocScrutinizer05 rather should use name=`basename $0`; 2015-01-24 02:09 and don't forget the rm -rf /$DIRECOTRY/ :) 2015-01-24 02:16 well, that's simple. But the missing `` make a nice forkbomb from a silly convenience thing for stderror output like "foo: wrong parameter" where foo is the basename of the script 2015-01-24 02:17 >>name=`basename $0`;<< is fine, you can use $name later on in script like "$name: wrong parameter". However >>name=basename $0;<< does what ? ;-) 2015-01-24 02:18 Haswell has joined #qi-hardware 2015-01-24 02:18 Haswell has quit [Changing host] 2015-01-24 02:18 Haswell has joined #qi-hardware 2015-01-24 02:19 it's a rarely ever used ancient way to provide parameters for a executable ($0), as environment vars 2015-01-24 02:20 rarely used ? i use it quite often :) 2015-01-24 02:20 it probably predates the parameter appending to the command name 2015-01-24 02:20 * DocScrutinizer05 also uses it often 2015-01-24 02:20 and the "fork" bomb isn't so bad. it should build up a lot of processes, hit an error, but then clean up after itself. 2015-01-24 02:21 err, "fork bomb" 2015-01-24 02:25 related: 2015-01-24 02:25 : ${debug='false'} ;#valid: true | false [| ]. 2015-01-24 02:25 # You may run `debug=true `, or`debug='echo "!!!! "' ` 2015-01-24 02:27 (lot of processes) err, yep. nevertheless it almost got my box to aa grinding halt before it reached that error 2015-01-24 02:28 since the error reason been "process table full" or "out of memory (incl swap)" 2015-01-24 02:29 yeah there's a reason why i wrote "it should", for i didn't care to verify it by experiment ;-) 2015-01-24 02:29 haha 2015-01-24 02:29 ;-P 2015-01-24 02:33 wtf? where went that colon? : ${debug:='false'} of course 2015-01-24 02:34 and I missed to quote the third line in that block: ${debug} && set -vx && exec 2>&4 2015-01-24 02:39 I guess the last one only makes sense when knowing the previous line too: 2015-01-24 02:39 # get rid of shell errormsgs - yeah i know... 2015-01-24 02:39 exec 4>&2 2>/dev/null 2015-01-24 02:48 gosh, I wrote some funny code 8 years ago ;-) http://paste.opensuse.org/89182449 2015-01-24 05:00 xiangfu has joined #qi-hardware 2015-01-24 05:29 xiangfu has quit [Ping timeout: 276 seconds] 2015-01-24 05:34 xiangfu has joined #qi-hardware 2015-01-24 05:39 xiangfu has quit [Client Quit] 2015-01-24 07:11 sb0 has joined #qi-hardware 2015-01-24 08:02 wolfspraul has joined #qi-hardware 2015-01-24 08:35 Haswell has quit [Quit: Saliendo] 2015-01-24 08:54 arhuaco has quit [Ping timeout: 276 seconds] 2015-01-24 09:05 arhuaco has joined #qi-hardware 2015-01-24 09:17 jekhor has joined #qi-hardware 2015-01-24 09:21 http://paste.opensuse.org/54475437 2015-01-24 09:24 on a modern and good operating system it should ;) 2015-01-24 09:26 http://paste.opensuse.org/43134690 2015-01-24 09:31 http://paste.opensuse.org/19035620 GRRR 2015-01-24 09:37 http://paste.opensuse.org/99448347 2015-01-24 10:27 sb0 has quit [Read error: Connection reset by peer] 2015-01-24 10:30 xiangfu has joined #qi-hardware 2015-01-24 10:35 sb0 has joined #qi-hardware 2015-01-24 10:38 pcercuei has joined #qi-hardware 2015-01-24 10:38 xiangfu: (soldering) great ! it's best to start with the MCU and the surrounding capacitors, then try to see if SWD works 2015-01-24 10:41 a bit tricky if you don't have your UBB board yet, though :) 2015-01-24 11:23 the cable ordered from taobao.com was arrived. :) 2015-01-24 11:23 but we are not receive the kl26... 2015-01-24 11:27 viric has quit [Ping timeout: 240 seconds] 2015-01-24 11:32 ah, without the kl26 that step will be a bit difficult, yes :) 2015-01-24 11:33 viric has joined #qi-hardware 2015-01-24 11:33 i guess it's best to wait until you have the kl26. this is the most difficult part to solder and you don't want the board full of other components at that time. 2015-01-24 11:34 Yes. 2015-01-24 11:35 maybe you want to post pictures of the PCBs ? that would be the first industrially-made ones, so far we only have my ugly kitchen jobs :) 2015-01-24 11:40 I didn't get it yet. :) 2015-01-24 11:41 it was at the hardware people place. 2015-01-24 11:43 the usb connect is interesting. 2015-01-24 11:44 wpwrak: I am thinking how to make some of those cases. 2015-01-24 11:45 viric has quit [Read error: Connection reset by peer] 2015-01-24 11:51 I am had not used LiPo batteries before. I discharged them too much. A working batt like this one should charge above 8v and last more than 5 minutes with the load I was using (a motor). http://arhuaco.org/tmp/batt.png 2015-01-24 11:52 So, that's how 2 broken batts look like :-/ 2015-01-24 11:52 s/am// 2015-01-24 11:52 viric has joined #qi-hardware 2015-01-24 11:55 wpwrak: http://downloads.qi-hardware.com/people/xiangfu/anelok/pcb/ <--- Just asked them post some pics to me. it taked by mobile phone. 2015-01-24 12:07 jekhor has quit [Ping timeout: 264 seconds] 2015-01-24 12:13 pcercuei has quit [Remote host closed the connection] 2015-01-24 12:13 pcercuei has joined #qi-hardware 2015-01-24 12:17 wpwrak: looks like there are something wrong with my Ubuntu + Freecad (http://downloads.qi-hardware.com/people/xiangfu/anelok/tmp/freecad-anelok-case-0.png) 2015-01-24 12:26 (pcb pics) thanks ! the fab was a bit sloppy with the bottom silk screen, but that's not a problem for manual soldering 2015-01-24 12:27 (freecad) oh, that looks interesting ;-) 2015-01-24 12:28 PCB: there is no silk screen on PCB. 2015-01-24 12:28 maybe graphics driver. what video card do you use ? 2015-01-24 12:28 yes. there are two video card in my laptop. the Macbook pro retina laptop. 2015-01-24 12:28 I think the ubuntu use only one. 2015-01-24 12:29 (silk) the white stuff. at the bottom, it's visibly misaligned. and it even seems to overlap a little with pads. 2015-01-24 12:29 wpwrak: any advice on fatfs coding work? 2015-01-24 12:30 * xiangfu reading this http://elm-chan.org/fsw/ff/00index_e.html 2015-01-24 12:30 (macbook) hmm, dunno about these. are you using the open source drivers or the proprietary ones ? 2015-01-24 12:31 I am using the open source driver. 2015-01-24 12:31 (pcb) I will post some bigger picture tomorrow. 2015-01-24 12:32 (fatfs) looks nice. what's important is that we need fat32 support, for those large usd cards 2015-01-24 12:33 Perit FAT looks even nicer, but may be a bit too limited 2015-01-24 12:34 ah yes, too many limitations. pity. 2015-01-24 12:35 which one? 2015-01-24 12:36 Petit FAT. FatFs seems to have everything we need. 2015-01-24 12:36 Yes. 2015-01-24 12:37 I even didn't notice there is 'Petit FatFs' at the first paragraph。 2015-01-24 12:37 (video) freecad on ubuntu 14.04 works fine here on nvidia and ati, both with the open source driver 2015-01-24 12:37 it have a nice start doc: http://elm-chan.org/fsw/ff/en/appnote.html 2015-01-24 12:38 i built freecad from git, but that probably doesn't make a difference. i had used the ubuntu version before and it also worked fine 2015-01-24 12:38 (start) nice ! and yes, 2 TB should be sufficient for now :) 2015-01-24 12:40 seems to be nicely optimized 2015-01-24 12:41 and the license is very friendly. excellent. 2015-01-24 12:41 and looks it still active. 2015-01-24 12:57 released as zip. very old-skool ;-) 2015-01-24 13:20 for making a case, you basically have three choices: 2015-01-24 13:21 1) freecad -> cnc. the problem: this path doesn't officially exist yet and what i've seen of the development work in the are doesn't look as if it could be sufficient for this kind of case. 2015-01-24 13:22 2) FreeCAD -> STL -> HeeksCAD/HeeksCAM -> CNC. this should work but it's a bit messy 2015-01-24 13:22 3) FreeCAD -> STL -> slicer.py + cameo -> g-code 2015-01-24 13:23 3) is my process. cameo outputs "gnuplot" output which i then convert to RML-1, the strange language my mill speaks 2015-01-24 13:23 almost everything else uses g-code, but i don't have a converter for that. it shouldn't be overly difficult to write one if you have a mill to test it on. 2015-01-24 13:24 this is my gnuplot to rml converter: http://projects.qi-hardware.com/index.php/p/cae-tools/source/tree/master/gp2rml/gp2rml.c 2015-01-24 13:28 my freecad-to-rml process seems to work pretty well now. there is one remaining problem: sometimes cameo fails to do the "area fill". this must be some problem with rounding errors since it depends on the position of the piece. so far, i've been able to always avoid the failure (an assertion violation) by moving the addition of an xy offset (i.e., the placement of the piece) either before or after the other operations in cam.sh 2015-01-24 13:30 hmm... sounds not easy for me. :) 2015-01-24 13:30 * xiangfu write down to my memo. 2015-01-24 13:30 it's a bit complicated, yes. i screw up often enough, too :) 2015-01-24 13:31 but CNC-machining is fun :) 2015-01-24 13:34 archang mentioned that you were thinking of getting a cnc mill. whitequark may have some suggestions for this 2015-01-24 13:34 http://bit.ly/whitequarks-cnc 2015-01-24 13:34 i guess you may also want to they a more-or-less dedicated pc for the mill 2015-01-24 13:34 yes with an LPT port 2015-01-24 13:35 alternatively people have been using cubieboard to drive LPT port controllers 2015-01-24 13:35 man they're cheap ! 2015-01-24 13:35 by this point they're quite hard to find actually 2015-01-24 13:35 anyway, that machine will require some "improvement" 2015-01-24 13:35 thankfully i documented it all :] 2015-01-24 13:36 (hard to find) excessive demand, or did they stop making it ? 2015-01-24 13:36 they stopped making it a decade ago 2015-01-24 13:37 and by now people have mostly thrown this hw out, here 2015-01-24 13:37 * xiangfu write down to my memo. 2015-01-24 13:37 ISA multicards, if you remember what they are, go for four digits in dollars 2015-01-24 13:38 (to some poor souls who have SCADA on 1995 tech) 2015-01-24 13:38 this reminds me of some nuclear power plant company which doesn't plan to phase out pdp-11 until at least 2040 2015-01-24 13:38 prices here .. for a 3040, about USD 3000-4000 depending on how you count. okay, that one has a 4th axis, but still 2015-01-24 13:39 wpwrak: holy shit, that's ridiculous 2015-01-24 13:39 3040 is at most $600, without delivery 2015-01-24 13:39 (stopped a decade ago) wow ! 2015-01-24 13:39 whitequark: you're in a free market, not behind some iron curtain :) 2015-01-24 13:40 ... I'm really not 2015-01-24 13:40 well 2015-01-24 13:40 I suppose it's not as bad as what you have, not nearly 2015-01-24 13:40 this is what you get here for ~USD 400-500: http://articulo.mercadolibre.com.ar/MLA-537517817-router-cnc-_JM 2015-01-24 13:40 good strong MDF 2015-01-24 13:40 MDF... ugh 2015-01-24 13:41 and crappy spindle 2015-01-24 13:41 my mill is fairly bad but now I understand why people like to buy these 2015-01-24 13:41 ah, and that's without motors and electronics ;-) 2015-01-24 13:42 ... 2015-01-24 13:42 (3020) someone should start to make them again :_ 2015-01-24 13:42 nonono, you don't get it 2015-01-24 13:42 3020s are actively manufactured 2015-01-24 13:43 the motherboards with LPT ports are not 2015-01-24 13:43 ah, and there are also some used MDX-15. more expensive than mine was new. the miracle of a restricted market :) 2015-01-24 13:43 aah, i see 2015-01-24 13:50 xiangfu has quit [Remote host closed the connection] 2015-01-24 15:55 kilae has joined #qi-hardware 2015-01-24 16:07 mithro has joined #qi-hardware 2015-01-24 16:53 rjeffries has joined #qi-hardware 2015-01-24 16:55 any thoughts on the project to creata what would appear to be a reasonably open laptop? (missing bit is BIOS I guess) 2015-01-24 16:55 chromebook has FOSS BIOS 2015-01-24 16:56 except graphics bits, to some degree 2015-01-24 16:57 this is one I saw recently: https://www.crowdsupply.com/purism/librem-laptop 2015-01-24 16:58 it seems (to me) to be in the spirit of #qi-hardware 2015-01-24 16:59 "While the BIOS is not yet free, the Librem 15 will be the first laptop ever manufactured to ship a modern Intel CPU fused to run unsigned BIOS code" 2015-01-24 16:59 that's idiotic 2015-01-24 16:59 yay BIOS-level rootkits 2015-01-24 17:01 what you do is provide a way to change secure boot trust root by, say, flipping a physical switch 2015-01-24 17:02 what you do NOT do is remove trust root entirely and claim this somehow "respects user privacy" 2015-01-24 17:02 so you're saying (I think) no (modern) Intel CPU can be in a free and open hardware system. 2015-01-24 17:02 chromebook gives you such a system 2015-01-24 17:03 no need for some kickstarter fraud 2015-01-24 17:04 and chromebook does it *right* 2015-01-24 17:04 Both things will be nessary, if you want to flash your own version of Coreboot onto your Chromebook (in-system). It is nessary to close a circuit on the motherboard via either a switch, jumper or srew to disable the write-protection of the spi chip. 2015-01-24 17:05 are you saying this purism project is fraudulent? Really? 2015-01-24 17:06 btw I am writing this on an early Samsung C303 Chromebook. Not a bad little machine. 2015-01-24 17:06 most crowdsourced projects overpromise and under/never deliver 2015-01-24 17:06 and an entire laptop is a very complex project 2015-01-24 17:06 what's worse is their claims 2015-01-24 17:07 this lappie looks doable to me. not impossible. it is expensive, yes 2015-01-24 17:14 if all else fails, there's still novena ;-) 2015-01-24 17:20 sb0 has quit [Quit: Leaving] 2015-01-24 19:27 jekhor has joined #qi-hardware 2015-01-24 19:33 rjeffries: i'd say your best bet is http://rhombus-tech.net 2015-01-24 19:35 with librem your putting a lot of funds in to a one off laptop that will quickly become an antique or you could use less funds to invest into a new future of computer design 2015-01-24 19:35 or you could use the same funds you would have spent on a librem to help the project move faster :D 2015-01-24 19:35 hehe 2015-01-24 19:36 i guess within a few years if not already embedded stuff will have the same specs as the librem but without the fan :) 2015-01-24 19:38 it's a lot lot easier to chun out a new computer card instead of a hole new laptop and faster/newer/diff cpu/ram/gpu and better for the environment 2015-01-24 19:39 laptop desisners can focus of making a great laptop in stead of a good but faster laptop for the next product cycle 2015-01-24 20:38 wpwrak: what do you say about my bash USB DMM readout script? Contrary to what you encountered, it's 100% reliable too 2015-01-24 20:40 and actually I take quite some pride in the timestamp/scheduling function 2015-01-24 20:42 100% frequency stable, skew ~20ms avg, max jitter ~ -10/+100ms 2015-01-24 20:44 the max sample rate of 1Hz is only by the integer arithmetic of bash $(( )), I could tune that to maybe 20Hz if I'd use milliseconds instead of seconds for interval 2015-01-24 20:48 wolfspraul has quit [Ping timeout: 244 seconds] 2015-01-24 20:53 there are two cases that are not yet handled correctly: a tiny flaw and "unbearable" 5 lines of error codes when the /dev/ttyUSB* is not readable by user due to file permissions, and no handling of disconnecting or switching off the DMM while command takes a series of samples - mostly due to my lack of ideas how it actually should react on such event. Abort? Error to stderr? Error to stdout? No sample taken at all? Retry a N times, 2015-01-24 20:53 then throw error? 2015-01-24 21:05 kilae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/20150108202552]] 2015-01-24 22:49 pcercuei has quit [Ping timeout: 245 seconds] 2015-01-24 23:13 Nik05 has quit [Remote host closed the connection] 2015-01-24 23:14 wpwrak: http://benjaminkerensa.com/2015/01/23/get-a-free-u2f-yubikey-to-test-on-firefox-nightly 2015-01-24 23:16 Nik05 has joined #qi-hardware 2015-01-24 23:16 Luke-Jr has quit [Excess Flood] 2015-01-24 23:17 Luke-Jr has joined #qi-hardware 2015-01-24 23:23 jekhor has quit [Ping timeout: 272 seconds] 2015-01-24 23:52 DocScrutinizer05: yeah, i would have expected you to run into painful problems by now :) 2015-01-24 23:53 at least things like the meter sometimes not responding or such, which then would then require some tricky timeout and recovery mechanism. 2015-01-24 23:53 which is already implemented in that script 2015-01-24 23:54 luckily, it doesn't even support fancier things where such problems are almost unavoidable, e.g., meter-triggered data transfer (with issues of how to cancel things, etc.) 2015-01-24 23:57 ooh, it does: *0 .. *7 2015-01-24 23:57 when turning the turn dial 2015-01-24 23:58 and yeah, this *might* spoil one response reading, but then any response would be bogus anyway when fetching data while actually the range/type of test changed 2015-01-24 23:59 wouldn't know why and what to cancel though