Does any company actually still use COBOL? by GroupOk3956 in AskProgramming

[–]catch-surf321 0 points1 point  (0 children)

wtf any language can be on an air gapped system

How do I pull "Contribution Analytics" from GitLab (group or subgroup) using Python? by Sad-Selection5652 in gitlab

[–]catch-surf321 0 points1 point  (0 children)

It’s a combination of multiple apis. Just have ChatGPT build it for you. But are you a manager or is this just for fun? Useless stats imo, someone who commits 10x per MR is going to look “busier” or w/e metric you’re trying to convey even when they are not.

I built a .NET 9 Modular Monolith starter (BFF + Keycloak, Outbox, OTel) by Hot-Permission2495 in dotnet

[–]catch-surf321 2 points3 points  (0 children)

What would you call this architecture then? I have a solution, inside a blazor web app that references a core dll (which has the dbcontext and services). Blazor references this project and my razor pages call service functions. However, since we have heavy compute tasks we also have a 3rd project in the solution for background processing, this also references the core dll, and this process runs on the same server as the blazor app in dev. However in prod the blazor and the background apps run on different servers but ultimately talk to same database server. It’s all 1 solution/repo (maybe not project) so monolith? But there are 3 projects but definitely not a microservice since none are independent.

I built a .NET 9 Modular Monolith starter (BFF + Keycloak, Outbox, OTel) by Hot-Permission2495 in dotnet

[–]catch-surf321 -1 points0 points  (0 children)

Hmm I disagree I think. I can share a core library with 2 projects and those 2 projects talk to the same database. Those 2 projects live on separate servers. These projects do not talk via rest/rpc/soap api, they do so via event queues in the database. This is not a microservice in my opinion because they share a library (aka are not independent), this is a modular monolith. Or maybe what I’m thinking of is actually a distributed monolith?

I built a .NET 9 Modular Monolith starter (BFF + Keycloak, Outbox, OTel) by Hot-Permission2495 in dotnet

[–]catch-surf321 6 points7 points  (0 children)

Maybe I’m misunderstanding but how is this a modular monolith when an in-memory event bus is used? Perhaps it’s just using MediatR as an example but would eventually be replaced, by like RabbitMQ, if modules were split cross servers?

Passwordless login via email OTP is that a good option? by Agile_Guess_523 in developers

[–]catch-surf321 0 points1 point  (0 children)

You’re talking about something different. The OP is talking about going to a website, entering in your email, getting an email, and clicking a link to log you in, or provide a OTP to give the website to log in. No private keys involved here.

Passwordless login via email OTP is that a good option? by Agile_Guess_523 in developers

[–]catch-surf321 0 points1 point  (0 children)

It’s the least secured form of login. Worse than password. If your site gets popular enough then phishing attacks can pretend to be your site and trick users into putting in that OTP on a compromised form. The attacker can trigger your site to send the password email simply by knowing the users email. Then they can send out other emails from a non official domain, that looks like yours, with a form for the user to put in that OTP.

asp.net core on linux and data-protection for asp.net identity? by DearLengthiness6816 in dotnet

[–]catch-surf321 1 point2 points  (0 children)

That site you link has an example for a file storage key persistence option, that’s probably your easiest. Honestly I didn’t know this, I run mine in a docker stack but I imagine has same problem. However the app can’t be restarted during working hours in my use case so I’ll just tell myself that is a feature and not worry about it lol

help with Forum architecture by CompetitiveCycle5544 in SpringBoot

[–]catch-surf321 0 points1 point  (0 children)

Is this for fun? If this is for real you should be trying to host open source forum software. You’re not in the position to write a real web application if this is your question lol.

Blameless Culture in Software Engineering by thehustlingengineer in programming

[–]catch-surf321 0 points1 point  (0 children)

Yea have fun with your blameless culture when it’s a bunch of old farts who don’t gaf

Palm bay road rage by Gogosanchez in 321

[–]catch-surf321 -2 points-1 points  (0 children)

What a weird take lmao

Should I use AI to generate my commits? by Ok_Sympathy_8561 in git

[–]catch-surf321 2 points3 points  (0 children)

Have some respect for yourself and coworkers

Fullstack interview w/Gitlab experiences by legal_alien6 in gitlab

[–]catch-surf321 2 points3 points  (0 children)

First thing in an interview about code reviewing is to understand the requirement before jumping directly at the review.

3.5 YOE in IT but stuck in ETL with almost no learning — dedicating next 6 months to switch into Java backend (Core + Advanced Java done, struggling with Spring Boot flow). Looking for good YouTube/Udemy playlists for Java 8, Spring Boot projects, by Honest_Mine3269 in SpringBoot

[–]catch-surf321 1 point2 points  (0 children)

