I was at the receiving end of this. Not at Amazon but at another similar Silicon Valley tech company. When I was hired I thought it was a great opportunity and moved my family to SV. First day I go in, I realized that just about couple of months before my hire date about half the team was laid off.
A few months in there were lots of red flags —
1. the director who is above my manager used to do code reviews and not my manager. He used to point out minor things (think linting or similar) such but was did not point out any major flaws in the code (I also reviewed others code)
2. Zero transparency- the director used to say he is going to give hints about professional development and used to ask random questions such as if I would be ok to move to another location etc - this was his prompting not mine. Hint based leadership leads to lots of water cooler talk among employees about what is going on.
About 8 months in, my entire team was laid off and my manager already about a month before that. It turns out I was only hired as a scapegoat to replace the negative morale in the team, people would start to leave because of previous layoffs so the director hired me so that he could tell others - ‘See, we are hiring right now’. In reality he had a 2 year plan of what he wanted to do.
I don’t mind layoffs I can find a job quickly but the biggest problems are for my family who I have had to relocate. After this I sweared I was never to work in SV again.
I now work on wall street, the team I work with is far more transparent and my manager is great.
Working with graphs, I realized its hard to generate dynamic ones and you inevitably end up with domain specific layouts. I guess thats the nature of graph drawing algorithms, its usually specific to the problem.
Thanks for that, will try out graphviz. I was doing some custom implementation for minimizing edge crossings and it seems to work fine for me but thats mostly for 2-layered graphs. If I am to expand to multi-layer graphs, its going to be fairly more complicated to figure out how to do that and I dont know if it will work well.
Graphviz seems to be great for getting you a mostly-useful auto layout majority of the time.
I have a requirement to be able to mix fixed-positioned nodes along with dynamically changing nodes, I havent used graphviz to know if it could do that. A library like cytoscape works ok or maybe d3 (I am still evaluating these)
Honestly coming into this, I thought graph drawing would be fairly easy and I could look up online for examples - but it seems to be quite opposite, its really complicated to get graphs that are both dynamically generated with the nodes positioned at the same place in case there are similar nodes
Can I ask - how did you find working with graphviz. Was this your first time working with it, how long did it take you to figure out how to place things and draw?
I am working with drawing graphs at the moment and evaluating what library to use, its coincidentally nice to see what you built but it also seems like it was thoughtfully laid out (less edge crossings etc). I am trying to do something more dynamic so it may not be as applicable for me.
I am looking at your code as well, thanks for providing that
I agree with your overall message but in this case I would like to point out one thing - a lot of fad diets were first adopted by people and then researched to see if they are helpful where as Fodmap has been specifically researched for the gut and only after it has been shown to be helpful, its now being recommended by doctors.
Obviously you should talk to your doctor before adopting the diet. It may not provide all of the nutrients that your body needs and its normally only recommended for 3 to ~6 months. Its may also not work well for some variants of IBS / IBD / other gut issues and may even be a detriment - so talk to your doctor.
Personally its been helpful for me. A lot of people also may not need to do fodmap and instead just do a elimination diet. For example you may not know it but may be suffering from lactose intolerance or gluten intolerance and so on. Probably easier to try that first as well.
I suffer from IBS as well and out of all the things that flares up my IBS, stress is a prominent one. Reading research papers, its been seen that gut biome changes based on stress - look up gut-brain connection, theres been a few books written about it as well.
Its a fairly new thing - from about 15 years back. Nowadays one of the treatments that a gastroenterologist could recommend if they have exhausted everything else is low dose anti-depressant.
Key is to identify what is causing stress and treat that
Thanks, yes I have been following fodmap for years now and reduced my gluten intake as well and that has helped a bit. Although its only recommended for 3 to 6 months.
I have also slowly been introducing foods I have been avoiding back and so far I have been able to tolerate them well
As someone with IBS, totally agree with you. I wish the research would trickle down into actual treatments. I have started following a lot of research about gut etc but very little of it leads to something that can mass consumed.
I spent thousands of dollars on trying out medications, tests, visiting a number of highly trained doctors etc, nothing came up in tests and at the end almost all doctors threw their hands up and categorized my gut issues as IBS which is just a catchAll term for which there is no specific treatment other than trying out a number of things.
A few months in there were lots of red flags — 1. the director who is above my manager used to do code reviews and not my manager. He used to point out minor things (think linting or similar) such but was did not point out any major flaws in the code (I also reviewed others code) 2. Zero transparency- the director used to say he is going to give hints about professional development and used to ask random questions such as if I would be ok to move to another location etc - this was his prompting not mine. Hint based leadership leads to lots of water cooler talk among employees about what is going on.
About 8 months in, my entire team was laid off and my manager already about a month before that. It turns out I was only hired as a scapegoat to replace the negative morale in the team, people would start to leave because of previous layoffs so the director hired me so that he could tell others - ‘See, we are hiring right now’. In reality he had a 2 year plan of what he wanted to do.
I don’t mind layoffs I can find a job quickly but the biggest problems are for my family who I have had to relocate. After this I sweared I was never to work in SV again.
I now work on wall street, the team I work with is far more transparent and my manager is great.