Search found 55 matches

by arcoain
Wed Dec 24, 2008 4:23 am UTC
Forum: Coding
Topic: Python anagram solver
Replies: 34
Views: 7443

Re: Python anagram solver

Hash is an interesting (and potentially more educaional idea). Personally, if I was writing, I would just sort the dictionary and the blind strings lexicographically ("cat" -> "act") and accomplish the same task without writing/finding a hash function.
arcoain
by arcoain
Sun Dec 21, 2008 10:36 pm UTC
Forum: Coding
Topic: Looking for Help With Matlab
Replies: 6
Views: 1201

Re: Looking for Help With Matlab

Mathworks has a nice reference, but it won't help you learn matlab's paradigm which is completely different then any other language you've used. In short, in matlab, if you use a for-loop, your doing it wrong. almost always. sorry, tangent -- mathworks has a nice reference.
arcoain
by arcoain
Fri Dec 19, 2008 4:21 pm UTC
Forum: Hardware
Topic: High Quality Earbuds
Replies: 6
Views: 985

Re: High Quality Earbuds

I'm a fan of etymotics. Great sound, reasonable prices on amazon etc. I have am very happy with the Er 6is. Its take your ears a little while to having something shoved that far into them, but you can't beat the sound or isolation for that price.
arcoain
by arcoain
Fri Dec 19, 2008 5:24 am UTC
Forum: Hardware
Topic: the undead harddrive
Replies: 3
Views: 890

Re: the undead harddrive

ahh darn. And here I was hoping I had finally obtained an immortal hd. In other news, I'm imaging and replacing it with a new larger drive. Gotalove mp3 player surgery.
arcoain
by arcoain
Thu Dec 18, 2008 3:30 am UTC
Forum: Hardware
Topic: the undead harddrive
Replies: 3
Views: 890

the undead harddrive

2 mornings ago, I turned plugged my Gigabeat (Toshiba HD Based mp3 player) and the battery icon was flashing (its not supposed to). So I turned on and was greeted with a white screen and the infamous dead hard drive clickety-click. Grr. My mp3 is dead. I put it down and went and took my finals. I ca...
by arcoain
Fri Oct 17, 2008 2:56 am UTC
Forum: Mathematics
Topic: elementary game theory
Replies: 10
Views: 1739

elementary game theory

I have to give a 30 or so minute talk to (extremely intelligent) high schoolers, and though it may be cool to do it on game theory. Does anyone know of a simple game theory problem that includes proof that would require minimal prior game theory knowledge, and could be explained in a 30 minutes or s...
by arcoain
Fri Aug 01, 2008 1:01 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0457: "Frustration"
Replies: 195
Views: 37821

Re: "Frustration" Discussion

a classic. I can do it in 37 seconds btw. 1:40 one handed.
by arcoain
Thu Jul 31, 2008 7:21 pm UTC
Forum: Computer Science
Topic: time complexity of a program I am writing
Replies: 6
Views: 2254

Re: time complexity of a program I am writing

this appears to be O(n^3), although, realistically, it would lie between O(n^2) and O(n^2).
arcoain
by arcoain
Mon Jul 28, 2008 3:41 pm UTC
Forum: Coding
Topic: Information for programming a rogue-like in VB
Replies: 9
Views: 1975

Re: Information for programming a rouge-like in VB

no one really uses VB 6 anymore, but that doesn't mean your school won't be the exception. Generally more serious classes are in java these days though.
arcoain
by arcoain
Sun Jul 20, 2008 4:20 pm UTC
Forum: School
Topic: AP Tests are here
Replies: 111
Views: 9440

Re: AP Tests are here

CS AB 5
Harmony 5
arcoain
by arcoain
Sat Jul 12, 2008 2:19 pm UTC
Forum: Coding
Topic: How to make my site look professional
Replies: 32
Views: 3513

Re: How to make my site look professional

