background preloader

Software

Facebook Twitter

Welcome to Clyther’s documentation! — Clyther development documentation. CLyther is a Python tool similar to Cython and PyPy.

Welcome to Clyther’s documentation! — Clyther development documentation

CLyther is a just-in-time specialization engine for OpenCL. The main entry points for CLyther are its clyther.task and clyther.kernel decorators. Once a function is decorated with one of these the function will be compiled to OpenCL when called. CLyther is a Python language extension that makes writing OpenCL code as easy as Python itself. CLyther currently only supports a subset of the Python language definition but adds many new features to OpenCL. CLyther exposes both the OpenCL C library as well as the OpenCL language to python. Objectives: Make it easy for developers to take advantage of OpenCLTake advantage existing Python numerical algorithmsAccelerate my code! Philosophy: Enable users to have 100% control via Python. List of freely available programming books. 5 Weeks of Go.

I promised a few people that I’d write up my impressions of Go after spending 5 or so weeks learning it while developing Amberfell.

5 Weeks of Go

I’m not an expert in computer language design nor do I have extensive experience in obscure languages. I pick my language based on how productive I and others can be with it not on how pure it is. In my opinion the Go designers have done an excellent job of blending the flexibility and convenience of a scripting language with the performance and safety of a strongly typed compiled language. Coupled with its special support for concurrency and excellent standard library this makes Go a great language to work with.

The amazing speed of the compiler means the development cycle is a fast as a scripting language even though full optimizations are always switched on. A few things to remember while coding in Python. How to be a Programmer: A Short, Comprehensive, and Personal Summary. Debugging is the cornerstone of being a programmer.

How to be a Programmer: A Short, Comprehensive, and Personal Summary

The first meaning of the verb to debug is to remove errors, but the meaning that really matters is to see into the execution of a program by examining it. A programmer that cannot debug effectively is blind. Idealists that think design, or analysis, or complexity theory, or whatnot, are more fundamental are not working programmers. Introduction to Test Driven Development (TDD) Test-driven development (TDD) (Beck 2003; Astels 2003), is an evolutionary approach to development which combines test-first development where you write a test before you write just enough production code to fulfill that test and refactoring.

Introduction to Test Driven Development (TDD)

What is the primary goal of TDD? One view is the goal of TDD is specification and not validation (Martin, Newkirk, and Kess 2003). In other words, it’s one way to think through your requirements or design before your write your functional code (implying that TDD is both an important agile requirements and agile design technique). Improving your code with modern idioms — Porting to Python 3 - The Book Site. Which languages are used for safety-critical software. Computer and Network Security - Massachusetts Institute of Technology - Spring 2012. Paper details, and presentation dates set Presentation dates are posted here.

Computer and Network Security - Massachusetts Institute of Technology - Spring 2012

The project paper should be similar to a research paper - it should talk about the problem studied, the previous work (if any), the approach taken, the results found, and conclusions. In particular you should point out your project extends previous work on the subject! Encryption is not gravy. Cheetah - The Python-Powered Template Engine. Basic framework for presentations using HTML5 + javascript.

Bartaz/impress.js. Modern HTML Presentations. So Many Ways to Start Your Mongo. HTML5 Presentation. In March 1936, an unusual confluence of forces occurred in Santa Clara County.

HTML5 Presentation

A long cold winter delayed the blossoming of the millions of cherry, apricot, peach, and prune plum trees covering hundreds of square miles of the Valley floor. Then, unlike many years, the rains that followed were light and too early to knock the blossoms from their branches. Instead, by the billions, they all burst open at once. Seemingly overnight, the ocean of green that was the Valley turned into a low, soft, dizzyingly perfumed cloud of pink and white. Uncounted bees and yellow jackets, newly born, raced out of their hives and holes, overwhelmed by this impossible banquet. Then came the wind. About Exploit Exercises. Club Dr-DOS Wiki.

