Apr
24
awarded Nice Question
Dec
19
awarded Supporter
Nov
21
comment Tips for golfing in JavaScript
It's terrible, and it only works with numbers, but: eval('['+[[1,2],[3,4,[5]]]+']') is quite short and does not convert the integers to strings.
Oct
22
awarded Necromancer
Oct
1
revised How can I detect the number of audio channels in an mp3 in an <audio> tag?
added 311 characters in body
Sep
30
revised How can I detect the number of audio channels in an mp3 in an <audio> tag?
added 108 characters in body
Sep
30
comment How can I detect the number of audio channels in an mp3 in an <audio> tag?
decodeAudioData() can be very slow on a compressed audio file of any meaningful size. I would much prefer a solution that derives the count without having to decode the entire mp3 in memory.
Sep
29
revised How can I detect the number of audio channels in an mp3 in an <audio> tag?
Make example interactive
Sep
29
asked How can I detect the number of audio channels in an mp3 in an <audio> tag?
Sep
22
comment Cors media confusion
Some more information about the crossorigin property: developer.mozilla.org/en-US/docs/Web/HTML/… (Very strange that it's needed in addition to the headers)
Sep
11
awarded Popular Question
Sep
11
awarded Yearling
Sep
11
awarded Yearling
Sep
2
comment Python's working directory when running with WSGI and Apache
Note these is an extra _ in __file__
Jul
23
awarded Supporter
Jul
1
accepted What are the attributes in CodeIgniter's example model for?
Jun
28
awarded Supporter
Jun
27
awarded Student
Jun
26
asked Is it possible to get tag navigation that works with RequireJS?
Apr
16
comment How can I issue a command on my local machine from within an SSH session?
Some folks at work are discussing the security implications of this. Would you care to add some notes about what additional risks I may or may not be taking by using this approach?
1 2 3 4 5