Two Plus Two Publishing LLC
Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 02-25-2019, 09:09 PM   #37776
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,116
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Anyone who uses AWS for CI/CD - how do you trigger a promotion from say stage to prod?

Right now I build to the dev environment, based on code being checked in to the develop branch on our various lambda repos and our front end react site repo. But we're going to have at least 5 environments and having to check everything into a new branch would be a really cumbersome way to promote code.

One pretty simple way I can think of is just to drop a new zip file (of the build artifact from the develop branch) into and environment-specific s3 bucket which is being watched by CodePipeline, and would then build the front end to that environment and archive off the zip file.

But it feels like there should be a more automated way. Thoughts?

Edit: hmmm well looking at create-react-app, it needs to know the environment at build time, not run time. So we may just stick with branches for that one, since it's only one repo. But the same issue of wanting to promote w/o branch check-in still applies to all the lambdas.

Last edited by suzzer99; 02-25-2019 at 09:16 PM.
suzzer99 is offline   Reply With Quote
Old 02-25-2019, 10:56 PM   #37777
blackize5
old hand
 
Join Date: Sep 2012
Posts: 1,334
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Based on the three companies I have experience with they all have scripts that merge code from master or a stage branch into a release branch.

One company had a release branch for each stage where the script would allow force push for dev and qa envs and clean merges only for sandbox and prod.

The other two use a release branch only for prod and sandbox and everything else takes a branch babe as an argument to the script
blackize5 is offline   Reply With Quote
Old 02-26-2019, 12:10 AM   #37778
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,116
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Hmmmm - that's an interesting approach. So everything is still triggered by merges to a branch right?
suzzer99 is offline   Reply With Quote
Old 02-26-2019, 01:44 AM   #37779
blackize5
old hand
 
Join Date: Sep 2012
Posts: 1,334
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

At these companies there was a mix of merges triggering deployment, scripts run by hand that handle the git stuff and deployment, and scripts run as cron that handle git stuff and deployment.

You could definitely set it up the way you're thinking though.
blackize5 is offline   Reply With Quote
Old 02-26-2019, 11:27 AM   #37780
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 28,506
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

My first attempt at managing expectations as a PM:

My boss/product manager:

“Oh i know we ship soon but we need this new feature that this project totally wasnt designed for and hasnt ever been tested”

Me: “ok that sounds infeasible but i’ll look into it”

Look around, get some more knowledge, learn that yes, it’s infeasible. Tell my boss in detail why it’s infeasible.

Boss/product manager: “just have (new dev in way over his head) look at it.”

“Ok, but like I said, it is looking pretty infeasible. I think we need to ship as is and work on a better solution later, since there’s no time pressure for this feature.”

Shipping in 24 hours, get an email from Product manager CC’ing everyone and an advisor that used to work on this:

“Hey, so we need to ship this tomorrow and really need to get this (impossible feature) working by end of day.”

Mother****ers are you not hearing me?
jmakin is offline   Reply With Quote
Old 02-26-2019, 11:57 AM   #37781
kerowo
lolcat
 
kerowo's Avatar
 
Join Date: Nov 2005
Posts: 37,169
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Instead of using language that sounds like it is your opinion it is unfeasible give them numbers. “This feature will take x stories or y points and we only have z sprints before the ship date. Given our current velocity the soonest we can have that feature is in r sprints.” The estimates are still most likely going to be subjective, but at least they are defensible and make it sound less like you are disagreeing with people and more like you’re trying to accommodate them.
kerowo is online now   Reply With Quote
Old 02-26-2019, 12:11 PM   #37782
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,116
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Be careful, project managers often take the fall in these spots.
suzzer99 is offline   Reply With Quote
Old 02-26-2019, 12:17 PM   #37783
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 28,506
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

We don’t do any of that crap. I tried earlier on but I just didn’t take. Suzzer I have plenty of places to point the finger if it fell on me and without some moves I made in the last few weeks this easily would’ve been delayed a month and I could prove it.
jmakin is offline   Reply With Quote
Old 02-26-2019, 12:22 PM   #37784
microbet
Solar Powered
 
