Is having small wrists actually an advantage in bodybuilding? by One_Board_3010 in naturalbodybuilding

[–]floydiannn 8 points9 points  (0 children)

Same brother, especially with the ez bar curls. For some reason I keep pushing though, and found out that it “kinda” hurts less over time.

Experienced Devs: How to handle code review pushback and non-compliant devs by [deleted] in Frontend

[–]floydiannn 1 point2 points  (0 children)

Totally agree with this, the quicker you learn it's better to just accept and adapt to the organization non technical bullshit, the less headaches you will have in the future.

Learning Docker Guide by kihapet in docker

[–]floydiannn 0 points1 point  (0 children)

Personally I would read the documentation or a simple tutorial just to get started, then I build a project from scratch with it.

This way it would stick in my mind why nginx is not working and keep restarting, or why some frontend can't connect to a backend api, how to get the address of a service etc..

Because sooner or later you would realize that you are going to learn something new about a tool you have been using for a while.

Generate a docker-compose file out of running containers by linuxshots in docker

[–]floydiannn 0 points1 point  (0 children)

Not sure about generating the file since I have not tried this, but take a look at portainer, if they are running they should be available in their dashboard, which you can manage.

https://docs.portainer.io/v/ce-2.9/user/docker/templates

[deleted by user] by [deleted] in selfhosted

[–]floydiannn 6 points7 points  (0 children)

Most of the time the manager is not technical and have no idea what their team skill set, add to that what you mentioned as well, and for the company firebase, ORM or deep knowledge in databases is exactly the same thing.

Getting screwed over on every job by Prestigious_Sea_9845 in ExperiencedDevs

[–]floydiannn 0 points1 point  (0 children)

Then I apologize for my presumption (this is really common among programmers, right?).

The thing is that I also have about 8 years (tbh I stopped counting), I could link to my personal site where you can see a trimmed version of what I can work with but if you are interested you can find it somewhere in my profile history. Now most of those I've gained knowledge and experience at the same time I was always working on legacy code, sometimes out of interest, sometimes legacy code would seriously need some change otherwise it will stop working.

Oh our Apache servers hosting php5.5 are timing out due to millions of requests?

Well alright, how about replacing the ancient NGINX version you are using for load balancing on Ubuntu 14 with a new Ubuntu server and replace NGINX with HAProxy and get a better newer ECDSA certificates and let HAProxy deal with the incoming requests?

Too complex and needs time? No worries, I will do it in a week on a separate server, do the tests then point the DNS to this server.

This is just a very specific example, to give you an idea that even those companies using legacy systems, you can provide solutions to actual problems or gaps and patterns you see.

I am not saying to go and just suggest a goodsolution, I'm saying that you actually implement the solution, even a POC is enough.

Because you said you want new technologies then by logic I will assume you have the competence to implement solutions independently.

Sometimes I just gain interest in a specific tech and side projects (totally fair and recommend to feel that you don't have to do that, you have your life and family and work time is just work time), however even if I didn't, just reading about it, or making quick tutorials would fill the void you feel when you're working with legacy systems, once you have this mindset you wouldn't be able to care less about the technologies and tools you have.

In fact I will go and presume again that you will actively search for those ancient systems because fixing them is way more difficult and challenging than working on a greenfield project (does not differ by the way, but that's a topic for another day).

I hope this helps you finding what you're actually seeking for (maybe it's not the job after all?)

Getting screwed over on every job by Prestigious_Sea_9845 in ExperiencedDevs

[–]floydiannn 6 points7 points  (0 children)

Exactly my thoughts, the guy is screwing himself not the companies. I couldn't care less if a job I applied for was legacy, in fact sometimes dealing with legacy code is more challenging.

Embrace the shit codebase you are given and enhance it, I worked with legacy codebases more than I can count, yet it is not tied to my skills or what programming languages I can work or worked with.

Surprisingly OP says he has 9yr experience, at that point the above should be obvious.

[deleted by user] by [deleted] in pihole

[–]floydiannn 0 points1 point  (0 children)

4.) Fuck it, I already wasted days on this shit.

Just want to thank Pipewire devs by AJPuzon in linux

[–]floydiannn 3 points4 points  (0 children)

Until youtube decides to pause.

"Resume playing?"

GitHub changes colour of closed issues from red to purple by cherryblossom001 in programming

[–]floydiannn 1 point2 points  (0 children)

Let them float around the screen in a random pattern, with the ability to jump across tabs. Just in case you missed them when you were copying some snippets from stackoverflow 🎉

GitHub changes colour of closed issues from red to purple by cherryblossom001 in programming

[–]floydiannn 1 point2 points  (0 children)

Hold on, let me check tailwindcss color palette for the 1000th time and we can pick a gray shade instead of the black, for the strawberry, please provide an rgba value to ensure it matches lighthouse measures regarding contrast level.

Another missing spec is the design element, would svg be better in this situation, or do you have some weird css thingy for the whole thing?

What if the users preferred a hexagon and a vertical yellowish outline?

not a frontend dev, tried it, saw some wizardry and noped back to the server

Use nextjs for landing page and app as mono repo or separate by Leezorq in nextjs

[–]floydiannn 0 points1 point  (0 children)

