Welcome, Guest. Please login or register.
September 03, 2010, 01:17:37 AM
Home Help Search Login Register
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base

Qbasicnews.com  |  QbasicNews.Com  |  QB/FB News  |  Topic: QB Express Celebrates One Year: Issue #12 Released « previous next »
Pages: [1] 2 3 4 Print
Author Topic: QB Express Celebrates One Year: Issue #12 Released  (Read 11818 times)
Pete
Ancient QBer
****
Posts: 439



WWW
QB Express Celebrates One Year: Issue #12 Released
« on: July 20, 2005, 07:09:00 AM »

QB Express Issue #12 has been released, which marks the magazine's one year anniversary!

In this special issue, we look back over the past year of QB Express and give special recognition to QB Express's contributors. Adigun A. Polack brings us two retrospective articles on QB Express's first twelve issues, and I also share my thoughts on QB Express's first year.

Other articles include reviews of The Griffon Legend, Pixel Snake Gem Hunt and Trek, "The Evolution of GUIs" by MystikShadows, QB GUI news by Jacob Palm, two articles about the QBasic.com forum community and an interview with Nekrophidius. Tutorials include Part 6 of Na_th_an's I.F. series, Music Composition Pt. 3 by Matt2Jones, dumbledore's second FB WX-C tutorial, "Useful QB Algorithms" by Moneo, a tutorial on Database Design by MystikShadows, and "Coding a Parallax Scrolling Platformer Chapter #2" by Na_th_an. This is the largest issue of QB Express ever, weighing in at nearly 150 pages!

Check it out: QB Express Issue #12
Logged

Rattrapmax6
__/--\__
*****
Posts: 2577



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #1 on: July 20, 2005, 11:53:16 AM »

Great job again, Pete! I just skimmed thru, but I will be back for some more..  :wink:
Logged

Kevin (x.t.r.GRAPHICS)

Zero_Divide
Member
*
Posts: 64



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #2 on: July 20, 2005, 02:19:49 PM »

Sorry maybe it is only my problem. but i've got some large gray bars on the page right upon the text so i can't read most of information.
I use  Firefox
P.S.  after saving  page on my HDD everything went good (but without images also) so i think there is a problem with your css table
Logged

url=http://zerodivide.h15.ru/cyclone.html]Cyclone v2.5.2 GUI For QBasic 4.5/7.1[/url]
Explorer For DOS
Z!re
*/-\*
*****
Posts: 4599



QB Express Celebrates One Year: Issue #12 Released
« Reply #3 on: July 20, 2005, 03:21:44 PM »

The grey boxes are a known problem.. they haunt QBE Tongue
Logged
Antoni Gual
Na_th_an
*****
Posts: 1433



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #4 on: July 20, 2005, 05:20:30 PM »

I almost never have grey boxes (I use a56K modem) and they  disappear when I hit reload. It's not a problem with QBE's css, as they can appear or not depending on no one knows what.

Is a thing you have to live with.. Firefox gives grey boxes, and IE6  freezes...
Logged

Antoni
Deleter
Na_th_an
*****
Posts: 1292



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #5 on: July 20, 2005, 07:07:04 PM »

I use firefox...and I just have to refresh/reload the page a couple of times and it works. And one time, I pressed the middle mouse button to scroll, and the boxes all disappeared and the code appeared.... Smiley
Logged

Pete
Ancient QBer
****
Posts: 439



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #6 on: July 20, 2005, 07:19:50 PM »

A middle mouse button click works almost 100% of the time for me.  Just scroll-wheel-click in the margin on either side of the gray box and it almost always disappears.

Anyway, Antoni's right about it not being a CSS error.  The gray boxes appear at random.  Sometimes they appear, sometimes they don't.  I've been told the problem is a documented bug in the Gecko rendering engine of FireFox.  

Of course, if someone figures out an alternate method of making pre-formatted code boxes that don't screw up the layout, we'll all be eternally grateful.  A lot of people have tried, but nobody's come up with a better solution yet.
Logged

Adigun A. Polack
Ancient Guru
****
Posts: 691



WWW
I would like to give my say on this one.
« Reply #7 on: July 21, 2005, 12:44:02 AM »

To Pete and all contibutors of QB Express:

Up front, I want to *truly* congratulate all of you for making the first 12 issues of QB Express the absolute best there ever is in FreeBASIC/QuickBASIC magazine publication history, and for that, my hats are totally off to all of you!!!  d=Cheesy=b !

