Warning: Duplicate entry '2147483647' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:14:\"strict warning\";s:8:\"%message\";s:62:\"Non-static method view::load() should not be called statically\";s:5:\"%file\";s:64:\"/var/www/kibergus.su/htdocs/sites/all/modules/views/views.module\";s:5:\"%line\";i:906;}', 3, '', 'http://kibergus.su/en/taxonomy/term/28/all/feed', '', '127.0.0.1', 1568959013) in /var/www/kibergus.su/htdocs/includes/database.mysql.inc on line 135

Warning: Duplicate entry '2147483647' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:14:\"strict warning\";s:8:\"%message\";s:109:\"Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options)\";s:5:\"%file\";s:87:\"/var/www/kibergus.su/htdocs/sites/all/modules/views/handlers/views_handler_argument.inc\";s:5:\"%line\";i:0;}', 3, '', 'http://kibergus.su/en/taxonomy/term/28/all/feed', '', '127.0.0.1', 1568959013) in /var/www/kibergus.su/htdocs/includes/database.mysql.inc on line 135

Warning: Duplicate entry '2147483647' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:14:\"strict warning\";s:8:\"%message\";s:134:\"Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state)\";s:5:\"%file\";s:85:\"/var/www/kibergus.su/htdocs/sites/all/modules/views/handlers/views_handler_filter.inc\";s:5:\"%line\";i:0;}', 3, '', 'http://kibergus.su/en/taxonomy/term/28/all/feed', '', '127.0.0.1', 1568959013) in /var/www/kibergus.su/htdocs/includes/database.mysql.inc on line 135

Warning: Duplicate entry '2147483647' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:14:\"strict warning\";s:8:\"%message\";s:130:\"Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state)\";s:5:\"%file\";s:85:\"/var/www/kibergus.su/htdocs/sites/all/modules/views/handlers/views_handler_filter.inc\";s:5:\"%line\";i:0;}', 3, '', 'http://kibergus.su/en/taxonomy/term/28/all/feed', '', '127.0.0.1', 1568959013) in /var/www/kibergus.su/htdocs/includes/database.mysql.inc on line 135

Warning: Duplicate entry '2147483647' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:14:\"strict warning\";s:8:\"%message\";s:148:\"Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state)\";s:5:\"%file\";s:101:\"/var/www/kibergus.su/htdocs/sites/all/modules/views/modules/node/views_handler_filter_node_status.inc\";s:5:\"%line\";i:0;}', 3, '', 'http://kibergus.su/en/taxonomy/term/28/all/feed', '', '127.0.0.1', 1568959013) in /var/www/kibergus.su/htdocs/includes/database.mysql.inc on line 135

Warning: Duplicate entry '2147483647' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:14:\"strict warning\";s:8:\"%message\";s:62:\"Non-static method view::load() should not be called statically\";s:5:\"%file\";s:64:\"/var/www/kibergus.su/htdocs/sites/all/modules/views/views.module\";s:5:\"%line\";i:906;}', 3, '', 'http://kibergus.su/en/taxonomy/term/28/all/feed', '', '127.0.0.1', 1568959013) in /var/www/kibergus.su/htdocs/includes/database.mysql.inc on line 135

Warning: Duplicate entry '2147483647' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:14:\"strict warning\";s:8:\"%message\";s:130:\"Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state)\";s:5:\"%file\";s:80:\"/var/www/kibergus.su/htdocs/sites/all/modules/views/plugins/views_plugin_row.inc\";s:5:\"%line\";i:0;}', 3, '', 'http://kibergus.su/en/taxonomy/term/28/all/feed', '', '127.0.0.1', 1568959013) in /var/www/kibergus.su/htdocs/includes/database.mysql.inc on line 135

Warning: Duplicate entry '2147483647' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:14:\"strict warning\";s:8:\"%message\";s:126:\"Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state)\";s:5:\"%file\";s:80:\"/var/www/kibergus.su/htdocs/sites/all/modules/views/plugins/views_plugin_row.inc\";s:5:\"%line\";i:0;}', 3, '', 'http://kibergus.su/en/taxonomy/term/28/all/feed', '', '127.0.0.1', 1568959013) in /var/www/kibergus.su/htdocs/includes/database.mysql.inc on line 135

Warning: Duplicate entry '2147483647' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:138:\"Cannot modify header information - headers already sent by (output started at /var/www/kibergus.su/htdocs/includes/database.mysql.inc:135)\";s:5:\"%file\";s:47:\"/var/www/kibergus.su/htdocs/includes/common.inc\";s:5:\"%line\";i:153;}', 3, '', 'http://kibergus.su/en/taxonomy/term/28/all/feed', '', '127.0.0.1', 1568959013) in /var/www/kibergus.su/htdocs/includes/database.mysql.inc on line 135
electronics http://kibergus.su/en/taxonomy/term/28/all en Realtime quirks http://kibergus.su/en/node/91 At least I've managed to catch sneaky bug in light control firmware. When brightness was set to low bulb periodically flushed. I has been hunting it for last two weeks. Actually, there were several bugs, that's because I'm not used to writing hard realtime applications. For example only yesterday I've understood that main loop shouldn't work as fast as it can, it should work as evenly as it can and it's start must be synchronized with alternation of current in power network. And today I've found out that zero cross detector triggers at different moment of time and additional software averaging is needed. If I was better at electronics I would probably made a better one and I wouldn't need complex zero cross prediction code. A week ago I've understood that instead of synchronizing two timers I can stop using built in arduino functions and use one timer.<br /> But I'm quite glad at overall. Microcontroller programming is fun.<br /> update: Some time after I've found timer interrupts and had to rewrite firmware in proper way. <p><a href="http://kibergus.su/en/node/91" target="_blank">read more</a></p> http://kibergus.su/en/node/91#comments electronics Mon, 30 Jan 2012 20:07:25 +0000 KiberGus 91 at http://kibergus.su Dimmers: myths and truth http://kibergus.su/en/node/83 Recently I've started creating my own lighting control system and I had to read through a lot of papers about dimmers. Unfortunately it occurred that information form advertising text from shop sited does not match information from electronics engineers forums and articles written by specialists. As far as amount of adverts is much greater it is not easy to find out the truth.<br /> <p><a href="http://kibergus.su/en/node/83" target="_blank">read more</a></p> http://kibergus.su/en/node/83#comments electronics Mon, 26 Dec 2011 06:52:27 +0000 KiberGus 83 at http://kibergus.su Master of bulbs http://kibergus.su/en/node/88 Sunday's evening an idea to control bulbs via computer visited me. It occurs that it is not an extra hard problem. About two days of reading datasheets and forums and main concepts have became clear. Some more time was spent to build prototype... And hour ago a bulb have obeyed me and started to switch on and off by commands from a keyboard.<br /> Now I need a microcontroller so as to control brightness... http://kibergus.su/en/node/88#comments electronics Wed, 30 Nov 2011 20:58:06 +0000 KiberGus 88 at http://kibergus.su