23 Nov 2011 @ 3:50 PM 
<div class="scaleengine">

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
</script><script src="http://static.flowplayer.org/js/flowplayer-3.2.6.min.js">
</script><script src="http://static.flowplayer.org/js/flowplayer.playlist-3.0.8.min.js">
</script><a id="se" style="display:block;width:626px;height:344px"></a>
<script language='javascript'>
$(function() {
$f("se", "/wp-content/themes/flowplayer.commercial-3.2.7.swf",{
key: '#$decafbaddecafbad',
clip: {
provider: 'scaleengine', live: true,
streams: [
{ url: '<?=strtoupper(ICL_LANGUAGE_CODE);?>' }
] },
plugins: { controls: null,

scaleengine: {
url: '/wp-content/themes/flowplayer.rtmp-3.2.3.swf',
netConnectionUrl: 'rtmp://dfw1-1.videocdn.scaleengine.net/yourplaylist',

<!-- end .video -->
</div><!-- end #post -->
Posted By: caunter
Last Edit: 24 Nov 2011 @ 07:32 AM

EmailPermalinkComments (0)
Categories: Video CDN

 11 Nov 2011 @ 2:13 PM 

Often we call services internally, whether it is a mail gateway or a web service. In production, if high availability is a requirement, we want to create a virtual ip for the service and add two or more physical servers as listeners.
I usually use layer 7 service pools when network load is low, and the overhead of going through the stack to get to the layer 7 headers is acceptable. For SSL offloading it is essential. Note that I don’t use the load balancer to do the redirect; I like to use nginx for that. Often, conditions will arise (force secure for this url) that are easier to manage with nginx, and I like the flexibility of being able to use the nginx feature set for customer requests.
However, on a Barracuda, the only way to create an internal load balancer pool is to use “TCP Proxy” service type, not “Layer 4 – TCP”. Does not seem to be documented anywhere, but this is the only way it works.
Assuming you are running at least version 3.6 firmware, you can create the Service Name, and give it an IP and Real Servers, and expose the Virtual IP to the LAN.

Posted By: caunter
Last Edit: 11 Nov 2011 @ 02:13 PM

EmailPermalinkComments (0)
Categories: IIS7, Varnish Cache, Video CDN

 10 Nov 2011 @ 7:46 AM 

Poppy tyranny rules once again. This is the only time of year Canadians get as annoying as Americans.
Glorifying war is a bad hobby folks, it keeps conflict and bad feelings alive.
You are being manipulated, and are perpetuating the idea that war, killing, hatred and armies are beneficial and positive. They are the worst aspects of humanity.
I reject this, it is like religion.

1). Money is requested
2). A symbol is taken out of context and used to promote the cause
3). A set of beliefs that have no basis in fact is assumed to be infallible
4). Judgement is passed on non-believers
5). Attendance at a ritual ceremony is required
6). Politicians and people who work in the media embrace it wholeheartedly
7). Existing rituals and habits are taken and replaced with “Remembrance Day”
8). Logical fallacies abound

Example: Canada currently has soldiers fighting. They die. Therefore we should honour them by wearing a poppy.
Problem: This is their job. They sign up for it, and accept this risk. By the same logic, I should eat a donut to honour the fact you sit in a chair all day at your job.

Example: My dead relation did something related to the war. Therefore, I am affronted by anyone who doesn’t want to wear a poppy or participate in Remembrance Day.
Problem: Most people of that generation did something related to the war; my dead relatives all did so. Maybe yours did too, but a) they are dead and don’t exist anymore, b) that’s not a good reason to ask anyone to be influenced by something, and c) why does a plastic pair of red lips on a pin affect your opinion of me?

I’m also not wearing a pink wristband, christian cross, crescent, star of david or an ac/dc t-shirt. It is time to stop encouraging outright narrow mindedness. I remind you there has been no national conscription in 60 years; not here, and not in the United States, and they make more war than anyone. Killing people is a job, now. It shouldn’t be a national cause, and it shouldn’t be supported or glorified in any way.

So make your poppies into lips kids. I know they make you wear them at school. And remember, that poem, that no one reads, is totally anti-war. Message lost, symbol corrupted. Pretty familiar human behaviour.

Commented also here.

Posted By: caunter
Last Edit: 11 Nov 2011 @ 03:05 PM

EmailPermalinkComments (0)
Categories: whining

 25 Sep 2011 @ 10:16 PM 

When you get “JavaScript runtime is out of memory; server shutting down instance” errors in your FMS logs, and your app won’t stay loaded, and none of your clients can connect, you need to increase the amount of memory available to the script engine.
In the docs for FMS 4.0, the JSEngine tag is “deprecated”. This means that when your app runs out of the default 1024K, and you try to crank it up to 51200, it’s actually not changing anything. In FMS4.0, you have to change the xml tag, in Application.xml, to ScriptEngine, increase the setting, and restart fms, to fix this.

Posted By: caunter
Last Edit: 25 Sep 2011 @ 10:16 PM

EmailPermalinkComments (0)
Tags: ,
Categories: Varnish Cache

 25 Jun 2011 @ 7:21 AM 

This was fun. Installed asterisk from ports, version 1.8.

asterisk-gui (which is in /usr/ports/www in case you were looking for it in /usr/ports/net) installs okay. Edited manager.conf and started getting a browser loop. Found a bug report from about a month ago. There is javascript version detection, and it hasn’t been corrected to check for version 1.8, and so it loops badly.

In the file, /usr/local/share/asterisk/static-http/config/js, change the asterisk1.6 to 1.8 like below (highlighted in red):

detectPlatform: function(resp){                sessionData.AsteriskVersionString = resp;                  // logic for platform detection,                if( sessionData.PLATFORM.isAA50 || sessionData.PLATFORM.isABE ){                        if( sessionData.PLATFORM.isAA50 ){                                sessionData.PLATFORM.isOSA = false ;                                sessionData.PLATFORM.isAST_1_4 = false ;                                sessionData.PLATFORM.isAST_1_6 = false ;                                sessionData.listOfCodecs = {                                        ‘ulaw’ : ‘u-law’ ,                                        ‘alaw’ : ‘a-law’ ,                                        ‘gsm’  : ‘GSM’ ,                                        ‘g729’ : ‘G.729A’,                                        ‘g726’ : ‘G.726’ ,                                        ‘g722’ : ‘G.722’                                };                        }                        // ??                }else{                        var resp_lower = resp.toLowerCase();                        if(  resp_lower.contains(“branches/1.4”)  || resp_lower.contains(“asterisk/1.4”) ||  resp_lower.contains(“svn-branch-1.4”) ) {                                sessionData.PLATFORM.isAST_1_4 = true ;                                sessionData.PLATFORM.isAST_1_6 = false ;                        }else if ( resp_lower.contains(“branches/1.6”)  || resp_lower.contains(“asterisk/1.8“) ||  resp_lower.contains(“svn-branch-1.6”) ||  resp_lower.contains(“svn-trunk-“)  ){                                sessionData.PLATFORM.isAST_1_4 = false ;                                sessionData.PLATFORM.isAST_1_6 = true ;                        }else {                                sessionData.PLATFORM.isAST_1_4 = true ;                                sessionData.PLATFORM.isAST_1_6 = false ;                        }                }        },

Posted By: caunter
Last Edit: 25 Jun 2011 @ 07:21 AM

EmailPermalinkComments (0)
Categories: inputs

 Last 50 Posts
Change Theme...
  • Users » 328
  • Posts/Pages » 45
  • Comments » 1
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight


    No Child Pages.