SERVING THE QUANTITATIVE FINANCE COMMUNITY

Search found 1897 matches

by ISayMoo
July 31st, 2019, 3:17 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 180
Views: 17146

Re: Python tricks

Sure, you can break the convention. But that's not the Python Way.
Tim Toady Bicarbonate says:
Image
Indeed, people who used Perl should unlearn certain things in order to be happy coding in Python.
by ISayMoo
July 31st, 2019, 11:56 am
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 180
Views: 17146

Re: Python tricks

Sure, you can break the convention. But that's not the Python Way.
by ISayMoo
July 31st, 2019, 10:44 am
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 180
Views: 17146

Re: Python tricks

I am working on a very large Python codebase at work. Things are fine, because we are strict about code consistency, dependency management and having a single version of everything (no "DLL hell"). An issue with large systems is managing the dependency graph, e.g. when a well-known public data stru...
by ISayMoo
July 31st, 2019, 10:42 am
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 180
Views: 17146

Re: Python tricks

I really like how easy modules and packages are in comparison to C/C++ (which does not support modules). But how good are they with Information Hiding? (no private data in Python). There are private data in Python. They are denoted by convention by an underscore in front of variable name. Any linte...
by ISayMoo
July 30th, 2019, 10:55 pm
Forum: Numerical Methods Forum
Topic: Move over p-values...
Replies: 12
Views: 544

Re: Move over p-values...

The middle one. I'm almost done with my "peer review" of the manuscript. I have mixed feelings.
by ISayMoo
July 30th, 2019, 6:54 am
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 180
Views: 17146

Re: Python tricks

I am working on a very large Python codebase at work. Things are fine, because we are strict about code consistency, dependency management and having a single version of everything (no "DLL hell").
by ISayMoo
July 29th, 2019, 7:46 pm
Forum: Politics Forum
Topic: UK and the EU: In or out?
Replies: 1832
Views: 63839

Re: UK and the EU: In or out?

Boris Johnson announces £3,000,000,000 funding boost for forgotten Northern towns
https://metro.co.uk/2019/07/27/boris-an ... -10472120/
"£3bln if you just pack up and leave"
by ISayMoo
July 29th, 2019, 7:45 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 180
Views: 17146

Re: Python tricks

PS. But I think I'm teaching the grandmother to suck eggs. You're selling a course on Python. Surely you know all this already?
by ISayMoo
July 29th, 2019, 7:43 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 180
Views: 17146

Re: Python tricks

1. Docstrings, type annotations (relatively new thing), assertions and explicit checks in conditional statements. The standard way of handling violations of contracts by the caller is to throw an exception (usually TypeError or ValueError). 2. I find Python exceptions very easy to use. The standard ...
by ISayMoo
July 27th, 2019, 8:38 pm
Forum: Politics Forum
Topic: Are you ready for Brexit?
Replies: 550
Views: 12440

Re: Are you ready for Brexit?

Yes, because it's a relic from exactly that era: https://www.writing-skills.com/one-space-two-full-stop
Not really that ambitious for a Member for the XVIIIth Century. He should demand "a finger’s width between words, a thumb’s width between sentences".
by ISayMoo
July 27th, 2019, 7:43 pm
Forum: Student Forum
Topic: Black-Scholes from Random Walk Derivation - Issue
Replies: 8
Views: 336

Re: Black-Scholes from Random Walk Derivation - Issue

As an aside, the convergence of one distribution to another is sometimes abused. For example, the confidence interval for the binomial proportion based on a normal approximation is pretty bad even for large sample size. Because the convergence is not uniform w/r to the true probability of X = 1.
by ISayMoo
July 27th, 2019, 11:09 am
Forum: Off Topic
Topic: Your rants here
Replies: 934
Views: 31970

Re: Your rants here

Never mind.
by ISayMoo
July 27th, 2019, 10:30 am
Forum: Off Topic
Topic: "Best" invention of the 20th century?
Replies: 180
Views: 183831

Re: "Best" invention of the 20th century?

It has a lot.

lim_{x -> 0+} 1/x  = +infty
lim_{x -> 0-} 1/x = -infty

And the twain shall never meet.
by ISayMoo
July 27th, 2019, 10:29 am
Forum: Politics Forum
Topic: Are you ready for Brexit?
Replies: 550
Views: 12440

Re: Are you ready for Brexit?

2nd option is what we're doing now (underfunded prisons). Doesn't seem to help reduce crime, quite the opposite.
by ISayMoo
July 26th, 2019, 11:35 pm
Forum: Off Topic
Topic: Your rants here
Replies: 934
Views: 31970

Re: Your rants here

And sanitation.
GZIP: On