Language:
switch to room list switch to menu My folders
Go to page: [1] 2 3 4 5 ... Last
↑↑↑ Old messages ↑↑↑            ↓↓↓ New messages ↓↓↓
[#] Fri Apr 20 2012 02:59:13 EDT from kc5tja @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

You might as well call it Nougat then. :)

[#] Fri Apr 20 2012 17:22:04 EDT from kc5tja @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Anyone here familiar with acceptance testing using Capybara and Chromium browsers, particularly in an EC2 Ubuntu instance?

[#] Fri Apr 20 2012 18:03:41 EDT from ax25 @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

 

Fri Apr 20 2012 05:22:04 PM EDT from kc5tja
Anyone here familiar with acceptance testing using Capybara and Chromium browsers, particularly in an EC2 Ubuntu instance?

No, but it is a cute bugger for a rodent:

http://en.wikipedia.org/wiki/Capybara



[#] Sun Apr 22 2012 07:54:23 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Heh. Or be like 'gnuplot' and 'gnutella' which have 'gnu' in their names despite having nothing to do with the Fascist Software Foundation.

[#] Mon Apr 23 2012 13:15:56 EDT from fleeb @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


Obviously not to be mistaken for the chupacabra.

[#] Mon Apr 23 2012 13:23:24 EDT from kc5tja @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Well, long story short, Firefox 11 (launched by Selenium) is dying intermittently with a premature EOF, causing pain and suffering throughout the world. Or, at least, my office.

The same configuration as used in EC2 appears on my laptop, where I am so far unsuccessful in getting Firefox to die. I have to manually kill it to reproduce the symptoms as I'm seeing them in EC2.

I was hoping that someone here would be able to offer some advice on how to proceed with the debugging effort.

[#] Thu Apr 26 2012 16:00:38 EDT from ax25 @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Scripted Selenium?  Adjust timeouts on the part where it is waiting on content?



[#] Thu Apr 26 2012 16:01:27 EDT from ax25 @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

 

Thu Apr 26 2012 04:00:38 PM EDT from ax25

Scripted Selenium?  Adjust timeouts on the part where it is waiting on content?



Probably better to move this to programming room.  More folks in there that will probably have better answers.



[#] Thu Apr 26 2012 17:23:16 EDT from kc5tja @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

ack on moving to programming room.

[#] Thu Apr 26 2012 17:24:48 EDT from kc5tja @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

ax25: You can't adjust a timeout when the death is instant. :(

[#] Thu Apr 26 2012 17:26:00 EDT from kc5tja @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

(sorry -- for context, .rl or .ro in the Web Stuff> room to find my question concerning Firefox deaths on EC2, particularly when launched from Selenium 2.)

[#] Fri Apr 27 2012 11:11:31 EDT from ax25 @ Uncensored

Subject: EC2 FF11 and EC2.....

[Reply] [ReplyQuoted] [Headers] [Print]

I have not used EC2 yet, so hopefully someone else can chime in.  I have used Selenium, but not on an EC2 instance, so apart from adjusting for timeout issues, I have not had issues with Selenium and I have not had the FF instance die.

Thu Apr 26 2012 05:26:00 PM EDTfrom kc5tja @ Uncensored

(sorry -- for context, .rl or .ro in the Web Stuff> room to find my question concerning Firefox deaths on EC2, particularly when launched from Selenium 2.)

Well, long story short, Firefox 11 (launched by Selenium) is dying intermittently with a premature EOF, causing pain and suffering throughout the world. Or, at least, my office.

The same configuration as used in EC2 appears on my laptop, where I am so far unsuccessful in getting Firefox to die. I have to manually kill it to reproduce the symptoms as I'm seeing them in EC2.

I was hoping that someone here would be able to offer some advice on how to proceed with the debugging effort.



[#] Fri Apr 27 2012 17:32:08 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: EC2 FF11 and EC2.....

[Reply] [ReplyQuoted] [Headers] [Print]

Might it have something to do with which level of EC2 service you're using?
I know that at the bottom tier, they can choke off performance to the point where things really start to be baaaaaaaad...

[#] Sun May 13 2012 21:23:04 EDT from LoanShark @ Uncensored

Subject: Re: EC2 FF11 and EC2.....

[Reply] [ReplyQuoted] [Headers] [Print]

I know that at the bottom tier, they can choke off performance to the

point where things really start to be baaaaaaaad...

This is true of Micro instances: if one of your processes starts spinning, and consuming the CPU, they will allow you to burst the CPU for a few seconds, but after that, you're throttled pretty severely. You get what you pay for; that is the lowest-end instance type. Micros might have a few other stability issues but that's the main one, and it manifests from time to time as a briefly unresponsive instance with a high "cpu steal" count.

[#] Sun May 13 2012 21:30:53 EDT from LoanShark @ Uncensored

Subject: Re: EC2 FF11 and EC2.....

[Reply] [ReplyQuoted] [Headers] [Print]

The same configuration as used in EC2 appears on my laptop, where I
am so far unsuccessful in getting Firefox to die. I have to manually
kill it to reproduce the symptoms as I'm seeing them in EC2.

My default assumption is that this is not EC2 specific; Xen is pretty good technology, and from the point of view of a userland process that isn't doing anything fancy with the kernel, it's usually identical to a bare-metal Linux instance. That said, there have been issues with specific Intel processor models within the last year. I am losing the details, but the one I am thinking of was I believe fixed in an Ubuntu -318 patchlevel kernel for Ubuntu 10.04 LTS. I don't know of the applicability to other distributions, but this issue was specific to a particular model of Nehalem-based Xeons. So the standard advice in the Linux world applies: make sure you're running the latest kernel. I recommend Ubuntu over Fedora for the EC2 use case. Also, if you are running into trouble, take note of /proc/cpuinfo for the CPU model information, and it may be worth relaunching your instance repeatedly until you wind up with different hardware. But of course this is may not really be specific to EC2 at all.

Standard stupid questions apply: why is your Selenium/FF process dying? Could it be something simple like the OOM killer? Enable core dumps (ulimit -c unlimited) and capture the result.

[#] Sun May 13 2012 23:18:01 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: EC2 FF11 and EC2.....

[Reply] [ReplyQuoted] [Headers] [Print]

So the Ubuntu kernel runs better than Fedora in EC2? Any idea what the secret sauce is?

[#] Mon May 14 2012 10:45:41 EDT from kc5tja @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

oom not occuring as far as sysslogs indicate.
I've updated the instances to mediums, but
the problem persists.

[#] Mon May 14 2012 12:47:21 EDT from LoanShark @ Uncensored

Subject: Re: EC2 FF11 and EC2.....

[Reply] [ReplyQuoted] [Headers] [Print]

So the Ubuntu kernel runs better than Fedora in EC2? Any idea what the

secret sauce is?

No, because it's a secret--literally. For a long time, EC2 kernels were somewhat customized, and technical details of EC2's Xen customizations are under NDA. This is changing, however; although Ubuntu 10.04 ships an ec2-specific Xen kernel, the 12.04 is using the mainline linux-virtual kernel.

All that said, Amazon has their own Linux distribution which is CentOS based, which might also be a good bet. Haven't tried it because it's not RightScale integrated.

[#] Thu May 17 2012 10:07:10 EDT from fleeb @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


Has anyone here tried to create a set of color bars (as in, for television) in code, but not for RGB... for YUV instead?

(That is, not RGB as in a standard bitmap, but YUV where you have chroma and luma values instead of straight red/green/blue).

I want to generate a color bar pattern in raw v210 color scheme, 1080p resolution.
But I'm not very up on setting up those values, and wondered if anyone here might have a little more insight.

[#] Thu May 17 2012 13:29:13 EDT from Spell Binder @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

A quick google and I found this site describing how to convert color values between RGB and YUV, also called Y/Cr/Cb:

http://www.fourcc.org/fccyvrgb.php

It seems like it's a pretty straightforward calculation.
Color Binder

Go to page: [1] 2 3 4 5 ... Last