#garfield Logs

Feb 07 2021

#garfield Calendar

02:43 AM rue_mohr: maybe my brain is melting
03:38 AM rue_bed: hmm
06:17 AM Tom_L: hmm
10:55 AM rue_mohr: 1490
10:56 AM rue_mohr: huh added 6
10:57 AM rue_mohr: ok
10:57 AM rue_mohr: can I be awake today?
11:13 AM Tom_L: no
11:18 AM Tom_L: yes, i'm still using clipper on dos
11:23 AM rue_mohr: was it made for database stuff or its just a part of it
11:24 AM Tom_L: mostly database
11:24 AM Tom_L: but you could do alot more with it
11:25 AM Tom_L: i did a POS for a friend that brought in raw price files and updated his files, ran a register drawer etc
11:26 AM Tom_L: barcode printer, receipt printer etc
11:27 AM Tom_L: he'd get price updates on floppy from each vendor
11:29 AM Tom_L: mine does all the data stuff, payroll, bank deposits directly to quicken
11:30 AM rue_mohr: linux-nfs@vger.kernel.org
02:02 PM rue_mohr: playing with my editor code
02:02 PM rue_mohr: I have all the libs that I should need to make it work
02:03 PM Tom_L: so you should be done with it today?
02:03 PM rue_mohr: haj
02:03 PM rue_mohr: not at the rate I'm moving
02:04 PM rue_mohr: I been working on this since like 2000
02:04 PM rue_mohr: I dont seem to be able to write tetris either :/
02:04 PM rue_mohr: polprog, where are the oscillators!
02:04 PM rue_mohr: and avr based fitlers
02:04 PM Tom_L: tetris?
02:04 PM Tom_L: the game?
02:05 PM rue_mohr: yes
02:05 PM polprog: hmm. which ones?
02:05 PM Tom_L: huh, i had that somewhere
02:07 PM rue_mohr: polprog, the ones you should be having all the fun with while you have a chance
02:07 PM polprog: hah
02:07 PM polprog: right
02:07 PM polprog: i just finished writing an essay
02:07 PM rue_mohr: I quite think an m328 can do a high/low pass filter for audio
02:08 PM polprog: it was the last thing i had to do this semester
02:08 PM rue_mohr: iirc the ADC can push up to 64ksps
02:08 PM polprog: ill have to clean the electronics desk
02:08 PM rue_mohr: technically, you could do 22kHz stereo?
02:08 PM polprog: hmm yeah
02:08 PM polprog: ive got a zillion other projects too
02:09 PM rue_mohr: you need to be able to push it out fast tho
02:09 PM rue_mohr: what projects do you have on the chalk board?
02:09 PM polprog: one stm32 one semi work related and the lora stuff
02:13 PM rue_mohr: wow, I was really getting into the event thing with this editor
02:16 PM Tom_L: python?
02:16 PM rue_mohr: C
02:17 PM rue_mohr: I managed to get past terminal IO, which is amazingly complex
02:17 PM Tom_L: the world needs one more editor...
02:17 PM rue_mohr: but the tutorial I was working from had a major base design fault
02:17 PM Tom_L: i think you showed me that
02:18 PM rue_mohr: I got around all its other awefull bits
02:18 PM rue_mohr: but they stored the file as an array of lines
02:19 PM rue_mohr: which became too much of a cluster**** as features went in
02:19 PM polprog: array or list?
02:19 PM Tom_L: i used alot of arrays in my clipper stuff
02:19 PM rue_mohr: erow *row; // array of parsed file rows
02:19 PM polprog: eww
02:19 PM rue_mohr: typedef struct erow {
02:19 PM rue_mohr: char *chars;
02:19 PM rue_mohr: char *render;
02:19 PM rue_mohr: char *attrib;
02:19 PM rue_mohr: } erow;
02:19 PM polprog: what did you fix it with eventually
02:20 PM rue_mohr: its not yet
02:20 PM Tom_L: it's got functions that will iterate a file or array and do some process to each element
02:20 PM rue_mohr: I'v backed the code away from the cliff and started cleaning up things
02:20 PM rue_mohr: when they open the file they break it into lines
02:20 PM rue_mohr: but, back in 2000
02:20 PM rue_mohr: I wrote a bunch of libs for an editor
02:21 PM Tom_L: that was 21 yrs ago
02:21 PM Tom_L: who slept?
02:21 PM rue_mohr: my lib has a big binary blob storage system, with all sorts of handlers for things like finding line positions and inserting/deleting content
02:21 PM rue_mohr: I been chewing on it about every 5 years or so
02:22 PM rue_mohr: the major problem I had was working with the linux console
02:22 PM rue_mohr: so I just need to mash the two things togethor
02:22 PM rue_mohr: that said, my code is about 12 libraries
02:26 PM rue_mohr: I'm trying to break up the main file from the tutorial
02:27 PM rue_mohr: its still 1000 lines
02:27 PM rue_mohr: but I'v managed to move all the terminal IO into a seperate lib
02:29 PM rue_mohr: sun is calling
02:29 PM rue_mohr: it wont do that for long
02:40 PM rue_mohr: so, I suppose the first step is to be able to open a file
02:44 PM Tom_L: does C use fopen?
02:44 PM rue_mohr: yup
02:44 PM rue_mohr: you can also use open
02:45 PM rue_mohr: going to go see the sun
02:45 PM Tom_L: IF !FILE( Q_IMPORT_TXT )
02:45 PM Tom_L: Handle := FCREATE( Q_IMPORT_TXT, FC_NORMAL)
02:45 PM Tom_L: ELSE
02:45 PM Tom_L: Handle := FOPEN( Q_IMPORT_TXT, FO_READWRITE)
02:45 PM Tom_L: FSEEK(Handle, 0, FS_END)
02:45 PM Tom_L: ENDIF
02:46 PM Tom_L: Q_IMPORT_TXT is a constant
02:46 PM Tom_L: the sun is hiding here
02:50 PM polprog: sun is gone here
02:50 PM polprog: -14c forecasted
02:50 PM Tom_L: did you put it out?
02:52 PM polprog: put what out
02:52 PM Tom_L: the sun. you said it was gone...
02:52 PM polprog: :P
03:06 PM rue_mohr: i said hello to the yard
03:06 PM rue_mohr: its rapidly going wild on me
03:06 PM Tom_L: already?
03:06 PM rue_mohr: ~ yea
03:07 PM rue_mohr: I should grow bamboo and sell them as office plants for $150ea
03:07 PM rue_mohr: and start my adopt-a-weed idea
03:08 PM rue_mohr: (office plants again)
03:14 PM rue_mohr: is there a "*cide" for killing a plant?
03:19 PM Tom_L: dynamite?
03:20 PM rue_mohr: genocide, herbacide
03:20 PM Tom_L: herbacide
03:20 PM rue_mohr: but for someone who is adept at killing plants
03:20 PM Tom_L: i got some 'agent orange' i got long time ago that will work on anything
03:20 PM rue_mohr: I'm talking about people
03:21 PM Tom_L: that's just not having a green thumb
03:21 PM rue_mohr: you know, people who get office plants set them on the desk and they die there
03:21 PM Tom_L: they get ignored
03:21 PM rue_mohr: never watered, no light etc etc
03:21 PM Tom_L: plastic plants
03:22 PM rue_mohr: no, the idea is to sell them real plants
03:22 PM rue_mohr: that they can kill guilt-free
03:22 PM Tom_L: dandelions
03:23 PM rue_mohr: yea
03:23 PM rue_mohr: moss
07:19 PM polprog: rue_mohr, you just reminded me of this https://polprog.net/rozne1/mixer-rev-D.pdf
07:19 PM polprog: which never came around to be built, so it could make a nice base for the microcontroller audio DSP thingy
07:26 PM ClosetMoon: rue_mohr: !
07:26 PM ClosetMoon: have you actually left your house?
07:30 PM * ClosetMoon cracks another beer.
07:30 PM ClosetMoon: so who wants to shoot the shit for a little bit?
07:33 PM Tom_L: start shootin
07:33 PM ClosetMoon: !bang
07:33 PM ClosetMoon: hos it going Tom?
07:33 PM ClosetMoon: hows*
07:33 PM Tom_L: just chillin
07:34 PM ClosetMoon: cool, me too. I'm at my new wall mounted closet station.
07:35 PM ClosetMoon: its a comfortable squeeze
07:45 PM aandrew: I'm pretty decently green thumbed
07:46 PM aandrew: wife was killing the kitchen plants, I started taking care of them and htey're all fluorishing, even brought home 3 or 4 more and the're doing well. Unfortunately one of the ones I brought home had whitefly and now I have a minor whitefly infestation that is proving to be difficult to control
07:46 PM aandrew: I think I'm going to hav eto endure until spring when I can catch a half dozen ladybugs and set them loose. they'll take care of the problem pretty easily
08:23 PM aandrew: well it's nice to see that Autodesk buying Eagle has done nothing to improve on its core issues... at all.
08:23 PM aandrew: I'm very glad I jumped ship in the 4.x days, although it was nice that I could pay $80 for a month to use it and then not have to worry about it again
08:24 PM Tom_L: when i stopped doing it i was using 4.16
08:24 PM Tom_L: last good one imo
08:25 PM Tom_L: then it sold a couple times and went to pot
08:25 PM aandrew: yep
08:25 PM aandrew: I went from Eagle to Altium, and from there I'll probably go to Kicad
08:26 PM Tom_L: i haven't done a board in a very long time now
10:33 PM rue_mohr: bacjk
10:33 PM rue_mohr: ClosetMoon, hah, your up
10:33 PM rue_mohr: just got back from jameses
11:47 PM MoonyMoon: I though maybe, how'd it go?
11:47 PM MoonyMoon: thought*
11:50 PM rue_mohr: we got power to the bathroom and taikos room
11:50 PM MoonyMoon: home run?
11:51 PM rue_mohr: and the hot water tank
11:51 PM rue_mohr: no, 3 wire, jb to split lighting and taikos bedroom plugs
11:51 PM rue_mohr: needs a AF breaker
11:51 PM MoonyMoon: :P pshh
11:51 PM MoonyMoon: but good job
11:52 PM MoonyMoon: you take over that job :)
11:52 PM rue_mohr: I wasn't doing anything usefull at home and I was awake
11:52 PM rue_mohr: hah
11:52 PM rue_mohr: he needs your help on the stove
11:52 PM rue_mohr: !
11:52 PM MoonyMoon: why niot you?
11:52 PM rue_mohr: I might be able to help him next sun
11:53 PM MoonyMoon: cool
11:53 PM rue_mohr: wow that old wiring was crazy
11:53 PM MoonyMoon: no SHIT XD
11:53 PM rue_mohr: the bedroom bath was powered via the hallway light
11:53 PM MoonyMoon: that whole place is 'up daown turn around pick a bale of cotton'
11:54 PM rue_mohr: via a JB in the closet that took the old wire to newer lumex
11:54 PM rue_mohr: and all one circuit!
11:54 PM rue_mohr: crazy switched plugs
11:54 PM rue_mohr: and those crimp-and-tape splices!?!?!?!
11:54 PM MoonyMoon: good baseboard circut though added later.
11:55 PM rue_mohr: I dispise 4" box-wires...
11:55 PM rue_mohr: funny james wants to do away with it all
11:55 PM MoonyMoon: whats wrong with a 4x4??
11:55 PM rue_mohr: no
11:55 PM rue_mohr: 4" of wire length
11:55 PM MoonyMoon: oh
11:55 PM MoonyMoon: yeah
11:55 PM MoonyMoon: FUCH THOSE OLD GUYS
11:56 PM MoonyMoon: *FUCK
11:56 PM rue_mohr: yea gimme some damn length already
11:56 PM MoonyMoon: and thier short gonductors and grounds right to the screw
11:56 PM rue_mohr: the chimney was built with the house
11:56 PM rue_mohr: those #16 grounds are funny
11:56 PM rue_mohr: I was gonna use some of the old wire
11:57 PM MoonyMoon: did you untwist my home run for the washing machine?
11:57 PM rue_mohr: you told me not to so I didn't
11:57 PM rue_mohr: no
11:57 PM MoonyMoon: thanks for not using old :)
11:57 PM MoonyMoon: the twist is just cosmetic but I'm funny that way
11:58 PM MoonyMoon: unless it an Electronics project then my wires look like a old guys pubes!