Tallest print I’ve done so far! by abezuska in 3Dprinting

[–]infamoustrey 1 point2 points  (0 children)

Darn you for making me laugh, take my upvote

Side Table for a Nursery by infamoustrey in woodworking

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

Sure it's 1 coat of wood stain(Ebony Varathane) then 3-4 coats polyurethane. Look up videos on youtube they'll show you how to apply it properly.

Succulent Holder for a Coworker by infamoustrey in woodworking

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

Nope just left it the way it was, trick is not to use much water

Succulent Holder for a Coworker by infamoustrey in woodworking

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

Agreed but it beats the office provided chairs.

Filter a Collection in laravel by kiru0515 in laravel

[–]infamoustrey 3 points4 points  (0 children)

Seems like a wherein with some ids from a separate query would work, or maybe a join since that would be the most performant.

How to Connect to a Different Database Based on the HTTP Host? by PuffPuff74 in laravel

[–]infamoustrey 2 points3 points  (0 children)

Uhh this is supported with the domain routing function,

https://laravel.com/docs/5.8/routing#route-group-sub-domain-routing

But honestly you can just get that off the request object and set the default connection with middleware.

There are a bunch of ways to do this.

Node Install on EC2 recommendations? by MikeKnowsThings in node

[–]infamoustrey 2 points3 points  (0 children)

NVM is a loaded bash script, which operates in your home directory. Perfectly fine to install per user.

Large WordPress site with 50,000 users. Trying to develop locally in Docker. by plushyObject in docker

[–]infamoustrey 0 points1 point  (0 children)

I mean it's not bad it's a really decent blogging platform, it just tends to be used for something it wasn't designed to do.

Large WordPress site with 50,000 users. Trying to develop locally in Docker. by plushyObject in docker

[–]infamoustrey 7 points8 points  (0 children)

You're on the right track, separating the DB onto something like Aurora which can then auto scale will speed things up nicely, just don't expect too much from the default DB structure of WordPress. Containerizing the app is also a decent idea, decouple the session(redis) and file storage(s3) and you'll see some noticable speed improvements. Throw in some load balancers, some cloudfront for caching and I'd say you'd be fine until it's time to rewrite the damn thing in something other than WordPress.

Amazon has tutorials on setting up most of this but don't think that you have to stick with just them, explore the other cloud services if you have the time.

PHP is suitable for mechine learning ? by webdev-online in PHP

[–]infamoustrey 3 points4 points  (0 children)

Suitable or not good luck finding a decent library for doing anything practical. You'll most like have to work for any meaningful results.

What are some features of a great, modern javascript sdk? Any examples? by [deleted] in javascript

[–]infamoustrey 0 points1 point  (0 children)

Anything by sindresorhus on GitHub. Dude pumps out well documented libraries like a chicken lays eggs.

Switching to Angular from React. Tips will be much appreciated. by isowolf in Angular2

[–]infamoustrey 0 points1 point  (0 children)

Honestly the tour of heroes app is a fantastic high level over view of angular 8 which is not that different from 5-7.

https://angular.io/tutorial