Discuss Scratch

MRVR_studios
Scratcher
30 posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

Thanks, I can get started with the SDK for StorageOS

Last edited by MRVR_studios (May 5, 2023 23:14:59)

StorageOS
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

YC72909 wrote:

StorageOS wrote:

-snip-
btw there is no last item of list anymore so:
(item (length of (list :: list)) of [list v] :: list)

You just have to copy ‘last’ from some text field, and paste it in.

EDIT: Broken quote, fixed now.

Last edited by StorageOS (May 6, 2023 02:17:52)

StorageOS
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

Quick update:
StorageOS will include its own programming language, so you will be able to use that to make API calls as well. More updates on that later. Also, the introduction of the API for apps will be changed starting with StorageOS v1.23.6. The studio can be found here.
YC72909
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

StorageOS wrote:

YC72909 wrote:

StorageOS wrote:

-snip-
btw there is no last item of list anymore so:
(item (length of (list :: list)) of [list v] :: list)

You just have to copy ‘last’ from some text field, and paste it in.

EDIT: Broken quote, fixed now.
Oh ok
YC72909
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

Holder_Of_Life wrote:

YC72909 wrote:

StorageOS wrote:

!! API Documentation !!

API messages (broadcasts) can be sent for each of these:

broadcast [os.home v] // return to home screen
broadcast [app.open.* v] // open the specified app
broadcast [app.camera v] // access the camera app
broadcast [os.name v] // access the username of the signed-in user (e.x. (username))
broadcast [os.uname v] // access the OS username
broadcast [os.version v] // OS version as semicolon-separated string

and will be received in the ‘API RESULT’ list.

Example:
when I receive [app.open.pen v] // when opening the pen app
broadcast [os.uname v] and wait // get OS username
set [username v] to (item [last] of [API RESULT v]) // new results get appended to the end, get the newest result
forever
say (join [Hello, ] (join (username::variable) [!]))
if <mouse down> then
pen down
else
pen up
end
go to [mouse pointer v]
if <key [space v] pressed> then
broadcast [os.home v]
stop [this script v]
end
end
btw there is no last item of list anymore so:
(item (length of (list :: list)) of [list v] :: list)[/quote]
I so confused
lol ya gotta know coding…

Last edited by YC72909 (May 6, 2023 04:11:21)

Holder_Of_Life
Scratcher
60 posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

YC72909 wrote:

Holder_Of_Life wrote:

YC72909 wrote:

StorageOS wrote:

!! API Documentation !!

API messages (broadcasts) can be sent for each of these:

broadcast [os.home v] // return to home screen
broadcast [app.open.* v] // open the specified app
broadcast [app.camera v] // access the camera app
broadcast [os.name v] // access the username of the signed-in user (e.x. (username))
broadcast [os.uname v] // access the OS username
broadcast [os.version v] // OS version as semicolon-separated string

and will be received in the ‘API RESULT’ list.

Example:
when I receive [app.open.pen v] // when opening the pen app
broadcast [os.uname v] and wait // get OS username
set [username v] to (item [last] of [API RESULT v]) // new results get appended to the end, get the newest result
forever
say (join [Hello, ] (join (username::variable) [!]))
if <mouse down> then
pen down
else
pen up
end
go to [mouse pointer v]
if <key [space v] pressed> then
broadcast [os.home v]
stop [this script v]
end
end
btw there is no last item of list anymore so:
(item (length of (list :: list)) of [list v] :: list)[/quote]
I so confused
lol ya gotta know coding…

Ik I am just don't think we'll when I see that NY brain starts spinning around in a hundred directions
YC72909
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

YC72909 wrote:

Holder_Of_Life wrote:

YC72909 wrote:

StorageOS wrote:

!! API Documentation !!

API messages (broadcasts) can be sent for each of these:

broadcast [os.home v] // return to home screen
broadcast [app.open.* v] // open the specified app
broadcast [app.camera v] // access the camera app
broadcast [os.name v] // access the username of the signed-in user (e.x. (username))
broadcast [os.uname v] // access the OS username
broadcast [os.version v] // OS version as semicolon-separated string

and will be received in the ‘API RESULT’ list.

Example:
when I receive [app.open.pen v] // when opening the pen app
broadcast [os.uname v] and wait // get OS username
set [username v] to (item [last] of [API RESULT v]) // new results get appended to the end, get the newest result
forever
say (join [Hello, ] (join (username::variable) [!]))
if <mouse down> then
pen down
else
pen up
end
go to [mouse pointer v]
if <key [space v] pressed> then
broadcast [os.home v]
stop [this script v]
end
end
btw there is no last item of list anymore so:
(item (length of (list :: list)) of [list v] :: list)[/quote]
I so confused
lol ya gotta know coding…

