November 2022 Flashcards
Are we married to AWS
No, but they are contributing 200k per year, so we should use them. But Avoid tight coupling.
Geometry Types supported by GeoJSON
Point
LineString
MultiPoint
MultiLineString
MultiPolygon
What is Amazon CoudTrail
Auditing Tool
Trail as in audit trail.
users actions in AWS: management console, CLI, SDKs, and APIs
Blue City
State funded group working with CCAT to put lidar sensors up in Ann Arbor.
Python Black
auto-formatter for Python code
What is POSIX?
POSIX (Portable Operating System Interface) is a set of standard operating system interfaces based on the Unix operating system. The X is for Unix
TSCBM
Traffic Signal Controller Broadcast Message
SAE Specs as a group
J2735 - V2x message set (SPaT, MAP, BSM) used by DSRC & CV2X
J3016 - Levels
J3018 guidelines for testing Automated Vehicles
J3224 - SDSM (Sensor Data Sharing Message)
VOICES
Virtual Open Innovation Collaboration Environment for Safety (DoT collab initiative)
TENA
Test and Training Enabling Architecture (the backbone of collaboration for VOICES)
DDS
Data Distribution Service
A networking middleware that simplifies complex network programming. Implements publish–subscribe pattern for sending and receiving data, events, and commands among the nodes. Nodes that produce information (publishers) create “topics” (e.g., temperature, location, pressure) and publish “samples”. DDS delivers the samples to subscribers that declare an interest in that topic.
ros2 cli commands (7 commands & 4 “things”)
thing = topic, node, interface, parameter
ros2 thing list
ros2 thing info (see type and number of subs/pubs)
ros2 thing echo
ros2 thing hz
ros2 thing bw
ros2 thing pub
ros2 bag play/record
Key pieces/concepts of ROS (7)
nodes
topics
pub/sub
servers/clients
interfaces
parameters
ros2bags
state options (Vue) (7)
data (returns the initial reactive content state)
props
computed
methods
watch (define callbacks to be used on data change)
emits
expose (a way of creating public properties)
__repr__
unambiguous representation of an object
flask env that gives hot restart
FLASK_ENV=development
or
FLASK_DEBUG=1
Common decorator name solution (Python)
import functools
functools.wraps()
“new” dictionary updater syntax (Python)
dict_var |= item_data
Ultimate base class for Marshmallow
Schema
Python General ORM library
Marshmallow
field attribute to ensure method is only ever “out” for Rest API
dump-only
Way of toggling from __str__ to __repr__
!r
Call a base class’s constuctor (Python)
super().__init__()
(Git) dangerous state where head is behind where it should be.
Detached Head
nickname for ACL
“Ackle”
Oddity about SqlAlchemy modeling
Model (with relations)
PlainModel (without relations)
An interesting function combing fetch & response (SQLAlchemy)
get_or_404(). There are others I’m sure. But good to know these exist.
Vuex state diagram (describe from memory)
VUE off to the left, with an input and an output
input: Render
output: Dispatch
Vuex on the right with three states Actions (takes in dispatch) two-way with Backend API Mutations (takes in Mutations) two-way with devtools State (takes in Mutated) outputs Render
(JavaScript) Way of packing many other objects into one
object.assign
object.assign( { a:1, b: 2}, c:3}
ICMP
Internet Control Message Protocol
Used for determining success or failure of communications between IPs. Not usually data