October 2022 Flashcards

(130 cards)

1
Q

EFI

A

Extensible Firmware Interface (bootloader)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

GPT

A

GUID Partition Table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cohda

A

CAV HW company (RSU, OBU)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

peplink

A

network HW company

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

pepwave

A

mobile networking tech made by peplink

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

FLIR

A

thermal cameras

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

RTSP

A

Real Time Streaming Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

NORPIX

A

digital video camera supplier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

FLYCAP

A

short for FlyCapture: Software to interface with FLIR (thermal cameras)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

PointGrey

A

A model of camera made by FLIR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Iteris

A

Sensor Fusion Company for Traffic Detection and CAV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

HAWK

A

High-intensity Activated crossWalK.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Monica Jones

A

Motion Sickness Project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ros2 cli commands (7 commands & 4 “things”)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

remapping topics at runtime? (ROS)

A

rosargs -r topic_name:=new_topic_name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In ROS what command to find out about a message type (data structure)

A

ros2 interface show

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Key pieces/concepts of ROS (7)

A

nodes
topics
pub/sub
servers/clients
interfaces
parameters
ros2bags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

ROS how to start many nodes at once? (naming convention too)

A

Launch File (my_robot_bringup)
remappings too

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

6 constraints of REST

A

client-server arch
statelessness
cacheability
layered system
code on demand
uniform interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

2XX response codes

A

200 - OK
201 - created
204 - No Content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

response code ranges

A

1XX - info
2XX - success
3XX - redirection
4XX - client error
5XX - server error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

4XX response codes

A

400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
405 - Method Not Allowed (i.e. PUT only targets singleton resource)
409 - Conflict (already exists)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

5XX response codes

A

500 - Internal Server Error
502 - Bad Gateway
503 - Service Unavailable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

vue events (lifecycle)

A

