Better HN
topnewbestaskshowjobs
Log inSign up

c4py

2 karma · joined Sep 2, 2021 (5y ago) · 3 submissions

Submissions

comment 3y ago · link · parent

var c=document.getElementById('imageView'),ctx=c.getContext('2d'),i=new Image();i.onload=function(){ctx.drawImage(i,0,0,c.width,c.height);};fetch('your-image-url').then(response=>response.blob()).then(blob=>{var r=new FileReader();r.onloadend=function(){i.src=r.result};r.readAsDataURL(blob)});

2.

Heisenbug(en.wikipedia.org ↗)

4 points · by c4py · 3y ago · discuss

comment 4y ago · link · parent

Artificial bee colony optimization https://en.wikipedia.org/wiki/Artificial_bee_colony_algorith...