CAP Twelve Years Later: How the "Rules" Have Changed
Perspectives on the CAP Theorem
Tuesday, December 15, 2015
Wednesday, December 9, 2015
Some links
Parallel data structures
https://www.addthis.com/blog/2013/04/25/the-secret-life-of-concurrent-data-structures
Algorithm Design: Parallel and Sequential
http://www.parallel-algorithms-book.com/
Types, Semantics and Verification (replace 13 with 05~15)
https://www.cs.uoregon.edu/research/summerschool/summer13/curriculum.html
ScalaSTM
http://nbronson.github.io/scala-stm/
Operational semantics of Scala
http://infoscience.epfl.ch/record/85784/files/EPFL_TH3556.pdf
Denotational design and FRP
http://programmers.stackexchange.com/questions/183867/applying-denotational-semantics-to-design-of-programs
https://www.addthis.com/blog/2013/04/25/the-secret-life-of-concurrent-data-structures
Algorithm Design: Parallel and Sequential
http://www.parallel-algorithms-book.com/
Types, Semantics and Verification (replace 13 with 05~15)
https://www.cs.uoregon.edu/research/summerschool/summer13/curriculum.html
ScalaSTM
http://nbronson.github.io/scala-stm/
Operational semantics of Scala
http://infoscience.epfl.ch/record/85784/files/EPFL_TH3556.pdf
Denotational design and FRP
http://programmers.stackexchange.com/questions/183867/applying-denotational-semantics-to-design-of-programs
Tuesday, December 8, 2015
Generate thumbnails for videos
Output a single frame from the video into an image file:
Output one image every second, named out1.png, out2.png, out3.png, etc.
Output one image every ten minutes:
2. wiki: Create a thumbnail image every X seconds of the video
3. How to Generate PNG Screenshots Using FFMPEG
ffmpeg -i input.flv -ss 00:00:14.435 -vframes 1 out.pngThis example will seek to the position of 0h:0m:14sec:435msec and output one frame (-vframes 1) from that position into a PNG file.
Output one image every second, named out1.png, out2.png, out3.png, etc.
ffmpeg -i input.flv -vf fps=1 out%d.pngOutput one image every minute, named img001.jpg, img002.jpg, img003.jpg, etc.
ffmpeg -i myvideo.avi -vf fps=1/60 img%03d.jpg -s 250x200The
%03d
dictates that the ordinal number of each output image will be formatted using 3 digits. The -s option resizes the output images to 250 x 200.Output one image every ten minutes:
ffmpeg -i test.flv -vf fps=1/600 thumb%04d.bmpOutput one image for every I-frame:
ffmpeg -i input.flv -vf "select='eq(pict_type,PICT_TYPE_I)'" -vsync vfr thumb%04d.png
References
1. https://www.ffmpeg.org/ffmpeg.html2. wiki: Create a thumbnail image every X seconds of the video
3. How to Generate PNG Screenshots Using FFMPEG
Tuesday, December 1, 2015
Scala's parallel collections
The design ideas behind Scala's parallel collections:
http://infoscience.epfl.ch/record/150220/files/pc.pdf
http://infoscience.epfl.ch/record/150220/files/pc.pdf
Subscribe to:
Posts (Atom)