ctb / advanced-swc Goto Github PK
View Code? Open in Web Editor NEWIntermediate and Advanced Software Carpentry tutorial material
Intermediate and Advanced Software Carpentry tutorial material
Welcome! You have stumbled upon the class handouts for a course I taught at Lawrence Livermore National Lab, June 12-June 14, 2007. See ReadTheDocs http://intermediate-and-advanced-software-carpentry.readthedocs.org/en/latest/ for an up-to-date HTML version produced from the master github repository, https://github.com/ctb/advanced-swc
Not sure if your still maintaining this, but there’s an error in the example in the “any and all” section from day 2:
x = [ True, False ]
print any(x)
True
print all(x)
False
>>> y = [ True, True ]
print any(x)
True
print all(x)
False
z = [ False, False ]
print any(z)
False
print all(z)
False
You defined y but passed x to the function. Clearly you meant for both any and all to return True here.
Best!
John
These example functions at the beginning of the article take two inputs, start and stop, but continue to loop from the range 0 to 10 in each example. It seems they should make use of the variables start and stop, without which they aren't reusable.
The documentation needs to be updated for pypy.
The setup file doesn't run with python3 or higher.
advanced-swc/publish/c++-wrapping.txt
Line 12 in af81ac8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.