Search found 765 matches

by Qoppa
Mon Apr 27, 2009 2:44 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1733552

Re: Coding: Fleeting Thoughts

Alright, got PE 21. The fix was tiny and it's still inefficient, taking about a minute to get me the answer, but that's much better than before (10 minutes and still no answer). I'll work on it some more. Does anyone know how to time execution of a function from ghci?
by Qoppa
Mon Apr 27, 2009 4:26 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1733552

Re: Coding: Fleeting Thoughts

I've been working on PE 21 with Haskell for the past while, and after being repeatedly unsuccessful, I reread the question and noticed I've been trying to solve the wrong problem. I started off on the right track but as my original algorithm was terribly inefficient, I had to modify it but ended up ...
by Qoppa
Sun Apr 26, 2009 4:32 pm UTC
Forum: Coding
Topic: Xkcd coding contest administratorium thread
Replies: 142
Views: 11716

Re: Xkcd coding contest administratorium thread

If we're looking for an idea for another contest, I would be willing to host an obfuscated coding contest. It would be community judged (via a poll), and it would be based entirely on whose entry is the most confusing/clever. I'd add a language restriction to exclude innately confusing languages suc...
by Qoppa
Sun Apr 26, 2009 4:19 pm UTC
Forum: General
Topic: Pens (and now pencils, too)
Replies: 93
Views: 11773

Re: Pens

/me needs a pencils thread. Pretty much. Or I could pretend this is a generic writing utensils thread. I think I'll do that. I need to write with pencil. Ink smudges when I write with pen. Also I mess up way too much, and since I like everything looking nice, I need to be able to fix mistakes. My s...
by Qoppa
Sun Apr 26, 2009 4:12 am UTC
Forum: General
Topic: Pens (and now pencils, too)
Replies: 93
Views: 11773

Re: Pens

by Qoppa
Sat Apr 25, 2009 6:37 pm UTC
Forum: Mathematics
Topic: Shortcut for matrices
Replies: 7
Views: 2002

Re: Shortcut for matrices

If you notice your matrix is unitary, then its inverse is its adjoint....

Really, matrix inversion doesn't have many nice shortcuts in general... what you're doing now is one of the best ways to compute a matrix inverse by hand.
by Qoppa
Sat Apr 25, 2009 5:13 pm UTC
Forum: Music
Topic: So where do we post our OWN music?
Replies: 3
Views: 706

Re: So where do we post our OWN music?

by Qoppa
Fri Apr 24, 2009 2:13 am UTC
Forum: Mathematics
Topic: Looking for a website for sequences
Replies: 6
Views: 768

Re: Looking for a website for sequences

by Qoppa
Fri Apr 24, 2009 1:08 am UTC
Forum: Mathematics
Topic: Dimension of magic square vector spaces
Replies: 26
Views: 4469

Re: Dimension of magic square vector spaces

This means for an even sized magic square, \lambda = 0 will be an eigenvalue, so one of the rows will be linearly dependent. You were good up until here. You could have the eigenvalues as k, 2, -1, -1 or some such thing though. Talith even gave an example of a 4x4 magic square with full rank. True....
by Qoppa
Fri Apr 24, 2009 12:59 am UTC
Forum: Mathematics
Topic: Dimension of magic square vector spaces
Replies: 26
Views: 4469

Re: Dimension of magic square vector spaces

Some information you may or may not know that could potentially help you in your quest. If A is an nxn magic square where each row sums to k , then \lambda = k is an eigenvalue, and the associated eigenvector is v=(1~1\ldots 1)^T . Since all the columns add up to the same k , then \lambda = ...
by Qoppa
Thu Apr 23, 2009 8:15 pm UTC
Forum: Mathematics
Topic: Math: Fleeting Thoughts
Replies: 382
Views: 116642

Re: Math: Fleeting Thoughts

But we have Riemann integral, and Riemann sum!
by Qoppa
Thu Apr 23, 2009 7:35 pm UTC
Forum: Mathematics
Topic: Math: Fleeting Thoughts
Replies: 382
Views: 116642

Re: Math: Fleeting Thoughts

The adjectival form of Riemann is.... Riemann. He's so badass his name doesn't need to be adjectified. Actually, Lebesgue too. And Fourier. It seems that there are a good number of mathematicians who's name as an adjective is the same.
by Qoppa
Thu Apr 23, 2009 2:08 am UTC
Forum: Coding
Topic: strange ghci (haskell interpreter) crash
Replies: 3
Views: 392

Re: strange ghci (haskell interpreter) crash

Running ghci on Linux, I don't get a crash, but the program hangs indefinitely after asking for the value of x. If I terminate it with Ctrl-C, I get an "Interupted" message, and then trying to output x again, I get "*** Exception: Stack overflow", which makes sense if you think a...
by Qoppa
Wed Apr 22, 2009 5:58 pm UTC
Forum: Mathematics
Topic: Math: Fleeting Thoughts
Replies: 382
Views: 116642

