(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
[ | |
{ | |
"name": "Yellow", | |
"munsell_hue": "Y", | |
"hex": "#FFFF00", | |
"children": [ | |
{ | |
"name": "Cadmium Yellow Light", | |
"company": "Liquitex", |
This is a small demo of how to create a library in Rust and call it from Python (both CPython and PyPy) using the CFFI instead of ctypes
.
Based on http://harkablog.com/calling-rust-from-c-and-python.html (dead) which used ctypes
CFFI is nice because:
ctypes
use std::fmt; | |
struct Vector3<T>( T, T, T ); | |
struct Vector4<T>( T, T, T, T ); | |
struct Vertex | |
{ | |
pos : Vector3<f32>, | |
color : Vector4<f32>, | |
normal : Vector3<f32> |
ffmpeg -i test.mov -vcodec libx264 -vf 'scale=640:trunc(ow/a/2)*2' -acodec aac -vb 1024k -minrate 1024k -maxrate 1024k -bufsize 1024k -ar 44100 -strict experimental -r 30 out.mp4 |
git log --oneline -1 <PR-BRANCH>
git push -f origin :
# Windows | |
Build MyProjectEditor Win64 Development "D:\Unreal\MyProject\MyProject.uproject" -waitmutex | |
# Linux | |
Build.sh MyProjectEditor Linux Development "/home/mvlabat/unreal/projects/MyProject/MyProject.uproject" -waitmutex |
# Make OBJS depend on CPP/C/CXX/LD flags | |
$(OBJS): $(BUILDDIR)/flags.txt | |
# Creates a new flags.txt file when flags change | |
# make will detect this change and force a rebuild of | |
# all the sources | |
.PHONY: flags | |
$(BUILDDIR)/flags.txt: flags | |
$(Q){ \ | |
TMP=`mktemp`; \ |
時に、西暦2015年 | |
「本日は12時30分、東海地方を中心とした関東中部全域に特別非常事態宣言が発令されました。住民の方々は速やかに指定のシェルターへ非難してください。繰り返しお伝えいたします。本日は12時30分、東海地方を中心とした関東中部全域に特別非常事態宣言が発令されました。住民の方々は速やかに指定のシェルターへ・・・・・・・」 | |
ミサト:よりによってこんな時に見失うだなんて・・・まいったわねぇ | |
「特別非常宣言発令のため現在全ての普通回線は不通となっております。」 | |
シンジ:だめか。やっぱり来るんじゃなかった。待ち合わせは無理か。 |