+=============================================================+
| MINIMAL BASH - MAXIMAL FUN |
| |
| Who needs regular characters anyway? |
| |
| Supported characters: $ ( ) # ! { } < \ ' , |
| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Relaxed Agent state recovery | |
# Problem | |
Most experienced mesos users will have encountered the following error message: | |
E1103 18:30:03.451825 12204 slave.cpp:6302] EXIT with status 1: Failed to perform recovery: Incompatible agent info detected. | |
------------------------------------------------------------ | |
[...] | |
------------------------------------------------------------ |
Imagine this totally hypothetical situation: You're in a boring meeting without internet, play a round of nethack as a rogue, and come across a dwarvish mithril-coat. Should you replace your current leather armor? On the one hand, mithril sounds pretty nifty. On the other hand, it seems a bit out-of-character for a rogue to wear full plate armor, so surely there are some good reasons to keep the leather?
Luckily, you are a professional developer, so you have a local copy of the games' source code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def kalman_update(state_mean, state_cov, measurement, measurement_matrix, meas_cov): | |
# meas_cov should be a matrix with the right dimensions | |
statedim = state_mean.size | |
x = reshape( atleast_2d(state_mean), (statedim,1) ) | |
C = atleast_2d( state_cov ) | |
H = atleast_2d(measurement_matrix) | |
y = atleast_2d(np.array(measurement)) | |
innovation = y - dot(H,x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 | |
200 | |
0 1 1 1 | |
1 0 1 1 | |
1 2 1 1 | |
2 1 1 1 | |
2 3 1 1 | |
3 2 1 1 | |
3 4 1 1 | |
4 3 1 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'nokogiri' | |
require 'open-uri' | |
require 'watir-webdriver' | |
require './acm_issue_downloader.rb' | |
require './acm_base.rb' | |
#base class for all acm-specific html extraction functions | |
class ACMBase | |
def extract_id(url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{exam} | |
\begin{document} | |
\begin{questions} | |
\section{Koordinatensysteme und Geometrie} | |
\titledquestion{Kameramodell} | |
Gegeben sei eine Kamera $C$ mit Projektionszentrum ${\mathbf{e}}$, Ziel-Vektor $\mathbf{z}$ und normalisiertem Up-Vektor $\mathbf{up}$. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
#include <vector> | |
#include <iterator> | |
#include <fstream> | |
#include <iostream> | |
#include <GL/gl.h> | |
#include <GL/glext.h> | |
#include <SDL/SDL.h> |
NewerOlder