step 1: get rid of the silly background images. If you have to replace them with a color. step 2: use something other than Times New Roman. Times screams of amateurish site design. step 3: I appreciate that you didn't use any browser slowing images, but some kind of logo or rotating image somewhere ...
by arcoain
Sat Jul 12, 2008 2:47 am UTC
Forum: Movies and TV Shows
Topic: Things you remember watching but can't remember the name of
Replies: 760
Views: 283246

anyone remeber this show?

I believe it aired on The-N/Noggin several years for a very short time, set in Australia, about teens and there issues. I can't find it anywhere on the internet. Does anyone else remember this show or what it was called?
arcoain
by arcoain
Mon Jun 09, 2008 2:45 am UTC
Forum: Hardware
Topic: New RAM affecting sound?
Replies: 9
Views: 2192

Re: New RAM affecting sound?

http://www.newegg.com/Product/Product.a ... 6826106328 Image A million times yes. These headphones are amazing. I have had them for a few years. Great value too. (I found them for $60 on newegg). The sound is phenomenal (and I'm and audiophile). I can almost guarantee you would have no regrets buyi...
by arcoain
Sat Jun 07, 2008 7:53 pm UTC
Forum: Coding
Topic: Program Performance Monitoring
Replies: 6
Views: 1655

Re: Program Performance Monitoring

For drawing, I'd reccomend TV3D (truevision3d.com) its a little fancy, but fast and easy to use. Otherwise, OpenGL is very fast, but a pain to use (find a nice tutorial and you should be fine though). DirectX is also a perfectly acceptable way to go. But none of that matters if drawing isn't your bo...
by arcoain
Sat Jun 07, 2008 7:47 pm UTC
Forum: Coding
Topic: Small VB Quirk? (List.Add())
Replies: 6
Views: 1702

Re: Small VB Quirk? (List.Add())

I am a VB programmer, of the "wrote the book" level.
Anyway, Rysto almost certainly has the answer. There aren't any quirks that I am familiar with to that effect.
Russell
by arcoain
Thu Jun 05, 2008 1:33 am UTC
Forum: Coding
Topic: Simple Encryption Algorithm
Replies: 10
Views: 3088

Re: Simple Encryption Algorithm

As for hashing, I would recommend any of the higher bit-count SHA varieties (SHA-128 or SHA-512). SHA-1 is bordering on becoming insecure, but for practical purposes, if thats easiest to find an implementation of, its fine. I would NOT use MD5, because its been cracked. As for encryption, all of the...
by arcoain
Tue May 20, 2008 12:58 am UTC
Forum: Coding
Topic: Python Editor
Replies: 13
Views: 2382

Re: Python Editor

i've heard nice things about notepad++ (for windows)
arcoain
by arcoain
Sun May 18, 2008 2:43 am UTC
Forum: School
Topic: AP Tests are here
Replies: 111
Views: 9440

Re: AP Tests are here

arcoain wrote:and melodic dictation.

all you need is to get the first and last measures correct (4 points + 1 for using the alternate scoring guide) to get 5/9, which puts you on your way to a five. but yeah. the figured bases literally took me about 3 minutes each. I had a nice nap afterwords.
by arcoain
Fri May 16, 2008 1:40 am UTC
Forum: School
Topic: AP Tests are here
Replies: 111
Views: 9440

Re: AP Tests are here

yeah, apcs was a joke
no recursion required
no trees
nothing even remotely challenging. I was bummed, I was opening to at least stretch my comp sci muscles a little bit. anyone else take AP Music theory? that was not particularly difficult either.
arcoain
by arcoain
Tue May 13, 2008 1:40 am UTC
Forum: Coding
Topic: What language is this?
Replies: 6
Views: 1670

Re: What language is this?

my VB6 alarms are going off. I'm not positive though.
by arcoain
Tue May 13, 2008 1:29 am UTC
Forum: Coding
Topic: Coding Challenge?
Replies: 5
Views: 1310

Re: Coding Challenge?

0xentropy wrote:almosta requesite for network programming)

fixed.
by arcoain
Tue Apr 29, 2008 2:17 am UTC
Forum: Coding
Topic: Ideas for peak finding algorithm?
Replies: 7
Views: 6465

