SBO Community Virtual Hackathon (Spring 2019) - Hacking Sessions RRS feed

  • General discussion

  • Small Basic Online (SBO) Community Virtual Hackathon (Spring 2019) will be held thru March 18-31, 2019 UTC.  This thread will be used for the hacking sessions.

    SBO Community Virtual Hackathon

    Even Days (18, 20, 22, 24, 26, 28, 30)

    • Declare Your Project (What to Do)
      - Testing What?
      - Writing Program or Instructions?
      - Why you select it?

    Odd Days (19, 21, 23, 25, 27, 29, 31)

    • Wrap-Up (Share the Result)

    Nonki Takahashi

    • Edited by Nonki Takahashi Wednesday, March 20, 2019 1:10 PM changed from session to sessions
    Sunday, March 17, 2019 4:50 PM

All replies

  • Hello, today is the first day of this hackathon.  I'd like to introduce my first project.

    My first project is testing SBO with a Japanese book "Easy. Fun. Cool.  Programming from Schoolchild / Play with Small Basic!!" written by Dr. Takahiro Yonemura.  Dr. Yonemura is the author of "The Metallic Dragon and I".

    This book has four missions to complete Small Basic programs.  So I will run these programs on SBO.  If I find an issue, I will rewrite a small code to reproduce the issue.  Then report it on GitHub SBO Issues.

    The reason why I select this project is that the book is the newest Small Basic book in Japan and this project will help Japanese kids to learn Small Basic well not only with Small Basic Desktop but also Small Basic Online.


    There is another session for training.  Please visit the thread to know how to join this hackathon. 

    Nonki Takahashi

    Monday, March 18, 2019 12:00 AM
  • Hi.  It becomes one day late, but I'd like to wrap-up my first project.

    I tried to test programs in a book "Easy. Fun. Cool. Programming for Schoolchild / Play with Small Basic!" for SBO1.0.  This book has four missions.  And I could try three missions on SBO 1.0. and found following issues.

    • #44 GraphicsWindow.DrawEllipse fills the ellipse (Edge Browser) - fixed
    • #45 Text basline fits its y coodinate - fixed
    • #46 DBCS in litral causes syntax error - fixed
    • #47 DBCS name causes syntax error - fixed
    • #57 GraphicsWindow.DrawImage doesn't show the image

    And also found following issues (that are not reported yet).  I will report these later.

    • Case sensitive for object / member name such as math
    • Same sub and variable name causes syntax error

    Nonki Takahashi

    Wednesday, March 20, 2019 1:26 PM
  • Sample Code for Small Basic

    Today I'd like to introduce my second project.

    I've been trying to write sample codes for all Small Basic operations / properties / events.  The sample codes are listed in a TechNet Wiki article Small Basic: Sample Code.  I will run existing sample code on SBO 1.0 and also write new sample code and run them as well.


    Do you have any idea for your project to test SBO 1.0?

    Nonki Takahashi

    Wednesday, March 20, 2019 1:36 PM
  • I've no progress about the second project - Sample Code for Small Basic.  So, I'd like to continue trying this project.

    Nonki Takahashi

    Saturday, March 23, 2019 9:34 AM
  • This is the wrap-up for my second project Sample Code for Small Basic.

    I tried following sample codes.

    • If Then ElseIf Else EndIf: PASS
    • For To Step Endfor: FAILED #69
    • While EndWhile: FAILED #69, #70
    • Sub EndSub: PASS
    • Goto: PASS
    • Operators (= + - * / And Or): PASS
    • ImageList: FAILED #72
    • GraphicsWindow KeyDown KeyUp LastKey LastText TextInput: FAILED v0.91 Known Issue 22
    • GraphicsWindow MouseDown MouseMove MouseUp MouseX MouseY: FAILED #73

    And I reported following issues.

    • #69 GraphicsWindow.Title causes syntax error
    • #70 Case sensitive for object/member name
    • #71 Same name of variable and subroutine becomes syntax error
    • #72 ImageList.LoadImage causes syntax error
    • #73 Too may GraphicsWindow.MouseMove events

    My third project will continue Sample Code for Small Basic.  Because there are more sample codes that are not tested on SBO v1.0 yet.  Thanks.

    Nonki Takahashi

    • Edited by Nonki Takahashi Monday, March 25, 2019 7:58 AM removed issue type
    Monday, March 25, 2019 7:53 AM
  • This is the wrap-up for the third project.

    I tried GraphicsWindow (Other Properties / Operations) sample code in this article.  This sample code tests following operations.

    • GraphicsWindow.DrawBoundText()
    • GraphicsWindow.DrawImage()
    • GraphicsWindow.DrawResizedImage()
    • GraphicsWindow.FillEllipse()
    • GraphicsWindow.DrawEllipse()
    • GraphicsWindow.DrawLine()
    • GraphicsWindow.FillRectagle()
    • GraphicsWindow.DrawRectagle()
    • GraphicsWindow.DrawText()
    • GraphicsWindow.FillTriangle()
    • GraphicsWindow.DrawTriangle()
    • GraphicsWindow.GetPixel()
    • GraphicsWindow.SetPixel()
    • GraphicsWindow.Clear()

    And found following issues.

    1. DrawResizedImage stops program. (SBO v0.91#27)
    2. GraphicsWindow.GetPixel() isn't supported. (#74)
    3. CR+LF doesn't work in text output operations such as TextWindow.Write(). (SBO v0.91#23, #25)

    Nonki Takahashi

    • Edited by Nonki Takahashi Sunday, March 31, 2019 6:33 PM added a null liine
    Sunday, March 31, 2019 6:33 PM
  • This is fantastic! Thank you for finding these bugs for us!

    I assume they're all submitted as Issues now on GitHub?

    Thanks again!

    Ed Price, Azure Development Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

    Answer an interesting question? Create a wiki article about it!

    Thursday, April 4, 2019 5:31 PM
  • Ed, yes I submitted following issues on GitHub:

    #44, #45, #46, #47, #57, #69, #70, #71, #72, #73, #74

    And following SBD parity issues were filed here:

    SBO v0.19 Known Issues #22, #25, #27

    Nonki Takahashi

    Monday, April 8, 2019 11:04 AM