Berkeley CSUA MOTD:Entry 53294
Berkeley CSUA MOTD
2017/09/21 [General] UID:1000 Activity:popular

2009/8/20-9/1 [Computer/SW/Languages/C_Cplusplus, Computer/SW] UID:53294 Activity:nil
        Anyone use this?  Any gotchas? thanks.
ERROR, url_link recursive (eces.Colorado.EDU/secure/mindterm2) 2017/09/21 [General] UID:1000 Activity:popular

You may also be interested in these entries...
2013/5/6 [Transportation/Car, Computer/HW/Printer] UID:54672 Activity:nil
        \_ seems like I get these every 6 months or so from HP.  Do all drives
           have these kind of issues and I only see the ones from HP because
           they are diligent about reporting/fixing these issues?  Or do they
           suck?   (It's not actually their drives so...)  Also, do I really
           need to bring down my production infrastructure and fix all this
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+):
2008/6/24-27 [Computer/Companies/Google, Computer/Companies/Yahoo] UID:50360 Activity:nil Cat_by:auto
6/24    Yahoo vs. Google vs. Bear Sterns employee attrition. Yahoo may be
        dying but it's nothing compared to Bear. Google still rocks, so
        hold on to their stocks! And if you're leaving Yahoo, there's
        a resignation-letter template to use.
2007/9/20-22 [Computer/SW/Languages/C_Cplusplus] UID:48130 Activity:kinda low
9/20    Is there a way in Twiki to have children inherit settings from a
        parent? I know there is a WebTopicEditTemplate which you can use
        for an entire Web, but what I want is to be able to have all of
        the children under a given topic automatically be populated with
        a template of settings when created. Is there a way to do that?
        Right now I copy and paste my settings each time and not only does
2007/7/20-22 [Computer/SW/Languages/C_Cplusplus] UID:47355 Activity:nil
7/20  I was handed a templeted code that builds with gcc3.3.3 but not 3.4.4.
      I'm not all that hot with templetes, so I'm having trouble figuring
      out what's wrong.  The error I get is:
        TxBoundedFunctor.cpp:29: error: `template<class RetType, class ArgType>
           class TxFunctorBase' used without template parameters
      where TxBoundedFunctor extends TXFunctor extents TxFunctorBase. Like so:
2006/11/2-4 [Computer/SW/Unix] UID:45107 Activity:low
11/02   I need to include instructions on how to create a tcpdump file as part
        of a Word Doc testplan . What I would like to do is to be able to cut
        and paste from a Unix shell window into a word document without
        losing the formatting or having it come out like regular text.
        Is there a template or mode I can use for this inside word?
        --Thanks Stressed out linux hacker
2006/2/21-23 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Java, Computer/SW/Languages/Misc] UID:41946 Activity:nil
2/21    Silly poll: What is your favorite design pattern?  Gang-of-Four or not.
        \_ Template method: .
        \_ Houndstooth: .
           \_ Is that structural or creational?
        \_ POLKA DOT: .
        \_ I've never seen a really good reason to use design patterns other
2014/1/14-2/5 [Computer/SW/Languages/C_Cplusplus] UID:54763 Activity:nil
1/14    Why is NULL defined to be "0" in C++ instead of "((void *) 0)" like in
        C?  I have some overloaded functtions where one takes an integer
        parameter and the other a pointer parameter.  When I call it with
        "NULL", the compiler matches it with the integer version instead of
        the pointer version which is a problem.  Other funny effect is that
        sizeof(NULL) is different from sizeof(myPtr).  Thanks.
2013/2/19-3/26 [Computer/SW/OS/OsX] UID:54611 Activity:nil
2/19    I program a lot by sshing to a Linux cluster.  So I'm used to using
        Xemacs to code.  This works fine from a Linux or Windows workstation,
        but sometimes I have to use a Mac.  On Mac, the meta is usually
        bound to option, but that often doesn't work over ssh for some reason.
        This makes using emacs a real pain.  Any suggestions on how to fix it?
        (Other than "use vi")
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?
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
2012/9/6-11/7 [Computer/SW] UID:54473 Activity:nil
9/6     Why is it that many of the PhDs I know write some of the shittiest
        and unreadable and unmaintainable code?
        \_ "I don't know what your problem is, it works on my machine."
        \_ "Beware of bugs in the above code; I have only proved it correct,
            not tried it." - D. Knuth
        \_ I've seen the same from the Ph.D. consultants (i.e. contractors)
2012/7/2-8/19 [Computer/SW/Unix] UID:54429 Activity:nil
7/2     If I download a software that has GNU GPL and create a search
        engine on top of it and the search engine profits (and I don't
        release the source code nor do I modify or redistribute it), is
        that an acceptable use of GNU GPL?
        \_ Yes.  Even the AGPL allows this if you don't modify the program.
           \_ What if I'm a search engine that uses something that uses
2012/3/29-6/4 [Computer/HW/Memory, Computer/HW/CPU, Computer/HW/Drives] UID:54351 Activity:nil
3/29    A friend wants a PC (no mac). She doesn't want Dell. Is there a
        good place that can custom build for you (SSD, large RAM, cheap video
        card--no game)?
        \_ As a side note: back in my Cal days more than two decades ago when
           having a 387SX made me the only person with floating-point hardware,
           most machines were custom built.
2012/4/2-6/4 [Computer/SW/Languages/Java, Computer/SW/RevisionControl] UID:54353 Activity:nil
4/02    We use Perforce at work for revision control. It seems to work okay.
        Lately, a lot of the newer developers are saying that Perforce
        sucks and we should switch to Mercurial or Git. I have done some
        searching on the Internet and some others have this opinion. Added
        advantage is that Mercurial and Git are free. However, there would
        be some work to switch for the sysadmins and the developers.
2012/4/23-6/4 [Computer/SW/Languages] UID:54365 Activity:nil
4/11    This looks like something that Nick Weaver writes ("if you're in
        CS for money, you're most likely an incompetent engineer"):
2012/3/15-6/1 [Computer/SW/Languages, Computer/SW/OS/Windows] UID:54340 Activity:nil
3/15    Why does MS put double-quotes around the '8' in Windows Server 8, like
        the following?
        - Windows 8
        - Windows Server "8"
        \_ Because when they didn't do it, code didn't see the '\0'
           and went over?  Looks better than '8','\0' *shrug*
Cache (1251 bytes)
edit Implementation TBB implements "task stealing" to balance a parallel workload across available processing cores in order to increase core utilization and therefore scaling. Initially, the workload is evenly divided among the available processor cores. If one core completes its work while other cores still have a significant amount of work in their queue, TBB reassigns some of the work from one of the busy cores to the idle core. This dynamic capability decouples the programmer from the machine, allowing applications written using the library to scale to utilize the available processing cores with no changes to the source code or the executable program file. This version introduced auto_partitioner which offered an automatic alternative to specifying a grain size parameter to estimate the best granularity for your tasks. GPLv2 with an "runtime exception" (because of being template heavy code that usually becomes part of the executable after compilation). TBB is still available in a commercial version (without source code) with support but with no differences in functionality from the open source version. Version 21 features included task-to-thread affinity, cancellation support, exception handling, and a portable thread wrapper.