Berkeley CSUA MOTD:Entry 47891
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/08 [General] UID:1000 Activity:popular
7/8     

2007/9/4-7 [Computer/SW/Languages/C_Cplusplus, Health/Disease/AIDS] UID:47891 Activity:nil
9/4     http://csua.org/u/jfs (townhall.com, why hide your url?)
        This was all before politicians gave us the idea that the things we
        could not afford individually we could somehow afford collectively
        through the magic of government.
        \_ it was also before it was empirically proven that the unregulated
                                                                   \_ umm. no.
           health care system in the U.S. is twice as expensive as everyone
           else's.
           \_ Everyone else's healthcare is great until you get sick.
2025/07/08 [General] UID:1000 Activity:popular
7/8     

You may also be interested in these entries...
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/4/9-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Apps, Computer/SW/Languages/Perl] UID:54650 Activity:nil
4/04    Is there a good way to diff 2 files that consist of columns of
        floating point numbers, such that it only tells me if there's a
        difference if the numbers on a given line differ by at least a given
        ratio?  Say, 1%?
        \_ Use Excel.
           1. Open foo.txt in Excel.  It should convert all numbers to cells in
	...
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/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+):
	...
2011/3/7-4/20 [Computer/SW/Languages/C_Cplusplus] UID:54056 Activity:nil
3/7     I have a C question.  I have the following source code in two identical
        files t.c and t.cpp:
                #include <stdlib.h>
                int main(int argc, char *argv[]) {
                  const char * const * p1;
                  const char * * p2;
	...
2011/2/5-19 [Computer/SW/Languages/C_Cplusplus] UID:54027 Activity:nil
2/4     random C programming/linker fu question.  If I have
        int main() { printf("%s is at this adddr %p\n", "strlen", strlen); }
        and soda's /proc/sys/kernel/randomize_va_space is 2 (eg; on)
        why is strlen (or any other libc fn) at the same address every time?
        \_ I don't pretend to actually know the right answer to this, but
           could it have something to do with shared libraries?
	...
2010/2/12-3/9 [Computer/SW/Languages/C_Cplusplus] UID:53708 Activity:nil
2/12    I need a way to make a really big C++ executable (~200MBs) that does
        nothing.  No static initialization either.  Any ideas?
        \_ static link in lots of libraries?
        \_ #define a   i=0; i=0; i=0; i=0; i=0; i=0; i=0; i=0; i=0; i=0;
           #define b   a a a a a a a a a a
           #define c   b b b b b b b b b b
	...
2009/9/28-10/8 [Computer/SW/Languages/C_Cplusplus] UID:53409 Activity:nil
9/28    http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
        Java is #1!!! Followed by C, PHP, C++, Visual Basic, Perl,
        C#, Python, Javascript, then finally Ruby. The good news is
        Pascal is going waaaay back up!
        \_ C is still more popular than C++?  I feel much better about myself
           now.
	...
2009/8/7-14 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Java] UID:53252 Activity:high
8/6     In C one can do "typedef int my_index_t;".  What's the equivalent in
        C#?  Thanks.
        \_ C#? Are you serious? Is this what the class of 2009 learn?
           \_ No.  I have to learn .NET code at work.  I am Class of '93.
           \_ python is what 2009 learns, see the motd thread about recent
              cal courses and languages
	...
2009/7/21-24 [Computer/SW/Languages/Java] UID:53168 Activity:moderate
7/20    For those who care btw, it looks like eclipse is now A Standard Tool
        at UCB ugrad cs, probably replaced emacs.  Furthermore, people get
        angry at seeing Makefiles, (since eclispe takes care of that).  I
        guess it's just a sign of the times.
        \_ The more people at my work use eclipse the less the code is
           managable in emacs.  I'm not sure which application's fault
	...
2013/4/17-5/18 [Health/Disease/AIDS, Health/Disease/General] UID:54659 Activity:nil
4/17    Just a thought.  Say we select a small percentagle of the population
        (e.g. 100000 people) with representations from all walks of life
        (scientists, engineers, doctors, chefs, plumbers, nannies, ...) except
        bad guys, transport them to a distant earth-like planet with abundant
        natural resources, and take away all man-made objects (machines,
        clothes, books, medicines, all tools, ...)  How long will it take for
	...
2011/4/22-7/13 [Consumer/CellPhone, Health/Disease/AIDS] UID:54093 Activity:nil
4/22    Costco is selling "Bluetooth Capable Premium Digital Hearing Aids" for
        $1999.99 a pair.  My Bluetooth cell phone headset is maybe $30 for one
        ear.  Why does hearing aid cost so much?
        \_ Medical insurance?
        \_ Does $2000-your medical deductible = $30?
           \_ How come insurance companies allow such rip-offs?
	...
