I hereby claim:
- I am yinyunqiao on github.
- I am yinyunqiao (https://keybase.io/yinyunqiao) on keybase.
- I have a public key whose fingerprint is 920B 4399 FAD1 1C9D 5EBE ADFB 7BB3 B9D9 4842 BD35
To claim this, I am signing this object:
class Task | |
{ | |
public: | |
typedef map< string, Task * > TaskMap; | |
Task( const string & name ) : | |
_name( name ), | |
_succeed( false ), | |
_started ( false ) | |
{} | |
void addTask( Task * task ) |
I hereby claim:
To claim this, I am signing this object:
import http 1.0 | |
HttpServer { | |
id:server | |
port:8888 | |
onRequest: { /*request, response*/ | |
response.write('<h1>Hello QML!</h1>') | |
.end(); | |
} |
#psqlpostgresql 9.2 | |
sudo add-apt-repository ppa:pitti/postgresql | |
sudo apt-get install postgresql-9.2 apache2 aptitude bzr git sshfs tmux php-pear php-apc libphp-phpmailer php5-mcrypt php5-curl | |
#ubuntu uses dash as /bin/sh by default, we need to change it back to bash | |
sudo dpkg-reconfigure dash | |
sudo ln -s /usr/bin/perl /usr/local/bin/ | |
sudo ln -s /usr/bin/php /usr/local/bin/ | |
sudo ln -s ~/perl5/lib/perl5 /usr/local/lib/perl/5.14.2 |
Why Go? | |
省略溢美之词若干 :) .... | |
Why not Go? | |
There are a few things about Go that I'm not super happy about, and that tend to bite me from time to time. | |
First, you need to "know" whether the variable you are dealing with is an interface or a struct. Structs can implement interfaces, of course, so in general you tend to treat these as the same thing. But when you're dealing with a struct, you might be passing by reference, in which the type is *myStruct, or you might be passing by value, in which the type is just myStruct. If, on the other hand, the thing you're dealing with is "just" an interface, you never have a pointer to it -- an interface is a pointer in some sense. It can get confusing when you're looking at code that is passing things around without the * to remember that it might actually "be a pointer" if it's an interface rather than a struct. |
Verifying my Blockstack ID is secured with the address 1L4NWHqZwP4cJT1r2VkwYPGtWpdtDfRK2t https://explorer.blockstack.org/address/1L4NWHqZwP4cJT1r2VkwYPGtWpdtDfRK2t |
Verifying my Blockstack ID is secured with the address 1L4NWHqZwP4cJT1r2VkwYPGtWpdtDfRK2t https://explorer.blockstack.org/address/1L4NWHqZwP4cJT1r2VkwYPGtWpdtDfRK2t |
{"sig":"e6cfd1254780aeb4e6191ee09a3e1212dc7e63406f8cb86546c07621f459da5af83cd35168902518a55515e2b52a8881557b515bed6a95e4ade74842ef78b7dc1","msghash":"99963611538e87211717748a3de2d258cb82016ace87a058d04c8f44f19ea3dc"} |
diff -r proto_011_PsCUKj6w/bin_accuser/dune proto_011_PtHangzH/bin_accuser/dune | |
8c8 | |
< (name main_accuser_011_PsCUKj6w) | |
--- | |
> (name main_accuser_011_PtHangzH) | |
10c10 | |
< (public_name tezos-accuser-011-PsCUKj6w) | |
--- | |
> (public_name tezos-accuser-011-PtHangzH) | |
13c13 |