minitech

Canada

Age: 17

I read and write things on Twitter and have an empty website! If you don’t use code formatting for emphasis, we can probably be friends.

6h
revised DbQuery behaves differently in a foreach loop. Why?
Minor grammar fix
9h
comment How to applied a user defined function to each of the numpy array elements
Do you maybe want to return something from that function and use arr instead of ar and reassign to arr?
9h
revised How to applied a user defined function to each of the numpy array elements
deleted 2 characters in body
9h
comment How do I do a string comparison when the string I'm comparing has symbols?
That fiddle isn’t what I’d call “working”. Where does data come from? Also, use real XML and a real XML parser, or better, JSON.
12h
revised Error C4716: 'operator<<': must return a value
edited tags
12h
comment Error C4716: 'operator<<': must return a value
Just return os.
12h
comment Why is for _ in range(n) slower than for _ in [""]*n?
You still can’t use 10**1000, though. It’s a little too big.
14h
comment Passing DOM elements into a callback function
Remove input as a parameter to your callback. Accessing the one in the outer scope is perfectly fine.
21h
comment Ignore local changes and switch branch
If you want to keep the file unmodified when switching branches, absolutely use git stash.
22h
revised How to convert date into "2015-05-14T23:00:00" format - Jquery
edited tags
22h
revised PHP - print all properties of an object
There was an offensive flag
22h
comment Why does jQuery not seem to add text to nested spans?
@Barmar: The randomId is duplicated between .message-bundle, .usertag, and .message.
22h
answered Why does jQuery not seem to add text to nested spans?
1d
comment How to use dependency injection for testing?
What kind of operations are you doing when it’s a unit test?
1d
comment How to use dependency injection for testing?
Do you mean you’re specifically checking for unit tests in obj.publicFn?
1d
awarded Supporter
1d
awarded Autobiographer
1d
comment Kyle Simpson asyncify function from You Don't Know JS: Async & Performance
@Semicolon: fn is called in the setTimeout callback, which may or many not happen after the function it returns that sets fn is called.
1d
revised Why does Python crash while returning a C string?
added 1 character in body
1d
comment (Preferably jQuery) Rich Textbox without any toolbar and just bullets on by Default
If you don’t know how to do a job, perhaps you should figure that out before you accept it.
1 2 3 4 5