Search found 150 matches

by iw
Wed May 16, 2007 1:11 am UTC
Forum: Coding
Topic: FTP problem - Can't connect and its driving me crazy!
Replies: 14
Views: 5788

Um, where are you trying to connect to? Do you have an account there? Is it anonymous? I don't know too many public places that allow anonymous upload these days. Do you know if the place you are trying to connect to allows ftp connections? We need more info.
by iw
Wed May 16, 2007 1:07 am UTC
Forum: Mathematics
Topic: Show us your articles! Or what's your Erdos number?
Replies: 187
Views: 278795

I'm going to publish a condensed matter paper soon. Any idea how to link Erdös to condensed matter physics? I'm very tempted to call it "Madness? Blasphemy? This IS EPITAXY ON A (111) FCC PERIODIC SLAB OF LENNARD-JONESIUM" but it doesn't have a very good ring to it. How about "This ...
by iw
Fri May 11, 2007 6:51 am UTC
Forum: Mathematics
Topic: Math Books
Replies: 42
Views: 10448

How To Prove It is a classic book on how to make good proofs that I hear about a lot. It's pretty good. I don't know about How to Prove It , but I just finished a class where we used How to Solve It by G. Polya as our text book (in a rough way). It's great, and apparently some from of classic; alth...
by iw
Fri May 11, 2007 5:18 am UTC
Forum: Coding
Topic: Learning HTML and CSS
Replies: 76
Views: 34520

