#garfield Logs
Dec 12 2020
#garfield Calendar
01:25 AM rue_shop2: see if I still rembeber how to fpga
12:12 PM rue_mohr: aandrew,
12:12 PM rue_mohr: I'm a bit lost as to what the program does
12:12 PM rue_mohr: its getting a list of 'adapter voltages'
12:13 PM rue_mohr: but I dont get the combo thing, whats it comparing to make a 'path'?
12:14 PM rue_mohr: <= 3
12:14 PM rue_mohr: hmmm
12:14 PM rue_mohr: I could use a background story
12:16 PM rue_mohr: I think I have a little software clip that is along the same idea...
12:17 PM rue_mohr: you give it data on a set of nodes, and a limited set of paths that link them
12:17 PM rue_mohr: it finds what paths to take to get from a given source to destination node.
12:20 PM rue_mohr: aha "bestRoute'
12:21 PM rue_mohr: it also weighs the lengths of each path to find the solution thats shortest
12:22 PM rue_mohr: https://pastebin.com/pEYGNuta
12:26 PM rue_mohr: not sure if thats the same idea or not
12:26 PM rue_mohr: but I just learned abotu qsort()!
02:19 PM aandrew: rue_mohr: it's the advent of code
02:19 PM aandrew: one moment
02:19 PM aandrew: https://adventofcode.com/2020/day/10
03:07 PM polprog: oh no highschool flashbacks
03:59 PM Tom_L: is clone better than image?
03:59 PM Tom_L: disk
04:08 PM rue_mohr: ok, my practise tests are looking good
04:08 PM Tom_L: yay
04:08 PM Tom_L: cloning my mill drive
04:08 PM Tom_L: so i can update the software
04:09 PM rue_mohr: heh
04:10 PM rue_mohr: thats a playfully presented challenge :)
04:10 PM Tom_L: i think it's done. i'll either have a clone or 2 blank drives :)
04:34 PM rue_mohr: thats why its good to do it on the system while its running
04:34 PM Tom_L: i'm more familiar with windows clone software
04:34 PM Tom_L: and it did work
05:09 PM Tom_L: rue_mohr,
07:02 PM rue_mohr: tom
07:03 PM Tom_L: wondering about debian updates and what repositories are still good
07:04 PM Tom_L: wheezy debian 7
07:04 PM Tom_L: it's moved to archive
07:04 PM Tom_L: do i remove the regular repositories and change them to point there?
07:08 PM Tom_L: i had backports set up but it looks like they moved too
07:28 PM rue_mohr: apt-get clean ?
07:28 PM rue_mohr: there is also a package for hunting down the best server for you
07:33 PM Tom_L: which is?
07:33 PM Tom_L: i'm really not sure i want to go thru this dependency hell tonight if ever
07:35 PM rue_mohr: you just need the new servers right?
07:35 PM rue_mohr: I can help you fix it up or you can do a reinsatll
07:35 PM rue_mohr: I wouldn't
07:35 PM Tom_L: i'm not going to do a reinstall
07:36 PM rue_mohr: ok
07:36 PM rue_mohr: what is your goal? system upgrade or installing a particular package?
07:36 PM Tom_L: i don't need this i just wanted to update linuxcnc from 2.7 to 2.8 but if it's gonna be alot of grief it's not worth it
07:37 PM Tom_L: but 2.8 uses newer software and i don't know that wheezy has it
07:37 PM Tom_L: it's _supposed_ to be upgradeable
07:37 PM rue_mohr: did you do an 'apt-get update' ?
07:37 PM Tom_L: the upgrade path is somewhat what i was testing too
07:38 PM Tom_L: i am now
07:38 PM rue_mohr: 'apt-get update' is harmless
07:38 PM rue_mohr: it just re-syncs its list with the servers its set up with
07:38 PM Tom_L: problem is, i dunno which repositories are still good
07:38 PM rue_mohr: this will tell you if it cant get to one
07:38 PM Tom_L: i'm gettting alot of 'failed to fetch....'
07:38 PM rue_mohr: ok
07:39 PM Tom_shop: W: Failed to fetch http://http.debian.net/debian/dists/wheezy-updates/non-free/binary-i386/Packages 404 Not Found [IP: 199.232.98.132 80]
07:40 PM Tom_L: so that repository is gone now
07:40 PM rue_mohr: ok
07:40 PM Tom_L: ?
07:40 PM rue_mohr: no, they will have changed its name
07:40 PM rue_mohr: http://http.debian.net/debian/dists
07:40 PM Tom_L: right
07:40 PM rue_mohr: lets find it
07:40 PM Tom_L: i added that one
07:40 PM rue_mohr: it might be oldstable
07:40 PM rue_mohr: or oldoldstable
07:40 PM Tom_shop: i dunno what wheezy's screenshot is or i'd show you the list
07:41 PM rue_mohr: oldoldstable is Codename: jessie
07:41 PM Tom_shop: jessie is 8
07:41 PM rue_mohr: oldstable is Codename: stretch
07:41 PM Tom_shop: wheezy is 7
07:41 PM Tom_shop: i need 7
07:41 PM rue_mohr: hmm
07:41 PM Tom_shop: gimme a sec
07:43 PM rue_mohr: I"m gonna have to get back to more tests soon
07:43 PM rue_mohr: you need to find a wheezy repository
07:44 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/Screenshot%20-%2012122020%20-%2007:41:42%20PM.png
07:44 PM rue_mohr: maybe deb http://security.debian.org/ wheezy/updates main contrib non-free
07:44 PM rue_mohr: deb-src http://security.debian.org/ wheezy/updates main contrib non-free
07:44 PM Tom_L: i know
07:44 PM Tom_L: that's what i have
07:44 PM Tom_L: i added the lower backports a bit ago
07:44 PM Tom_L: but i dunno if that's right
07:44 PM rue_mohr: this is a test drive, do you want to try a dist-upgrade to whatever came after ?
07:44 PM Tom_L: i don't care
07:45 PM Tom_L: it is a test drive yes
07:45 PM rue_mohr: well
07:45 PM Tom_L: i would like to fix the repo list first
07:45 PM rue_mohr: change the references in sources.list to stable, and do apt-get upgrade
07:45 PM Tom_L: i know some are dead
07:46 PM rue_mohr: can youpaste the sources.list
07:46 PM rue_mohr: ?
07:46 PM Tom_shop: hang on
07:47 PM Tom_shop: i forgot where it was
07:48 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/sources.list
07:48 PM rue_mohr: /etc/apt/
07:48 PM Tom_L: some of those are dead links though and i'd like to figure out and remove them
07:49 PM Tom_L: the backports moved and i added those 2 bottom lines... i think they're right but not sure
07:49 PM rue_mohr: yup, chnage all the 'wheezy' to 'jessie' and do 'apt-get update' and 'apt-get dist-upgrade'
07:50 PM rue_mohr: er
07:50 PM rue_mohr: 878 upgraded, 455 newly installed, 61 to remove and 1 not upgraded.
07:50 PM rue_mohr: Need to get 1362 MB of archives.
07:50 PM rue_mohr: After this operation, 1124 MB of additional disk space will be used.
07:50 PM rue_mohr: Do you want to continue? [Y/n] n
07:51 PM rue_mohr: looks like I'm not too far out
07:51 PM Tom_shop: crap i gotta be sudo
07:51 PM rue_mohr: yes, always
07:52 PM rue_mohr: always be root unless your running a web browser
07:52 PM Tom_shop: working
07:53 PM rue_mohr: that will keep it busy for hours
07:53 PM rue_mohr: be really mindfull of packages it says its going to remove
07:53 PM rue_mohr: upgrade and install dont matter, scrutinize that remove list
07:53 PM Tom_shop: does it save the list somewhere?
07:53 PM rue_mohr: not really
07:54 PM Tom_shop: didn't work
07:54 PM Tom_shop: Reading package lists... Done
07:54 PM Tom_shop: Building dependency tree
07:54 PM Tom_shop: Reading state information... Done
07:54 PM Tom_shop: You might want to run 'apt-get -f install' to correct these.
07:54 PM Tom_shop: The following packages have unmet dependencies:
07:54 PM Tom_shop: libreadline6-dev : Depends: libreadline6 (= 6.3-8+b3) but 6.2+dfsg-0.1 is installed
07:54 PM rue_mohr: tell me the command that didn't work
07:54 PM Tom_shop: libtinfo-dev : Depends: libtinfo5 (= 5.9+20140913-1+deb8u3) but 5.9-10 is installed
07:54 PM Tom_shop: E: Unmet dependencies. Try using -f.
07:54 PM rue_mohr: you did the apt-get update after changing all the wheezy to jessie right?
07:55 PM Tom_shop: yep
07:55 PM rue_mohr: did apt-get update have any issues?
07:55 PM Tom_shop: i did the ^^ -f thing above
07:55 PM rue_mohr: I lost sync with you
07:56 PM rue_mohr: whats going on now
07:56 PM Tom_shop: i did an apt-get -f install
07:56 PM Tom_shop: as it suggested
07:56 PM rue_mohr: and?
07:56 PM Tom_shop: it's still working
07:56 PM rue_mohr: ok I'm gonna go studdy
07:56 PM Tom_shop: ok it finished
07:56 PM Tom_shop: now what?
07:57 PM Tom_shop: doing the dist upgrade now
07:58 PM Tom_shop: check in later in case i need help!
08:40 PM Tom_L: that was a fail
08:40 PM Tom_L: it wouldn't upgrade
09:09 PM rue_mohr: what did it say when it failed
09:10 PM rue_mohr: and whats the maximum circuit breaker allowed for a 277V HID lighting circuit?
09:44 PM Tom_L: i gave up after finding out a few things
09:45 PM Tom_L: there is no libboost-python-dev which i need
09:48 PM rue_mohr: hu?
09:48 PM rue_mohr: there must be one, libboost is all the rage
09:49 PM Tom_L: i dunno where it would be
09:49 PM rue_mohr: cause its one of those libraries on a library on a library to abstract a library
09:49 PM Tom_L: or at least how to install it if there is one
09:50 PM Tom_L: at this point, i need to keep wheezy.. so i'm trying to build linuxcnc on it
09:50 PM rue_mohr: I'm on 8.8
09:50 PM Tom_L: and these are the dependencies i'm crossing
09:50 PM Tom_L: i'm on 2.7 :)
09:50 PM Tom_L: trying to get to 2.8
09:50 PM rue_mohr: libboost-python-dev - Boost.Python Library development files (default version)
09:51 PM rue_mohr: a dist-upgrade should be able to do that
09:51 PM Tom_L: no
09:51 PM rue_mohr: sure
09:51 PM rue_mohr: I make my systems do stuff like that all the time
09:51 PM Tom_L: unless my sources list is wrong
09:51 PM rue_mohr: they hate it
09:52 PM Tom_L: i dunno where to find it
09:52 PM rue_mohr: you changed all the wheezyies to jessies, right?
09:52 PM rue_mohr: you just apt-get it
09:52 PM Tom_L: yes but i changed them back for reasons i don't need to get into
09:52 PM Tom_L: there was never a linuxcnc for jessie
09:52 PM rue_mohr: well they better come up with something newer
09:52 PM Tom_L: they skipped it and dropped RTAI after wheezy
09:52 PM Tom_L: i need RTAI
09:53 PM Tom_L: they have but it's preempt-rt
09:53 PM Tom_L: and this old mb won't handle it
09:53 PM rue_mohr: now you have a web of factors going...
09:53 PM rue_mohr: k
09:53 PM Tom_L: so i'm back to building 2.8 on wheezy
09:53 PM Tom_L: or trying to
09:54 PM Tom_L: there are good reasons for going back...
09:54 PM Tom_L: it's still on a test drive so meh
09:55 PM rue_mohr: I'd probably force it into jessie and shoehorn a custom kernel
09:56 PM rue_mohr: but I'm used to breaking out the sledgehammers to make it do what I want
09:56 PM Tom_L: well, they're still working on a RTAI for 10 and i've tested it with good results
09:56 PM Tom_L: problem is, linuxcnc build doesn't recognize the kernel signature yet
09:57 PM Tom_L: they're working on it
09:57 PM Tom_L: if it works out, i may be able to update from wheezy (7) to buster (10)
09:57 PM Tom_L: but for now that's on hold for me
11:32 PM rue_mohr: damnit the notes are gone on how to do apartment calculations and I cant put it back togethor