public marks

PUBLIC MARKS with tag coding

2014

gstreamermm: Gst::BaseSink Class Reference

by sylvainulg
The max-lateness property affects how the sink deals with buffers that arrive too late in the sink. A buffer arrives too late in the sink when the presentation time (as a combination of the last segment, buffer timestamp and element base_time) plus the duration is before the current time of the clock. If the frame is later than max-lateness, the sink will drop the buffer without calling the render method. This feature is disabled if sync is disabled, the get_times_vfunc() method does not return a valid start time or max-lateness is set to -1 (the default). Subclasses can use set_max_lateness() to configure the max-lateness value.

/P (Preprocess to a File)

by sylvainulg
don't try this at $HOME, kids, you'll need the Visual Studio Command Prompt to succesfully paste the command line. Output is a .i file in the directory where you invoked the compiler.

2013

Writing a Particle System on the Raspberry Pi | Dr Dobb's

by sylvainulg
" I coded this particle system in Objective-C and use the Simple Directmedia Layer (SDL) for particle display on the RPi, but more on that later. The code accompanying this article is available for download."

Regular Expressions Cheat Sheet by DaveChild - Cheatography.com

by sylvainulg
? where does my regexp mismatch ? die "wrong pattern on $`//$+//$'";

2012

Frequently Asked Questions | Twitter Developers

by sylvainulg (via)
The old API has stopped working, and will be completely dismantled by March 2013. Better read the FAQ 'till then

Hacker's Delight

by sylvainulg & 1 other (via)
can be used to compute the "magic numbers" and multiplicative inverses modulo 232. These numbers allow you to convert division by constants into multiplications.

Bresenham

by sylvainulg (via)
for(;;){ /* loop */ setPixel(x0,y0); if (x0==x1 AND y0==y1) break; e2 = 2*err; if (e2 >= dy) { err += dy; x0 += sx; } /* e_xy+e_x > 0 */ if (e2 <= dx) { err += dx; y0 += sy; } /* e_xy+e_y < 0 */ }

Jérôme Radix Blog: Comment exécuter du code par projet dans Emacs

by sylvainulg
j'ai besoin de gérer une configuration particulière par projet, le terme projet correspondant ici à un ensemble cohérent de fichiers permettant de produire un certain nombre de livrables clairement identifiés (un peu comme le fichier build.xml pour Apache Ant). Dans Emacs, il existe quelques fonctions bien pratiques pour faire cela

Coding Horror: Speed Hashing

by sylvainulg (via)
If you are a developer: Use bcrypt or PBKDF2 exclusively to hash anything you need to be secure. These new hashes were specifically designed to be difficult to implement on GPUs. Do not use any other form of hash. Almost every other popular hashing scheme is vulnerable to brute forcing by arrays of commodity GPUs, which only get faster and more parallel and easier to program for every year.

SVN: Merging a Branch into Trunk - Sepcot.com

by sylvainulg (via)
I'll have to redo that tomorrow, applying the merge for newcollide first, and *then* companim...

2011

Re: [tcpdump-workers] Freeing memory in libpcap

by sylvainulg
could have been worth a note in pcap_next(), imho.

Dropbox - Developers - Simplify your life

by sylvainulg
A good way to push sprites made with SEDS "in the cloud" ?

PUBLIC TAGS related to tag coding

ajax +   beginners +   beginnersweb +   blogging +   blogs +   bookmarking +   bookmarks +   css +   design +   editors +   help +   html +   javascript +   Layouts +   mootools +   php +   programming +   showcase +   sueblimely +   tagging +   tags +   tips +   tools +   tutorial +   utilities +   web-tools +   web2 +   web2.0 +   webbuilding +   webdesign +   webdev +   webtools +   xhtml +   zeldman +