mysql start

MySQL tinkering mysql> create database jeffdatabase -> ; Query OK, 1 row affected (0.03 sec) mysql> show databases; +——————–+ | Database | +——————–+ | information_schema | | jeffdatabase | | mysql | +——————–+ 3 rows in set (0.00 sec) mysql> use jeffdatabase Database changed mysql> show tables; Empty set (0.00 sec) mysql> create table songs …

cairo 1.1 working internal

screenshots of tinkering (gdb) bt #0 clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:84 #1 0x00007ffff509db24 in do_clone (pd=0x7ffff03bd710, attr=0x7ffff50a7f20, stackaddr=0x7ffff03bd9e0, stopped=1, fct=, clone_flags=) at ../nptl/sysdeps/pthread/createthread.c:75 #2 0x00007ffff509e0d2 in create_thread (newthread=, attr=, start_routine=, arg=) at ../nptl/sysdeps/pthread/createthread.c:205 #3 __pthread_create_2_1 (newthread=, attr=, start_routine=, arg=) at pthread_create.c:561 #4 0x0000000000401a82 in timer_exe (window=0x638400) at cairoanimation.c:138 (gdb) frame 4 #4 0x0000000000401a82 in timer_exe (window=0x638400) …

cairo graphics 1.1 beautification

/* Jeffrin Jose Licensed GPL v3 Copyright August 2010 GPL –> http://www.gnu.org/copyleft/gpl.html */ #include #include #include #include //the global pixmap that will serve as our buffer static GdkPixmap *pixmap = NULL; gboolean on_window_configure_event(GtkWidget * da, GdkEventConfigure * event, gpointer user_data){ static int oldw = 0; static int oldh = 0; //make our selves a properly …

pngcp and pnginfo

system administration command $pnginfo osauxiliaryvector.png osauxiliaryvector.png… Image Width: 1600 Image Length: 1200 Bitdepth (Bits/Sample): 8 Channels (Samples/Pixel): 4 Pixel depth (Pixel Depth): 32 Colour Type (Photometric Interpretation): RGB with alpha channel Image filter: Single row per byte filter Interlacing: No interlacing Compression Scheme: Deflate method 8, 32k window Resolution: 2835, 2835 (pixels per meter) FillOrder: …

cairo graphics 1.0

/* Jeffrin Jose Licensed GPL v3 Copyright August 2010 GPL –> http://www.gnu.org/copyleft/gpl.html */ #include #include #include #include //the global pixmap that will serve as our buffer static GdkPixmap *pixmap = NULL; gboolean on_window_configure_event(GtkWidget * da, GdkEventConfigure * event, gpointer user_data){ static int oldw = 0; static int oldh = 0; //make our selves a properly …

graphics engine

Graphics Engine A typical CPU includes special-purpose graphics engine. Graphics engines are common because many computers have graphic displays, and a graphics engine can perform common operations at high speed. For example, a graphics engine might include facilities to move a rectangle across a bit-mapped display or to repaint the surface of a graphical figure …

cairo graphics 0.9 intersection II

/* Jeffrin Jose Licensed GPL v3 Copyright August 2010 GPL –> http://www.gnu.org/copyleft/gpl.html */ // module do_draw //do_draw will be executed in a separate thread whenever we would like to update //our animation void *do_draw(void *ptr){ currently_drawing = 1; int width, height; gdk_threads_enter(); gdk_drawable_get_size(pixmap, &width, &height); gdk_threads_leave(); //create a gtk-independant surface to draw on cairo_surface_t *cst …

deadlock

Dead lock Nonatomic actions introduce the possibility that the protocol can deadlock, meaning that it reaches a state where it cannot continue. Now, on the context of congestion control deadlock is acheived when the packets in the interconnect can make no forward progress no matter what sequence of events happens. References : Snooping Protocols. Congestion …