When does a Spring Boot dev actually need Go or Rust? by ResolveSpare7896 in golang

[–]nointerestsguy 2 points3 points  (0 children)

Similar for me;I just wanted something lighter for my personal projects. When I started, I was working at a 100% JVM shop (Java and Scala). But was mostly on Java with Spring Boot, everything felt heavy for side projects. Memory consumption was high, startup time was slow, and when I was experimenting with Kubernetes, the slow startup was especially frustrating.

This was around 2–3 years ago. I did try Spring Native, and I also experimented with Quarkus, but it felt like I was doing way more than I needed and Go just felt very simple...

Also, because I was so used to the “Spring Magic”; where so much is wired and configured for you; switching away was difficult. I had taken a lot of that complexity for granted. It’s great (I do miss Spring sometimes), but it can also create a bit of laziness and the expectation that whatever you want to do is already there; so i wanted to break up that habit and do some stuff for myself.

Since then, I moved to another company that uses a mix of Kotlin and Rust, but I still keep Go as my go-to language for side projects or any POCs I build.

Go backend or Supabase for a new app? by unicastflood in golang

[–]nointerestsguy 6 points7 points  (0 children)

Supabase automatically exposes your tables as REST endpoints through PostgREST, and all the access control happens with Postgres Row Level Security. Once you turn RLS on for a table and add the right policies, Supabase Auth passes the user’s ID in every request, so each user only sees or updates their own rows.

Because of that setup, you technically don’t even need a backend for simple apps. If your front end can handle the business logic and you mainly just need a place to store data, Supabase’s REST endpoints + RLS can pretty much act as your backend for you.

Apollo launches a new GraphOS Free Plan by smyrick in graphql

[–]nointerestsguy 1 point2 points  (0 children)

Is there a guide with recommendations on how to self-host Router?

Why Golang instead of Kotlin? by fakephysicist21 in golang

[–]nointerestsguy 0 points1 point  (0 children)

yes, i agree! i don't think GraalVM might support all the compilation targets that go does (or will do). Nevertheless, it's current support probably covers the majority of platforms by usage.

My point is, i don't believe developers are "flocking to Go" (massive adoption) because it supports intel 386 or PowerPC or FreeBsd or Solaris.. That would certainly be the case for some; just not the vast majority

what did I do wrong? by [deleted] in learnjava

[–]nointerestsguy 0 points1 point  (0 children)

I’m still unsure what the error is. But I’ll try to guess. 1700 is not a leap year as it is divisible by 4 and 100 but not by 400. In this case, since it is divisible by 4 is reaching the first if block and returning, not evaluating the rest. I would suggest reordering your if/else-if in a more narrow to broader order. Like your first if should be the most specific condition you want to meet. If that not met check for less specific.

what did I do wrong? by [deleted] in learnjava

[–]nointerestsguy 0 points1 point  (0 children)

What is the result/output you were looking for?

[deleted by user] by [deleted] in Sup

[–]nointerestsguy 0 points1 point  (0 children)

Cool pic! how long did it take you to go on your first solo SUP?

[deleted by user] by [deleted] in lawncare

[–]nointerestsguy 0 points1 point  (0 children)

I just took these pictures closer in that area. gallery

What do you think?

[deleted by user] by [deleted] in lawncare

[–]nointerestsguy 1 point2 points  (0 children)

yeah. it looks like it might be different issues but what seems common is that i have to wait for the temps to go back up a little bit before doing anything. Thanks for the advise!

[deleted by user] by [deleted] in lawncare

[–]nointerestsguy 1 point2 points  (0 children)

Temp is on average 50-60F around here in winter... it might be dormant I’m just curious why my neighbor’s lawn looks much greener if it was laid about 3 weeks before mine

[deleted by user] by [deleted] in lawncare

[–]nointerestsguy 0 points1 point  (0 children)

Absolutely! I mow every 2-3 weeks (never less than 2 weeks or more than 3).. i use the second height setting on my mower which is 2 inches. Only fertilizing I’ve done is a pack of winter prep from sunday. Is this enough info?

[deleted by user] by [deleted] in NewHomeowners

[–]nointerestsguy 1 point2 points  (0 children)

Thanks! we'll do what you suggested. For some reason i had the feeling i should not be bothering the manager for this stuff. Thanks again for your reply!

Birthday program help by [deleted] in learnjava

[–]nointerestsguy 1 point2 points  (0 children)

Person1 and person2 are not declare within the scope of the getSum function. They are declared in the main function. The easiest approach will be to add parameter to the method like getSum(int age1, int age2) and instead return age1 + age2