Skip to content

Instantly share code, notes, and snippets.

View OttoAllmendinger's full-sized avatar

Otto Allmendinger OttoAllmendinger

View GitHub Profile
### Keybase proof
I hereby claim:
* I am OttoAllmendinger on github.
* I am ottoallmendinger (https://keybase.io/ottoallmendinger) on keybase.
* I have a public key whose fingerprint is FFEE 6118 C158 8E8B E3D0 FE44 A081 A87E 6C39 20C3
To claim this, I am signing this object:
// no outside dependencies
package sigformat
sigformat.SigFormat(msg PathLooker, values, keys []string) ([]byte, error)
// dependency to ed25519
package identity
type SecretKey
type PublicKey
var d1 = new Date(2012, 9, 27);
var d2 = new Date(2012, 9, 28);
console.log(d2 - d1);
var returnsObject = function () {
return { complicatedName: false }
}
var o = returnsObject();
if (o.complicatedNameMispelled) {
// never goes there because attribute === undefined
// other languages would throw an AttributeError or something similar
}
General
- i386-softmmu is no longer named qemu but instead referred to as qemu-system-i386 for better consistency with other targets. A new tool is likely to be introduced that uses the qemu name so distributions are advised to not undo this change.
- QEMU now uses a separate thread for VCPU execution. This merges the biggest difference between the qemu-kvm tree and upstream QEMU.
- A new memory dispatch API has been added internally. A new monitor command "info mtree" can show the hierarchy of memory regions in the guest.
- QEMU now has a build dependency on glib and makes extensive use of glib.
- QEMU now can run on more hosts. Hosts without a native code generator can use the TCG interpreter (TCI). See Features/TCI for more information.
Block devices (disks)
[snip]
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./src -I./src -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -march=i686 -mtune=generic -O2 -pipe -Wextra -Wall -Wno-unused -Wno-deprecated -DTIXML_USE_STL=1 -c src/template.cc -fPIC -DPIC -o .libs/libctemplate_wb_la-template.o
In file included from ./src/ctemplate/template.h:48:0,
from src/template.cc:63:
./src/ctemplate/template_dictionary.h:73:11: error: ‘ptrdiff_t’ does not name a type
src/template.cc: In static member function ‘static void ctemplate::Template::AssureGlobalsInitialized()’:
src/template.cc:2368:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[4]: *** [libctemplate_wb_la-template.lo] Error 1
make[4]: Leaving directory `/var/abs/community/mysql-workbench/src/mysql-workbench-gpl-5.2.33-src/ext/ctemplate/ctemplate-src'
==> Validating source files with md5sums...
libreadline-java-0.8.0-src.tar.gz ... Passed
==> Extracting Sources...
-> Extracting libreadline-java-0.8.0-src.tar.gz with bsdtar
==> Starting build()...
mkdir ./build
cd src ; make JAVAC="javac" JC_FLAGS="" java
make[1]: Entering directory `/home/otto/tmp/java-readline/src/libreadline-java-0.8.0/src'
javac -d ../build `find . -name "*.java"`
make[1]: Leaving directory `/home/otto/tmp/java-readline/src/libreadline-java-0.8.0/src'
diff --git a/Info2/Aufgabe7_4-Binary-Tree/Pair.h b/Info2/Aufgabe7_4-Binary-Tree/Pair.h
index ba61eea..0c10b0e 100644
--- a/Info2/Aufgabe7_4-Binary-Tree/Pair.h
+++ b/Info2/Aufgabe7_4-Binary-Tree/Pair.h
@@ -18,7 +18,7 @@ public:
keytype key;
valuetype value;
- Pair(keytype key, valuetype value = type()) {
+ Pair(keytype key, valuetype value = valuetype()) {
@OttoAllmendinger
OttoAllmendinger / gist:714405
Created November 24, 2010 21:00
makepkg fail for ghdl
make[2]: *** No rule to make target `../gcc/gtype-vhdl.h', needed by `ortho-lang.o'. Stop.
make[2]: *** Waiting for unfinished jobs....
echo '../.././gcc/config/i386/i386.h' >> tmp-gi.list
echo '../.././gcc/config/i386/unix.h' >> tmp-gi.list
echo '../.././gcc/config/i386/att.h' >> tmp-gi.list
/bin/sh ../.././gcc/../move-if-change tmp-optionlist optionlist
echo '../.././gcc/config/dbxelf.h' >> tmp-gi.list
echo '../.././gcc/config/elfos.h' >> tmp-gi.list
echo timestamp > s-options
echo '../.././gcc/config/svr4.h' >> tmp-gi.list
<html>
<script test="text/javascript">
alert("Hallo Welt");
</script>
<body>
</body>
</html>