Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sickill
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
61.
▲
by
sickill
11y ago
That's correct. In case bash doesn't see closing braces it will error out with "syntax error" and won't execute anything.
62.
▲
by
sickill
11y ago
You were reading it right :) I guess I should add spelling info to the site ;)
63.
▲
by
sickill
11y ago
asciinema is here since 2011 (although it was called ascii.io until 2 years ago). As for rewinds, you can click on the progress bar to jump to a time you want. Also, the upcoming version of the player supports fast-forward/rewind/
64.
▲
by
sickill
11y ago
asciinema dev here. Please read my comment on the topic here: https://github.com/asciinema/asciinema.org/issues/186#issuec... Btw, the player is already a separate project: https://github.com/
65.
▲
by
sickill
11y ago
asciinema was initially called ascii.io. It got renamed about 2 years ago.
66.
▲
by
sickill
11y ago
No, shorterm wasn't around longer. I created asciinema in 2011.
67.
▲
Private asciicasts, for everyone
(blog.asciinema.org)
1 points
by
sickill
11y ago
|
0 comments
68.
▲
Asciinema 1.0
(blog.asciinema.org)
1 points
by
sickill
12y ago
|
0 comments
69.
▲
Golang patterns for serving on-demand, generated content
(blog.gitorious.org)
2 points
by
sickill
12y ago
|
0 comments
70.
▲
Rails is half of your application
(ku1ik.com)
45 points
by
sickill
13y ago
|
25 comments
71.
▲
Help Asciinema by contributing
(asciinema.org)
1 points
by
sickill
13y ago
|
0 comments
72.
▲
Scratch dir
(ku1ik.com)
1 points
by
sickill
14y ago
|
0 comments
73.
▲
by
sickill
15y ago
"Seeking" feature is already in development so no worries, you will be able to rewind. Right now you can pause/resume. As for Nyan Cat demo, it was recorded with "asciiio -c 'telnet ....'" command which basically doesn't start shell but im
74.
▲
by
sickill
15y ago
No nonsense asciicasting for serious hackers: http://ascii.io/
75.
▲
Ascii.io - No nonsense asciicasting for serious hackers
(ascii.io)
6 points
by
sickill
15y ago
|
3 comments
76.
▲
Systemd socket activation and Ruby
(ku1ik.com)
1 points
by
sickill
15y ago
|
0 comments
77.
▲
Pasting in Vim with indentation adjusted to destination context
(github.com)
2 points
by
sickill
15y ago
|
0 comments
78.
▲
"DIY Dropbox" or "2-way directory (r)sync with proper deletion"
(github.com)
82 points
by
sickill
15y ago
|
32 comments
79.
▲
by
sickill
15y ago
Maybe ruby's write() is not using write() from libc but other function like fprintf?
80.
▲
by
sickill
15y ago
I didn't mean that you can't run 32-bit binaries on 64-bit OS, what I meant was that AFAIK you can't install 32-bit deb packages together with 64-bit ones on 64-bit Ubuntu. Correct me if I'm wrong.
81.
▲
by
sickill
15y ago
Thx. Improved version in master: https://github.com/sickill/stderred/blob/master/stderred.c
82.
▲
by
sickill
15y ago
What would you suggest instead then? I'm not C programmer.
83.
▲
by
sickill
15y ago
Will fix that, thx.
84.
▲
by
sickill
15y ago
Allright, maybe. But it still has DST ($LIB token) disabled in LD_PRELOAD.
85.
▲
by
sickill
15y ago
Thx, will fix int -> size_t.
86.
▲
by
sickill
15y ago
I am not C programmer. Actually this piece of code is my first C code since over 10 years. I might have forgotten about all good practices and stuff. But it works for me so I shared. Would you like to contact me and point slow, naive poin
87.
▲
by
sickill
15y ago
Like bdolan said, it would have atomicity implications this way. I agree it would be lighter on memory but in some cases output might break if many processes were writing to stderr at the same time.
88.
▲
by
sickill
15y ago
This is the solution I started with. However it's messing line order sometimes due to race conditions/buffering.
89.
▲
by
sickill
15y ago
Cool, looks like the same gcc flags works for OSX.
90.
▲
by
sickill
15y ago
Btw, as kelnos said, isatty() check "should" prevent all bad scenarios.
More ›