Open Side Menu Go to the Top

12-17-2018 , 07:56 PM
scripting in bash for the last few months i feel like i've become an expert at detecting typos, i saw that misspelling before I read the rest of the post lol
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
12-17-2018 , 08:23 PM
Just spent another few minutes looking at respone. Don't get old kids.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-17-2018 , 11:01 PM
Grue or anyone who knows,

What is your game that people talk about here?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 12:54 AM
Quote:
Originally Posted by microbet
Grue or anyone who knows,

What is your game that people talk about here?
PMd
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 12:58 AM
Where'd this come from
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 01:12 AM
Thx Chris

Where'd what come from? My question? The game had been mentioned somewhere itt and I was curious.

I'll give it a try some time. Maybe I'll ask some of my board game liking friends if they want to try a private game.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 01:28 AM
I was about to be mildly upset that you mildly doxed me until I realized ChrisV presumably also shares my incredibly popular born in the late 70s first name. Good times.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 01:40 AM
So, googling there are a lot of complicated solutions to this involving adding software - maybe there's a simpler way?

I'm trying to develop a React app with a Flask backend and make calls to it on windows 10. I'm using axios, but that shouldn't matter I think. In development this is working fine and the calls are to 127.0.0.1:5000. But I also want to do essentially the same app in React Native and my phone doesn't know about 127.0.0.1.

?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 01:49 AM
Quote:
Originally Posted by microbet
So, googling there are a lot of complicated solutions to this involving adding software - maybe there's a simpler way?

I'm trying to develop a React app with a Flask backend and make calls to it on windows 10. I'm using axios, but that shouldn't matter I think. In development this is working fine and the calls are to 127.0.0.1:5000. But I also want to do essentially the same app in React Native and my phone doesn't know about 127.0.0.1.

?
127.0.0.1 is just your local machine. It means your local machine is talking to itself. To map your phone to your local machine you have to find out what your network IP is on the machine where you're hosting the server. Or go the full 9-yards and host it publicly.

I'm not 100% sure how hosting works on wifi - if you can expose your local server to just devices connected to your wifi. I think you can.

Also if you ever want to set cookies you're going to need a domain. Depending on what kind of authentication you use, you may need to set cookies.

You might check out something like Digital Ocean for app-hosting. They make it super easy and all their tutorials are amazing.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 02:04 AM
Quote:
Originally Posted by suzzer99
127.0.0.1 is just your local machine. It means your local machine is talking to itself. To map your phone to your local machine you have to find out what your network IP is on the machine where you're hosting the server. Or go the full 9-yards and host it publicly.

I'm not 100% sure how hosting works on wifi - if you can expose your local server to just devices connected to your wifi. I think you can.

Also if you ever want to set cookies you're going to need a domain. Depending on what kind of authentication you use, you may need to set cookies.

You might check out something like Digital Ocean for app-hosting. They make it super easy and all their tutorials are amazing.
I was kind of debating the whole develop locally vs. in the cloud just yesterday. I spent a few years developing in the "cloud" back at the turn of the millennium, which is why I use vi (vim). I did most of my work sshing into a linux machine back then. But, yesterday the winning point for developing locally was that I do like to work remotely where I may not have an internet connection. So, I think I'm going to figure out how to expose the server on my local machine to my phone and maybe fake having a domain if necessary. Or maybe I could do this project or part of it remotely.

There's so much sysadmin work.

I hear Digital Ocean advertised a lot on podcasts. I was just looking at signing up on Linode though. Four months free with the Talk Python To Me promo!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 02:18 AM
And this is not 100% confirmed, but I believe the contract I had with this company (first project was/is in node) is going to be extended to semi-permanent more or less 3 days a week totally remote. It's not $$$ or anything, but it's not bad and extremely good considering my lack of experience/15 years out of programming. Well, I don't mind telling...it's $500/day. I'll find out for sure tomorrow.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 08:43 AM
Quote:
Originally Posted by goofyballer




