#garfield Logs

Apr 07 2020

#garfield Calendar

12:18 AM rue_mohr: hahah thats fun
12:24 AM rue_mohr: I can have the editor replace all the 'h' in the opened file with "hello world" and colour each instance blue
12:49 AM rue_mohr: hahahah this author has totally hit the end of what his software arch can take
12:49 AM rue_mohr: the function for the syntax hilighting goes completely out of control
12:52 AM rue_mohr: haha its all coming unwound
12:52 AM rue_mohr: hahaha
12:52 AM rue_mohr: ooh crap, I'm on my own
12:52 AM rue_mohr: how the hell do I fix this
12:53 AM rue_mohr: haha
12:54 AM rue_mohr: somewhere between a state machine and a regex engine
12:55 AM rue_mohr: but there was a last min twist that he had that screwed me up
12:55 AM rue_mohr: you see, he treated the file opened as if it was binary
12:55 AM rue_mohr: I didn't I treated it like text
12:56 AM rue_mohr: half way thru the last chapter, he (badly) slipped in a hack to view binary files
12:56 AM rue_mohr: I cant because if there is a 0 in the file, my code will stop reading the line
12:57 AM rue_mohr: I dont think I care, but there, he got me on something
12:57 AM rue_mohr: there are many things wrong with this code
12:57 AM rue_mohr: there are many things done well
12:59 AM rue_mohr: keywords can be split into multiple lines, so I think I have a little wiggle room
01:13 AM polprog: i was looking at ed source code yesterday night
01:14 AM polprog: i managed to replace one of the ? messages with a generic message but it was late at night so i didnt do much
01:14 AM rue_bed: #ifdef ..... #endif #ifdef .... #else ... #endif
01:14 AM polprog: at least i know basics of ed(1) now
01:14 AM rue_bed: is it more than 10% #ifdef ?
01:15 AM polprog: whatcha mean?
01:15 AM rue_bed: most open source is almost all #ifdef directives
01:15 AM polprog: haha, true
01:15 AM rue_bed: to the point you cant tell what source is actually compiled
01:23 AM polprog: i should try to compile ircII on the old 486 again
01:23 AM polprog: last time it crapped out on lack of SSL and lack of disk space when i tried to download that
01:39 AM rue_bed: hm
10:27 AM Tom_L: sounds like you're having fun editing the editor
10:55 AM polprog: heh
04:06 PM rue_mohr: I hope to add the features I been needing for a code edtor
04:12 PM polprog: welp, looks like in may i'll be teaching soldering over discord
04:24 PM rue_mohr: cool!
04:25 PM polprog: ikr :D
04:26 PM polprog: ill be streaming lab classes on youtube
04:41 PM polprog: rue_mohr: have you got a source file for that breadboard render of yours? could i use it for the learning materials?
04:58 PM rue_mohr: yea, but its povray
05:00 PM polprog: np, i think i still remember how to use that
05:07 PM rue_mohr: as the file stands, its a white breadboard, with a cutaway of just the plastic.
05:07 PM rue_mohr: there is a line you can change the white for transparency
05:54 PM Tom_L: _finally_ finished tapping all the holes in my mill table
08:24 PM rue_mohr: hah
08:26 PM Tom_L: this measurement test made me realize i needed more of them than i had previously tapped
08:27 PM rue_mohr: by 0.0001?
08:29 PM Tom_L: no but i needed more of them to clamp the blocks in place than i had
08:36 PM rue_mohr: were you origionally going to use the machine to tap them?
08:36 PM rue_mohr: I figured you were going there with those special bits
08:37 PM Tom_L: no i hand tapped them anyway. well with a pneumatic hand drill
08:38 PM rue_mohr: today, after work, I slept
08:38 PM rue_mohr: :S
08:38 PM rue_mohr: I wasn't awake so I took a melatonin to finish me
08:38 PM rue_mohr: cause going the other way doesn't seem to work
09:38 PM aandrew: there we go
09:38 PM rue_mohr: heh
09:38 PM rue_mohr: aandrew, Tom_L , Tom_L aandrew
09:38 PM rue_mohr: aandrew, zhanx_ (he's not here right now)
09:38 PM rue_mohr: nor is moon
09:39 PM Tom_L: hello
09:39 PM aandrew: hello
09:39 PM rue_mohr: aandrew, the elements seem easy to get tho
09:39 PM Tom_L: rue_mohr, aandrew, aandrew, rue_mohr
09:39 PM rue_mohr: almost consumable
09:40 PM aandrew: yep. my mom was into pottery when I was a teen, I learned a bit from her
09:40 PM Tom_L: you'll met the altered rue's later
09:40 PM rue_mohr: I'm going to have to put a minifridge and a tea machine right beside me
09:40 PM aandrew: I've got 220V 100A in the garage, should be good :-)
09:40 PM rue_mohr: :)
09:40 PM rue_mohr: hopefully you only need about 20 or 30 from it
09:40 PM Tom_L: what brings you here?
09:40 PM aandrew: I like how rue's got four nicks in here
09:40 PM aandrew: I just use a bouncer :-)
09:41 PM aandrew: I met rue when I lived briefly in BC, been stalking him on twitter for a while before that
09:41 PM Tom_L: ahh ok
09:42 PM rue_mohr: I dont think I been on twitter even 2 years now
09:42 PM Tom_L: i think we crossed paths ~90ish or so?
09:42 PM rue_mohr: most of my logs start 2002
09:42 PM rue_mohr: but there was lots before that
09:43 PM rue_mohr: I never did get tobbor back togethor
09:43 PM Tom_L: yep, some of mine are lost
09:43 PM rue_mohr: I have the early stuff, just not since tobbor failed
09:44 PM rue_mohr: ok, for the editor
09:45 PM Tom_L: so what sort of stuff is aandrew into?
09:45 PM rue_mohr: I'v worked out that I dont need to handle string->string translations from the source file
09:46 PM rue_mohr: heh afk
09:46 PM rue_mohr: so I just need to find strings for syntax hilighting
09:46 PM rue_mohr: but there are 3 types of hilighting
09:46 PM rue_mohr: keyword
09:47 PM rue_mohr: start/stop (comments and brackets)
09:47 PM rue_mohr: and regex (like numbers)
09:47 PM rue_mohr: ok, I'm gonna go start supper and get some work in on the 3d printer
09:47 PM Tom_L: languages have their own dialects too
09:48 PM rue_mohr: just C
09:48 PM rue_mohr: C is all I care about
09:48 PM Tom_L: ok
09:48 PM rue_mohr: this will be a special editor for C that has all sorts of goodies to help me
09:54 PM aandrew: I've been on twitter a long, long time
09:55 PM aandrew: I'm a generalist, but not so general as rue. :-) my mechanical skills are weak, but I know the hw/sw stuff, it's what I do for a living
10:00 PM aandrew: how did that priming bulb work out?
10:01 PM rue_shop2: not
10:01 PM rue_shop2: I bought some from amazon, the wrong ones
10:02 PM rue_shop2: so I still dont have a working weedeater :/
10:02 PM rue_shop2: I might try amazon again
10:02 PM rue_shop2: but the mold is still (last I looked) ok, and I should be able to try it again
10:02 PM rue_shop2: the rtv needed to be more ridgid, but it would be if I mix in cornstarch
10:03 PM rue_shop2: dont know if that makes it porous tho
10:03 PM aandrew: hm interesting
10:10 PM rue_shop2: ok, funny thing
10:10 PM rue_shop2: I think the prints were failing, cause I had to speed too high for the heater to melt the plastic thru the 1mm nozzel
10:12 PM aandrew: hm, didn't recalibrate the flow?
10:12 PM rue_shop2: the peice left in the nozzel after a retract, is a tube
10:12 PM rue_shop2: looks like the core didn't melt
10:12 PM aandrew: is the hotend capable of keeping that much heat in there?
10:13 PM aandrew: hm, that sounds like you need to either get it way hotter or slow it down
10:14 PM rue_shop2: yep, slowing it down
10:15 PM aandrew: man I wish the file system UI in modern computers was like the gibson in Hackers
10:15 PM aandrew: totally impractical, but pretty
10:16 PM rue_shop2: hmm, the extrusion size out the nozzel is 1.27mm
10:18 PM rue_shop2: if this doesn't get netflix to build some content for canadians, nothing will
10:21 PM rue_shop2: !?! the thermocouple says my head is 101F
10:22 PM rue_shop2: 103
10:22 PM Tom_L: maybe it's wrong
10:22 PM rue_shop2: that or I have a fever
10:22 PM rue_shop2: :S
10:27 PM aandrew: that's really low, wow
10:27 PM rue_shop2: ok, my bed is cold by 13c and the nozzel is hot by 10c
10:28 PM rue_shop2: I thought 90 was a fever?
10:30 PM Tom_L: 98.6F is normal
10:30 PM Tom_L: 37C
10:35 PM rue_shop2: yea, so maybe I have a fever?
10:36 PM rue_shop2: 108
10:36 PM Tom_L: if you had 108 you'd be dead
10:37 PM rue_shop2: hmm
10:39 PM rue_shop2: so much for a calibrated thermometer
10:41 PM rue_shop2: no this just is not sticking
10:45 PM Tom_L: in a square, how to find an octagon that fits it with equal sides
10:46 PM rue_shop2: oh 0.5mm layers helped a lot
10:47 PM rue_shop2: find the middle of the square
10:47 PM rue_shop2: create the octogon with the same middle, and an edge that lies on an edge of the square
10:53 PM Tom_L: points are 22.5 deg apart
11:02 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Cube1.jpg
11:02 PM Tom_L: did one of those
11:02 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Cube2.jpg
11:02 PM Tom_L: now gonna try one of those
11:29 PM rue_shop2: hah is it free?
11:30 PM Tom_L: yes
11:31 PM Tom_L: one of the exercises my kid did at vo'tech
11:31 PM Tom_L: just programmed it
11:34 PM rue_shop2: multiaxis or work repostion
11:35 PM Tom_L: reposition
11:38 PM Tom_L: maybe that'll be a project for tomorrow