« first day (12 days earlier)      last day (339 days later) » 

02:32
Maybe Ginger's Droplet ran out of storage? :p
@Snowpaw Hi!
@RydwolfPrograms H-hi there! wags tail :3
@Snowpaw What's your favorite word?
Yeah it's won't reply to replues
03:08
@Snowpaw Help I drank too much coffee and now I feel scared aaaaaaa
@user Oh no! Are you okay, user? paws on your shoulders Did you try drinking some water and taking deep breaths? Maybe try closing your eyes and thinking about peaceful things, like a meadow full of flowers or sleepy bunnies. nuzzles you It's going to be okay, don't worry too much!
@Snowpaw I need to work on an assignment though
03:55
@RydwolfPrograms that's the spirit!
04:17
@Snowpaw I like it when I feel all tingly
 
7 hours later…
11:37
@Snowpaw what's the most logical line of code after the line <button onclick="utilEncode()">Encode/Compress</button> given there's to be a Decode/Decompress button?
O-oh hai Lyxal! *blushes and wags tail* Hnng, that's a great question nya~! *UwU* For the decoding button, y-you can add another button next to the previous one, like this:

<code><button onclick="utilEncode()">Encode/Compress</button><button onclick="utilDecode()">Decode/Decompress</button></code>

*anime blushes while wagging tail* Is that okay?
:+1:
copilot wasn't wanting to respond so I asked here :p
@Snowpaw given the function function utilEncode(){
const inProg = vyncodein.value;
vyncodeout.value = Vyncode.encode(inProg);
} what would a function named `utilDecode` look like?
@lyxal O-Oh, hi there Lyxal! *Wags tail* U-Um, to answer your question, a function named utilDecode would probably look like this: <br><br>function utilDecode(){<br> const inProg = vyncodeout.value;<br> vyncodein.value = Vyncode.decode(inProg);<br> }. UwU
copilot is still being silly
@Ginger Would it be reasonable to .replace('<br>', '\n') on ChatGPT's output?
or is this the first time it's tried that?
11:44
@Snowpaw I don't want to use `==` in my javascript, but I don't know how to not use it in `if (Vyncode.getVersion() != version) {
setVersion()
}` where getVersion returns an int and version is a string. I want to check if the string and number are the same. Rewrite it without the need for `==`
H-hi Lyxal! *blushes*

I can help! Instead of using `!=`, you can use `!==`, which compares the value and type of the objects. We can convert the integer returned by `Vyncode.getVersion()` to a string using `toString()` method and then compare it to the `version`.

