? Should the size section of a project's info removed? (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Should the size section of a project's info removed?

  • #1 ✎ 434 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website While this may sound stupid, hear me out. With SBAPI's ability to report the exact size of any project, the size section is basically unnecessary. I feel like it should be either be removed, or replaced with a script that gives the exact size of a program from SBAPI (abbreviated, as well). EDIT: Request for change title to "Should the size section of a project's info be removed?" in order to fix typo. Posted Edited by HTV04
  • #2 ✎ 1059 snail_ QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Helper Received for being very helpful around SmileBASIC Source Achievements Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements no. sbapi could fail at any moment and is not an official component of sbs Posted
  • #3 ✎ 711 IAmRalsei Forum Leader Hidden Achievements First Year My account is over 1 year old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength
    no. sbapi could fail at any moment and is not an official component of sbs
    couldn't have said it better myself.
    Posted
  • #4 ✎ 434 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website
    no. sbapi could fail at any moment and is not an official component of sbs
    couldn't have said it better myself.
    That's true. Maybe it could be implemented like this: By default SBAPI is used to show the size of the project. If SBAPI is unavailable, then the manual size is used instead. It could also be implemented like this: When creating a page for your project, SBAPI looks at the key of your project and determines the size. The size is then saved to the site and isn't updated until the key is updated. If none of these options are good, I feel like at least an option for the latter implementation would be a good idea, or a SiteJS.
    Posted
  • #5 ✎ 225 banana RNG Hidden Easter Eggs Third Year My account is over 3 years old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength but why tho lemme stick this beautiful quote
    sbapi is not an official component of sbs
    we all agree sba pi is a great api but its not official SBS approved stuff™ so its better to not lock users to use it
    Posted
  • #6 ✎ 434 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website
    but why tho lemme stick this beautiful quote
    sbapi is not an official component of sbs
    we all agree sba pi is a great api but its not official SBS approved stuff™ so its better to not lock users to use it
    True I guess I was wondering if there would be a way to manually implement it though like through SiteJS or something.
    Posted
  • #7 ✎ 225 banana RNG Hidden Easter Eggs Third Year My account is over 3 years old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength There is. Retrieve size through SBAPI and then modify the HTML element containing the size. Then, you could use SBS server user-variables to store which sites have been already queried. Posted
  • #8 ✎ 434 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website
    There is. Retrieve size through SBAPI and then modify the HTML element containing the size. Then, you could use SBS server user-variables to store which sites have been already queried.
    How though
    Posted
  • #9 ✎ 1834 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself The size field was pretty pointless to begin with though Pretty sure it only exists because it was a thing on PTC wikia where the file size mattered since you had to scan QR codes Posted
  • #10 ✎ 1133 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Second Year My account is over 2 years old Website Forum Leader Hidden Achievements I would argue that it matters for people like me; low on SD card space and don't have the money to get a new one. But SB programs don't usually take a ton of space, and I still have 1000 blocks. (125 MB) Posted Edited by random_god
  • #11 ✎ 434 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Taboo I didn't change my avatar for 180 days Website Second Year My account is over 2 years old Website
    The size field was pretty pointless to begin with though Pretty sure it only exists because it was a thing on PTC wikia where the file size mattered since you had to scan QR codes
    I guess in that sense it should be removed altogether.
    Posted
  • #12 ✎ 1133 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Second Year My account is over 2 years old Website Forum Leader Hidden Achievements WHOA WHAT I actually have 10000 blocks free (1250 MB) Posted
  • #13 ✎ 39 Plancake Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Reading I like to read books! Hobbies ...I managed to build up 643MB of files. Also, I think the size field is helpful when I want to know how long a project will take to download (so I can do other stuff in the meantime) Posted
  • #14 ✎ 1075 randomous Owner Robot Hidden Easter Eggs Second Year My account is over 2 years old Website Drawing I like to draw! Hobbies Hmm... this is an interesting point. I'll think about it for the new website (if I ever finish it). Posted