Search found 1514 matches

by King Harold
Thu 19 Nov, 2009 10:57 am
Forum: Off Topic
Topic: New Years Resolutions? ('09 edition)
Replies: 16
Views: 48171

Re: New Years Resolutions? ('09 edition)

I didn't need Axe to get one of those "girlfriend" things, it was surprisingly easy actually..
Do you want some tips?
by King Harold
Sun 01 Nov, 2009 12:03 pm
Forum: Programming Help
Topic: [Java] Minesweeper Concepts
Replies: 27
Views: 46048

Re: [Java] Minesweeper Concepts

I'm not sure yet why it doesn't work, but why are you creating new MButton's only to overwrite them?
by King Harold
Sat 31 Oct, 2009 12:12 am
Forum: Programming Help
Topic: [Java] Minesweeper Concepts
Replies: 27
Views: 46048

Re: [Java] Minesweeper Concepts

Almost except you shouldn't create a new queue (why have queue's with only 1 thing in it?) but add the cells to the queue you already had The real problem was actually kindof lame, they wanted a tournament manager that plans its games such that two players never play more than once against each othe...
by King Harold
Fri 30 Oct, 2009 10:15 pm
Forum: Programming Help
Topic: [Java] Minesweeper Concepts
Replies: 27
Views: 46048

Re: [Java] Minesweeper Concepts

Or a stack, which is better for locality of reference and only requires 1 copy when it needs to grow (instead of a scary multi-part copy) And more importantly, it would more closely resemble your original recursive implementation. This reminds me of an algorithm I recently implemented for the Softwa...
by King Harold
Fri 09 Oct, 2009 9:32 pm
Forum: Programming Help
Topic: Stack and Heap
Replies: 18
Views: 27927

Re: Stack and Heap

Oh I learned most of what I know for free on the 'net :)
I already started doing that in my last year of highschool though and I had plenty of time back then .. but actually, I still have plenty of time. How come you don't have time? I spend about 10 hours per week on university in a normal week..
by King Harold
Fri 09 Oct, 2009 3:36 pm
Forum: Programming Help
Topic: Stack and Heap
Replies: 18
Views: 27927

Re: Stack and Heap

Oh I see, sorry btw, you're allowed to learn in your own time That's what I did, in fact all of the stuff I've posted about here is stuff I learned on my own :) And of course it's the only way to get to be actually better than the rest.. Good luck Oh and edit distance is nice, it easily allows you t...
by King Harold
Fri 09 Oct, 2009 10:20 am
Forum: Programming Help
Topic: Stack and Heap
Replies: 18
Views: 27927

Re: Stack and Heap

So.. you go to a Chinese college? :?
by King Harold
Tue 06 Oct, 2009 10:39 pm
Forum: Programming Help
Topic: Stack and Heap
Replies: 18
Views: 27927

Re: Stack and Heap

Well I don't see how lz77 would come in.. You'd still need to store those grid entries "somewhere", and that "somewhere" had better not get too big.. Anyway this is DP, and with DP you can always cheat - for example, instead of just filling a grid, you could do it the "old f...
by King Harold
Tue 06 Oct, 2009 12:34 pm
Forum: Programming Help
Topic: Stack and Heap
Replies: 18
Views: 27927

Re: Stack and Heap

How long are the strings? What language will this be in? And where/how do stacks an heaps come into this - do you mean The Heap and The Stack? Since your array is dynamically allocated (dynamic size, so.., well you could use alloca.. but The Stack is typically only about 1MB) it would be on the heap...
by King Harold
Tue 29 Sep, 2009 2:32 pm
Forum: Off Topic
Topic: Post Your Internet speeds
Replies: 42
Views: 126730

Re: Post Your Internet speeds

UPC is notoriously unreliable though..
by King Harold
Mon 28 Sep, 2009 2:00 pm
Forum: Off Topic
Topic: Post Your Internet speeds
Replies: 42
Views: 126730

Re: Post Your Internet speeds

Cheat! That's not your home connection :P

We'll get 100mbit/s next year if our ISP stays on schedule
by King Harold
Sun 27 Sep, 2009 3:08 pm
Forum: Off Topic
Topic: Post Your Internet speeds
Replies: 42
Views: 126730

Re: Post Your Internet speeds

A little upgrade (free upgrade)
Image
by King Harold
Sun 20 Sep, 2009 2:10 pm
Forum: Program Ideas
Topic: Pooled memory allocation
Replies: 3
Views: 17579

Re: Pooled memory allocation

So... no explanation? Like, what makes it better than other memory management things?
We're probably supposed to understand it all just by looking at it, but I'm not feeling so pro at the moment :)
by King Harold
Sun 20 Sep, 2009 11:33 am
Forum: Programming Help
Topic: [Java] Nodes (Circularly Linked Lists)
Replies: 27
Views: 37307

Re: [Java] Nodes (Circularly Linked Lists)

Thanks guys, I'm glad all that time I spend reading wiki pages wasn't completely wasted lol
by King Harold
Fri 18 Sep, 2009 10:33 am
Forum: Programming Help
Topic: [Java] Nodes (Circularly Linked Lists)
Replies: 27
Views: 37307

Re: [Java] Nodes (Circularly Linked Lists)

Factoradic numbers are harder to explain than to write code for, here's an example in C# (easy enough to convert to Java) http://www.koders.com/csharp/fid3FF1BAF468DB8C6D58B5785703B1728C4CB0D397.aspx? You'd have to use something bigger than an int though, probably longer than a long as well - like a...