One concern though, Pete: in the QB/FB Site of the Year announcement, there was a problem in the way that I wrote it when it was published for this 12th issue of your mag.  It is not your fault, however.  Rather, the little clickable text problem was in the way that I tried setting up the linked text and bolding it simultaneously!  Silly me there ( :oops: ! ).  Other than that though, man, a lot of the articles and text styles within them ran perfectly!!  :cool:

All in all, congrats on the first  phenomenally successful year of QB Express, and be seeing you all real soon!!!  :king:



MY BEST AND WONDERFUL THREE CHEERS TONIGHT,


Adigun Azikiwe Polack
One of the Founders of “Aura Flow” ::: Continuing Developer of “Frantic Journey
Current Developer of “Star Angelic Slugger” ::: Webmaster of the “AAP Official Projects Squad
Original Creator of the “The New FreeBASIC 8-Bit Palette Machine



P.S.  I *sincerely* hope all of you have enjoyed such wonderful retrospectives that I have just presented about this mag as you were reading this very issue, too.  Wink
Logged

url=http://dhost.hopto.org/aapproj/][/url]
Your *official* home of the FreeBasic GFX Demo Central, now holding over 150 FB graphics demos so far!!!  Cheesy !
rpgfan3233
Ancient Guru
****
Posts: 617



QB Express Celebrates One Year: Issue #12 Released
« Reply #8 on: July 21, 2005, 01:40:13 AM »

Opening up the sidebar works for me, whether it is as small or large as it can get. The ColorZilla Firefox extension doesn't pick up on the grey color, so this further proves that it isn't the CSS (for those who were still in doubt).

Edit: I should've checked out the entire page. . . I'm not sure why this happens, but I'll experiment with it. . .

Edit (deja-vu?): It's the #bigcode. . . The "overflow: auto" is causing the problem. I don't know why it's even in there. In IE6 (WinME), no overflow is being rendered because there is no height set, thus there is no need for it.
Logged

974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Agamemnus
x/ \z
*****
Posts: 3490



QB Express Celebrates One Year: Issue #12 Released
« Reply #9 on: July 21, 2005, 02:14:33 AM »

Woot, I got mentioned in it, although I have completely forgotten talking to Nek about it. (the second mention of me, that is. This must have been way more than 2 years ago in an "offhand" statement.. imagine what politicians must deal with)
Logged

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
na_th_an
*/-\*
*****
Posts: 8238



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #10 on: July 21, 2005, 08:32:21 AM »

There's no indentation in IE.

I would do this, which could work in all browsers: Create a style for div which uses a monospaced font, and the overflow = auto and stuff, and then write a little parser in fB which turns spaces into &nbsp;'s and that adds a <br> at the end of each line. That way you won't need <pre> and it will get rendered correctly in both IE and FF (gray boxes aside, which are after all a bug which will be fixed anytime soon).

The code is still usable as copying from the browser then pasting to notepad or whatever gives spaces and line feeds correctly.

I'm checking it out with FF right now from a Linux box and the code boxes look ugly 'cause it's using 8 spaces per tab and I used 4, for example, thus the indentation gets garbled. A simple program which substitutes spaces by &nbsp;'s and tabs by &nbsp;&nbsp;&nbsp;&nbsp; would work nice, I think. Most people use 3 or 4 spaces for indenting. Also, using this smaller tab jumps would solve the issue of hyper-horizontal code snippets Tongue

This seems to work. The CSS bit is something in the lines of:

Code:
#codebox {
overflow: auto;
font-family: monospace, courier;
font-size: 12px;
background-color: #ccccff;
color: black;
border: 1px solid black;
margin-left: auto;
margin-right: auto;
width: 600px;
}


And the <div> containing the code snippet looks something like this:

Code:
<div id='codebox'>For&nbsp;i&nbsp;=&nbsp;0&nbsp;To&nbsp;255<br>
&nbsp;&nbsp;&nbsp;&nbsp;Get&nbsp;#1,&nbsp;,&nbsp;myDatum<br>
&nbsp;&nbsp;&nbsp;&nbsp;myDatum&nbsp;=&nbsp;myDatum&nbsp;*&nbsp;2<br>
&nbsp;&nbsp;&nbsp;&nbsp;For&nbsp;j&nbsp;=&nbsp;0&nbsp;To&nbsp;127<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print&nbsp;averageData&nbsp;(myDatum,&nbsp;j)<br>
Next&nbsp;j&nbsp;</div>


