Results: What language should be used to discuss algorithms? 

Voters
29 You may not vote on this poll

  • Pseudocode
    16  55.17%
  • PHP
    20.69%
  • C(++)
    31.03%
  • Pascal
    6.90%
  • Other
    17.24%
  • Any well-known language
    27.59%
Multiple Choice Poll.
Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Jul 2001
    Location
    Oslo
    Posts
    1,516
    Rep Power
    15
    There should be a forum for regular expressions containing one post, and it should read: "Are you absolutely sure you need a regular expression?".
    --
    Regards
    André Næss

    Puritanism: The haunting fear that someone, somewhere may be having fun
  2. #17
  3. No Profile Picture
    Canta como rafaé
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Location
    Barcelona
    Posts
    74
    Rep Power
    14
    I had the idea of the algorithm forum because of a trouble that I found in my job.

    I was developing a system to store logos and ringing tones for mobile phones. The problem came when I was asked to convert to only 2 colors (black and transparent) any image that the user uploaded (in True Color, for example).

    Then, searching a lot, I finally found some image dithering techniques which I found very interesting (and useful). And then I thought myself that an algorithms forum would suit for those questions that are not tied to any language.

    Note: the function is only 12 lines in C.

    I didn't post the question (nor the answer) to any forum because I know that in the PHP forum it would be of no interest to those of "please, give me the result of a query".

    It took me to another trouble. Good image resizing. What are bilinear and trilinear filters? And when to use them, before or after the dithering ?

    I think most of us have ever had a similar trouble.
    Thrasher



    'Y se ahogaron los dooos
    No eran duros pa pagar, cuñaaoo !!'
    El vagamundo - El risitas y su cuñao
  4. #18
  5. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Jul 2001
    Location
    Oslo
    Posts
    1,516
    Rep Power
    15
    It sounds like you should pick up a book on image manipulation. Bear in mind though that 12 lines of code in C can still run extremely slow in PHP. I've mentioned this before, but when I implemented the quicksort algorithm in PHP and compared it's running time to the internal sort() routine (which also uses quicksort), the PHP implementation was in the order of 1000 times slower. Have you had a look at imagemagick? http://www.imagemagick.org/ It's available for PHP I think...
    --
    Regards
    André Næss

    Puritanism: The haunting fear that someone, somewhere may be having fun
  6. #19
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    writing algorithms


    Suppose we have a file of n records which are partially sorted as x1 <= x2 <= x3 <= … <= xm, and xm+1 <= ….. <= xn, is it possible to sort the entire file in time O(n) using only a small fixed amount of additional storage?
  8. #20
  9. Lord of Dorkness
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2004
    Location
    Central New York. Texan via Arizona, out of his element!
    Posts
    8,524
    Rep Power
    3314
    If I remember correctly, the Software forum used to be called Software and Algorithms. The last time I visited it (years ago) all the threads were asking for someone to tell them how to do iris recognition software.
    Functionality rules and clarity matters; if you can work a little elegance in there, you're stylin'.
    If you can't spell "u", "ur", and "ne1", why would I hire you? 300 baud modem? Forget I mentioned it.
    DaWei on Pointers Politically Incorrect.
  10. #21
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    7
    Rep Power
    0
    I'v voted for PHP because i have great interest in this language.
    I want to become a PHP Developer.
  12. #22
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    3
    Rep Power
    0
    PHP because it so easy to use.
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo