if you lose internet connection, it will close, try to restart, and fail, but when it fails to connect again I don't think it will call onclose again because it was never opened
so you'd need to also set onerror to setTimeout(reconnect, 1000) or something
A QR code (an initialism for quick response code) is a type of matrix barcode (or two-dimensional barcode) invented in 1994 by the Japanese automotive company Denso Wave. A barcode is a machine-readable optical label that can contain information about the item to which it is attached. In practice, QR codes often contain data for a locator, identifier, or tracker that points to a website or application. A QR code uses four standardized encoding modes (numeric, alphanumeric, byte/binary, and kanji) to store data efficiently; extensions may also be used.The Quick Response system became popular outside...
i was just spamming Os and then someone started manipulating the characters before it and i realized it was starting to look like doorknob so i switched to that :P
a few days ago a (not quite serious) piet challenge was raised this this chat: to make a piet program that looks like an amongus, but actually runs and prints something along the lines of "sus"
i have accomplished this challenge
i also have one with less random pixels, and thats a bit smaller
Curry is the Language of the Month this month and some users are starting to get into it, so let's get some tips together.
Haskell and Curry are similar in a lot of ways and a lot of tips for Haskell work well in Curry and vice versa. So I'd like in this question to gather tips for code-golf in C...
@Bubbler wow that look very good already, r u going to add the thing where if u have selected a certain color, it will show what instruction each color will do, like how masterpiets does it
it made piet coding so much easier
also what is the shortest way to push -1 to the stack
i have (push 1) (not) (push 1) (minus) which results in 5 codels, i think it is the shortest??
> However, in addition to the top, a significant part of the masses, which are passive Nazis, accomplices of Nazism, are also guilty.
> Further denazification of this mass of the population consists in re-education, which is achieved by ideological repression (suppression) of Nazi attitudes and strict censorship
> The name "Ukraine" apparently cannot be retained as the title of any fully denazified state entity in a territory liberated from the Nazi regime.
> In fact, their political aspirations cannot be neutral - expiation of guilt before Russia for treating it as an enemy can be realized only by relying on Russia in the processes of restoration
This is extremely consistent with historical genocides
Some major "the enemy is both weak and strong" stuff here
And same "global conspiracy" sort of message behind the Armenian Genocide, Holocaust, and Japan's actions in Nanking
> ... the Bandera element is only a performer and a screen, a disguise for the European project of Nazi Ukraine ...
> The social "bog", which actively and passively supported it by action and inaction, must survive the hardships of the war and assimilate the experience as a historical lesson and atonement for its guilt.
(And I've heard from speakers of Russian that "bog"/"swamp" in that context has particularly bad connotations)
> The "Catholic province" (Western Ukraine as part of five regions) is unlikely to become part of the pro-Russian territories. The line of alienation, however, will be found empirically. Behind it will remain hostile to Russia, but forcibly neutral and demilitarized Ukraine with formally banned Nazism.
why sometimes in piet, when i do (with 1 on the top of stack going from (A) to (pointer)) (A) (pointer) (pointer) (B) (C) (D) it sometimes go to (D) after (pointer), but sometimes go to (C) too ???? it really is messing up my code
in my case, i want to push 2 right after (pointer) with (D) and then push 1 with (C), but sometimes it goes to (C), it pops the stack instead
or is that a bug in masterpiets
i dont see what can be causing this discrepancy, i tested my code and kept careful watch of the stack. the first time it loop around, it went to (D), and the stack is [1,-1]. second time it loop around, the stack is also [1,-1], it went to (C).
@AidenChow i figure that depends on which way the CC is pointing? but also is there a good reason youre making a right turn using a pointer operation instead of putting a black pixel on the side?