#linuxcnc Logs
Feb 07 2025
#linuxcnc Calendar
01:40 AM Deejay: moin
05:57 PM bjorkintosh: fun stuff.
05:58 PM Tom_L: bjorkintosh, wanting to learn C?
05:58 PM bjorkintosh: Tom_L: I do know _some_ but never took the time to properly learn it.
05:59 PM bjorkintosh: Reading K&R and a few others to do it right.
05:59 PM Tom_L: i have the pdf if you want it
05:59 PM bjorkintosh: ah I do too.
05:59 PM bjorkintosh: thank you though! very kind.
05:59 PM Tom_L: np
06:00 PM Tom_L: 2nd edition
06:00 PM bjorkintosh: not learning C forced me to work with numerous other languages.
06:00 PM bjorkintosh: Yea I've got that, and the first edition as well as answer books.
06:00 PM bjorkintosh: it was really digging into Plan9 which made me want to learn it. Plan9 is so elegant!
06:00 PM Tom_L: handfull of old asm books as well
06:01 PM Tom_L: i've long since forgotten most of it
06:01 PM bjorkintosh: it is forgettable isn't it?
06:02 PM bjorkintosh: I'm learning C at a time when everyone else is rushing towards Rust (and some towards Go)
06:02 PM bjorkintosh: always late.
06:02 PM bjorkintosh: always, always late.
06:04 PM roycroft: c is good to learn
06:08 PM bjorkintosh: especially from the K&R book. it is stupendous.
06:08 PM bjorkintosh: by the end of chapter 1, you can write some useful programs.
06:10 PM Tom_L: i've used a handfull of different c compilers
06:11 PM Tom_L: msc, gnuc, some pic c compiler...
06:11 PM Tom_L: they vary some
06:12 PM Tom_L: handy to be able to jump into some inline asm when required too
06:15 PM lcnc-relay: <skunkworks8841@> I think I still have some borland C++ disks around here
06:15 PM Tom_L: i had some but not anymore
06:26 PM rdtsc: DRIVER=hm2_rpspi : that will work on Rpi4, or use hm2_spix, which works on that and Rpi5
06:28 PM roycroft: wow - i haven't watched "this old house" in quite a while, i guess
06:28 PM roycroft: kevin o'connor is looking pretty old
06:28 PM roycroft: tom silva looks old, but he's looked old for decades
06:30 PM rdtsc: speaking of rant, I despise C++... the only thing "extra extra" about it is the superflous usage of characters requiring the shift key
06:30 PM lcnc-relay: <skunkworks8841@> Lol.. I would guess we all look old now
06:30 PM bjorkintosh: rdtsc: get this: the latest book on C++ which I foolishly bought, is not supported by any of the compilers.
06:30 PM lcnc-relay: <big_kevin420@> theres no reason you cant do multiple remora instances , but idk if it would be on the same spi channel or not, and you would need to edit the component to do that
06:31 PM bjorkintosh: the compiler support is somewhere around 2011. the book is for C++23.
06:31 PM bjorkintosh: what a waste.
06:31 PM roycroft: yes, but there's a difference between gradually looking old to people you see frequently vs suddenly looking old because you haven't seen a person in a long time
06:32 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/gziGaBFxyiABBmGH6
06:32 PM * roycroft still has a first edition copy of k&r somewhere
06:33 PM bjorkintosh: I have a copy too.
06:33 PM * bjorkintosh collects old books like they're going out of fashion.
06:33 PM bjorkintosh: if you collect books, don't move!
06:33 PM bjorkintosh: your friends will hate you forever.
06:34 PM roycroft: i do and i did
06:34 PM roycroft: but it's the movers who hated me
06:34 PM roycroft: not really, though
06:34 PM bjorkintosh: it's a PITA
06:34 PM roycroft: they were actually happy, because i know how heavy books are, and i bought small boxes to pack them in instead of the extra-jumbo ones that most folks get
06:35 PM roycroft: my collection does qualify as a "library" by almost all standards, btw
06:35 PM bjorkintosh: roycroft: what's the qualification?
06:35 PM roycroft: the common standard is 1000 books, but many folks say 500 counts
06:35 PM bjorkintosh: oh.
06:35 PM roycroft: the american library association says a "library" should generally be a minimum of 5000 books
06:35 PM bjorkintosh: 120 boxes is what it took to move mine *after* I had discarded the ones I didn't think I'd need.
06:35 PM roycroft: my library is around 3500
06:36 PM bjorkintosh: small boxes.
06:36 PM rdtsc: do 5000 PDF's count? ;)
06:36 PM bjorkintosh: oh I have a bazillion of those :-D
06:36 PM roycroft: so not quite up to ala standards, but well over the other standards
06:36 PM roycroft: a second criterion to call a collection a "library" is that it must organized
06:36 PM bjorkintosh: oh I fail at that.
06:37 PM roycroft: almost my entire collection has been cataloged (and i use loc cataloging - dewey drives me up a wall)
06:37 PM rdtsc: I have a slew in "Electronics" folder, so partial sorting :)
06:37 PM roycroft: the thing is, though, when i moved here, i had the movers set up the bookshelves, and they piled all the boxes up in one place
06:38 PM roycroft: my unpacking method was to take the nearest box, unpack the books onto the nearest shelf, and continue on until they were all unboxed
06:38 PM roycroft: but they are not sorted at all on the shelves yet
06:38 PM roycroft: i really want to get started on that soon - it's hard to find books as things ae
06:39 PM bjorkintosh: hire an intern!
06:39 PM bjorkintosh: or temp
06:39 PM roycroft: i have enough that i don't even remember what i have and don't have any more
06:39 PM roycroft: so my method now is to search my catalog to see what books might match my needs, make a list of them, and then start searching the shelves
06:40 PM roycroft: i may actually get an intern at some point, when i have the time to devote to teaching them
06:40 PM roycroft: it's something i've been thinking about
06:41 PM roycroft: and if part of the internship involves shop work, i'll have to make sure my insurance covers them
06:41 PM roycroft: interns do cost money
06:41 PM roycroft: just not as much as employees, usually
06:41 PM roycroft: except a bad intern could cost more than an employee
06:41 PM roycroft: so if i get an intern, i'll try to be sure not to get a bad one
06:46 PM lcnc-relay: <skunkworks8841@> lol - you are not supposed to pay interns... (if you are an evil corp_
06:46 PM lcnc-relay: <skunkworks8841@> )
06:46 PM lcnc-relay: <skunkworks8841@> They are paid with experience..
06:47 PM lcnc-relay: <skunkworks8841@> I think I burned most of the programming books from the 80's
06:47 PM lcnc-relay: <skunkworks8841@> I probably shouldn't have..
06:47 PM bjorkintosh: skunkworks whyyyyy?
06:48 PM lcnc-relay: <skunkworks8841@> I figured if I was going to learn programming - I would start with something current like python or such
06:48 PM Tom_L: skunkworks, who's that ole dufffer :)
06:50 PM lcnc-relay: <skunkworks8841@> lol.. me
06:50 PM lcnc-relay: <skunkworks8841@> I am old
06:50 PM lcnc-relay: <skunkworks8841@> I kept most of the other books.. Electronics, machining and such..
06:50 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/irmn2cNCmWPBvV9V9
06:51 PM lcnc-relay: <skunkworks8841@> (one section)
06:51 PM lcnc-relay: <skunkworks8841@> still have to go through it all
06:54 PM lcnc-relay: <skunkworks8841@> boy - I read this book cover to cover when I was a kid..
06:54 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/QnuA1vR1ekrJaEUM7
06:57 PM lcnc-relay: <skunkworks8841@> and this book
06:57 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/q3kecKaHVLDAnQM8A
06:58 PM lcnc-relay: <skunkworks8841@> I made lots and lots of circuts from this book
07:00 PM lcnc-relay: <skunkworks8841@> yep - that is my hand writing...
07:00 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/agmGjcMTuLdssmQbA
07:44 PM lcnc-relay: <schoch_@> if you want to learn something different try elixir or haskel, FP is just better.
07:46 PM rdtsc: Aaah that's known as a BTL or bridge-tied-load amp :)
07:48 PM rdtsc: seen a crazy-complex class D amplifier doing the same exact thing, 40+ years later :)
07:51 PM lcnc-relay: <skunkworks8841@> I remember building it
07:52 PM lcnc-relay: <captainhindsight_.@> I got some of those through the Electronics Book Club
07:53 PM lcnc-relay: <captainhindsight_.@> some were great some were junk
07:53 PM lcnc-relay: <skunkworks8841@> I built it into a speaker enclosure that I would carry with me to school...
07:54 PM lcnc-relay: <skunkworks8841@> yah - I mainly learned a lot on design.. but probably not perfect
07:54 PM lcnc-relay: <captainhindsight_.@> I got in trouble at first for reading them in HS class, then got bumped up into all AP courses
07:55 PM lcnc-relay: <skunkworks8841@> lol
07:55 PM lcnc-relay: <skunkworks8841@> the 8th grade science teacher told my mom that she should maybe keep a better eye on me.
07:56 PM lcnc-relay: <captainhindsight_.@> I was too anti-establishment
07:57 PM lcnc-relay: <captainhindsight_.@> I'd respond with Monty Python satire when chastised by counselors
07:57 PM lcnc-relay: <captainhindsight_.@> got me through those years
07:57 PM lcnc-relay: <skunkworks8841@> lol
07:57 PM rdtsc: tis but a flesh wound!
07:58 PM lcnc-relay: <captainhindsight_.@> "well he's not wrong"
07:59 PM lcnc-relay: <captainhindsight_.@> my after school job was electronics repair, I was treated as an equal at work but as something lower when at HS
08:00 PM lcnc-relay: <captainhindsight_.@> they could not explain why
08:01 PM lcnc-relay: <captainhindsight_.@> skunkworks8841@ https://www.amazon.com/Master-Handbook-Practical-Electronic-Circuits/dp/0830648003
08:01 PM lcnc-relay: <captainhindsight_.@> did you ave this one as well?
08:02 PM lcnc-relay: <skunkworks8841@> I don't think so
08:03 PM lcnc-relay: <captainhindsight_.@> then I discovered the manufacturers Data Books with App Notes
08:03 PM lcnc-relay: <captainhindsight_.@> I collected hundreds
08:04 PM lcnc-relay: <captainhindsight_.@> call the rep, ask for the data books, showed up in a couple of days
08:04 PM lcnc-relay: <skunkworks8841@> hmm - 2 fire trucks just went down the ill
08:04 PM lcnc-relay: <skunkworks8841@> hill
08:04 PM lcnc-relay: <captainhindsight_.@> like magic
08:04 PM rdtsc: the 600+ page TTL "phonebooks"
08:05 PM lcnc-relay: <skunkworks8841@> Dad and I used - oh what was it called - the semiconductor reference guide a lot.
08:06 PM lcnc-relay: <skunkworks8841@> how about this?
08:06 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/JPjTNLakwSgEX9p87
08:06 PM memleak: I added support for RTAI in my installer so upon running, it'll ask if you want preempt_rt or rtai :) updating rtai sources to 5.4.290 today
08:07 PM lcnc-relay: <captainhindsight_.@> rdtsc: yup those were great
08:08 PM memleak: I feel like I'm beating debian's installer at this point.. maybe i'm biased.
08:08 PM lcnc-relay: <captainhindsight_.@> the only ones that wanted you to pay was intel ... but i got them for free
08:08 PM rdtsc: SW haha he's holding an 8" floppy disk
08:08 PM lcnc-relay: <skunkworks8841@> lol - yep
08:09 PM lcnc-relay: <captainhindsight_.@> I recall having to deliver floppies to a customer and was asked to not put them down anywhere in the truck..
08:09 PM rdtsc: nice work memleak! :)
08:10 PM memleak: thanks! :D
08:10 PM lcnc-relay: <captainhindsight_.@> the engineers didn't know how much magnetic field in the truck would effect them
08:10 PM lcnc-relay: <captainhindsight_.@> distributor, coil, etc
08:10 PM memleak: it can run within a debian bookworm instance as well, so you don't need to burn any isos
08:11 PM rdtsc: sahweeet!
08:11 PM memleak: you just need a spare disk, takes awhile if you're installing to a USB drive
08:11 PM memleak: but it does work
08:12 PM lcnc-relay: <skunkworks8841@> this is my retirement plan.. I have 8 of these - sealed.. lol
08:12 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/2DYt7rX1JEmjtQka8
08:13 PM rdtsc: lifetime warranty! heheh
08:20 PM memleak: do floppies wear out?
08:21 PM memleak: floppies are a bit before my time.. don't recall ever working with one, even as a kid
08:22 PM lcnc-relay: <skunkworks8841@> They get moldy...
08:22 PM lcnc-relay: <skunkworks8841@> if they are not stored correctly
08:22 PM memleak: doesn't mold need moisture??
08:23 PM lcnc-relay: <skunkworks8841@> yes - 'not stored correctly' 🙂
08:23 PM memleak: lol
08:23 PM memleak: i remember wearing out playstation 2 memory cards
08:23 PM memleak: i think the stock size was 8MB
08:24 PM lcnc-relay: <skunkworks8841@> I think I have only warn out one usb drive.. (I think I carried it with me for years)
08:24 PM lcnc-relay: <skunkworks8841@> worn?
08:25 PM memleak: "please insert memory card" but it's plugged in. would happen every some years. or the saves just disappear.
08:25 PM memleak: for awhile i'd leave my ps2 on overnight after gaming all day so i wouldn't lose my progress the next day lol
08:37 PM xxcoder: 3d printed catcher tray for mini lathe interesting https://youtu.be/lXAr2mjUhAY