#robotics | Logs for 2017-02-08

Back
[00:00:55] <Anniepoo_> one of these lines is not like the others
[00:01:04] <Anniepoo_> one of these lines just doesn't belong!
[00:01:18] <Anniepoo_> (song from Sesame Street)
[00:08:31] <rue_house> yea, I was there
[00:09:00] <rue_house> today was brought to you by the rouge operator ::
[00:13:49] <mrdata_> C is for cookie, though
[00:25:16] <rue_house> yay!, down to 2 major errors!
[00:27:37] <rue_house> ever tried to get code working that you suspected was just a bunch of junk thats only relation was that it was all pasted into the same file?
[00:28:10] <Anniepoo_> yes
[00:28:25] <Anniepoo_> 8cD I've indeed worked as a commercial programmer
[00:28:51] <Anniepoo_> ok, I know this sounds REALLY stupid
[00:29:02] <Anniepoo_> but I just now understood why this has been such a struggle
[00:29:28] <Anniepoo_> put simply, my mechanism is not the same shape as a snail
[00:29:32] <Anniepoo_> 8cD
[00:30:52] <rue_house> but, I'm just a recreational programmer
[00:31:02] <Anniepoo_> >8@_ <-- snail
[00:31:16] <Anniepoo_> (XXXXX) <-- robot
[00:31:33] <Anniepoo_> you mean you still have your soul?
[00:31:39] <rue_house> as far as I know
[00:31:58] <rue_house> my person card says I'm a recreational technologist
[00:36:05] <rue_house> displayfilter.c:247:51: error: request for member 'Editor' in something not a structure or union
[00:36:05] <rue_house> Trim ( LineBuff, MIN(LINEBUFF_SIZE, this.Editor.SelectionSize()), LineBuff, ((this.Display.Width) - 1 ), this.ScrollLoc.X, ' ' );
[00:36:05] <rue_house> ^
[00:36:05] <rue_house> displayfilter.c:247:93: error: request for member 'Display' in something not a structure or union
[00:36:05] <rue_house> Trim ( LineBuff, MIN(LINEBUFF_SIZE, this.Editor.SelectionSize()), LineBuff, ((this.Display.Width) - 1 ), this.ScrollLoc.X, ' ' );
[00:36:07] <rue_house> ^
[00:36:11] <rue_house> displayfilter.c:247:120: error: request for member 'ScrollLoc' in something not a structure or union
[00:36:13] <rue_house> Trim ( LineBuff, MIN(LINEBUFF_SIZE, this.Editor.SelectionSize()), LineBuff, ((this.Display.Width) - 1 ), this.ScrollLoc.X, ' ' );
[00:36:30] <rue_house> arg
[00:36:38] <rue_house> how do my objects go again?
[00:36:50] <Anniepoo_> collabedit.net
[00:36:52] <Anniepoo_> 8cD
[00:42:23] <rue_house> all the this' dont work
[00:42:25] <rue_house> so,
[00:45:50] <rue_house> Status_t DF1ReDraw ( DisplayFil_t * this ) {
[00:46:00] <rue_house> typedef struct DisplayFil_s {
[00:46:01] <rue_house> Point2D_t ScrollLoc; // this is being replaced by an offset!
[00:46:01] <rue_house> ChrOffset DrawStart; // and this is the offset
[00:46:01] <rue_house> tac_t * SourceData;
[00:46:01] <rue_house> BlockEditor_t Editor;
[00:46:01] <rue_house> Nav_t Scout;
[00:46:04] <rue_house> VIF_t * Display;
[00:46:06] <rue_house> PropFil_t * PropFil; // this shouldn't exist.
[00:46:07] <rue_house> } DisplayFil_t;
[00:46:11] <rue_house> isplayfilter.c:247:59: error: invalid type argument of '->' (have 'BlockEditor_t')
[00:46:12] <rue_house> Trim ( LineBuff, MIN(LINEBUFF_SIZE, this->Editor->SelectionSize()), LineBuff, ((this->Display.Width) - 1 ), this->ScrollLoc.X, ' ' );
[00:46:17] <rue_house> ^
[00:46:19] <rue_house> displayfilter.c:247:104: error: request for member 'Width' in something not a structure or union
[00:46:21] <rue_house> Trim ( LineBuff, MIN(LINEBUFF_SIZE, this->Editor->SelectionSize()), LineBuff, ((this->Display.Width) - 1 ), this->ScrollLoc.X, ' ' );
[00:46:24] <rue_house> ^
[00:46:26] <rue_house> .
[00:49:51] <rue_house> ooooh, that just dosn't exist
[00:55:19] <Anniepoo__> orry, collabedit.com
[00:55:44] <Anniepoo__> hit 'new document, stick code in there, paste link, 8cD collaborative editing
[01:01:32] <rue_house> its 30 files
[01:39:10] <Anniepoo__> 8cP wrote C++ for years. Was a clueless programmer back then
[01:39:26] <Anniepoo__> 8cD actually was a decent b programmer
[01:42:47] <rue_house> ok, well, in the process of trying to fix one of the big things I broke a small thing and have to work backwards for a while
[01:43:33] <rue_house> when I was at the peak of my capabilites, I asked myself what I could do to be better
[01:43:55] <rue_house> I was the guy who wrote in 1 day what the other took 2 weeks to pull off
[01:44:00] <rue_house> but I wanted to be faster, better
[01:44:18] <rue_house> my conclusion was, that it was not possable
[01:44:27] <rue_house> ONE person could not be better
[01:44:46] <rue_house> however, an editor that efficiently combined multiple people could do it
[01:44:53] <rue_house> and so, I started an editor
[01:45:09] <rue_house> CES
[01:45:17] <rue_house> Concurrent Editing System
[01:45:38] <rue_house> I pitched all the details to the crew and the laughed
[01:45:58] <rue_house> what I didn't know then, was that them laughing meant it WAS a good idea
[01:45:58] <Anniepoo__> ok, and I just noticed that suspiciously the empty that defines my mechanism mockup, around
[01:46:26] <Anniepoo__> which all is designed, the treads aren't symmetrically placed, so somethings wrong
[01:46:28] <Anniepoo__> cP
[01:46:28] <rue_house> but I wasn't ready to write it myself
[01:46:41] <rue_house> I lacked a lot of the foundation, and more importantly, the support I needed
[01:47:08] <rue_house> the ideas I applied to the code for the editor shaped all the code I do today
[01:47:09] <Anniepoo__> yup
[01:47:18] <Anniepoo__> it's a huge project to write a concurrent editor
[01:47:23] <rue_house> and now, I can turn its technology back on itself
[01:47:53] <Anniepoo__> I pitched to Stripe's OS Retreat that I build such an editor for SWI-Prolog
[01:48:00] <Anniepoo__> our IDE is getting long in the tooth
[01:48:03] <rue_house> anniepoo, the world cannot concieve multiple, independant cursors on one document, people have come close, my design still stands along
[01:48:28] <rue_house> .... you want to help me with mine?
[01:48:45] <rue_house> tho, I took it from C++ back to C
[01:48:55] <rue_house> the c++ didn't work out
[01:49:10] <Anniepoo__> only if it's a) in SWI-Prolog, b) somebody figures out how to pay me to live while I work on it
[01:49:13] <Anniepoo__> 8c/
[01:49:33] <rue_house> I started it in 2001
[01:49:46] <Anniepoo__> 8cD I already have my carcass pinned to a giant ball o'code
[01:49:54] <Anniepoo__> http://swi-prolog.org
[01:50:01] <Anniepoo__> 8cD <-- committer
[01:51:23] <rue_house> the only project thats taken a comparitivly long time was the wall clock I started in 1996
[01:51:43] <rue_house> http://ruemohr.org/~ircjunk/projects/wallclock/slide.htm
[01:51:47] <rue_house> the one I finished in 2015
[01:52:58] <rue_house> "I walk a lonley road, the only road that I have ever known, "
[01:53:21] <Anniepoo__> and I am dragging, a ball o'code
[01:53:23] <rue_house> "dont know where it goes, but its only me, and I walk alone"
[01:53:53] <rue_house> you DO know the only reason I'm only was to try to find someone like me?
[01:54:01] <rue_house> I gave up years ago
[01:55:50] <Anniepoo__> the only reason you're only?
[01:56:03] <rue_bed> only reason I'm here
[01:56:21] <Anniepoo__> 8cD well, for what value of 'like me'?
[01:56:23] <rue_bed> sorry, there is a fault in my sentence compiler
[01:56:37] <Anniepoo__> as in 'wearing the same color shirt'?
[01:56:39] <veverak> :)
[01:56:50] <rue_bed> yea, thats a question thats taken me literally around the world
[01:57:30] <Anniepoo__> or 'also is baffled by what interests 99% of everybody, but thinks junkyards are missing the boat not charging admission?'
[01:58:20] <Anniepoo__> 'finds it incomprehensible how someone gets through life without knowing hte resistor color codes'
[01:58:59] <rue_bed> I hope I'm not repeating stores too much, but I once walked by a broken tv by the sidewalk for 4 weeks pondering if I wanted any parts from it, before realizing the sad fact that there was NO competition for any of the parts in that tv
[01:59:21] <Anniepoo__> 'Would enjoy 'elementary mechanics' by Taylor as a Christmas present
[01:59:40] <rue_bed> nobody else was interested in the HOT, or heatsinks, or the ferrite cores
[01:59:55] <Anniepoo__> lol - I was a physics student at KU when Nixon went to china
[02:00:17] <rue_bed> realizing that, made me really sad
[02:00:28] <Anniepoo__> they did some cultural exchanges. China desperately wanted contact with outside science, so the sent some grad students in physics to the US
[02:00:35] <Anniepoo__> many came to KU
[02:00:40] <rue_bed> I would like to be in a world where I'm competing to get that transistor
[02:01:05] <Anniepoo__> one guy discovered you could find old junk TV's in the US cheap
[02:01:05] <rue_bed> (I'm listening)
[02:01:11] <Anniepoo__> and thought he'd gone to heaven
[02:01:38] <Anniepoo__> maybe you should move to Silicon valley
[02:01:41] <rue_bed> I love browsing scrap piles
[02:01:53] <rue_bed> no, I cant afford to
[02:02:08] <rue_bed> (time)
[02:02:26] <Anniepoo__> in it's heyday, there were amazing electronics surplus stores
[02:02:38] <Anniepoo__> you could buy stuff like high vacuum turbopumps
[02:03:00] <Anniepoo__> discards from industry - mountains of it
[02:03:13] <Anniepoo__> I once bought 1000 pager motors
[02:04:50] <Anniepoo__> I think it cost me $100
[02:09:22] <rue_bed> I used a scope on one of my buddies 6502 based games to determine the instructions behind the loop it was stuck in, reverse engineered the address decoder and worked out that a 6522 was faulty, in less than 3 hours
[02:09:30] <rue_bed> apparently I can do stuff like that
[02:10:03] <rue_bed> a timer flag wasn't being set
[02:10:34] <rue_bed> we changed the 6522 (cause I'm the only guy who has a dozen of them kicking around) and it fired right up
[02:10:57] <Anniepoo__> wish I had that talent
[02:11:25] <rue_bed> looking back on it after we finished, I felt like the real-life model of a movie-hacker
[02:11:50] <Anniepoo__> I once had a contract to build a monitoring system for noise pollution
[02:11:58] <Anniepoo__> had a USB noise meter.
[02:12:18] <Anniepoo__> after weeks of struggle couldn't make head or tail of what was going on
[02:12:26] <rue_bed> the securrity card swiper didn'twork on the hospital elevator, so I made an rs232 carrier for it, two little black boxen, and it was happy
[02:12:40] <rue_bed> ... yes?
[02:12:56] <Anniepoo__> found a guy who was maintaining an OS project doing instrument interfacing, passed the contract to him
[02:13:17] <rue_bed> k...
[02:13:23] <Anniepoo__> in a week he'd figured out that the protocol was just sending back and forth chunks of the memory for some small MCU
[02:14:02] <Anniepoo__> if I end up in hell, I'll spend half my day doing embedded dev and half my day doing sysadmin
[02:14:22] <Anniepoo__> if I end up in heaven, I'll do flow programming or logic programming or something
[02:14:40] <Anniepoo__> dunno, the latter just fits with mybrain better
[02:14:58] <rue_bed> "my printer dosn't work" "whats not working with your printer" "IT JUST DOSN'T WORK!" "but, I can print documents just fine?.." "IT DOSN'T WORK"
[02:15:13] <Anniepoo__> lol
[02:15:29] <rue_bed> YEA, i get that in all forms
[02:15:42] <rue_bed> damn, I made me sad
[02:15:51] <Anniepoo__> awwww....
[02:16:13] * Anniepoo__ gives rue a robot to snuggle
[02:16:14] <rue_bed> somehow I broke the get size macro for the editr
[02:16:31] <rue_bed> ouch.. its got a blade on the bottom!!!!
[02:17:18] * rue_bed looks sideways at anniepoo
[02:17:37] <rue_bed> :/ my hands are getting old
[02:17:56] <rue_bed> I'm dieing, and I dont know if I can code and weld my way out of it
[02:19:25] <Anniepoo__> 8cD we're all dying. The only difference is speed
[02:21:13] <Anniepoo__> but I feel ya
[02:21:29] <Anniepoo__> I look around and realize there are things I'll never do
[04:31:17] <Snert> Yep. This is it. Life at it's peak. It doesn't get any better. And it's all downhill from here.
[04:33:51] <deshipu> its
[05:13:42] <Jak_o_Shadows> sup
[07:07:04] <tsglove> Deep thoughts here this morning.
[07:14:48] <deshipu> be careful to not step in
[08:06:36] <pokmo> anyone know if there's any <3V stepper motor that draws <100mA? torque can be very low
[08:20:02] <SpeedEvil> http://www.dx.com/p/jtron-6mm-canon-micro-2-phase-4-wire-stepper-motor-black-5-pcs-267242#.WJsiJvG6s1I - for example
[08:20:56] <SpeedEvil> In general also, any stepper motor will turn with lower than nominal current if you have enough current to get it out of the detent
[08:44:40] <pokmo> interesting
[08:44:42] <pokmo> SpeedEvil, thanks
[08:46:29] <pokmo> SpeedEvil, but it's the current needed that gets it out of the detent that's going to be big, right?
[08:47:07] <pokmo> and a coin battery (with a 0.2mA) rating won't like that
[08:50:53] <SpeedEvil> What are you trying to do.
[08:53:19] <SpeedEvil> There are variants of steppers with very little detent
[08:54:17] <pokmo> SpeedEvil, i'm trying to drive a stepper using a CR2032
[08:54:48] <pokmo> but the CR2032 i've found have a rating of around 0.2mA
[08:55:04] <SpeedEvil> What for?
[08:56:31] <pokmo> it's for rolling up the blinds over my bird cage. but my blinds are just made of a light cloth
[08:57:43] <SpeedEvil> I'd say that's basically not going to happen.
[08:57:52] <pokmo> how come?
[08:57:56] <SpeedEvil> The very much simpler solution is 'use another battery'
[08:58:22] <SpeedEvil> The battery simply doesn't have the energy to roll stuff even neglecting motor issues.
[08:58:57] <pokmo> hmm
[09:00:44] <SpeedEvil> If the light cloth weighs 50 grams, then to raise them half a meter would take around ten minutes.
[09:00:50] <SpeedEvil> With no losses whatsoever.
[09:36:54] <pokmo> ok i'll think again...
[20:28:19] <anniepoo> http://partyserver.rocks/anniepoo/feb8kramer.png
[20:28:27] <anniepoo> Latest version of snail body
[21:10:06] <rue_house> hmmm
[21:36:10] <rue_bed> looks good
[21:40:20] <anniepoo> 8cD
[21:41:52] <anniepoo> now I can convert to a clean mesh, punch the hole for the mechanism, figure out mechanically how it'll work, and start work on constructing the body