Math: Fleeting Thoughts

If coding gets one, we should too. I'm really picky about notation... It bothers me to no end when someone uses notation I dislike (for example, - instead of \ for set difference). Recently, I spent a while trying to decide if I should use (a) for the ideal generated by a, and \langle a \ran...
by Qoppa
Sat Apr 18, 2009 6:24 pm UTC
Forum: Mathematics
Topic: Euler's identity
Replies: 12
Views: 1981

Re: Euler's identity

\ln(-1) is undefined since the natural log is defined as the inverse of the exponential function. The number \ln(-1) is the number you should raise e to to get -1. Note that there aren't any real numbers x such that e^x=-1 , which is why the answer is undefined over the reals. Howev...
by Qoppa
Sat Apr 18, 2009 4:36 pm UTC
Forum: Mathematics
Topic: Euler's identity
Replies: 12
Views: 1981

Re: Euler's identity

It does follow that [imath]i = \frac{\ln (-1)}{\pi}[/imath], but that doesn't equal 0. Over the reals, [imath]\ln(-1)[/imath] is undefined (not 0), but over the complex numbers,[imath]\ln(-1) = \pi i[/imath], which works nicely with the identity we have above.
by Qoppa
Fri Apr 03, 2009 4:15 am UTC
Forum: Coding
Topic: Little help with ARM
Replies: 5
Views: 820

Re: Little help with ARM

I've never worked with ARM, but I believe it's because a machine instruction is 32 bits long, meaning you can't embed a 32 bit constant into the instruction, since then you'd have no room to store the opcode. Likely, you're only able to hardcode something like a 13 bit constant (depending on how man...
by Qoppa
Thu Apr 02, 2009 11:34 pm UTC
Forum: Mathematics
Topic: Calculus Team Name
Replies: 24
Views: 9881

Re: Calculus Team Name

I've never heard his name pronounced any way other than 'oiler'.
by Qoppa
Fri Mar 27, 2009 4:16 am UTC
Forum: Religious Wars
Topic: What Media Player (software) Do you use?
Replies: 74
Views: 11327

Re: What Media Player (software) Do you use?

For my day-to-day listening, I use Audacious, Amarok to manage my iPod, and I use vlc for videos.
by Qoppa
Fri Mar 27, 2009 3:27 am UTC
Forum: Music
Topic: Korpiklaani
Replies: 3
Views: 591

Re: Korpiklaani

Korpiklaani is awesome. I prefer their songs in Finnish. Tapporauta, Tervaskanto, and Karhunkaatolaulu are among my favourites.
by Qoppa
Wed Mar 25, 2009 4:30 pm UTC
Forum: Coding
Topic: Xkcd coding contest administratorium thread
Replies: 142
Views: 11716

Re: Xkcd coding contest?

I'd be all for this. I personally think the time should be a week or so. 24-48 hours seems like it may mean some people can't participate just because they have other plans. If you have a week, anyone who wants to participate should be able to find the time. I also agree that we should be able to ch...
by Qoppa
Sat Mar 21, 2009 9:01 pm UTC
Forum: Music
Topic: What are you listening to?
Replies: 9556
Views: 1068237

Re: What are you listening to?

Esoteric - Ignotum Per Ignotius
by Qoppa
Tue Mar 17, 2009 4:12 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1733552

Re: Coding: Fleeting Thoughts

Vim really is addicting. It's incredibly foreign and counterintuitive when you're first introduced to it, but it does grow on you to the point where using any other text editor is actually really annoying.
by Qoppa
Sun Mar 15, 2009 7:57 pm UTC
Forum: Music
Topic: What are you listening to?
Replies: 9556
Views: 1068237

Re: What are you listening to?

Satyricon - Forhekset

EDIT: jk, now Borknagar - Gods of My World
by Qoppa
Sun Mar 15, 2009 7:53 pm UTC
Forum: Music
Topic: Power metal!
Replies: 23
Views: 2137

Re: Power metal!

I wouldn't call Symphony X power metal. They're more progressive than power metal in my opinion. Either way, they're an excellent band.

I too used to listen to a lot of power metal, but not so much any more. The only power metal bands I really still like are Blind Guardian and Sonata Arctica.
by Qoppa
Fri Mar 13, 2009 3:57 am UTC
Forum: Coding
Topic: I was thinking of learning Lisp
Replies: 5
Views: 661

Re: I was thinking of learning Lisp

Scheme is another option. I'll let others point out the pros and cons of choosing CLISP vs. Scheme, but if you do decide to go for Scheme, I found this to be a useful guide.
by Qoppa
Fri Mar 13, 2009 2:27 am UTC
Forum: General
Topic: Dvorak Usership
Replies: 25
Views: 1679

Dvorak Usership

