Serving the Quantitative Finance Community

Search found 2375 matches

by ISayMoo
June 29th, 2020, 2:19 pm
Forum: Off Topic
Topic: Random photo's
Replies: 1898
Views: 176035

Re: Random photo's

Portraits of Kurdistan fighters: https://www.joeyl.com/blog/all/post/guerrilla-fighters-of-kurdistan
Excellent quality work.
by ISayMoo
June 29th, 2020, 2:17 pm
Forum: Programming and Software Forum
Topic: on error handling mechanisms
Replies: 10
Views: 6339

Re: on error handling mechanisms

const tuples aren't.
by ISayMoo
June 28th, 2020, 8:18 pm
Forum: Programming and Software Forum
Topic: on error handling mechanisms
Replies: 10
Views: 6339

Re: on error handling mechanisms

No. If you want a mutable sequence, use a list.
by ISayMoo
June 27th, 2020, 7:43 pm
Forum: Programming and Software Forum
Topic: on error handling mechanisms
Replies: 10
Views: 6339

Re: on error handling mechanisms

Go does it well. You can return two values: the actual result and the error code.
by ISayMoo
June 27th, 2020, 7:42 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 331
Views: 123217

Re: Python tricks

Interesting.
by ISayMoo
June 25th, 2020, 7:20 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 331
Views: 123217

Re: Python tricks

I'll post the code some time soon. It will be Open Source.
by ISayMoo
June 17th, 2020, 9:46 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 331
Views: 123217

Re: Python tricks

OK, solved it.
from setuptools import setup, find_packages

setup(
    name="PyML",
    version="0.1",
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    package_data={"PyML": ["PyML.pyd", "ML.dll"]}
by ISayMoo
June 16th, 2020, 10:12 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 331
Views: 123217

Re: Python tricks

I'm building the .pyd file in Visual Studio.
by ISayMoo
June 15th, 2020, 9:31 pm
Forum: Numerical Methods Forum
Topic: Models for Covid-19
Replies: 508
Views: 112403

Re: Models for Covid-19

Lancet editor attacks UK government for ‘catastrophic’ handling of Covid-19 pandemic https://amp-theguardian-com.cdn.ampproject.org/c/s/amp.theguardian.com/world/2020/jun/14/lancet-editor-attacks-uk-government-for-catastrophic-handling-of-covid-19-pandemic I've ordered the book. Will be an "in...
by ISayMoo
June 15th, 2020, 9:30 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 331
Views: 123217

Re: Python tricks

Any tips how to write a simple `setup.py` for the binary .pyd file?
by ISayMoo
June 15th, 2020, 8:31 am
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 331
Views: 123217

Re: Python tricks

This is a great tool for exposing C++ code to Python: https://github.com/pybind/pybind11
by ISayMoo
June 11th, 2020, 8:00 pm
Forum: Programming and Software Forum
Topic: Hello World in all Languages, post here
Replies: 151
Views: 183730

Re: Hello World in all Languages, post here

It is the great multiplication of the productions of all the different arts, in consequence of the division of labour, which occasions, in a well-governed society, that universal opulence which extends itself to the lowest ranks of the people.
- Adam Smith
by ISayMoo
June 11th, 2020, 3:17 pm
Forum: Programming and Software Forum
Topic: Hello World in all Languages, post here
Replies: 151
Views: 183730

Re: Hello World in all Languages, post here

Copy/paste is sometimes the best choice :)