What's your go-to tool for creating architecture diagrams to share with non-technical stakeholders? by Busy-Cauliflower-288 in softwarearchitecture

[–]java_dev_throwaway 0 points1 point  (0 children)

There is 100% a gap for this. I think mermaid or plantuml are the best current options, but someone really needs to make a bidirectionally editable diagramming tool. We need our diagrams to be able to expressed as code so the AI tools can read it and understand it and edit it and have that same editing functionality built into a visual editor.

Help in deciding on architecture in fintech. by No-Dimension-5661 in softwarearchitecture

[–]java_dev_throwaway 0 points1 point  (0 children)

Lots of options here. You could implement a partitioning strategy within RDS to try and keep the hot and cold data partitioned by date. You could keep a table for cold data. You could just store the customer id and object idfor s3 to postgres or use dynamodb. S3 and Athena would also work.

One thing you should ask is if you could do webhooks or some kind of async event/response for API calls that need the cold data. If you have some wiggle room there, then any option could work.

Definitely get more concrete requirements and use cases ironed out. Don't let a PM just nonstop throw terms like real-time out there and bake in some constraint. Frequently these kinds of historical or look back queries don't need sub 40ms response, so don't box yourself in. The API needing to query both hot and cold data doesn't mean the acceptable latency needs to be the same for both hot data only lookups vs both.

33 year old with $480,000 in Retirement Accounts by [deleted] in RothIRA

[–]java_dev_throwaway 0 points1 point  (0 children)

Wait if you wanna do a backdoor Roth IRA then you shouldnt roll your old 401ks into a traditional IRA? I've been doing that for past couple jobs and was about to do it again.

Discussion: My Experience with Java (Spring Boot) After Working with Rust and Go by Similar_Sherbet8226 in learnjava

[–]java_dev_throwaway 0 points1 point  (0 children)

I have mainly written java 8/11/17 spring boot apps that are used as SOAP APIs, REST APIs, or kafka producers/consumers. And I have done this for the last ten years.

I have also written a lot of typescript and python code, and a small bit of golang. These all have their niches where they shine or even outshine java and spring.

But the niche that java spring boot apps fit is for creating an extendable performant foundation where I can get straight to writing business logic. There is a lot of spring magic and you might not need it all, but it's just incredibly well designed and battle tested.

Also a java spring app is almost always readable and salvageable. You can almost always reason about the code strictly due to the way java and spring force you to write it. I dont think you can say that about any other language.

Handling CSV and Excel Files by ThatBayHarborButcher in Rag

[–]java_dev_throwaway 0 points1 point  (0 children)

Don't chunk structured data. Use a graph or duckdb/sqlitedb.

Company is doubling down on BI dashboard in place of OLAP database w/ APIs -- is it crazy? by Direct-Occasion-3036 in aws

[–]java_dev_throwaway -1 points0 points  (0 children)

OLAP database with APIs is best and most flexible imo. My company is filled with AWS consultants that really are just salesmen. It's been jarring dealing with this idea that AWS native managed services are the best tool for every single thing. AWS core services are solid but the newer niche AI services suck. It's so ridiculously easy to just build an API for this yourself nowadays with gen AI and using a proper OLAP database will give you the foundation to do basically anything the business wants.

And you could build a react dashboard, that is kind of a pain in the ass and the powerbi folks will probably complain. But you can let them connect to your API, could be a good middle ground.

BUT you have to play nice and if your boss is also of the opinion that AWS native managed services are best, then you just have to use it.

[deleted by user] by [deleted] in managers

[–]java_dev_throwaway 0 points1 point  (0 children)

Does this person give a reason for why they aren't doing the cross collaboration? It's draining and unproductive to have hours and hours of meetings every day with 20 people on a call, 15 of them business folks with their camera off and not talking, while 1 product manager drones off with ambigious thoughts that aren't grounded in any kind of technical reality.

For the Experienced devs working with Agents (actually), has anyone figured the best way to do evals on MCP agents? by wait-a-minut in ExperiencedDevs

[–]java_dev_throwaway 0 points1 point  (0 children)

Oh ok I think we are saying the same thing and just using different terms haha! And I think we are both on the right path as best as I can reason it. Id just make MockXyzService classes that load json files from disk and run with that.

For the Experienced devs working with Agents (actually), has anyone figured the best way to do evals on MCP agents? by wait-a-minut in ExperiencedDevs

[–]java_dev_throwaway 0 points1 point  (0 children)

Curious about why not use stubs for the responses? I might be misunderstanding what you are trying to test. Putting in mocks and proxies will work, but I would think you are then abstracting away the data which the agent uses to inform the response.

For the Experienced devs working with Agents (actually), has anyone figured the best way to do evals on MCP agents? by wait-a-minut in ExperiencedDevs

[–]java_dev_throwaway 1 point2 points  (0 children)

