Click here to Skip to main content
15,885,930 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The CodeProject site will be offline for a short time this evening. Pin
jeron13-Mar-23 9:01
jeron13-Mar-23 9:01 
GeneralRe: The CodeProject site will be offline for a short time this evening. Pin
honey the codewitch3-Mar-23 7:15
mvahoney the codewitch3-Mar-23 7:15 
GeneralRe: The CodeProject site will be offline for a short time this evening. Pin
Chris Maunder3-Mar-23 7:17
cofounderChris Maunder3-Mar-23 7:17 
GeneralRe: The CodeProject site will be offline for a short time this evening. Pin
OriginalGriff3-Mar-23 9:29
mveOriginalGriff3-Mar-23 9:29 
GeneralRe: The CodeProject site will be offline for a short time this evening. Pin
PIEBALDconsult3-Mar-23 7:35
mvePIEBALDconsult3-Mar-23 7:35 
GeneralRe: The CodeProject site will be offline for a short time this evening. Pin
0x01AA3-Mar-23 9:47
mve0x01AA3-Mar-23 9:47 
GeneralRe: The CodeProject site will be offline for a short time this evening. Pin
Slow Eddie4-Mar-23 2:53
professionalSlow Eddie4-Mar-23 2:53 
RantHow bad of an idea is this? Pin
Sander Rossel3-Mar-23 4:34
professionalSander Rossel3-Mar-23 4:34 
So I'm on this project where everything is done using a no-code platform.
The platform itself is the worst of the worst, but the company who made it is my customer (or employer if you well, I'm a contractor for them).
The company I'm working for is great (so the customer of my customer), but unfortunately everything has to go through this no-code platform (they get paid by the task! Dead | X| ).

So anyway, it works kind of like a queue.
A task starts, either manually (called from code) or automatically (through a timer), and is then queued.
The problem is, the queue is not persisted, so if the server restarts or anything else happens, the queue is empties and your tasks won't run.
Because of this, every task is triggered by a timer and all data a task needs is persisted to a database.
Things get convoluted pretty quickly...
They have a WebForms (VB.NET) front-end so we can run everything in code just as easily, but they have to be tasks in the no-code platform Cry | :((

The thing is, we now have a simple super unnecissarily complicated import and export functionality.
The import is easy enough, every ten minutes I get all changes from the last ten minutes using an API and merge them in a SQL Server table.
The export is more difficult, as everything I want to export needs to be stored in the database (because of the non-persisted queue).
Now my employer wants to do this in the same table as the import WTF | :WTF:
So we have our table, SomeEntity, which contains entities, but which also contains jobs for the export.
The difference between the two is a column which specifies if it's "FROM" or "TO" the other system.
So if you now want SomeEntity you'd have to query like "SELECT Fields FROM SomeEntity WHERE ... AND Destination = 'FROM'"
If you forget the Destination filter you'll get all export rows as well, which you never want as they're basically one-off queue items Dead | X|

ALL of this is really super bad already, but apparently they've found ways to make it worse Dead | X|
I advised against it, but this is just the way they (want to) work and my opinion mattered little.
As you can imagine this is just the tip of the proverbial iceberg.

I want to tell my customer's customer just how screwed they are, but professionality is keeping me from screwing over my own customer.
Won't work anyway as the CEO's are school friends and they've been doing business for something like twenty years already.
Only a few more weeks and I'm done with this job, it's just not worth the money (no amount of money is!) Sigh | :sigh:

GeneralRe: How bad of an idea is this? Pin
Richard Deeming3-Mar-23 4:57
mveRichard Deeming3-Mar-23 4:57 
GeneralRe: How bad of an idea is this? Pin
Sander Rossel3-Mar-23 5:15
professionalSander Rossel3-Mar-23 5:15 
GeneralRe: How bad of an idea is this? Pin
Slow Eddie4-Mar-23 3:01
professionalSlow Eddie4-Mar-23 3:01 
GeneralRe: How bad of an idea is this? Pin
Richard Deeming5-Mar-23 21:26
mveRichard Deeming5-Mar-23 21:26 
GeneralRe: How bad of an idea is this? Pin
Mike Hankey3-Mar-23 5:09
mveMike Hankey3-Mar-23 5:09 
GeneralRe: How bad of an idea is this? Pin
Sander Rossel3-Mar-23 5:14
professionalSander Rossel3-Mar-23 5:14 
GeneralRe: How bad of an idea is this? Pin
Gerry Schmitz3-Mar-23 5:41
mveGerry Schmitz3-Mar-23 5:41 
GeneralRe: How bad of an idea is this? Pin
jschell6-Mar-23 7:22
jschell6-Mar-23 7:22 
GeneralRe: How bad of an idea is this? Pin
PIEBALDconsult3-Mar-23 7:33
mvePIEBALDconsult3-Mar-23 7:33 
GeneralRe: How bad of an idea is this? Pin
Daniel Pfeffer4-Mar-23 7:29
professionalDaniel Pfeffer4-Mar-23 7:29 
GeneralRe: How bad of an idea is this? Pin
PIEBALDconsult4-Mar-23 7:30
mvePIEBALDconsult4-Mar-23 7:30 
GeneralWhere do I go to permanently update my signature? Pin
MarkTJohnson3-Mar-23 3:57
professionalMarkTJohnson3-Mar-23 3:57 
GeneralRe: Where do I go to permanently update my signature? Pin
Mike Hankey3-Mar-23 4:01
mveMike Hankey3-Mar-23 4:01 
GeneralRe: Where do I go to permanently update my signature? Pin
OriginalGriff3-Mar-23 4:01
mveOriginalGriff3-Mar-23 4:01 
GeneralRe: Where do I go to permanently update my signature? Pin
OriginalGriff3-Mar-23 4:02
mveOriginalGriff3-Mar-23 4:02 
GeneralRe: Where do I go to permanently update my signature? Pin
MarkTJohnson3-Mar-23 6:32
professionalMarkTJohnson3-Mar-23 6:32 
GeneralCCC 03-03-2023 Pin
pkfox2-Mar-23 21:54
professionalpkfox2-Mar-23 21:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.