this post was submitted on 29 Mar 2025
537 points (98.9% liked)

Bluesky

1241 readers
28 users here now

People skeeting stuff.

Bluesky Social is a microblogging social platform being developed in conjunction with the decentralized AT Protocol. Previously invite-only, the flagship Beta app went public in February 2024. All are welcome!

founded 6 months ago
MODERATORS
all 44 comments
sorted by: hot top controversial new old
[–] HakFoo@lemmy.sdf.org 118 points 2 months ago (1 children)

500% of every "replace the legacy system" project is even discovering what the legacy system does.

There are no specs. Well, they are, but they're wrong and onsolete, and never encompass use cases that you didn't even know were going on and only appear when you switch over and people scream that the tools that use an embedded copy of Opera for the Nintendo Wii to access their financial services break.

[–] Evotech@lemmy.world 6 points 2 months ago* (last edited 2 months ago) (1 children)

Yeah, currently going through this with a legacy authentication platform. 100% correct

But, if you are willing to just break everything and fix only the parts that you realize as important afterwards, and not offer any compromises or solutions to legacy shit. You can just replace it quickly. I think that's what is going to happen here.

If things are actually broken, things get fixed a lot quicker than if you tell people you are going to slowly migrate out.

[–] ChokingHazard@lemmy.world 1 points 2 months ago

This is the right way to do any of those migrations. Insisting on absurd legacy capabilities is one of those things people will say it’s important and want to bill for but adds no value. Just load archive data and start fresh with the workflows that are still pertinent.

[–] arotrios@lemmy.world 63 points 2 months ago* (last edited 2 months ago) (1 children)

I work with a ten year old Access database I'm trying to migrate to SQL. Should be easy, right?

Except it's got over 170 macro driven subquery chains accessing multiple legacy ERP systems, is the only source of their KPIs (these legacy systems can't generate them on their own), and is the only system that can publish the KPIs to the multiple Sharepoint lists that the entire company relies upon.

Despite the fact I have over 20 years experience migrating legacy systems, it's taken me close to a year to track down all of the dependencies, and this system is built in an easy language (SQL vs COBOL), is a tiny fraction of the size of the SSI databases, and is 30 years younger than the systems running social security (at least).

There is absolutely no way they have any chance of modernizing the social security system in under five years. It would take at least a decade to do it properly.

DOGE won't just break the system. They will fuck it up beyond all belief, to the point where it will never work properly again.

If you're on Social Security, be ready for payments to just stop. Expect it. It's their end goal.

And pray the last administration took backups.

[–] Xraygoggles@lemmy.world 7 points 2 months ago (1 children)

You up to talk shop? I'm staring down the barrel of a similar task I've been putting off until I have a puzzle mood type of day. But also worried about doing it well because there's definitely more. How do you usually start to approach migrating legacy systems?

Access SQL is just slightly different syntax to what I know, I can usually translate but it's slow because it's all one big block. I started by using PowerShell to dump all the objects and query text into Excel so I could find all the connections. Some broken down at some point so half the data is on the server. This thing serves as kind of like an ETL tool and they have two access DBs for front and back end seems like, using data from server, file system, local access tables. There's a bit of looks like VBA in there too propping up the forms.

What thread do you pull first to unravel the Gordian knot? Access is a bit out of my wheel house. Bravo to the cowboy business users who were able to get the job done, but it's hard for me to parse and of course they are retired so no SME to speak of.

Lend me your wisdom, please.

[–] arotrios@lemmy.world 5 points 2 months ago (1 children)

You're on the right track, but I wouldn't use Excel for the query text as it's going to want to break up your statements.

What I did was use a VBA module to pull out all of the queries into a master .txt file, then converted it a .sql so that Notepad++ could highlight the statements for me to help with readability. This serves as a master query library, allowing text searches of field and query names (Notepad++ has an excellent search tool).

For conversion from Access SQL to regular SQL on the queries, it's usually pretty easy, but tools like this can help.

Second step is to break out your macros and list the query chains as your primary goalposts for creating SSIS jobs (because you'll likely want to be able to automate those queries in your new system). Note that it's very likely that you'll also need to walk down through each query to find additional subquery chains embedded in the top level query coding.

Tables are usually a snap - you can just do a 1 to 1 import by the SQL Workbench import tool to bring it in directly from the .mdb (or .accdb).

For forms, right now I'm looking at PowerApps just because I'm working in a Microsoft shop, but depending on your final architecture, anything that interacts with SQL should do the trick.

The reason they have a frontend and backend database is because once older versions of Access hit 2gb, it starts to crash. If you're getting crashing issues and your backend is nearing or over 2gb, you're likely hitting this limit (likes to throw a 2950 error). It can be resolved by moving your larger tables to a new Access database and then using the Linked Table manager to retarget the new tables and fields. The one I deal with has had to go through this process four times - it's got 5 backends.

Also, if your frontend is in a different location than your backend, putting them in the same directory will drastically improve your load times.

Hope that helps - good luck!

[–] Xraygoggles@lemmy.world 3 points 2 months ago

Yes this is tremendously helpful! The syntax highlighting alone is going to make this much easier. I totally overlooked this, but it's clearly a winner. Even just having the vocabulary for a few of these things feels like an incoming boost.

We are big on Microsoft too, so power BI and power apps is the destination. I'm coming around to these tools, if nothing else it gives some visibility so they can't loom in the shadows like these Access leviathans.

Really appreciate the time, and on the weekend no less. Have a great one.

[–] Treczoks@lemmy.world 47 points 2 months ago (2 children)

Of course this will fail. Everyone with a recognizable skill level in programming will tell you that. That's why Musk probably uses kids that have not achieved the necessary skills to know that.

Good that this is not my social security system they are breaking, and the biggest threat to me is me overeating on popcorn.

[–] whoisearth@lemmy.ca 22 points 2 months ago

Canadian here and agree to a point but rest assured they're coming for you. That shit stain Elon has already weighted in on our elections as has Trump.

Ain't no war but a class war and right now we are losing.

[–] zyberteq@lemm.ee 14 points 2 months ago* (last edited 2 months ago) (1 children)

But that's why he has kids running the place. They think they can do it in a few months. Never going to happen. But they have confidence and that's what matters, not skill or common sense.

[–] LovableSidekick@lemmy.world 4 points 2 months ago (1 children)

Even as a software dev with decades of experience I still chronically underestimate projects by like half, and even I agree the idea of replacing the social security data processing system in under a year is ridiculous.

[–] Feyr@lemmy.world 2 points 2 months ago (1 children)

I solved that estimation problem years ago.

Now I double all my estimates and then add 20pct for slack

[–] LovableSidekick@lemmy.world 2 points 2 months ago (1 children)

LOL I've heard a rule of thumb to double it, also to quadruple it, and one guy said multiply it by five.

[–] debil@lemmy.world 2 points 2 months ago

I usually take a realistic estimate and multiply it by π.

[–] LovableSidekick@lemmy.world 23 points 2 months ago* (last edited 2 months ago) (2 children)

Even if the plan it not to touch the COBOL code and replace the whole system with a new one written from scratch, a timeline of several years would be incompetently naive. Proposing to do it in months is just idiotic. [software dev, 40 yrs exp)

[–] madcaesar@lemmy.world 8 points 2 months ago (2 children)

This needs months of PLANING, let alone development, then double the time for testing.

[–] LovableSidekick@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

Don't forget to add time for reorgs and launch events.

[–] Agent641@lemmy.world 2 points 2 months ago (1 children)

You don't need planning when you're Vibe coding 👌

[–] trumpetmouth@lemmy.world 1 points 2 months ago

skibidi, fam. throw that rizz on 💯

[–] merc@sh.itjust.works 2 points 2 months ago

The smart way to do it would be to develop a system in parallel and have it "shadow" the real system, doing all the same calculations and transactions and seeing if it comes up with the same results. Any time it doesn't, that's a bug that needs to be fixed.

You could probably get a system that got 90% of the way there in maybe 5 years. The other 10% is going to take at least another decade.

The problem is that vulnerable people depend on the existing system, and sometimes on what might be considered to be "bugs" in that system. A thoughtful process would have to find a way to ease them into a new system, or to grandfather their cases in and let them keep benefits until they died. But, with DOGE asshats in charge, they'll just treat a few old people losing their homes or starving to death to be just a small cost to be paid in the quest to become more "efficient".

[–] zorflieg@lemmy.world 17 points 2 months ago

A software dev friend of mine works in autonomous vehicles. He is certain a Tesla cannot reach an acceptably safe full safe driving level without lidar and it's widely known in the industry. But they push on anyway. They don't care. They will say or do anything to achieve their goals.

[–] BestBouclettes@jlai.lu 17 points 2 months ago (1 children)

"Oh no, we broke that, shame the backups didn't work, whoopsies"

[–] sundrei@lemmy.sdf.org 14 points 2 months ago

unless they want to destroy social security.

👆 😜

[–] j4k3@lemmy.world 13 points 2 months ago (5 children)

We should be asking about what the military generals think about all of this.

[–] Serinus@lemmy.world 6 points 2 months ago

The ones that were fired and replaced?

[–] alaphic@lemmy.world 5 points 2 months ago (1 children)

"General Kenobi - You served our farher during the clone wars...Help us Obi-Won Kenoni. You're our only hope."

[–] j4k3@lemmy.world 1 points 2 months ago

"Play Cataclysm DDA you must. The AAA guide is the gateway."

[–] tigeruppercut@lemmy.zip 4 points 2 months ago (1 children)

The only opinion that matters is senior official Big Ballz.

[–] j4k3@lemmy.world 4 points 2 months ago

Military always holds the power to overturn if it is chosen. It rarely results in improvements in the long term.

[–] betterdeadthanreddit@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

Maybe invite a journalist into a secret meeting or two while we're at it. Clearances are so last millennium.

[–] Diplomjodler3@lemmy.world 3 points 2 months ago (1 children)

Nothing. Hoping for the army to fix things is really deluded.

[–] j4k3@lemmy.world 3 points 2 months ago

How they respond is the difference maker in any end game

[–] superkret@feddit.org 12 points 2 months ago

spoiler: They want to destroy social security.

[–] jjjalljs@ttrpg.network 10 points 2 months ago

We should execute doge. They are doing violence to all of us

[–] jagermo@feddit.org 6 points 2 months ago

Musk and Thiel have their indentured servitude startup ready to go,it seems.

[–] Sam_Bass@lemmy.world 2 points 2 months ago

"unless'...

[–] GoodOleAmerika@lemmy.world 2 points 2 months ago

Well guess we don't have to pay for social security.

[–] Melatonin@lemmy.dbzer0.com 1 points 2 months ago

I took a college COBOL class in 1979. I had to write my program out on stacks of punch cards. Had to stand in line at the computer center for the grad students to run it on the University computer. They just gave you a "it ran" or "it failed" and a printout on sheets of those endless rolls of papers with perforations and holes on both sides?

Good times.

[–] 0p3r470r@lemm.ee 1 points 2 months ago

Can they stream this migration? It would be a solid revenue stream for a long time

[–] Darioirad@lemmy.world -5 points 2 months ago (2 children)

I don't get it..The old system is written in cobol, it stores data in a complex way built apoun years, and fo this reason to do simple thing its a pain in the ass ok. So one have to design a new system, with a "modern" technology approach, that doesn't need to be similar to the old, it has just to be good, safe easy to maintain. Then populate the new database from the Cobol's one (i have to know which kind and type of data i need in my new current system). run and test the new system as soon as everything works fine, then shutdown the old one. In the end it s not just extract all the data and inject it in the new system? Am i missing something?

[–] monkeyslikebananas2@lemmy.world 11 points 2 months ago

I’m assuming you have never done any of those things. So yes, you’re missing quite a bit.

[–] jj4211@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

It's theoretically possible that the code we are speculating on is more straightforward than we presume, but it's highly unlikely, particularly given how long lived there code is and, well, it's government and they rarely let things be simple.

The bigger question is what is the upside? This core system does the job. There's risk without any apparent benefit other than "this stuff seems old". Sure they can get away from IBM as the sole vendor of the hardware and software stack that can run it, but it's not with it.

This is awfully similar to how, upon getting control of PayPal, he declared they were going to modernize off of that old unix stuff onto slick new windows servers, and it was a disaster that had to be undone, among the various "leadership" moves that got him pulled from decision making at PayPal.