microbet's Avatar
 
Join Date: Jan 2005
Location: SoCal
Posts: 53,063
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Just show them this

microbet is offline   Reply With Quote
Old 02-26-2019, 12:26 PM   #37785
well named
poorly undertitled
 
well named's Avatar
 
Join Date: Jun 2007
Location: esse est coesse
Posts: 75,947
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

omg
well named is offline   Reply With Quote
Old 02-26-2019, 01:00 PM   #37786
kerowo
lolcat
 
kerowo's Avatar
 
Join Date: Nov 2005
Posts: 37,169
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by jmakin View Post
We don’t do any of that crap. I tried earlier on but I just didn’t take. Suzzer I have plenty of places to point the finger if it fell on me and without some moves I made in the last few weeks this easily would’ve been delayed a month and I could prove it.
kerowo is online now   Reply With Quote
Old 02-26-2019, 01:43 PM   #37787
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 28,506
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Ya lmao i’m totally getting bus tossed. **** it.
jmakin is offline   Reply With Quote
Old 02-26-2019, 05:55 PM   #37788
jmakin
 
jmakin's Avatar
 
Join Date: Jan 2008
Location: Streaming
Posts: 28,506
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

efforts to ramp up and hotfix right up to the deadline of course failed

now without me doing an all nighter it won't ship tomorrow

they finally realized it was infeasible and now want to spend 2 weeks and completely refactor the entire thing. Like bottom up.

I was saying this a few weeks ago, maybe I should've been louder. Now I am trying to tell them that yes in an ideal world we would refactor and stop throwing these bad hacky fixes at a hacked together codebase that none of us wrote and likely was never working properly - for single use cases nonetheless. But two to three weeks, and just one fresh dev - it's likely impossible. I am at a complete loss right now, lol.
jmakin is offline   Reply With Quote
Old 02-26-2019, 08:11 PM   #37789
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,116
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

At my old job the PMs were always contractors, so they could be blamed and let go if the project went bad. If the project went well they get to stick around for a while. If they get like 3 in a row that go well then maybe we hire them to be a "program manager", which I'm pretty sure is just a title because "project manager manager" sounds silly.
suzzer99 is offline   Reply With Quote
Old 02-26-2019, 08:59 PM   #37790
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,116
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I think my plan of motivating my CSS dev by going in and mangling her stuff is starting to pay off. She's starting to say stuff like "Oh you don't need to work on that, I'm almost done with this."
suzzer99 is offline   Reply With Quote
Old 02-26-2019, 10:03 PM   #37791
blacklab
adept
 
blacklab's Avatar
 
Join Date: Jan 2005
Location: Austin, Tx
Posts: 850
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I use that same method at home for washing dishes. Do a crappy job a few times and my wife now tells me not to do it.
blacklab is offline   Reply With Quote
Old 02-26-2019, 10:17 PM   #37792
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,116
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I'm sure they would never turn that around on us for like blowjobs or doing taxes or something.
suzzer99 is offline   Reply With Quote
Old 02-26-2019, 10:52 PM   #37793
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 24,354
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by suzzer99 View Post
I'm sure they would never turn that around on us for like blowjobs or doing taxes or something.
Yeah, my wife makes me give all the blowjobs.
RustyBrooks is offline   Reply With Quote
Old 02-27-2019, 10:12 AM   #37794
Victor
Carpal \'Tunnel
 
Victor's Avatar
 
Join Date: Jul 2003
Posts: 61,323
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

So thankfully our scrum leader and the consultants came to their senses. Really they claimed it was all a misunderstanding. When our business leader ie project owner heard about it in the retro she was not too happy.

Anyway I still hate scrum. What do you guys think of team tasking ? Or sprint reviews?

