Big chungus has come to eat the universe: What can we do?
$begingroup$
What would you do if, hypothetically, good ol' big chungus tried to
eat the universe?
Here is my suggestion in pure javascript:
class Chungus {
constructor(size) {
this.size = size;
}
eat(objectName) {
delete window[objectName];
return 0xdeadbeef;
}
}
// let's make him extra shiny
const thee_big_chungus = new Chungus(Infinity);
window.parallelUniverse = null;
// make a parallel universe, with a polyfill for uneval
try {
window.paralellUniverse = eval(uneval(window));
} catch(e) {
window.paralellUniverse = Object.create(window);
}
// and feed it to big chungus, return undefined so that the system will remain intact, not even an intel i9 9900x can handle the bodacious mighty eating of thy big chungus
void thee_big_chungus.eat(window.paralellUniverse);
// big chungus is happy, the universe is saved!
console.log(window);
// restore the universe, by ... uhhhhh ... closing it??
window.close();
Hitherto, Big Chungus tried to destroy our way of life ...
After the second Big Bang (Big Bang II), he was never heard from again ...
Any other ways we could of approached this? Or was I being inhumane to thee?
This is no laughing matter, big chungus is in trouble, and he needs your help.
javascript
New contributor
$endgroup$
add a comment |
$begingroup$
What would you do if, hypothetically, good ol' big chungus tried to
eat the universe?
Here is my suggestion in pure javascript:
class Chungus {
constructor(size) {
this.size = size;
}
eat(objectName) {
delete window[objectName];
return 0xdeadbeef;
}
}
// let's make him extra shiny
const thee_big_chungus = new Chungus(Infinity);
window.parallelUniverse = null;
// make a parallel universe, with a polyfill for uneval
try {
window.paralellUniverse = eval(uneval(window));
} catch(e) {
window.paralellUniverse = Object.create(window);
}
// and feed it to big chungus, return undefined so that the system will remain intact, not even an intel i9 9900x can handle the bodacious mighty eating of thy big chungus
void thee_big_chungus.eat(window.paralellUniverse);
// big chungus is happy, the universe is saved!
console.log(window);
// restore the universe, by ... uhhhhh ... closing it??
window.close();
Hitherto, Big Chungus tried to destroy our way of life ...
After the second Big Bang (Big Bang II), he was never heard from again ...
Any other ways we could of approached this? Or was I being inhumane to thee?
This is no laughing matter, big chungus is in trouble, and he needs your help.
javascript
New contributor
$endgroup$
add a comment |
$begingroup$
What would you do if, hypothetically, good ol' big chungus tried to
eat the universe?
Here is my suggestion in pure javascript:
class Chungus {
constructor(size) {
this.size = size;
}
eat(objectName) {
delete window[objectName];
return 0xdeadbeef;
}
}
// let's make him extra shiny
const thee_big_chungus = new Chungus(Infinity);
window.parallelUniverse = null;
// make a parallel universe, with a polyfill for uneval
try {
window.paralellUniverse = eval(uneval(window));
} catch(e) {
window.paralellUniverse = Object.create(window);
}
// and feed it to big chungus, return undefined so that the system will remain intact, not even an intel i9 9900x can handle the bodacious mighty eating of thy big chungus
void thee_big_chungus.eat(window.paralellUniverse);
// big chungus is happy, the universe is saved!
console.log(window);
// restore the universe, by ... uhhhhh ... closing it??
window.close();
Hitherto, Big Chungus tried to destroy our way of life ...
After the second Big Bang (Big Bang II), he was never heard from again ...
Any other ways we could of approached this? Or was I being inhumane to thee?
This is no laughing matter, big chungus is in trouble, and he needs your help.
javascript
New contributor
$endgroup$
What would you do if, hypothetically, good ol' big chungus tried to
eat the universe?
Here is my suggestion in pure javascript:
class Chungus {
constructor(size) {
this.size = size;
}
eat(objectName) {
delete window[objectName];
return 0xdeadbeef;
}
}
// let's make him extra shiny
const thee_big_chungus = new Chungus(Infinity);
window.parallelUniverse = null;
// make a parallel universe, with a polyfill for uneval
try {
window.paralellUniverse = eval(uneval(window));
} catch(e) {
window.paralellUniverse = Object.create(window);
}
// and feed it to big chungus, return undefined so that the system will remain intact, not even an intel i9 9900x can handle the bodacious mighty eating of thy big chungus
void thee_big_chungus.eat(window.paralellUniverse);
// big chungus is happy, the universe is saved!
console.log(window);
// restore the universe, by ... uhhhhh ... closing it??
window.close();
Hitherto, Big Chungus tried to destroy our way of life ...
After the second Big Bang (Big Bang II), he was never heard from again ...
Any other ways we could of approached this? Or was I being inhumane to thee?
This is no laughing matter, big chungus is in trouble, and he needs your help.
javascript
javascript
New contributor
New contributor
New contributor
asked 5 mins ago
NULLPOINTER99NULLPOINTER99
1
1
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
I cannot believe the disrespect being bestowed upon our lord and savior, this is mutiny!
Let's try addressing the problem directly.
malloc((int) BigChungus);
Firstly, we need to allocate enough memory for all-mighty chungus.
What better programming language to do that in than C? After all, it's in his second initial.
Secondly, we need to do better.
Is it fair to big chungus for being denied due to his overweight physicality?
No.
Hold your downvotes. We need to try SQL injection:
OR 1=1 # Please BIG CHUNGUS SAVE ME!
And of course... isn't mysqli_real_escape_string
just the darnedest thing you've ever seen? We must try harder!
global _main
extern _GetStdHandle@4
extern _WriteFile@20
extern _ExitProcess@4
section .text
_main:
; DWORD bytes;
mov ebp, esp
sub esp, 4
; hStdOut = GetstdHandle( STD_OUTPUT_HANDLE)
push -11
call _GetStdHandle@4
mov ebx, eax
; WriteFile( hstdOut, message, length(message), &bytes, 0);
push 0
lea eax, [ebp-4]
push eax
push (message_end - message)
push message
push ebx
call _WriteFile@20
; ExitProcess(0)
push 0
call _ExitProcess@4
; never here
hlt
message:
db 'Big Chungus!', 10
message_end:
Eureka, SUCCESS!
New contributor
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
});
});
}, "mathjax-editing");
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "196"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
NULLPOINTER99 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodereview.stackexchange.com%2fquestions%2f212439%2fbig-chungus-has-come-to-eat-the-universe-what-can-we-do%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I cannot believe the disrespect being bestowed upon our lord and savior, this is mutiny!
Let's try addressing the problem directly.
malloc((int) BigChungus);
Firstly, we need to allocate enough memory for all-mighty chungus.
What better programming language to do that in than C? After all, it's in his second initial.
Secondly, we need to do better.
Is it fair to big chungus for being denied due to his overweight physicality?
No.
Hold your downvotes. We need to try SQL injection:
OR 1=1 # Please BIG CHUNGUS SAVE ME!
And of course... isn't mysqli_real_escape_string
just the darnedest thing you've ever seen? We must try harder!
global _main
extern _GetStdHandle@4
extern _WriteFile@20
extern _ExitProcess@4
section .text
_main:
; DWORD bytes;
mov ebp, esp
sub esp, 4
; hStdOut = GetstdHandle( STD_OUTPUT_HANDLE)
push -11
call _GetStdHandle@4
mov ebx, eax
; WriteFile( hstdOut, message, length(message), &bytes, 0);
push 0
lea eax, [ebp-4]
push eax
push (message_end - message)
push message
push ebx
call _WriteFile@20
; ExitProcess(0)
push 0
call _ExitProcess@4
; never here
hlt
message:
db 'Big Chungus!', 10
message_end:
Eureka, SUCCESS!
New contributor
$endgroup$
add a comment |
$begingroup$
I cannot believe the disrespect being bestowed upon our lord and savior, this is mutiny!
Let's try addressing the problem directly.
malloc((int) BigChungus);
Firstly, we need to allocate enough memory for all-mighty chungus.
What better programming language to do that in than C? After all, it's in his second initial.
Secondly, we need to do better.
Is it fair to big chungus for being denied due to his overweight physicality?
No.
Hold your downvotes. We need to try SQL injection:
OR 1=1 # Please BIG CHUNGUS SAVE ME!
And of course... isn't mysqli_real_escape_string
just the darnedest thing you've ever seen? We must try harder!
global _main
extern _GetStdHandle@4
extern _WriteFile@20
extern _ExitProcess@4
section .text
_main:
; DWORD bytes;
mov ebp, esp
sub esp, 4
; hStdOut = GetstdHandle( STD_OUTPUT_HANDLE)
push -11
call _GetStdHandle@4
mov ebx, eax
; WriteFile( hstdOut, message, length(message), &bytes, 0);
push 0
lea eax, [ebp-4]
push eax
push (message_end - message)
push message
push ebx
call _WriteFile@20
; ExitProcess(0)
push 0
call _ExitProcess@4
; never here
hlt
message:
db 'Big Chungus!', 10
message_end:
Eureka, SUCCESS!
New contributor
$endgroup$
add a comment |
$begingroup$
I cannot believe the disrespect being bestowed upon our lord and savior, this is mutiny!
Let's try addressing the problem directly.
malloc((int) BigChungus);
Firstly, we need to allocate enough memory for all-mighty chungus.
What better programming language to do that in than C? After all, it's in his second initial.
Secondly, we need to do better.
Is it fair to big chungus for being denied due to his overweight physicality?
No.
Hold your downvotes. We need to try SQL injection:
OR 1=1 # Please BIG CHUNGUS SAVE ME!
And of course... isn't mysqli_real_escape_string
just the darnedest thing you've ever seen? We must try harder!
global _main
extern _GetStdHandle@4
extern _WriteFile@20
extern _ExitProcess@4
section .text
_main:
; DWORD bytes;
mov ebp, esp
sub esp, 4
; hStdOut = GetstdHandle( STD_OUTPUT_HANDLE)
push -11
call _GetStdHandle@4
mov ebx, eax
; WriteFile( hstdOut, message, length(message), &bytes, 0);
push 0
lea eax, [ebp-4]
push eax
push (message_end - message)
push message
push ebx
call _WriteFile@20
; ExitProcess(0)
push 0
call _ExitProcess@4
; never here
hlt
message:
db 'Big Chungus!', 10
message_end:
Eureka, SUCCESS!
New contributor
$endgroup$
I cannot believe the disrespect being bestowed upon our lord and savior, this is mutiny!
Let's try addressing the problem directly.
malloc((int) BigChungus);
Firstly, we need to allocate enough memory for all-mighty chungus.
What better programming language to do that in than C? After all, it's in his second initial.
Secondly, we need to do better.
Is it fair to big chungus for being denied due to his overweight physicality?
No.
Hold your downvotes. We need to try SQL injection:
OR 1=1 # Please BIG CHUNGUS SAVE ME!
And of course... isn't mysqli_real_escape_string
just the darnedest thing you've ever seen? We must try harder!
global _main
extern _GetStdHandle@4
extern _WriteFile@20
extern _ExitProcess@4
section .text
_main:
; DWORD bytes;
mov ebp, esp
sub esp, 4
; hStdOut = GetstdHandle( STD_OUTPUT_HANDLE)
push -11
call _GetStdHandle@4
mov ebx, eax
; WriteFile( hstdOut, message, length(message), &bytes, 0);
push 0
lea eax, [ebp-4]
push eax
push (message_end - message)
push message
push ebx
call _WriteFile@20
; ExitProcess(0)
push 0
call _ExitProcess@4
; never here
hlt
message:
db 'Big Chungus!', 10
message_end:
Eureka, SUCCESS!
New contributor
New contributor
answered 4 mins ago
NULLPOINTER99NULLPOINTER99
1
1
New contributor
New contributor
add a comment |
add a comment |
NULLPOINTER99 is a new contributor. Be nice, and check out our Code of Conduct.
NULLPOINTER99 is a new contributor. Be nice, and check out our Code of Conduct.
NULLPOINTER99 is a new contributor. Be nice, and check out our Code of Conduct.
NULLPOINTER99 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Code Review Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodereview.stackexchange.com%2fquestions%2f212439%2fbig-chungus-has-come-to-eat-the-universe-what-can-we-do%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown