of     2   
chevron_rightchevron_rightchevron_right

M4LLARD
#182939840Wednesday, February 03, 2016 6:59 PM GMT

Being a big VSauce fan I am always bewildered by the information that Michael, Kevin and Jake bring me, and I began to wonder, what if I could bring a SuperTask, onto Roblox. Now it's clear why the idea is absolutely preposterous, and I was quite silly to think it would be possible, but I'd like to pass on what I've learnt, and explain some programming logic to the Scripters' Sub-Forum. If you're wondering what a supertask is, "a countably infinite sequence of operations that occur sequentially within a finite interval of time" This is achieved by taking an amount of time (in my example I am using one minute) and performing an action within this amount of time. Then I halve the time, and the value of my action (in my case, dividing a number by two) and repeating, until it has been done infinitely. But why will this not work in RobloxLua, or computing? First of all, we just cannot build a computer strong enough to do this without crashing, and this has been theorized, by "Davies' super-machine", but due to many sciencey reasons, this cannot be built. Which brings me on to how this relates to programming, this is where I would link you to a Wikipedia article, but due to restrictions I cannot. To make this simple, any computer is just a bunch of switches. These can be on, or off. And these switches are very, very small. You probably know this better as Binary, with all those 1s and 0s that you learnt about in school. When there become too many numbers, and not enough switches, the numbers start to get inaccurate, this causes something called "Stack Overflow", you've probably seen this in your output before. This is what happens when a program tries to use more memory than the call stack has to offer. This is when it gets messy. You keep demanding numbers and Lua can't take it. But instead of erroring, Roblox keeps its cool and continues to do this as fast as it can, until eventually the numbers get to ridiculously slow and inaccurate that the code will return 0. I'm still in learning myself and I would love to learn more, if you'd like to contribute or teach something then please do. This is my code below, try running it or editing it. local TimeToComplete = 60 local Time = TimeToComplete/2 while true do wait(Time) print(Time) Time = Time/2 end ~IanSplodge, Walrus God of the Forums.
M4LLARD
#182940119Wednesday, February 03, 2016 7:06 PM GMT

After reviewing what I have written, I suppose this would be known as a Hypertask, not a Supertask, as the numbers I am working with would be unaccountably infinite, not countably infinite. Why can't we just have one infinity? ~IanSplodge, Walrus God of the Forums.
ElectoStriking
#182940179Wednesday, February 03, 2016 7:08 PM GMT

OMG i need to join the electro legion xD
M4LLARD
#182940232Wednesday, February 03, 2016 7:10 PM GMT

EL are quite an old clan, we're been around since 2012, and have made a good impact on the clan world, we're coming back once again. Good to see that the only comment on my post was about my clan x3 ~IanSplodge, Walrus God of the Forums.
Happywalker
#182940263Wednesday, February 03, 2016 7:10 PM GMT

this on lua lol
M4LLARD
#182940350Wednesday, February 03, 2016 7:13 PM GMT

What do you think of the concept? ~IanSplodge, Walrus God of the Forums.
SkelectroTM
#182940530Wednesday, February 03, 2016 7:18 PM GMT

so pretty much you're making a lag script for no purpose other than a concept? I like how you think. y-y-you too...
MiniNob
#182940533Wednesday, February 03, 2016 7:18 PM GMT

the print function, division by 2, and variable assignment also yield your script, but usually for a much shorter amount of time than the wait function.
M4LLARD
#182940805Wednesday, February 03, 2016 7:25 PM GMT

I'm glad this has had such positive feedback, and I hope you have learnt something from this, I certainly have. ~IanSplodge, Walrus God of the Forums.
M4LLARD
#182943365Wednesday, February 03, 2016 8:25 PM GMT

bumping it up again ~IanSplodge, Walrus God of the Forums.
Protoduction
#182944409Wednesday, February 03, 2016 8:42 PM GMT

better lag script function lag() lag() lag() lag() while wait() do local p = Instance.new("Part", game.Workspace) end end -____________________________-
Protoduction
#182944447Wednesday, February 03, 2016 8:43 PM GMT

wait no that'd throw an error because functions being called to many times to fast function lag() wait() lag() lag() lag() while wait() do local p = Instance.new("Part", game.Workspace) end end there I fixed it -____________________________-
M4LLARD
#182944500Wednesday, February 03, 2016 8:44 PM GMT

That defeats the objective of this entire script. ~IanSplodge, Walrus God of the Forums.
Protoduction
#182944900Wednesday, February 03, 2016 8:51 PM GMT

K -____________________________-
Superwarrior360
#182944995Wednesday, February 03, 2016 8:53 PM GMT

woah, I ran that script in studio, and it was quite interesting.
DeepBlueNoSpace
#182945561Wednesday, February 03, 2016 9:04 PM GMT

... So you know while true do end, will crash studio. This is trying to do an infinite amount of tasks over an infinite amount of time. Now, try and do an infinite amount of tasks IN A FINITE amount of time
M4LLARD
#182945694Wednesday, February 03, 2016 9:06 PM GMT

obviously you don't understand what this does. It is attempting to do an infinite amount of actions in a finite amount of time, and I explain why that is not possible, and teach some programming along the way. ~IanSplodge, Walrus God of the Forums.
DeepBlueNoSpace
#182945797Wednesday, February 03, 2016 9:08 PM GMT

I saw the title, posted angrily, then read it. Typical Fourmer
TickerOfTime
#182946019Wednesday, February 03, 2016 9:11 PM GMT

I'll start by saying your understanding of a call stack isn't too far off. Your understanding of a stack overflow is also fairly accurate. Roblox, however, does not "keep its cool" and continue to run. Stack overflows are simply less common because stack management is done behind the scenes for the most part. Numbers do not become less accurate, they do not get stored at all. This is not a supertask or a "hypertask". Dividing the number by 2 infinitely will never reach 0. If you had a computer capable of waiting fractions of picoseconds, this would never end. -Ticker of da Tocks
bosswalrus
#182946089Wednesday, February 03, 2016 9:13 PM GMT

I'm the walrus god and cloud man, not you.
DeepBlueNoSpace
#182946225Wednesday, February 03, 2016 9:15 PM GMT

Shots
lordrambo
#182946256Wednesday, February 03, 2016 9:15 PM GMT

yeah I'm pretty sure boss is the walrus god around here (the clouds are cause he lives in the sky)
M4LLARD
#182946272Wednesday, February 03, 2016 9:15 PM GMT

I clearly said, this will not work. I did not call it a hypertask. I said how I tried to make a hypertask. ~IanSplodge, Walrus God of the Forums.
ray_revenge
#182946363Wednesday, February 03, 2016 9:17 PM GMT

get out walrus faker
M4LLARD
#182946442Wednesday, February 03, 2016 9:18 PM GMT

Honestly I'm trying to explain something out of my depth here. I'm helping the scripting community and learning myself, and that makes me better than all of you right now. So I get some things wrong. So you don't like my signature. So you think I'm unprofessional. Guess what. I'm not changing for you. ~IanSplodge, Walrus God of the Forums.

    of     2   
chevron_rightchevron_rightchevron_right