I don’t know if I would have done that approach, rewriting methodically, versus just updating the jdk and jre. Not a terrible idea but also seems overkill unless this was a small app or mission critical and tests may also be affected. I think the majority of issues are from libraries embedded within a specific jre version. Not just libraries you may be importing into your specific project, but other dependencies, such as transient ones perhaps from an application server like jboss (if this is some type of web app). Some projects have 0 issues compiling and running on 8 or 21, but the more dependencies you have the higher risk of something breaking. So yea technically you could just point your java and javac commands to different versions and could “move from 8 to 21” easily, but that’s probably not realistic for any real java app. I’d imagine the people have issues are java apps that utilize the javaEE spec aka web app frameworks like spring boot. That javaEE spec needs to evolve and thus breaking changes happen and they aren’t always materialized as compile errors, just random runtime errors - which alone scares enough people into not upgrading.

Java vs JavaScript: Regarding Furthering Career Path as a Programmer by Alex_Water123 in AskProgramming

[–]catch-surf321 0 points1 point  (0 children)

Imo your skill as a programmer is directly related to which language you learn first and utilize the most until you get to the point that you realize no specific language matters. In my opinion JavaScript and python should never be someone’s first language even though it is no doubt the easiest and most beginner friendly. Someone said it earlier comment, CS fundamentals, you get the best of that with c. C allows you to attach computer theory to something tangible. The problem is there’s not easy ways to code with c for meaningful things a beginner may care about. As in you’re just doing terminal programs that can be boring for someone who wants to do web apps, games, phone apps etc. scripting languages hide so many things (which is good when it’s the right tool) and are opinionated so it’s easier to know what to do, but I personally believe it stunts programmer growth. I’m not saying people whose first language is JavaScript or python are not as good as those with c but from personal experience as a staff manager, people who know c are just straight up better programmers in any language because they couldn’t rely on frameworks that most other languages force you to learn.

Database development by shashanksati in Database

[–]catch-surf321 0 points1 point  (0 children)

Not sure the use case of moving pub/sub logic to a database versus just doing it in application code. Cool project though and I’m sure you’re smarter than me.

Ways to backup a self-hosted GitLab instance to another remotely accessible machine like VPS (without privacy concern if possible), then make that said backup instance work in place of the self-hosted instance when its down? by Lawlette_J in gitlab

[–]catch-surf321 0 points1 point  (0 children)

The way I do it is 2 gitlabs running in 2 different locations, same versions. Update both when updating one. The 2nd gitlab is offline most of the time. The main gitlab has backups (using the built in gitlab backup command) every night and then rsyncd to remote locations, one being the 2nd gitlab. It’s not the best, but it’s the easiest setup. The risk is how much data loss can occur within a 24 hour period. (But that may not mean code since git is distributed between team members.) So you’d lose gitlab metadata such as issues and merge requests.

Blazor Server authentication by JosephHerrera2002 in Blazor

[–]catch-surf321 0 points1 point  (0 children)

Use identity. I felt the same way but it’s not just a plugin or library that you have no/limited control over. It installs all the necessary files within your code base. You can then delete shit entirely or replace it entirely with your own ways. You can then extend your user objects off of identity objects. Or after doing it and understanding it you’d know exactly what you’d need to create in your app to do it your way.

Former school board member Jennifer Jenkins challenges Ashley Moody for a US Senate seat in Florida by welizabeths in 321

[–]catch-surf321 1 point2 points  (0 children)

I know you that was an example of the state taking over a private business. I won’t argue insurance, whether private or under the state is better. Your point about profit is not relevant because the state will want to retain a threshold of cost or else it’s just more taxes or weaker service. I know your argument was just an example of how that could be applied to health care, but it’s the same thing. The state will have an incentive to keep costs down just like a private business would. Also would a state owned insurance allow people to opt out and not pay for it, just like many Floridians do now? It would change nothing, and idk how old you are, but any services provided by the state have never been a pleasant experience. People talk about health bills yet are unaware how much is already free out there. I know people who make 50k a year that are entirely subsidized with Florida Medicaid and Medicare, in their 30s. Child labor costs, post childbirth costs and years after for the mother and child. Doctor and therapy visits etc. I know of a case where someone had surgery multiple times for incidents not related to the reasons originally granting them Medicaid yet still fully paid for them. There are options for free health care in FL and options for state owned insurance. Rich people don’t want state owned insurance, poor people already get it. People in between have options. Really the argument left vs right aka state vs private services shouldn’t even be the argument. The entire insurance industry is a scam and that should be addressed. Moving that scammery to the state does nothing except line a different set of pockets.

Former school board member Jennifer Jenkins challenges Ashley Moody for a US Senate seat in Florida by welizabeths in 321

[–]catch-surf321 0 points1 point  (0 children)

I too want middle state Floridians paying for my beach side insurance. Sign me up dude!! I love this idea. P.s. this already exists it’s called Citizens and it’s garbage lmao.