Re: Ideas for peak finding algorithm?

from a cursory glance, it appears you that all peaks appear on >> average jumps from previous nodes. So
1. Find nodes followed by extra long jumps
2. find the jumps that are going up
3. ?????
4. PROFIT!!
arocain
by arcoain
Mon Apr 14, 2008 1:55 am UTC
Forum: Music
Topic: Fa Fa Fa Fa Fa Fa
Replies: 32
Views: 5836

Re: Fa Fa Fa Fa Fa Fa

JayDee wrote: I used to giggle a bit in chorus when we were learning solfegge - the tenors had a whole line of 'la la la ...' I'm convinced that, despite all the rules you find in a theory book, the purpose of four-part writing is to give the altos and tenors the most boring lines possible. Nope, t...
by arcoain
Sat Apr 05, 2008 7:30 pm UTC
Forum: Coding
Topic: "Mission: learn socket programming" going.... not so good
Replies: 8
Views: 1804

Re: "Mission: learn socket programming" going.... not so good

I recently wrote a complete server->client socket library in C#. Basically, it defines abstract server/client classes that define wrap asynchronous socket code, if that interests you. I suppose its whether you want a product, or to learn sockets.
arcoain
by arcoain
Tue Apr 01, 2008 12:49 am UTC
Forum: Coding
Topic: What coding language to use?
Replies: 20
Views: 2567

Re: What coding language to use?

I'm sorry, but frankly, the skills to build a robust IM program require years of experience that one simply can't learn over night. That said, I recently built an IM client / protocol called "Chateau" which uses RSA encryption in C#, with relatively low difficulty (to code). Java is also a...
by arcoain
Sat Mar 29, 2008 4:55 pm UTC
Forum: Coding
Topic: Facebook Puzzles
Replies: 11
Views: 3012

Re: Facebook Puzzles

The other problems get more difficult though. I think the wiretaps one is the next easiest; however, at the moment I can't think of anything more efficient than n! (match every possible combination, yuck). Perhaps if you fill a matrix pairing every programmer w/ every victim, then I'm sure there mu...
by arcoain
Wed Mar 19, 2008 9:35 pm UTC
Forum: School
Topic: Virtual Flash Card Software
Replies: 3
Views: 815

Re: Virtual Flash Card Software

glad to help. feel free to "distribute like crazy" if you like it.
arcoain
by arcoain
Thu Mar 13, 2008 9:27 pm UTC
Forum: School
Topic: Virtual Flash Card Software
Replies: 3
Views: 815

Virtual Flash Card Software

Thought you guys might be interested in this: I wrote this a while back to study chemistry, and since then, have added features. It supports both normal flashcards, and image flash cards. It supports deck randomization, and many other features. XML based deck files are lightweight. Runs on windows u...
by arcoain
Wed Feb 27, 2008 4:12 am UTC
Forum: Coding
Topic: Worst (Best?) Hacks
Replies: 50
Views: 7650

Re: Worst (Best?) Hacks

used an injection trick all the time in VB. The IDE only let you assign certain keys to menu items. I wanted to use other keys. I could do it just fine using the keypress methods, but the menus wouldn't display the keys because they weren't assigned through the IDE. I figured I could fake it by mak...
by arcoain
Sat Feb 23, 2008 2:32 pm UTC
Forum: Coding
Topic: Rubiks Cube Solver
Replies: 20
Views: 3133

Re: Rubiks Cube Solver

A summary of the current state of knowledge is as follows: There are more than 30,000 positions known that need 20 face turns[1] (for example superflip) but no position which needs 21 or more face turns. There exists a fast algorithm that can always solve in 26 face turns. There exists a position t...
by arcoain
Sat Feb 23, 2008 2:22 am UTC
Forum: Coding
Topic: Coding with pencil and paper?
Replies: 36
Views: 4746

Re: Coding with pencil and paper?

