Forum: Coder's Corner Lounge
Nov 13th, 2007, 9:08 PM
|
|
Replies: 33
Views: 1,122
|
Forum: Coder's Corner Lounge
Oct 30th, 2007, 10:30 AM
|
|
Replies: 5
Views: 231
Re: Checking possible moves recursivley
I presume your data structure describing barriers is a set of edges, where an edge is an ordered pair of square coordinates normalized in sorted order. Right? And you have some kind of function...
|
Forum: Paid Job Offers
Oct 29th, 2007, 2:35 PM
|
|
Replies: 6
Views: 419
|
Forum: Other Programming Languages
Oct 26th, 2007, 10:15 PM
|
|
Replies: 17
Views: 813
Re: F# coming to a Visual Studio near you!
It was in some numerical code, an implementation of a Naive Bayes learning algorithm. Something somewhere was building up what I guess to be a huge numerical expression, and despite my best efforts,...
|
Forum: Other Programming Languages
Oct 24th, 2007, 2:55 PM
|
|
Replies: 17
Views: 813
Re: F# coming to a Visual Studio near you!
That looks really neat. I'm kind of getting sick of Haskell right now, thanks to some painful space leaks, but it's a shame I got rid of my last Windows partition. There's always regular O'Caml......
|
Forum: Python
Oct 24th, 2007, 11:13 AM
|
|
Replies: 36
Views: 1,446
|
Forum: C++
Oct 22nd, 2007, 8:11 PM
|
|
Replies: 6
Views: 262
|
Forum: C++
Oct 22nd, 2007, 7:44 PM
|
|
Replies: 6
Views: 262
Re: Help with fstream to a text file
Well you could copy it to a temp file and delete the old file, or just move it to the old filename, after all of it has been read in. Or you could move the old filename to a temporary location and...
|
Forum: Project Ideas
Oct 22nd, 2007, 7:14 PM
|
|
Replies: 17
Views: 844
Re: Need help with school SIS
No, I don't have any radical opinions like that. It's not like you should write code in a theorem prover...
But it would be a nice start to use one where when you look at the code, you know what...
|
Forum: Project Ideas
Oct 22nd, 2007, 4:26 PM
|
|
Replies: 17
Views: 844
Re: Need help with school SIS
Not just Ada, any language where having different behaviors between installations and version increments either gives a compiler error, a runtime error, or is considered a bug, instead of a feature.
|
Forum: C++
Oct 22nd, 2007, 11:23 AM
|
|
Replies: 6
Views: 218
|
Forum: Project Ideas
Oct 22nd, 2007, 9:17 AM
|
|
Replies: 17
Views: 844
Re: Need help with school SIS
Right, but usually when you want to make something secure (like a jail cell) you only have to think in 3 dimensions (and we all should know how perilously foolhardy it is to think in only 2!). If...
|
Forum: Project Ideas
Oct 21st, 2007, 12:26 AM
|
|
Replies: 17
Views: 844
Re: Need help with school SIS
Yes, naturally, for something containing information of a sensitive nature, you'll want to use a language where code breaks and suffers from security holes when some flag changes in the interpreter's...
|
Forum: Coder's Corner Lounge
Oct 20th, 2007, 12:33 PM
|
|
Replies: 5
Views: 300
Re: Weird math problem
Convert coordinates to square number by computing the following pseudocode algorithm:
if (coord `mod` 29 >= 4)
then (1 + coord `div` 29)
-- added one because your unholy square numbers...
|
Forum: Project Ideas
Oct 20th, 2007, 10:18 AM
|
|
Replies: 17
Views: 844
|
Forum: Community Announcements and Feedback
Oct 19th, 2007, 9:05 AM
|
|
Replies: 18
Views: 654
Re: Featured Coder
Once a month is too frequent; you'd have twelve featured coders after a year.
|
Forum: Coder's Corner Lounge
Oct 17th, 2007, 10:47 PM
|
|
Replies: 12
Views: 323
Re: Video Editor
I hear Emacs is getting a video editor mode :-). http://1010.co.uk/gneve.html
|
Forum: Coder's Corner Lounge
Oct 17th, 2007, 1:09 PM
|
|
Replies: 2
Views: 173
Re: Logarithmic equation
If you take the log of both sides, you get
log (x ^ (log x)) = log (100 * x)
i.e.
log (x) * log (x) = log (100) + log (x)
Now you have a quadratic equation to solve.
|