Skip to content

Instantly share code, notes, and snippets.

View lloyd's full-sized avatar

Lloyd Hilaiel lloyd

View GitHub Profile
I think I git the gist of a gist.
no no, fork Dav!
(an informal comparison of lzma compression times using easylzma, lzma utils, and lzip)
[lloydh@LloydBookPro test] $ lzma --version
LZMA command line tool 4.32.6
LZMA SDK 4.32
[lloydh@LloydBookPro test] $ lzip --version
Lzip 1.4
Copyright (C) 2009 Antonio Diaz Diaz.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
/Users/lloydh/dev/BrowserPlus/platform/Core/I18n/src/FormatTime.cpp: In function ‘std::string bp::i18n::formatRelativeTime(const BPTime&, const BPTime&, const std::string&)’:
/Users/lloydh/dev/BrowserPlus/platform/Core/I18n/src/FormatTime.cpp:51: error: invalid initialization of reference of type ‘const std::wstring&’ from expression of type ‘const UChar*’
/Users/lloydh/dev/BrowserPlus/platform/Core/build/BPUtils/dist/include/BPUtils/bpstrutil.h:33: error: in passing argument 1 of ‘std::string bp::strutil::wideToUtf8(const std::wstring&)’
make[2]: *** [I18n/src/CMakeFiles/I18n_s.dir/FormatTime.cpp.o] Error 1
make[1]: *** [I18n/src/CMakeFiles/I18n_s.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
<html>
<head><title>Zip Uploads</title></head>
<body>
<p>Select one or more files for your first set to <em>ZIP</em> them before upload.</p>
<input id="sel" type="button" onclick="setButton(1)"value="Select Files...">
<input id="up" type="button" value="Upload File" disabled>
<p id="files">[<em>Select files above</em>]</p>
<p id="zip"></p>
<html>
<head><title>Zip Uploads</title></head>
<body>
<p>Select one or more files for your first set to <em>ZIP</em> them before upload.</p>
<input id="sel" type="button" onclick="setButton(1)"value="Select Files...">
<input id="up" type="button" value="Upload File" disabled>
<p id="files">[<em>Select files above</em>]</p>
<p id="zip"></p>
---> Computing dependencies for db46
---> Building db46
Error: Target org.macports.build returned: shell command " cd "/Users/lloyd/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/build_unix" && /usr/bin/make -j2 all " returned error 2
Command output: ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [db_archive] Error 1
make: *** Waiting for unfinished jobs....
ld warning: in ./.libs/libdb-4.6.dylib, file is not of required architecture
Undefined symbols:
"___os_id", referenced from:
[lloyd@lappro ~] $ sudo port install readline
...
[lloyd@lappro ~] $ file /opt/local/lib/libreadline.dylib
/opt/local/lib/libreadline.dylib: Mach-O dynamically linked shared library i386
[lloyd@lappro ~] $ sudo port -d install db46
Password:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0d1
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: Going to use alternate build prefix: /Users/lloyd/.macports
Title
[Please provide a descriptive (but short) title for your session.]
???: Embedding Ruby for Fun and Profit
???: Write native code so you don't have to.
Description
[Provide a short summary description of your session topic. This will
be posted publicly if your proposal is accepted.]
Title
[Please provide a descriptive (but short) title for your session.]
Embedding Ruby for Fun and Profit
Description
[Provide a short summary description of your session topic. This will
be posted publicly if your proposal is accepted.]
Life is too short to write native code. It takes too long, it works