I hereby claim:
- I am dendisuhubdy on github.
- I am dendisuhubdy (https://keybase.io/dendisuhubdy) on keybase.
- I have a public key whose fingerprint is 0D5A 22BC 4B3C 1050 5A7D 3275 69F8 AAE9 B3C0 6100
To claim this, I am signing this object:
| class Hopfield_neuron | |
| { | |
| protected: | |
| int activation; | |
| friend class Hopfield_network; | |
| public: | |
| int weight[4]; | |
| Hopfield_neuron() {}; | |
| Hopfield_neuron(int *j); |
| #include "hopfield.h"; | |
| Hopfield_neuron::Hopfield_neuron(int *j) | |
| { | |
| for(int i=0; i<4; i++) | |
| { | |
| weight[i] = *(j+i); | |
| } | |
| } |
| #include <iostrem> | |
| int main() | |
| { | |
| std::cout << "Hello world" << std::endl; | |
| } |
| ; Basic OS X calls to glibc | |
| ; | |
| ; compile with: | |
| ; nasm -g -f macho malloc.asm | |
| ; gcc -o a.out malloc.o | |
| ; | |
| ; glibc stuff | |
| extern _puts, _printf, _malloc, _free |
I hereby claim:
To claim this, I am signing this object:
| // foldExpression.cpp | |
| #include <iostream> | |
| bool allVar(){ | |
| return true; | |
| } | |
| template<typename T, typename ...Ts> | |
| bool allVar(T t, Ts ... ts){ |
This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:
*nix based command prompt (but not the default Windows Command Prompt!)cd ~/.ssh. This will take you to the root directory for Git (Likely C:\Users\[YOUR-USER-NAME]\.ssh\ on Windows).ssh folder, there should be these two files: id_rsa and id_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Type ls to see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be named id_rsa and id_rsa.pub in order for Git, GitHub, and BitBucket to recognize them by default.ssh-keygen -t rsa -C "[email protected]". Th| grok-machine:autodiff dendisuhubdy$ g++ main.cpp -o main | |
| main.cpp:59:13: error: call to 'pow' is ambiguous | |
| ::pow(a.Real(), y), | |
| ^~~~~ | |
| /usr/include/math.h:443:15: note: candidate function | |
| extern double pow(double, double); | |
| ^ | |
| main.cpp:56:20: note: candidate function | |
| inline CDualNumber pow (const CDualNumber &a, float y) | |
| ^ |
| #include <stdio.h> | |
| #include <math.h> | |
| #define PI 3.14159265359f | |
| // In production code, this class should probably take a template parameter for | |
| // it's scalar type instead of hard coding to float | |
| class CDualNumber | |
| { | |
| public: |
| import time | |
| import datetime | |
| import numpy as np | |
| import cv2 | |
| import obd | |
| from pymongo import MongoClient | |
| def main(): | |
| # define On Board Diagnostics |