Alex Xu

Results 91 comments of Alex Xu

i think ffmpeg is looking for duration metadata. first it reads the start; it isn't there. then it checks the end; it isn't there either. nothing else to try but...

> Stripping final executable files is fine, but stripping intermediate object files doesn't make much sense. If a compiler emits a symbol, it's there for a reason. The symbols are...

my solution uses sed and .import: ``` #!/bin/sh LC_CTYPE=C sed -e ':a;/\\$/{N;b a};s/"/""/g;t b;:b;s/^: \([0-9]*\):\([0-9]*\);\(.*\)$/"\3",\1,\2/;t;s/.*/"&","",""/' ~/.zsh_history | sqlite3 3

because fricy makes them and Linux builds are a stupid idea. respectively.

last I touched this code, it was intended that one use `qmake && make $TYPE` where `$TYPE` is either `debug` or `release`, instead of having to modify the .pro file.

in the process it would be nice to also migrate to CMake.

this avoids the need to go around in circles calling /proc/self/exe as root insecurely.

this should be a pretty easy fix for anyone using OSX.

absolutely brilliant. it's actually _harder_ to use the proper `taskport` authorization than the self-exec method. afaict, stock `taskgated` will only accept `taskport` authorizations if the program is signed with a...

more options: - make a standalone wrapper instead of doing this self-exec crap. - make the app ask for root permission on first run to install the certificate. (but then...