Search found 132 matches

by musicinmybrain
Sun Feb 17, 2008 7:31 pm UTC
Forum: Coding
Topic: Sudoku
Replies: 23
Views: 4405

Re: Sudoku

Here is a Python Sudoku solver. It's 100 lines long and can solve any valid Sudoku with frightening speed.
by musicinmybrain
Wed Aug 22, 2007 12:10 pm UTC
Forum: General
Topic: What can be bought online for $20?
Replies: 38
Views: 13673

In case you still haven't bought something: DRM-free music from Magnatune
by musicinmybrain
Sat Aug 11, 2007 12:54 am UTC
Forum: Coding
Topic: Can anyone recommend a Python compiler/IDE?
Replies: 33
Views: 5437

WhiteRabbit wrote:For GUIs I strongly recommend wxPython. It's very cross platform and uses native widgets where available so it always looks right.


Seconded.
by musicinmybrain
Sat Aug 11, 2007 12:31 am UTC
Forum: Science
Topic: Capacitor's Energy
Replies: 3
Views: 1739

Image
by musicinmybrain
Mon Aug 06, 2007 12:11 pm UTC
Forum: Logic Puzzles
Topic: The Cipher Thread
Replies: 23
Views: 4488

Oops! I didn't think of the nonsense words being a big obstacle, but it makes sense that they would be.
by musicinmybrain
Mon Aug 06, 2007 2:38 am UTC
Forum: Logic Puzzles
Topic: The Cipher Thread
Replies: 23
Views: 4488

