Click here to Skip to main content
15,915,163 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.

 
AnswerRe: This code will self-destruct in... Pin
loctrice17-Oct-17 4:16
professionalloctrice17-Oct-17 4:16 
GeneralRe: This code will self-destruct in... Pin
Chris Maunder17-Oct-17 4:19
cofounderChris Maunder17-Oct-17 4:19 
AnswerRe: This code will self-destruct in... Pin
Bruce Patin17-Oct-17 4:29
Bruce Patin17-Oct-17 4:29 
AnswerRe: This code will self-destruct in... Pin
Bassam Abdul-Baki17-Oct-17 4:45
professionalBassam Abdul-Baki17-Oct-17 4:45 
GeneralRe: This code will self-destruct in... Pin
Chris Maunder17-Oct-17 4:46
cofounderChris Maunder17-Oct-17 4:46 
GeneralRe: This code will self-destruct in... Pin
Bassam Abdul-Baki17-Oct-17 5:40
professionalBassam Abdul-Baki17-Oct-17 5:40 
AnswerRe: This code will self-destruct in... Pin
FredWah17-Oct-17 7:51
FredWah17-Oct-17 7:51 
AnswerRe: This code will self-destruct in... Pin
jschell17-Oct-17 8:03
jschell17-Oct-17 8:03 
Chris Maunder wrote:
Has anyone ever heard of a system or language or framework that provides the means to have code self-destruct after a certain date?


Haven't heard of it. I wouldn't use it.

I version the database. Each instance has a version number table which includes at least the version number and a timestamp. The application knows what version(s) it will deal with and will refuse to run (exit) if the version is not allowed.

Separate process updates the database, when completed it updates the version table.

Each version consists of one or more updates that are blocked together. That means that every so often one can just delete the oldest blocks (say 6 months ago) so that they no longer run. Presumption is that there are no older databases at that point (if selling a product then the updated product would include the old install and thus the update.) Naturally it is under version control so it is always retrievable.
AnswerRe: This code will self-destruct in... Pin
thewazz17-Oct-17 14:43
professionalthewazz17-Oct-17 14:43 
AnswerRe: This code will self-destruct in... Pin
S Douglas19-Oct-17 11:47
professionalS Douglas19-Oct-17 11:47 
GeneralRe: This code will self-destruct in... Pin
Chris Maunder19-Oct-17 14:13
cofounderChris Maunder19-Oct-17 14:13 
GeneralTerrible joke of the day PinPopular
Duncan Edwards Jones16-Oct-17 5:40
professionalDuncan Edwards Jones16-Oct-17 5:40 
GeneralRe: Terrible joke of the day Pin
den2k8816-Oct-17 5:44
professionalden2k8816-Oct-17 5:44 
GeneralRe: Terrible joke of the day Pin
megaadam16-Oct-17 5:46
professionalmegaadam16-Oct-17 5:46 
GeneralRe: Terrible joke of the day Pin
lopatir16-Oct-17 6:14
lopatir16-Oct-17 6:14 
GeneralRe: Terrible joke of the day Pin
megaadam16-Oct-17 7:01
professionalmegaadam16-Oct-17 7:01 
GeneralRe: Terrible joke of the day Pin
den2k8816-Oct-17 21:35
professionalden2k8816-Oct-17 21:35 
GeneralRe: Terrible joke of the day Pin
Rage16-Oct-17 7:30
professionalRage16-Oct-17 7:30 
GeneralRe: Terrible joke of the day Pin
Richard Deeming16-Oct-17 8:13
mveRichard Deeming16-Oct-17 8:13 
GeneralRe: Terrible joke of the day Pin
Jeremy Falcon16-Oct-17 9:09
professionalJeremy Falcon16-Oct-17 9:09 
GeneralThought of the Day Pin
OriginalGriff16-Oct-17 4:55
mveOriginalGriff16-Oct-17 4:55 
GeneralRe: Thought of the Day Pin
megaadam16-Oct-17 5:18
professionalmegaadam16-Oct-17 5:18 
GeneralRe: Thought of the Day Pin
Bassam Abdul-Baki16-Oct-17 5:30
professionalBassam Abdul-Baki16-Oct-17 5:30 
GeneralRe: Thought of the Day Pin
  Forogar  16-Oct-17 5:31
professional  Forogar  16-Oct-17 5:31 
GeneralRe: Thought of the Day Pin
W Balboos, GHB16-Oct-17 5:34
W Balboos, GHB16-Oct-17 5:34 

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.