I'm a Dvorak typist, and I have been for probably about 2 years. Who else is a Dvorak typist? This forum probably has a higher concentration than most other places, so I'm curious how this poll turns out.
by Qoppa
Fri Mar 13, 2009 2:07 am UTC
Forum: Coding
Topic: What to learn
Replies: 30
Views: 2541

Re: What to learn

My vote goes to either C or Haskell. C will be more practical, and also significantly easier, but Haskell will blow your mind and you'll be a better programmer in the long run. You should learn both eventually.
by Qoppa
Fri Mar 06, 2009 1:30 am UTC
Forum: General
Topic: No Vote No Right To Complain?
Replies: 42
Views: 2849

Re: No Vote No Right To Complain?

I agree with idea of not voting meaning you're not allowed to complain. My rational is that if you don't even attempt to sway the outcome of the vote, you can't complain when it ends up not agreeing with what you want. Even if there is no chance that the candidate you want to win will win, by voting...
by Qoppa
Fri Mar 06, 2009 12:43 am UTC
Forum: Music
Topic: Death Metal
Replies: 91
Views: 7080

Re: Death Metal

First off, Children of Bodom freaking rock socks off. Listen to Hate Me! or the song called Children of Bodom. Both are great melodic metal songs. No one has mentioned Unearth as far as I have read and they also rock socks off. Listen to Giles! It is very awesome. The Chariot are pretty good too an...
by Qoppa
Fri Mar 06, 2009 12:29 am UTC
Forum: Coding
Topic: First windows app
Replies: 11
Views: 1360

Re: First windows app

Is the icon file in the same directory as your source files?

Also, I don't know what resources you're using, but I found this guide to be incredibly helpful.
by Qoppa
Fri Mar 06, 2009 12:02 am UTC
Forum: Coding
Topic: Coding: Hacks and Snippets
Replies: 434
Views: 775430

Re: Coding: Hacks and Snippets

Of course, any code can be made readable by sufficient application of whitespace (and perhaps variable renaming, etc) Though some do still stretch the definition of "readable" _=0, w=-1, (*t)(int,int); a() ??< char*p="[gd~/d~/\\b\x7F\177l*~/~djal{x}h!\005h"; (++w<033)?( putchar(...
by Qoppa
Thu Mar 05, 2009 5:18 am UTC
Forum: The Help Desk
Topic: No Sound on new Ubuntu 8.10 Install
Replies: 2
Views: 319

Re: No Sound on new Ubuntu 8.10 Install

Have you tried running alsaconf as root?
by Qoppa
Thu Mar 05, 2009 1:58 am UTC
Forum: General
Topic: Explain your avatar!
Replies: 1628
Views: 129500

Re: Explain your avatar!

My avatar is the album cover of the best CD ever made: Borknagar's Quintessence.
by Qoppa
Thu Mar 05, 2009 1:52 am UTC
Forum: Music
Topic: What are you listening to?
Replies: 9556
Views: 1068237

Re: What are you listening to?

bigglesworth wrote:Godspeed! You Black Emperor: The Dead Flag Blues.
Excellent song. Excellent band.

Borknagar - The Dawn of the End
And it just changed to...
Trollheim's Grott - Conquering With Blasphemy
by Qoppa
Tue Mar 03, 2009 10:24 pm UTC
Forum: Mathematics
Topic: Tips on handwriting maths?
Replies: 21
Views: 2663

Re: Tips on handwriting maths?

All large operators span two lines. So an integral, summation, capital pi for product, large union, etc all take up two lines. Occasionally I'll just ignore the lines when writing math. I cross my Z's (upper case and lower case) so that they don't look like 2's. I write a cursive l when it's a varia...
by Qoppa
Tue Mar 03, 2009 5:16 pm UTC
Forum: Music
Topic: What are you listening to?
Replies: 9556
Views: 1068237

Re: What are you listening to?

Vintersorg - Ödemarkens Son
by Qoppa
Sun Mar 01, 2009 5:32 pm UTC
Forum: Religious Wars
Topic: Curly Brackets Go Where?
Replies: 94
Views: 18053

Re: Curly Brackets Go Where?

Figures. But it has no poll!
by Qoppa
Sun Mar 01, 2009 5:01 pm UTC
Forum: Religious Wars
Topic: Curly Brackets Go Where?
Replies: 94
Views: 18053

Curly Brackets Go Where?

Same line:

Code: Select all

if (a == 1) {
    //stuff
}


New line:

Code: Select all

if (a == 1)
{
    // stuff
}


I prefer a new line, though I'm starting to be more tolerant of using the same line. I used to hate it A LOT.
by Qoppa
Fri Feb 27, 2009 5:18 pm UTC
Forum: Computer Science
Topic: Computer Scientists
Replies: 51
Views: 6003

Re: Computer Scientists

After editing a file, with gedit and then vim, I had to run :%s/^M//g on the file. ^M as in, C-v C-m. Is that \r?

Go to advanced search