True story, in my ILPS interview I showed one of my interviewers the React Native app I made on my phone to track my craft beer inventory and he was moderately impressed with it.
That seems like a fun/good project idea for me. Something I am truly passionate about...beer!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 08:50 AM
Problem is that my beer is in inventory for a very short period.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 01:06 PM
Quote:
Originally Posted by Victor
Problem is that my beer is in inventory for a very short period.
I have home-brewed for a long time and I recently found some bottles I'd stashed away from my very first time - at least 10 years ago. They'd been stored in ideal conditions, cool dark place etc. I opened one to try it, holy hell, it was not good. I poured them out, all the yeast and other sediment in the bottle had turned black.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 01:10 PM
Budweiser has a born on date to ensure freshness!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 01:15 PM
Quote:
Originally Posted by suzzer99
Budweiser has a born on date to ensure freshness!
Technically mine has a date too, I keep a spreadsheet of all that junk, but I didn't bother to look it up. When I first started brewing I used a simple system of like semaphores on bottle caps, like the first brew I did was a slash, the 2nd was a cross, the 3rd was a circle and then after that I started printing proper labels.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 01:17 PM
You can age a few beers. 120 minute for example. Unfortunately not KBS.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 01:19 PM
Quote:
Originally Posted by microbet
And this is not 100% confirmed, but I believe the contract I had with this company (first project was/is in node) is going to be extended to semi-permanent more or less 3 days a week totally remote. It's not $$$ or anything, but it's not bad and extremely good considering my lack of experience/15 years out of programming. Well, I don't mind telling...it's $500/day. I'll find out for sure tomorrow.
Congrats!

My last contracting job I made $500/day and I didn't take 15 years off. Dat California premium?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 02:06 PM
Quote:
Originally Posted by well named
Congrats!

My last contracting job I made $500/day and I didn't take 15 years off. Dat California premium?
Thanks.

I'm just lucky that I have friends and I guess that they came from California, but the company is in Austin now and the guy I'm working with is in Wisconsin. The owner still lives in NorCal though. The guy who was doing this project (still there and doing something else) is in The Ukraine.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 02:54 PM
Quote:
Originally Posted by microbet
So, googling there are a lot of complicated solutions to this involving adding software - maybe there's a simpler way?

I'm trying to develop a React app with a Flask backend and make calls to it on windows 10. I'm using axios, but that shouldn't matter I think. In development this is working fine and the calls are to 127.0.0.1:5000. But I also want to do essentially the same app in React Native and my phone doesn't know about 127.0.0.1.

?
You probably just need to use the real local IP address throughout instead of localhost, chances are it is in the range 192.168.x.x.

A more complicated alternative, you could run an SSH tunnel on your phone mapping localhost:5000 to 192.168.x.x:5000, this would make your phone have backend access on 127.0.0.1:5000
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 02:54 PM
Quote:
Originally Posted by microbet
Thanks.

I'm just lucky that I have friends and I guess that they came from California, but the company is in Austin now and the guy I'm working with is in Wisconsin. The owner still lives in NorCal though. The guy who was doing this project (still there and doing something else) is in The Ukraine.
Wait, I wonder if I know what company this is. Is it Aurea?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 03:01 PM
Quote:
Originally Posted by _dave_
You probably just need to use the real local IP address throughout instead of localhost, chances are it is in the range 192.168.x.x.

A more complicated alternative, you could run an SSH tunnel on your phone mapping localhost:5000 to 192.168.x.x:5000, this would make your phone have backend access on 127.0.0.1:5000
Thx. I'll try that later. I think it won't be that hard. The error message on my phone had "192.168.something.something" on it.

Quote:
Originally Posted by RustyBrooks
Wait, I wonder if I know what company this is. Is it Aurea?
Nope. Not likely you've heard of them. I think there are less than 20 people at the company.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 06:13 PM
I would consider 500 a day $$$
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 06:19 PM
Idea: Set up an AWS environment that basically mirrors prod (or soon to be prod) and run integration tests whenever a new or updated lambda is deployed. This deployment is triggered by a commit to a certain branch (say staging branch). Lambdas currently all live in their own repos.

Problem: Changes that require coordination across multiple lambdas. So checking in the first lambda with changes will fail integration tests.

Solution? Maybe integration tests shouldn't block deployment to this environment, but just notify when they fail. So they can be ignored in spots like this. But they still have to pass before promoting everything to prod. Yeah I guess I just talked myself into that.

I've been googling and haven't found any kind of industry standard or widely used tool for lambda integration testing.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-18-2018 , 06:22 PM
I don't really know what I'm talking about and this is just hand waving, but could you use something like cloud formation to launch a cohesive "stack" all at once, i.e. whatever complete set of resources would mirror your production environment? Instead of updating specific lambdas you would essentially always be creating a new one in the context of the cloud formation template.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m