**** BEGIN LOGGING AT Sun Apr 05 02:59:58 2020 Apr 05 03:04:38 Yep. Apr 05 03:04:40 git. Apr 05 03:05:38 Finally. Apr 05 03:05:40 Sheesh. Apr 05 03:05:48 A reboot did it. Apr 05 03:06:48 I have had to use pip but that method sucks b/c docs are not in 3.0+ and not 2.2.x. Apr 05 03:07:07 Blah. Apr 05 03:08:03 I have a pip install but the docs. I find that "work" are in 3.0. pip does not allow for version 3.0 w/out tweaks. Apr 05 03:08:12 So, I am going to build this puppy. Apr 05 03:08:17 ut oh! Apr 05 03:09:39 I did it wrong again. Blah. Apr 05 03:09:57 Man, if reading is so easy, why is everyone not doing it? Apr 05 03:11:15 it's because using your brain for anything but making your head go out of shape is so uncool. Don't you get points for mindlessness? Apr 05 03:11:29 Sure. Everyday. Apr 05 03:11:43 Hahhaha. I should move slow and read more. Apr 05 03:11:53 I wonder if you can redeem them for anything? Apr 05 03:12:06 Ha. My slowness or my readness? Apr 05 03:12:30 I got it configured now. Go-go, Gadget-Django! Apr 05 03:13:35 Believe it or not, I watched a video on Django years ago, i.e. 2015. I always wanted to make time to do something w/ it. Apr 05 03:13:45 Now, now is the time. Apr 05 03:20:23 Dang. Apr 05 03:20:40 Django is severely needing an update. Apr 05 03:20:59 Install this, upgrade that, do this, do not do that... Apr 05 03:21:00 Blah. Apr 05 03:33:03 Oh well. I will behave now. Apr 05 03:40:12 * GenTooMan quietly laughs at that thought. Apr 05 03:42:28 sometimes the dumbest things get you. sigh Apr 05 03:45:41 Ha. Apr 05 03:45:47 New image on the 6th, right? Apr 05 03:46:00 I cannot wait. Python 3.6? Apr 05 03:46:04 I can then use Django! Apr 05 03:46:34 mm new image for what? Apr 05 03:46:40 The BBB! Apr 05 03:47:00 I want to use the Django stuff on the BBB. Apr 05 03:47:42 I read on google groups or somewhere that the new images from BBB.io/latest-images are going to be done every 1/3 a year. Apr 05 03:48:47 Instead of once or whenever, I think the BBB.io peoples are sticking w/ this image three times per year. Apr 05 03:49:02 That is going to be nice. Apr 05 03:49:20 A lot writing and saving/backing up but I think it will be a good thing. Apr 05 03:51:22 I am pretty sure it is not going to be monthly or weekly testings. It will be a full-fledged image for use! Apr 05 03:53:26 It may be every four months, actually (a quadratic equation of images)! Apr 05 03:57:16 Well it would be nice instead to have a tool that allows you to DIY an image instead. Too me that makes more sense. Have a default (minimal) setup. Have a few presets and it just builds the image instead of killing bandwidth. Apr 05 03:57:53 That's just me, true it requires work, and I know most people are averse to that. Apr 05 04:01:43 Oh. Apr 05 04:02:16 I mean...there is that site on the digikey TechForum thing for promoting your own cross-compiled build for the BBB and other related boards. Apr 05 04:02:19 is that what you mean? Apr 05 04:02:42 Or...building from scratch? Apr 05 04:07:59 a better way to look at it is it has a configuration data set for each possible image and builds the image on the fly (as needed or desired). Apr 05 04:08:56 oh...like w/ a shell script? Apr 05 13:00:30 hmm no but explaining it without visuals is difficult Apr 05 13:05:42 Oh. Apr 05 13:05:51 Okay. NO issue. Apr 05 13:09:51 sometimes a picture is worth a 1000 words :D Apr 05 13:37:22 set_ similar in concept https://www.youtube.com/watch?v=qYgDZ8YzV6w Apr 05 13:44:23 I just got back. I will look at it soon. Apr 05 13:52:01 it's 4am your time? Apr 05 13:52:57 err 7am anyhow brain is a bit tired Apr 05 14:34:05 9:30! Apr 05 19:15:17 GenTooMan: But Yocto has tons of developers from what I have understood in past and currently now. Apr 05 19:16:00 I mean...I do not know exactly how many people are building, extracting, or making additions to builds for the bbb.io folks but that seems neat. Apr 05 19:16:10 Toaster? Apr 05 19:16:12 Ha. Apr 05 20:24:46 question for any C++ wizards (or laymen). in this program (https://pastebin.com/HaaSZBcQ) i've tried to declare and populate an array of vectors. line 9 seems to compile. an lvalue vector declaration would need to be named (like a variable) i believe, but it seems i can use this vector rvalue and assign it to an index in array a (which i declared Apr 05 20:24:46 as an array of vectors). i should be able to a[i].push_back() to populate the vector at that location, no? Apr 05 20:25:27 it seems i cannot though Apr 05 20:30:35 without even looking, i'd refer to godbolt.org as the definitive instance to answer that :) Apr 05 20:35:36 LetoThe2nd whoaaaaaa wow wow wow didn't know about htat Apr 05 20:36:03 anyway i am just using printf debugging to fix it lool Apr 05 20:36:25 :) Apr 05 20:44:23 anyone had success porting Go to AVR yet :^) Apr 05 20:45:56 Having success would require trying first. Apr 05 20:49:47 burn Apr 05 20:49:52 ouchie Apr 05 20:57:58 "Supporting 8-bit microcontrollers like AVR will be very hard as the limited Apr 05 20:57:58 address space and the lack of MMU makes supporting a modern garbage Apr 05 20:58:04 collected language almost impossible" Apr 05 20:58:08 crap, embedded newlines Apr 05 20:58:29 "Right now, Go only supports platforms with enough high-level OS support: threads and virtual memory management are a must" Apr 05 21:00:17 i have been told that go is only for the cloud cool kids, embedded cool kids use rust these days, by the ways. Apr 05 21:03:18 and I'm pretty sure I see the bug in his C++ code Apr 05 21:03:30 but, well, he left Apr 06 01:00:26 I have a Linux question. When starting lxde4-terminal stty shows 20 rows x 80 columns? Where lxterminal shows 24 rows x 80 columns OK. I can't find where to correct lxde4 terminal. It is screwing u p programs that use the rows number. If I manually set stty rows 20 works as expected. This is wrong. Apr 06 01:01:24 I have a Linux question. When starting lxde4-terminal stty shows 20 rows x 80 columns? Where lxterminal shows 24 rows x 80 columns OK. I can't find where to correct lxde4 terminal. It is screwing u p programs that use the rows number. If I manually set stty rows 24 works as expected. This is wrong.=( =( Apr 06 01:10:56 KenUnix: that sounds like something is horribly broken. it's the terminal's job to inform the kernel what its window size is Apr 06 01:11:18 (which will then update the tty settings) Apr 06 01:15:32 it should also get updated any time you change the window size (which will also cause SIGWINCH to be sent to the foreground process group of the tty) Apr 06 01:57:33 Finalized a patch to the end of /etc/bash.bashrc to tell you alot when logging in or sudo ing https://paste.debian.net/1138637/ Apr 06 01:58:23 the sudo on line 23 is pointless Apr 06 01:58:33 Well lxterminal and mate-terminal work fine it's just xfce4-terminal Apr 06 01:58:49 since the sudo doesn't apply to the >, just to the "echo mmc0" Apr 06 01:58:56 for which you really don't need sudo :P Apr 06 01:59:27 but why are you trying to change the usr0 trigger every time a bash shell is opened? Apr 06 02:00:24 also, putting the debian user's bin in every user's path sounds like a bad idea Apr 06 02:00:35 No, just put it to a known state Apr 06 02:02:16 why do that in bashrc instead of at startup? also, why set usr0 to mmc0 trigger when usr1 is already mmc0 trigger by default? Apr 06 02:02:20 Reason for mybin was where to stash your commands Apr 06 02:02:34 my commands? Apr 06 02:03:17 if you want to install custom tools globally, the right place is /usr/local/bin (for unprivileged commands) or /usr/local/sbin/ (for root-only commands) Apr 06 02:03:30 any local stuff you created. yes i know /usr/local/bin Apr 06 02:04:19 startup? You mean .bashrc ? Apr 06 02:04:26 no Apr 06 02:05:19 bashrc applies when you open a shell, not at startup Apr 06 02:05:44 OK where then? Apr 06 02:06:50 You mean at boot time? Apr 06 02:07:18 generally to run stuff at startup you use a startup service ( https://pastebin.com/KXVdTNrL ) but there's also a legacy mechanism you can use: an executable shell script at /etc/rc.local will be executed (fairly late) at boot Apr 06 02:08:19 the default triggers for the leds are configured in DT, but if you don't want to mess with that then the logical place to change them is at boot yes Apr 06 02:08:57 I wanted to see the info at login. SSh, Wifi what ever as a remindar Apr 06 02:09:09 I wasn't talking about the info you were showing though Apr 06 02:09:18 I was talking about you changing the usr0 led trigger Apr 06 02:10:03 I ordered a Ethernet to usb adapter for my laptop so the USB to USB can go away Apr 06 02:11:03 Lerft with one power source. then shutdown should work Apr 06 02:11:57 just checking, is this a bbb or a bbai you're talking about? Apr 06 02:12:21 nm, has to be bbb Apr 06 02:12:58 BBB. Remember with both USB & power on barrel it reboots instead of shutting down Apr 06 02:13:10 remember that I tested it and it worked fine for me Apr 06 02:13:33 I have another BBB. Same thing Apr 06 02:13:49 I can shutdown my bbb while it's getting power from both usb and barrel Apr 06 02:15:04 so either it's something specific about your power sources or it might be cause by the fault that happens on most BBBs during shutdown (due to braindead behaviour of the PMIC), which doesn't happen on mine since its power consumption is sufficiently lower during the poweroff sequence (which is mainly determined by whether external stuff is connected and whether the HDMI framer is enabled) Apr 06 02:17:36 Could it be suppller? I got this one https://www.amazon.com/gp/product/B00P6TV9V4/ ; HDMI disabled Apr 06 02:18:41 Well either way going from USB to Ethernet should fix it Apr 06 02:18:42 of the power supply you mean? no clue, mine is also just some random crappy 5V 2A adapter Apr 06 02:18:53 (and I use a phone charger for the usb) Apr 06 02:18:55 *used Apr 06 02:19:59 Could it be VENDOR's source? I got this one https://www.amazon.com/gp/product/B00P6TV9V4/ ; HDMI disabled Apr 06 02:20:17 you just said that and I just answered that Apr 06 02:20:41 Different companies make the BBB correct? Apr 06 02:20:53 the page says it's an element14 one Apr 06 02:21:10 I think there are two companies that make them? but they're the same design Apr 06 02:22:01 Yes but there are different vintages of power chip Apr 06 02:22:07 nope Apr 06 02:22:13 not afaik Apr 06 02:22:38 TI document showed A, B and C Apr 06 02:22:51 those are variants, not revisions Apr 06 02:23:03 they have different configuration burned into them Apr 06 02:23:26 the BBB uses the C (although D would be more appropriate, but the difference doesn't matter in practice) Apr 06 02:23:44 OK. Play on words. Could still be slightly different? Apr 06 02:23:52 no Apr 06 02:23:56 since the BBB uses C Apr 06 02:23:58 has always used C Apr 06 02:24:09 A/B would fry the BBB Apr 06 02:24:18 OK. Anyway Ethernet should fix it Apr 06 02:51:30 zmatt, I can't find that thing you wrote on what gpio pins are used by relat cape Apr 06 02:51:47 you mean https://github.com/mvduin/bbb-pin-utils/#show-pins ? Apr 06 02:53:58 Well looking at the schematic it says pins 41, 112, 20 and pwm9? Apr 06 02:54:12 ? Apr 06 02:56:03 I have no idea what you're talking about now Apr 06 02:57:36 ok. gpio 115, 112 , 20 and ?? Apr 06 02:58:10 ?? Apr 06 02:58:26 are you talkign about the relay cape? if so, it would be helpful to mention that since people can't read your mind Apr 06 02:58:51 relay cape pins => https://pastebin.com/G5JHb5fv Apr 06 02:59:01 Whats the pin for relay 2. Yes relay cape Apr 06 02:59:17 and gpio numbers are not pin numbers **** ENDING LOGGING AT Mon Apr 06 02:59:58 2020