Better HN
topnewbestaskshowjobs
Log inSign up

codychan

66 karma · joined Feb 25, 2013 (13y ago) · 21 submissions

Submissions

comment 1y ago · link · parent

It was cool until I saw it needs gradlew to build and Java 17+ to be installed.

comment 5y ago · link · parent

You haven't touched its core code for two years, what happened? Gave it up?

comment 5y ago · link · parent

Same here, I just play with it around 30s before I notice CPU problem.

comment 7y ago · link · parent

I can open that link. Try VPN?

But I cannot open the archive.is link, not even with VPN.

comment 7y ago · link · parent

Most of Chinese think Yuhuangdadi(玉皇大帝) and Wangmuniangniang(王母娘娘) are husband&wife, they work together to control all the gods(gods are not like western gods, they have 仙 and 神), but there are multiple versions of myths(books) and rumors mentioning them, none of them tells the relationship of them for sure, we can only deduce their relationship from the context. From different versions of sources, they can be: 1. husband&wife, 2. colleagues, 3. sister&brother, 4. mother&son.

comment 8y ago · link · parent

Tmux: https://github.com/tmux/tmux/

fish-shell: https://github.com/fish-shell/fish-shell/

ranger: https://github.com/ranger/ranger/

tig: https://github.com/jonas/tig/

ag or rg: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep

And all my configurations, especially for fish-shell: http://github.com/c02y/dotfiles

comment 9y ago · link · parent

There is something wrong with the `eshell/x` function, if start `Ctrl-!` in scratch buffer, after execute `x` in eshell prompt, there will `Wrong type argument: integer-or-marker-p, nil x` in scratch buffer; if I start `Ctrl-!` in init.el, there will be `Marker points into wrong buffer: #<marker at 955 in scratch> x` in my init.el file.

comment 9y ago · link · parent

Impressive, now I'm looking forward to the official stable version of 55

comment 10y ago · link · parent

Obviously he is not an enemy of the Chinese people, but the enemy of the Party.

comment 11y ago · link · parent

I'm Chinese. The most confusing thing for me between English and Chinese is the number. English number is seperated by comma every 3 digits (thousand, million, billion),no matter in formats like 3 billion or 100,000,000, but in Chinese, the number is seperated by 4 digits, and this happens in every format except one, printed 100,000,000 format. The printed ditgit format is affected by western world and for international convenience. When we say or write it in Chinese we use "万"(ten thousand) and "亿"(one hundred million) which are 1,0000 and 1,0000,0000 (I never see this digit format which is seperated by comma every 4 digits), so every time I see something like 123 million or 123,456,789 in English, I'll seperated it from 3 by 3 to 4 by 4, million is 1,000,000 which is 100,0000, so 123 million which is 123,000,000 will be converted into 1,2300,0000 which is 1亿2300万, in my head.

comment 11y ago · link · parent

Finally.

I remember that the fist problem occurred to me that wasn't not solved by Google was solved by asking in the mailing list of tmux, and now it it moved to Github, I can finally ask question at the issue page.

comment 11y ago · link · parent

I haven't pushed my local conf.fish file to Github for months (but I think it is no big difference), I'll test the v2.2-beta later at home in my local.fish and push it to Github, maybe you can test it then.

comment 11y ago · link · parent

Unless you want to install it from the tar.gz file

comment 11y ago · link · parent

https://github.com/c02y/dotfiles/blob/master/fish/.config/fi...

comment 11y ago · link · parent

Nice link.

comment 11y ago · link · parent

After updating to v2.2b1 using instructions at https://launchpad.net/~fish-shell/+archive/ubuntu/beta-2, these occurs to me in my original conf.fish file:

========================================================

# count the number of the files in the dir(not sub.), use tree | wc -l for subdirs # alias lsc ls:command not found ~/.config/fish/config.fish (line 67): # alias lah 'la --color=yes --sort=time -lh | head' # count the number of the files in the dir(not sub.), use tree | wc -l for subdirs # alias lsc 'ls -all | wc -l' ^ in function 'fish_prompt' called on standard input

in command substitution called on standard input

Warning: Identity file

alias cp cp not accessible: No such file or directory.

Warning: Identity file

alias mv mv not accessible: No such file or directory.

Warning: Identity file

alias rcp rsync not accessible: No such file or directory.

unknown option -- -

usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]

           [-D [bind_address:]port] [-E log_file] [-e escape_char]

           [-F configfile] [-I pkcs11] [-i identity_file]

           [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]

           [-O ctl_cmd] [-o option] [-p port]

           [-Q cipher | cipher-auth | mac | kex | key]

           [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port]

           [-w local_tun[:remote_tun]] [user@]hostname [command]
>

========================================================

comment 11y ago · link · parent

BTW, you should mention https://github.com/fish-shell/fish-shell/wiki/Nightly-builds after "You can try the beta now", because I cannot get beta at http://fishshell.com/beta/

comment 11y ago · link · parent

It sounds amazing.

Hey, since you are the lead dev of the fish shell, a serious problem occurred to me weeks ago, I was compiling a QT client in fish, and there is already an environment value called `LD_LIBRARY_PATH` (including other values the compilation needs) defined in /etc/ld.so.conf.d/ and /etc/profile.d/ but fish cannot find them, if I use `set -g ...` to set it in fish shell prompt and then do the compilation, it will work, it took me a lot time to figure it out that this is the problem of fish-shell, the weird thing is, there is already one line `#!/bin/sh` at the beginning of the compilation script (it is a bash script called build.sh), so it should be executed under sh which is bash in my CentOS.

comment 11y ago · link · parent

Why not use `less` instead of `cat`? Besides it is very easy to use `pygmentize` and `source-highlight` to get syntax highlighting result.

comment 11y ago · link · parent

I tried this for Chrome for a couple days and found that it really didn't block too much ads(I can say none ads were blocked) comparing to ABP.