Berkeley CSUA MOTD:Entry 44028
Berkeley CSUA MOTD
2017/09/20 [General] UID:1000 Activity:popular

2006/8/16-18 [Computer] UID:44028 Activity:nil
8/16    ~dbushong/.vim/syntax/motd.vim
        Goes well with:
        au BufNewFile,BufRead motd.public,/tmp/motd.public.r.* setf motd
        \_ I'm interested, can you please tell us what cool and unique
           features you've put in before we try it? Thanks.
           \_ Just does syntax highlighting.  I added a command elsewhere to
              set my tabstops to 8, but this doesn't do that.  A picture:
2017/09/20 [General] UID:1000 Activity:popular

You may also be interested in these entries...
2012/12/18-2013/1/24 [Computer/SW/Languages/Perl] UID:54561 Activity:nil
12/18   Happy 25th birthday Perl, and FUCK YOU Larry Wall for fucking up
        the computer science formalism that sets back compilers development
        back for at least a decade:
        \_ I tried to learn Perl but was scared away by it.  Maybe scripting
           lanauages have to be like that in order to work well?
2009/5/7-14 [Computer/Networking, Computer/SW/Unix] UID:52962 Activity:nil
5/7     What's a good reverse port forwarding for a PC(inside firewall) ->
        Unix, so that I can VNC into the Unix that gets forwarded to
        PC's VNC server?
           Syntax, to be executed from the PC behind firewall:
           % ssh -R 5900: <destination_server>
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:
        \_ 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/11/3 [Computer/SW/OS/OsX] UID:51794 Activity:nil
11/3    Anyone point me to a solution for OSX  mac printing to a windows domain\
based computer that requires authorising. All the syntax that I have seen in var\
ious posts does not work (e.g. smb://username:password@machine/queue ). I was wo\
ndering if I should just accept it and wait until smbpool is fixed? Connecting\
via smbclient works just fine.
2008/7/14-16 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:50557 Activity:moderate
7/14    Shell Programming question: I want to call a script with 1 arg
        and have it figure out whether $1 is a MAC address or an IP address
        and then do call the appropriate function.  What is the best way
        to do this, given that sh/bash/ksh do not have something like
        the =~ in perl.  Check for exit status of grep, or is there a
        a better way?  For the moment, let's just say the two tests are:
2008/4/29-5/5 [Computer/SW/Languages/Perl, Computer/SW/Languages/Python] UID:49852 Activity:moderate
4/29    Scaling your web app in the real world:
        \_ This article is crap.  While yes, 99.9% of all websites don't
           need any serious scalability plans, if any of them become worth
           anything they will need to scale.  If you write a web application
           without careing about scalability you are writing a webapp that can
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
2007/11/6-9 [Computer/Companies/Google] UID:48562 Activity:low
11/6    GOOG's P/E ratio is approaching 60. Hmmmmm...
        \_ Short Google At 100^w200^w300^w400^w500^w635 Guy returns!
           \_ Your replacement syntax doesn't actually work.
              \_ neither does shorting GOOG
                 \_ because shorting anything is risky and stupid.  you might
                    as well invest in pork bellies.
2007/9/27-10/2 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Python] UID:48202 Activity:moderate
9/27    Ok so to do the equivalent of  the following:
        bool ? a : b
        In Python, it is:
        (bool and [a] or [b])[0]
        Uh, kick ass?
        \_ 99 times out of 100 if you use the trinary operator you are
2007/3/7-11 [Computer/SW/Editors/Emacs] UID:45897 Activity:moderate
3/7     In emacs 21, is there a way in Emacs-Lisp to detect whether emacs was
        started with the "-r" switch?  In C mode, the syntax colors are
        different when I start emasc with and without "-r".  I want to do the
        same in my elisp code, but I can't find how this is done in cc-mode.el.
        Thanks.  -- yuen
        \- are you sure what you are talking about is being done by the cc*.el