It's ugly but it works. And the fB program to "translate" spaces to &nbsp;'s, tabs to 4*&nbsp;'s and linefeeds as <br>'s is quite easy to code Wink
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Pete
Ancient QBer
****
Posts: 439



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #11 on: July 21, 2005, 10:54:29 AM »

Adigun: I fixed the formatting problem.  Thanks for letting me know!


rpgfan: The overflow: auto is so that code boxes can scroll to the right if the width of the code exceeds the box.  This is necessary because otherwise the layout would get messed up.


Na_th_an: I appreciate your suggestion, man.  You're right, it would fix the problem.  However, I'm not sure I want to implement it because of how much manual labor it would entail... copying and pasting dozens of code blocks every issue.  I think there's got to be an easier way.

I actually tried using this solution in the past, before I started using the overflow: auto method.  (I quit doing it because it took way too long.)

Look at this code box from some of the earlier issues... DarkDread's tutorial from Issue #3 is a good example:

Code:

<blockquote class="code"><font face="Courier" size="-1">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ELSEIF PlayerDir$ = "E" THEN<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IF Map%(PlayerX% + 3, PlayerY% - 1) > 9 AND Map%(PlayerX% + 2, PlayerY% - 1) < 10 THEN<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PutSprite "T3.BSG", Cell3LeftX, CellY, 0<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ELSEIF Map%(PlayerX% + 2, PlayerY% - 1) > 9 THEN<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PutSprite "LW3.BSG", Cell3LeftX, CellY, 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END IF<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IF Map%(PlayerX% + 2, PlayerY% - 1) > 9 AND Map%(PlayerX% + 1, PlayerY% - 1) < 10 THEN<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PutSprite "T2.BSG", Cell2LeftX, CellY, 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ELSEIF Map%(PlayerX% + 1, PlayerY% - 1) > 9 THEN<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PutSprite "LW2.BSG", Cell2LeftX, CellY, 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END IF<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IF Map%(PlayerX% + 1, PlayerY% - 1) > 9 AND Map%(PlayerX%, PlayerY% - 1) < 10 THEN<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PutSprite "T1.BSG", Cell1LeftX, CellY, 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ELSEIF Map%(PlayerX%, PlayerY% - 1) > 9 THEN<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PutSprite "LW1.BSG", Cell1LeftX, CellY, 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END IF<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IF Map%(PlayerX% + 3, PlayerY% + 1) > 9 AND Map%(PlayerX% + 2, PlayerY% + 1) < 10 THEN<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PutSprite "T3.BSG", Cell3RightX, CellY, 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ELSEIF Map%(PlayerX% + 2, PlayerY% + 1) > 9 THEN<br>


...and so on.


I'm not trying to blow off your solution, I just can't justify all the time it would take.  (Call me lazy. Tongue)

My theory at the moment is that FireFox has some kind of conflict with having a <div> tag (with overflow: auto) within a <pre> tag... but when I reverse the order of these tags, vertical scroll bars begin to appear (and we don't want those, only horizontal ones).

There's got to be some simple CSS fix that will alleviate all of our problems, but I haven't found it yet.
Logged

DrV
Na_th_an
*****
Posts: 1553



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #12 on: July 21, 2005, 11:10:38 AM »

I've noticed that www.ubuntuguide.org has the same problems (gray boxes)... we should get together a group of angry people with pitchforks and march on the Firefox headquarters.  Wink  I think we have enough reproducible examples to show that there is a bug in the rendering engine.
Logged
dumbledore
Ancient Guru
****
Posts: 520



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #13 on: July 21, 2005, 12:25:21 PM »

i noticed another bug too  :evil:
you never closed the <a> at <a name="fbprinting">, meaning that for the first part of my article, the text background changes color when you hover your cursor over it  Shocked
Logged

ttp://m0n573r.afraid.org/
Quote from: "HexDude"
quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
na_th_an
*/-\*
*****
Posts: 8238



WWW
QB Express Celebrates One Year: Issue #12 Released
« Reply #14 on: July 21, 2005, 12:27:29 PM »

To me the #1 problem is that code boxes don't have indentation in IE. Problem #2 that in FF the tab size is too big (8 chars).

The gray boxes isn't your fault, so I'd rather wait unti the bug is fixed. After all, you can always press the middle button.
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Pages: [1] 2 3 4 Print 
Qbasicnews.com  |  QbasicNews.Com  |  QB/FB News  |  Topic: QB Express Celebrates One Year: Issue #12 Released « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
SMF Theme © Gaia, Hosting by Employers Job Post
Valid XHTML 1.0! Valid CSS!