Language:
switch to room list switch to menu My folders
Go to page: [1] 2 3 4 5 ... Last
↑↑↑ Old messages ↑↑↑            ↓↓↓ New messages ↓↓↓
[#] Thu Mar 29 2012 10:19:46 EDT from ax25 @ Uncensored

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

I am a fan of Python for quick what if proggies and have made some use of the ctypes module for extra added fun poking around in C libs:

http://docs.python.org/library/ctypes.html

You don't have to re-write C libraries, just use them from Python.



[#] Fri Mar 30 2012 17:13:12 EDT from IGnatius T Foobar @ Uncensored

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

I just finished writing a screen scraper that reformats the received data, reformats it so that it is spoofing another system's output, and feeds it into another screen scraper. I feel so dirty. (But hey, it's my first Python program, so ... #winning?)

[#] Sat Mar 31 2012 04:03:46 EDT from shadowjester @ Uncensored

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

Personally, I love using Python. I can code the same program/script/data structure/spam/eggs about half the time than it would take me to dev in another language. Actually, I just finished doing some proof-of-concept code for semantic web development with Python. It was very procedural, but it demonstrated the OWL ontology in a representational form quite nicely.
I do tend to use Python where I used to use BASIC back in the day. Haven't made the leap to using it as my shell, though. Maybe my kids will?

[#] Sun Apr 01 2012 13:35:34 EDT from dothebart @ Uncensored

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

 

Tue Mar 27 2012 16:24:48 EDT from fleeb @ Uncensored

Well, that's true. In C++, the only stack you'll get is if you're in a debugger... otherwise, you'll need the luck of the gods to help you track down an exception.

at least in linux, its not like that.

http://code.citadel.org/?p=citadel.git;a=blob;f=citadel/citserver.c;h=088b584e1107a751cc5b935f4e08c8c858ea5f58;hb=HEAD#l90

does a simple backtrace...



[#] Sun Apr 01 2012 16:44:01 EDT from fleeb @ Uncensored

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


Yeah, I'm not aware of anything like that in Windows.

[#] Sat Apr 14 2012 11:31:23 EDT from IGnatius T Foobar @ Uncensored

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

git should be called GNU/git because even though Linus Torvalds created it, Richard Stallman is capable of louder and more prominent whining. (Hey, what goes for operating systems goes for source code management tools too, right?)

[#] 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.

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