**** BEGIN LOGGING AT Tue Apr 02 02:59:57 2019 Apr 02 03:00:57 [ 44.081878] usbcore: registered new interface driver rtl8192cu <--- it registered Apr 02 03:00:58 [ 45.255593] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready <--- This is what popped up Apr 02 03:01:06 full log please Apr 02 03:01:10 this is not useful info Apr 02 03:01:14 Okay. Please hold. Apr 02 03:02:47 https://pastebin.com/F3zZ4CnW is dmesg from the BBB w/ the WiFi adapter plugged in. Apr 02 03:04:11 there we go, how did we miss this last time: rtl8192c_common: Polling FW ready fail! REG_MCUFWDL:0x00000006. Apr 02 03:04:49 Yeppers. Apr 02 03:04:50 soooo... the firmware crashes? power stability problem is starting to sound more plausible, though it could also still be a software difference Apr 02 03:05:03 I saw that too. Apr 02 03:05:13 It looked scary when I read it. Apr 02 03:05:17 Red! Apr 02 03:05:39 zmatt: Why would firmware crash? Apr 02 03:06:08 hmm, I'm definitely seeing plenty of people with errors of this sort when I google it Apr 02 03:06:17 set_: because of hardware or software :P Apr 02 03:06:17 I saw it too. Apr 02 03:06:21 Okay. Apr 02 03:06:22 Got it. Apr 02 03:06:57 Yea. It is all over the net w/ this info. I will look at it again. Apr 02 03:07:09 I was looking for tutorials firstly. Apr 02 03:07:25 I guess this is why I did not come across anything else. Apr 02 03:07:43 on the software side, try making sure you have the latest version of the firmware-realtek package Apr 02 03:07:52 Okay. Apr 02 03:08:14 also be sure to use the latest 4.14-ti series kernel, or maybe even try the 4.19-ti series Apr 02 03:08:27 Okay. Apr 02 03:08:56 on the hardware since, like I've mentioned a few times already, you can try using a powered usb hub. that should help figuring out if it's a power issue Apr 02 03:09:21 Okay. Good idea. I will try that out too. Apr 02 03:09:42 firmware-realtek is the newest version. Apr 02 03:09:54 I am going to update my kernel. Apr 02 03:10:21 If that fails, i will try to update the entire kernel. Apr 02 03:10:28 to 4.19.x Apr 02 03:11:26 I'm personally leaning more strongly to it being a power issue Apr 02 03:12:02 Okay. I will use this powerusb hub I have w/ me. Apr 02 03:12:26 especially now that I found a post by someone who saw in the kernel log that his usb hub shut down the port his wireless device was on, which suggests it might be prone to draw excessive current Apr 02 03:13:39 It does. That wifi adapter was hot on my end when I took it out of the desktop. Apr 02 03:14:21 ohh, I found another hint Apr 02 03:14:26 can you pastebin the output of lsmod ? Apr 02 03:14:33 Sure. Apr 02 03:14:35 Please hold. Apr 02 03:14:48 the kernel update is just about over. Apr 02 03:14:57 never mind, that's not it Apr 02 03:15:13 Okay. Apr 02 03:15:38 anyway, I'm afk for a bit Apr 02 03:15:43 Heh? Apr 02 03:15:51 Okay. Apr 02 03:16:57 Well. Apr 02 03:17:03 Off to check power issues. Apr 02 05:27:23 what is happening, when reset button press ? of BeagleBone Black Wireless Apr 02 05:30:35 the device resets? Apr 02 05:31:59 device reset? means? it's reboot !? Apr 02 05:35:21 I have one more question, When BeagleBone plugged in my Windows System. it's shows mass storage device; which have drivers, start guide or etc. But Now, I don't see that mass storage. How can i get back that storage part? Apr 02 05:52:17 that is a specific feature of the OS that you might run on the BBB Apr 02 05:52:49 to my knowledge only the official debian lxde and iot images expose it Apr 02 06:57:01 @tbr : Means how can i check that mass storage part into debian os? Actually, I want to check of debian image's disk partition. Where & How it will divide? Apr 02 07:18:09 Hello, Anyone know about Server-Client Programming through BeagleBone? BeagleBone works like as Server & create Hotspot. Also, Any other device (Like; Mobile) connects BeagleBone through it's WiFi. So, Mobile works a client. So, though these How can we communicate with each other. Apr 02 07:52:49 Jonny_: your question is a bit vague, are you trying to access the linux filesystem of the board from your computer? Apr 02 09:53:41 No No, I need to check how many partition available in debian system. Apr 02 10:12:52 just log into the system and check it then? Apr 02 10:17:31 hello Apr 02 14:40:37 There are LEDs on the LoadCape too! Apr 02 14:40:43 Small world! Apr 02 14:42:13 I was unaware of this factoid. Apr 02 14:48:08 Wow, image-builder is sweet. Is there any magic I need to know for customization, besides "make a new config file in configs/, then write a new shell script to pass that config file to RootStock-NG.sh"? Apr 02 14:49:32 not really, some of the optional options dont work for every config option.., if you have idea or find bugs, patches welcome Apr 02 14:50:10 oh, look what popped up on stackoverflow: https://stackoverflow.com/questions/55465751/program-the-beaglebone-to-read-and-write-from-a-microcontroller-connected-to-it -- zmatt, didn't he ask here multiple times? Apr 02 15:01:53 * n8vi returns from an unexpected fire drill Apr 02 15:01:56 rcn-ee[m]: roger that. Hats off to you and anyone else involved Apr 02 15:03:29 What is the deal w/ Cloud9 and Amazon? Apr 02 15:03:50 Do you still plan on making it available? Apr 02 15:04:05 Amazon bought Cloud9 Apr 02 15:04:11 Right. Apr 02 15:04:23 development in the opensource repo has fallon to a trickle. Apr 02 15:04:31 That is what I was reading but should it affect...oh. Apr 02 15:04:59 the mode "standalone server" was ripped out at one point, and is no longer supported. Apr 02 15:05:06 we are screwed.. Apr 02 15:05:09 Oh! Apr 02 15:05:59 i've got our current src snapshot built for buster with nodejs v10.x so as long as nothing "breaks" going forward we should be good for awhile.. Apr 02 15:06:37 Hey rcn-ee[m]: Do you or anyone else have plans on making other ideas available? Apr 02 15:06:52 I mean...instead of c9.io? Apr 02 15:07:30 Like, a simple webserver for promoting software or a website for source code dev? Apr 02 15:07:47 the best option i've found, is the old fork of cloud9v2 : https://github.com/pylonide/pylon but our cloud9v3 is still better then that fork.. Apr 02 15:08:35 Oh. Okay. No issue. I think that the children will be most hurt by this issue. The server was easy to get things up and running. Apr 02 15:10:13 But yeah, buster's v10.x nodejs built our cloud9v3 src, so we should have an ide for the next 2-3 years.. Apr 02 15:10:40 but debian Bullseye will probally be a problem... Apr 02 15:11:57 m Apr 02 15:13:06 Hmm. Apr 02 15:13:20 I guess some children will be let down one day or just maybe one child. Apr 02 15:13:59 Who knows? That link you provided, the github link, has some serious ideas. I do not know who has time to work on these things. Apr 02 15:14:42 I am still just learning stuff. So, w/ my knowledge on it thus far, I am out. Apr 02 15:16:46 Were people using Cloud9 b/c of its lack of space used? Apr 02 15:19:24 i don't have a the full details, as i came into that project later, but it started as a agreement between beagle and teh cloud9 group. Today when you look at the installed size, it's way smaller then any solution. it's built in debug is also very useful.. Apr 02 15:20:21 I started using cloud9 back in the v2 days where it had a more open license. Apr 02 15:20:42 when they migrated to v3, we tried it and it worked better. I asked for permission to use it and they said it was fine. Apr 02 15:22:01 set_: the Google IDE, Adafruit IDE, node-red and others will run on Beagle without much headache. Apr 02 15:22:08 I think Google stopped developing theirs, but I'm not sure. Apr 02 15:23:12 guess I should make new contacts now that they are Amazon and see if we can get a roadmap. Apr 02 15:23:22 Okay. Apr 02 15:25:29 I just use text editors but I was feeling since finding out about the switch to Amazon, I should try to get some info. Nosey me! Apr 02 15:25:50 I guess I just wanted to know. Apr 02 15:26:57 I see this is a big deal now. I hope the best for your choice of IDE for the BBB and related boards. Apr 02 15:36:54 why would an IDE be useful ? Apr 02 15:38:17 think of education, one of the focus of beagleboard.org.. Apr 02 15:39:28 sure, as an introductory thing. it can lead you to the 'next step'. But for the general developer, having to learn different widgets and behaviours for all the platforms they use, isn't it a disadvantage ? Apr 02 15:39:49 welcome to the life as a developer Apr 02 15:40:02 I have been for 30 years :) Apr 02 15:40:36 just 30 :) Apr 02 15:40:56 but always found a make-based toolchain the easiest, most portable, best documenting system. I use a few IDEs where they're the primary support but don't likle any of them. Apr 02 15:41:20 well, 40, I guess. time passes ! Apr 02 15:41:50 unix is an IDE. why layer another on top just to get some icons ? Apr 02 15:42:02 and emacs is an OS? Apr 02 15:42:11 it's a shell, more correctly Apr 02 15:42:40 since it doesn't provide the device compatibility layer Apr 02 15:43:58 but it does provide a limited execution environment as well as an editor Apr 02 15:44:40 I was bringing up this info. b/c i was reading a "new" book and found that a lot of the book was dedicated to the c9.io platform. Apr 02 15:44:59 Or...at least performing operations under the IDE on the BBB. Apr 02 15:48:13 oh and then c9.io hit me w/ that info. about amazon. One thing lead to another and I thought of you people. So, thank you for the info. Apr 02 15:48:15 ... Apr 02 15:48:23 If I think of anything, I will relay info. here. Apr 03 00:24:18 Hello , does the BeagleBone Black wireless have the same pinout as the regular BBB? Apr 03 00:30:21 That is a good question. Apr 03 00:30:37 Have you checked beagleboard.org and the github.com page for the boards? Apr 03 00:30:53 Let me see if I can find those links. Apr 03 00:31:37 I haven't checked github but online I was able to find a pinout diagram for the regular BBB but not the wireless Apr 03 00:31:56 Okay. Please hold. I will look really quickly. I think I remember the link. Apr 03 00:32:51 Thanks Apr 03 00:33:07 https://github.com/beagleboard/beaglebone-black-wireless/blob/master/docs/BeagleBone_Black_Wireless_ShortSpec.pdf Apr 03 00:33:08 ... Apr 03 00:33:43 This link provides some info. and ideas. I think b/c of the WiFi and BT, some pins are in use outside of the normal BBB specs. Apr 03 00:34:08 Let me see if I am correct. Apr 03 00:36:29 I did not see the schematic in there. I guess things got busy and people forgot. Apr 03 00:36:56 You can always test it w/ config-pin or use zmatt's show-pins utility. Apr 03 00:37:12 There is another way to see your pinmux too. Apr 03 00:37:19 Let me do a quick search. Apr 03 00:37:21 But If I'm not wrong , the WIFI and bluetooth should not affect the pinout since they are external antennas and doubt they can be accessed via the pins Apr 03 00:38:05 Oh. I guess that makes sense. Apr 03 00:38:24 EngineerNeil: the expansion header of the black-wireless is fully compatible with the black. beware however that this is not true for the green-wireless Apr 03 00:38:32 and sorry, that reasoning makes zero sense Apr 03 00:39:17 Ok so it should be the same as the BBB right? Apr 03 00:40:10 interfacing to the wifi/bluetooth chip requires processor pins. if the pins used are the same as those of some expansion header pins, then those pins would not be usable. that's exactly the case for the green-wireless Apr 03 00:40:39 (in contrast the black-wireless reused pins that the black uses to interface with the ethernet phy, hence did not need to sacrifice any expansion header pins) Apr 03 00:40:47 Oh! Apr 03 00:40:50 That makes sense. Apr 03 00:41:07 "A switch-a-roo!" Apr 03 00:41:19 other examples of pins being occupied for some "base" functionality is eMMC and HDMI Apr 03 00:41:20 Thanks for the explanation Apr 03 00:41:36 You can always check the SRM too. Apr 03 00:42:09 There are so many ways to do pinmux "now," I am overwhelmed w/ ideas. Apr 03 00:42:44 so yes, as far as the expansion headers go, the BBB and BBBW are the same Apr 03 00:43:36 Okay, so those expansion headers can be changed in mode w/ config-pin, too. Apr 03 00:43:39 Thank you , Does the BBB have 2 RX UART pins and 2 TX UART pins? this is as far as I can tell looking at the Pinout diagram Apr 03 00:43:56 I thought only one TX, right? Apr 03 00:45:45 looks like P9_13 is UART4_TXD and P9_24 is UART1_TXD Apr 03 00:45:45 https://beagleboard.org/Support/bone101 Apr 03 00:45:54 Yea. I see that, too. Apr 03 00:46:14 is one the i2c used to Capes? Apr 03 00:47:02 Nope...I bet that is one of those things that never got finished w/ the website. Apr 03 00:47:18 zmatt? Apr 03 00:47:51 EngineerNeil: I bet we can test it. Apr 03 00:48:09 I am looking for programming help with python to read and write over uart from the beaglebone to the microcontroller, any advice? Apr 03 00:48:52 Sure...get a book on your BBB and hope for the book to have something in it about hooking up another MCU to it. Apr 03 00:49:06 But...I have some help if you think you can make it work. Let me dig some. Apr 03 00:50:15 BeagleBone Cookbook has some ideas on hooking up a TI board to it. Apr 03 00:50:29 Do you want to use a specific library? Apr 03 00:51:19 what was the question? my connection dropped Apr 03 00:53:18 Oh ok , I am using a CC1310 launchpad from TI , programmed in C and is constantly reading from the serial line at baud rate 9600 and takes enable singals in the form Apr 03 00:53:48 '9----' where - can either be a 0 or a 1 Apr 03 00:54:32 and it's connected via usb? (the launchpad has an integrated usb-serial converted I'm guessing?) Apr 03 00:54:48 *converter Apr 03 00:55:00 Yes it is connected via usb Apr 03 00:55:39 okay. so I'm curious why you were asking about the expansion headers, but maybe that was something unrelated Apr 03 00:55:54 launchpad stuff, cool! Apr 03 00:56:40 I have been trying to connect one for some time and use the TI Energia to run ideas. Apr 03 00:57:06 I thought I might need to use the UART pins soon Apr 03 00:57:16 I got one w/ FRAM. Apr 03 00:57:25 Use Apr 03 00:57:26 EngineerNeil: for what purpose? Apr 03 00:57:27 'em. Apr 03 00:59:15 I made a bot w/ uart once. zmatt: oh. You are asking "for what purpose" is EngineerNeil making w/ uart connectivity? Apr 03 00:59:57 I'm asking it because I suspect EngineerNeil is just confused about what he needs, and I know he's got a looming deadline Apr 03 00:59:59 I thought I might have to use the pin for my application but I am not sure? Apr 03 01:00:21 EngineerNeil: ehm not if you're connecting it via usb Apr 03 01:00:51 Oh , would that still be considered UART Apr 03 01:01:12 Oh. Apr 03 01:01:14 Okay. Apr 03 01:01:42 I mean, the usb-serial converter that's apparently integrated in the Launchpad has an uart, and it appears like a serial port on the beaglebone, similar to a built-in uart Apr 03 01:03:31 ok , so as far as programming, reading and writing over UART is still done the same way right Apr 03 01:03:33 regardless, it's not something you have to worry about. what you do need to worry about is writing some software that does whatever you need it to do Apr 03 01:03:51 Heh? Apr 03 01:03:51 yep, you can use whatever serial port library you find for your favorite programming language Apr 03 01:04:00 What board is it that uses this CC1310? Apr 03 01:04:11 zmatt is right. Apr 03 01:04:21 There are many libraries/modules! Apr 03 01:04:23 set_: he already said that: "CC1310 launchpad" Apr 03 01:04:32 I looked online. There are many. Apr 03 01:04:40 They have three in this photo. Apr 03 01:04:43 at ti.com. Apr 03 01:04:52 I'm finding only one Apr 03 01:04:56 Yes I am planning on using Python , I started writing some code to do the writing part Apr 03 01:05:12 Show us! Apr 03 01:05:28 EngineerNeil: yeah, you can just use pyserial or whatever Apr 03 01:05:29 There is the CC1310 microprocessor , and then CC1310 launchpad is the micro controller Apr 03 01:05:44 I found an actual chip but no board and then I found boards. Apr 03 01:05:45 Oh! Apr 03 01:05:45 the launchpad is the board, not the microcontroller Apr 03 01:05:46 Okay. Apr 03 01:05:48 Got it. Apr 03 01:06:01 Oh Apr 03 01:06:13 Yes I am using PYserial Apr 03 01:06:53 http://dev.ti.com/tirex/#/?link=Development%20Tools%2FKits%20and%20Boards%2FCC1310%20LaunchPad is what I found. Are we here yet? Apr 03 01:07:04 set_: http://www.ti.com/tool/LAUNCHXL-CC1310 I'm assuming it's this, that's the first google hit I got for CC1310 Launchpad Apr 03 01:07:12 Okay. Apr 03 01:07:27 Yes the one Zmatt sent is the one I have Apr 03 01:07:56 Yea. So, use UART, GND, and some nice, applicable src! Apr 03 01:08:17 I know. You can use that funny one from the github people I found. Apr 03 01:08:50 Which one? Apr 03 01:08:53 https://github.com/MomsFriendlyRobotCompany/pysabertooth is one I found not too long ago by some means. Apr 03 01:09:10 I forget how I found them but it is available. Apr 03 01:09:13 that's a thing for a specific motor controller Apr 03 01:09:28 Right. But, you can see the src and get ideas. Apr 03 01:09:48 What about those Adafruit_BBIO UART examples? Apr 03 01:10:17 this is python2 code instead of python3 code therefore automatically a bad example Apr 03 01:10:24 don't even get started on the awful adafruit stuff Apr 03 01:10:28 Dang. Okay. Apr 03 01:10:33 Hhahaha. Apr 03 01:10:34 which is usually an example on how not to do things Apr 03 01:10:42 I like their stuff. Apr 03 01:10:49 It works for some reason at times. Apr 03 01:11:13 zmatt: What are you using for UART these days? Apr 03 01:11:25 just because something "works" doesn't mean it's a good example Apr 03 01:11:56 I wonder if that example would work for me if I instead of 'hello world' I did '90000' for example? Apr 03 01:12:13 what example? Apr 03 01:12:18 On my BBB , I have python 2.7 Apr 03 01:12:24 please don't use python 2 Apr 03 01:12:26 Yes. print("9000000000000") Apr 03 01:12:29 https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/uart Apr 03 01:12:30 python2 is obsolete Apr 03 01:13:18 use python3 Apr 03 01:13:18 You can print whatever really. Apr 03 01:13:18 Ok I can upgrade it through ssh Apr 03 01:13:18 the fact that "python" is still a symlink to python2 instead of python3 is just because of backwards compatibility Apr 03 01:13:18 no need to "upgrade", it's already installed Apr 03 01:13:24 The, w/ python3, print function is fun. Apr 03 01:13:28 update? Apr 03 01:13:35 no need to update anything, it's already installed Apr 03 01:13:42 just literally use python3 Apr 03 01:14:02 python3 MyFile.py Apr 03 01:14:04 ^ Apr 03 01:14:22 Ok . I understand now Apr 03 01:14:37 EngineerNeil: and the adafruit uart stuff is not relevant to you Apr 03 01:15:03 Why am I missing so much? EngineerNeil: What project are trying to attempt? Apr 03 01:15:06 also what the fuck is that example doing Apr 03 01:15:16 close, open, check if it's open, close again o.O Apr 03 01:15:30 lol Apr 03 01:15:51 all of those can be removed Apr 03 01:15:59 We are working on our graduation project , internet controlled water sprinkler Apr 03 01:16:09 Oh nice! Apr 03 01:16:11 https://pyserial.readthedocs.io/en/latest/shortintro.html Apr 03 01:17:03 I was thinking of using that idea too. Like w/ the RelayCape or some type of relays. Apr 03 01:17:24 We are using relays but I am not taking care of that Apr 03 01:17:27 the name of the serial port is probably /dev/ttyACM0 or /dev/ttyUSB Apr 03 01:17:29 Oh. Apr 03 01:17:32 /dev/ttyUSB0 sorry Apr 03 01:18:02 oh so it's usb0 i thought it was s0 Apr 03 01:18:09 Nice! Relay switches are good for numerous reasons and really nice relays cost moola. Apr 03 01:18:41 ttyS0 is the serial console, ttyS* in general are the built-in uarts. you're using usb Apr 03 01:19:42 USB! Apr 03 01:20:19 Phew...break time. You have not let me in. I am out of the loop. Enjoy! Apr 03 01:22:09 Yes thanks for pointing that out , If I were to write '91111' instead of 'hello' would that work? Apr 03 01:22:44 ehm, why wouldn't it? Apr 03 01:24:33 I probably would have to replace com1 with dev/ttyusb0 right Apr 03 01:24:46 the first example actually uses /dev/ttyUSB0 Apr 03 01:24:57 Yes Apr 03 01:25:54 what does timeout do? Apr 03 01:26:58 if only this module had detailed documentation... oh wait, it does! Apr 03 01:28:17 Ok Is there a way I can test my program if the CC1310 is not ready ? through maybe terminal Apr 03 01:31:11 "not ready" ? Apr 03 01:31:40 it isn't ready simply the moment you connect it via usb? Apr 03 01:32:46 My teammate is still working on his program , I have however another CC1310 that is empty , to test If my program is working , I probably would neet an FTDI cable right? Apr 03 01:33:17 Without using the CC1310 Apr 03 01:34:14 you don't have any program to test your stuff against? previously you gave the impression you had Apr 03 01:34:33 you mean cc1310 breakout board ? Apr 03 01:35:01 eg this thing http://www.ti.com/tool/tidc-01002?jktype=design Apr 03 01:35:03 EngineerNeil: an "empty" CC1310 is not going to help you test anything Apr 03 01:35:10 mawk: cc1310 launchpad Apr 03 01:35:32 I do , and I actually have the code so theoretically I can run it on the CC1310 , but the code is missing the part where it needs to send the sensor reading that it receives from the other CC1310 to the beaglebone Apr 03 01:35:33 right Apr 03 01:36:24 That functionality is yet to be added , but I need to start preparing being able to read it Apr 03 01:36:31 EngineerNeil: if it has any command that it responds to (or produces any other noticable effect that lets you see that the command is working), you can test that Apr 03 01:36:41 I see Apr 03 01:37:05 your teammate can't quickly make it send some kind of dummy sensor data? Apr 03 01:37:18 Try TMP36 or LEDs! Apr 03 01:37:25 set_: you're not being helpful Apr 03 01:37:30 I know. Apr 03 01:37:34 then don't Apr 03 01:37:36 He should be able to send real data in a couple of days Apr 03 01:37:36 People have not shown me the software. Apr 03 01:37:54 EngineerNeil: isn't your deadline in "a couple of days" ? :P Apr 03 01:37:59 Fine. Geesha. I never get fun time. Apr 03 01:38:43 The real deadline is in a month , but we need to turn in documents and stuff about the project this friday , they might however extend it until next week Apr 03 01:38:53 k Apr 03 01:39:04 so they have a projected deadline on us this Friday Apr 03 01:39:08 you have "iot" courses too EngineerNeil I guess ? Apr 03 01:39:11 or you're not a student Apr 03 01:39:26 They have iot courses now? Apr 03 01:39:34 Nice. Apr 03 01:39:45 I did not have any , I am a student Apr 03 01:40:13 yeah in engineering school set_, probably in uni too Apr 03 01:40:19 I am not sure I am an Electrical Engineering major they might have it for different majors Apr 03 01:40:33 EngineerNeil: if the sensor data can come at any time, you might be interested in using pyserial-asyncio, to get a callback whenever data becomes available Apr 03 01:40:46 especially since I think you also need to do web communication stuff at the same time Apr 03 01:40:51 iirc Apr 03 01:41:04 and he will learn asyncio, which is the best thing mankind invented Apr 03 01:41:11 async programming as a whole rather Apr 03 01:41:24 Oh. I guess it is popular for farms and tracking cattle, the dairy, and mechanized tractors. Apr 03 01:41:36 IoT! Apr 03 01:41:42 That is right , we have another "extra goal" that we will work on if we are able to make it function in time , which is to web scrape weather forecast websites to determine some info. Apr 03 01:41:58 yeah farmers have the reputation of being lowtech, but I worked briefly in a farming startup and I've seen farmers with very high tech control panels and bunch of sensors and robots and stuff set_ Apr 03 01:42:36 Yea. I know, mawk. I was reading online the other day. This farmer in AUS had his set up for his cattle tracking at the dairy. Apr 03 01:42:49 It was way technical and not lowtech. Apr 03 01:43:19 I took a note of Pyserial-asyncio and I willl check it out Apr 03 01:43:39 GPS receivers on the cattle to track which one does what and when. The diary had suction cups instead of milk maids. Apr 03 01:43:41 you've heard of asyncio before EngineerNeil ? Apr 03 01:44:02 Unfortunately I haven Apr 03 01:44:05 't Apr 03 01:44:09 but you do python right Apr 03 01:44:10 I am new to Python Apr 03 01:44:12 ah Apr 03 01:44:55 you've done threading in C or whatnot before ? Apr 03 01:45:15 imagine threads-lookalike, without any kind of nasty synchronization to take care of Apr 03 01:45:30 I almost wonder if this might not be easier in nodejs, but javascript is awful enough that I wouldn't go so far as recommending it as option Apr 03 01:45:55 you've got the guarantee only one "task" runs at any moment, so between two "yields"/"await"/whatever it's called in your language's asynchronous layer you can modify global state Apr 03 01:46:28 maybe a bit less boilerplate to get started with nodejs Apr 03 01:46:32 but python isn't that bad either Apr 03 01:46:40 it's not like in C where you do an event loop from scratch Apr 03 01:46:46 I have no idea what web programming looks like in python Apr 03 01:47:02 I have no knowledge in Nodejs although it looked like an option to me too a few days ago Apr 03 01:47:14 push some buttons and test things. That is how to learn. Learning by Fri. might be difficult. Apr 03 01:47:14 I usually use tornado for REST apis and the like, in like 10 lines you can respond text/plain hello worlds to GET requests Apr 03 01:47:17 flask is popular for that too Apr 03 01:47:39 and for the heavier really web stuff you have django, whose motto is "for developers with deadline" so you get that it's easy to get started too Apr 03 01:47:53 Yes , I will try to get basic functionality ready by friday , and after that just modify my code and troubleshoot Apr 03 01:48:38 tornado is built over asyncio in the recent versions, so basically you do class Handler: async def get(self): and you handle your request Apr 03 01:49:16 I'm not sure if he needs to handle incoming web requests, it sounded like he only needs to make queries to a site Apr 03 01:49:20 then map routes with regexes to handlers, start the app, that's all Apr 03 01:49:33 Yes , I need to query the website Apr 03 01:49:36 for queries I use requests for blocking stuff, but with asyncio there's aiohttp which is very nice Apr 03 01:50:04 async with aiohttp.ClientSession() as client: async with client.get('https://google.fr') as response: data = await response.text() Apr 03 01:50:20 pretty much like the pseudo code you'd write if you are thinking of an asyncio web lib Apr 03 01:50:24 can't get easier Apr 03 01:50:48 it can easily get easier if you don't have to create a "client session" :P Apr 03 01:50:55 lol Apr 03 01:50:58 yeah you can do that Apr 03 01:51:23 but you won't have a common cookie jar, have keepalive, gather multiple requests in the same session Apr 03 01:52:19 Thanks for the recommendation I took a note down Apr 03 01:56:23 Hey! Apr 03 01:56:27 What was the outcome? Apr 03 01:57:30 of what? Apr 03 01:57:51 Good question. I ready what you all typed out. It seems like nothing was confirmed. Apr 03 01:58:05 ready = read Apr 03 02:01:49 termios may be helpful. No? Apr 03 02:02:03 termios is to set serial port settings Apr 03 02:02:05 ... what? Apr 03 02:02:13 so yeah I guess it may be helpful to match the other party settings Apr 03 02:02:19 but it wouldn't be helpful to communicate Apr 03 02:02:23 Oh. Apr 03 02:02:28 the setup can be done outside python also, using stty calls Apr 03 02:02:29 That is what I was getting at. Apr 03 02:02:30 also the serial port settings are simply passed to the constructor Apr 03 02:02:49 ah, nice Apr 03 02:03:09 They just write? Apr 03 02:05:23 Good night all , thanks for your time Apr 03 02:06:40 https://github.com/python/cpython/tree/3.7/Lib keeps needing to be read over. Apr 03 02:06:49 Later EngineerNeil. Apr 03 02:07:18 Thanks , bookmarked Apr 03 02:07:37 later set_ Apr 03 02:12:41 So, that person had a due date of Fri. and it just starting? Apr 03 02:13:02 it just starting = he just started? Apr 03 02:33:22 http://www.voidspace.org.uk/python/articles/authentication.shtml is something I came across. Enjoy and port to Python3. **** ENDING LOGGING AT Wed Apr 03 02:59:57 2019