#garfield Logs

Apr 04 2025

#garfield Calendar

04:30 AM Tom_L is now known as Tom_cell
05:07 AM Tom_cell: bush
05:08 AM rifraf: turkey
05:08 AM rifraf: are you on holidays Tom_cell?
05:08 AM Tom_cell: Yup
05:09 AM rifraf: cool, hope weather etc is fine
05:09 AM Tom_cell: On the road
05:09 AM Tom_cell: Raining
05:09 AM rifraf: txting while driving?
05:09 AM Tom_cell: passenger
05:10 AM rifraf: nice
05:11 AM Tom_cell: ssh works
07:36 AM rue_mohr: travel safe tom
11:42 AM rifraf: kotlin ? seems a bit python like
06:29 PM rue_mohr: rifraf, I'm not feeling trumps tariffs at all *yet*
06:29 PM rue_mohr: turns out the USA doesn't really make anything we consume around here anyhow
06:30 PM rue_mohr: eveything is china, mexico, and canada
06:35 PM rifraf: thats good, i am feeling it
06:35 PM rifraf: our dollars went down about 3c
06:36 PM rifraf: rue i made a phone app
06:36 PM rifraf: is not finished but will be pretty neat, AI helping me, has been a big few days
06:37 PM rifraf: have you used kotlin? or android studio
06:37 PM rue_mohr: oh our dollar is going down,
06:38 PM rue_mohr: no, have not sued those
08:53 PM aandrew: rue_mohr: https://dmitry.gr/?r=05.Projects&proj=36.%208pinLinux
08:54 PM aandrew: sadly I have to report that one of these 8 pin chips is not a 555.
08:59 PM rifraf: your eyesight is better than mine
09:01 PM rifraf: aandrew you made phone apps before?
09:04 PM aandrew: not ever, sorry
09:05 PM aandrew: well... if you count hte palm pilot, then yes
09:06 PM rifraf: is ok, i am nearly there, been a big few days, have worn out the AI bot and am in time out
09:07 PM rifraf: i do have a cool app running on the phone though already, just gotta keep tweekin the data when she wakes up
09:50 PM rue_mohr: aandrew, so.... its not using the cpu IN the SD card...
09:54 PM rue_mohr: heh, cool
09:57 PM rue_mohr: its funny how MIPS and not RISC V seems to be the processor or choice to emulate
10:06 PM rue_mohr: so, armed with that schematic, should we build one?
10:07 PM rue_mohr: I think those RAM chips are kinda expensive
10:14 PM rifraf: may i have your attention please
10:14 PM rue_mohr: well halve anyhow
10:15 PM rue_mohr: you need me to fix some AI junk code?
10:15 PM rifraf: lol you so funny
10:16 PM rifraf: nah the code will be ok, i wonder how i share an app with you?
10:16 PM rue_mohr: whats it written for?
10:17 PM rue_mohr: oh, there is my project
10:18 PM rue_mohr: oh I got a cool e-waste haul from work today rif!
10:18 PM rifraf: its the top spinning bestest tournament extrodinaire app of all time
10:18 PM rue_mohr: mhm, for what phone/os ver?
10:18 PM rifraf: android 9 and up at this atge
10:19 PM rifraf: stage*
10:19 PM rifraf: i have had to work hard with this AI , i named her foxette
10:21 PM rifraf: together we can make anything, just have to feed her the right ideas, so is alot of thinking involved
10:22 PM rifraf: but am in time out again already, and i am not going to pay, she owes me dammit
10:23 PM rifraf: rue_mohr do you understand fourier fast transform at all?
10:26 PM rifraf: rue_mohr wake up, i am just about to sleep, started 1am
10:27 PM rifraf: show me your cool e-waste haul
10:29 PM rue_mohr: rifraf, yes, I have totally understood ffts inside and out
10:29 PM rue_mohr: mm I am in my pajamas, and it is cold out
10:30 PM rue_mohr: there are a few medical computer things, a LOT of batteries, and a mini PC from a lab machine
10:30 PM rue_mohr: with mini touchscreen
10:33 PM rifraf: rue_mohr awesome, go warm up sir
10:34 PM rue_mohr: I'm fighting just to stay awake
10:34 PM rue_mohr: I need to go unlock the shop, and spend all night building the world in there
10:34 PM rifraf: indeed, the world must be built this night
10:35 PM rue_mohr: I have a joystick system to test that I set up on a ch32v003 micro
10:35 PM rifraf: i have been drinkin since 4am i think
10:36 PM rue_mohr: I dont know what time your set
10:36 PM rue_mohr: at
10:36 PM rifraf: is 1pm now, ready for bed
10:36 PM rue_mohr: I need to know the voltages of "12V" NiMh batteries
10:36 PM rue_mohr: casue I have a LOT of them
10:37 PM rifraf: you may have a multimeter?
10:37 PM rue_mohr: the answer is not 12
10:38 PM rifraf: of course not, its always 42
10:38 PM rue_mohr: charge at C/10, ok
10:39 PM rue_mohr: mine are 4Ah, so 0.4A
10:40 PM rue_mohr: 1.41V
10:41 PM rue_mohr: hmm can use temp rise as a cutoff method
10:43 PM rue_mohr: so, the answer is sort of 14V
10:43 PM rue_mohr: I'm going to have 10 packs in parallel
10:44 PM rue_mohr: so about a 4A charger
10:44 PM rue_mohr: funny
10:44 PM rue_mohr: 6A is a standard lead-acid slow charge rate
10:45 PM rue_mohr: if I use 15 packs in parallel, that would work
10:45 PM rue_mohr: I think I have enough space for 15
10:46 PM rue_mohr: that would be 60Ah, double the capacity its got now
10:48 PM rue_mohr: I dont think I have any powertool chargers for 12V NiMh
10:49 PM rue_mohr: so, dont think I can cheat
10:51 PM rue_mohr: I assume they are 10 cell
10:53 PM rue_mohr: and discharge cutoff should be 1V
10:53 PM rue_mohr: well 1.1
10:54 PM rifraf: yep
10:59 PM rue_mohr: rifraf, what going on with the lathe, I have not heard in a while
10:59 PM rue_mohr: your not stuck on the material pusher are ya?
11:00 PM rifraf: not stuck, i got some new parts, a gripper stronger than my fist
11:00 PM rue_mohr: good good
11:00 PM rifraf: and a guided pusher, got mount behind to keep out of sight
11:01 PM rifraf: so will be a pusher
11:02 PM rifraf: 30mm guided cylinder to do the pulling and a fist sized gripper to do the grippin
11:02 PM rue_mohr: ah, so your try to grab and pull and release instead of pushing
11:03 PM rue_mohr: how much room does the gripper need ?
11:03 PM rifraf: but i been busy you know, workin with foxys offspring
11:03 PM rifraf: gripper will gripp from 1" to 0.125"
11:03 PM rifraf: is about the size of your fist
11:04 PM rue_mohr: so you just need to make sure that there is a .125" stub out from the chuck for it to grab
11:05 PM rifraf: will be keepin the guided cylinder closely perpendicular
11:05 PM rifraf: yes, will nwdd 200mm + stub for it
11:06 PM rifraf: the length of the cokkot chuck plus some
11:06 PM rifraf: collet
11:06 PM rue_mohr: no, I mean sticking out from the chuck from having finished the previous piece
11:06 PM rue_mohr: so it can grab it to pull the material forward thru the chuck
11:07 PM rifraf: is big job, but so is makin phone apps, thats this weeks gig
11:07 PM rifraf: wanna help me test?
11:07 PM rue_mohr: trying to install/remove apps is a mess on my official phone
11:07 PM rifraf: well feeding from the back i can part off right at the collet
11:08 PM rue_mohr: I think I have some spare ones around
11:08 PM rue_mohr: oh, your not grabbing the colette side, your grabbing the drive side
11:09 PM rifraf: yes, the rear end, the input to chuck
11:09 PM rifraf: to much already happening at the front
11:10 PM rue_mohr: hows your thumb?
11:11 PM rifraf: all better now rgabks
11:11 PM rifraf: thanks
11:11 PM rifraf: just needed to keep it sealed a week or bit more
11:11 PM rifraf: ready for next one
11:12 PM rue_mohr: oof
11:13 PM rifraf: rue i made a phone app that does cool stuff with FFT
11:13 PM rifraf: just not quite working perfect yet
11:15 PM rifraf: like a sensitive RPM meter
11:16 PM rue_mohr: ah
11:16 PM rue_mohr: what library did the ai use for the fft?
11:17 PM rue_mohr: fft code is a funny thing
11:17 PM rifraf: a math lib because the derfault fft one did not work right
11:17 PM rue_mohr: its crazy simple, and 99% of the code out there has been re-wrapped so many times its bloatware
11:18 PM rifraf: with hanning filters before peak detection
11:18 PM rue_mohr: the fft calculation is super simple
11:18 PM rifraf: like: windowedData[i] = data[i] * (0.5 - 0.5 * cos(2 * PI * i / (data.size - 1)))
11:19 PM rue_mohr: in 1967 someone mashed together two pieces of fft code in fortran
11:19 PM rue_mohr: it was a hack, and not a fast or capable one
11:19 PM rue_mohr: but the code wasn't that long
11:19 PM rifraf: but when i did it in python i increased to about 0.65
11:20 PM rifraf: come on rue, its 2025
11:20 PM rue_mohr: someone(s) ported is to BASIC, but when they did, they didn't re-adjust it for the things that were done in fortran due to a lack of functionality like binary operators
11:20 PM rue_mohr: they just 1:1 ported it over
11:20 PM rue_mohr: and then soneone ported that BASIC version to C
11:20 PM rue_mohr: again, they didn't know what the code did, they just ported it over
11:20 PM rifraf: this is kotlin
11:21 PM rue_mohr: so, its been ported to java
11:21 PM rifraf: python like i feel
11:21 PM rifraf: and java like yes
11:21 PM rue_mohr: and its just a port of the C code of the basic code of the fortran code
11:21 PM rue_mohr: nobody understands how it works
11:21 PM rifraf: but ut can make phone apps
11:21 PM rue_mohr: then comes along rue
11:21 PM rifraf: 1.99 per download
11:22 PM rifraf: lets sell 50k worth
11:22 PM rue_mohr: I went back to the fortran code from 1967 (which wasn't easy) and reverse engineered it
11:22 PM rue_mohr: I re-wrote it in C, with all the capabilities of C
11:22 PM rue_mohr: tell me this
11:23 PM rue_mohr: does your code alternate the real and complex values in an array?
11:23 PM rifraf: rue i could use your help, some time
11:23 PM rifraf: the real and imaginaru parts, yeah
11:23 PM rue_mohr: yea
11:23 PM rue_mohr: you know why?
11:23 PM rifraf: you know what i mean
11:24 PM rue_mohr: Fortran could only have a 1 dimensional array, so they alternated the values
11:24 PM rifraf: yeah because its important :P
11:24 PM rue_mohr: in fortran, you could not have 1 array for real values, and 1 array for imaginary ones :]
11:24 PM rifraf: i still think its magic numbers, but works
11:25 PM rue_mohr: so, you might also have a fft loop with a bunch of crazy variables that get incremented and added and stuff
11:25 PM rue_mohr: well, their doing two things,
11:25 PM rifraf: rue cool that you know this stuff
11:25 PM rue_mohr: binary logic operations
11:25 PM rue_mohr: and reverse binary counting
11:26 PM rue_mohr: there is a loop that moves all the values around
11:26 PM rifraf: i need to tweek both the python code for the top tester, and the code for new phone app
11:26 PM rue_mohr: which is stupid, load them in the right order in the first place
11:27 PM rue_mohr: so the app is written in .. what? isn't it all java for those apps?
11:27 PM rifraf: ok we will get it the right way like you say, will work better than ever
11:27 PM rifraf: no this is kotlin
11:27 PM rifraf: java like
11:27 PM rue_mohr: is kotlin a ...langage?
11:28 PM rifraf: yes sir
11:28 PM rue_mohr: heh, its pseudojava they make into java isn't it?
11:28 PM rifraf: or a dialect at the least
11:28 PM rue_mohr: cause nobody can write a java app that doesn't crash
11:28 PM rifraf: well they recommend using kotlin over java now, you still have choice of java
11:29 PM rue_mohr: woo $57 to get that pipe shipped
11:30 PM rifraf: long one?
11:30 PM rue_mohr: 10 feet
11:31 PM rue_mohr: 10 pipes
11:31 PM rifraf: not bad if you gettin 10
11:31 PM rue_mohr: enough to make sprayers for a while
11:31 PM rifraf: cool
11:31 PM rue_mohr: sprayers are on average 18"
11:31 PM rue_mohr: for 1.5 feet
11:31 PM rue_mohr: so ~67 sprayers
11:32 PM rue_mohr: the pipe with shipping was ~$300
11:32 PM rifraf: ready for mass production
11:32 PM rue_mohr: mm ~$5 ea
11:33 PM rue_mohr: it looks like the charges are about the base rate of the courier
11:33 PM rifraf: cool, no trumpiffs
11:34 PM rue_mohr: I have to either go to sleep or wake up
11:34 PM rue_mohr: ugh
11:34 PM rifraf: me too
11:34 PM rue_mohr: I want me to work on some 8051 code too
11:34 PM rue_mohr: I made a serial lcd and I'd like it to handle \r as just a line-return
11:35 PM rue_mohr: I use \r to do progress update stuff a lot
11:35 PM rue_mohr: and maybe add ansi-escape codes for cursor positioning
11:35 PM rue_mohr: oh its dark, I have to go burn some garbage
11:35 PM rifraf: lol, i tried to use \r in the android code today
11:36 PM rifraf: didn't work, just printed, \r
11:41 PM rue_shop4: wow, 24A on the battery tester, thats pretty good
11:42 PM rue_shop4: its about 0.5 ohms
11:42 PM rue_shop4: usually batteries of mine are about 22A
11:44 PM rue_shop4: someone else is burning paper/wood too, perfect, covers me
11:45 PM rue_shop4: ok, my plan is to put this chip in that remote ok
11:45 PM rue_shop4: so rifraf whats not working right in your app?
11:47 PM rifraf: currently still too much signal noise, says there is an RPM when there is no spinning
11:48 PM rue_shop4: mmm
11:48 PM rifraf: we are dealing with small forces, already removing gravity from Z and multiplying it
11:48 PM rue_shop4: is it using the camera to pick up the rotation?
11:48 PM rifraf: no
11:49 PM rifraf: accelerometer, you were not listening i see.
11:49 PM rifraf: lol
11:49 PM rue_shop4: I zones for a while
11:49 PM rue_shop4: accel...
11:49 PM rifraf: yes, a secret i discovered some frome some other apps
11:50 PM rifraf: i want to taylor it for tops
11:50 PM rue_shop4: but it would have to be a terrible top to vibrate enough...
11:50 PM rifraf: you wanna install a physics app?
11:50 PM rifraf: no sir
11:50 PM rue_shop4: not right now
11:51 PM rifraf: the phonw caN PICK UP VIBRATIONS YOU CANNOT FEEL
11:51 PM rifraf: rifrafWOOPS
11:51 PM rue_shop4: I'm gonna try to get some progress on the second to last distracton
11:51 PM rifraf: ok then
11:53 PM rue_mohr: maybe I'm useless tired
11:54 PM rifraf: you me and the ai, time for rest maybe
11:56 PM rue_shop4: you know that ai will keep making the same mistake as many times as it says "oh, yea I was wrong, let me try again" and it'll just keep doing the same thing
11:56 PM rue_shop4: it cant learn
11:58 PM rue_shop4: that will be the next major step
11:58 PM rue_shop4: but they have to rewrite everything to do it
11:59 PM rifraf: yes rue so i have discovered :)