#garfield Logs

Feb 11 2021

#garfield Calendar

12:19 AM rue_mohr: find kinda works, I was supposed to do the hilighting first
01:10 AM rue_mohr: ok find works, BUT
01:11 AM rue_mohr: I'd like it to hilight all instances
01:11 AM rue_mohr: and I'd like it to start the search from the cursor position
01:12 AM rue_mohr: so I need to get syntax hilighting working
01:13 AM rue_mohr: or colourization at all
01:16 AM rue_mohr: huh
01:17 AM rue_mohr: I wonder how I'd to replace in this thing
01:17 AM rue_mohr: I suppose it would have to do successive questions
09:49 AM rue_mohr: polprog, try calibrating mine against a 1 ohm resistor, see how the widget matches scope readings!
09:49 AM rue_mohr: should be linear
09:49 AM polprog: Yeah that's one of the things i wanted to do
09:50 AM polprog: now that I have picked a bad cap to test
09:50 AM rue_mohr: I'd be curious to know how accurate theirs is
09:50 AM polprog: I wonder how could I add a meter to your design
09:50 AM rue_mohr: depending on factors, it can be hard to tell the ESR from other things
09:50 AM rue_mohr: thats why the scope
09:51 AM rue_mohr: hard to seperate the cap charge from the ESR
09:51 AM rue_mohr: you can tell by eye
09:51 AM polprog: i connected a buzzer to it for giggles... it sounds as if it works on a similar basis like yours
09:51 AM polprog: yeah*
09:51 AM polprog: yeab
09:51 AM rue_mohr: not sure how to properly seperate it out with a circuit
09:51 AM rue_mohr: they might not do a good job, you can tell on small caps
09:52 AM rue_mohr: a good 1uF 16V should be about hmm, 0.3 ohms?
09:52 AM rue_mohr: er
09:52 AM rue_mohr: yea
09:52 AM rue_mohr: at 1uF it starts to get hard to tell the shift from the charge
09:54 AM rue_mohr: iirc by about 0.47 even I start to have a challenge on the scope
10:23 AM polprog: The booklet says 1u 16V is bad at
10:23 AM polprog: doesnt have as low as 1u but 4.7u says 35 ohms
10:24 AM polprog: and it generally goes lower both with capacitance increase and voltage increase
10:25 AM polprog: however thats way too high for my taste
10:25 AM polprog: i happen to have new 1u 100V
10:27 AM polprog: says 2.9 ohms
02:09 PM rue_mohr: well
02:09 PM rue_mohr: I think what I need is a console window library
02:09 PM rue_mohr: no, NOT ncurses!
02:09 PM rue_mohr: have you seen that code!?
02:09 PM rue_mohr: just no.
02:13 PM rue_mohr: so this edotor code, origionally, would pick up a line anytime scrolling was done, do hilighting on it, and leave it in a buffer
02:14 PM rue_mohr: then re-eval it if it was modified
02:14 PM rue_mohr: one of the problems was comming up for wide context hilights
02:14 PM rue_mohr: say, like rainbow braces
02:15 PM rue_mohr: it didn't have the scope to know where the rainbow should start
02:15 PM rue_mohr: so every time you scrolled, the braces would all shift colours
02:15 PM rue_mohr: same with comment blocks
02:15 PM rue_mohr: if It couldn't see the start of the block, it wasn't a comment
02:16 PM rue_mohr: My system was designed to use bookmarks
02:16 PM rue_mohr: parse the whole file, and build a set of bookmarks
02:17 PM rue_mohr: as you render, you check for bookmarks and apply whatever you want
02:18 PM rue_mohr: I hadn't worked out a few things
02:18 PM rue_mohr: / !!!???!!! this code is all temporary, darn I wish I had some help.
02:19 PM rue_mohr: as the code states
02:19 PM rue_mohr: lots of the effort in this code has been to take it from C to C++, and back to C
02:20 PM rue_mohr: as c++ is a hopeless trainwreck of "no, you cant write c++ like that anymore"
02:21 PM rue_mohr: The main accumulator doesn't have a modification callback
02:21 PM rue_mohr: so, pointers created to its contents cant track right now
02:22 PM rue_mohr: I think I'm going thru another layer of learning what I need to do this
02:22 PM rue_mohr: the number of additions to my content navigation system have been insane
02:22 PM rue_mohr: but completely logical
02:23 PM rue_mohr: I want to be able to operate it over a network tho, and there are too many odd little links going on
02:25 PM rue_mohr: the goal is that someone can open a file, others can join in to concurrently edit it, and the server role gets passed around as people leave, till the last server is the last person out
02:25 PM rue_mohr: yes,that makes a mess of who has the last version
02:25 PM rue_mohr: but that managment is beyond the scope of the editor
02:25 PM rue_mohr: when connected, anyone could save a local copy of the file
02:26 PM rue_mohr: so I suppose I need to seperate the operation into command and content streams
02:27 PM rue_mohr: maybe I should worry about phrasing everything as events
02:28 PM rue_mohr: for now, maybe I'll accept the "I'm still learning" status
02:29 PM rue_mohr: from where I'm standing I see two things
02:29 PM rue_mohr: a) I need a console window system
02:29 PM rue_mohr: b) I need a way to deal with markup (hilighting etc)
02:30 PM rue_mohr: I want to forgo the windowing thing because if its done right, it should slip mostly-seamlessly into the middle of what I have
02:30 PM rue_mohr: the markup thing has several challanges
02:31 PM rue_mohr: I suppose, all markup is only carry-forward
02:31 PM rue_mohr: aka, there will never be something forward from where you are in a file that will modify the markup your looking at
02:32 PM rue_mohr: so the content only needs to be parsed up to the last line your looking at
03:11 PM rue_mohr: --
03:12 PM rue_mohr: I think what I need is something that combines content storage, markup storage and tracking, and content search/manipulation
03:55 PM rue_mohr: most of the challenge of an editor is the screen to content mapping
04:36 PM rue_mohr: did you blow up an eprom polprog ?
04:37 PM polprog: no, it's a nethack joke :P
04:37 PM polprog: started as a logic probe chat
04:37 PM rue_mohr: didn't get into that one
04:37 PM polprog: i made a typo and called it a logic robe
04:37 PM polprog: and it went onto nethack from there
04:37 PM polprog: it's a relaxing game, you'd like the interface
04:38 PM polprog: i like it
04:39 PM polprog: i should build a locig probe
04:39 PM polprog: im pretty sure i can get away with a 74hc04, two leds, pogo pin and a beeper
04:39 PM polprog: and a battery for it
04:39 PM * polprog stops the mech lecture
04:39 PM * polprog grabs the drafting kit
04:40 PM rue_mohr: :)
04:48 PM Tom_L: so
04:48 PM Tom_L: the idea was to have it all programmed and cut a blank
04:48 PM Tom_L: i slept instead
04:49 PM rue_mohr: not worried you missed a deadline?
04:49 PM Tom_L: never have yet
04:50 PM rue_mohr: :)
04:50 PM Tom_L: deadlines just create anxiety
04:50 PM Tom_L: anxiety shortens life
04:51 PM Tom_L: haven't decided how i'm gonna part that off yet
04:51 PM rue_mohr: oo I like that.
04:52 PM rue_mohr: its an awefully largechunk
04:52 PM Tom_L: ?
04:52 PM rue_mohr: heh how deepwas that slotting blade?
04:52 PM rue_mohr: :)
04:52 PM Tom_L: not that deep
04:53 PM rue_mohr: I'm sure your lathe is too small for that beast
04:53 PM polprog: damn, i got it
04:53 PM rue_mohr: polprog, which it?
04:53 PM polprog: the probe
04:53 PM polprog: its relatively simple
04:53 PM rue_mohr: :)
04:53 PM polprog: two 7404, two led
04:54 PM polprog: resistor for input impedance, diodes for clamping and voila
04:54 PM polprog: optional 3rd 1/6 7404 and a diode OR to implement the buzzer
04:54 PM rue_mohr: how to attach the ground wire
04:54 PM polprog: croc clip?
04:54 PM rue_mohr: lead out the back?
04:54 PM polprog: maybe
04:54 PM rue_mohr: or off the side of the tip like a scope
04:55 PM polprog: adjacent ground pogo pin for high speed signals :D
04:55 PM polprog: hmm, i could actually make it BNC instead of pogo
04:55 PM Tom_L: so instead of a hex on the outside i think i'll cut a 5 or 7 sided one
04:55 PM polprog: then i could use any probe
04:55 PM rue_mohr: Tom_L, ..? that might be harder to use a tool on...
04:55 PM Tom_L: then you can machine a special wrench for it and sell em
04:56 PM polprog: nah, ill keep it simple, battery and pogo pin
04:56 PM rue_mohr: :) so tom, I need a 5 sided wrench...
04:56 PM rue_mohr: hahaha
04:56 PM polprog: for M-pi bolts?
04:56 PM Tom_L: isn't that what the industry does?
04:56 PM Tom_L: torx, security torx, .....
04:58 PM Tom_L: i bet you don't have a wrench that would fit it anyway
05:02 PM rue_mohr: actaully if we need a wrench were doing it wrong
05:03 PM rue_mohr: hand-firm should be engouh, with that thread pitch, to seal just fine against the gasket
06:00 PM rue_mohr: ok, well
06:01 PM rue_mohr: the new idea for this editor core has some merrits, but doesn't really get anything ahead
06:01 PM rue_mohr: the operating model just isn't quite right yet
06:01 PM rue_mohr: so I'll take some things from it, add to what I have, and keep going
06:22 PM Tom_L: .
06:27 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/extinguisher_nut/Brass_bar4.jpg
06:27 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/extinguisher_nut/Brass_bar3.jpg
06:27 PM rue_mohr: ? lathe?
06:28 PM Tom_L: i can't tell :)
06:28 PM rue_mohr: it looked to big to fit
06:28 PM Tom_L: spun in the lathe and used the sawzall
06:28 PM Tom_L: ~5 min
06:28 PM rue_mohr: hah, well done
06:29 PM rue_mohr: do you have a parting bit for your lathe?
06:29 PM Tom_L: yeah but it doesn't work
06:29 PM rue_mohr: ?
06:29 PM Tom_L: it chatters too much because the lathe is worn out
06:29 PM rue_mohr: oh, well, parting bits ARE evil
06:29 PM Tom_L: i started a groove with a cutter then switched to the saw
06:30 PM Tom_L: so the saw wouldn't dance around
06:30 PM rue_mohr: yep
06:30 PM Tom_L: gonna be a heavy part to ship
06:31 PM rue_mohr: I think I can throw company money at it :)
06:31 PM rue_mohr: I spent a bunch so far on the hydro pump and that other hardware I got :S
06:31 PM rue_mohr: nobody calling me on it yet
06:32 PM Tom_L: oh well hell it'll be a $75 custom part!
06:32 PM rue_mohr: it happens
06:32 PM rue_mohr: I mean gee, I can make the rest of them
06:32 PM Tom_L: it may not fit ya know
06:32 PM rue_mohr: yea:/
06:33 PM Tom_L: i thought if it was tight you could maybe put some lapping compound on it and run it on an old tank
06:33 PM rue_mohr: I live in this space where nothing I need is obtainable
06:33 PM rue_mohr: dont have an old tank
06:33 PM rue_mohr: or I'd have a ring :)
06:33 PM rue_mohr: cant seem to get one of those either
06:33 PM rue_mohr: the day after this is all solved one will turn up at the scrapyard
06:34 PM rue_mohr: this is my life, I know how the chorus goes...
06:34 PM rue_mohr: lol
06:37 PM Tom_L: ok so at least now i have the material stock dimensions
07:21 PM rue_mohr: polprog, http://ruemohr.org/~ircjunk/avr/atmega328/max7219fft/story.txt
08:56 PM aandrew: lol
08:56 PM aandrew: so, I found the source code. It was a HORRID scan, of a bad copy, that had been PDF'd
08:56 PM aandrew: and stored in an unroutable directory in an unlised archive server, that you could only
08:56 PM aandrew: type out if you understood what it was supposed to be doing!
08:57 PM aandrew: sounds like where the plans for the destruction of Arthur's house for the new bypass highway
08:57 PM aandrew: were stored
09:02 PM rue_mohr: :)
09:02 PM rue_mohr: I'm amazed you managed to see thru that!
09:02 PM rue_mohr: well done
09:08 PM rue_mohr: well I suppose the only way I'm gonna fix hungry is by eating something
09:08 PM Tom_L: rue_mohr, did you say 1/2" npt for the small hole?
09:09 PM Tom_L: or smaller...
09:15 PM rue_mohr: 1/2 is fine
09:20 PM Tom_L: i just looked and i have 1/8, 1/4, and 1/2-14 npt but no 3/8
09:24 PM Tom_L: the 1/2" one is brand new :)
09:24 PM Tom_L: i don't remember now why i got it but i've had it a while
09:28 PM rue_mohr: heh
09:28 PM rue_mohr: I found a few at a garage sale cheap
09:28 PM rue_mohr: gobbled them all up
09:29 PM Tom_L: i think i got it to clean out some plastic threads but i forgot now
09:43 PM ClosetMoon: I like cany
09:43 PM Tom_L: so you're metric but use npt :)
09:43 PM Tom_L: moon, when you gonna come outta the closet>>>
09:44 PM ClosetMoon: Soon as i feel I can face my parents
09:44 PM ClosetMoon: :D
09:44 PM Tom_L: heh
09:44 PM ClosetMoon: :P
09:44 PM ClosetMoon: ShowerTime
09:56 PM rue_mohr: in the electrical code we still use mills for wire size
09:57 PM Tom_L: are you using a steel or brass fitting to this part?
09:58 PM rue_mohr: could be either
09:58 PM rue_mohr: I'd like the avoid steel cause of ruse
09:59 PM rue_mohr: I'd like the avoid steel cause of rust
09:59 PM Tom_L: yeah
09:59 PM Tom_L: i'll test fit it with a brass fitting then
09:59 PM Tom_L: unless you'd rather tap it yourself
10:03 PM rue_mohr: I'm ok either way
10:04 PM rue_mohr: they should be the same, shouldn't they?
10:04 PM Tom_L: 1/2 14 is mine
10:04 PM rue_mohr: I suppose people use a few more threads on brass
10:04 PM Tom_L: yes
10:04 PM rue_mohr: 1/2 npt
10:04 PM Tom_L: some chasers get carried away threading steel
10:04 PM rue_mohr: yes?
10:04 PM Tom_L: yes
10:05 PM Tom_L: you'll use teflon anyway
10:05 PM Tom_L: or pipe dope
10:05 PM rue_mohr: just teflon likley
10:08 PM Tom_L: vise program ready
10:13 PM rue_mohr: do you put a spacer in the jaws?
10:13 PM Tom_L: 1.5" when i mill them yes
10:13 PM Tom_L: that leaves enough on the jaw to hold the part
10:14 PM rue_mohr: where do you out 0?
10:14 PM rue_mohr: where do you put 0?
10:15 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/extinguisher_nut/extinguisher_jaws.JPG
10:15 PM Tom_L: the visejaw corner
10:15 PM rue_mohr: k
10:16 PM Tom_L: then i can flip the part and chamfer the edges
10:16 PM rue_mohr: I need to try a register-and-flip job
10:17 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Assembly/Final/Vise_parts/Speedhandle2.jpg
10:17 PM Tom_L: all one program, both sides
10:19 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/extinguisher_nut/SpeedHandle.txt
10:19 PM Tom_L: look for M0 and see how
10:19 PM rue_mohr: yea I need to add stop support to the spooler
10:19 PM rue_mohr: oh, so much to be done
10:20 PM rue_mohr: I'm burned out in a funny way
10:20 PM rue_mohr: I want to just watch a movie
10:22 PM rue_mohr: I'd be curious to see you do a video of programming a part
10:22 PM Tom_L: it would take too long :)
10:24 PM rue_mohr: :)
10:24 PM Tom_L: while i'm doing it, i go back and forth to the garage measuring the material etc and seeing what i have to use
10:24 PM rue_mohr: I pondered getting a camera that can do longer vids, but , meh
10:24 PM Tom_L: that's why the block is cut and ready
10:24 PM Tom_L: i'm not big on video is my excuse
10:25 PM Tom_L: you install the program and i'll walk you thru it
10:25 PM Tom_L: :)
10:26 PM Tom_L: it's a bit quicker now since i have all the tools fairly where they need for feed and speed for alum, steel and brass
10:26 PM Tom_L: i have 3 tool files
10:26 PM Tom_L: same set just different feeds & speeds
10:26 PM Tom_L: and they match the tool list in the mill
10:27 PM Tom_L: so T27 is the same both places
10:27 PM Tom_L: you set your boundaries in more than one place
10:27 PM Tom_L: the tool and the geometry descriptions
10:28 PM Tom_L: but sometimes you still have to go edit the tool clear plane
10:29 PM rue_mohr: huh, something is driving me a bit crazy
10:30 PM Tom_L: i generally draw the part _in_ the jaws where it will be machined
10:30 PM * rue_mohr nods
10:31 PM rue_mohr: all my jobs have been "the zero for the job is *here*, make sure there is sufficient material to fit it"
10:31 PM rue_mohr: usually just cutouts
10:31 PM Tom_L: i'm used to doing it this way from the big machines
10:32 PM rue_mohr: I think the sprayer clamp where you suggested having the cnc cut the step, is the only z circital one
10:32 PM Tom_L: z zero is always above the part
10:32 PM Tom_L: it's safer
10:32 PM rue_mohr: oo
10:32 PM rue_mohr: yea
10:32 PM rue_mohr: so I zero above the material
10:32 PM Tom_L: on mine typically 1" above the top of the material
10:32 PM rue_mohr: usually 0.25mm
10:33 PM Tom_L: not much margin for error
10:33 PM rue_mohr: you should see the bit graveyard
10:34 PM rue_mohr: tho honestly, all the misses have been more than 1" anyhow
10:34 PM Tom_L: i've got my own
10:34 PM rue_mohr: I'm gonna go stretch..
10:34 PM Tom_L: i'm about to go sleep anyway
10:34 PM Tom_L: i still struggle getting the chamfers where i want them
10:35 PM Tom_L: the tool doesn't go to an exact point
10:35 PM Tom_L: but it's 45deg so if i go over .125 and down .125 that should be zero chamfer
10:36 PM Tom_L: from that i move down whatever chamfer ammount i want
10:43 PM rue_mohr: ? hmm
10:46 PM Tom_L: it's how i go about offsetting the cutter path for a chamfer
10:51 PM Tom_L: ok i think i got it but i'll have to adjust the chamfer a bit
11:01 PM Tom_L: ok i got a code file to test