before create
created
before mount
mounted
before update
updated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
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)
26
Dave Leblanc
Acting Head of the Vehicle Systems & Control Group at UMTRI
27
GIS Point
All location info in one field.
28
Velodyne
A high-end Lidar brand
29
Vue slots
Slots are reserved space offered by vuejs to display content passed down from one component to another. There are two types of slot in vuejs namely: named slot and unnamed(default) slot. Used to pass down Html elements from one component to another.
30
v-model in Vue...
(note the opening/closing brackets are missing from the code below) input :value="text" @input="event => text = event.target.value" The v-model directive helps us simplify the above to: input v-model="text"
31
common use of kwargs
to pass a dictionary full of values down and around methods until all values are used.
32
__str__
just like ToString override
33
magic methods
dunders before and after
34
__repr__
unambiguous representation (a little bit like serialization)
35
not modified status
HTTP 304 cached file sent back.
36
idempotent
multiple operations give you back the same result. GET & PUT.
37
CORS
Cross Origin Resource Sharing
38
SOP (browsers)
Same Origin Policy
39
HTTP header for controlling caching (1 header, 2 value examples)
cache-control max-age (seconds) no-cache
40
term for getting around cache
cache busting
41
first class function
functions are treated as first-class citizens. i.e. as variables/arguments to be passed in
42
python equivalent to throw
raise
43
Python equivalent to try catch
try except
44
decorators syntax Python
@
45
Python oddity about functions
functions can be defined inside other functions
46
Common decorator name solution (Python)
import functools functools.wraps()
47
Python trick for when decorating with parameters
on internal function (the decorator) use *args, **kwargs... will work for any other combo of arguments.
48
List of immutable natives (Python) (5)
Tuples Integers String Float Bools
49
Important when setting up default parameters (python)
NEVER use a mutable type as a default. None is a better option
50
python lib that takes care of env
python-dotenv
51
flask env that gives hot restart
FLASK_ENV=development or FLASK_DEBUG=1
52
How to get errors documented automatically in flask API
use the smorest/flask abort method
53
"new" dictionary updater syntax (Python)
dict_var |= item_data
54
(Python) thing that aids in auto-documenting rest methods
Blueprint
55
Ultimate base class for Marshmallow
Schema
56
Python General ORM library
Marshmallow
57
field attribute to ensure method is only ever "out" for Rest API
dump-only
58
Most common use for class methods (python)
Factory method
59
Way of toggling from __str__ to __repr__
!r
60
Call a base class's constructor (Python)
super().__init__()
61
No real type safety in Python, but there is...
Type Hinting def function_name (var_name: float) -> String
62
Python Type hinting inside class for class (factory method)
use "Book" while type-hinting in class Book. Book otherwise.
63
(Git) dangerous state where head is behind where it should be.
Detached Head
64
(Git) Consequences of git merge squash
The meta data will not match making conflicts inevitable for future merges from that branch. You should kill the feature branch after doing the merge squash
65
BGP (networking)
Border Gateway Protocol protocol enabling data routing. BGP directs packets on paths. And update paths based on
66
RIB (networking)
Routing Information Base data table stored on a server on a BGP router
67
nickname for ACL
"Ackle"
68
Nominal AWS VPN throughput
1.25 Gbps
69
Compiling vs. Transpiling
Compiling one lang to another (different abstraction layers) to .exe or bytecode Transpiling one lang to another (same abstraction layer)
70
Oddity about SqlAlchemy modeling
Model (with relations) PlainModel (without relations)
71
(Python) get an environment variable
os.getenv()
72
(SqlAlchemy) code-first DB generation
db.create_all()
73
The bedrock base class for SQLAlchemy exceptions
SQLAlchemyError
74
An interesting function combing fetch & response (SQLAlchemy)
get_or_404(). There are others I'm sure. But good to know these exist.
75
Github Packages?
Source code & packages in one place (repo)
76
(JavaScript) Bracket notation vs. dot notation. Why use bracket notation, ever?
Because it allows for names to be passed in at runtime. (more dynamic)
77
Something to remember about scripted languages (functions)
functions can be declared ANYWHERE in scripted languages...
78
(HTML/JS) behavior when importing modules?
when importing scripts into HTML using the type=module, they will be deferred. (i.e. parsing/rendering will not stop on the import).
79
(JavaScript) Declaration vs. Expression notation for classes
Declaration - class Name {} Expression - const Name = class {} Expression is currently winning
80
(JavaScript) Standard Built-In Objects
Consult Standard Built-In Objects doco at MDN
81
(JavaScript) backtick
mutli-line strings with interpolation.
82
JavaScript Testing Modules (4)
Mocha - lightweight testing framework Chai - TDD assertion library Sinon - Mocking Library Jest
83
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
84
(Vuex) Why use computed props best for linking to state?
Because a computed property, when the underlying data changes it will be recomputed and trigger associated DOM updates... i.e. this is the reactive path "computed properties are cached based on their reactive dependencies. "
85
(Vuex) data model required traits (2)
1) Single Source Tree 2) Must be plain (as in a plain JavaScript Object)
86
(Vue/Vuex) What is the rootComponent?
the app
87
(Vuex) mapState helper's shortcut notations & traits (4)
mapState "helper" (emphasis on helper) 1) 'count' is same as 'state => state.count' 2) just the string alone of 'count' means count: state => state.count 3) use the spread operator to expand it into computed... 4) not cached
88
(Vuex) Why are there "Actions" in addition to "Mutations"?
Mutations must be synchronous Actions can be asynchronous - allows for more complicated orchestrations of operations
89
(Vuex) what does passing { root: true } do?
Allows dispatching of actions or mutations in the global namespace.
90
(Vuex) What to do when things are getting verbose?
Consult the doco. There are many shortcut notations that can be used.
91
(Vuex) Three major philosophies
1) App level state is centralized in the store 2) Changes only done in mutations 3) Async logic is done only in actions
92
(Vuex) What does strict mode do? (and explain the caveat)
Prevents mutations outside of mutations, but very expensive so not for PROD
93
(Vuex) Way of handling form 2-way binding
Bind the input's value and call a method on the input change event or... even better... A 2-way computed property (with get & set, consult doco)
94
What is provisioning?
The act of specifying environment variables
95
(JavaScript) Way of packing many other objects into one
object.assign object.assign( { a:1, b: 2}, c:3}
96
"npm ci" does what? (& 4 traits)
Clean Install It never writes to package.json or package-lock.json Is faster than install Will remove node_modules prior to execution Can not install global packages
97
ICMP
Internet Control Message Protocol Used for determining success or failure of communications between IPs. Not usually data
98
(Python) What is a Monkey patch?
Where your code changes a method from a module that it depends on.
99
PGBouncer
Lightweight Postgres Connection Pooler
100
Best Measurement for Autonomous Vehicles we have right now
Miles per disengagement (data is self reported, mostly from California)
101
How is the depth value derived in RGBD cameras?
AI (the camera does not have to be in stereo)
102
One of Lidar's big shortcomings
meant time to failure: 100-200 hours
103
Major shortcoming of radar
very weak detecting stationary objects
104
BEV (a common mapping/transformation)
Bird's Eye View
105
IoU
Intersection over Union yields value of 0 -> 1 Essentially a measure of the quality of detection
106
Measurements of quality of detection
Precision (true positives / (true and false) positives) Recall (true positives / (true positives + false negatives)) Intersection over Union
107
Precision (object detection metric)
true positives / all positives
108
Recall (object detection metric)
true positives / true positives + false negatives
109
What is an OD pair?
Origin and Destination (the beginnings of navigation)
110
FMVSS
Federal Motor Vehicle Safety Standards
111
Main reason NHTSA is reluctant to take the helm on regulation... and what they have been engaging in instead.
They lost more court cases than they won (6 out of 10 in first 15 years) So they focus more on recall management/enforcement now.
112
J3018
SAE guidelines for Safe On-Road Testing of SAE Level 3, 4, and 5 Prototype Automated Driving Systems
113
IAMTS
International Alliance for Mobility Testing & Standardization
114
Typical Latency for Humans vs. Perception AI
AI: 0.1 second Human: 0.7 seconds, but so much better @ accuracy and recall
115
TUV
Technicscher Uberwachungsverein Techincal Inspection Association Germany
116
KPA
Korean People's Army Maybe they are the one's setting the standards in South Korea?
117
IOO
Independent Owner Operator
118
SDSM
Sensor Data Sharing Message
119
Threshold of acceptable latency for perception/facility processing
300-400 ms
120
GRIDSMART
The fish-eye lens cameras we have on many intersections.
121
Famous yet simple car following model
Newell's Triangular Fundamental Diagram
122
Popular Microscopic Simulation Models (4)
3 Commercial VISSIM (by PTV in Germany) AIMSUN (Spain, now owned by Siemens) Paramics (UK) 1 Open Source SUMO (German)
123
AVSC
Automated Vehicle Safety Consortium
124
Oversaturation (intersection term)
When any car must sit through two cycles.
125
penetration
The number of vehicles that are connected over the total # of vehicles. (just some jargon)
126
Current Human rate of accidents
10^-6
127
SAFETEST
Safe, AI, FramEwork, Trustworthy, Edge, Scenario, Test
128
NADE
Naturalistic Adversarial Driving Environment
129
Vue example of when render happens. You can call it explicitly, but where does it happen implicitly? (commonly)
when "rendering" the template section of a component. (This makes a ton of sense)
130
A no-no for Vue rendering
mutating state. (State changes cause a new call to render, which will trigger new mutations, which will cause new render call... infinite loop.