I am good with sprint planning and retro to an extent. It's 3 hrs of meeting but that's ok bc I think there's value. But 3 more hrs for tasking and review is just horrid. 6 hrs of meetings over 2 days is just grueling and obv no dev work gets done.
Victor is offline   Reply With Quote
Old 02-27-2019, 10:28 AM   #37795
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,116
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I agree - sprint-planning, standups, major retrospectives - after that it's diminishing returns.

Maybe there's value once you're already super agile and humming along towards legitimate continuous delivery. But there's definitely harm in trying to be too agile too fast.
suzzer99 is offline   Reply With Quote
Old 02-27-2019, 01:29 PM   #37796
kerowo
lolcat
 
kerowo's Avatar
 
Join Date: Nov 2005
Posts: 37,169
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

We ran tasking as part of grooming, 1 hour a week, 5 minutes a story to determine size and task breakdown was usually done by a lead. We used it as a way to monitor progress on a story and was what the burn down chart was based on. The goal was to have enough stories tasked and pointed for the next sprint. Having it done allowed sprint planning and retro to happen in the same ~3 hour sprint planning meeting.
kerowo is online now   Reply With Quote
Old 02-27-2019, 03:12 PM   #37797
microbet
Solar Powered
 
microbet's Avatar
 
Join Date: Jan 2005
Location: SoCal
Posts: 53,063
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Is GIS a good specialty? It seems fairly complicated, which seems like that would make it good.
microbet is offline   Reply With Quote
Old 02-27-2019, 03:42 PM   #37798
goofyballer
Carpal \'Tunnel
 
goofyballer's Avatar
 
Join Date: Jun 2005
Posts: 66,891
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Today, in how not to do your tech:
- sign up for account on my new healthcare provider's website
- use my personal gmail as my username
- after sign up, it tries to log me in but can't
- I try to log in with my user/pass, it fails
- I get their automated email with "thanks for signing up, your username is blah" and notice my username is missing the "m" in "gmail.com"
- I say "oh, okay, I guess that's the problem" and try to log in with that username (no m)
- that successfully logs me in (my security questions show up), then it tries to take me to their internal website...and that fails, saying bad user/pass.

My guess would be that one of their internal systems has some kind of character limit on usernames that another system does not, and I got put into these two different systems with two different usernames, such that they cannot communicate with each other about my identity.

I spent half an hour on the phone with these idiots (because their website has no electronic support options listed) and got absolutely nowhere before I had to leave the room I only booked for 30 minutes, which I have to do to talk to them because their phone support ends at 5pm PT, weekdays only. They couldn't even ****ing reset my password without hitting an error (which obviously I did on my own, but phone support's script doesn't have room for "hi, I'm a programmer and I already did all the **** that you're about to tell me to do").
goofyballer is offline   Reply With Quote
Old 02-27-2019, 04:03 PM   #37799
Victor
Carpal \'Tunnel
 
Victor's Avatar
 
Join Date: Jul 2003
Posts: 61,323
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by kerowo View Post
We ran tasking as part of grooming, 1 hour a week, 5 minutes a story to determine size and task breakdown was usually done by a lead. We used it as a way to monitor progress on a story and was what the burn down chart was based on. The goal was to have enough stories tasked and pointed for the next sprint. Having it done allowed sprint planning and retro to happen in the same ~3 hour sprint planning meeting.
We spend proly 20x the time going over cards so that everyone understands them. It's brutal
Victor is offline   Reply With Quote
Old 02-27-2019, 09:09 PM   #37800
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,116
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Is it really true that bash has no out of the box way to pass named parameters from a parent script to a script it's calling? That seems crazy.

Right now I am adding this to any of my scripts that are called by other scripts:

Code:
# turns ** --name value ** paramaters into ** name=value **

while [ $# -gt 0 ]; do
  if [[ $1 == *"--"* ]]; then
    v="${1/--/}"
    declare $v="$2"
  fi
  shift
done
Beautiful language. So expressive. I have no idea what it's doing but it works.
suzzer99 is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 10:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2008-2017, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online