Jun 13, 2021 03:30
I WISH I had a daily one-on-one with a PM who was charged by management with removing the obstacles in my way.
 
Feb 9, 2018 21:15
Thanks! You too.
Feb 9, 2018 21:07
F5 is dead! Long live Ctrl-E!
Feb 9, 2018 21:04
that's been my biggest takeaway so far haha
Feb 9, 2018 21:04
I spent the last year changing my F5 habit in SSMS to control-E since that's supposed to be the new thing, but then SQL Ops studio has ONLY the F5 shortcut
Feb 9, 2018 21:03
Fusion does a similar thing, but I think not as regularly
Feb 9, 2018 21:02
but ops studio is a lot easier to install for colleagues I'm teaching the db basics
Feb 9, 2018 21:02
I'm excited about ops studio — still need SSMS for my work though
Feb 9, 2018 21:02
I started with them but switched to VMware around 2012-13. Can't remember the exact reasons, but I've been happier with Fusion.
Feb 9, 2018 21:00
you use parallels?
Feb 9, 2018 21:00
lol, I still don't understand the why, yet
Feb 9, 2018 20:59
always blame ipv6, I think
Feb 9, 2018 20:58
it stopped resolving for ping immediately after saving the hosts file — not sure if I need to flush
Feb 9, 2018 20:58
I haven't removed it — I should do that
Feb 9, 2018 20:57
Oh wow, that's it — when I connect to 127.0.0.1 instead of localhost or "." it's also fast
Feb 9, 2018 20:56
maybe it's an ipv6 issue... going to test something
Feb 9, 2018 20:56
that's just the hosts file alias for 127.0.0.1. Not sure how I would actually ping the container... but from the host, I do notice that ping dockersucks ends up hitting 127.0.0.1 and ping localhost hits ::1
Feb 9, 2018 20:54
(I can see in Hyper-V Virtual Switch Manager that there's one called DockerNAT)
Feb 9, 2018 20:52
do you think if I looked at perfmon for the right hyper-v counters I would see the difference there between "localhost" and "dockersucks"?
Feb 9, 2018 20:50
(but maybe that's the same thing?)
Feb 9, 2018 20:50
I thought it would just be hosting the server 2016 kernel
Feb 9, 2018 20:50
Hm, I didn't think hyper-v would be getting used for any of docker's networking
Feb 9, 2018 20:49
I assume
Feb 9, 2018 20:48
I mean, ultimately the request should still be hitting 127.0.0.1 and then hitting docker's port mapping
Feb 9, 2018 20:47
How would the alias be any different?
Feb 9, 2018 20:47
the virtual network created by docker?
Feb 9, 2018 20:45
cliff notes: when I add a hosts file entry to alias localhost, and connect from the host using the alias, everything works
Feb 9, 2018 20:44
I just found out something super interesting — about to update the q
Feb 9, 2018 20:43
VMware Fusion
Feb 9, 2018 19:43
@@RandolphWest Ping in case you left
Feb 9, 2018 19:43
If you have a sec, could you explain a bit more what you mean about connection pooling? I'm just not getting how I can be seeing a difference between milliseconds and minutes inside and outside the container
Feb 9, 2018 19:42
Unfortunately I don't have a bare metal win10 available to remove that variable
Feb 9, 2018 19:40
bare metal is running macOS
Feb 9, 2018 19:40
actually, the windows 10 host that I'm working on is virtualized
Feb 9, 2018 19:39
There are clearly some issues with windows containers generally, so there's a lot of kinks to work out — unfortunately switching to linux defeats the purpose of my long game here so I do want to figure out what's actually happening
Feb 9, 2018 19:38
Hey — thanks for all the attention on my question
Feb 9, 2018 19:10
@RandolphWest I'll be in Database Administrators Chat if you want to catch up there.
Feb 9, 2018 19:10
@RandolphWest Did you miss the part where the SMO PS script runs quickly from inside the container and slowly from outside?
Feb 9, 2018 19:10
@LowlyDBA Those screens don't exist (/aren't applicable?) for Windows containers, per github.com/docker/for-win/issues/754. docker info only tells me what I've got on the host machine: 2 cores, 10GB RAM.
Feb 9, 2018 19:10
Where would I find those?
Feb 9, 2018 19:10
Yeah I was thinking about that, but query performance seems fine so it seems limited to only certain types of actions. I also need to test running the SMO stuff from INSIDE the container and verify that the issue is not present there.
 
Aug 21, 2016 23:56
Has anyone seen this crazy thing on Facebook?
Jun 8, 2016 22:39
He's the author of a number of fantastic physics and math animations found on wikipedia
 
Jul 20, 2016 17:42
I guess it's like a fake function call before structured programming existed
Jul 20, 2016 17:38
Anyway, the question's not "What kind of control flow should I use", it's "does this thing have a name"
Jul 20, 2016 17:38
@ThomasOwens Probably because T-SQL doesn't have methods
Jul 20, 2016 17:36
@AaronHall Oh, it definitely is
Jul 20, 2016 17:31
Hey, does anyone know if there is a name for the pattern where you GOTO some piece of code to process, just to immediately "return" to the line after your goto (with another goto)? As in, it's completely equivalent to inlining the processing code and not using any gotos at all, but you're just cleaning stuff up visually.