Contact:

Skype: naught101

XMPP/Googletalk: naught101@jabber.org

10h
comment How to return dictionary keys as a list in Python 3.3
list(newdict) also works (at least in python 3.4). Is there any reason to use the .keys() method?
17h
answered from . import [module] -> ImportError: cannot import name [module]
17h
asked from . import [module] -> ImportError: cannot import name [module]
Mar
26
comment Add multiple columns to R data.table in one function call?
Note that dt[, c(...):=fun(...)] works, but dt[, c(...)=fun(...)]doesn't. But you can just to dt[, fun(...)] and then setnames(dt, c('V1', 'V2', ...), c('name1', 'name2', ...))
Mar
24
awarded Popular Question
Mar
23
awarded Constituent
Mar
20
comment Search python docs offline?
I actually think this is the best answer now - the HTML versions of the python docs are quite good, and the search works pretty well. However, it seems that if there's no python-[module]-doc package in your package manager (e.g. for less popular packages), then there's no easy way to install a packages' docs and use it in this way.
Mar
20
accepted Search python docs offline?
Mar
19
comment How to repair an SD card which shows incorrect size?
When you do sudo hdparm -I /dev/sdc, do you see a SG_IO: bad/missing sense data ... message? If so, you might want to check superuser.com/a/774673/48920, askubuntu.com/a/498797/41567 and/or dedoimedo.com/computers/low-level-formatting.html
Mar
19
comment When is r$^2$ not equal to $R^2$?
@Glen_b: Yes, I guess that's the point of my question. What kind of model, $f$, fits the first condition, but does not fit one or both of the second two?
Mar
19
comment When is r$^2$ not equal to $R^2$?
@Glen_b: sorry, the question title got lost, and I re-typed it without thinking. Fixed.
Mar
19
revised When is r$^2$ not equal to $R^2$?
edited title
Mar
19
asked When is r$^2$ not equal to $R^2$?
Mar
18
comment Underwater rock conduit
This answer doesn't really cover transport though..
Mar
18
comment Is there a standard definition of a "dry-down" event in hydrology?
Thanks for expanding the simple answer to a fairly vague question in a useful way :)
Mar
18
accepted Is there a standard definition of a "dry-down" event in hydrology?
Mar
18
awarded Nice Question
Mar
17
awarded Caucus
Mar
17
accepted Keep track of all files accessed by a specific process?
Mar
17
comment Why is linear regression not able to predict the outcome of a simple deterministic sequence?
I always have a hard time remembering this. This is a great addition to the other answers.
1 2 3 4 5