In my AP Compsci AB course we write out all code for tests by hand. That said, the longest piece of code I've written by hand on a test is 20 lines or so. I personally see a lot of value in it, because it forces you to slow down, pay attention, and know syntax. 6 pages seems excessive though. arcoain
by arcoain
Sat Feb 23, 2008 2:15 am UTC
Forum: Coding
Topic: Rubiks Cube Solver
Replies: 20
Views: 3133

Re: Rubiks Cube Solver

a friend of mine made one in flash a while back. It was pretty impressive, but also slow, and came up with solutions with move-counts in the 200's (all cubes can be solved in 21 moves or less).
arcoain
by arcoain
Sat Feb 23, 2008 2:04 am UTC
Forum: Coding
Topic: Sudoku
Replies: 23
Views: 4319

Re: Sudoku

I wrote a sudoku solver in VB.net a while back, and then rewrote and used it as the premise of a learn to program / learn VB.NET book. It solved any puzzle, including ones that required guessing in around .1 seconds.
arcoain
by arcoain
Mon Feb 04, 2008 3:51 am UTC
Forum: Computer Science
Topic: Concurrency and Deadlocks in VB2005
Replies: 2
Views: 1958

Re: Concurrency and Deadlocks in VB2005

I am writing a concurrent app in vb2005. The important facts are: nah, the question is why you are writing an app in VB. just kidding, I would imagine you would have similar issues with all of the .NET languages. As for your problem, have you considered trying to write your own locking? Perhaps tha...
by arcoain
Tue Jan 29, 2008 3:28 am UTC
Forum: Coding
Topic: Where should I start?
Replies: 12
Views: 3191

Re: Where should I start?

depends on what kind of understanding you want. I started with VB.Net 2003, then moved to c/c++ for a brief jaunt in pointers and memory management, had a brief foray in as2 and as3 when I was doing a lot of flash. Now for my dev projects, I use c#.net 2008, and java when I need something a little l...
by arcoain
Tue Jan 29, 2008 3:24 am UTC
Forum: Coding
Topic: Recommendation needed for hydraulic calculations app
Replies: 1
Views: 1371

Re: Recommendation needed for hydraulic calculations app

asp.net / c#.net or php would both probably do the job quite nicely, both elegantly combining a web front-end with the ability to do back-end computation. I'm personally partial to Asp.net, but I'm sure there are many who would disagree with me. If your anti-msft, go with PHP, otherwise, I would sug...
by arcoain
Tue Jan 15, 2008 4:57 pm UTC
Forum: Coding
Topic: Skills needed for Java
Replies: 5
Views: 1562

Re: Skills needed for Java

Experience and proficiency including but not limited to the following: -Arrays -Sorting -Heaps -Trees -Stacks -Recursion -looping -swing/UI design -user interaction (mouse events, etc.) -applet creation -basic and intermediate level algorithms -and most importantly: the ability to learn anything tha...
by arcoain
Wed Jan 09, 2008 10:07 pm UTC
Forum: Coding
Topic: best way to serialize data
Replies: 4
Views: 2396

Re: best way to serialize data

Yeah, I'm custom handling the sockets at a pretty low level, so I have a pretty good control of the sockets. I went with a pretty simple approach where all the attributes are ',' separated for file size. I may end up making farther compressions attempts if this proves to large to be practical. arcoain
by arcoain
Tue Jan 08, 2008 12:27 am UTC
Forum: The Help Desk
Topic: Visual Studio Crashes
Replies: 4
Views: 970

Re: Visual Studio Crashes

I don't know if its a space issue for you, but I'm personally leaving VS 2005 on my comp, because I don't know how tight the integration is, and I don't want to break 2008 un-installing 2005. Also, I might be wrong, but you can develop on older .NET editions with 2005, if you need to.
arcoain
by arcoain
Tue Jan 08, 2008 12:17 am UTC
Forum: Coding
Topic: best way to serialize data
Replies: 4
Views: 2396

best way to serialize data

Hey, I'm working on a game that seamlessly supports assorted types of clients (basically to the server, all the clients work the same). The server is c#, and the clients are c#, flash, and others. Whats the best way to serialize game data? c# can serialize data itself, but, it may be difficult to de...

Go to advanced search