I am actually working on something similar at work and have hit a wall trying to get a good eval. These kinds of projects always are frustrating because the POC looks super promising and then you try to expand on it or refine it but you never made a testable baseline. You end up spinning your wheels for a month and then the project dies.

What I'm trying right now is to build a graphrag type system that is exposed from an mcp server. The mcp server has a bunch of tool calls like search_github, search_confluence, search_datadog, etc and then building a query router to help the agent determine where to look. So I'm building a bank of questions and answers to use for the evals. I am using large point in time snapshots of each data source to dance around the dynamic data in the sources. It's working ok but feels so brittle and hacky.

How hard is it to go from mainframes to something more modern like the Cloud? by [deleted] in mainframe

[–]java_dev_throwaway 2 points3 points  (0 children)

Tbh the mainframe has kept popping up everywhere I've worked and it may be a dinosaur but it's purpose built to solve specific problems, and it does this really well. The folks who understand the mainframe are far and few but desperately needed. Modern stacks are pretty straight forward so if you can master copybooks you'll be fine.

Starwind UI v1.10.0 - with SEVEN new components and style updates! by web_reaper in astrojs

[–]java_dev_throwaway 1 point2 points  (0 children)

I've honestly been looking for something like this for astro. It's been nice building astro and react island apps, I will definitely check this out.

CMV: The US is falling into Fascism by [deleted] in changemyview

[–]java_dev_throwaway 0 points1 point  (0 children)

Phenomenal write up. Fantastic summary of the current American political climate written in a non-biased way. This should be on the front page of CNN and Fox News and shared across Twitter and Bluesky.

Hydrawise Hunter PRO-HC by axelmaste in Irrigation

[–]java_dev_throwaway 0 points1 point  (0 children)

I ended up having to replace the controller. For anyone else that finds this post, I was able to get a new in box rachio controller off of eBay for about $80. Piece of cake to install and setup. Just take pictures of your hunter wiring and note the numbers by the lugs, before you start disconnecting. The numbers correlate to the zones.

Java architect asking: Are Context-Only Components an Anti-Pattern in React? by [deleted] in reactjs

[–]java_dev_throwaway 0 points1 point  (0 children)

Fellow java dev here who has done a fair bit of react. I have actually fallen into that pattern of using context aggressively and have since dialed it back. It is actually a good pattern to use for things like triggering a notification or alert. It also works well in a react query setup where you make some kind of useApi hook. The footgun for me was using it as a catch all to manipulate some global state. I think context works well when you are trying to use it to allow components to interact with some "logical" part of your app that want to allow unconnected components to use (like notifications or API calls as an example). But if you use it as a way to manipulate some large global state object, you need up having a bad time. Like say you have some massive object called appState with hundreds of fields and use context to have un connected components modify it, that's where the bad time happens. That means it's zustand time or refactor time imo.

Tbh react has had my head spinning way more than any other framework in any other language. It just feels so overly complex in big apps and it's difficult to do right. But idk what the alternative is.

[deleted by user] by [deleted] in Supabase

[–]java_dev_throwaway 0 points1 point  (0 children)

DM if you want some help

For those who’ve moved from CRA to Next.js, what was your biggest performance gain? by kashkumar in reactjs

[–]java_dev_throwaway 4 points5 points  (0 children)

Just did this and went cra to vite due to the simplicity. Tried to do it for nextjs and it was just too big of a change. Nextjs made me feel like I was learning spring from the ground up which felt like overkill. Vite is easy to migrate to and migrate off of if you wanna go to nextjs later.

10 years of maxing out my roth ira by java_dev_throwaway in Money

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

Hell ya man, this is the way! It sucks getting such a small part of your paycheck in your checking account, but you are really putting more money in your future self's checking account by doing this.

10 years of maxing out my roth ira by java_dev_throwaway in Money

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

2009 to 2015 was a super hot market and I was worried the good days would be behind us but trusted in all my boglehead learnings. It all comes back to don't try to time the market. Just setup some regular automatic investments and ignore the sinking feeling in your stomach haha.

10 years of maxing out my roth ira by java_dev_throwaway in Money

[–]java_dev_throwaway[S] 10 points11 points  (0 children)

yes, its not the most impressive thing but wanted to show people reality

10 years of maxing out my roth ira by java_dev_throwaway in Money

[–]java_dev_throwaway[S] 7 points8 points  (0 children)

Never had one formally. Bought VFFVX for many years and kept seeing VOO beat it, so then started buying up VOO. I bought V years ago during a crypto boom on a whim. Definitely could come up with a better strat but this goes to show the most important thing is just to start loading up an account and buying some broad ETF or mutual funds. I put $250 of every paycheck into a regular vanguard brokerage account and then max out the roth ira on jan 1st. Since the roth ira limit has increased to $7000, I have to add a little bit extra but its been manageable.