Giter Site home page Giter Site logo

datatables's Introduction

Anthony Morast

About Me

  • ๐Ÿ’ผ I am C++ Software Engineer at Sterling Trading Tech
  • ๐Ÿ“– I have a blog on my personal website and Medium
  • ๐Ÿ“— I'm reading An Introduction to Mathematical Finance with Applications by Arlie O. Petters and Xiaying Dong.
  • ๐Ÿ’ฌ Ich lerne Deutsch.
  • ๐Ÿ‘ท I'm currently working on:
    • A fluid dynamics simulation playground in Rust using the Lattice Boltzmann method
    • Improving my website by working through the submitted bugs
    • Option pricing via binomial models in Rust

Education

  • ๐Ÿ“ƒ Applied and Compuational Mathematics, B.S.
  • ๐Ÿ“ƒ Computer Science, B.S.
  • ๐Ÿ“ƒ Computational Sciences and Robotics, M.S.

Things I Really Like to Use

Some More Things I Can Use

Connect With Me

๐Ÿ“ง Email ๐Ÿ’ป Consulting


Top Languages

Anthony's GitHub stats

datatables's People

Contributors

anthonymorast avatar msenel1978 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

datatables's Issues

Improve cURL data reads by avoiding clumsy file write->read->delete

This can be done with lambda functions, e.g.

{
    CURL *curl;
    curl = curl_easy_init();
    std::string readBuffer {};
    if (curl)
    {
        curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
        curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, [&](void* contents, size_t size, size_t nmemb, void* userp){
            reinterpret_cast<std::string*>(userp)->append(reinterpret_cast<char*>(contents), size * nmemb);
            return size*nmemb;
        });
        curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer);
        curl_easy_perform(curl);

        /* always cleanup */
        curl_easy_cleanup(curl);
    }

    std::cout << "read from cURL: " << readBuffer << std::endl;

    return readBuffer;
}

Immediately useful funcitonality

  • Ability to create DataTables from other DataTables (datatable::DataTable dt();
  • Ability to remove single column
  • Ability to append rows/columns to the dataset.

Add single column select

For example, datatable::DataTable.col() which returns a single column datatable (no response variable) so these can be chained:

datatable::DataTable.col("colname").max()
datatable::DataTable.col("colname").min()

etc.

Accommodate Date/DateTime in columns

Could convert back and forth between Unix epoch to be able to store in the existing double array. Would need to keep an array/vector of the column numbers that are datetimes and print and operate on these columns accordingly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.