Skip to content

Instantly share code, notes, and snippets.

View sunsided's full-sized avatar
🇺🇦
#StandWithUkraine

Markus Mayer sunsided

🇺🇦
#StandWithUkraine
View GitHub Profile
@sunsided
sunsided / quadratic-interpolation.m
Last active July 17, 2022 10:08
Quadratic interpolant for fixed f(x_0), f(x_1) and f'(x_0)
syms a b c x_0 x_1 f(x_0) f(x_1) df(x_0)
[a, b, c] = solve(...
f(x_0) == a*x_0^2 + b*x_0 + c, ...
f(x_1) == a*x_1^2 + b*x_1 + c, ...
df(x_0) == 2*a*x_0 + b, ...
a, b, c);
syms q(x)
q(x) = simplify(a*x^2 + b*x + c);
@sunsided
sunsided / emergence.csv
Last active July 16, 2022 10:21
Effects of emergence on example machine learning problems (Shahab, 2017)
Example ML problem Feature space Feature noise Emergence barrier Prediction success
Character recognition handwritten character images high none high
Speech recognition sound waves high none high
Weather predictions climate sensor data high weak high
Recommendation system historic preferences, likes, etc. low weak moderate
Ad-click prediction historic click behavior low weak moderate
Device failure prediction sensor data high weak moderate
Healthcare outcome predicitons patient data, vital signs, behavior, etc. high strong low
Melting/boiling point prediction molecular/atomic structure low strong low
Stock prediction historic stock value, news articles, etc. low strong low
@sunsided
sunsided / rr-with-rust.md
Created March 29, 2022 22:03 — forked from spacejam/rr-with-rust.md
using rr with rust

using rust with rr

rr is a great debugging tool. it records a trace of a program's execution, as well as the results of any syscalls it executes, so that you can "rewind" while you debug, and get deterministic forward and reverse instrumented playback. it works with rust, but by default if you try it out, it could be pretty ugly when you inspect variables. if this bothers you, configure gdb to use a rust pretty-printer

rr is probably in your system's package manager.

usage

@sunsided
sunsided / fartcoin.sol
Last active January 31, 2022 16:50
FartCoin contract
pragma solidity ^0.8.2;
contract Token {
mapping(address => uint) public balances;
mapping(address => mapping(address => uint)) public allowance;
uint public totalSupply = 8000000000 * 10 ** 18;
string public name = "FartCoin";
string public symbol = "FART";
uint public decimals = 18;
@sunsided
sunsided / waveshare-jetracer-pro-ai-jetpack-4.5.md
Last active September 29, 2021 23:07
Waveshare JetRacer Pro AI - JetPack 4.5+ (stats display fix)
@sunsided
sunsided / gpu.sh
Created July 29, 2021 13:53
GPU selection
#!/usr/bin/env bash
set -eo pipefail
# Options: nvidia, intel, query
GPU=${1:-query}
echo "Current renderer:"
glxinfo | grep -E "OpenGL renderer\ string"
echo ""
@sunsided
sunsided / cpu.sh
Created July 29, 2021 13:53
CPU governor selection
#!/usr/bin/env bash
set -eo pipefail
GOVERNORS=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors)
echo "Available governors:"
echo $GOVERNORS
echo ""
echo "Current governor:"
@sunsided
sunsided / jetpack-lsb-release
Created July 15, 2020 21:29
Installing JetPack 4.4 / Jetson 32.4 on Ubuntu 20.04
NAME="Ubuntu"
VERSION="18.04 (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04"
VERSION_ID="18.04"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
@sunsided
sunsided / postinst
Created June 3, 2020 12:38 — forked from dizz/postinst
Fix for installing ros-kinetic-realsense
#!/bin/sh
# postinst script for ros librealsense package
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>

Autonomous Systems Interview Preparations

This document contains some interview questions as provided in Udacity's Robotics Engineer Nanodegree program.

Project Instructions

Role Selection

It's time for you to practice your interviewing skills! Over the next several pages, you'll see that we have specific roles in Autonomous Systems, just like the videos you watched before: