View Poll Results: Using a scroll box for code in a programming forum is DUMB

Voters
12. You may not vote on this poll
  • Agree, the new vBulletin code box=very irritating

    4 33.33%
  • Disagree, your code is the distraction, I'm just here to laugh

    8 66.67%

Thread: New vBulletin code box SUCKS!!! VERY MUCH!!!

  1. #1
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300

    Thumbs down New vBulletin code box SUCKS!!! VERY MUCH!!!

    Hopefully there is some new config option so I can put this back to it's former state and wear egg on my face for such an irate post.

    One thing I love(d) about cboard was that when I went to another programming board with the scrolling code box I would think wow, that is really stupid by comparison.

    Now it appears things are going backward here! This is a PROGRAMMING BOARD. When I look at a post, I want to see CODE -- not a bunch of comments, signatures, and avatars with a little box for the...wait a minute...what did that say...code!!!
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  2. #2
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300

    Red face

    I agree and I don't care who knows it!

    I just noticed the thing proportionally adjusts, so in addition to creating a need to scroll EVERY PIECE OF CODE, no matter how small, the ones with huge long horizontal lines will still require scrolling right with the browser window anyway, because the box doesn't have a fixed size or limit.

    From a design standpoint, I would say that is "the worst of both worlds".
    Last edited by MK27; 03-24-2009 at 11:37 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  3. #3
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    Actually, I prefer scrolling textboxes for code...

    Not so keen on the new ads, but then they arent nearly as bad as daniweb, and someone wants to make some money I guess. Daniweb is like ad-spam hell. @ Someone, please dont ever let this board get like that.

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    I prefer it. If I want a better look at the code, I'll select all and paste it into notepad or a better IDE. Large code blocks can distract from the content of the post and in some cases are not even required to give a reasonable response. That's not to say that people shouldn't post any code that they feel is pertinent; I'm just saying that sometimes the responders can better determine what is pertinent or not to a particular query.
    Sent from my iPad®

  5. #5
    Registered User
    Join Date
    Mar 2009
    Posts
    399
    I'm not seeing any scrolling textboxes ...

  6. #6
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    I agree, the ads have got to go. as for the code boxes, let me see what teh fuss is about

    Code:
     
    #include <windows.h>
    /*
    void DrawFrame(HDC hdc){
        HDC hdcMemory;
        hdcMemory = CreateCompatibleDC(hdc);
        //hdc = GetDC( hwnd );
        hbmNoSignal = CreateDIBitmap(hdc , (BITMAPINFOHEADER *)&bufNoSignal[2] , CBM_INIT , &bufNoSignal[54] , (BITMAPINFO *)&bufNoSignal[2] , DIB_RGB_COLORS );
        //ReleaseDC( hwnd , hdc );
        SelectObject(hdcMemory, hbmNoSignal);
        BitBlt(hdc, BMPX, BMPY, bm.bmWidth, bm.bmHeight, hdcMemory, 0, 0, SRCCOPY);
        DeleteDC(hdcMemory);
        }
     
     
    /*
    void fglInitialize(int bufferWidth, int bufferHeight)
    {
     HDC hDC;
     BITMAPINFO bitmapinfo;
     hDC = CreateCompatibleDC(NULL);
     gBufferWidth    = bufferWidth;
     gBufferHeight   = bufferHeight;
     //gViewportWidth  = bufferWidth;
     //gViewportHeight = bufferHeight;
     bitmapinfo.bmiHeader.biSize         = sizeof(BITMAPINFOHEADER);
     bitmapinfo.bmiHeader.biWidth        = bufferWidth;
     bitmapinfo.bmiHeader.biHeight       = -bufferHeight;
     bitmapinfo.bmiHeader.biPlanes       = 1;
     bitmapinfo.bmiHeader.biBitCount     = 24;
     bitmapinfo.bmiHeader.biCompression  = BI_RGB;
     bitmapinfo.bmiHeader.biSizeImage    = 0;
     bitmapinfo.bmiHeader.biClrUsed      = 0;
     bitmapinfo.bmiHeader.biClrImportant = 0;
     gOurBitmap = CreateDIBSection(hDC, &bitmapinfo, DIB_RGB_COLORS, &gFrameBuffer0, 0, 0);
     gPDC       = CreateCompatibleDC(NULL);
     gOld       = SelectObject(gPDC, gOurBitmap);
     DeleteDC(hDC);
    }
    // -----------------------------------------------------------------------------
    // This function is called each frame, and is supposed to draw gFrameBuffer0 to the screen
    void fglSwapBuffers()
    {
     PAINTSTRUCT paintStruct;
     HDC hDC = BeginPaint(GetActiveWindow(), &paintStruct);
     BitBlt(hDC, 0, 0, gBufferWidth, gBufferHeight, gPDC, 0, 0, SRCCOPY);
     EndPaint(GetActiveWindow(), &paintStruct);
    }
    //*/
    I dont notice the scrolling boxes, what are you talkign about?

  7. #7
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    The ads by google were always there. They are just visual, now, rather than basically being text-based. There is only one and it's not particularly intrusive. I feel fully comfortable dealing with the one ad if it saves webmaster some bandwidth cost or forces him to request donations.
    Sent from my iPad®

  8. #8
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    I'm neutral on the scroll bars themselves - but what seems weird is they allow inconsistent size, and don't scroll much - regardless of the code size, if I get scroll bars they only scroll a few characters worth.

    As far the ads - I can't complain. Webmaster keeps the server updated really well - someone's gotta pay for that, and the site's always very responsive.

    edit: I'm betting the scroll bars are a browser-thing, anyway

  9. #9
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    Quote Originally Posted by abachler View Post
    I dont notice the scrolling boxes, what are you talkign about?
    I do not see vertical scroll bar - but I see horizontal scroll bar - and it is better than having all the page extended to the right
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  10. #10
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    well, I keep html code off so that may be why I dont see teh scrollies

  11. #11
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Cool! I like it.
    Now I don't have to burn out my mouse wheel when someone posts 1000 lines of code just to show you the 1 line that's giving them a problem (although in those cases I just click back and don't even bother reading the rest of it).
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  12. #12
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    I can't figure out how to turn HTML off, so I have decided the best thing for me to do is to give up on computers and get a degree in game development.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  13. #13
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    I don't see the scroll bars or the ads.

  14. #14
    Registered User
    Join Date
    Mar 2009
    Location
    the middle of nowhere
    Posts
    11
    i can live with the ads even though they are somewhat annoying.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  2. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 04:28 AM
  3. << !! Posting Code? Read this First !! >>
    By kermi3 in forum Linux Programming
    Replies: 0
    Last Post: 10-14-2002, 01:30 PM