fallback

MySQL replication for fallback scenario

When I have two mysql servers that have different jobs (holding different databases) but want to be able to use one of them to slip in when the other one fails, what would you suggest how I keep the data on both of them equal "close to realtime"? Obviously it's not possible to make a full database dump every x minutes. I've read about...

What happens to an Oracle sequence after disaster recovery?

Suppose an Oracle instance has to be recovered after a disaster. Do sequences get reset to the initial state, or the last saved state, or are cached values preserved? Thank you very much. :-) ...

Non-Aero Back Button Image Resource Location

When Visual Styles are disabled in Vista (and later) Aero Wizards and the Windows Explorer use some kind of reserved image for the back (and forward in Explorer) buttons. I've taken a look around and seen the resources located in a few executables, but I don't think it's advisable to do LoadImage like that (like if the resource changes ...

FlickrNet Timeout Script for Asp.NEt

I am using FlickrNEt library for Asp.NET I have a requirement which says: A timeout script should be present on the page to allow for static content to replace the dynamic material from Flickr. After a timeout has been reached, alternative static images for the “Photo Albums” content sections should be loaded. What is the best way to ...

Fallback image and timeout - External Content. Javascript

What is the best way to set up a local fallback image if the external image does not load or takes too long to load. ...

WPF Binding FallbackValue set to Binding

Hello, I was wondering if there was a way to have another binding as a fall back value ? I'm trying to do something like this: <Label Content="{Binding SelectedItem.Name, ElementName=groupTreeView, FallbackValue={Binding RootGroup.Name}}" /> If any ones got another trick to pull it off that would be great. Thanks, Raul ...

An event log source that's always available for writing?

Is there an event log source that's always available for writing by an ASP.NET webapp? Backstory, in case anyone has a seemingly unrelated solution: Our ASP.NET webapp uses its own event log source, but it doesn't have the rights to create it. So, if the event log source doesn't exist when the webapp tries to write the entry (install ...

(Rails) Managing USER PREFS with a MASTER PREFS fallback...?

Hi All, I'm looking for a mechanism by which to facilitate user preferences. I also want to have a set of "master" prefs that are used if the currently logged in user doesn't have a specific pref set. I see several questions similar to this, but they seem to get into theory instead of simply proposing a quality solution. Basically I'...

nginx not forwarding POST to @fallback

Hello. I wrote a high-performance HTTP event server in C++ and I want to make it work flawlessly with nginx and PHP-FPM (fastcgi). This is a snippet of my nginx configuration. location ~ \.eve$ { gzip off; proxy_redirect off; proxy_buffering off; proxy_pass http://127.0.0.1:9001; proxy_interce...

how to call different Win API based on Windows version?

The specific problem is, the support of condition variable on Windows begins from Vista, for early version of Windows (Windows XP), I have a emulated condition variable code sort of solved the problem. However, I'd like to have the ability to call native condition variable API when the system supported and fallback to my version only on ...

Please help me fix this Jquery function and figure out a fallback in case Javascript is disabled.

This code is supposed to get the id from a clicked anchor tag in the middle of a ul with the id 'links' and then use that id for other purposes across the page, however the alerts have shown me that I keep getting 'undefined' as if the element has no id. I double check my source code and they do indeed have ids, so I'm not sure what the...

Is ResourceBundle fallback resolution broken in Resin3x?

Given the following ResourceBundle properties files: messages.properties messages_en.properties messages_es.properties messages_{some locale}.properties Note: messages.properties contains all the messages for the default locale. messages_en.properties is really empty - it's just there for correctness. messages_en.properties will fall...

Hard-coding Fonts in DotNET

I've run into problems on numerous occasions of users not having one of the Windows Core fonts installed on their machine (Courier New, Comic Sans MS, Arial for example). Whenever I try to construct one of these it throws an error rather than falling back onto a related, or really, any other font. What is the best way to construct a Fon...

Is there any good fallbacks for HTML5 and CSS3?

I'm looking for a good fallback for both HMLT5 and CSS3 so I could use it and it would still look ok in other browsers. Thanks ...

Implementing fallback from Google AJAX Libraries API to local jQuery

After looking up the advantages and disadvantages of using Google's AJAX Libraries API instead of using jQuery locally, I saw that someone wrote in an answer (here on Stack Overflow, of course) that it's possible to get around the downtime that Google's API sometimes experiences by somehow falling back to a local copy of the library you ...

App engine downtime

I've noticed that google app engine seems to have a fair amount of downtime where they place the datastore into read-only mode. Frequently this downtime is in the middle of the day. Is this something that is happening only during early development, or is this something that I can expect to be always be occurring? I'm developing an app...

color IE fallback for rgba() does not work

Why the following fallback for IE color: red; does not work ? In IE7, the color is black rather than red. Live demo here HTML: <div> <span>Hello</span> </div> CSS: div { width: 200px; height: 100px; background-color: blue; text-align: center; } span { font-size: 2em; color: red; color: rgba(250, 250, ...

Retrieving i18n data with fallback language

I have to grab i18n text from a database. The default language is English, it has text for everything. But the non-English languages doesn't necessarily have all the desired translations. If a non-English translation for a certain entity/key isn't available in the DB, then I'd like to have it to return the English text instead. So, Engli...

Submit form with anchor + javascript - bad practice?

Dear Knowledge Base, I currently have two anchor tags sending url queries to put votes inside a database, but i want to switch to using forms to keep the urls clean and avoid duplicate queries (not really an issue, but makes it look ugly). Now the anchors need to contain a span-tag inside to add additional background elements to the b...

Flash and HTML5 the Fallback?

Is it possible to have Flash video first then to fall back to html5? Like I have something like this if(Flash is installed){ run flash player} else if(can do video tag w/ h.264){ use HTML5 video tag with h.264} Now this is javascript so it's being written in javascript, then the inner html will get the right tags. ...