GithubHelp home page GithubHelp logo

Comments (9)

lboxell avatar lboxell commented on August 29, 2024 1

from template.

lboxell avatar lboxell commented on August 29, 2024

Collecting my comments here:

  • Make builders fail explicitly when targets are not build. See #55.
    • I don't think this used to not be an issue when we always ran the 'state_of_repo' logger as the final step in the build process with all previous steps as dependencies. In this scenario, any failed target build would cause scons to tell you it failed. With the 'atexit' function, we no longer get this safeguard. There are positives and negatives to both approaches.
  • Consider adding code to reconfigure cache. See gslab-econ/gslab_python#71.
  • Store python requirements for each template/repo, including gslab_tools, in a virtual environment. [As suggested by Toby]
    • If we do this, we should consider putting gslab_tools back on pypi. Because its more complex to download from a github repository (possibly requiring a separate step) instead of using straight pip.
    • Look into similar options for R.
  • Fix naming scheme in gslab_scons debrief function and use in template. See #52 (comment) and https://github.com/gslab-econ/gslab_python/blob/dev_four/gslab_scons/misc.py#L14. Avoid use of 'env' and 'target' unless these are being used by SCons in a build step.
  • Determine whether we want to use SCons env.PDF for latex or build our own builder.
  • Investigate YAML tools for matlab.
  • Rethink use of logs and whether we (a) track them as targets and (b) version control them.
    • If you don't do (a), but do (b), then when you pull from cache, it looks like you 'delete' the log files from git's perspective. Should probably do both (a) and (b) or neither.
  • Determine whether we want to have a standard set of integration tests we run. Currently, we just run "unit" tests that are platform independent and don't actually interact with R, Stata, etc.

from template.

qlquanle avatar qlquanle commented on August 29, 2024

Collecting my comments here.

  • Figure out a controlled environment for the general purpose Command builder. My instinct is to build a Command wrapper than runs whatever the user input as command, but use the logging machinery instead of the current free for all. That way we get timestamps.

from template.

lboxell avatar lboxell commented on August 29, 2024

@RoyalTS,

Feel free to add anything you've found confusing or that you think could be better implemented as you've played around with our template.

from template.

RoyalTS avatar RoyalTS commented on August 29, 2024

Suggestions/comments/pointers from my side:

  • I like the idea of making almost everything optional
  • provide bash scripts to install all external dependencies (brew install ...
  • I would switch to Rscript or littlr as the R command line interpreter. R CMD BATCH is outdated (https://stackoverflow.com/questions/21969145/why-or-when-is-rscript-or-littler-better-than-r-cmd-batch)
  • the Python environment should be more tightly controlled. conda is the neatest approach to this but requires anaconda to be installed on the system. In its absence, virtualenvs and freezing them via pip may be the best option
  • Have yet to find a truly great solution for more tightly controlling R packages and versions. packrat, pacman and checkpoint packages might all be options. No obvious best one among them.
  • if you did want to create your own LaTeX builder, writing a thin wrapper around latexmk would probably get you pretty far
  • and yes, a build failing when the targets didn't build seems like an absolutely essential feature of a build system

from template.

lboxell avatar lboxell commented on August 29, 2024

@gentzkow,

Is the call something you were wanting to do once you get back from France? Or were you wanting to do it sooner?

from template.

gentzkow avatar gentzkow commented on August 29, 2024

Let's do it sooner. Could you guys do 9:00 PT / 18:00 france time today?

from template.

jmshapir avatar jmshapir commented on August 29, 2024

i could probably do that

from template.

lboxell avatar lboxell commented on August 29, 2024

Closing task.

Summary:

from template.

Related Issues (20)

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.