851 karma · joined August 17, 2012
[ my public key: https://keybase.io/xvx; my proof: https://keybase.io/xvx/sigs/5UC6RpBsbDaBe9xckngQBoYQbvT4-uziKKr7o-saUdU ]
We were rolling out a new stack in another data center across the country and before replication went live, I decided to connect and check things out. Our chef work hadn't completed for the database hosts, so I decided to install some OS updates by hand using pssh on all the MySQL hosts and saw a kernel update. So I thought, the DC isn't live yet, no replication is running, I'll just restart these servers. So I did using pssh again and then I caught a glimps at the domain in some output and my face went completely pale. I restarted the production databases... all of them. And they all had 256GB of ecc memory. It takes a very long time for each of those machines to POST.
I contacted the client and said the maintenance page was my fault and was fully expecting to be fired on the spot, but they just grilled me about being careful in the future, and then laughed it off.
I've been the most careful ever since then. It scared me straight. Always make sure you are in the right environment before you do anything that requires a write operation.
I'm guessing gps will be merged into the stdlib at some point.
Basically I have a fiber connection in the US, which on it's own is pretty mindblowing, but no IPv6 address...
My girlfriend is a nursing student, not a programmer and has 8 gigs of ram on her laptop. She's constantly asking me to look at her laptop when it beachballs and slows to a crawl when she's doing homework and her memory is maxed. She only has chrome, Word, Excel and some online courses open.
I don't buy that figure one bit.
Tips for Go: Don't use map[string]interface{} and circumvent the type system (I've seen this a lot in production). The fix involves the UnmarshalJSON and MarshalJSON interfaces. This lets you put the data into a structure that's sane and re-encode it back to something the other system expects.
The only time I've seen anyone using caps lock is in a call center where people think it's the proper way of entering data into a form (my opinion is it's totally not).
Can someone fill me in on actual use cases of having this key still?
I have been binding caps lock to escape for many many years.
I can't find anything that tells me why it happened.
Edit: I cooked up an example actually. Here is a small Go program that will panic after 1 nanosecond: https://gist.github.com/kyleterry/dc304503dfca2d149b189694d1...
This will sometimes return partial responses.
Run this in a bash `while true` loop and curl localhost:8080 a few times. You will mostly see empty and full responses because my example isn't perfect, but occasionally you will only get part of the script dumped to the screen and that's the problem with curl|bash.
I've been to the AWS headquarters in Seattle and I think that's what their setup is like but I didn't get too much of a chance to look around.
I've worked on systems administrations teams that had their own office and being able to close the door was awesome.
People would also routinely leave their playa covered and broken down vans, RVs and cars in my neighborhood. In the desert by my parent's house we would find numerous trailers abandoned full of trash, empty water bottles and old clothes. You knew it was from burning man because the stuff was covered in playa dust.
I will say the only clean systems I've worked in have been microservice oriented. All monolithic systems I've worked on never scaled properly and always had bugs with 1000 function deep stacktraces.
I've talked to people who have worked in excellent monoliths (rails and django). I know they exist.
Moral is: do it right and have good development practices.
I've been struggling at work to learn and use Rails for the better part of a year. I constantly have to grab someone and have them help me. Either I'm an idiot, or Rails has a bigger learning curve than people make it out to have because I've never experienced this in all my 10 years of programming professionally.