Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: SamReidHughes
Forum: Coder's Corner Lounge Nov 13th, 2007, 9:08 PM
Replies: 33
Views: 1,122
Posted By SamReidHughes
Re: What is the best designed website you have seen?

http://drudgereport.com/

Its design is a work of genius.
Forum: Coder's Corner Lounge Oct 30th, 2007, 10:30 AM
Replies: 5
Views: 231
Posted By SamReidHughes
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
Posted By SamReidHughes
Re: Looking for Java Programmers

Why is this in the "Paid Job Offers" forum?
Forum: Other Programming Languages Oct 26th, 2007, 10:15 PM
Replies: 17
Views: 813
Posted By SamReidHughes
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
Posted By SamReidHughes
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
Posted By SamReidHughes
Re: Forum backend in python - Can I please have the backend for a forum?

Homework assignment.

I can tell from the pixels and from having seen quite a few assignments in my time :rolleyes:
Forum: C++ Oct 22nd, 2007, 8:11 PM
Replies: 6
Views: 262
Posted By SamReidHughes
Re: Help with fstream to a text file

Command? There's no command. You have to write it yourself.

What format are the text files in?
Forum: C++ Oct 22nd, 2007, 7:44 PM
Replies: 6
Views: 262
Posted By SamReidHughes
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
Posted By SamReidHughes
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
Posted By SamReidHughes
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
Posted By SamReidHughes
Re: Frequently accessing structure member VS. create a copy variable

There's one way I can think of in which, if the struct is a local copy, and not a reference, you might still benefit from keeping an extra copy of some variables. Suppose your struct has some...
Forum: Project Ideas Oct 22nd, 2007, 9:17 AM
Replies: 17
Views: 844
Posted By SamReidHughes
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
Posted By SamReidHughes
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
Posted By SamReidHughes
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
Posted By SamReidHughes
Re: Need help with school SIS

And it needs to be secure. Don't forget about that.
Forum: Community Announcements and Feedback Oct 19th, 2007, 9:05 AM
Replies: 18
Views: 654
Posted By SamReidHughes
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
Posted By SamReidHughes
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
Posted By SamReidHughes
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.
Showing results 1 to 18 of 18

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:37 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC