Change Photo
Gretchen Toy

Questions by Gretchen Toy

creating a new list with subset of list using index in python?

A list: a = ['a', 'b', 'c', 3, 4, 'd', 6, 7, 8] I want a list using a subset of a using a[0:2],a[4], a[6:], tha...

How to give a div oval shape??

I tried a lot on oval shape which have cut in both sides but not able to do it please I need code for oval shape w...

All possible values os.arch in 32bit JRE and in 64bit Jre?

I need latest compilation of all possible values of the os.arch property in JRE 1.6 on Linux,Solaris and Windows. If...

Cython in Ipython: ERROR: Cell magic `%%cython` not found?

While using cython in ipython notebook, I see the error below. What's wrong? %load_ext cythonmagic /usr/local/lib/p...

Add camera icon in SearchView on Android?

I´m going to try to explain, although my English is a bit bad. Estoy utilizando MaterialSearchView de Miguel Catal...

MVC 4 client side validation not working?

Can anyone tell me why client side validation is not working in my MVC 4 application. _layout.schtml @Scripts.Render...

Fade through more more natural rainbow spectrum in HSV/HSB?

I'm trying to control some RGB LEDs and fade from red to violet. I'm using an HSV to RGB conversion so that I can ju...

ValueError using recursive feature elimination for SVM with rbf kernel in scikit-learn?

I'm trying to use the recursive feature elimination (RFE) function in scikit-learn but keep getting the error ValueE...

check if column exists before ALTER TABLE — mysql?

Is there a way to check if a column exists in a mySQL DB prior to (or as) the ALTER TABLE ADD coumn_name statement r...

Word-wrap in an HTML table?

I've been using word-wrap: break-word to wrap text in divs and spans. However, it doesn't seem to work in table cell...

A keyboard shortcut to comment/uncomment the select text in Android Studio?

How do I comment out several lines of text selected in the IDE with a control key combination? I thought that Ctrl ...

Finding modified date of a file/folder?

I am very new to PowerShell, and I was hoping I could get some help creating a script that tells me the modified dat...

What does $0 and $1 mean in Swift Closures??

let sortedNumbers = numbers.sort { $0 > $1 } print(sortedNumbers) Can anyone explain, what $0 and $1 means in s...

Creating a random shape (blob) of a given area in NetLogo?

Is it possible to create random shapes (see below for example) of a given area in NetLogo? ...