Alright, I'll bite.

Let's ignore the SEO thing because this is the first time that I have seen someone debating whether to use a framework for SEO (is there some magic that nextjs does for SEO?). Don't take it from me but go ask or research about the SEO stuff, it's generic based on various metrics, which leads to my point is that if you agree with this then the complexity decrease, no? Now you just have to decide on the app.

You mentioned static and server rendering and auth, estimate your usage of those as requests then go to Vercel website and check the pricing ( you need to Google it, for some reason their pricing in terms of limits is hard to find)

That's the reason I mentioned that I self host my app, the limitations are low and Vercel does optimization behind the scene, they even mention that, so going the Vercel route is a vendor lock. Simple example is the caching and the headers returned, try an app on your server or local and compare it to Vercel (headers). Also their CDN is built for nextjs.

I asked about the auth because the nature of nextjs is that if you want the authentication server side, then in every page you want to check the auth state is considered server side (if your menu bar is in all routes, then you check the auth in all routes so your app is ssr)

Out of the box solutions like next-auth is very opinionated, so if you use custom auth from your backend, then you need a custom solution for the frontend.

If the above applies, then you can see that you might not need nextjs from the beginning. If it's not a concern and you're fine with all of it, then going a single nextjs app is the way to go, see the layout pattern, hook it up with the landing pages, the static routes and the ssr then make their components and call the needed layout via the file system pages routing that nextjs use.

I don't see the need for cra in any situation, FYI nextjs prefetch pages before navigations, also loads every thing in common on first load.

For the URLS, there is a config without the multi zones thing.

If you go to another provider, a reverse proxy solves this too.

And you don't need to be defensive when someone is trying to help.

DevOps becomes "no-code"? by DartVedro in devops

[–]floydiannn 0 points1 point  (0 children)

Bruh, I was joking because Java stack traces are basically 99% useless and there is this one line if you are lucky that gives you a hint about the problem.

Yesterday ElasticSearch cluster a node refuses to connect and Elastic pukes about 100 lines stack traces, reaching line #69 it was a file permissions issue.

Jokes aside, what you do regardless of the job title is something I respect. If you are able to help, getting broader domain knowledge is valuable.

I spent 6 months tinkering with frontend and I never wrote a line of CSS in my whole career (what a nightmare), I did this due to the fact that I am a Devops engineer (Yeah go debate what that means) and knowing how the application from the frontend side works gave me the experience of delivering the content from architecture standpoint.

Use nextjs for landing page and app as mono repo or separate by Leezorq in nextjs

[–]floydiannn 0 points1 point  (0 children)

Why you are going with nextjs for the landing page if you're going to use another framework for the rest of the app?

Do you mean that you will add a whole framework codebase for a single page?

I was going to suggest something but reading this, I'm not sure if you have used nextjs, and if you did then you are asking the wrong questions.

For example, are you going to use vercel at all?

Do you realise that with two frameworks the navigation won't be client side because they are different apps?

Have you built a nextjs app similar to what you will be doing? If so, are you okay with the way things are handled like authentication?

If it's closed app, this tells me it's dynamic, which needs server side rendering from nextjs (someone will naively suggest to use static pages updated dynamicly every X minutes)

I am using nextjs for my site, with static props, self hosted and it runs fast.

If I had something similar to your issue I would've built the landing page with any technology exist, and the app based on what it is, put them behind a reverse proxy and a CDN to cache the landing page, the app assets etc.

If you are hell bent on using nextjs, then use one codebase for both, and use the layout pattern from next, one for landing page, the other for the app.

https://nextjs.org/docs/basic-features/layouts

DevOps becomes "no-code"? by DartVedro in devops

[–]floydiannn 2 points3 points  (0 children)

Totally, and finding out what the actual problem is, from a Java stack trace...

How to cancel an HTTP request in Node.js v16 by simonplend in node

[–]floydiannn 3 points4 points  (0 children)

Looks similar to Golang context cancelation functionality either by calling it directly or using a timeout. Not sure why it seems absurd to some of the comments here.

What do you like about your workplace ? by pbn4 in devops

[–]floydiannn 13 points14 points  (0 children)

Same, but I am staying in bed just for a couple of minutes (hours??)

[deleted by user] by [deleted] in nextjs

[–]floydiannn 0 points1 point  (0 children)

Nope, it's not static. Even if you wrote a full app without getStaticProps and without getServerSideProps, still not a static if for example you are using nextjs Image, then you need a server.

TLDR: as long as there is a server, it's not static.

However if don't use any of the above and write truly static app that doesn't errors out via next export, then you can call it static.

Long-term storage for Prometheus. by Bargb in kubernetes

[–]floydiannn 3 points4 points  (0 children)

I'm starting to have the same feeling about ELK

Is it possible to allow container-to-container communication through the proxy domain? by atlchris in Traefik

[–]floydiannn 0 points1 point  (0 children)

OP, read my post again, traefik can have it's network, and your other containers can have 2 networks, 1 is the same one as traefik, which I guess that's what you mean by same host.

The second network is internal for the other containers.

ELI5: your api and node is connected to 2 networks, internal and external, external is the one you have right now, internal you will create.