Considering that * unpacks to a sequence, I'd expect the result to be a sequence rather than a single value like that, so empty list/tuple makes more sense to me IMO
Sally, 20 + 4 = 24 bytes
void a a
void main a
Why the extra four bytes? First, I pipe it to sally2c, which transpiles it to C:
#include "sally.h"
/* {void -> void}: */ void apply_a(void)
{
apply_a();
}
/* {void -> void}: */ int main(int argc, char ** argv)
{
if(argc <= 0) { fprintf(std...
Might be able to reduce the four extra bytes for the compiler flags
This is really weird. I just started gettin HTTP 400 for any request on PPCG. Disabling HTTPS allowed me through (but enabling HTTPS got the problem back), other sites worked even with HTTPS. Problem disappeared by clearing cookies. o.O
Does the self-graduation userscript use a lot of cookies? I noticed there were a lot of them and I think sending a too long cookie string can be a Bad Request.
Well, I checked the source and there's a lot of cookies (one per question or something). Could you use GM_setValue? (basically localStorage, but for userscripts)
I think I found it. I have Helvetica Compressed on my PC (downloaded for some graphics project at some point). Apparently IE and Chrome think it's "Good Enough™"
I should probably take a look into tensorflow's C API. While it probably wouldn't help with resource use, I can't imagine it would be slower than the python I'm using.
@Optimizer Oh, his current chatbot-talking-brain isn't still learning. I started him on a new dataset last night. Hoping for something usable tonight or tomorrow, so hopefully he'll get "better".
so, lets say rendering, firefox curently renders the tab as you switch to it and removes it from memory once you switch away. this process takes less than a ms
images can add a little to speed scrolling, but otherwise nothing much in general performance
were you constantly scrolling images heavy websites?
Right, but there's no harm in keeping it in memory until it's getting close to full, so why waste time freeing/redoing it? Android works much the same way.
also, do keep in mind, since each tab is its own process (almost) in chrome, much of the memory in each process is duplicated which can be other wise shared if it were a single process (like in firefox).. This is true for extensions as well, so each extension is loaded once in each tab ..
@Geobits the question was.. how does chrome figure out that available memory is enough or not for other processes.
@Optimizer Yea, that's one of the things I like about it. Having an extension/tab crash doesn't even remotely bother others. Last I used firefox (I don't know if it's true now) that wasn't the case.
I'm not saying that Chrome is polling other processes to see what they need, just that if there is a ton of free RAM, there's no reason not to use it (to a point).
0{1}w
^
RuntimeException: Long Block w not implemented
Java exception:
java.lang.RuntimeException: Long Block w not implemented
at net.aditsu.cjam.Op.fail(Op.java:22)
at net.aditsu.cjam.Ops$31.calc(Ops.java:921)
at net.aditsu.cjam.Op2.run(Op2.java:12)
at net.aditsu.cjam.Block.run(Block.java:302)
at net.aditsu.cjam.CJam.runCode(CJam.java:206)
at net.aditsu.cjam.CJam.main(CJam.java:236)
A polyquine is both quine and polyglot.1 You are to write a quine which is valid in at least two different languages. This is code golf, so the shortest answer (in bytes) wins.
1 I made that up. Or rather, Geobits did. Apparently, he wasn't the first one either, though.
Rules for Quines
Only t...
Y, noncompeting, 6 bytes
UCn*px
Y is a headcannon that I've had for a while, and this inspired me to write it. It is made for challenges in which sequencing is key, such as this. The code is divided into links by "node" characters. In this case, our code is put into two chains (originally), w...