Berkeley CSUA MOTD:Entry 16466
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2021/10/25 [General] UID:1000 Activity:popular
10/25   

1999/9/4-5 [Politics/Foreign/Asia/Japan, Reference/History/WW2/Japan, Computer/SW/Languages] UID:16466 Activity:moderate
9/4     Why is it that while using trn to try to read Japanese sites
        results in single byte garbage, but accessing say, Taiwanese sites
        results in double-byte (but still garbage) characters being
        displayed.  I want to read the Japanese sites in particular, and
        to a lesser extent, the Taiwanese sites.  Modifying the LANG variable
        doesn't seem to effect it at all.  -Hopeless.
        \_ Funny, I wasn't aware that trn let you browse "sites". I thought
           it was a newsreader.
           \_ Pardon my dwindling English skills.
           You don't say what terminal you are using, or whether you know
           you have it set up right, or whether you even know whether you
           have compatible fonts installed on your system. I'm assuming "no"
           to all of the above issues.
           \_
           \_ I'm using xterm, csh.  I beleive I have the LANG variable set
                correctly.  And, yes, I have planety of compatible fonts
                running on my system.  Just hit 'Ctrl-Space' on my keyboard
                and I'm typing away in Japanese --> ܸ
                Although, it comes out as junk in this termnial. -hopeless.
                \_ It's hopeless.  Wipe your system, install 95 and play
                   minesweeper.
2021/10/25 [General] UID:1000 Activity:popular
10/25   

You may also be interested in these entries...
2012/7/25-10/17 [Politics/Foreign/Asia/Japan, Reference/History/WW2/Japan] UID:54444 Activity:nil
7/25    http://www.quora.com/Japan/What-facts-about-Japan-do-foreigners-not-believe-until-they-come-to-Japan
        Japan rules!
        \_ Fifteen years ago I worked there for seven months.  I miss Japan!
           (I'm Chinese immigrant.)  More facts:
           - Besides cold drinks, vending machines also carry hot drinks like
             hot tea and corn soup.  And they are actually hot instead of warm.
	...
2010/8/29-9/30 [Politics/Domestic/California, Politics/Domestic/Immigration] UID:53942 Activity:kinda low
8/29    OC turning liberal, maybe there is hope for CA afterall:
        http://www.nytimes.com/2010/08/30/us/politics/30orange.html
        \_ and the state is slowly turning conservative. Meg 2010!
           \_ We will see. Seems unlikely.
        \_ Yeah, because CA sure has a problem with not enough dems in power!
           If only dems had been running the state for the last 40 years!
	...
2010/7/20-8/11 [Politics/Foreign/MiddleEast/Iraq] UID:53889 Activity:low
7/20    Is jblack still on? What about the rest of the pro-war cheerleaders?
        http://news.yahoo.com/s/ap/20100720/ap_on_re_eu/eu_britain_iraq_inquiry
        \_ War is fought for the glory of generals and the economics of the
           war machine.  Looking for "justifications" for it is like looking
           for sense in the necronomicon.  Just accept it and move on.
        \_ When we fight with Red China, what nation will we use as a proxy?
	...
2009/12/7-2010/1/3 [Politics/Foreign/Europe, Health/Women] UID:53577 Activity:low
12/5    Miss France is very good looking:
        http://curiousphotos.blogspot.com/2009/12/miss-france-2010-pictures-13-picsvideo.html
        \_ she has a hook nose and face is a bit too V shaped.  Body is ok.
           I mean lets look at the sample pool of 20 something EU:
           http://www.youtube.com/watch?v=WkPI8m5GhnA
        \_ French women in general are good looking, so Miss France is probably
	...
2012/7/19-11/7 [Computer/SW/Languages/C_Cplusplus] UID:54439 Activity:nil
7/19    In C or C++, how do I write the code of a function with variable
        number of parameters in order to pass the variable parameters to
        another function that also has variable number of parameters?  Thanks.
        \_ The usual way (works on gcc 3.0+, Visual Studio 2005+):
               #define foo(fmt, ...) printf(fmt, ##__VA_ARGS__)
           The cool new way (works on gcc 4.3+):
	...
2009/12/26-2010/1/19 [Computer/SW/Languages/Misc, Computer/SW/Graphics] UID:53604 Activity:nil
12/26   Hey you stupid web developers, stop making web sites with
        CONSTANT FONT SIZE and CONSTANT WIDTH/HEIGHT. Dumb ass
        graphics artist... please learn something about computers
        and usability!
        http://browsersize.googlelabs.com
        \_ "Stupid web-developers" is redundant. "Stupid" or
	...
2009/2/9-17 [Computer/SW/Languages/C_Cplusplus] UID:52547 Activity:nil
2/9     I am new to signal handlers in C. I want to clean up some temp
        files if my program is interrupted. I can catch the interrupt
        just fine, but signal() doesn't take any args to pass to the
        handler. So how can I pass it the information it needs to be
        useful, like the names of the files to delete before exiting?
        STFW doesn't yield much.
	...
2009/1/20-26 [Computer/SW/Languages/Java, Computer/SW/Languages/Misc] UID:52425 Activity:nil
1/20    I've been using tcsh as shell program tool (i know, bad shell to
        do scripting).  One thing I've noticed when I extract xml file
        is that the variable type automatically change from
        integer/string to... almost an array-like data structure when
        the output of the xml key/value is more than one (it's more
        like a string separated by space, but I was very impressed as
	...
2008/12/4-10 [Computer/SW/Languages/Python] UID:52167 Activity:low
12/4    FORTRAN, er, Python 3.0 / 3000 is out:
        http://www.python.org/download/releases/3.0
        \_ As someone who tried out Python and disliked it, is there a reason I
           should take a look at it again?
           \_ Not really. Why'd you dislike Python? I love it.
              \_ The whitespace was a killer, other syntax a bit clunky,
	...
2008/4/2-6 [Computer/SW/Languages/C_Cplusplus] UID:49645 Activity:moderate
4/2     Is there an interpreted version of C or C++ that can be used for
        educational purposes? It doesn't have to be full-featured or
        strictly adhere to the standards, but it's painful for students
        to change a variable in a for loop and then wait for a compile
        to see how it changes the result. Something really lightweight
        would encourage them to play around a lot more and learn more in
	...