Saw this over on birbsite (from @horenmar_ctu@twitter.com):

bool have_trigraphs ()
{
// are trigraphs available??/
return false;
return true;
}

This is sick and wrong and I am compelled to applaud.

#programming #trigraphs

@ersatzmaus
```
function collectEntropy1 ()
{
function t () {return(~~(new Date()));};
var i=[0,0,0,0,0],j=[0,0,0,0,0],y=(t()+1);
var e=function(n){for(;(y+n)>(t());j[n]++){if(0<n){e(n-1);}}};
for(;(y+4)>(t());i[3]++)
{ for(;(y+3)>(t());i[2]++)
{ for(;(y+2)>(t());i[1]++)
{ for(;(y+1)>(t());i[0]++)
{ while(y>(t()))
{ i[4]++;
}}}}}
e(4);
return(
( (((j[0]^j[1]^i[0])&0xFF)<<24)
^ (((j[1]^j[2]^i[1])&0xFF)<<16)
^ (((j[2]^j[3]^i[2])&0xFF)<<8)
^ ((j[3]^j[4]^i[3])&0xFF)
)
);
};
```

Follow

@ersatzmaus

If it doesn't display/format correctly for you here's a link of the current version. This makes a lot of JS devs mad at me over the internet though. Pls be nice.

rvklein.me/proj/dandelion/misc

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!