Profile cover photo
Profile photo
Che-Liang Chiou
297 followers
297 followers
About
Posts

Post has attachment

ArgumentParser.parse_known_args()

"Sometimes a script may only parse a few of the command-line arguments, passing the remaining arguments on to another script or program."

+Scott Tsai This should be what you are looking for.
Add a comment...

Post has attachment
NASA Ames campus open house!
PhotoPhoto
Photo
2014-10-18
3 Photos - View album
Add a comment...

Hitting Haste optimizer bug. It generates js codes that eventually evaluate to undefined: var _1 = [0, _2], _2 = whatever;

Could not reproduce this bug with a minimal snippet yet...
Add a comment...

Bitten by Javascript "this" keyword when creating callback functions. Use bind()!
Add a comment...

Post has attachment

Post has attachment
Add a comment...

Have a script that generates ctypes bindings, and wish that you would have a working ctypes binding for any C library?

Too young, too naive.
Add a comment...

libclang exposes constant array type but not incomplete array type, e.g., int bar[]. (why?)
Add a comment...

Quote http://git.denx.de/?p=u-boot.git;a=blob_plain;f=README;hb=HEAD "Initialized global data (data segment) is read-only. Do not attempt to write it."

Learned the lesson the hard way: Some of the global data are corrupted (or initialized, depending on your point of view) before relocation. Not sure it is a bug or a clever trick...
Add a comment...
Wait while more posts are being loaded