JSPerf – How do I see what tests I’ve made that HAVEN’T been published yet? Is this a bug?


JSPerf – How do I see what tests I’ve made that HAVEN’T been published yet? Is this a bug?

I wrote a test, checked it worked and closed the browser tab intending to come back later. I never published it.

I visited my test list, http://ift.tt/2tZmHrs

But I don't see the un-published test! How the hell do I get to it to publish it? I am logged in.

(I used CTRL/Shift and T to reopen closed tabs, and published it when it reopened.)

Have I found a bug?

Submitted June 24, 2017 at 10:56AM by SarahC
via reddit http://ift.tt/2sAPbK9

pi controlled camera uploading photos, now I need to learn js to control access to the archive


pi controlled camera uploading photos, now I need to learn js to control access to the archive

I have never done any programming but am trying to learn javascript to control the dynamic photo library getting uploaded from my webcam at http://ift.tt/2t1jo5U. I have a rasberry pi sending the photos in the format YYYYMMDDHHmm.jpg to my website. I am able to pull the most current photo dynamically with moment(). I need some help getting the buttons and date pickers working but have been struggling for hours. All the code is embedded in the html doc and is pretty simple. Any resources, examples or help that anyone can offer?

Submitted June 24, 2017 at 11:28AM by XCSkies
via reddit http://ift.tt/2s6n8id

Optimisation/Chrome: Particle array, structure, associative/indexed array, uintArray…… what’s the fastest structure?


Optimisation/Chrome: Particle array, structure, associative/indexed array, uintArray…… what’s the fastest structure?

I've got millions of particles, and I'm searching for the data structure that gives the fastest way to access and update them.

In chrome, it appears there's not much difference anymore between several techniques, which surprised me.

I guess they're all using cached memory (Level 1, 2, and 3) optimally by scanning forward through the data.

Apart from using a forward vs backward index to update and display them – I don't see any other big optimisation.

Is there a data structure I'm missing that would be faster?

http://ift.tt/2rMr74p

http://ift.tt/2t5kTAC

http://ift.tt/2rMoe3v

Submitted June 24, 2017 at 09:21AM by SarahC
via reddit http://ift.tt/2t16Hbr