《太极拳入门》
用户名为啥不能一个字母?我喜欢一个字母的
#7 楼 @string2020 是的。我在 windows 下面自己编译,也是少了很多库的。而编译 golang 一个不少。
#4 楼 @string2020 fiddle gdbm 用不到吧,很少用到。tk 就更少用到了。
其实正方形反而节约 CPU 和内存,没必要计较这几十米吧?
试了一下,安装 gem 时报错了:
G:\dev-tools\exerb>gem build exerb.gemspec
Successfully built RubyGem
Name: exerb
Version: 6.0.1
File: exerb-6.0.1.gem
G:\dev-tools\exerb>gem install exerb-6.0.1.gem
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing exerb-6.0.1.gem:
ERROR: Failed to build gem native extension.
D:/Ruby193/bin/ruby.exe extconf.rb
mkdir -p tmp
windres -DCUI src/exerb/resource.rc tmp/resource_cui.o
mkdir -p tmp
mkdir -p data/exerb
gcc -Wall -std=gnu99 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno
-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-s
trings -DRUBY_EXPORT -DRUBY19 -DRUBY19_COMPILED_CODE -DFD_SETSIZE=2048 -DFD_SE
TSIZE=2048 -ID:/Ruby193/include/ruby-1.9.1/i386-mingw32 -ID:/Ruby193/include/rub
y-1.9.1 -LD:/Ruby193/lib -Wl,--stack=0x02000000,--wrap=rb_require_safe,--wrap=rb
_require -s -o data/exerb/ruby193c.exc src/exerb/cui.c tmp/resource_cui.o sr
c/exerb/exerb.c src/exerb/module.c src/exerb/utility.c src/exerb/patch.c tmp/exe
rb53.def -lmsvcrt-ruby191-static -lshell32 -lws2_32 -limagehlp -lshlwapi
src/exerb/exerb.c:49:1: warning: missing braces around initializer
src/exerb/exerb.c:49:1: warning: (near initialization for 'g_loaded_library_tabl
e[0]')
src/exerb/exerb.c:50:1: warning: missing braces around initializer
src/exerb/exerb.c:50:1: warning: (near initialization for 'g_pre_loaded_library_
table[0]')
strip -R .reloc data/exerb/ruby193c.exc
mkdir -p tmp
windres -DRUNTIME src/exerb/resource.rc tmp/resource_dll.o
mkdir -p tmp
mkdir -p data/exerb
gcc -Wall -std=gnu99 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno
-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-s
trings -DRUBY_EXPORT -DRUBY19 -DRUBY19_COMPILED_CODE -DFD_SETSIZE=2048 -DFD_SE
TSIZE=2048 -ID:/Ruby193/include/ruby-1.9.1/i386-mingw32 -ID:/Ruby193/include/rub
y-1.9.1 -LD:/Ruby193/lib -Wl,--stack=0x02000000,--wrap=rb_require_safe,--wrap=rb
_require -shared -Wl,--enable-auto-image-base,--enable-auto-import,--export-all
-Wl,--out-implib=tmp/exerb53.dll.a -s -o data/exerb/exerb53.dll tmp/resource_dl
l.o src/exerb/exerb.c src/exerb/module.c src/exerb/utility.c src/exerb/patch.c t
mp/exerb53.def -lmsvcrt-ruby191-static -lshell32 -lws2_32 -limagehlp -lshlwapi
src/exerb/exerb.c:49:1: warning: missing braces around initializer
src/exerb/exerb.c:49:1: warning: (near initialization for 'g_loaded_library_tabl
e[0]')
src/exerb/exerb.c:50:1: warning: missing braces around initializer
src/exerb/exerb.c:50:1: warning: (near initialization for 'g_pre_loaded_library_
table[0]')
Creating library file: tmp/exerb53.dll.a
mkdir -p data/exerb
gcc -Wall -std=gnu99 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno
-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-s
trings -DRUBY_EXPORT -DRUBY19 -DRUBY19_COMPILED_CODE -DFD_SETSIZE=2048 -DFD_SE
TSIZE=2048 -ID:/Ruby193/include/ruby-1.9.1/i386-mingw32 -ID:/Ruby193/include/rub
y-1.9.1 -LD:/Ruby193/lib -Wl,--stack=0x02000000,--wrap=rb_require_safe,--wrap=rb
_require -s -o data/exerb/ruby193crt.exc src/exerb/cui.c tmp/resource_cui.o
tmp/exerb53.dll.a -lshell32 -lws2_32 -limagehlp -lshlwapi
strip -R .reloc data/exerb/ruby193crt.exc
mkdir -p tmp
windres -DGUI src/exerb/resource.rc tmp/resource_gui.o
mkdir -p data/exerb
gcc -Wall -std=gnu99 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno
-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-s
trings -DRUBY_EXPORT -DRUBY19 -DRUBY19_COMPILED_CODE -DFD_SETSIZE=2048 -DFD_SE
TSIZE=2048 -ID:/Ruby193/include/ruby-1.9.1/i386-mingw32 -ID:/Ruby193/include/rub
y-1.9.1 -LD:/Ruby193/lib -Wl,--stack=0x02000000,--wrap=rb_require_safe,--wrap=rb
_require -mwindows -s -o data/exerb/ruby193g.exc src/exerb/gui.c tmp/resource
_gui.o src/exerb/exerb.c src/exerb/module.c src/exerb/utility.c src/exerb/patch.
c tmp/exerb53.def -lmsvcrt-ruby191-static -lshell32 -lws2_32 -limagehlp -lshlwap
i
src/exerb/exerb.c:49:1: warning: missing braces around initializer
src/exerb/exerb.c:49:1: warning: (near initialization for 'g_loaded_library_tabl
e[0]')
src/exerb/exerb.c:50:1: warning: missing braces around initializer
src/exerb/exerb.c:50:1: warning: (near initialization for 'g_pre_loaded_library_
table[0]')
strip -R .reloc data/exerb/ruby193g.exc
mkdir -p data/exerb
gcc -Wall -std=gnu99 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno
-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-s
trings -DRUBY_EXPORT -DRUBY19 -DRUBY19_COMPILED_CODE -DFD_SETSIZE=2048 -DFD_SE
TSIZE=2048 -ID:/Ruby193/include/ruby-1.9.1/i386-mingw32 -ID:/Ruby193/include/rub
y-1.9.1 -LD:/Ruby193/lib -Wl,--stack=0x02000000,--wrap=rb_require_safe,--wrap=rb
_require -mwindows -s -o data/exerb/ruby193grt.exc src/exerb/gui.c tmp/resour
ce_gui.o tmp/exerb53.dll.a -lshell32 -lws2_32 -limagehlp -lshlwapi
strip -R .reloc data/exerb/ruby193grt.exc
==== fake extensions ====
Temporarily enhancing PATH to include DevKit...
generating tmp/exerb53.def
generating header src/exerb/config.h
make
Gem files will remain installed in D:/Ruby193/lib/ruby/gems/1.9.1/gems/exerb-6.0
.1 for inspection.
Results logged to D:/Ruby193/lib/ruby/gems/1.9.1/gems/exerb-6.0.1/./gem_make.out
功夫网
才六边型,太少了
标题末尾?然后自动判断的吧?
a = "\x8E\xA2\xB7\xCAQgE\xBF\xEA\xFCI\x90KI`\x89"
b = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf\xea\xfc\x49\x90\x4b\x49\x60\x89"
p a.encoding
p b.encoding
p a==b
估计是 encoding 不同,导致打印的输出不同,内容其实是一样的。
└─> bundle --version Bundler version 1.5.3
看看版本
想想杀猪的过程,除非你不吃猪肉。
就说是修电脑的
open 每个数据库的时候,指定 encoding 就行了。
关掉 UEFI 试试