Change Photo
Viola Metz

Questions by Viola Metz

Python truncate a long string?

How does one truncate a string to 75 characters in Python? This is how it is done in JavaScript: var data="saddddd...

How to draw clock in R??

I am working on R and trying to draw a clock using a pie chart. code: pie(c(25,20,15,10,10,30), labels = c(1,...

How to change the size of an animated circle onclick using raphael js?

I've got a animated circle which looks like this: the blue part counts down, so for example from full to nothing i...

Chrome asks for proxy authentication for every page I open, IE doesn't?

Chrome used to run properly, when all of sudden it started asking for my proxy's username and password on every page...

Various sized squares grid?

Is it possible using only html and css to do something like that: The other requirement is that, since the divs a...

Navigation bar not appearing??

I am currently using a form building library called Eureka(https://github.com/xmartlabs/Eureka) and for some reason...

Center a div on the left side of the screen?

Once someone clicks "Here", I want the div to move to horizontally center of the left side of the screen and a div...

How do I add a tuple to a Swift Array??

I'm trying to add a tuple (e.g., 2-item tuple) to an array. var myStringArray: (String,Int)[]? = nil myStringArray ...

Can I change the checkbox size using CSS??

Is it possible to set the size of a checkbox using CSS or HTML across browsers? width and size work in IE6+, but n...

simple encrypting / decrypting in VB.Net?

I'm trying to figure out how to encrypt / decrypt a string in VB.Net. I followed the example given here and wrote t...