Search Results - VBForums

Search:

Type: Posts; User: penagate

Page 1 of 13 1 2 3 4

Search: Search took 0.28 seconds.

  1. Replies
    4
    Views
    629

    Re: vbforums.com very slow response

    Right now this site is really very slow, so I benchmarked a few page loads (with browser cache disabled) to try to track down the problem.

    Unfortunately there is no single culprit, but there are a...
  2. Thread: Terrible Code

    by penagate
    Replies
    35
    Views
    815

    Re: Terrible Code

    I'd enjoy that site if it were still just snippets of w.t.f. code with brief commentary. At some point the posts evolved into dramatic, nerdy epics and advertisements. And the blog format with its...
  3. Thread: Terrible Code

    by penagate
    Replies
    35
    Views
    815

    Re: Terrible Code

    I think forums are now a bit passť in general. There is more traffic on structured Q&A sites like Stack Overflow and sites with structured comments like Reddit (vBulletin has a 'threaded' view, but...
  4. Sticky: Re: Contest 8 - Roman Numeral Converter - Discussion Thread

    Are you awarding a winner for each language? If not, on what bases will you compare a solution in language $x to one in language $y?

    Can I submit a solution in an exotic language that you haven't...
  5. Re: Promises, promises...I'm Unloading

    I'm afraid I've no idea about promises (I sometimes make them, but only before breaking them) but one alternative to the beforeunload event is to use the History API:...
  6. Replies
    1,121
    Views
    149,423

    Re: [RESOLVED] artificial intelligence

    Fairly similar...
  7. Re: 7 Things You Didnít Know About Facebook From Mark Zuckerbergís Q&A

    Are you sure they weren't trying to get in touch with each other? :-)
  8. Replies
    12
    Views
    674

    Re: Learning and doing Visual C++

    That book will be written in Objective C. (edit: OK, it might contain some English too.)
    C++, Objective C, and C# are three totally different languages. The only thing they share in common is a...
  9. Thread: penagate

    by penagate
    Replies
    9
    Views
    407

    Re: penagate

    I actually came back to see if anything had changed, and saw my name was still on the list! You just can't get rid of me!
  10. Thread: penagate

    by penagate
    Replies
    9
    Views
    407

    Re: penagate

    As long as there's no milk or sugar, and if there were some buttered scones on offer, I could be tempted.

    Excuse me while I feed the cat.
  11. Re: Problem understanding how an array is initialized

    pi is a PI structure at pcon->argpi[1][0]
    ppi I assume points to argpi[1][4]
    So *ppi = pi is copying the structure at index 0 to index 4.

    The assignment of ppi appears to be here:

    ppi =...
  12. Replies
    3
    Views
    440

    Re: Wide Screens get made with PHP code tags

    hello!

    It's because overflow's set on pre.bbcode_code but the width is not defined on [php] elements.
    On [html] elements, width is constrained to 650px in the element's style attribute (although...
  13. Re: [JavaScript] Loop through each element with the same class name

    Bit late, but in case anyone else is reading this: getElementsByClassName


    var elems = document.getElementsByClassName('myClass');
    for (var i = 0; i < elems.length; ++i)...
  14. Re: Problem understanding how an array is initialized

    The line *ppi=pi does not create a pointer. It is assigning to the address pointed to by ppi.
    Pointers are 'created' using the address-of operator &.
    This might help:

    int numbers[4] =...
  15. Re: How to use transition for multiple div elements?

    I'm not exactly sure what you mean by 'automatically hover'.
    You've defined a hover state on the item, and a hover state on the anchor within it.
    Perhaps you just want to change:

    #item a:hover...
  16. Replies
    2
    Views
    586

    Re: What to load new JS with AJAX calls

    Lots of ways.

    I load source files, and inject them into the HEAD element of the page:

    var script = document.createElement('script');
    script.src = uri;
    script.async = false;...
  17. Replies
    2
    Views
    674

    Re: How do you make animations with HTML5?

    There are a few libraries. I use Velocity, which fast and doesn't require jQuery.
  18. Re: cloning a branch of DOM tree with JavaScript

    Use cloneNode
    To perform a recursive copy (copying all descendants of the node as well), pass a single argument of 'true'.

    var newClone = templateTableRow.cloneNode(true)

    On jQuery, I'd...
  19. Thread: VB6 is DEAD!

    by penagate
    Replies
    702
    Views
    56,827

    Re: VB6 is DEAD!

    spoken like someone who has never written a GUI! :-)
  20. Thread: MartinLiss

    by penagate
    Replies
    60
    Views
    6,557

    Re: MartinLiss

    Nah, he's not invited.
  21. Replies
    3
    Views
    764

    Re: [RESOLVED] Wrong Time

    I think it would make more sense for the server time to be UTC... though the time seems to be correct for me (UTC+11).
  22. Replies
    21
    Views
    53,341

    Re: Installing MySQL Server 5.5 on Windows 7

    That message means that the pdo_mysql library is missing from your PHP installation.

    Check for this line in php.ini:

    ;extension=php_pdo_mysql.dll

    Make sure it's uncommented (remove the...
  23. Re: Installing PHP 5.3 and Apache HTTP Server on Windows 7

    I haven't used PHP on Windows for a long time (since this thread was written, in fact) but I believe PHP 5.5 is built against VC11 — for which, in addition to the runtime linked above, you will...
  24. Replies
    29
    Views
    1,238

    Re: Need A Team of Developers...

    :lol:

    Deja vu...
  25. Replies
    192
    Views
    18,205

    Re: Do your part for VB6!!

    Not my choice — the Flash Builder IDE is written in Java. I was just pointing out that 100MB of RAM is quite reasonable for an IDE.
  26. Replies
    192
    Views
    18,205

    Re: Do your part for VB6!!

    I weep for you...

    102623

    That's Flash Builder 4.6 (an Eclipse-based IDE) running on Windows 7.
    The top three processes in that list are all Java VMs.

    Visual Studio is not a memory hog by...
  27. Replies
    7
    Views
    1,644

    Re: MySQL 2nd reading speed change

    Late to the party, but still: If you're running MySQL on Linux, you get caching for free, because Linux will cache disk pages in RAM.

    It sounds like there is something badly wrong with your...
  28. Re: Returning specific information with ->ID, ->Account, ->Mail, ->Skype etc...

    I'm not sure exactly what you're looking for.
    Perhaps it's the 'magic' function __get, which lets emulate members without explicitly defining them:


    <?php
    class User
    {
    ...
  29. Thread: why encoded?

    by penagate
    Replies
    8
    Views
    1,203

    Re: why encoded?

    Actually, both GET and POST requests tend to be encoded in the same format (key1=val1&key2=val2, etc., with URL encoding applied):

    100687

    The distinction is purely semantic... with the...
  30. Replies
    37
    Views
    2,007

    Re: Reputation Gems or Lights?

    They are PNG images.
  31. Replies
    205
    Views
    13,266

    Re: The State of VBForums

    I miss nostalgia.
  32. Replies
    4
    Views
    1,377

    Re: Find the last non zero value in an array

    No need to reverse the array...


    function lastNonZero($list)
    {
    for ($i = count($list) - 1; i >= 0; --i)
    if ($list[$i] !== 0)
    return $list[$i];
    return null;
    }
  33. Replies
    18
    Views
    1,862

    Re: how to get job in .net

    That's a ringing endorsement if there ever was one! :lol:
  34. Replies
    18
    Views
    1,862

    Re: how to get job in .net

    That's a ringing endorsement if there ever was one! :lol:
  35. Re: How to reference a element using code-behind?

    Thread moved.
  36. Replies
    5
    Views
    1,344

    Re: Very slow running code....

    You need to import $db1 in the functions:

    global $db1;

    The code you have should produce error messages. Do you have them turned off?

    error_reporting(E_ALL);

    I'm at work now, but I'll...
  37. Replies
    5
    Views
    1,344

    Re: Very slow running code....

    Hard to say exactly which part is taking the most time.

    Some things I would change:
    — It looks like you're opening multiple connections to the database. You should open the connection once, at...
  38. Re: Installing PHP 5.3 and Apache HTTP Server on Windows 7

    Good tips. I'll update the guide soon.
  39. Thread: PHP Thread

    by penagate
    Replies
    1
    Views
    838

    Re: PHP Thread

    http://php.net/set_time_limit

    and

    http://php.net/setcookie
  40. Replies
    22
    Views
    2,490

    Re: Ideas For NES Emulator Name

    NESquick
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.