4
votes
Create a Penrose tiling
Use for loops.
Your draw functions do basically the same thing, if you simplify and you can make a drawShape:
...
3
votes
Accepted
Implement a simple image captcha test yourself in Java and JS
Is this implementation theoretical secure?
No. In particular:
java.util.HashMap is not thread-safe. The moment you start accessing it from multiple threads (and ...
3
votes
Runtime agnostic WebSocket server
Some of the code is not very readable for no reason that I can discern, beyond maybe saving a few bytes, but if that is the goal there are other things that can be shortened/minimized
...
2
votes
Accepted
openprocessing.org program - After screen tap, erase red circle, pause and lastly draw new white circle
A few minor tweaks
EraseStart isn't needed, it's basically InitialframeCount (you could also then get rid of the ...
1
vote
Function to reduce dead band when reading a pressure transducer that has calibration device under test information
Bear with me, because TypeScript is not a customary language for me.
How can I determine which range segment of calibration data the output voltage is with in, without a for loop each fetch?
The ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
javascript × 9410jquery × 2239
html × 1055
performance × 839
node.js × 830
beginner × 683
ecmascript-6 × 629
css × 600
algorithm × 489
array × 398
object-oriented × 394
dom × 363
angular.js × 326
ajax × 299
programming-challenge × 291
react.js × 291
functional-programming × 278
html5 × 254
game × 234
json × 218
event-handling × 218
animation × 215
strings × 214
promise × 212
datetime × 195