|
2004/4/27 [Politics/Foreign/Asia/China] UID:13396 Activity:nil |
4/26 Yay! China blocks Hong Kong vote in 2007-2008. http://www.nytimes.com/2004/04/27/international/asia/27HONG.html username/pw: csuamotd/csuamotd \_ Yay? \_ Maybe a sort of "I told you so?" \_ British ruled Hong Kong for 150 years, i wonder why no one ever complains about taxation without representation. \_ The western media/people does not want to hear the truth, they simply want every opportunity to bash China. You don't hear about the cry for the Brits to return the land they conquored during their colonial period do you? They returned most of it, but there are still areas they don't return because they've got bigger guns. Well, China got bigger guns, so cheer for them! \_ Repression in the past is not justification for repression in the present or the future. \_ So what, it's their country, they can do whatever the fuck they want, just like we can do whatever the fuck we want in our country and no one can say otherwise. Heck, we can do whatever the fuck we want around the world and no one can do shit about it either. Stop critizing about what China does on its own while we goes around the world and killing innocent lives for our SUV. Just shut the fuck up! I am sick and tired of hearing this shit. \_ Do we need to have a completely morally clean before we can criticise the loss of democracy in HK? I think that we can agree that this is unequivocally a bad thing. --jeffwong \_ Precisely, big boss goes around the street shooting people, and say to the little boss, Hey, you can't j-walk!! \_ I hear what you are saying but consider that some of us don't give a rat's ass what sort of gov't Hong Kong ends up with. I am just surprised to hear you being happy to have the PRC take more control over your life, unless perhaps you are not HK chinese and gloating, maybe? -- ulysses \_ Really, you don't give a rat's ass? You are pretty cold. Would you give a rat's ass 60 years ago? -- ilyas \_ Say what? -- ulysses \_ You said: "Some of us don't give a rat's ass what sort of [government] Hong Kong ends up with." Either you were speaking for someone else needlessly, or you were talking about yourself. Either way, I find this attitude of disregard for the fate of others rather cold. The example I gave involved the time 60 years ago when there was some armed controversy over what sort of government most of the world was going to end up with. Similar disregard regarding those times would be seen as rather cold as well. -- ilyas \_ In other words, you will be willing to let whoever rule California, be it the Iraqies, Japanese, Korean, Soviet, etc, as long as they do a better job than the US? If some foreign power rips California from US, you'll bet 50+ years from now, we will not hestitate to take it back any way we can, even though we might be in shitter position. \_ Is rule by a foreign power still the issue in HK? I wasn't aware the UK still held that particular territory. I was under the impression that the issue was one of how much autonomy HK is to have but perhaps I was mistaken. To extend your analogy, though, would I wish the US to re-take CA had CA, in those 50 years, come to develop its own autonomous regime that I regarded as less repressive than that in the US? No I would not. As a Californian, I would seek to preserve the new, independent CA. -- ulysses \_ You are almost certainly describing Taiwan, not HK. Please get your chicom trolls straight. \_ Taiwan was a situation where there was an existing Chinese government. The Communists overthrew the government, and the old government fled to Taiwan. Both sides said they would eventually take out the other side; neither did, and it's been 50+ years. It's inaccurate, probably wrong, to say that the situation described ("some foreign power rips California from US") matches Taiwan. A more accurate analogy is if the Democrats overthrew Dubya, and all the Republicans fled to Texus and seceded from the Union, that persisted for 50+ years, and then Pres. Chelsea Clinton was threatening to reunite Texas with the USA. \_ At the same time, the Soviet says will defend Texas if the US decides to take it by force. I like this anology, good job! \_ Pres.? I think you mean dictator. Let's not pretend the PRC is a representative government. \_ Wow, this is so clueless and out of perspective, I have no idea how to respond to it. The sky is green! Green I say! \_ PURPLE! \_ Yeah, as if you have a lot of clues about what's best for the Chinese people. Ever been to China? \_ Yes. \_ Amazing seeing how people who has never left their nest think they know what's best for other places in the world. I know some one like that, our commander in chief!! Yeah, who gives a rats about the Iraqis, I know what's best for them and it's a puppet government under my control. Too bad we can't do that to China, but you can't blame us for not trying! \_ Yeah, China into 50 pieces is good for the US and bad for the them, but who cares! \_ You could use the same argument to say that Beijing doesn't know what's best for HK. \_ I don't think it applies. HK is in China's backyard and historically was part of China. \_ Hong Kong is almost a completely different country. Hong Kong was only last part of China in 1899 and nobody lived there. The people of Hong Kong grew up in a completely different education system and without all of the communist ideological baggage that they try to force feed you in the Mainland. They barely speak the same language and they have different writing systems. Also, the PEOPLE of HK have never been ruled from Beijing. --jeffwong \_ "No body lived there"?? Then what the hell did the Brits wants it for after the Opium War? Oh I get it, the Brits are so nice, they took a waste land from China and build a city on it. \_ Actually, that's exactly what they did. You probably need to understand the difference between Hong Kong, Kowloon, and the New Territories. \_ Don't be an idiot, and cut it with the red herrings already. The transfer the Hong Kong to China involved a promise on the Chinese side to give HK a "high degree of autonomy." Now China is trying to backtrack. Britian has a perfect right to complain, China is breaking a treaty with Britain! Not to mention, I may not know what's "best for the Chinese" but I can be pretty dang sure it's not concentration camps and a police state. As for "never left the nest" I spent two years in South Korea. I'm not saying this gives me credentials on Chinese govenment, but your insult is completely baseless. -jrleek \_ quote from article: ... the British foreign office minister for China and Hong Kong, called in China's ambassador in London to complain about the move, saying in a statement that it was "inconsistent with the `high degree of autonomy' which Hong Kong is guaranteed under the Joint Declaration." The declaration, by Britain and China in 1984, cleared the way for Hong Kong's transfer to Chinese rule. |
2004/4/27 [Computer/SW/Security, Computer/SW/Unix] UID:13397 Activity:nil |
4/26 I want to find out weathers of the bay area in the past few days. Is there a website that keep recorded temperatures? \_ http://tinyurl.com/23jol (http://www.wrh.noaa.gov Click on the links on the right. \_ http://www.wunderground.com has a DIY version of the above. |
2004/4/27 [Computer/SW/Languages/Misc] UID:13398 Activity:nil |
4/26 Is there a *nix program that allows one to define arbitrary object with connections between them, not for oop but just for arbitrary graphs? Visual representation would be nice but is not the most important factor for me. I would like to be able to specify the objects and relationships textually rather than graphically. \_ Prolog. In fact, it will do more than what you want. It is not just a knowledge representation tool, it is an inference tool -- it will answer questions about your knowledge base. A slightly less esoteric answer is to use your favorite relational database with a friendly frontend. -- ilyas \_ I appreciate the answer, but do you have a more conventional one? \_ I don't understand the question then. If you want to do knowledge representation, the conventional answer is to use either logic (i.e. prolog) or databases. Maybe you are looking for something other than what you seem to be asking for. I said my answer was 'esoteric' in a sort of tongue-in-cheek way to mean that Prolog is sadly unfamiliar to most American CS types, not that it is somehow unsuitable or unpopular (it is used heavily in Europe and Japan). -- ilyas \_ if you just want to draw graphs, use dot [google for graphviz] \_ magic(1). it's orig. for circuit description. \_ Is cornell's magic vlsi what you are referring to? |
2004/4/27 [Computer/Companies/Google, Industry/Startup] UID:13399 Activity:nil |
4/27 There are all kinds of rumours about Google doing an IPO this week. My question, how does a little guy like me get a piece of the action, and is it worth it? \_ As a general rule, if little guys are getting a piece of the action, it's not worth it. -tom \_ If you know so little about how IPOs work such as silent periods, announcements, etc, then you have no business throwing your money away in the market. Go buy some lottery tickets. \_ Girls of Google! (though if you are truly a little guy this may not be a viable strategy) |
2004/4/27 [Recreation/Food] UID:13400 Activity:nil 66%like:13404 |
4/27 Do any of you like natto? What's the appeal? \_ I thought this was Japanese porn or something like bukake but turns out to be food. \_ Is it anything like Dweanjong? (Korean soy bean paste.) \_ Fermented whole soybeans that smell like rotten armpits \_ More like stinky feet. \_ Once you get used to the taste and the smell, it tastes good and is full of great nutrients. My wife likes to eat it with a raw egg. --erikred \_ I'm so sorry. \_ I concur. About half the Japanese people I asked didn't like natto, either, or weren't admitting it anyway. -- ulysses \_ True! Natto is generally considered a Kanto thing. Most southerners tend to beat it away with a stick. Me, I like it. Now, sea urchin, on the other hand, wtf? --erikred \_ I've never had the pleasure (misfortune?) to try uni. What's it like? \_ I've had uni a total of three times my whole life. Everytime, I keep forgetting what it tastes like so I try it again to remind myself how bad it is. I do have to admit that it gets better each time but I still don't like it. I think that yellow stuff inside a crab is the closest thing I can think of. \_ It's a very odd texture (which is what i think turns most people off). Sort of a cross between a soft patee and jelly. It's sort of mildly sweet with a bitter finish. It's worth trying just to find out what it's like. \_ Watch out for Salmonella. \_ Very very few eggs contain salmonella, and the amount in an infected egg is generally small enough that a healthy person can fight it off with no problem. \_ http://www.gaia21.net/natto/natto.htm |
2004/4/27 [Recreation/Computer/Games] UID:13401 Activity:nil |
4/27 Has anyone played Rainbow Six (Raven Shield)? If so, did you like it? Splinter Cell (1&2) seemed pretty good, so I was thinking about trying out other Tom Clancy games, but I'm a little wary because I've been told that they are very "realistic". \_ You want violent games that aren't realistic? You can get a free download of pacman at http://download.com. \_ If I wanted realistic I'd join up. I'm a scrawny coder who likes to shoot things for a few hrs a week. Too much "realism" (a la SoCom) bores me. \_ Have you tried Serious Sam or the sequel? Very fun and surreal \_ No. I'll look into them. \_ try FarCry \_ agreed, you need a "real" computer and video card, tho \_ I liked SC 1&2, and also Ghost Recon. Missions in Ghost Recon can take a looong time though (once I got used to it, I really liked it). Never played R6. |
2004/4/27 [Computer/SW/Languages/Misc] UID:13402 Activity:nil |
4/27 Can someone write a script that greps for /\s+\-+(\w+)/ on the entire motd log? I'm interested to know who posts their names. This will give a lower bound as to how many people actively posts on motd. \_ get a life. -tom \_ Boy, if there was ever a time for pot kettle black... \_ you should sign your name, so you can help provide a lower bound as to how many people actively post on the motd -troll \_ tell us about the stars ilyas! \_ Wtf? Hey, anonymous mental giant, did you notice how I sign my name? -- ilyas \_ Yes, I can. |
2004/4/27 [Recreation/Humor] UID:13403 Activity:nil Cat_by:auto |
427/ Funny: http://jelly.b3ta.com Also: http://www.b3ta.co.uk \_ NWS, in case you hadn't guessed. |
2004/4/27 [Uncategorized] UID:13404 Activity:nil 66%like:13400 |
4/27 Do any of you like bukkake? What's the appeal? \_ http://www2.b3ta.com/bukkake \_ So I'm going to assume that this isn't worksafe. Punk. \_ The smell is awful. \_ Porn like this will destabilize the middle east for years to come. |
2004/4/27 [Recreation/Food] UID:13405 Activity:nil |
4/27 ____________________________________ / do any of you like cows? whats the \ \ appeal? / ------------------------------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || \_ I like to cook baby cows in their mother's milk. \_ There is a kind of Japanese food that cooks chicken with eggs, and the name is literally mother-kid-something. \_ Oyako-don: http://www.jfc.com/recipes/jlist/rice/oyakodon.html |
2004/4/27 [Uncategorized] UID:13406 Activity:nil |
4/27 Come on, this political stuff is too boring. Let's talk about girls. I think more sodans want to talk about girls. The need of many outweights the need of the few! So, how do I get girls?? \_ http://www.csua.org/u/72a \_ http://www.deviantart.com/view/6475510 Weird geometry? |
2004/4/27 [Politics/Domestic/911, Politics/Foreign/MiddleEast/Others] UID:13407 Activity:nil |
4/27 Terrorist attacks in Syria? http://www.cbsnews.com/stories/2004/04/27/world/main614030.shtml |
2004/4/27 [Politics/Foreign/MiddleEast/Iraq] UID:13408 Activity:nil |
4/27 So could they have made the Iraqi flag look any more like the Isreali one? More proof that Bush is an utter moron. \_ The governing council chose the flag. Not to say that Bush isn't a moron, but this isn't a good example to use. \_ url-p. \_ http://www.cnn.com/2004/WORLD/meast/04/27/iraq.flag.ap/index.html \_ The old flag is better. \_ Yeah all that glory of god stuff on it is a good idea. right. \_ You're an idiot. It was chosen by the Iraqis from a set of 30 entries submitted by other Iraqis. Most people aren't that idiotic and obsessed. "Oh! Boo hoo! The Israeli flag has 2 blue bars and so does the new Iraqi flag! It's a BushCo conspiracy!" You=moron. \_ HAhahahaha.. *I* am an idiot? Ad hominem is the last resort of someone who is losing an argument. We shall see how the Iraqi's feel about it, eh? Early reviews aren't too favorable. http://csua.org/u/73d \_ Yes, you are an idiot because you aren't smart enough to read a sohrt article that said exactly who chose it and how that came about and instead knee jerked your spluge over Bush who had *nothing* to do with it. If the colors on the Iraqi flag are the worst you can come up with for Bush's crimes then you're giving idiots a bad name. \_ Iraqi Ruling Council == Quislings appointed by Bush \_ Nice try but no cigar, kiddo. It's a frigging flag. Bush didn't sit down with Cheney and get on a video call to the IRC and tell them which flag to pick. You aren't even worth ad hominen at this point. \_ http://riverbendblog.blogspot.com \_ I don't know about the flag, but you are right, the governing council has quite a few lackeys. worst is chalabi. I said long ago that this guy is a criminal. now even dumb and dumber knows chalabi is bad for US endeavours in Iraq. |
2004/4/27 [Uncategorized] UID:13409 Activity:nil |
4/27 Scissor Sisters' version of Comfortably Numb is horribly, horribly wrong. That is all. |
2004/4/27 [Computer/SW/OS/OsX] UID:13410 Activity:nil |
4/27 On Mac OSX, when I use IE and Safari on contents that have tabs within <pre> </pre>, it doesn't indent correctly (it's not the default 8 spaces/tab like my terminal). Is this a bug or is the indentation of tab not specified in HTML? \_ You can set up a style sheet to define how <pre> looks. -tom \_ omg!!! a non-insulting, somewhat useful response from tom!! \_ OMG!! An idiotic post from an anonymous coward! LOL! -tom \_ let it go tom \_ you should sign your name too -troll \_ it's so rare we a get a non-troll post from tom. maybe this will be the start of something new and positive from him. --other troll \_ When making snide remarks to a non-anonymous user, you should sign your name. -YerMom \_ Uh, ok. If I was replying to a non-anon user I might have. --other troll \_ tab spacing is not specified by HTML. |
2004/4/27 [Computer/SW/OS/Windows] UID:13411 Activity:nil |
4/27 Is there a cmd line version of nm and ldd for windows? \_ you mean for ms dev studio? probably some command line options somewhere. |
2004/4/27 [Uncategorized] UID:13412 Activity:nil 57%like:13427 |
4/27 Would you do it? http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=4146756343 \_ It's BDG! \_ No. Too much humor, not enough venom. |
2004/4/27 [Health/Dental] UID:13413 Activity:nil |
4/27 Which one, dental floss or sonic toothbrush, cleans between the teeth better if both are used properly? Thanks. \_ Call your dentist. \_ i use both. floss is better at this job. sonic toothbrush is awsome, but not THAT good. \_ Floss' main purpose is to stimulate gums; secondary purpose is to clean between teeth. As poster above said, use both. \_ Why do we want to stimulate the gums? \_ so they dont rot and turn black and make your teeth fall out. \_ If I skip flossing for a couple days then I'll bleed a lot when I floss again. It sucks. \_ It's all a conspiracy of the flossing Axis. Plenty of other countries don't use it. You don't really need it. It is like toilet-paper. Nobody ever died from not using it. Do you realize how many millions of yards of this they sell each yr? Same groups produce both. Coincidence? I think not! \_ Movin' to Montana soon, gonna be a dental floss tycoon... \_ They do totally different things. sonicare isn't going to get a piece of chicken or popcorn dislodged from between teeth, but it does a good job of removing the stuff that turns into plaque. |
2004/4/27 [Politics/Domestic/911, Politics/Domestic/RepublicanMedia] UID:13414 Activity:nil |
4/27 Interesting little article on early (18th century) terrorists. http://www.worldnetdaily.com/news/article.asp?ARTICLE_ID=38200 \_ OMG! WTF? LOL! Worldnetdaily, heh. \_ 1) They're pirates, not terrorists. 2) There's an article on the Library of Congress site that does a better job of outlining the conflict: http://memory.loc.gov/ammem/mtjhtml/mtjprece.html \_ You're wrong too. Pirates are people who copy CDs, instead of meekly paying out for everytime they scratch the original disc. \_ Piracy : robbery on the high seas \_ *laugh* yeah right, like the *only* mp3s you have are either from copyright free sources or replacements for cds you scratched. that's sooo believable. |
2004/4/27-28 [Computer/SW/Unix] UID:13415 Activity:moderate 75%like:13426 |
4/27 sed "s/$var1/$var2/" file I need the double quotes so that it will use the the value of the variables, var1 and var2, rather than search for the string '$var1'. However, these variables, themselves, contain special characters, and so sed isn't working right. How can I quote the special characters within the variables? \_ use perl \_ Just for fun, how do you do it with sed? \_ this has not so much to do with sed as it does your shell, dude. \_ Piping the variable through sed 's/\//\\\//g' will get rid of '/' and similar expressions will get rid of other special characters. \- it will be very tough to do this realiably for tcsh, because you need to handle $, space and history chars slightly differently. there are really klugy approaches but it is best not to use csh/tcsh here. for a specific purpose, you can probably come up with something, but for general input/hostile input, i dont think so. --psb \_ ASSUMING only slashes are your problem, this gets you: sed "s/`echo $var1 | sed 's/\//\\\//g'`/`echo $var2 | sed 's/\//\\\//g'`/" file Yukola... \_ in other words, use perl you dweeb. \_ Well, you can get around the slash problem by using a different character for the delimiter: s:$var:$var2:g. But it's still a problem for perl. -tom \_ shell programming sucks \_ Mmm... sweeping, pointless statement. \_ Trivial, obvious statement, just like this one. \_ If I set the BOZO flag to off, will *nix automagically migrate all sweeping, pointless, trivial, obvious statements to specific, meaningful, vital, esoteric statements? |
2004/4/27 [Academia/Berkeley/Classes] UID:13416 Activity:nil |
4/27 I forgot if I posted this before or not, but here's another fun problem: Write the factorial function in any language of your choice without using any iterative constructs or named functions. -- ilyas \_ Here's another fun problem: Write your next major project without using user defined functions or subroutines utilizing only goto commands. After you have completed that task try climbing the stairs of your favorite building while hopping only on one foot. --williamc \_ Why lift weights? It's such an artificial problem! Almost no one actually needs to move weights around. Just lift your arms instead. Why prove stuff only using ZFC axioms? Just add whatever axioms you need, why restrict yourself to so little? -- ilyas \_ the only reasonable reason to do any of those is for fun. lifting weights is stupid. \_ Either for fun or to develop a skill, or for reasons of maintainability (that's the example of proving using as little as possible). At any rate, I am of the opinion that folks that look down on these sorts of problems as 'useless in the real world' have a dangerous case of blinders coupled with an incurable case of vanity. Certainly, nothing appearing in SICP is stupid. -- ilyas \_ don't mind williamc. he's generally proved himself to be kind of a dumbass anyway. in any case, perhaps ken thompson put it best: "In college, before video games, we would amuse ourselves by posing programming exercises. One of the favorites was to write the shortest self-reproducing program. Since this is an exercise divorced from reality, the usual vehicle was FORTRAN. Actually, FORTRAN was the language of choice for the same reason that three-legged races are popular." \_ three-legged races are popular? -tom \_ do we forget our childhoods so quickly? \_ Many many years ago, after I told my dad that I taught myself how to program, he gave me that problem. I did it (in Pascal), but it turned out that he expected me to read the program file from disk and print it out! \_ WOW, YOU'RE SMRT!!! \_ Or trying going one more day without pissing in your boss's coffee mug. This one is much harder than the above but it *can* be done! \_ you already asked this, and anyone who's taken CS61A has seen it as the extra-for-experts problem to assignment 1 (or was it 2?) \_ float factorial(int i) { const float f[] = {1, 1, 2, 6, 24, 120, ... and so on ... }; return f[i]; } \_ of course, this doesn't work for arbitrary n, and "factorial" is a named function. \_ Then how do you write a C function without a name? And which language would let you write the said function while supporting arbitary n anyway? \_ And finally we come to the purpose of this question... \_ Take CS61A sometime. \_ CS61A tells me the former or the latter? \_ well, since C doesn't support anonymous functions, and since 61A doesn't cover C: the latter. \_ Sterling's formula? \_ Exact answers only please. I respect your good attempt though. -- ilyas \_ ; replace ___ with the value you want factorialed ((lambda (f n) (if (<= n 1) 1 (* n (f f (- n 1))))) (lambda (f n) (if (<= n 1) 1 (* n (f f (- n 1))))) ___) \_ Nicely done. The keyword for this sort of trickery is 'continuation passing style.' -- ilyas |
2004/4/27-28 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:13418 Activity:moderate |
4/27 How do I sort the output of lastlogin by time? \_ cool, we can figure out who are the motd posters!! \_ try /usr/bin/last instead \_ no, that's not the output i want. I really just want each person's last login. \_ learn perl. \_ foreach user (`cut -d: -f1 /etc/passwd`) last -1 $user end \_ grep -v "^#" /etc/passwd | cut -d: -f1 | xargs -I% last -1 % Pipe it again to sort as needed. Need more pipes!!! \_ /usr/bin/lastlog on linux. Trivial perl script on anything else. [why does someone keep deleting this?] |
2004/4/27-28 [Computer/HW/CPU] UID:13419 Activity:kinda low |
4/27 The mystery CPU usage has been found. I stopped postfix and all my CPU came back. This is on an old redhat 7.2 box. According to top and ps it was only using like 4%, but really it was using 100%, why no tool to see what "real" usage is? \_ Actually, it is quite possible that postfix was only using 4% of the CPU. Depending on the exact way forking is done, children of postfix could have been using the rest of the CPU. If these children spawn and die fast enough, you will never catch them in top. This has happened on Soda a few times...look at your process accounting logs to see what is really going on. \_ mucho gracias. But i don't think i have process accounting logs \_ muchas |
12/24 |