Here, punctuation, line breaks, and spaces are encoded too! That sounds like a pain, but it could actually make the decoding easy if you can figure out the algorithm (it's not a random substitution). [13, 126, 93, 75, 89, 10, 72, 88, 67, 70, 70, 67, 77, 6, 10, 75, 68, 78, 10, 94, 66, 79, 10, 89, 70,...
by musicinmybrain
Sun Jul 22, 2007 12:00 am UTC
Forum: Logic Puzzles
Topic: 3n+1
Replies: 89
Views: 26341

C.F. Project Euler Problem 14.
by musicinmybrain
Sat Jul 21, 2007 11:33 pm UTC
Forum: Music
Topic: Best sheet music EVER
Replies: 13
Views: 9748

How did I know that the waltz would be mentioned? You're missing the second page, by the way: http://img525.imageshack.us/img525/3673/deathwaltz20rl.gif Actually, that's from the String Quartet No. 556(b) for Strings In A Minor (Motoring Accident) . I had to manually escape the apostrophe in that a...
by musicinmybrain
Wed Jun 27, 2007 10:34 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0282: "Organic Fuel"
Replies: 142
Views: 38689

DannyboyO1 wrote:Ahh, the joys of Iowa and our Ethanol blend.

[long series of horrendous puns]


*clap clap clap clap*
by musicinmybrain
Mon Jun 25, 2007 10:40 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0281: "Online Package Tracking"
Replies: 69
Views: 28813

Hate to bring this off-topic on the first page, but have you give heard of the Nuclear Whales? I love them. Gotta love a sax sextet with contrabass sax. I don't have any of their music, but I've heard of them. I really enjoy the idea of a contrabass sax. Saxmaniac and Somnia, do either of you liste...
by musicinmybrain
Wed Jun 13, 2007 12:07 pm UTC
Forum: Coding
Topic: c++, what does std:: do?
Replies: 37
Views: 8253

The same idea applies in Python to the difference among, for example: import math print math.sqrt(2) (good, but you have to use the namespace explicitly every time, which might not be a bad thing) from math import * print sqrt(2) (not so good, because if the math library expands in t...
by musicinmybrain
Thu Jun 07, 2007 12:47 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0273: "Electromagnetic Spectrum"
Replies: 220
Views: 72989

AC hum! Sometimes at least Isn't that only 60Hz (or 50Hz in the US)? That's a pretty low-pitched hum. (A couple of octaves below middle C. ish.). Two octaves below halfway between the B flat and B below middle C, so yeah, a little more than two octaves below middle C. Generally, places with ~230 V ...
by musicinmybrain
Sun May 20, 2007 12:51 pm UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 158359

I get ######. Don't have my own source handy, but its pretty much the same as this solution, in ruby I was trying to avoid posting solutions, but since you did, I'll confirm it and post my Python code. Can we agree not to post spoilers for other problems, though? I like that spoilers aren't really ...
by musicinmybrain
Fri May 18, 2007 2:21 am UTC
Forum: Food
Topic: Time to get confrontational about peanut butter
Replies: 393
Views: 44431

warriorness wrote:Image


That stuff is amazing and delicious (in the chunky variant, anyway) and I don't care if you don't like it because that leaves more for me. So nyeh.
by musicinmybrain
Wed May 16, 2007 12:28 pm UTC
Forum: Coding
Topic: FTP problem - Can't connect and its driving me crazy!
Replies: 14
Views: 5734

if its not your firewall do you have a router between your computer and the net? it could be a port forwarding/hardware firewall issue Seems strange... that ought to only affect inbound connections, not outbound ones. But I guess buggy router firmware or something like that is a possibility. Or, th...
by musicinmybrain
Wed May 16, 2007 1:30 am UTC
Forum: Coding
Topic: FTP problem - Can't connect and its driving me crazy!
Replies: 14
Views: 5734

Crummy firewall software blocking the FTP port? That's all I can think of.
by musicinmybrain
Wed May 16, 2007 12:58 am UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 158359

I want to kill problem #14 with fire. It's about finding the maximum cycle length in the collatz conjecture scenario with a starting point under a million. Every single time, I get 910107 with 475 cycles as the maximum. Every time. I checked it, that's how many cycles there are. In fact, I checked ...
by musicinmybrain
Mon May 14, 2007 12:37 am UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 158359

So I just hit 50%. Does that make me a half-wit? I've got half a mind to make more awful puns, but I'll refrain.
by musicinmybrain
Sun May 13, 2007 1:26 pm UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 158359

I sat down and did two problems in C last night, then I realized they were all too easy and it was a waste of my time. So I'm only 1% genius. I assume they would be much easier for a mathematician (maybe even trivial, if you're well-educated and clever enough mathematically, particularly in number ...
by musicinmybrain
Sun May 13, 2007 3:31 am UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 158359

Yeah, Project Euler is a lot of fun. I'm at 49% in Python. I still sit down and do a problem now and then; it's kind of relaxing, and a nice brain exercise.
by musicinmybrain
Tue May 08, 2007 11:27 pm UTC
Forum: News & Articles
Topic: Dell to offer Ubuntu 7.04, plus an interview
Replies: 5
Views: 2265

Re: Dell to offer Ubuntu 7.04, plus an interview

I just hope they sell the exact same models as Ubuntu and Windows laptops, so one can see the price difference. If they did that, I'm sure people would realize how much they're getting ripped off paying hundreds of dollars for a gigabyte or two of information. Unfortunately, any discounts on Ubuntu...
by musicinmybrain
Sat May 05, 2007 3:01 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0206: "Reno Rhymes"
Replies: 217
Views: 74607

I shipped my speakers to Reno, just because they'd died.

Well, I did.
by musicinmybrain
Wed May 02, 2007 12:33 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0256: "Online Communities"
Replies: 318
Views: 114755

Aw, man... now someone has to mail Stallman an airship.

This is excellent, though.
by musicinmybrain
Tue May 01, 2007 11:58 pm UTC
Forum: General
Topic: The meta-whining thread
Replies: 7
Views: 1726

Y'all want some cheese with that?
by musicinmybrain
Tue May 01, 2007 12:15 am UTC
Forum: Coding
Topic: All I want For Christmas...
Replies: 25
Views: 9110

A lot of this is pretty natural in Python, but I get the feeling you're looking for a compiled language. Also, I admit I skimmed and didn't understand all of your wishes. Still, in case you find it interesting: Multi-type return functions... def ParseValue(string): try: return int(string...
by musicinmybrain
Mon Apr 30, 2007 11:30 pm UTC
Forum: Coding
Topic: Testing the waters: Is this the right forum?
Replies: 29
Views: 19779

Yeah, but the noise to signal ratio in the Ubuntu fora is terrible. Amen to that. I've only had a few questions answered there... and I was the one who ended up answering them. :-P There are so many people with questions and very few people with answers. I try to help out answering questions when I...
by musicinmybrain
Mon Apr 30, 2007 12:23 pm UTC
Forum: General
Topic: Mass File Renaming
Replies: 28
Views: 4780

Here's another one in bash (use Linux or Cygwin). It's a little longer, but sed could be used to do more complex things as well.

Code: Select all

for i in xxxxxxx*; do mv "$i" `echo "$i" | sed s/xxxxxxx//`; done
by musicinmybrain
Mon Apr 30, 2007 12:11 pm UTC
Forum: Music
Topic: What are you listening to?
Replies: 9561
Views: 1179028

nothing

(the amp in my powered speakers died and I had to send them off for warranty replacement, so I'm in a sad state of music deprivation)
by musicinmybrain
Thu Apr 26, 2007 12:15 pm UTC
Forum: Forum Games
Topic: Calvinball
Replies: 224
Views: 34308

Rule 8927.0.0.1beta states that persons drinking orange juice may, within the first quarter of each hour (inclusive), override claims under Rule 13.1(b) made by persons whose names are also associated with tiny towns in Texas or other alliterative entities. My ball.
by musicinmybrain
Thu Apr 26, 2007 3:09 am UTC
Forum: Forum Games
Topic: Calvinball
Replies: 224
Views: 34308

As specified by the extraordinary powers clause of rule 382.7, when two turns pass with the ball in uncertain possession one player can form a Bureau of Ball Affairs to manage the ball. I do so and confiscate the ball for safekeeping.
by musicinmybrain
Thu Apr 26, 2007 2:50 am UTC
Forum: Forum Games
Topic: Calvinball
Replies: 224
Views: 34308

I sneak inside the corn, stalk you, and steal the ball. You shake your head in amaizement and say, "Oh, shucks." Because the ball touched the corn, anyone who wants to take it from me has to tell a corny joke. I observe a haystack and declare that anyone who wishes to implement recursion m...
by musicinmybrain
Thu Apr 26, 2007 2:28 am UTC
Forum: Forum Games
Topic: Word Association Game 2: Electric Boogaloo
Replies: 12812
Views: 1050868

sugar
by musicinmybrain
Thu Apr 26, 2007 2:01 am UTC
Forum: Forum Games
Topic: Word Association Game 2: Electric Boogaloo
Replies: 12812
Views: 1050868

barbecue
by musicinmybrain
Wed Apr 25, 2007 10:30 pm UTC
Forum: Forum Games
Topic: Word Association Game 2: Electric Boogaloo
Replies: 12812
Views: 1050868

Beatles
by musicinmybrain
Wed Apr 25, 2007 10:27 pm UTC
Forum: General
Topic: INTRODUCTIONS THREAD
Replies: 3985
Views: 689780

You're at VT yet in Greensboro? How's that work out? I'm on a co-op rotation. I'm working for a semester and a summer, then I'll go back to classes this fall. Also, they alone of brass instruments have a sort of dual identity of brass/woodwind thing going on. Woodwind Quintets, for the win. Yup... ...
by musicinmybrain
Wed Apr 25, 2007 2:32 am UTC
Forum: Forum Games
Topic: Word Association Game 2: Electric Boogaloo
Replies: 12812
Views: 1050868

weights
by musicinmybrain
Wed Apr 25, 2007 2:31 am UTC
Forum: General
Topic: Confessional Shed - I'll keep a look-out
Replies: 38049
Views: 2813432

I recently posted in the intro thread. It was my 95th post.
by musicinmybrain
Wed Apr 25, 2007 2:30 am UTC
Forum: General
Topic: INTRODUCTIONS THREAD
Replies: 3985
Views: 689780

I guess, after 94 posts, I'll finally post in the intro thread. I'm an undergraduate student double-majoring in electrical engineering and horn performance at Virginia Tech. I'm currently on a co-op rotation at a semiconductor company. I make terrible puns and enjoy cantaloupe. My mother is not a ha...
by musicinmybrain
Wed Apr 25, 2007 1:50 am UTC
Forum: Forum Games
Topic: Word Association Game 2: Electric Boogaloo
Replies: 12812
Views: 1050868

clams
by musicinmybrain
Sat Apr 21, 2007 1:19 am UTC
Forum: Coding
Topic: Digital Counter
Replies: 2
Views: 5863

Here's a cheap ($0.50 per chip in small orders) dual 4-bit counter that works from 2 V to 5.5 V. You can chain any number of 4-bit counters together, of course. If you're interested in building one of these from discretes, take a look at the pleasantly simple logic diagram in the datasheet (pdf) . ...

Go to advanced search