Ik I am just don't think we'll when I see that NY brain starts spinning around in a hundred directions
bruh lol
banana3333333333
Scratcher
500+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

Username / nickname: banana3333333333/snowie
Job: Co-owner
Have you read and agree to the rules stated? Yes
Activity: 5/10
Experience: 9/10

I love making OSes. Operating systems have always fascinated me. I also have some pretty good leadership schools, and coding skills. Since I was 5, and first on Scratch, I've been coding a lot.

I will help by managing the project, and helping out with the hard parts while coding.

Other: I'm pretty good at vector art, graphic design, and music creation.
Holder_Of_Life
Scratcher
60 posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

banana3333333333 wrote:

Username / nickname: banana3333333333/snowie
Job: Co-owner
Have you read and agree to the rules stated? Yes
Activity: 5/10
Experience: 9/10

I love making OSes. Operating systems have always fascinated me. I also have some pretty good leadership schools, and coding skills. Since I was 5, and first on Scratch, I've been coding a lot.

I will help by managing the project, and helping out with the hard parts while coding.

Other: I'm pretty good at vector art, graphic design, and music creation.

We alr have a co owner
YC72909
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

banana3333333333 wrote:

Username / nickname: banana3333333333/snowie
Job: Co-owner
Have you read and agree to the rules stated? Yes
Activity: 5/10
Experience: 9/10

I love making OSes. Operating systems have always fascinated me. I also have some pretty good leadership schools, and coding skills. Since I was 5, and first on Scratch, I've been coding a lot.

I will help by managing the project, and helping out with the hard parts while coding.

Other: I'm pretty good at vector art, graphic design, and music creation.
Hello, the front page just hasn't been updated, but I'm the co-owner. Would you like another job position in this OS collaboration?
banana3333333333
Scratcher
500+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

YC72909 wrote:

banana3333333333 wrote:

Username / nickname: banana3333333333/snowie
Job: Co-owner
Have you read and agree to the rules stated? Yes
Activity: 5/10
Experience: 9/10

I love making OSes. Operating systems have always fascinated me. I also have some pretty good leadership schools, and coding skills. Since I was 5, and first on Scratch, I've been coding a lot.

I will help by managing the project, and helping out with the hard parts while coding.

Other: I'm pretty good at vector art, graphic design, and music creation.
Hello, the front page just hasn't been updated, but I'm the co-owner. Would you like another job position in this OS collaboration?
is just a coder ok?
YC72909_alt
Scratcher
9 posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

banana3333333333 wrote:

YC72909 wrote:

banana3333333333 wrote:

Username / nickname: banana3333333333/snowie
Job: Co-owner
Have you read and agree to the rules stated? Yes
Activity: 5/10
Experience: 9/10

I love making OSes. Operating systems have always fascinated me. I also have some pretty good leadership schools, and coding skills. Since I was 5, and first on Scratch, I've been coding a lot.

I will help by managing the project, and helping out with the hard parts while coding.

Other: I'm pretty good at vector art, graphic design, and music creation.
Hello, the front page just hasn't been updated, but I'm the co-owner. Would you like another job position in this OS collaboration?
is just a coder ok?
Ok, good, you're accepted! Make sure to follow this forum and join the StorageOS studio. The invite will be sent shortly.
YC72909
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

Hello,

Any progress, questions/concerns, ideas, or anything new?
Does anyone want/need a job?
Please note that for all testers/musicians, no jobs are available for these positions currently.

Assigned people:

@hxckerdoge
@CyberOverload
@MRVR_studios
@TheTeacherOfLogos

Thanks,
YC72909, co-owner

Last edited by YC72909 (May 9, 2023 04:08:44)

StorageOS
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

!! Another Big Update !!

Starting with StorageOS v1.23.6, along with the new API is the change of variables. OS variables (volume, saved files, etc.) are stored in list-memory, rather than actual variables. OS-dependent variables (app variables, clone IDs, etc.) will use variables though.

Any questions or concerns, go to @StorageOS's profile and ask there.

Thank you, any sorry for any inconveniences.

EDIT: Update on the API: If there was some sort of error (bad input, etc.), the result is “Error”, or if StorageOS senses the API trying to hurt the OS in some way (make it crash, etc.), it will return “Fatal Error” and will produce an error screen.

Last edited by StorageOS (May 9, 2023 04:31:46)

YC72909
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

YC72909
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

StorageOS wrote:

!! Another Big Update !!

