Skip to content

Instantly share code, notes, and snippets.

View yabberyabber's full-sized avatar
🐐

Andrew Nelson yabberyabber

🐐
  • Arista Networks
  • San Luis Obispo, California
  • 20:13 (UTC -07:00)
View GitHub Profile
# based on https://swtch.com/~rsc/regexp/regexp1.html
class State:
SPLIT, FINAL, CHAR = range( 3 )
def __init__( self, stateType, outStates ):
self.stateType = stateType
self.outStates = outStates
def __repr__( self ):
import java.util.*;
public class PenSolver {
private enum Colors {
Red, Orange, Yellow, Green, Blue, White, Blank
}
private enum Direction {
Left, Right
}

You are administering the turing test to an entity via facebook messenger. At the end of the test, you must decide whether the entity with whom you are speaking is a human or if it is a machine. If you decide correctly, then you have "successfully administered" the turing test. The following are constraints:

  • The duration of the test can be no longer than 1 hour
  • You can use any feature of facebook messenger, including the "typing" notification
  • You may not use your camera or microphone (any images or sounds sent must be copies already existing images or sound... think google images)

#Level 1, language/alphabet constraints 1.1. Assume that you and the entity with whom you are speaking are both capable of conversing in English. Using text, emojis, facebook stickers, giphy, or any images from google images. Can you successfully administer the turing test under these conditions?

1.2. Assume that you and the entity with whom you are speaking do not share a common language, but that you both speak a g

You probably wanted the CANTalon symbols list. This is CanTalonSRX. Check here https://gist.github.com/yabberyabber/03035f33cfdec367c459fb0caef661bf
00003d84 T CanTalonSRX::GetCurrent(double&)
00004930 T CanTalonSRX::GetStatus5()
000046f0 T CanTalonSRX::GetBatteryV(double&)
00001d10 T CanTalonSRX::GetControl6()
00004b6c T CanTalonSRX::GetFirmVers(int&)
00004238 T CanTalonSRX::GetQuadApin(int&)
000042c0 T CanTalonSRX::GetQuadBpin(int&)
CANTalon.o:
0000b870 t _GLOBAL__sub_I_CANTalon.cpp
00006f68 T CANTalon::ClearIaccum()
00000cc0 T CANTalon::GetDeviceID()
0000abd8 T CANTalon::SetInverted(bool)
0000337c T CANTalon::SetPosition(double)
0000164c T CANTalon::SetSetpoint(double)
0000b210 T CANTalon::UpdateTable()
0000ac84 T CANTalon::ValueChanged(ITable*, llvm::StringRef, std::shared_ptr<nt::Value>, bool)
00001720 T CANTalon::EnableControl()
PigeonImu.o:
00002c54 t _GLOBAL__sub_I_PigeonImu.cpp
0000222c T _ZN9PigeonImu10GetRawGyroEPd
00000ffc T _ZN9PigeonImu10ReceiveCANEi
00001030 T _ZN9PigeonImu10ReceiveCANEib
0000274c T _ZN9PigeonImu11GetFirmVersEv
00000f04 T _ZN9PigeonImu11HandleErrorEi
00000000 W _ZN9PigeonImu12FusionStatusC1Ev
00000000 W _ZN9PigeonImu12FusionStatusC2Ev
00000000 n _ZN9PigeonImu12FusionStatusC5Ev
@yabberyabber
yabberyabber / What your favorite unix command says about you.md
Last active April 29, 2018 01:35
What your favorite unix command says about you

What your favorite unix command says about you

Find your favorite unix utility out of the items in the list below. The paragraph below it describes your personality.

Bash

Life is a sequence commands to be run. You enjoy memorizing tricky syntax quirks and writing concise, descrete commands. If you lived in Babylonian times, you would have been a scribe. You probably freak out about grammar and punctuation when you use natural languages.

Make

Who has time to memorize commands and tricky syntaxes? Life is about getting things done. Is that already done? Skip it and do the next thing. You probably like to skim documentation for whatever you need, throw it in the makefile, and never look at it again. When speaking natural languages, you probably make a lot of grammar and punctuation mistakes.

class A:
def __init__(self):
print("A.__init__")
class B(A):
def __init__(self):
print("B.__init__")
super().__init__()
class C(A):
#include <stdio.h>
/**
* Class Banana has a single parameter constructor
*/
class Banana {
public:
Banana(int size) {
m_size = size;
}