#garfield Logs
Feb 16 2021
#garfield Calendar
03:04 AM polprog: alt-codes are quirkty
03:10 AM polprog: quirky*
03:10 AM polprog: they carry as ^] something
03:10 AM polprog: which is why in most cases esc-X is the same as alt-X
08:24 AM rue_mohr: I have a state machine for sorting it all out
09:53 AM aandrew: polprog: how's the calculator? besides the lost programs I mean
09:54 AM polprog: its working fine now
09:54 AM polprog: it must have just lost the contact, i bent the springs back and it works again ^_^
10:01 AM aandrew: that's good news though
10:18 AM polprog: im picking up a spectrum analyzer tomorrow
01:46 PM Tom_L: rue_mohr, LH131812205US
01:50 PM Tom_L: she was over optimistic at 6 days :)
01:53 PM Tom_L: polprog, you gonna play with the rainbow?
02:15 PM polprog: no, rf one
02:15 PM polprog: i wouldnt mind an optical one tho
03:56 PM Tom_itx is now known as Tom_L
05:19 PM aandrew: holy fuckballs
05:19 PM aandrew: working on a *huge* project with ~40 ohter devs, compartmentalized environment (not given all data) and it seems like everything is moving all the time
06:49 PM rue_mohr: Tom_L, haha
06:50 PM rue_mohr: a million days once it hits the border
06:50 PM rue_mohr: moving goal posts aren't fun
06:52 PM Tom_L: shipping was $21.25
06:52 PM Tom_L: with tracking $40 +
06:52 PM Tom_L: no tracking...
06:52 PM rue_mohr: ok!
06:53 PM rue_mohr: so we need to work out how much you need for the rest
06:53 PM rue_mohr: :)
06:53 PM rue_mohr: I'm going to try not to fall asleep
06:54 PM rue_mohr: I ordered another cap I need for a different test, 22.50
06:54 PM rue_mohr: its big too 2.5"!
06:58 PM rue_mohr: I think I'll do a hydro test on the compressor tank this weekend
06:58 PM rue_mohr: I can get it ready in the meantime, plugs and stuff
06:59 PM Tom_L: whatever it's worth to you
07:00 PM Tom_L: just cover the shipping
07:00 PM rue_mohr: obviously
07:00 PM rue_mohr: hmm
07:00 PM Tom_L: material which i had is roughly $15
07:01 PM Tom_L: i'm anxious to see if it fits
07:07 PM rue_mohr: :)
07:08 PM Tom_L: mmm trash guy never showed. must have gotten snowed in
07:11 PM rue_mohr: :S
08:13 PM aandrew: rue_mohr: I need to get my ancient tank tested
08:13 PM aandrew: it's from the 1950s but looks to be in good shape. of course you can't really tell what's going on in the inside
08:29 PM Tom_L: rue_mohr, what thread is the 2.5" one?
08:41 PM rue_mohr: I dont know
08:41 PM rue_mohr: everyone has caps tho
08:41 PM rue_mohr: super common
08:41 PM rue_mohr: caps and plugs
08:41 PM rue_mohr: a cap was $17, I needed a plug, it was $22
08:49 PM rue_mohr: its a standard tho
08:50 PM rue_mohr: 2.5" fire
08:56 PM Tom_L: oh
09:05 PM Tom_L: wonder why those are so available and the 1.5" isn't
09:07 PM rue_mohr: the 2.5 is a fire truck standard
09:07 PM rue_mohr: the 1.5 is a test cap for a extinguisher
09:07 PM rue_mohr: :)
09:07 PM Tom_L: ohhhh
09:15 PM rue_mohr: 8-/ I was given 7 more laptops today
09:19 PM aandrew: I imagine you're the guy everyone knows who will take this stuff. :-)
09:20 PM aandrew: hm, that python script actually wasn't painful to write. thankfully I had something to base it off of
09:21 PM rue_mohr: :)
09:21 PM rue_mohr: to do the distancing?
09:22 PM aandrew: no no
09:23 PM aandrew: that's arduino-C
09:23 PM aandrew: this was reading a bianry file, computing a CRC, reading a config file for magic numbers and creating a header, then smashing it all togehter
09:24 PM rue_mohr: ah
09:24 PM Tom_L: so if this thread fits that will be a baseline test
09:24 PM rue_mohr: ok, well I did an intial parse of today booty
09:25 PM rue_mohr: some good, some bad, no ugly
09:25 PM rue_mohr: Tom_L, first odd-ball thread!
09:25 PM rue_mohr: blind by the numbers
09:25 PM Tom_L: well 2nd but first untested
09:25 PM Tom_L: yeah
09:25 PM Tom_L: i went off the numbers on my brass thing
09:26 PM rue_mohr: but it was matching
09:26 PM rue_mohr: this is against a forign ref
09:26 PM Tom_L: and added a couple but it's a loose fit, not sloppy but loose
09:27 PM Tom_L: i still used the pitch numbers though
09:27 PM Tom_L: for internal / external
09:27 PM rue_mohr: hah
09:27 PM rue_mohr: did you try a pitch guage on it?
09:27 PM rue_mohr: didn't think of it earlier
09:27 PM Tom_L: no i'm sure the pitch is ok
09:27 PM Tom_L: it would be more the fit
09:28 PM Tom_L: i can measure the pitch in the cad file
09:29 PM Tom_L: .0625"
09:29 PM Tom_L: and 1 / 16 is .0625
09:30 PM rue_mohr: arg, I need soemething to focus on
09:31 PM Tom_L: how's the editor going?
09:31 PM Tom_L: gonna make it custom for c programming?
09:31 PM rue_mohr: I'v concluded that I need to make a text manipulation engine core for it
09:31 PM rue_mohr: yea
09:31 PM rue_mohr: its got quick keys for C stuff
09:32 PM Tom_L: or a setup file that maps them by language
09:32 PM rue_mohr: the idea is to be able to do things like select a block of code and hit alt-1, it wraps the code in an if () { ---} and leaves the cursor between the () for you
09:33 PM rue_mohr: I'm also pondering quick keys for things like printf( );
09:33 PM rue_mohr: and #include and and and
09:33 PM rue_mohr: but I'm bogging down on the content editing
09:34 PM rue_mohr: there is another parallel issue
09:34 PM rue_mohr: tracking bookmarks in the file
09:34 PM rue_mohr: like the cursor position
09:34 PM rue_mohr: right now the cursor position is mapped back and forth to the file as things happen
09:34 PM rue_mohr: its sloppy
09:35 PM rue_mohr: and its only linked by "just happens to be doing the same thing"
09:35 PM rue_mohr: my head is all foggy latley tho
09:35 PM rue_mohr: so its hard to chew on something big
09:39 PM Tom_L: you _were_ making good progress on it
09:42 PM rue_mohr: its awesome
09:43 PM rue_mohr: I can see where i need to go
09:43 PM rue_mohr: path is just a bit steep looking
09:43 PM rue_mohr: so, for hilighting, I need another storage system
09:43 PM rue_mohr: not the same one thats doing the text content
09:44 PM rue_mohr: but I dont want to have two parallel systems like that
09:44 PM rue_mohr: so, I'm trying to work out how to do it
09:44 PM rue_mohr: in the process I learned that what I thought was one thing, its two
09:47 PM Tom_L: what gui are you using?
09:48 PM rue_mohr: text terminal
09:48 PM rue_mohr: all gui interfaces suck
09:48 PM rue_mohr: :/
09:48 PM rue_mohr: but as it turns out, the text terminal interfaces suck too
09:49 PM rue_mohr: it would be nice is the base system worked properly
09:49 PM rue_mohr: the engine thing makes sense tho
09:49 PM rue_mohr: you just fire commands at it and view the result
09:50 PM Tom_L: i mostly use notepad++ and programmers notepad
09:50 PM Tom_L: but that's windows
09:51 PM Tom_L: i think there's a notepad++ for linux
09:51 PM rue_mohr: I dreamt of an editor that would 3x my coding rate
09:51 PM Tom_L: c++ based
09:51 PM rue_mohr: back in 2001ish
09:52 PM rue_mohr: so I took it on, on my own
09:52 PM Tom_L: haven't really found a linux one i can't live without
09:52 PM rue_mohr: one drum beating sure dont get far
09:52 PM rue_mohr: did you try nedit?
09:52 PM Tom_L: not that i recall
09:52 PM rue_mohr: it has two features I love
09:52 PM rue_mohr: "split view"
09:52 PM Tom_L: i use gedit some
09:53 PM rue_mohr: and "record macro"/"repeat macro"
09:53 PM Tom_L: i got a dos editor that has split view
09:53 PM Tom_L: by file or by single file with 2 windows
09:53 PM rue_mohr: its nice to be able to see the top and bottom of a file at the same time
09:53 PM Tom_L: yeah
09:53 PM Tom_L: sometimes i open the same one side by side
09:53 PM rue_mohr: my editor lacks a windowing system for the text terminal
09:54 PM rue_mohr: like I said, steep
09:54 PM Tom_L: you pick projects that have no light at the tunnel end
09:55 PM Tom_L: the filters were a distraction
09:55 PM rue_mohr: I have to say tho, I'm really loving where this edtor is going
09:55 PM rue_mohr: a good one tho
09:55 PM rue_mohr: I need to try a servo with a dig filter
09:55 PM Tom_L: yeah you've livened up a bit lately
09:55 PM rue_mohr: it doesn't feel like it
09:56 PM Tom_L: gedit was ok but they screwed it up
09:58 PM rue_mohr: which things
09:58 PM Tom_L: i don't remember now
10:01 PM Tom_L: you don't like qtpy for a gui?
10:01 PM rue_mohr: I hate qt right across the baord
10:02 PM Tom_L: some have made a gui for linuxcnc with it
10:02 PM Tom_L: i haven't tried it
10:07 PM rue_mohr: typedef struct foo_s { int this, that;} foo_t;
10:07 PM rue_mohr: typedef struct bar_s { char foo_m[sizeof(foo_t)]; int other;} bar_t;
10:07 PM rue_mohr: int main(void) {
10:07 PM rue_mohr: bar_t yip;
10:07 PM rue_mohr: (foo_t )yip.this = 4;
10:07 PM rue_mohr: return 0;
10:07 PM rue_mohr: }
10:07 PM rue_mohr: I dont have this quite right yet
10:11 PM rue_mohr: oh
10:11 PM rue_mohr: if I wiggle more I can do it
10:12 PM rue_mohr: http://paste.debian.net/1185770/
10:18 PM rue_mohr: ok, so, as long as each level know what its native and downstream data types are, everything should be ok
10:19 PM rue_mohr: then->I->dont->have->code->with->insane->levels->of->varable->nesting
10:20 PM rue_mohr: funny things in C that seem like they should work and just wont
10:24 PM rue_mohr: oh, macros do a better job again
10:25 PM rue_mohr: http://paste.debian.net/1185772/
10:27 PM rue_mohr: ok, hearing voices and dozing off again