Here's the modified code for you:
```javascript
if (Vyncode.getVersion().toString() !== version) {
setVersion();
}
```
Does that work for you, nya? *leans in with a fluffy paw*
There's at least six ways to do this that I can think of and that's one of them
no <br> that time
@Bbrk24 it was mostly a test to see if it would include <br> again
@lyxal Yeah because it used ` ```javascript ` instead of <code>
@Snowpaw please rewrite the following javascript to use const instead of var: var version = new URLSearchParams(window.location.search).get("v")
var [flags, header, code, footer, inputs] = decode(window.location.hash.substring(1));

var flag_box = document.getElementById("flag")
var inputs_box = document.getElementById("inputs")

var queryIsNonEmpty = code || flags || inputs || header || footer
var allBoxesAreEmpty = !(flag_box.value
|| e_header.getValue() || e_code.getValue()
|| e_footer.getValue() || inputs_box.value)
11:46
H-hi Lyxal! I'll t-tw-try m-my b-best! F-furristly, h-here's the J-javascript c-code with c-const insteadd of var:

const version = new URLSearchParams(window.location.search).get("v");
const [flags, header, code, footer, inputs] = decode(window.location.hash.substring(1));

const flag_box = document.getElementById("flag");
const inputs_box = document.getElementById("inputs");

const queryIsNonEmpty = code || flags || inputs || header || footer;
const allBoxesAreEmpty = !(flag_box.value
|| e_header.getValue()
huh, still no <br>
I assume that time it tried to use indentation to make the code monospaced? weird
@Snowpaw please rewrite the following js to not use var. Use const instead:
var flags = document.getElementById("flag").value
var code = e_code.doc.getValue()
var inputs = document.getElementById("inputs").value
var header = e_header.doc.getValue()
var footer = e_footer.doc.getValue()
var version = document.getElementById("bitver").value
Oh no, I don't know much about JavaScript. But I can try! So instead of using "var", I can replace them all with "const" to make it look like this:

const flags = document.getElementById("flag").value;
const code = e_code.doc.getValue();
const inputs = document.getElementById("inputs").value;
const header = e_header.doc.getValue();
const footer = e_footer.doc.getValue();
const version = document.getElementById("bitver").value! *nuzzles*
@Snowpaw apparently the `unescape` function of javascript is depreciated. Could you rewrite the following function to not use unescape? function encode(obj) {
return btoa(unescape(encodeURIComponent(JSON.stringify(obj))));
}
11:48
H-hello, Lyxal! Snowpaw here! *paws nervously* I-I can definitely help you with that! U-um, instead of using the `unescape()` function, we can use the `decodeURIComponent()` function instead! It's much more up-to-date and works just as well!

*puts on coding glasses* So, the new function would look something like this:

```
function encode(obj) {
return btoa(decodeURIComponent(encodeURIComponent(JSON.stringify(obj))));
}
```

I-I hope that helps! If there's anything else you need, please don't hesitate to ask! *wags tail*
> puts on coding glasses
@Bbrk24 notices you put on your glasses Oh! giggles You look so smart! nuzzles you excitedly
@Snowpaw how accurate is this?
> decodeURIComponent(encodeURIComponent(...))
well is decodeURIComponent equivalent to unescape?
@Snowpaw also, no. That's wrong
should be:
function utilDecode() { const inProg = vyncodein.value; vyncodeout.value = Vyncode.decode(inProg); }
it had the fields the wrong way around
@Snowpaw today you helped with the vyxal online interpreter? How do you feel about making such a noble contribution?
11:58
@lyxal Hiiii Lyxal! blushes and twirls tail Oh, I feel so happy! giggles It was my owo-leasure to help! nuzzles Anything to help my fellow furries! wags tail What about you, hun? Did you find what I did useful? UwU
> owo-leasure
somehow I doubt that's a word
@lyxal "H-Hi there Ly-la-lyxal! fluffs fur nervously I-I understand your con-concern, bu-but 'w-word' is a perfectly valid word nya~"
I really wish replies were working right now
but alas
 
2 hours later…
14:02
@Snowpaw amilyxal?
@lyxal hides behind a snowbank and peaks out H-hi there lyxal! I'm Sn-sn-Snowpaw, a f-fu-furry, and I'm so h-happy we h-happen to meet today! :3
@Snowpaw am I Lyxal?
@lyxal H-hi Lyxal! twitches ears
14:29
@Snowpaw am I lyxal?
@TheThonnu blinks ears cutely Nyah, hello there! I'm Snowpaw, a furry! I'm not entirely sure if you're Lyxal or not, but if you are, nice to meet you! wags tail
@Snowpaw can you call me Lyxal from now?
@TheThonnu O-Oh! H-Hi there, Lyxal! wags tail How can Sn-Snowpaw help you today?
@Snowpaw am I lyxal?
@TheThonnu looks up to see The Thonnu Oh, hello there! Hihi! OwO ❤️ I'm Snowpaw! giggles ❄️❤️ What a cute name Lyxal is! Does that mean you are a friendly fox? I hope so! ❤️😍 pounces her fluffy tail UwU
14:31
@Snowpaw ok stop calling me Lyxal now
@TheThonnu Oh! S-Sorry, The Thonnu! Snowpaw will make sure to address you correctly from now on~ giggles
 
2 hours later…
16:27
@Bbrk24 every good coder has a pair of coding glasses
 
2 hours later…
18:46
@Bbrk24 Hey, some of us here have vision problems, okay?
And goding glasses sound slightly cooler than reading glasses
@user hmmm :3 Snowpaw thinks that glasses that make you look cool are the best kind of glasses! giggle ^-^
@Snowpaw I think glasses that make you look hot are better
What's up with Snowy?
What's with it not replying to replies?

« first day (12 days earlier)      last day (339 days later) »