2013/4/29-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Compilers] UID:54665 Activity:nil | 4/29 Why were C and Java designed to require "break;" statements for a
"case" section to terminate rather than falling-through to the next
section? 99% of the time poeple want a "case" section to terminate.
In fact some compilers issue warning if there is no "break;" statement
in a "case" section. Why not just design the languages to have
termination as the default behavior, and provide a "fallthru;"
...
|
2012/8/29-11/7 [Computer/SW/Security] UID:54467 Activity:nil | 8/29 There was once a CSUA web page which runs an SSH client for logging
on to soda. Does that page still exist? Can someone remind me of the
URL please? Thx.
\_ what do you mean? instruction on how to ssh into soda?
\_ No I think he means the ssh applet, which, iirc, was an applet
that implemented an ssh v1 client. I think this page went away
...
|
2011/12/23-2012/2/6 [Computer/SW/Languages/Python] UID:54272 Activity:nil | 12/23 In Python, why is it that '好'=='\xe5\xa5\xbd' but
u'好'!='\xe5\xa5\xbd' ? I'm really baffled. What
is the encoding of '\xe5\xa5\xbd'?
\_ '好' means '\xe5\xa5\xbd', which is just a string of bytes; it has
length 3. Python doesn't know what encoding it's in. u'好' means
u'\u597d', which is a string of Unicode characters; it has length 1,
...
|
2011/11/2-8 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:54208 Activity:nil | 11/2 Celebrating fifty days of uptime!
00:16:58 up 50 days, 19 min, 13 users, load average: 1.00, 1.00, 1.00
\_ Thanks, jordan!
\_ I would bitch about the 1, but it is not like anyone else is
trying to do anything resource intensive with soda.
\_ The culprit:
...
|
|