Cheat sheets for the beginners - Electronics. The picture shows a fragment of perfect cheat sheet that has the basic electronic components, including their appearance and the symbol on the schematic circuits.

Cheat sheets for the beginners - Electronics

A cheat sheet for the electronic components (PDF, 168Kb)A cheat Sheet for the microcontrollers AVR (Part 1) (PDF, 61Kb)A cheat Sheet for the microcontrollers AVR (Part 2) (PDF, 61Kb) PS: Also, this website has an interesting blog with a description of effective electronic craft projects, including the links to the open source firmware. SVG animations, CSS Animations, CSS Transitions.

Recently there was a discussion in the SVG working group how SVG Animations (based on SMIL Animations), CSS3 Animations and CSS3 Transitions contribute to the animation sandwich model for SVG presentation attributes.

SVG animations, CSS Animations, CSS Transitions

SVG presentation attributes First, what are SVG presentation attributes? Dynamic estimation: Kalman filter and square root filter. BrowserQuest/client at master · mozilla/BrowserQuest. Projects. Riak Overview. Faster than C ― Andreas Zwinkau. Judging the performance of programming languages, usually C is called the leader, though Fortran is often faster.

Faster than C ― Andreas Zwinkau

New programming languages commonly use C as their reference and they are really proud to be only so much slower than C. Few language designer try to beat C. What does it take for a language to be faster than C? Better Aliasing Information Aliasing describes the fact that two references might point to the same memory location. Void* memcopy(void* dst, const void* src, size_t count) { while (count--) *dst++ = *src++; return dst; } Bit Twiddling Hacks. By Sean Eron Anderson seander@cs.stanford.edu Individually, the code snippets here are in the public domain (unless otherwise noted) — feel free to use them however you please.

Bit Twiddling Hacks

The aggregate collection and descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and without even the implied warranty of merchantability or fitness for a particular purpose. As of May 5, 2005, all the code has been tested thoroughly. (un)classroom. S Nginx Tutorials (version 2012.03.23) CSS-Tricks. Deploying My Django Application to DotCloud. Django Hosting Roundup: (Ep.io vs Gondor.io vs DotCloud vs Heroku vs AppHosted vs DjangoZoom) Who wins?

Platform Overview. Applications & Services. Building a Mobile Web Application Tech Stack. CS61A, Spring 2012 Online Textbook. Python for makers. Python Meets the Arduino. Python for data lovers: explore it, analyze it, map it. Writing a Pyramid application. Introduction to Django. A Noob Speaks to Noobs: Your First Site in the Cloud. Designing Embedded Systems with Linux and Python. Cross-Compiling Python & C Extensions for Embedded Systems. Patterns for building large Pyramid applications. CRC 16 CCITT in C# - Sanity Free Coding - C#, .NET, PHP.

Chapter 1: Introduction to Django. Building a blog in 30 mins with Django (Screencast) Just uploaded a quick screencast showing how to build a blog in Django in just 30 minutes (plus a couple of seconds :) ). Bottle: Python Web Framework — Bottle 0.11.dev documentation. Bottle is a fast, simple and lightweight WSGI micro web-framework for Python.

It is distributed as a single file module and has no dependencies other than the Python Standard Library. Routing: Requests to function-call mapping with support for clean and dynamic URLs.Templates: Fast and pythonic built-in template engine and support for mako, jinja2 and cheetah templates.Utilities: Convenient access to form data, file uploads, cookies, headers and other HTTP-related metadata.Server: Built-in HTTP development server and support for paste, fapws3, bjoern, Google App Engine, cherrypy or any other WSGI capable HTTP server. Example: “Hello World” in a bottle from bottle import route, run, template @route('/hello/<name>')def index(name): return template('<b>Hello {{name}}</b>!

', name=name) run(host='localhost', port=8080) Run this script or paste it into a Python console, then point your browser to That’s it. Pylons Project : Home. C & C++