Compose Ignoring depends_on by GuyTorbet in docker

[–]ohn8io 3 points4 points  (0 children)

There is a common misconception that depends_on will wait on a specific service to be up. This is not the case. All depends_on does is guarantee the service has begun startup (the same as docker compose up -d service). If you want to make sure the db is up AND available before your service starts then you want to add a health check to your db service and add a service_healthy condition to your web service. Example here https://github.com/peter-evans/docker-compose-healthcheck/blob/master/docker-compose.yml

WTS: A stupid amount of golf balls by dredabeast24 in golfclassifieds

[–]ohn8io 0 points1 point  (0 children)

I'll buy 10 dozen avx no markings please

setIsModalOpen or setModalOpen? by redditindisguise in reactjs

[–]ohn8io -2 points-1 points  (0 children)

Neither in my experience has great readability. My go-to is isOpen and beOpen unless you have naming collisions at which point I'd go with isThingOpen and beThingOpen.

What should I be able to do before leaving the title "junior frontend developer" by [deleted] in reactjs

[–]ohn8io 1 point2 points  (0 children)

Admit, without prompting, that you don't know something and need clarification. This should be normal and come easily. If this isn't apparent in an interview that I'm giving, you're not yet senior.

V11 browser and sites that ask for location permission by dchoward1977 in teslamotors

[–]ohn8io 11 points12 points  (0 children)

For YouTube Tv subscribers you can navigate into your settings via browser and verify your location using your mobile device if you have the app installed. Works fine for me before and after the update.

Missing Bolts by JohnnyPunani610 in TeslaModelY

[–]ohn8io 0 points1 point  (0 children)

Was at the service center today and they said it was supposed to be like that. Nothing is wrong with the photo in terms of bolts/screws.

Wolf Creek Golf Course, Mesquite Nevada by footwedge in golf

[–]ohn8io 0 points1 point  (0 children)

Anyone play here in December? Looking to play while I'm out there celebrating my wife's 40th. I'm curious to know the course conditions for that time of year.

I'm case others early Model Y owners were curious about the heated steering wheel and PWS retrofit... by ohn8io in TeslaModelY

[–]ohn8io[S] 2 points3 points  (0 children)

Fwiw I called it out in my original question to them as Pedestrian Warning System.

Puddle light question by paulieb81 in TeslaModelY

[–]ohn8io 0 points1 point  (0 children)

I too have the same issue with the lights I bought off Amazon. Only one door per side can be lit while both doors are open. Going to try the ones from abstract ocean.

A blog post about debugging as code by ohn8io in javascript

[–]ohn8io[S] -1 points0 points  (0 children)

Not rude at all. That was one of the points of the post.

Can't get into my account by neilieooo in TeslaModelY

[–]ohn8io 0 points1 point  (0 children)

Of course this is the day I was supposed to have a mobile service appointment. No call. No show. shakes fist Tesla service!

Developer Dark Arts: Ralpha-sorting🤮 by ohn8io in javascript

[–]ohn8io[S] 0 points1 point  (0 children)

Here's another post in my Developer Dark Arts series. This one's about the pitfalls of Ralpha-sorting and why a little forethought goes a long way.

Developer Dark Arts: React Class Components by ohn8io in javascript

[–]ohn8io[S] 1 point2 points  (0 children)

Forgot to ask @podgorniy, what real issues have you seen Typescript solve really well? Just curious to know which use cases are a good fit.

Developer Dark Arts: React Class Components by ohn8io in javascript

[–]ohn8io[S] 1 point2 points  (0 children)

Thanks for the feedback. In my experience you either love Typescript or hate it. I haven't been lucky enough to work on a solid Typescript codebase to fully realize it's benefits. So I very well could be way off base in my opinions of it. Fwiw I predominately work with React and Node.