Starting with StorageOS v1.23.6, along with the new API is the change of variables. OS variables (volume, saved files, etc.) are stored in list-memory, rather than actual variables. OS-dependent variables (app variables, clone IDs, etc.) will use variables though.

Any questions or concerns, go to @StorageOS's profile and ask there.

Thank you, any sorry for any inconveniences.

EDIT: Update on the API: If there was some sort of error (bad input, etc.), the result is “Error”, or if StorageOS senses the API trying to hurt the OS in some way (make it crash, etc.), it will return “Fatal Error” and will produce an error screen.
Understood, makes sense, I mean yk “Storage” so…





















yeah
Holder_Of_Life
Scratcher
60 posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

StorageOS wrote:

!! Another Big Update !!

Starting with StorageOS v1.23.6, along with the new API is the change of variables. OS variables (volume, saved files, etc.) are stored in list-memory, rather than actual variables. OS-dependent variables (app variables, clone IDs, etc.) will use variables though.

Any questions or concerns, go to @StorageOS's profile and ask there.

Thank you, any sorry for any inconveniences.

EDIT: Update on the API: If there was some sort of error (bad input, etc.), the result is “Error”, or if StorageOS senses the API trying to hurt the OS in some way (make it crash, etc.), it will return “Fatal Error” and will produce an error screen.

I assume now impact on designers?
CyberOverload
Scratcher
36 posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

StorageOS wrote:

!! Another Big Update !!

Starting with StorageOS v1.23.6, along with the new API is the change of variables. OS variables (volume, saved files, etc.) are stored in list-memory, rather than actual variables. OS-dependent variables (app variables, clone IDs, etc.) will use variables though.

Any questions or concerns, go to @StorageOS's profile and ask there.

Thank you, any sorry for any inconveniences.

EDIT: Update on the API: If there was some sort of error (bad input, etc.), the result is “Error”, or if StorageOS senses the API trying to hurt the OS in some way (make it crash, etc.), it will return “Fatal Error” and will produce an error screen.

Genius. Would have never thought of using lists as variables. Maybe I should start doing that. (In other projects)
StorageOS
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

Holder_Of_Life wrote:

StorageOS wrote:

!! Another Big Update !!

Starting with StorageOS v1.23.6, along with the new API is the change of variables. OS variables (volume, saved files, etc.) are stored in list-memory, rather than actual variables. OS-dependent variables (app variables, clone IDs, etc.) will use variables though.

Any questions or concerns, go to @StorageOS's profile and ask there.

Thank you, any sorry for any inconveniences.

EDIT: Update on the API: If there was some sort of error (bad input, etc.), the result is “Error”, or if StorageOS senses the API trying to hurt the OS in some way (make it crash, etc.), it will return “Fatal Error” and will produce an error screen.

I assume now impact on designers?
Again, not hugely.

CyberOverload wrote:

StorageOS wrote:

!! Another Big Update !!

Starting with StorageOS v1.23.6, along with the new API is the change of variables. OS variables (volume, saved files, etc.) are stored in list-memory, rather than actual variables. OS-dependent variables (app variables, clone IDs, etc.) will use variables though.

Any questions or concerns, go to @StorageOS's profile and ask there.

Thank you, any sorry for any inconveniences.

EDIT: Update on the API: If there was some sort of error (bad input, etc.), the result is “Error”, or if StorageOS senses the API trying to hurt the OS in some way (make it crash, etc.), it will return “Fatal Error” and will produce an error screen.

Genius. Would have never thought of using lists as variables. Maybe I should start doing that. (In other projects)
Thanks. I got the idea from someone (I forget who it was though), and thought it would be a good idea to do that to save storage space and make the code clearer.
YC72909
Scratcher
100+ posts

StorageOS - An OS Made to be Better, in Every Way! - v1.23.8 SOON!

CyberOverload wrote:

StorageOS wrote:

!! Another Big Update !!

Starting with StorageOS v1.23.6, along with the new API is the change of variables. OS variables (volume, saved files, etc.) are stored in list-memory, rather than actual variables. OS-dependent variables (app variables, clone IDs, etc.) will use variables though.

Any questions or concerns, go to @StorageOS's profile and ask there.

Thank you, any sorry for any inconveniences.

EDIT: Update on the API: If there was some sort of error (bad input, etc.), the result is “Error”, or if StorageOS senses the API trying to hurt the OS in some way (make it crash, etc.), it will return “Fatal Error” and will produce an error screen.

Genius. Would have never thought of using lists as variables. Maybe I should start doing that. (In other projects)
lol yeah

Powered by DjangoBB