#robotics | Logs for 2016-03-16

Back
[01:35:09] <rue_house> who the hell didn't point out the data has to be copied from the end back otherwise it will overwrite all the contents?
[01:38:11] <rue_house> arg, you pople are not helping me take over the world
[01:40:03] <DagoRed> rue_house: what?
[01:40:25] <rue_house> void insertCommand(CNCFile_t * this, unsigned long index, CNCCommand_t command) {
[01:40:37] <rue_house> nobody pointed out the horrid error in my function
[01:42:05] <DagoRed> I didn't see you post it so... Oops.
[01:43:12] <DagoRed> Should it be *CNCCommand_t?
[01:44:24] <rue_house> it was in the details
[01:44:31] <rue_house> the function works!, yay!
[01:44:57] <rue_house> cmd.instruction = END;
[01:44:57] <rue_house> insertCommand(&test, 2, cmd);
[01:45:04] <rue_house> 0000 Motor On :
[01:45:05] <rue_house> 0001 Set Speed : 0.000000
[01:45:05] <rue_house> 0002 End Program.
[01:45:05] <rue_house> 0003 Line : 5.614000, 0.547000
[01:45:05] <rue_house> 0004 Line : 5.614000, 2.703000
[01:45:11] <DagoRed> Nice
[01:45:56] <rue_house> so now I can load, delete and insert
[01:46:01] <rue_house> and save
[01:46:10] <rue_house> I'v almost got an editor
[01:46:35] <rue_house> two directions exist
[01:46:42] <rue_house> a) display in 3d
[01:47:09] <rue_house> b) some mechanism where I can make a path out of a set of objects, and have it build operations with them, like multipass cutting
[01:48:27] <rue_house> and later, importing dxf
[01:48:49] <rue_house> any chance you want to help me find a C library for reading dxf files?
[01:49:14] <rue_house> one that dosn't include emacs, perl, python, or c# to do the processing?
[01:50:32] <Triffid_Hunter> rue_house: heh there's probably a reason for that, C is bloody awful at crunching text, it can take two pages of C to do the same thing as a single line of perl :P
[01:50:45] <rue_house> not so much
[01:51:14] <rue_house> tho, I suppose programs written in BF do tend to be longer than in perl..
[01:51:54] <DagoRed> rue_house: how complicated are dxf files?
[01:51:56] <rue_house> hmm, a 30Mhz BF machine...
[01:52:15] <rue_house> DagoRed, last time I tried to find out I ran away screaming in horror
[01:52:29] <rue_house> but it might have just been after bedtime
[01:52:54] <DagoRed> That's a machine file with positions and dwell times right?
[01:53:41] <rue_house> when I built my CNC machine, I used my own NC language for it
[01:53:56] <rue_house> it was horrid and went thru revisions, and still is horrid
[01:54:11] <rue_house> but if I dont have a cam program for anything, it dosn't matter if I have a cnc machine
[01:54:28] <rue_house> so I'm gonna make this basic cam program, and go from there
[01:54:41] <rue_house> if I get it working
[01:54:57] <rue_house> I'll write an output filter for proper gcode or whatever
[01:55:09] <rue_house> and rebuild my machine and make new ones and all sorts of stuff
[01:55:22] <rue_house> but if I have no cam program, anything I build is just a paperweight
[01:55:53] <rue_house> 1
[01:55:53] <rue_house> S 0
[01:55:53] <rue_house> L 5.886
[01:55:53] <rue_house> 0.275
[01:55:53] <rue_house> Z 0.250
[01:55:56] <rue_house> L 5.614
[01:55:58] <rue_house> 0.547
[01:56:00] <rue_house> L 5.614
[01:56:02] <rue_house> 2.703
[01:56:04] <rue_house> L 5.886
[01:56:06] <rue_house> 2.975
[01:56:39] <rue_house> I need to be able to take cad files and extrapolate them into machine files
[01:57:38] <rue_house> numberic control was really just a gimmic extra for my cnc machine, it was designed for doing profiling based on greyscale images used for Z maps
[01:59:23] <rue_house> I wonder how much of the text editor code I wrote I can use for this...
[01:59:51] <rue_house> I think I can use the whole windowing, markup and metadata system
[02:01:06] <rue_house> hmm
[02:01:17] <rue_house> select, delete
[02:01:46] <rue_house> objects -> paths -> operations
[02:01:52] <rue_house> I have objects
[02:01:56] <rue_house> paths are metadata
[02:02:12] <rue_house> operations are trickey cause of the way this program works
[02:03:28] <rue_house> this is like trying to write a code editor that takes your binary, dissassembles it into C, lets you edit it as C, and outputs a binary
[02:04:19] <DagoRed> You know that is impossible.
[02:05:00] <rue_house> maybe I can fix the operation model by giving the option to open the cnc file as a set of objects, but have a means to save as somethiing higher level than a NC file
[02:05:21] <DagoRed> rue_house: over the years I've watch you do amazing things. But a soft type'd C is something that is just beyond possible.
[02:05:32] <rue_house> then you can open the higher level file to modify the underlying result
[02:05:42] <DagoRed> Just use json files.
[02:05:53] <rue_house> never
[02:06:10] <rue_house> json will go away in 5 years, C wont
[02:06:14] <DagoRed> Edits can take the json streams and make them pretty before they compact and send it.
[02:06:33] <DagoRed> Json won't go away. Its an XML file fixed.
[02:06:36] <rue_house> yea
[02:06:45] <rue_house> it'll go away, just like pascall
[02:06:57] <DagoRed> No it won't.
[02:07:18] <DagoRed> I agree C is here to stay despite other efforts.
[02:07:33] <rue_house> admit it, evrything good goes away, but bad things last forever
[02:07:51] <DagoRed> Are you saying C is bad?
[02:08:06] <rue_house> not really
[02:08:08] <rue_house> no
[02:08:11] <DagoRed> Json is bad too...
[02:08:23] <DagoRed> They're made for each other. Use it.
[02:08:29] <rue_house> I'm gonna stick with c tho
[02:08:50] <DagoRed> Good idea. What is the target processor?
[02:08:50] <rue_house> but what I need is to figure out how my program is gonna work
[02:09:00] <rue_house> DagoRed, x86
[02:09:11] <rue_house> prolly 386
[02:09:19] <DagoRed> Pfft. Just send a json object and be done then.
[02:10:04] <DagoRed> You won't home brew a competing solution capable of competing with json.
[02:10:15] <rue_house> my buddy wrote a simple little c++ program 15 years ago for shuffling lines in a text file, today it cannot be compiled
[02:10:17] <DagoRed> If you do... You wasted your time.
[02:10:30] <rue_house> if I'd been written in C, it'd compile fine
[02:10:47] <DagoRed> I think it will compile if you know what standard he used to compile.
[02:10:59] <rue_house> The regex engine I wrote in C works pretty good
[02:11:27] <DagoRed> The fact you wrote one is amazing and a waste of time.
[02:11:39] <rue_house> I was gonna use it in my math library, but didnt
[02:11:49] <DagoRed> There are libraries you can compile to do that for you.
[02:12:07] <rue_house> there is no proper math library other than mine
[02:12:14] <DagoRed> Regex however is the next choice to json objects.
[02:12:20] <rue_house> you can just pass it a string and it'll tell you the answer
[02:12:33] <DagoRed> That's awesome
[02:12:52] <rue_house> I think everythign else atleast requires a pre-parse call
[02:13:11] <DagoRed> It will unfortunately.
[02:13:14] <rue_house> hmm, I was supposed to go to bed 2 hours ago
[02:13:22] <DagoRed> .t
[02:13:22] <makepi> Wed, 16 Mar 2016 02:47:50 EDT
[02:13:28] <DagoRed> Ugh... Same.
[02:13:29] <rue_house> hmm
[02:13:38] <DagoRed> .t pdt
[02:13:38] <makepi> Tue, 15 Mar 2016 23:48:06 PDT
[02:13:45] <rue_house> .t pst
[02:13:45] <makepi> Tue, 15 Mar 2016 22:48:13 PST
[02:13:56] <rue_house> does it have a 12 hour mode?
[02:14:05] <DagoRed> It does but I shut it off.
[02:14:06] <rue_house> .calc 22-12
[02:14:07] <makepi> 22-12 = 10
[02:14:10] <rue_house> yay
[02:14:19] <rue_house> it wrong tho, DST
[02:14:24] <DagoRed> I need to rebuild the python for it.
[02:14:35] <DagoRed> .t dst
[02:14:36] <makepi> DagoRed: Sorry, I don't know about the 'dst' timezone.
[02:14:44] <rue_house> daylight savings time
[02:14:45] <rue_house> ;)
[02:14:52] <DagoRed> Lol
[02:14:58] <rue_house> PST is 11:49
[02:15:03] <rue_house> pm
[02:15:24] <DagoRed> Actually it is PDT now. D is for daylight savings
[02:15:31] <DagoRed> .t pdt
[02:15:32] <makepi> Tue, 15 Mar 2016 23:50:00 PDT
[02:15:37] <rue_house> I was asleep for 9 hours at work today, and I'm full awake now
[02:15:42] <DagoRed> .calc 23-10
[02:15:42] <makepi> 23-10 = 13
[02:15:58] <DagoRed> .calc 23-12
[02:15:58] <makepi> 23-12 = 11
[02:16:00] <rue_house> 13 oclock, great
[02:16:11] <DagoRed> I screwed up.
[02:16:19] <DagoRed> .HaD
[02:16:26] <makepi> DagoRed: 0.) CitizenWatt and the Power of Community - http://j.mp/1MlSCF3
[02:16:35] <rue_house> nice bot
[02:16:56] <rue_house> .calc (40-30)*10
[02:16:57] <makepi> (40-30)*10 = 100
[02:17:10] <rue_house> .calc sqrt(49)
[02:17:11] <makepi> sqrt(49) = 49 sqrt (?)
[02:17:23] <rue_house> hmm, nofunctions I recon?
[02:17:25] <DagoRed> The bot needs an upgrade.
[02:17:44] <DagoRed> rue_house: there was a Python port but it expired.
[02:17:46] <DagoRed> .py
[02:17:46] <makepi> AttributeError: 'NoneType' object has no attribute 'encode' (file "/bot/makepi/modules/calc.py", line 95, in py)
[02:17:49] <rue_house> I was never able to finish rewriting tobbor
[02:18:04] <DagoRed> Well this is based on phenny.
[02:18:07] <DagoRed> .g phenny
[02:18:07] <makepi> DagoRed: http://inamidst.com/phenny/
[02:18:36] <rue_house> hah google calculator
[02:18:54] <DagoRed> .weather Bethlehem, pa
[02:18:54] <makepi> DagoRed: Bethlehem, PA: Partly Cloudy, 45.9 F (7.7 C), 29.83(0), Feels Like: 46 F (8 C), Humidity 99%, WindCalm - Last Updated on March 16, 2:45 AM EDT-http://j.mp/1c0jhf1
[02:19:01] <rue_house> .c "the meaning of life the universe and everything"
[02:19:01] <makepi> IndexError: list index out of range (file "/bot/makepi/modules/calc.py", line 80, in c)
[02:19:12] <DagoRed> Use .g for that
[02:19:21] <rue_house> .g "the meaning of life the universe and everything"
[02:19:21] <makepi> rue_house: https://en.wikipedia.org/wiki/42_(number)
[02:19:26] <rue_house> ~
[02:19:43] <DagoRed> .ud ubuntu
[02:19:43] <makepi> DagoRed: Ubuntu is an ancient african word, meaning "I can't configure [Debian]" - Entry 1/10.
[02:20:10] <DagoRed> .commands
[02:20:20] <DagoRed> .command
[02:20:58] <SorcererX> and Debian is an ancient african word for ancient software? :)
[02:20:59] <rue_house> my cnc machine dosn't do 3d lines currently, thats kinda embarrasing
[02:21:19] <DagoRed> SorcererX: hence why the bot runs on arch.
[02:21:32] <rue_house> I object, deian is only about 5 to 8 year behind the curve
[02:21:33] <DagoRed> rue_house: work in progress.
[02:21:47] <DagoRed> Debian testing is actually coming around.
[02:22:01] <rue_house> but they dealt with it, they have started back-porting software to be able to run on it
[02:22:03] <SorcererX> I run Arch on 3 of my systems, works reasonably well for my uses
[02:22:06] <DagoRed> Still... I gave up on debian 5 years ago. Now I help out with ALARM
[02:22:55] <rue_house> I moved to deian from slakware, apt-get was AWESOME
[02:22:59] <DagoRed> rue_house: debian has a problem which is the package manager likes to self destruct on me. Pacman does too but I can recover easily with pacman.
[02:23:22] <rue_house> THIS machine was installed in '99, its the SAME BASE INSTALL
[02:23:23] <DagoRed> Apt-get is still alright and miles better than aptitude.
[02:23:43] <DagoRed> I remember when you updated a kernel on it about 5 years ago.
[02:23:45] <rue_house> yes, this machine has had the pacakage manager self destruct about 4 times
[02:23:45] <DagoRed> Maybe 6.
[02:24:06] <DagoRed> Pacman is super easy to recover.
[02:24:16] <DagoRed> Also... Make chroots.
[02:24:27] <rue_house> its 2.6.38.8! it dosn't get more modern than that!
[02:24:30] <rue_house> .. for 2.6
[02:24:32] <DagoRed> .g arch wiki make chroots
[02:24:33] <makepi> DagoRed: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot
[02:24:51] <DagoRed> .archwiki Rosetta
[02:24:53] <makepi> DagoRed: Page could not be found and could not be searched.
[02:25:07] <DagoRed> .archwiki pacman Rosetta
[02:25:08] <makepi> HTTPError: HTTP Error 403: Forbidden (file "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default)
[02:25:18] <DagoRed> I should update that.
[02:25:32] <DagoRed> makepi: reload archwiki
[02:25:33] <makepi> DagoRed: archwiki: no such module!
[02:25:44] <DagoRed> makepi: reload weather
[02:25:45] <makepi> DagoRed: weather: no such module!
[02:25:52] <rue_house> I'm working on a newer kernel, an update a bit ago broke the usb storage insert detection, which is annoying
[02:26:00] <SorcererX> I had a system running FreeBSD with the same base install from 2000 to 2012 or so
[02:26:07] <DagoRed> Nice SorcererX
[02:26:26] <DagoRed> rue_house: I'm on kernel 4.4.5
[02:26:37] <rue_house> I had an internet router that was up so long the uptime rolled over
[02:26:49] <rue_house> I freaked out, but there was no reboot in the log
[02:26:53] <DagoRed> Damn
[02:27:20] <SorcererX> the router OS should've reserved more bits :P
[02:27:27] <rue_house> iirc it was a known issue in the ... 2.2? kernel, after about 3 years or so it would roll over
[02:28:33] <rue_house> huh? the internets says 497 days
[02:28:37] <rue_house> meh
[02:28:42] <DagoRed> That sounds right.
[02:28:50] <DagoRed> That bug popped up recently.
[02:29:10] <DagoRed> rue_house: why is the CNC using a 386?
[02:29:40] <DagoRed> Everything is awesome
[02:29:40] <makepi> DagoRed: https://www.youtube.com/watch?v=d--sTdF1Ss0
[02:29:49] <DagoRed> .info
[02:29:51] <makepi> DagoRed: DeveloperWiki:Building in a Clean Chroot - ArchWiki- http://j.mp/1pKEqRh
[02:29:53] <rue_house> well, the 386 is just a common instruction set
[02:30:03] <SorcererX> 32-bit at 10 ms increments
[02:30:12] <DagoRed> True
[02:30:31] <rue_house> MY cnc runs a 386 because its running dos, and there are delay loops that set all the motor timing, I cant have a mutlitasking OS
[02:31:05] <DagoRed> You can... But that gets brutal.
[02:31:43] <DagoRed> Do what I did with gas cabinets for air products. Avr to do the real time stuff with a serial interface that accepts a stream of commands.
[02:32:36] <rue_bed> why? dos works fine
[02:32:47] <rue_bed> the motors run right off the parallel ports
[02:32:57] <DagoRed> Point.
[02:33:13] <DagoRed> Oh check this. http://j.mp/1pKECjy
[02:33:16] <DagoRed> http://j.mp/1pKECjy
[02:33:18] <SorcererX> problem tends to be to actually find parts for the 386 if it breaks down
[02:33:21] <DagoRed> .title
[02:33:23] <makepi> DagoRed: NASA chief: Apollo engineers who criticize SLS don’t grok modern rocketry | Ars Technica
[02:33:54] <DagoRed> SorcererX: 386's don't break down.
[02:33:55] <rue_bed> I have lots of 386 boards, the CAPS DONT FAIL
[02:34:04] <DagoRed> Yup
[02:34:09] <rue_bed> :)
[02:34:12] <DagoRed> They don't build them like that anymore.
[02:35:21] <rue_bed> prolly for the better
[02:35:40] <rue_bed> I'm sure, if I desired, I could get a pi to emulate dos just fine
[02:35:54] <DagoRed> Don't touch the pi.
[02:36:01] <DagoRed> .g odroid c2
[02:36:01] <makepi> DagoRed: http://www.hardkernel.com/main/products/prdt_info.php
[02:36:03] <rue_bed> must be a non-multitasking 386 emulator for an arm
[02:36:37] <DagoRed> ... There is an tire rtos library you can thread lock without running Linux.
[02:36:58] <rue_bed> I dont like it, but I think everything is gonna go arm
[02:36:59] <SorcererX> DagoRed: we have several dead ones at work
[02:37:07] <DagoRed> Even better, dkms module to your instructions in user space.
[02:37:31] <SorcererX> DagoRed: we actually used a 386 to flash some hardware at work, and we used to have 6 working systems, now we have 1, the others have broken down
[02:37:40] <DagoRed> rue_bed: I can help. I found ways to make linux real time enough for most applications. :-)
[02:38:08] <DagoRed> What kind of systems need a 386 to flash?
[02:38:23] <SorcererX> DagoRed: very old hardware from the 70s and 80s
[02:38:41] <DagoRed> Flashing software is not that complicated.
[02:38:49] <SorcererX> DagoRed: that noone has spent time to port the flasher for because you have working 386s
[02:39:08] <SorcererX> DagoRed: of course not, but cheaper to just keep the 386s working
[02:39:19] <rue_bed> right now I have a hard drive in the freezer, if all goes well I could get the source code off it for the cnc machine, its C that could prolly be compiled for arm without much hastle
[02:39:29] <SorcererX> DagoRed: the software was dependent on clock cycles for timing
[02:39:39] <DagoRed> Well if you are on your last one... Get a hex dump of the hardware over a logic analyzer and then just play back the files.
[02:40:04] <DagoRed> Nice rue_bed. Just don't use a pi.
[02:40:11] <rue_bed> ok...
[02:40:21] <rue_bed> pi is arm, whats wrong with it?
[02:40:38] <DagoRed> Implementation.
[02:41:03] <rue_bed> does a bird die every time someone uses a pi?
[02:41:13] <SorcererX> DagoRed: that could work, we've mostly gotten rid of all that old stuff though, so hopefully we won't have to fiddle more with it
[02:41:18] <DagoRed> The pi foundation has borked quite a few things. The odroid people are nicer and actually have native support for their hardware.
[02:41:26] <rue_bed> but, its just an arm with minimal perphials, isn't it?
[02:41:32] <DagoRed> No
[02:41:42] <rue_bed> oh
[02:41:43] <SorcererX> the Pi 2 is a lot nicer to work with than the Pi IMO
[02:41:54] <rue_bed> hmm
[02:41:57] <rue_bed> serves me,
[02:42:04] <DagoRed> Its an arm that they got lazy and poorly implemented too many core devices on USB that cause time outs.
[02:42:14] <SorcererX> but yeah, the Odroid has better specs
[02:42:16] <rue_bed> isn't a pie a breakout board for an arm SoC?
[02:42:17] <DagoRed> SorcererX: both are garbage.
[02:42:25] <SorcererX> and the everything over USB is awful
[02:42:28] <DagoRed> rue_bed: no
[02:42:31] <rue_bed> ...
[02:42:33] <SorcererX> especially ethernet
[02:42:43] <SorcererX> ethernet on Pi is really horrible
[02:43:02] <rue_bed> hmm, so the pi is an arm sitting in the middle of a lot of usb perphials?
[02:43:06] <DagoRed> Odroid c2. $40 4 core 2GHz arm 64bit 2 gig ram.
[02:43:19] <DagoRed> And doesn't eat SD cards like the pi
[02:43:29] <DagoRed> Supports 4k video too.
[02:43:50] <DagoRed> Optional removable emmc.
[02:43:51] <rue_bed> I wonder how the latency compares between a 2ghz arm and a 2ghz x86
[02:44:29] <DagoRed> Arms have lower latency because they don't have to burn cycles to work with the accumulator all the time.
[02:44:45] <rue_bed> I'd expect, hardware wise, the x86 to have less
[02:45:06] <rue_bed> x86 dosn't have to work an accumulator, its got like 8 of them
[02:45:07] <DagoRed> Not necessarily true.
[02:45:14] <rue_bed> hmm
[02:45:33] <DagoRed> You do for chaining functions. Honesty arm is closer to avr opcode.
[02:45:35] <rue_bed> there is still memory timing and bus latencies
[02:45:53] <rue_bed> hmm
[02:46:06] <DagoRed> You can get around that with dkms. Once you're in kernel space things get quicker. User space... Good luck.
[02:46:17] <DagoRed> .g dkms linux
[02:46:18] <makepi> DagoRed: https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support
[02:46:19] <rue_bed> well, there are x86 SBC's too that I could run dos on
[02:46:22] <DagoRed> .info
[02:46:23] <makepi> DagoRed: Dynamic Kernel Module Support - Wikipedia, the free encyclopedia- http://j.mp/1pKFO6n
[02:47:11] <rue_bed> sleep sleep sleep
[02:47:13] <DagoRed> X86 boards are stupidly expensive.
[02:47:28] <rue_bed> arg, I have to drive 50km tommorow morning and I NEED TO BE AWAKE
[02:47:35] <DagoRed> Night!
[02:47:46] <rue_bed> <-- I'm _IN_ bed!
[02:48:04] <rue_bed> but I'm fully awake
[02:48:09] <DagoRed> Likewise. And my pi just got updated.
[02:48:12] <rue_bed> unlike the 9 hours I was at work today
[02:48:22] <DagoRed> Eww.
[02:48:29] <DagoRed> What are you doing for work these days?
[02:48:34] <rue_bed> electrician
[02:48:41] <rue_bed> easy ;)
[02:49:11] <rue_bed> hardest part is how to get the wire there
[02:49:26] <DagoRed> Understood.
[02:49:29] <rue_bed> or trying to make sense of babeling customers
[02:49:33] <DagoRed> FYI..
[02:50:09] <DagoRed> Your advice out of school not take work that I do for a hobby... Not the best career move I've made.
[02:50:20] <rue_bed> every so often something good comes up, like some PLC programming
[02:50:37] <DagoRed> I hate plc's.
[02:50:39] <DagoRed> But...
[02:50:46] <DagoRed> Arduino plc
[02:50:52] <rue_bed> hmm
[02:50:52] <DagoRed> .g arduino plc
[02:50:53] <makepi> DagoRed: http://www.open-electronics.org/arduino-as-a-programmable-logic-controller-plc/
[02:51:09] <rue_bed> I was gonna write PC PLC code
[02:51:20] <rue_bed> just for kiz
[02:51:22] <rue_bed> kix
[02:51:41] <DagoRed> Ah
[02:51:48] <rue_bed> DagoRed, but if you still have it as a hobby, you will prolly be happier
[02:51:53] <DagoRed> Oh... Check out these chips
[02:52:00] <rue_bed> work can be related, just best not to be the same thing
[02:52:03] <DagoRed> .g xmos PLC
[02:52:03] <makepi> DagoRed: http://www.xmos.com/about/management
[02:52:20] <rue_bed> oo nice
[02:52:56] <DagoRed> https://www.xcore.com/forum/viewtopic.php?f=14&t=1278
[02:54:01] <rue_bed> like the way they did that with the arduino
[02:55:33] <DagoRed> Kind of. They actually did some hardware support so you use structured texted managed by arm cores that have a built in on die FPGA.
[02:55:47] <rue_bed> http://www.ebay.com/itm/SYN6288-TTS-Voice-Module-Speech-Synthesis-Module-Precise-GB2312-GBK-BIG5-/131736212514?hash=item1eac171422:g:XnQAAOSwpDdVesZh
[02:55:48] <rue_bed> hello
[02:56:03] <DagoRed> The structured text is compiled to be part C and part FPGA
[02:56:15] <rue_bed> i wonder how good that is
[02:56:19] <DagoRed> Wow!
[02:56:22] <DagoRed> Me too.
[02:56:33] <DagoRed> .info
[02:56:35] <makepi> DagoRed: SYN6288 TTS Voice Module Speech Synthesis Module Precise GB2312 GBK BIG5 | eBay- http://j.mp/1pKGBEz
[02:56:48] <DagoRed> I hate long links...
[02:57:10] <rue_bed> http://www.ebay.com/itm/LD3320-ASR-Voice-Recognition-Module-Precise-SP-Voice-Recognition-Voice-module-/351662125549?hash=item51e0b231ed:g:sh4AAOSw~gRVkQ8h
[02:57:17] <rue_bed> I wonder if this one uses google :)
[02:57:28] <DagoRed> .info
[02:57:30] <makepi> DagoRed: LD3320 ASR Voice Recognition Module Precise SP Voice Recognition Voice Module | eBay- http://j.mp/1MlVmCs
[02:57:55] <DagoRed> No clue.
[02:59:01] <rue_bed> I'm confused, the desc sounds more like a transcritption recorder
[02:59:32] <SpeedEvil> http://www.electrodragon.com/w/LD3320_Datasheet
[03:00:08] <DagoRed> http://j.mp/1MlVthk
[03:00:12] <DagoRed> .title
[03:00:13] <makepi> DagoRed: Embed with Elliot: Microcontroller Makefiles | Hackaday
[03:00:47] <SpeedEvil> The above mentions pinyin - however
[03:00:53] <SpeedEvil> which raises obvious issues
[03:01:17] <DagoRed> Yeah
[03:04:49] <rue_bed> thingverse tubchain sprocket
[03:06:07] <rue_bed> nope.
[03:06:09] <rue_bed> damn
[03:06:37] <DagoRed> Was that a bot command?
[03:06:45] <rue_bed> no
[03:06:56] <rue_bed> I'm having memory problems
[03:07:01] <DagoRed> Ahh.
[03:07:12] <rue_bed> ITS SUSPECTED ITS FROM PROLONGED SLEEP DEPRIVATION
[03:07:44] <rue_bed> .g sleep deprivation memory damage
[03:07:44] <makepi> rue_bed: http://www.webmd.com/sleep-disorders/sleep-deprivation-effects-on-memory
[03:08:17] <rue_bed> I'm studdying the brain, sometimes interesting things come up
[03:08:51] <DagoRed> .info
[03:08:52] <makepi> DagoRed: Sleep Deprivation and Memory Loss- http://j.mp/1MlW8iG
[03:09:35] <DagoRed> rue_bed: you do know this bot has been in your channel for about 2-3 years right?
[03:10:28] <DagoRed> I took your ideas with tobber to make sure the bot only responds when spoken too.
[03:12:01] <rue_bed> :)
[03:12:12] <rue_bed> maybe one day we will get tobbor back
[03:12:25] <rue_bed> if not even partly
[03:12:45] <rue_bed> I have a LOT of data to feed to an AI if I get one going
[03:13:21] <DagoRed> Well makepi is over due for an overhaul.
[03:13:25] <DagoRed> .g sopel
[03:13:25] <makepi> DagoRed: https://en.wikipedia.org/wiki/Brent_Sopel
[03:13:33] <DagoRed> .g sopel irc
[03:13:33] <makepi> DagoRed: https://github.com/sopel-irc
[07:00:55] <goppo> hi
[07:01:29] <goppo> i'm hoping to mount a U-bracket on a steel rod so that the bracket can freely rotate on the rod like http://i.imgur.com/m7f8Et7.png
[07:01:46] <goppo> does anyone know of a way for mounting the bracket on the rod so that it won't shift along the rod?
[07:02:11] <goppo> i'm hoping to protrude just a few mm of the rod into the bracket
[07:02:40] <goppo> here's a rough sketch of the dimensions http://i.imgur.com/HQZNNuM.png
[09:32:27] <rue_house> goppo,
[09:32:36] <goppo> hi
[09:33:13] <rue_house> a suggestion is to thread the hole, and use a lock nut on the back
[09:33:23] <rue_house> thread the rod end
[09:33:28] <deshipu> or weld a pice of pipe at the back
[09:33:33] <deshipu> piece
[09:33:45] <deshipu> to better hold it
[09:33:47] <rue_house> oh, freely rotate
[09:33:54] <goppo> how about e clips rather?
[09:33:55] <goppo> yeah
[09:33:58] <rue_house> ok, then, use two ...
[09:34:02] <rue_house> yea e clips
[09:34:25] <goppo> but what's the difference between e clips and circlips in terms of application?
[09:34:46] <rue_house> one needs a fancier tool to put on
[09:34:53] <goppo> http://uk.rs-online.com/largeimages/L289180-01.gif
[09:34:56] <rue_house> circlips usually dont sit in a groove
[09:35:06] <rue_house> E clips always do
[09:35:09] <goppo> rue_house, so, for e clips, i'll need to dent the rod?
[09:35:20] <rue_house> groove
[09:35:48] <goppo> rue_house, how do circlips have grip?
[09:36:17] <rue_house> another idea is to step downt eh size of the rod at the end, and use a retaining screw into the end of the rod, it can be done so that when the screw is tight, the bracket can still rotate
[09:36:40] <rue_house> goppo, they usually aren't pulled on hard
[09:37:54] <goppo> rue_house, you mean thread the inner end of the rod and have a set screw perpendicular to the bracket?
[09:38:01] <deshipu> glue a bearing to the back :P
[09:38:23] <rue_house> is it going to spin a lot of just a little?
[09:38:56] <goppo> rue_house, the bracket will spin fairly slowly. about 20RPM
[09:39:23] <deshipu> but for long time?
[09:40:26] <goppo> deshipu, well, for about a minute max.
[09:40:39] <goppo> average, around 10s
[09:41:01] <deshipu> how often?
[09:41:53] <goppo> deshipu, roughly once or twice an hour max
[09:42:11] <deshipu> and you want it to survive for how long without maintenance?
[09:42:26] <goppo> deshipu, hopefully years
[09:42:35] <goppo> 2, 3 years
[09:42:55] <goppo> are e clips durable?
[09:43:17] <deshipu> very, they are made from quite hard steel
[09:44:02] <goppo> right
[09:44:07] <deshipu> but I wonder how durable the material of your bracket is
[09:44:10] <deshipu> and of the rod
[09:44:20] <rue_house> oh, you need something that can take a lot of spinning
[09:44:36] <rue_house> is the rod actaully threaded?
[09:44:45] <goppo> deshipu, they'll be steel
[09:44:58] <deshipu> steel on steel?
[09:44:58] <goppo> rue_house, it's not, but i could thread it if it helps
[09:45:32] <goppo> well, the bracket could be aluminium
[09:45:39] <goppo> or copper
[09:45:58] <deshipu> brass :)
[09:46:10] <rue_house> you needa bearing or it'll wear thru in a short period
[09:46:10] <goppo> but brass rusts, right
[09:46:28] <rue_house> no, brass dosn't rust
[09:46:37] <goppo> rue_house, you mean the rod will wear or the e clip?
[09:46:46] <deshipu> the bracket
[09:46:55] <deshipu> the hole in the bracket will become egg-shaped
[09:47:04] <rue_house> if there is any axial pressure on the bracket with clips, the bracket will wear thru
[09:47:05] <goppo> hmm
[09:47:20] <rue_house> so, thrust bearings
[09:47:30] <goppo> would steel be better?
[09:47:38] <goppo> i'm trying to do without bearings
[09:47:49] <rue_house> ok, thrust bushing :)
[09:47:54] <deshipu> you already have a bearing there, just very bad one
[09:48:37] <goppo> won't a thrust bushing be worn out though?
[09:48:37] <rue_house> is there pressure on the bracket?
[09:48:50] <rue_house> not if its made of the right things and lubricated
[09:49:09] <rue_house> graphite is a lubricant
[09:49:10] <goppo> rue_house, yeah there is. axial pressure
[09:49:20] <deshipu> brass is self-lubricating too, no?
[09:49:26] <rue_house> no
[09:49:35] <deshipu> teflon?
[09:49:35] <rue_house> cintered, impregnated brass is
[09:49:43] <rue_house> yup, teflon work
[09:49:44] <rue_house> s
[09:50:03] <goppo> are there thrust bushings for this thickness?
[09:50:06] <rue_house> how far can the rod protude thru?
[09:50:07] <goppo> the bracket is just 2mm thick
[09:50:17] <goppo> rue_house, well, a few mm hopefully
[09:50:38] <goppo> <=5mm roughly
[09:52:01] <rue_house> ok,
[09:52:09] <rue_house> bracket end rod end
[09:52:57] <rue_house> E clip, washer, teflon washer | teflon bushing and spacer | teflon washer, washer, E clip
[09:53:08] <rue_house> the | deliminate where the bracket is
[09:54:23] <rue_house> then the rod just needs two grooves
[09:54:36] <rue_house> which can be done with a drillpress and a hacksaw
[09:55:43] <goppo> so a teflon bushing and a spacer on the part of the rod that's positioned inside the bore?
[09:55:59] <rue_house> the bushing is a spacer
[09:56:06] <rue_house> but yes
[09:56:21] <goppo> oh right, just a bushing
[09:56:34] <goppo> may i ask why a washer is needed between the clipi and the teflon washer?
[09:56:47] <rue_house> spread out he load
[09:57:24] * rue_house sprinkles some t's on the able
[09:57:35] <goppo> rue_house, but the eclip is held fixed by the groove, so it wouldn't exert (much) pressure on the teflon washer, right?
[09:58:08] <rue_house> an E flip wont spread the load enough, it'll just eat thru its area of the washer
[09:58:33] * rue_house tries to find the C key...
[09:58:47] <goppo> i see
[09:59:02] <rue_house> I C U 8 1 2
[09:59:18] <rue_house> I 8 4 3
[10:00:53] <rue_house> redraw, I'll be back in 10 hours to check up
[10:01:09] <goppo> thanks
[10:04:02] <pokmo> is teflon a plastic?
[10:04:16] <deshipu> it's quite plastic
[10:30:25] <goppo> rue_house, deshipu how about, rather than e clips, just cotter pins?
[10:34:45] <deshipu> they would still eat through it without any bushing/bearing
[11:15:15] <goppo> yeah, i mean, just to prevent the bushing and washers shifting
[11:56:35] <Snert_> http://www.ubtrobot.com/en/
[11:57:50] <deshipu> http://www.hobbyking.com/hobbyking/store/__91436__UBTECH_ALPHA_1S_Intelligent_Robot_US_Plug_US_Warehouse_.html
[12:00:21] <Snert_> hk has the previous model
[12:00:44] <Snert_> good to see things of a quality nature though
[12:01:31] <deshipu> I will wait for the $5 version :D
[12:02:49] <Snert_> wish they would drop the "be a part of my family" drivel.
[12:03:01] <Snert_> and make it look more like a robot.
[12:09:03] <deshipu> with lasers
[12:09:15] <deshipu> and blackjack
[12:11:24] <Snert_> it needs a gun that shoots a little dart too.
[12:11:31] <Snert_> so it can stand guard.
[12:18:28] <deshipu> and a shiny metal ass
[12:18:37] <deshipu> so you can bite it
[12:26:37] <Snert_> Me? that would be beyond the scope :)
[12:35:41] <deshipu> the smell-o-scope
[13:59:28] <z64555> a good test for AI vision may be to have it watch cloud formations and see what it thinks the clouds look like
[13:59:47] <z64555> random thought for today
[14:00:13] <Snert_> a machine vision rosharch test
[14:00:30] <Snert_> see if your robot is crazy :)
[15:01:06] <SpeedEvil> http://imgur.com/gallery/CcZBoSQ
[15:01:18] <SpeedEvil> Robots are the future of domestic tasks.
[15:02:04] <deshipu> or not
[15:43:26] <DagoRed> http://j.mp/22n1SlA
[15:43:28] <DagoRed> .title
[15:43:29] <makepi> DagoRed: Hands On With The Odroid C2; the Raspberry Pi 3 Challenger | Hackaday
[15:43:34] <DagoRed> rue_house: ^
[15:50:57] <veverak> hi folks
[15:51:01] <veverak> anybody attending robotchallenge.org ?
[16:23:42] <deshipu> [crickets]
[16:34:05] <z64555> there's also the Pine64, but dunno how good it stacks up agains the raspi
[16:47:38] <SpeedEvil> My latest system is somewhat smaller.
[16:47:49] <SpeedEvil> zsun wifi/sd thing
[16:48:01] <SpeedEvil> openwrt-able 32M RAM system in 2.5g
[16:49:16] <deshipu> shame the sd card reader is over usb
[16:49:29] <deshipu> and not directly
[16:53:55] <SpeedEvil> the SD reader is attached either to the USB port, or the CPU
[16:54:24] <SpeedEvil> you can't attach the SD to the CPU of the device and ahve the USB port conected to the CPU if that's what you mean
[16:54:37] <SpeedEvil> Which would be nice
[16:57:57] <z64555> SD cards are SPI, aren't they?
[16:58:08] <z64555> although, USB, might also be SPI
[16:58:10] * z64555 reads up
[16:59:00] <SpeedEvil> http://www.cnx-software.com/2015/07/13/linux-based-zsun-wifi-card-reader-has-been-hacked-too/ - the device in question
[17:03:04] <z64555> USB and SPI are seperate modules, at least on the atmel chip that I first found
[17:08:18] <SpeedEvil> I am specifically talking about the above system
[17:20:55] <DagoRed> z64555: you can use spi. But their are other faster modes.
[20:37:53] <rue_house> ok I need to go shopping for milk
[20:37:57] * rue_house falls asleep
[20:39:35] <DagoRed> and yesterday you couldn't sleep
[20:39:45] <DagoRed> but you did state you had to be up early for a long day.
[20:40:43] <rue_house> long day, over;
[20:40:54] <DagoRed> w00t!
[20:45:35] <rue_house> sleep(floor(rand()) & 0x01);
[20:47:49] <rue_house> how long does the tea take to kick in?\\
[20:48:58] <DagoRed> lol
[20:51:15] <rue_house> so, if I'm right
[20:51:28] <rue_house> I can get my libraries to render this cnc machine path in SDL
[20:51:56] <rue_house> that should give me some motivation to make it do cool things
[20:52:22] <rue_house> I just have to sit here for long enough that the tea kicks in so I can open my eyes
[20:52:40] <rue_house> thn I can go shopping fo milk to keep them open
[20:53:09] <DagoRed> Sounds like a plan.
[20:53:25] <rue_house> love it when a plan...
[20:53:29] <DagoRed> .in 20 minutes milk!
[20:53:29] <makepi> DagoRed: Okay, will remind at 01:47Z
[20:53:39] <DagoRed> Comes together
[20:54:22] <rue_house> maybe later
[21:13:29] <makepi> DagoRed: milk!
[21:14:00] <rue_house> I can pour the base for the vibration sorter
[21:14:06] <DagoRed> hmm
[21:14:13] <rue_house> and re-mock up the pope nemder
[21:14:24] <rue_house> and put a table onn the desc sander
[21:14:30] <rue_house> and some sandpaper
[21:14:45] <rue_house> just ned to wake up
[21:15:23] <DagoRed> or go to bed and do it in the morning?
[21:15:40] <rue_house> long day, tommorow;
[21:17:22] <rue_house> need to design q platform for testing finger jint actuators
[21:17:33] <rue_house> I think I know how the rigging goes on human fingers now
[21:18:30] <rue_house> I suppose I could weld up the firearm of the mecha
[21:20:12] <rue_house> forearm
[21:30:56] <orlock> didnt fix bug
[21:30:59] <orlock> added more debugging
[21:31:03] <orlock> know how to fix bug
[21:31:28] <orlock> ST = step time, PT = previous time
[21:31:41] <orlock> it goes from ST2147200016 PT2147173044
[21:31:47] <orlock> to ST-2146765824 PT2147451580
[21:31:52] <orlock> and PT2147451580 never changes after that
[21:32:22] <orlock> because PT only updates if a step happens, which only happens if ST > PT
[21:33:08] <orlock> so i just need to add a test, if ST < 0 and PT > 0, then update PT to micros() (which will wrap it around and the maths will work
[21:33:58] <orlock> so i'll miss one step every 35 minutes
[22:17:28] <orlock> hmm
[22:17:36] <orlock> anybody here got arduino ide and git?
[22:17:36] <DagoRed> hmm
[22:17:42] <DagoRed> I do....
[22:18:01] <orlock> can you try and compile https://github.com/graphworlok/Equatorial_Basic_RA_DEC_LX200_Driver.git
[22:18:19] <orlock> just made some changes without the IDE, wondering if i stuffed anything upo
[22:18:19] <DagoRed> more telescope stuff?
[22:18:27] <orlock> dont want to install the arduino ide where i am
[22:18:41] <orlock> yeah heh
[22:18:57] <orlock> and tonight i'll likely want to pass out
[22:19:04] <DagoRed> Understood.
[22:19:07] <DagoRed> give me a sec to get updated
[22:19:28] <orlock> np
[22:21:37] <DagoRed> downloading the new arduino ide
[22:22:09] <orlock> apparently my telco is closing down their 3G over IP solution
[22:22:19] <orlock> i have a tiny cell station in my house that runs over IP
[22:22:25] <DagoRed> heh
[22:22:26] <orlock> communicated with gear upstream
[22:22:36] <DagoRed> that's kind of awesome.
[22:22:46] <orlock> anyway, they are canning the service - giving us apps to make calls over wifi
[22:22:56] <DagoRed> Assange ISP I take it isn't going to make a comeback?
[22:23:00] <orlock> yeah, we have no reception otherwise
[22:23:25] <DagoRed> code downloaded from git
[22:23:25] <orlock> it exists still, but not as an ISP
[22:23:32] <orlock> just for some people to host old websites
[22:23:32] <DagoRed> still waiting on the arduino to get updated.
[22:24:12] <orlock> oh wow
[22:24:24] <orlock> they actually updated the page
[22:24:39] <orlock> http://www.suburbia.org.au/Suburbia_Public_Access_Network/home.html - the "NBN Defender" bit
[22:25:38] <DagoRed> that's awesome.
[22:25:51] <DagoRed> arduino 75% downloaded
[22:26:53] <Snert> orlock: that talks about encrypted passwords and email servers.
[22:27:19] <Snert> did I miss the bit about no ip over 3g?
[22:27:33] <DagoRed> extracting
[22:27:41] <orlock> Snert: two seperate things
[22:28:53] <orlock> Snert: that site is a small ISP thats been around for a long time doing not a lot - and it was 3G over IP, which is a completely different carrier
[22:29:16] <orlock> the Optus Homezome femtocell
[22:29:39] <orlock> suburbia is an ISP that used to be the playground of australia's most infamous former hacker
[22:29:56] <orlock> before he shacked up in an embassy to wait out the swedish statute of limitations
[22:30:12] <DagoRed> how much longer does he have?
[22:30:42] <orlock> think it varies depending on supposed intention
[22:32:35] <Snert> o. this has to do with assange.
[22:33:06] <DagoRed> Snert: yes
[22:36:45] <DagoRed> orlock: What the actual fuck? Arduino's IDE is now 200 MB bigger than it was 6 months ago.
[22:37:12] <orlock> wtf??
[22:37:24] <DagoRed> I blame intel
[22:37:46] <DagoRed> "Genuino"?
[22:37:51] <DagoRed> Are you kidding me?
[22:37:54] <orlock> oh
[22:38:02] <orlock> thats due to the trademark dispute
[22:38:29] <orlock> arduino in italy = genuino in USA, and arduino in italy is a seperate mob
[22:38:50] <DagoRed> That's right.
[22:38:56] <DagoRed> Holy crap, much more examples.
[22:39:03] <DagoRed> Ok... I'll accept the changes
[22:42:05] <DagoRed> orlock: software serial needs to be checked in
[22:42:22] <DagoRed> Arduino due native usb?
[22:43:10] <orlock> Shouldent matter
[22:43:45] <orlock> deumilanove 328
[22:45:20] <DagoRed> orlock: http://pastie.org/10763292
[22:45:24] <DagoRed> .info
[22:45:24] <makepi> DagoRed: #10763292 - Pastie- http://j.mp/255oU2C
[22:46:08] <DagoRed> Oh... and before you get a raspberry pi 3. Read this.
[22:46:09] <DagoRed> http://j.mp/22n1SlA
[22:46:11] <DagoRed> .info
[22:46:12] <makepi> APIError: Bit.ly API error: 500: ALREADY_A_BITLY_LINK (file "/usr/lib/python2.7/site-packages/bitlyapi/bitly.py", line 85, in _)
[22:46:15] <DagoRed> .title
[22:46:17] <makepi> DagoRed: Hands On With The Odroid C2; the Raspberry Pi 3 Challenger | Hackaday
[22:46:58] <orlock> DagoRed: eh, weird - i thought software serial was part of the ide?
[22:47:09] <DagoRed> nope
[22:54:25] <DagoRed> orlock: hold on...
[22:54:40] <DagoRed> orlock: it works
[22:55:04] <DagoRed> I bumped "'" before the #include
[22:55:17] <orlock> it compiled? awesome
[22:55:54] <orlock> I dont have a ' before the #include here?
[22:55:57] <orlock> weird
[22:56:41] <DagoRed> It was something I bumped when I finding home row or something.
[22:57:01] <DagoRed> I do get a warning orlock
[22:58:27] <DagoRed> I'll send a quick PR
[23:00:13] <DagoRed> orlock: check your github.
[23:16:21] <DagoRed> http://j.mp/1XwCvuf
[23:16:22] <DagoRed> .title
[23:16:23] <makepi> DagoRed: Royal Brunei Airlines' first all-female pilot crew lands plane in Saudi Arabia - where women are not allowed to drive | Asia | News | The Independent
[23:18:19] <Snert> lol!
[23:19:22] <DagoRed> Got damn it... I'm in a click battle for this link and I'm down 2 clicks.
[23:19:24] <DagoRed> http://j.mp/22n1SlA
[23:19:27] <DagoRed> .title
[23:19:27] <makepi> DagoRed: Hands On With The Odroid C2; the Raspberry Pi 3 Challenger | Hackaday
[23:19:47] <DagoRed> THERE WE GO!
[23:21:06] <DagoRed> For one moment... my bot reigns supreme.
[23:21:39] <DagoRed> rue_house: http://j.mp/1pKECjy
[23:21:41] <DagoRed> .title
[23:21:42] <makepi> DagoRed: NASA chief: Apollo engineers who criticize SLS don’t grok modern rocketry | Ars Technica
[23:48:20] <rue_house> ok I got some room made for the sand blaster booth
[23:48:38] <rue_house> you sent me that link alreadty
[23:49:07] <DagoRed> You're right. Sorry.
[23:49:55] <rue_house> the appolo computer wasn't much of a computer as we know them
[23:50:24] <rue_house> hmmmm supper
[23:51:48] <DagoRed> http://j.mp/1SUMnyG
[23:51:51] <DagoRed> .title
[23:51:53] <makepi> DagoRed: Most “hoverboards” set to be banned from US, courtesy of Segway | Ars Technica
[23:52:05] <rue_house> http://www.trick-tools.com/CP_30_Tube_Pipe_Rolls_727
[23:52:11] <DagoRed> .info
[23:52:12] <rue_house> $490 for a 2" roller set,
[23:52:13] <makepi> DagoRed: Eagle CP30 Tube & Pipe Rolls- http://j.mp/1Z3dHvh
[23:52:21] <rue_house> I'm still glad I made my own
[23:52:48] <DagoRed> at those prices... yeah
[23:52:57] <rue_house> http://www.trick-tools.com/Eagle_CP30_PR_Roll_Bending_Machine_CP30_PR_167
[23:53:05] <rue_house> I'm glad I'm making my owm machine too
[23:53:36] <rue_house> that machine is made wrong
[23:53:46] <rue_house> the pipe should curl on a table
[23:53:58] <rue_house> so your not having it flapping around in the air
[23:54:54] <DagoRed> true
[23:56:11] <rue_house> oh thats clever, it folds down flat
[23:57:53] <orlock> not feeling great
[23:58:02] <orlock> feels like i smoked a pack of cigs last night
[23:58:10] <DagoRed> orlock: strange...
[23:58:11] <orlock> i quit a while ago
[23:58:20] <DagoRed> orlock: what symptoms?
[23:58:35] <orlock> throat was sore in mornig, not now
[23:58:48] <DagoRed> really strange.
[23:58:54] <orlock> hurts to cough, coughing up gunk, voice sounds like i'm 13 again
[23:59:12] <orlock> early night tonight methinks
[23:59:18] <DagoRed> orlock: hold on
[23:59:22] <DagoRed> accept my PR quick