**** BEGIN LOGGING AT Tue Mar 10 02:59:57 2020 Mar 10 03:01:02 dd and tar perform completely different functions Mar 10 03:15:56 dd and tar! Mar 10 03:21:19 Does anyone set up the BBB to play bass trumbone? Mar 10 03:21:51 Or any musical intrument for that matter? Mar 10 03:22:02 a s belongs in there somewhere. Mar 10 03:22:46 I saw this guy online make a LED bar guitar but it was an aruino. Mar 10 03:28:09 set_ I got the BBB working with my programs & source on a flash drive called /mnt/sda1/bin and added it to my PATH virable in /etc/bash.bashrc. Also the /dev/sda1 is auto mount & exec. Mar 10 03:30:24 And check 2 in /etc/fstab Mar 10 03:31:08 I have been optimizing my "C" code today to slim it down. Mar 10 03:32:46 So I have BWBASIC and Focal running. Focal started out as a DEC program back in 1970 Mar 10 03:33:43 gcc didn't like my Makefile from Ubuntu Mar 10 03:34:44 tar = Tape Archiver Mar 10 03:35:33 I dosen't save a lot of space but creates a nice portable file. Mar 10 03:37:32 If you have a folder named xxx you could tar -cvf fart.tar xxx . that would create a file without a fixed path Mar 10 03:38:26 Or relative. then you could do tar -tvf fart.tar to see what's in it. Mar 10 03:39:02 And tar -xvf fart.tar to extract it. Mar 10 03:39:33 Nice. Mar 10 03:39:44 Any body here? Mar 10 03:39:48 Me, me, me. Mar 10 03:40:08 Just some simple tar hints. Mar 10 03:40:23 Dr. Pharts, is that you? Mar 10 03:40:32 Thank you, sir. Mar 10 03:40:34 Yuk Mar 10 03:40:49 You typed fart.tar xxx. Mar 10 03:41:21 We are even now. Mar 10 03:41:53 Well ok then use xray.tar. It's good to call you tar file something .tar so later you know what type of file it is. Mar 10 03:41:57 So, say from 0 to 10, how much optimization have you covered? Mar 10 03:42:03 Okay. Mar 10 03:42:30 I used O3 Mar 10 03:42:34 3.14? Mar 10 03:42:36 Ha. Mar 10 03:42:43 And Os Mar 10 03:42:54 Oh. Yea. Do not forget the millionths. Mar 10 03:43:28 Love C code & assembler code Mar 10 03:43:32 Oh? Mar 10 03:43:33 WHy so? Mar 10 03:43:39 I mean... Mar 10 03:43:46 Why do you love .c files so much? Mar 10 03:44:13 b/c of calling whatever already made library is simple or b/c it takes forever and a day? Mar 10 03:44:25 The end result is fast though. Mar 10 03:45:26 Actually, I found this college that produced this neural network for mental health. Mar 10 03:45:37 It is actually very interesting. Mar 10 03:45:37 Well your getting closer to the machine. Not all high level stuff. Do you want to always content with someone elses library? Mar 10 03:45:58 No, not always but some are good and simple/easy to use. Mar 10 03:46:17 Ease and access has always drawn crowds. Mar 10 03:46:31 (aka lazy) Mar 10 03:46:34 KenUnix: Ha. Mar 10 03:46:44 I have a strange problem. Some command line tools I Mar 10 03:46:52 But...i want to show you this neural network for mental health. Mar 10 03:46:53 Oh. Mar 10 03:47:15 you should be worried about mental health use mental floss today. Mar 10 03:47:19 need to use shift/backspace while others only need backspace. Mar 10 03:47:43 Ha Mar 10 03:49:12 Sounds like something isn't use ANSI escape codes. Cause in those mis-behevided programs hitting backspace produces ^H Mar 10 03:50:35 Oh. "\\" Mar 10 03:50:36 Ha. Mar 10 03:50:47 Got to go. See you tomorrow Mar 10 03:50:50 No! Mar 10 03:50:54 Please... Mar 10 03:50:55 Wait. Mar 10 03:50:58 Okay fine. Mar 10 03:51:00 ok Mar 10 03:51:03 Yes? Mar 10 03:51:13 You will stay? Mar 10 03:51:18 i'm waiting Mar 10 03:51:27 https://medium.com/center-for-data-science/chronic-disease-prediction-using-urban-data-machine-learning-e4a0c8bef9fa Mar 10 03:51:33 Is a link to read if you get bored. Mar 10 03:51:38 I will look for the library again. Mar 10 03:52:16 https://www.nature.com/articles/s41380-019-0365-9 and this one is more interesting. Mar 10 03:52:26 Only if you are bored. Mar 10 03:52:29 That is all. Mar 10 03:53:27 I boooked them will look tomorrow. bye got to do a backup of laptop Mar 10 03:54:07 Okay. Mar 10 03:54:10 Later for now. Mar 10 12:21:46 Hello! Is there anybody, who worked with SPI on BBB? Mar 10 12:22:34 I Tried a lot of guides, but all of them are not work: Mar 10 12:22:39 I Tried a lot of guides, but all of them are not work Mar 10 12:25:24 https://gist.github.com/pdp7/33a8ad95efcbcc0fadc3f96a70d4b159 - the last message. May be there is anybody who can help me Mar 10 12:28:26 Hi, oh that is me :) Mar 10 12:28:35 It's been awhile since I wrote that Mar 10 12:28:41 What is the issue? Mar 10 12:58:34 debian@beaglebone:~/gavrilov$ sudo ./a.out --device /dev/spidev2.1 --verbose Mar 10 12:58:35 00 00 00 00 00 00 00 00 00 |................................| Mar 10 13:01:00 I used this code: https://raw.githubusercontent.com/torvalds/linux/master/tools/spi/spidev_test.c Mar 10 13:05:30 When i try this one: https://pastebin.com/uQEz1Y1b I have "SPI: SPI_IOC_MESSAGE Failed: Invalid argument Mar 10 13:33:25 I'm not near a beagle write now but i'll have to try it later Mar 10 13:33:41 one thing that is important is to run the version.sh script Mar 10 13:33:51 sometimes old u-boot on emmc causes problems Mar 10 13:34:29 https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays Mar 10 13:34:33 debian@beaglebone:/opt/scripts/tools$ sudo ./version.sh | grep bootloader Mar 10 14:08:01 Thanks! Mar 10 15:15:55 pdp7: old u-boot on eMMC would cause the spidev to be missing, it wouldn't cause an EINVAL from SPI_IOC_MESSAGE Mar 10 15:15:55 ok, thanks Mar 10 15:15:55 oh, but he has no error checking Mar 10 15:15:55 oh never mind python throws on fail Mar 10 15:16:10 wait this is C, why was I thinking python Mar 10 15:16:39 hmm, does passing -1 as fd to ioctl result in EINVAL? I'd presume it would give EBADF Mar 10 15:21:23 also, useless use of "sudo" Mar 10 23:59:51 What's goin on? Mar 11 00:22:45 Nothing. Who is asking? Mar 11 00:24:02 KenUnix: I got a cheap-O, depot chromebook for the Maker Faire. That is what is going on w/ me. Mar 11 00:24:40 I got computer vision, electromechanical capabilities, and a GPS! Mar 11 00:24:53 "In this thang man!" Mar 11 00:25:54 It is like a micro computer w/ HDMI, USB, and a SD Card port. Mar 11 00:26:12 I plugged in my BBBW already to test it out. Mar 11 00:26:19 It works! Mar 11 00:32:30 Now... Mar 11 00:32:47 I can change things up at the faire if something was to go odd. Mar 11 00:33:21 Goin to the fair are you? Mar 11 00:34:00 Yep. Off to the Faire. Mar 11 00:34:22 18 days and counting! Mar 11 00:34:30 Well have a good time. Where is it? Mar 11 00:34:35 Louisiana! Mar 11 00:34:47 The Parish of Parishes. Mar 11 00:35:16 KenUnix: Are you going to come visit? Mar 11 00:35:53 Years back my yearly treck was to the Trentom Computer Faire in Trenton NJ. Big, thounds of folks Mar 11 00:36:04 Nice. Mar 11 00:36:52 NJ, boardwalks! Mar 11 00:37:40 I ordered a replacment laptop for my aging Dell 5755. It's also a Dell 5755 Blue, 12GB RAM, 2TB Hard disk, 17.3" display, Windows 10. $175 bucks... Mar 11 00:38:09 Good deal I think Mar 11 00:38:45 AMD quad core A8 64-bit Mar 11 00:39:47 Yea, the seashore. Hot pretzels, salt water taffy, pizza, arcades, fun fun Mar 11 00:40:10 Casino's too Mar 11 00:40:13 Dang. Good deal. Mar 11 00:40:23 Yep. Mar 11 00:40:43 taffy. Mar 11 00:41:02 I got seller down from $200 to $175 Mar 11 00:41:23 You know what "salt water tafy" is? Mar 11 00:42:39 Have any interest in Python? Mar 11 00:43:20 Yep. Mar 11 00:43:24 Yep and Yep. Mar 11 00:43:31 wait a min... Mar 11 00:43:34 Otay. Mar 11 00:44:15 Have a look at this: https://www.adafruit.com/product/4514?utm_source=Adafruit+Products+Newsletter&utm_campaign=dc718e48dc-EMAIL_CAMPAIGN_2020_03_10_01_58&utm_medium=email&utm_term=0_f5693aed98-dc718e48dc-114549679 Mar 11 00:45:20 I was reading a Pi 4 w/ 2GB RAM $35.00... Mar 11 00:45:59 Oh. Mar 11 00:46:04 See it here : https://learn.adafruit.com/raspberry-pi-computer-quick-start/raspberry-pi-quick-setup?utm_source=Adafruit+Products+Newsletter&utm_campaign=dc718e48dc-EMAIL_CAMPAIGN_2020_03_10_01_58&utm_medium=email&utm_term=0_f5693aed98-dc718e48dc-114549679 Mar 11 00:46:18 Oh. Mar 11 00:46:26 Yea. I know about those boards. Mar 11 00:46:52 Is raspian just another name for Linux? Mar 11 00:46:58 Right. Mar 11 00:47:04 It is debian for the Rpi. Mar 11 00:47:32 THey have their own distro like bone-linux. Mar 11 00:47:48 Or anyone who builds and deploys. Mar 11 00:48:01 Look at that page above you will see varoius models on the right.. Mar 11 00:48:22 I know already. I do not need to look. I have seen many of them. Mar 11 00:48:29 No offense. Mar 11 00:48:57 Pi has hats like the BBB has capes. Mar 11 00:48:57 Similar but different. Mar 11 00:49:10 Ever run a BBB off SD-Card instead of eMMc? Mar 11 00:49:18 All 'da time! Mar 11 00:50:25 I got my BBBW set up w/ a sd card for memory. I need lots b/c I do things that stress its contents at times. Mar 11 00:50:54 Was reading in Google Beaglebone ruop guy suggests using Class 4 SD for running but a Class 10 tp burn image. Mar 11 00:51:01 Class 10 is what I read years ago. I am not sure these days. Mar 11 00:52:00 I still use Class 10 cards w/out issues. Mar 11 00:52:31 Running off the SD how do you back it up? See any speed differences eMMc/SD ? Mar 11 00:52:42 Well, unless I plug the wrong wire into a header pin when not thinking, the boards work. Mar 11 00:52:44 Oh. Mar 11 00:53:43 No, not really. Speed is similar. I mean, how can we compute what speed kbs = 44 or kbs = 85 really is, you know. It cannot be that big of a difference when using source to transfer files. Mar 11 00:54:03 Recommendation is remove SD. Hook to P.C. and copy to another SD... What do yea think? Mar 11 00:54:28 If you want to back up items, use a source/software like WinSCP. Mar 11 00:54:34 Or...use WinSCP. Mar 11 00:55:02 It will transfer your files from Linux BBB boards to a win desktop for you to goof w/. Mar 11 00:55:18 Yea, but after installing via sudo apt install that won't help Mar 11 00:55:20 Then, you can open them in whatever program you use to develop. Mar 11 00:55:30 Hmm. Mar 11 00:55:34 What do you mean? Mar 11 00:56:17 If your running a package or two WinSCP won't help Mar 11 00:56:37 Oh. YOu need a command? Mar 11 00:56:55 That's where an image is required Mar 11 00:57:04 I transfer files all the time. Mar 11 00:57:14 I do not understand what you are trying to do yet. Mar 11 00:57:36 Move (transfer) files/dirs. to Win 10 from debian? Mar 11 00:58:21 I have moved the files from debian to Win 10 and back w/out complication. I also, well, had to use chmod on some files to add permissions back. Mar 11 00:58:35 Type into BB hostname -I. System running with added applications need to backup image containing everything Mar 11 00:58:46 Okay. Please hold. Mar 11 00:59:47 Yea, within linux I use cp --peserve source destination Mar 11 01:00:09 Yea, within linux I use cp --preserve source destination Mar 11 01:00:39 Okay. So, some script, somewhere, might get you to download your deps. and file system? Mar 11 01:01:47 Okay. Done. I typed hostname and hostname -I Mar 11 01:01:49 Or run out of eMMc and burn-SD Mar 11 01:02:35 Did you get your gateway IP addresses? Mar 11 01:02:44 What are you trying to figure out? Are you trying to figure out why Win 10 only supports wsl and not full-blown Linux Distros w/ backwards compatibility? Mar 11 01:02:49 Oh. Yea! Mar 11 01:03:23 IP addresses...they printed. Mar 11 01:12:41 Lost connection Mar 11 01:13:05 What were you saying? Mar 11 01:14:20 set_ ? Mar 11 01:20:39 Oh. Mar 11 01:20:41 Hello. Mar 11 01:20:54 Um...yep. Mar 11 01:22:04 brb Mar 11 01:25:23 Before I got disconnected what were we saying? Mar 11 01:26:21 Gottta run . Talk tomorrow Mar 11 02:07:59 hmmm py-spidev doesn't seem to be happily pip3 installing thoughts (if possible) **** ENDING LOGGING AT Wed Mar 11 03:02:27 2020