[17:14:14] ivanskie: its okay, once you learn programming you can just write an AI to learn other things for you.
[17:18:24] ivanskie: oft_gegong: if you are impatient, then just start writing a program. and figure out how to do it as you go.
[17:21:15] ivanskie: But dkowis on github essentially re-wrote it.. and it still doesn't work https://github.com/net-ssh/net-ssh/issues/622
[17:22:45] ivanskie: I don't understand what intercepts the characters and ignores CR. rather it actually replaces CR with NL
[17:24:14] ivanskie: there are these: http://net-ssh.github.io/net-ssh/Net/SSH/Connection/Term.html. I don't even know how to describe it. But I haven't been able to figure out where to put it, and enable/disable some of these flags.
[17:25:55] ivanskie: i might have to use what I have to just establish a port forwarding, then call a system ssh command to launch into the remote shell that way. so sad :(
[17:27:05] ivanskie: for our aws setup. eb ssh will not work, because everything is behind a firewall basically.
[17:28:28] ivanskie: its frustrating to get to launching into rails console through a jump box, etc etc.. just to get to the irb>. and be able to type and erase.. but when you press Enter it's like you are in text editor lol.
[17:46:22] ivanskie: eam: so once I make the connection, i'd just execute an stty command to change the behavior?
[17:53:49] ivanskie: ch.exec('stty icrnl') before requesting pty, says 'stty: standard input: Inappropriate ioctl for device' but exec that after request pty.. and it closes the channel.
[18:07:58] ivanskie: This is the output for `stty -a` once pty connection is established. https://dpaste.de/EfPJ
[21:22:34] ivanskie: background: writing a pseudo copy of heroku cli. specifically command to launch into rails console on remote machine.
[18:57:48] ivanskie: I'm trying to copy this: https://github.com/johnnyopao/awsp/blob/master/index.js#L9-L26
[19:00:49] ivanskie: i rewrote that guy's awsp, all in bash script.. so it'd work on all our machines no matter their environment.
[19:01:53] ivanskie: speaking of which.. I'm still not even sure if this is going to work. i need to figure out how to run the .sh script which will source file with new envars. to apply to original shell
[19:11:11] ivanskie: right. so the way awsp dev is doing it, and how i replicated it in bash script. is.. I have an alias for 'source .myscript.sh' in .myscript.sh i show the menu, menu writes a temp file with exports. then .myscript.sh sources the temp file, deletes it, and exits.
[17:08:06] ivanskie: I have a little bit of code that checks if an executable out of an array exists, then gives me version number. Just spent half an hour googling a way to regex out the version number to no avail.
[17:22:19] ivanskie: "pip 18.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)" or "curl 7.54.0 (x86_64-apple-darwin18.0) libcurl/7.54.0 LibreSSL/2.6.4 zlib/1.2." etc...
[23:06:06] ivanskie: Config.applications.first.profile returns a name of a profile. But I'd like it to return that particular ruby object from Config.profiles
[23:06:52] ivanskie: I already have to_s method in Profile class. im not sure how to find one profile?
[23:13:22] ivanskie: Config.profiles => [#<Profile:0x00007fba7b1baef8 ...>, #<Profile:0x00007fba7b1bae08 ...>, etc]
[19:52:28] ivanskie: so uhm my wife thinks she wants to learn coding. she's a total beginner. like no idea what terminal or console is, or any technical concept. other than how to login to OS, and open browser to go online. and maybe use notepad/textedit or word.
[19:52:51] ivanskie: question: Any recommendations, anybody know of anyone who started like that, or etc etc? thoughts?
[20:04:58] ivanskie: also slight edge case scenario.. high functioning autism, and stay at home mom, three kids.
[20:10:39] ivanskie: it'd be awesome if wifey learns to code. i'm just concerned about motivation and discipline in the long term.
[20:16:26] ivanskie: just showed links to my wife.. "Uhm where did you find that book and how much does it cost and can you download it to my iPad" lol
[20:30:28] ivanskie: alright now i need to figure out how to introduce basics to her. (what console is, how to get there.. editors.. etc etc).
[20:47:43] ivanskie: I 'worked' with Radar and the team when he was about to publish Rails 4 in Action. kind of a feedback from a n00b point of view haha.
[20:48:33] ivanskie: oh hey Radar. by the way im now a devops at a ruby place :P *success kid meme here* finally haha
[20:49:34] ivanskie: anyway.. bwaveaver im thinking.. if you want someone to help in similar extent with your book. maybe i could get you in touch with my wife?
[20:49:54] ivanskie: Doing that with Radar really helped me learn rails, and stay motivated at the time.
[21:14:40] ivanskie: i think i'll see how far into the first week of CS50 lectures I can get with her to start. just for the CS basics. then jump into ruby ^
[21:16:08] ivanskie: so Brandon, are you writing that book just because, or were you trying to teach your significant other?
[21:18:01] ivanskie: like there's a blog post of a blacksmith switching careers and learning ruby/rails from scratch.