2009/2/12-18 [Health/Disease/AIDS] UID:52563 Activity:nil
2/12    An AIDS/HIV cure via a bone-marrow transplant:
        http://www.foxnews.com/story/0,2933,491509,00.html
	...
2009/1/15-22 [Health/Disease/General] UID:52389 Activity:nil
1/15    Now that Steve Jobs and Patrick Swayze are sick with
        pancreatic cancer, is pancreatic cancer going to become
        a cause celebre and get lots of research funding,
        far beyond what is actually justified by the magnitude
        of the actual problem?
        \_ they have Elton John doing benefits, not Jimmy Buffet.
	...
2008/10/14-15 [Health/Disease/AIDS] UID:51523 Activity:nil
10/14   I don't understand this whole AIDS walk BS. Instead of saying
        "I'm going to walk X miles, can you donate $1 per mile?" why
        don't they just simplify it and say "Give me whatever $ you got"?
        Why make it so complex? Sheesh
        \_ Because charity events get more people involved in asking for
           money.  Duh.  -tom
	...
2008/4/14-19 [Health/Disease/AIDS, Health/Men] UID:49747 Activity:kinda low
4/14    Political correctness over science
        http://csua.org/u/l9y
        \_ I think you have it exactly backwards; the Red Cross' position is
        \_ I think you have it exactly backwards; the FDA's position is
           fear-mongering over science.  -tom
           \_ Oh, classification as high-risk isn't science?
	...
