/** | |
* This module describes a Calculator. | |
* The calculator performs a single calculation of a | |
* given function, then sends the output to a list of | |
* observers. | |
*/ | |
var Calculator = (function() { | |
/** |
#Project Goal The goal of the project is to facilitate drawing as a means of communication. This means that drawings should be able to be made and shared quickly and easily.
--
#Scope
This project WILL:
- To provide a tool through which the User can create drawings and share them as easily as possible.
#Overview Inspire consists of two main modules: A Node Express server and an OpenFramworks client.
The Node Express server is responsible for the following things: rendering the client input screen, fetching and bundling assets from various APIs, distributing assets, and playing audio files.
The OpenFrameworks client is responsible for handling the assets received from the server, generating a display, and broadcasting that display for use by MadMapper.
In addition to these components, several other repos that we worked on can be found at the Team Tentickles Organization on GitHub
#Requirements
#Intro
For this project, I experimented with several technologies that were new to me. I had barely looked into React or Redux, and my experience with Node servers and MongoDB was minimal. Many of the issues I ran into were a result of this inexperience, and I learned a lot from this.
#What Went Well
- The technologies work together: Despite working with so many new technologies, I was able to make them all integrate together. Getting the server to work in the front-end was particularly challenging, as I had never had to work with a single-page application. It was a challenging problem but I learned a lot by solving it.
- Coming up with a Minimum Viable Product: I had a lot of ideas for what I could do with this product and where I could take it. However, the core of my idea was always to have a simple drawing app where users could host and share their drawings. When I noticed certain aspects of the project going overscope, I at least had that basic app to fall back on.
#What Went Wrong
var canvas = document.createElement("canvas"); | |
canvas.width = window.innerWidth; | |
canvas.height = window.innerHeight; | |
var ctx = canvas.getContext("2d"); | |
ctx.translate(0.5, 0.5); | |
document.body.appendChild(canvas); | |
window.addEventListener("resize", function() { | |
canvas.width = window.innerWidth; |
Git is a popular free and open source distributed version control system.
I am new to Unity, but as a long time git user, I wanted to use git for my Unity projects. The bottom line is... it doesn't work nearly as well as I would like it to.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
import tensorflow as tf | |
# get MNIST data | |
from tensorflow.examples.tutorials.mnist import input_data | |
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) | |
# describe a placeholder for a value | |
x = tf.placeholder(tf.float32, [None, 784]) | |
# define the weights and biases |
(require 'package) ;; You might already have this line | |
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) | |
(not (gnutls-available-p)))) | |
(url (concat (if no-ssl "http" "https") "://melpa.org/packages/"))) | |
(add-to-list 'package-archives (cons "melpa" url) t)) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib | |
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) |