Questions tagged [future-proof]

35 questions
3
votes
3 answers

Future proofing client-server code?

We have a web based client-server product. The client is expected to be used in the upwards of 1M users (a famous company is going to use it). Our server is set up in the cloud. One of the major questions while designing is how to make the whole…
Koran
  • 647
  • 2
  • 8
  • 21
2
votes
5 answers

Strategy for coping with database identity/autonumber maxing out

Autonumber fields (e.g. "identity" in SQL Server) are a common method for providing a unique key for a database table. However, given that they are quite common, at some point in the future we'll be dealing with the problem where they will start…
Neil Barnwell
  • 41,080
  • 29
  • 148
  • 220
2
votes
4 answers

Are there any javascript libraries that don't require updating when new browser versions come out?

In my work I use dojo, and the experience I've had is that when a major browser upgrade occurs, some parts of the old version of dojo will break. In order to keep the web app working in the latest browser versions, you really have to keep updating…
2
votes
2 answers

Discord JS - Will using the .cache property of client.guilds cause an error further down the line when I am in more guilds?

I am trying to find the guild owner ID for all of my guilds to send them a direct message at a given time. My current implementation where I know all the guildIDs already and just iterate through them:…
Ortovox
  • 382
  • 10
  • 18
2
votes
1 answer

Why is using JavaScript to plan Q1 year 22034 unreliable in Safari?

There is something fishy about the calculation of far future dates when done on the browser side (Safari 5.0.1), passing strings into the Date() constructor: I narrowed it down to the February-March transition in year 22034: d = new Date('1 Mar…
conny
  • 9,973
  • 6
  • 38
  • 47
2
votes
8 answers

How to program an application with unknown future modifications and features?

Background I'm not new to programming, however I am when it comes to handling clients and their needs. Here's my history with my current client: I inherited a PHP application with it being 2/3 completed, continued to make it 100% completed until the…
Jesse
  • 246
  • 3
  • 11
1
vote
1 answer

How to make website compatible with IPv6?

https://checkgzipcompression.com shows a red warning saying my site is NOT compatible with IPv6. Q1. Will this result in "penalties" either by google or other pagespeed related bottlenecks? Q2. Is it possible (and if yes how) to enable ipv6…
Sam
  • 15,254
  • 25
  • 90
  • 145
1
vote
0 answers

Is accessing a component's parent view in ember future proof? What to do instead?

I want to use (some of) my own ember components in a nested way. Think {{#form-helper data=model}} {{form-field datakey="name"}} {{form-field datakey="street}} {{form-field datakey="city}} {{/form-helper}} Generalized: I've got two components…
jnfingerle
  • 713
  • 4
  • 16
1
vote
1 answer

Future-proof defun - use if available, define equivalent if not

I'm using emacs 24.3 right now, so hash-table-values is not available. So I want to write the function, but only if it doesn't exist. This way, my code works right now, and it'll use the default function when I'll switch to emacs 24.4. In PHP, I'd…
Florian Margaine
  • 58,730
  • 15
  • 91
  • 116
1
vote
2 answers

Localization and future-proofing

so I know this is a not a good question for the StackOverflow format. but I am at a bit of a loss, feel free to recommend a different place to put this where it may get some eyeballs I am very familliar with the xgettext stuff for localizing your…
Joran Beasley
  • 110,522
  • 12
  • 160
  • 179
1
vote
1 answer

Infrastructure: models as an external to an application to avoid stored procedures

My thoughts: I absolutely despise stored procedures for various reasons: cost, scalability, and compatibility. Cost: I can get 2-3 good light weight web application servers for the cost of one good MySQL server. Scalability: Sure I can cache…
David
  • 17,673
  • 10
  • 68
  • 97
0
votes
3 answers

Is Array.toString() guaranteed to remain as is in ActionScript 3?

Is it fine to display the output of Array.toString() to the user, or is there a possibility that the string format could change in future versions of ActionScript 3 or other compilers?
Tim
  • 13,904
  • 10
  • 69
  • 101
0
votes
1 answer

TSQL: Trying to Streamline/Optimise my Stored-Procedure

Good afternoon everyone, I have written a Stored Procedure that as it is works and executes relatively fast as it is just doing fairly simple calculation. I guess you could say my issue with the procedure itself is the number of repeated 'CASE…
SeanY
  • 11
  • 3
0
votes
2 answers

Add an attribute or create a new level in the XML hierarchy?

I am currently working on an XML document that was written for an XML hierarchy with only 2 levels. Right now, I want to add a one-to-many categorization to it that would break most of the code that works with that file. I could either add that…
chustar
  • 12,225
  • 24
  • 81
  • 119
0
votes
2 answers

When to sacrifice backwards compatibility?

Basically I am wondering about having this behavior in an app where the newer versions require the content created with the older version to be (automatically) converted to the newer version format, at the cost of backwards compatibility. Visual…
Joan Venge
  • 315,713
  • 212
  • 479
  • 689