Cache (8192 bytes)
csua.org/u/jfs -> www.townhall.com/columnists/ThomasSowell/2007/09/04/no_health_care?page=full
B Steigerwald B Burney B Smith B Lerch B Bozell III B Fitzpatrick B Bartlett B Prelutsky C Thomas C Edwards C Horowitz C Platt Liebau C Glick C Lukas C Krauthammer C Dent C Felicia Rhoads C Pickering C Stovall C Hitchens C Colson C DeFeo C Muth C Cotto C Rosett C May C Taylor C Black C Carroll Campbell C Pickering C McCrery C Ryan C Price C Shirley D Gattuso D Gattuso D Michael Keegan D Karle D Horowitz D Keene D Limbaugh D Theodore B Olson D Yerushalmi D Barnett D England D Saunders D Prager D West D Eileen McGann D D'Souza D Kroah D Lambro D Giles D Wilson D MacKinnon D Dunn D Kantor D Ladner D Kengor D Patterson D Patterson E Feulner E Peace E Tyrrell E Peters F Kobusingye F Youngblood F Brown F Keating F Gaffney, Jr. F Pastore F Siegel F Thompson G Aldrich G Kurpius G McCaleb G Allen G Marlin G Will G Lavy G Reynolds G Koukl H Stein H R Jackson, Jr. H Edmondson H London H Cain H Cooper H McKeon H Hewitt I Post J Smith J Kemp J Gingrich Cushman J Sullum J Bopp, Jr. By Thomas Sowell Tuesday, September 4, 2007 During the first 30 years of my life, I had no health insurance. During those 30 years, I had a broken arm, a broken jaw, a badly injured shoulder, and miscellaneous other medical problems. To say that my income was below average during those years would be a euphemism. The same way everybody else managed: I went to doctors and I paid them directly, instead of paying indirectly through taxes. This was all before politicians gave us the idea that the things we could not afford individually we could somehow afford collectively through the magic of government. When my jaw was broken, I was treated in an emergency room and was given a bill for $50 -- which was like a king's ransom to me at the time, 1949. But I paid it off in installments over a period of months. Like most young people, I was lucky enough not to have any heavy-duty medical expenses that would have required major operations or a long hospital stay. That is still true for most young people today, which is why many people in their twenties do not choose to pay for medical insurance, even when they can afford it. They know that, in an emergency, they can always go to an emergency room. And today the idea that you ought to pay for that out of your own pocket is considered almost quaint in some quarters. It is not uncommon -- especially in California, with its large illegal immigrant population -- for hospitals to have to shut down because so few people pay for the emergency room care they receive. There are, of course, people with huge medical bills that they cannot possibly pay. Believe it or not, that also happened back before the modern welfare state. Some hospitals -- whether public or private -- could absorb such costs, with the help of donors. There were people with polio living in iron lungs, which is why rich and poor alike gave money to the March of Dimes. But that is very different from hospitals being stiffed every day by emergency room users whose only emergency is that they want to keep their money to spend on fun, instead of on doctors. The biggest of the big lies in the "health care" hype is that a lack of insurance means a lack of medical care. The second biggest lie is that health care and medical care are the same thing. Doctors cannot stop you from ruining your health in a hundred different ways, so statistics on everything from infant mortality to AIDS are not proof of a need for government to take over medical treatment. Few people show the slightest interest in what has actually happened in countries with government-controlled medical care. We are apparently supposed to follow those countries' example without asking about the months that people in those countries spend on waiting lists for medical treatments that Americans get just by picking up a phone and making an appointment. It is amazing how many people seem uninterested in such things as why so many doctors in Britain are from Third World countries with lower medical standards -- or why people from Canada come to the United States for medical treatment that they could get cheaper at home. Government price controls on pharmaceutical drugs are more of the same illusion of something for nothing. People who are urging us to follow other countries that control the prices of medications seem uninterested in the fact that those countries depend on the United States to create new drugs, after they destroyed incentives to do so in their own countries. Since it takes more than a decade to create a new drug, a politician can be elected president by hyping price controls on drugs, spend eight years in the White House, and be living in retirement before people start to notice that we no longer get the kinds of new medications that successively conquered deadly diseases in the past. Post Your Comments During the first 30 years of my life, I had no health insurance. During those 30 years, I had a broken arm, a broken jaw, a badly injured shoulder, and miscellaneous other medical problems. To say that my income was below average during those years would be a euphemism. US documentary director Michael Moore talks to the media in Soenderborg, southern Denmark August 26, 2007 at the European premiere of "Sicko", his film about the American health care system. REUTERS/Claus Thorsted/Free Press/Scanpix Denmark (DENMARK) DENMARK OUT. The same way everybody else managed: I went to doctors and I paid them directly, instead of paying indirectly through taxes. This was all before politicians gave us the idea that the things we could not afford individually we could somehow afford collectively through the magic of government. When my jaw was broken, I was treated in an emergency room and was given a bill for $50 -- which was like a king's ransom to me at the time, 1949. But I paid it off in installments over a period of months. Like most young people, I was lucky enough not to have any heavy-duty medical expenses that would have required major operations or a long hospital stay. That is still true for most young people today, which is why many people in their twenties do not choose to pay for medical insurance, even when they can afford it. They know that, in an emergency, they can always go to an emergency room. And today the idea that you ought to pay for that out of your own pocket is considered almost quaint in some quarters. It is not uncommon -- especially in California, with its large illegal immigrant population -- for hospitals to have to shut down because so few people pay for the emergency room care they receive. There are, of course, people with huge medical bills that they cannot possibly pay. Believe it or not, that also happened back before the modern welfare state. Some hospitals -- whether public or private -- could absorb such costs, with the help of donors. There were people with polio living in iron lungs, which is why rich and poor alike gave money to the March of Dimes. But that is very different from hospitals being stiffed every day by emergency room users whose only emergency is that they want to keep their money to spend on fun, instead of on doctors. The biggest of the big lies in the "health care" hype is that a lack of insurance means a lack of medical care. The second biggest lie is that health care and medical care are the same thing. Doctors cannot stop you from ruining your health in a hundred different ways, so statistics on everything from infant mortality to AIDS are not proof of a need for government to take over medical treatment. Few people show the slightest interest in what has actually happened in countries with government-controlled medical care. We are apparently supposed to follow those countries' example without asking about the months that people in those countries spend on waiting lists for medical treatments that Americans get just by picking up a phone and making an appointment. It is amazing how many people seem uninterested in such things as why so many doctors in Britain are from Third World countries with lower medical standards -- or why people from Canada come to the United States for medical treatment that they could get cheaper at home. Government price contro...
Cache (948 bytes)
townhall.com
The House GOP Goes Thelma And Louise In the past three weeks I have spoken on air with every member of the GOP leadership: Republican Leader Boehner, Republican Whip Blunt, Republican Deputy Whip Cantor and Chairman of the National Republican Congressional Caucus Tom Cole. And none would utter even the mildest criticism of their GOP colleagues who are in the process of deserting the war effort, "emboldening the enemy," to use Congressman Cole's words, and sending a message to American allies and yes our enemies that the desire to cut and run now has bipartisan support. In your opinion, Global Warming is: Alarmist myth created by liberals wanting more government. A possible concern needing appropriate and balanced attention. An undisputed scientific fact that we must address quickly. Ultimately they are saying that defeat of the president's policies is preferable, unfortunately that means that our troops are the ones who pay the price.