Berkeley CSUA MOTD:2010:August:29 Sunday <Monday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2010/8/29-9/30 [Consumer/Camera, Computer/SW/Languages] UID:53939 Activity:nil
8/28    Hi, anybody printed a photo image to a big plotter?  Something like
        36"x36"?  I'm wondering how many megapixels the image need to
        have in order for the print to "look good".  There is a rule of
        thumb?  Like 6 megapixel is good for X size print.  10 megapixel
        is good for Y size print.  Thanks.
        \_ You don't need that many more megapixels for much bigger prints,
           because people tend to view bigger prints from farther away.
           \_ exactly. Pixel peepers are stupid. Anything beyond 20MP,
              is mostly a waste anyways.
        \_ Try thinking of it in terms of dpi on the final print.  Is 150dpi
           good enough?  If so, then you need a 29 megapixel image for 36"x36"
           (36 * 150)^2 = 29,160,000.  The resolution of the printer can also
           limit the quality of the printed image, so make sure the plotter
           can handle your target resolution.  If you're doing this with a
           plotter, presumably you're not trying to produce a photorealistic
           image anyway.
2010/8/29-9/30 [Recreation/Humor, Politics/Foreign/Europe, Computer/Theory] UID:53940 Activity:nil
8/29    http://www.google.nl/trends?q=ramadan,+porno&ctab=0&geo=ma&date=all&sort=0
        Funny graph.  -- linkpusher
2010/8/29-9/30 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Java] UID:53941 Activity:nil
8/29    ok i give up; why is this throwing an error?
        #define Lambda(args,ret_type,body) \
        class MakeName(__Lambda___) { \
        public: ret_type operator() args { body; } }
        usage:
        Lambda((int a, int b), int, return a+b) foo;
        >g++ -o foo foo.cpp
        foo.cpp: In function ‘int main(int, char**)’:
        foo.cpp:9: error: expected primary-expression before ‘class’
        foo.cpp:9: error: expected `;' before ‘class’
        foo.cpp:11: error: expected `}' at end of input
        ref: http://okmij.org/ftp/cpp-digest/Lambda-CPP-more.html#Ex1
        \_ works for me.  see /tmp/lambda.cpp
           \_ nod thanks,  i didnt have MakeName defined there. sorry.
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!
           \_ Yes, if only they'd been running the state for the last 40
              years without the GOP blocking every goddamn budget that
              made sense. Blaming the party in power when you keep holding
              them up is a shameful charade.
           \_ CA is doing pretty well compared to most of the nation, believe
              it or not.
        \_ Big parts of OC (like Stabba Ana) turning into a barrio does
           not bode well for California.
           \_ Sure it does, immigrants have always revitalized America.
              The newest wave is no different.
              \_ So you think that the entire State becoming a slum except
                 for a few gated communities here and there is revitalization?
                 Previous immigrants had much different values than the
                 current immigrants do. I do agree that immigrants will
                 help run our economic engine so that we don't become a
                 dying nation like Japan, but the American standard-of-living
                 is taking a dive as all of these Third World immigrants
                 bring their Third World philosophies, diseases, and
                 values into our nation. I see a big difference between
                 Polish Jews, Irish, and even Chinese as compared to
                 immigrants from Africa and Central America - and I don't
                 mean skin color.
                 \_ "Third World philosophies, diseases, and values"
                    Er, WTF?
                    \_ Diseases like tuberculosis are making a reappearance
                       thanks to our new immigrant friends.  Let's just say
                       that immigrants from Japan and immigrants from El
                       Salvador don't bring the same things to the table.
                       There are very large cultural and religious differences.
                       There are large differences in attitudes towards the
                       treatment of women, human rights, education, the role
                       of government, etc.  It is part of the reason why
                       these countries are they way thay they are. If this is
                       these countries are the way they are. If this is
                       not obvious to you I won't waste my time explaining.
                       \_ You sound exactly like the Know Nothing bigots who
                          hated the Irish and Italians at the turn of the 19th
                          century. And the anti-Asian racists who had the
                          Japanese put in internment camps during WW-II.
                          The new immigrants will join American society just
                          fine and renew America with the integration of their
                          values with ours. This is especially true for Latin
                          American immigrants. I don't know who all these
                          African immigrants are that you claim are coming
                          to America, but America still has a problem with
                          race that needs working on.
                          \_ As you point out yourself, America has a problem
                             with race. It was much easier for Irish to
                             assimilate than it will be for Africans and
                             Latinos and this is one of the reasons (but
                             not the only reason) why.
                       \_ El Salvador? Are you nuts? The El Salvadoran
                          immigrant population mostly fled dictators and
                          death squads, and they're a hell of a lot more
                          committed to a free and democratic US than you
                          are. El Salvador is the way it is now because
                          WE, the US, supported dictators and death
                          squads. That's a matter of record. Look up
                          declassified documents on the CIA in El Salvador
                          in the 60s for more.
                          \_ Yes, El Salvador would be a First World nation
                             if not for US involvement in their affairs.
                             Riiiiight.
                       \_ Diseases like tb are making a resurgence because
                          we have a failing health care system. Poor folks
                          can't afford to get immunized, and rich folks
                          are buying up Cipro-- and then not using the
                          right doses to kill whatever bugs they do have,
                          resulting in drug-resistant strains of tb. Also,
                          do you know what you have to do to get a visa
                          in the US? Get a raft of shots and medical
                          exams. As for illegals, haven't you been
                          reading that illegal immigrants have been
                          returning to their countries of origins in
                          record numbers? If any of this is not obvious
                          to you, please, by all means, ask for more
                          explanation.
                          \_ Yeah, soon there won't be any illegal immigrants
                             left here. You know, I have a bridge for sale
                             you might be interested in.
Berkeley CSUA MOTD:2010:August:29 Sunday <Monday>