http://www.htmldog.com
A HUGE help for CSS and HTML, and there are some really good tutorials to make HTML pages the CSS way.
by iw
Fri May 11, 2007 12:45 am UTC
Forum: Coding
Topic: Latex :(
Replies: 30
Views: 10260

And the people who wrote OpenOffice, StarOffice, KOffice, AbiWord, Word Perfect, AppleWorks, etc. are? It's not just Word. I've used all of the above at one time or another, and to my knowledge none of them do anything TeX-like. Open Source Hippies or Enterprise Corporate Drones</flamebait> Another...
by iw
Thu May 10, 2007 10:41 pm UTC
Forum: Coding
Topic: Latex :(
Replies: 30
Views: 10260

As long as you understand that TeX is not WYSIWYG and that it lets you define everything you start to understand why it's complex. I never understood why, to my knowledge, no WYSIWYG editor doesn't give you documents than are as good of quality as Latex will. For instance, Latex generally gives *fa...
by iw
Thu May 10, 2007 10:37 pm UTC
Forum: News & Articles
Topic: The World's Largest Scavenger Hunt!
Replies: 4
Views: 3737

How awesome! This is giving me some fantastic party ideas, I love holding scavenger hunts. The more of this I read, the more I want to hug/high-five/buy beers for/propose to the people who put this together. Honestly. This is the 21st year it's been put on, and they keep finding new judges to make ...
by iw
Thu May 10, 2007 4:38 pm UTC
Forum: Your art and links
Topic: The Bad Art Experiment - 6 years of ...improvement?
Replies: 3
Views: 2437

The Bad Art Experiment - 6 years of ...improvement?

I finally got my site cleaned up, so I can post this now. About 6 years ago, I decided that I was going to teach myself to draw. Not seriously. I just wanted to draw lame little anime cartoon peoples. I had no idea how to begin, so I just started copying webcomics and online tutorials. Here are the ...
by iw
Thu May 10, 2007 4:27 pm UTC
Forum: News & Articles
Topic: The World's Largest Scavenger Hunt!
Replies: 4
Views: 3737

The World's Largest Scavenger Hunt!

It's time for the annual University of Chicago scavenger hunt! For those who don't know, the U of C runs a Scavenger Hunt every year. So what makes this newsworthy? It's the largest and by far the most interesting scavenger hunt in the world. Basically students at the University form teams and are g...
by iw
Thu May 10, 2007 6:38 am UTC
Forum: Coding
Topic: Latex :(
Replies: 30
Views: 10260

I have to learn latex for this summer course I'm taking. I believe I have to give a presentation, and it has fancy math symbols. I heard you have about 20 lines of code for about 1 line of something. That is discomforting :-/ That's not quite true, but it is somewhat tough to learn. But once you ge...
by iw
Thu May 10, 2007 6:32 am UTC
Forum: Mathematics
Topic: Show us your articles! Or what's your Erdos number?
Replies: 187
Views: 278795

ptveite wrote:I have papers pending publication that will give me an erdos number 4, and hence an Erdos-Bacon number 6.
Wait a second, you were in a motion picture? IIRC, skeptical scientist is on a quest for one of those numbers as well.
by iw
Wed May 09, 2007 11:53 am UTC
Forum: Coding
Topic: Doing it correctly
Replies: 18
Views: 5964

It depends. My current coding partner is really good and we work together well to boot. The only thing that bugs me is that he indents like this: if(x) { statement; statement; } But having to deal with code that my predecessors wrote is pure hell. When I first started my job, I had...
by iw
Wed May 09, 2007 11:48 am UTC
Forum: Mathematics
Topic: Math Books
Replies: 42
Views: 10448

How To Prove It is a classic book on how to make good proofs that I hear about a lot. It's pretty good.
by iw
Tue May 08, 2007 11:49 am UTC
Forum: Computer Science
Topic: Linux kernels. Generic vs specific
Replies: 23
Views: 9541

adlaiff6 wrote:Just run gentoo and configure your own damn kernel.

Hell, run LFS and roll your own package manager :)
by iw
Tue May 08, 2007 11:40 am UTC
Forum: Mathematics
Topic: Show us your articles! Or what's your Erdos number?
Replies: 187
Views: 278795

Link to my webspace 'cuz you have to buy the original: http://www.dranger.com/iwsec06_co.pdf Basically, it's a PSPACE reduction. In more depth, it proves an upper bound for the complexity of this one computer security model my prof created. I had to turn it into a graph problem and then... oh, it's...
by iw
Tue May 08, 2007 3:10 am UTC
Forum: Mathematics
Topic: Multiplication of a number in a non-10 base?
Replies: 26
Views: 11629

Not easily, though. I for one can't make 72 without looking like I got my hands caught in an automatic rice picker. Boy, you'd make a terrible pianist. Gee whiz, what did I ever do to you, you big meaniehead? The proper response here is "4" or if you're feeling really angry, "132&quo...
by iw
Tue May 08, 2007 3:05 am UTC
Forum: Mathematics
Topic: Stupid Math Teachers?
Replies: 135
Views: 33780

kira wrote:Why is showing work important in college but not in high school?

At the very least, it's smart for the student to do so because of those two magic words: partial credit.
by iw
Mon May 07, 2007 7:27 am UTC
Forum: Coding
Topic: Exploiting Buffer Overflows
Replies: 9
Views: 5336

I was lucky enough to be a part of djb's Unix Security Holes course at UIC. (I am disappointed with myself for only finding one hole :( ) Here are the extremely useful slides: http://cr.yp.to/2004-494.html First, you should learn why buffer overflows work. Basically, you overwrite the function retur...
by iw
Mon May 07, 2007 6:49 am UTC
Forum: Mathematics
Topic: Real World Applications
Replies: 53
Views: 16596

I find that the answer that I like the most is that studying math actually makes you smarter. Learning math can change the way you approach things, and makes you better at problem solving and thinking things through. Give them an analogy: most of them play sports, right? Let's use basketball for exa...
by iw
Mon May 07, 2007 6:39 am UTC
Forum: Mathematics
Topic: Show us your articles! Or what's your Erdos number?
Replies: 187
Views: 278795

Link to my webspace 'cuz you have to buy the original: http://www.dranger.com/iwsec06_co.pdf Basically, it's a PSPACE reduction. In more depth, it proves an upper bound for the complexity of this one computer security model my prof created. I had to turn it into a graph problem and then... oh, it's ...
by iw
Mon May 07, 2007 6:32 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0258: "Conspiracy Theories"
Replies: 272
Views: 81383

I was about to post that pretty soon clever atheists were going to point out the apparent "contradiction" in the guy railing against conspiracy theories and nutcases and then turns out to be religious, but I was beat by 3 minutes!
by iw
Thu Apr 26, 2007 8:40 am UTC
Forum: Logic Puzzles
Topic: When is it efficient to take a bus?
Replies: 34
Views: 5819

You fucking walk because the CTA will never come when you wait for it.
by iw
Wed Apr 25, 2007 10:56 am UTC
Forum: General
Topic: What the heck is "sjcd"?
Replies: 8
Views: 2281

Re: What the heck is "sjcd"?

So Firefox2 has an auto-complete feature in the Google search bar. I type in "xkcd" and it suggests "sjcd". That could be San Jacinto College or St. Joseph Center for the Deaf, but it suggests related terms like comic wikipedia april fools youtube sudo funniest comics guitar her...
by iw
Tue Apr 24, 2007 1:52 am UTC
Forum: Computer Science
Topic: Grid Computers.
Replies: 12
Views: 5475

The most I've ever really heard about grid computing are some talks students gave when I worked at Argonne Labs. They consisted mostly of buzzwords, talking about how exciting grid computing is, and explaining what grid computing was without explaining what grid computing is ("grids are scalabl...
by iw
Tue Apr 24, 2007 1:47 am UTC
Forum: Coding
Topic: Collaborative Effort
Replies: 19
Views: 5929

The pet project thats been rattling around in my head is a platform for writing fiction that separates the content from the structure. Like someone handed you a shoebox full of newspaper clippings instead of a bound novel. As an author it would let you create pieces of the story on logical entities...
by iw
Wed Apr 18, 2007 4:53 pm UTC
Forum: Coding
Topic: Prime Factor Golf
Replies: 18
Views: 6023

hotaru wrote:
iw wrote:Perl:

Code: Select all

$\=" ";while(++$_<$n){$n%$_?0:print;}
$,=" ";print grep{!($n%$_)}(1..$n);


actually, those don't work.

Yeah, yeah, I read the problem wrong.
by iw
Wed Apr 18, 2007 3:45 pm UTC
Forum: Coding
Topic: Prime Factor Golf
Replies: 18
Views: 6023

jestingrabbit wrote:More Haskell, doesn't write to stdout and not as short as some, but it does give you all the primes 8)

[p|p<-[2..],null [q|q<-[2..p],q^2<=p,(mod p q)==0]]


Edit: doh! misread the task... :cry:

It's quite pretty, though
by iw
Wed Apr 18, 2007 3:44 pm UTC
Forum: Coding
Topic: Prime Factor Golf
Replies: 18
Views: 6023

Torn Apart By Dingos wrote:
iw wrote:AND it prints it to stdout. Does the haskell one do that?
No. Does yours handle arbitrarily long integers? :p

That's perl implementation dependent ;)
by iw
Wed Apr 18, 2007 3:16 pm UTC
Forum: Computer Science
Topic: Linux kernels. Generic vs specific
Replies: 23
Views: 9541

Does it help that I use Gentoo myself? Maybe I just never noticed the difference because my computer is getting old and programs are naturally getting bulkier. It depends what you use your computer for if even the optimisations I mentioned will make any difference. My linux machine is a storage rep...
by iw
Wed Apr 18, 2007 3:12 pm UTC
Forum: Coding
Topic: Prime Factor Golf
Replies: 18
Views: 6023

Perl: $\=" ";while(++$_<$n){$n%$_?0:print;} $,=" ";print grep{!($n%$_)}(1..$n); 35 and 37. AND it prints it to stdout. Does the haskell one do that? (Not actually sure.) If not, "grep{!($n%$_)}(1..$n)" (22) works. Edit: Gah, a...
by iw
Wed Apr 18, 2007 9:33 am UTC
Forum: Coding
Topic: Compilers
Replies: 31
Views: 7202

if this is 'learning for yourself' rather than a class be warned that neither c++ nor perl are particularly easy to learn (this obviously doesn't mean you shouldn't learn 'em) especially for a first language. Personally, I say trial by fire. The Intro to Programming class I took used Scheme, which ...
by iw
Wed Apr 18, 2007 6:01 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0250: "Snopes"
Replies: 47
Views: 17839

This article reminded me of this story: http://www.catb.org/jargon/html/B/back-door.html
by iw
Wed Apr 18, 2007 5:58 am UTC
Forum: Computer Science
Topic: Programmers: Math nerds or Artists?
Replies: 68
Views: 19324

It depends on whether I'm coding or doing math (i.e. proving something or working out algorithms). For coding, my environment doesn't matter so long as I can move around freely and sit/lie however I want, there is no shitty music playing, no one is trying to get my attention, and I care enough about...
by iw
Wed Apr 18, 2007 5:42 am UTC
Forum: Computer Science
Topic: Linux kernels. Generic vs specific
Replies: 23
Views: 9541

For the kernel and glibc it is generally worth picking one of three optimisations: i386, i486, i686. Going to 486 lets you use better instructions to implement locks, which is particularly handy in the kernel and libc as that's where the locking implementations are. Going to 686 gives you lots of c...
by iw
Wed Apr 18, 2007 5:31 am UTC
Forum: Coding
Topic: Compilers
Replies: 31
Views: 7202

Re: Compilers

What put me off from learning any language is a good, free, compiler. Does anyone here have any recommendations for a compiler that I can use, preferably one without an obscene amount of extra features, for studying C++, Perl, and HTML? Technically Perl is an interpreted language ;) But for Linux, ...
by iw
Tue Apr 17, 2007 1:38 am UTC
Forum: Computer Science
Topic: Collaborative Brilliance
Replies: 7
Views: 3572

I think that it's a very good idea, but not one that is exactly new. A more interesting way of approaching this idea would be to figure out exactly how to implement this idea: how do you get everyone in the company to contribute ideas equally? I think that programmers in successful software companie...
by iw
Tue Apr 17, 2007 1:29 am UTC
Forum: Computer Science
Topic: Linux kernels. Generic vs specific
Replies: 23
Views: 9541

Basically the performance gain from optimizing for a i386 processor to optimizing for an i686 or AMD or whatever processor is essentially negligible and the only kind of people who care about that are the ones running Gentoo. Which is really hilarious in and of itself because you spend so much more ...
by iw
Mon Apr 16, 2007 5:49 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571945

Here's something that happens at bizarre times at work: I'm using PHP and occasionally a page will return a completely blank page. When I go in and check each page for errors, I don't find anything. But for some unknown reason, if I go in and re-save an included file without changing the contents at...
by iw
Mon Apr 16, 2007 5:49 am UTC
Forum: Logic Puzzles
Topic: 3n+1
Replies: 89
Views: 26450

Oh, man, Collatz. When Paul Erdos throws his hands up and says that we can't solve it, you know it's a hard problem.
by iw
Mon Apr 16, 2007 5:33 am UTC
Forum: Logic Puzzles
Topic: The surprise exam paradox
Replies: 217
Views: 66473

Demonstrate why "There is a test tommorrow" and "You cannot know what day the test is on" means the professor is clearly lieing, while the OP doesn't. Logic: There is a test tommorrow. But we cannot know there is a test tommorrow. So because we know there is test tommorrow, ther...

Go to advanced search