<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5966105059231265310</id><updated>2012-02-14T10:25:02.241+01:00</updated><category term='sleep'/><category term='scilab'/><category term='translations'/><category term='PL'/><category term='GSoC'/><category term='xcos'/><category term='arch'/><category term='VideoSleep'/><category term='studies'/><category term='FLOSS'/><title type='text'>Smart Laziness</title><subtitle type='html'>Work smart, not hard!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-2377826551389004008</id><published>2010-06-11T15:52:00.000+02:00</published><updated>2010-06-11T15:56:23.528+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VideoSleep'/><category scheme='http://www.blogger.com/atom/ns#' term='studies'/><title type='text'>How well do you sleep?</title><content type='html'>Over the last few weeks, my friend Michał gave a little shape to our project VideoSleep. He wrote  GUI in QT4 and enhanced reporting functionality I've rewritten motion detection using OpenCv and added some simple noise reduction. Before you will get hands on experience and whole code goes open source you can watch short screen-cast:&lt;br /&gt;&lt;br /&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/btWaMVnIpio&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/btWaMVnIpio&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;If you have some ideas of how you can contribute to our project, or want to try it out during your own sleep just leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-2377826551389004008?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/2377826551389004008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/06/how-well-do-you-sleep.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/2377826551389004008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/2377826551389004008'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/06/how-well-do-you-sleep.html' title='How well do you sleep?'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-2754250828700253347</id><published>2010-05-31T23:43:00.000+02:00</published><updated>2010-05-31T23:49:27.671+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scilab'/><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>Under the hood</title><content type='html'>&lt;b&gt;Logger&lt;/b&gt;&lt;br /&gt;Obvious part, every error and finished stage of migration should be clearly logged. Then it will be used when displaying information and progress of import in scilab batch. Scilab for logging uses &lt;a href="http://commons.apache.org/logging/"&gt;apache commons logging&lt;/a&gt;, so no choice left here.&lt;br /&gt;&lt;b&gt;Parser&lt;/b&gt;&lt;br /&gt;There is already very convenient way of parsing Simulink model files. Conqat is an open source project (licensed under Apache License 2.0) that provides Java's Simulink parser library. It's well documented and I think it should be the best existing solution. Sample usage of this parser can look like this:&lt;br /&gt;&lt;pre&gt;SimulinkModelBuilder builder &lt;br /&gt; = new SimulinkModelBuilder(new"), new SimpleLogger());&lt;br /&gt;SimulinkModel model = builder.buildModel();&lt;br /&gt;&lt;/pre&gt;then every block, parameter can be accessed by simply:&lt;br /&gt;&lt;pre&gt;public static void readSimulinkBlock(SimulinkBlock block) {&lt;br /&gt;  UnmodifiableIterator&lt;simulinkblock&gt; blockIter =       block.getSubBlocks().iterator();&lt;br /&gt;  while(blockIter.hasNext()) {&lt;br /&gt;       readSimulinkBlock(blockIter.next());&lt;br /&gt;       }&lt;br /&gt;    }&lt;br /&gt;&lt;/simulinkblock&gt;&lt;/pre&gt;Below, the class diagram (of Conqat Simulink Model) that clearly shows how Simulink models should be processed:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_25wjbmJZqBE/TAQraL0qc3I/AAAAAAAAAzQ/p9VTth3nuug/s1600/SimulinkModelDiagram.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="186" src="http://4.bp.blogspot.com/_25wjbmJZqBE/TAQraL0qc3I/AAAAAAAAAzQ/p9VTth3nuug/s320/SimulinkModelDiagram.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;Mapper&lt;/b&gt;&lt;br /&gt;This step is the most demanding in whole idea of creating 'Simulink Import'. It requires implementing compatibility patterns for evaluation functions and block representations (and there are a lot functions and block in simulink). In this part I'll create some clean XML migration schema and process it using JAXB (Java Architecture for XML Binding).&lt;br /&gt;All mapping will be conducted directly. Recursively accessed blocks (every block can be subsystem) will be decoded straight (just like in &lt;a href="http://gitweb.scilab.org/?p=scilab.git;a=commit;h=1f549a2ede0ab2740da75874ddcf1ac31184d686"&gt;io.scicos&lt;/a&gt;) to XcosDiagram via binded XML migration schema. Every element of Simulink diagram will be checked during decoding (in case of troubles proper logs should be made).&lt;br /&gt;&lt;br /&gt;We can make possible to manually correct the diagram after unsuccessful importation, that is why giving good feedback from mapper is even more important. After this stage of import we should have existing XcosDiagram structure.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-2754250828700253347?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/2754250828700253347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/05/under-hood.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/2754250828700253347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/2754250828700253347'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/05/under-hood.html' title='Under the hood'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_25wjbmJZqBE/TAQraL0qc3I/AAAAAAAAAzQ/p9VTth3nuug/s72-c/SimulinkModelDiagram.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-2287063905581401902</id><published>2010-05-25T19:19:00.000+02:00</published><updated>2010-05-31T23:51:07.568+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scilab'/><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>Simulink import</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;b&gt;Why?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;At this time migrating Xcos scheme to Simulink is almost impossible. It requires the user to create entire diagram from scratch. It is unacceptable for many reasons, such as&amp;nbsp;: great amount of time needed, required knowledge of both Simulink and Xcos, required license for Matlab/Simulink during whole (sometimes very long) migration process.&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt; &lt;b&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Look and feel&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Simulink import will be available to users via batch functions and menu entries.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt; &lt;/tt&gt;&lt;tt&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;sim2xcos('filename.mdl');&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; Translates and loads diagram from mdl file to new Xcos window.&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;sim2xcos('simulink file path', 'result path');&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; Translates diagram from .mdl file to .xcos file.&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt; &lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;sim2xcos();&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; Opens window with file selection, after file selection model is imported and opened in new Xcos  window.&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;scs_m = sim2xcos('filename.mdl');&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; Creates xcos_diagram from .mdl file.&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;tt&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;It can be also good idea to add 'display information mode' choice with verbose parameter.&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Simulink import will be also available as 'File menu' entry in Xcos:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_25wjbmJZqBE/S_wC7Vv7xHI/AAAAAAAAAzE/wu6Ggdx4FTo/s1600/ImportScreenCrop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="285" src="http://3.bp.blogspot.com/_25wjbmJZqBE/S_wC7Vv7xHI/AAAAAAAAAzE/wu6Ggdx4FTo/s320/ImportScreenCrop.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Nimbus Roman No9 L', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Selecting 'Import...' from menu will open import dialog:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_25wjbmJZqBE/S_wDRnrGhoI/AAAAAAAAAzI/kNu1HZqhfM8/s1600/Import2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="262" src="http://2.bp.blogspot.com/_25wjbmJZqBE/S_wDRnrGhoI/AAAAAAAAAzI/kNu1HZqhfM8/s320/Import2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;After selecting file with model, imported diagram will be opened in current Xcos window.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;It would be great to add 'Simulink import' to 'Matlab to Scilab translator'. 'Simulink import' will have to import every model called by matlab 'sim' function, and then run it with scicos_sim() and proper parameters.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Next part with 'Under the hood' coming soon...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-2287063905581401902?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/2287063905581401902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/05/simulink-import.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/2287063905581401902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/2287063905581401902'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/05/simulink-import.html' title='Simulink import'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_25wjbmJZqBE/S_wC7Vv7xHI/AAAAAAAAAzE/wu6Ggdx4FTo/s72-c/ImportScreenCrop.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-1636075502641725389</id><published>2010-04-30T14:41:00.000+02:00</published><updated>2010-04-30T16:21:08.338+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>I've been accepted to GSoC 2010</title><content type='html'>So the fun begins, over a few next weeks I'm going to work on my university projects, learn for exams, bound with Scilab community etc. But when 24th may comes I've got to be ready!&lt;br /&gt;&lt;br /&gt;Yesterday&amp;nbsp;morning I had first surprise concerning GSoC. The gsoc-students-mailing-list. It's hard to believe that all of these people got accepted. How will they get on with their mentors knowing nothing about &lt;a href="http://en.wikipedia.org/wiki/Netiquette"&gt;netiquette&lt;/a&gt;. Over a 130 e-mail messages, and 16 new threads filled with pure spam. I can't resist to quote my&amp;nbsp;favorite message here:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;i&gt;Hi,&lt;br /&gt;As We are student developers selected in a Google Event.Shouldn't program administrators ensure that Google search of our names give a Page with High Rank.&lt;br /&gt;For Example by putting a list of selected students on a&amp;nbsp;&lt;/i&gt;&lt;a href="http://www.google.com/" style="color: #7799bb;" target="_blank"&gt;&lt;i&gt;www.google.com&lt;/i&gt;&lt;/a&gt;&lt;i&gt;&amp;nbsp;domain page?&lt;br /&gt;This can highly motivate students and particiaption in future events.&lt;/i&gt;&lt;span class="Apple-style-span" style="font-family: Sans;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;Fortunately we have Michał (one of accepted students from Poland). Who cast a spell of spam transition:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;i&gt;If you enjoy using IRC (which by the way is very suitable to make real time introductions ;) ), you can try joining #gsoc-XX at&amp;nbsp;&lt;/i&gt;&lt;a href="http://irc.freenode.net/" style="color: #7799bb;" target="_blank"&gt;&lt;i&gt;irc.freenode.net&lt;/i&gt;&lt;/a&gt;&lt;i&gt;, where XX is a two letter country code of the country you reside in (or the country you are from). You can check your country code here&amp;nbsp;&lt;/i&gt;&lt;a href="http://en.wikipedia.org/wiki/Country_code" style="color: #7799bb;" target="_blank"&gt;&lt;i&gt;http://en.wikipedia.org/&lt;wbr&gt;&lt;/wbr&gt;wiki/Country_code&lt;/i&gt;&lt;/a&gt;&lt;i&gt;&amp;nbsp;.&lt;/i&gt;&lt;/span&gt;&lt;/blockquote&gt;It made mailing list usable again, what's more you can now join #gsoc-pl to discuss with accepted students from poland.&lt;br /&gt;&lt;br /&gt;Soon I'll try to write something about submitting a bug patch for Scilab, update my progress on all projects, maybe even show you my GSoC proposal. Stay tuned.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-1636075502641725389?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/1636075502641725389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/ive-been-accepted-to-gsoc-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/1636075502641725389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/1636075502641725389'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/ive-been-accepted-to-gsoc-2010.html' title='I&apos;ve been accepted to GSoC 2010'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-8049595044805061972</id><published>2010-04-16T19:52:00.000+02:00</published><updated>2010-04-16T22:38:14.083+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VideoSleep'/><category scheme='http://www.blogger.com/atom/ns#' term='sleep'/><title type='text'>Simple motion detection in Simulink.</title><content type='html'>&lt;div class="separator" style="clear: both;"&gt;&lt;/div&gt;Motion detection will be an important part of our video sleep analysis package. As the studies (1) show pure amount of movement (without recognition of individual parts of body) can be sufficient to recognize legs or arms motion. What's more, with some further analysis I hope I'll be able to distinguish respiratory waveform in the quantity of movement over time graph.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;So let's have a look at the simulink diagram I've created:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_25wjbmJZqBE/S8ilQedM8zI/AAAAAAAAAxU/eNUo9dFFgVw/s1600/ESDMIT.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="217" src="http://4.bp.blogspot.com/_25wjbmJZqBE/S8ilQedM8zI/AAAAAAAAAxU/eNUo9dFFgVw/s400/ESDMIT.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;I don't really have much&amp;nbsp;video footage&amp;nbsp;of sleeping people for now (but I'm going to record some when I get appropriate camera with night vision support). So to show you how my motion detection works I asked my friend and co-author of the Video Sleep package Michał to lie on the table for a while. Here are some results of our experiment:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-5a0920294c189693" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v24.nonxt6.googlevideo.com/videoplayback?id%3D5a0920294c189693%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331487047%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D723AC31AA72CF75847C487D98B989D6FE6D5E135.63BF3BE0ADC6073823D357CA16A95DF0485BD152%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D5a0920294c189693%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dx2Sps91CtQES_eeX_GQ1BEijltE&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v24.nonxt6.googlevideo.com/videoplayback?id%3D5a0920294c189693%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331487047%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D723AC31AA72CF75847C487D98B989D6FE6D5E135.63BF3BE0ADC6073823D357CA16A95DF0485BD152%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D5a0920294c189693%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dx2Sps91CtQES_eeX_GQ1BEijltE&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;And below, plot of movement over time:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_25wjbmJZqBE/S8ifsxh6JPI/AAAAAAAAAxQ/hyTPuJARVkU/s1600/sleep.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="298" src="http://3.bp.blogspot.com/_25wjbmJZqBE/S8ifsxh6JPI/AAAAAAAAAxQ/hyTPuJARVkU/s400/sleep.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;As you can see on the plot, every Michał move is registered, during whole recording he was moving and breathing as normally as he is able to :) but between 20 and 33 second he held his breath unnaturally (during sleep it may be a sympthom of sleep apnea).&lt;br /&gt;&lt;br /&gt;If you are interested in the topic of video sleep analysis it's worth to look at:&lt;br /&gt;(1)&amp;nbsp;&lt;a href="https://docs.google.com/viewer?url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F7218%2F19483%2F00900665.pdf"&gt;A Monitor for Posture Changes and Respiration in Bed Using Real Time Image Sequence Analysis&lt;/a&gt;&lt;br /&gt;&lt;i&gt;Kazuki Nakajima, Yoshiaki Matsumoto, Toshiyo Tamura&lt;/i&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Sans;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Sans;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Sans;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Sans;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Sans;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Sans;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;div style="font-family: Sans; font-size: medium;"&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Sans;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-8049595044805061972?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/8049595044805061972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/simple-motion-detection-in-simulink.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/8049595044805061972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/8049595044805061972'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/simple-motion-detection-in-simulink.html' title='Simple motion detection in Simulink.'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_25wjbmJZqBE/S8ilQedM8zI/AAAAAAAAAxU/eNUo9dFFgVw/s72-c/ESDMIT.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-6313087191742248882</id><published>2010-04-06T15:09:00.000+02:00</published><updated>2010-04-06T16:27:47.045+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='arch'/><category scheme='http://www.blogger.com/atom/ns#' term='scilab'/><category scheme='http://www.blogger.com/atom/ns#' term='FLOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>Scilab compilation under Archlinux</title><content type='html'>Last weekend, after a few hours I've finally managed to compile Scilab in my Arch. After the break I described all the problems I've encountered.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;I started with installing dependencies. All of them but PVM can be installed via pacman. To install PVM and to be able to make scilab without any -fPIC error you have to download PVM sources from http://www.csm.ornl.gov/pvm/, add following lines to your .bashrc:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export PVM_ROOT=/home/xendo/GSoC/pvm3 # location of pvm3 sources&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export PVM_ARCH=`$PVM_ROOT/lib/pvmgetarch`&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export PATH=$PVM_ROOT/lib:${PATH}&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export PATH=$PVM_ROOT/lib/$PVM_ARCH:${PATH}&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export PVM_RSH=/usr/bin/ssh&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;then simply make pvm with 'shared' parameter.&lt;br /&gt;Next I downloaded scilab sources, and prerequirements:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;git clone git://git.scilab.org/scilab scilab.sources&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;svn export --force --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/Linux/bin scilab.sources/scilab/bin&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;svn export --force --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/Linux/thirdparty scilab.sources/scilab/thirdparty&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;When I tried to ./configure I got following error:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;checking for h5JNIFatalError in -ljhdf5... no&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;configure: error: libjhdf5: Library missing (Cannot find symbol h5JNIFatalError). Check if libjhdf5 - C/Java (JNI) interface for HDF5 - is installed and if the version is correct. Note that you might have to update etc/librarypath.xml to provide the actual path the the JNI libraries.&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;To avoid this download binaries from scilab download page and then copy *hdf5* files from scilab_bin/lib/thirdparty to scilab_source/bin. After this you will be able to ./configure and make all.&lt;br /&gt;&lt;br /&gt;Next error showed up during make install, and it looked like this:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/bin/install: cannot stat `./examples/Project/Settings.Designer.vb': No such file or directory&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/bin/install -c -m 644 ./examples//call_scilab/NET/VB.NET/My xsci/modules/call_scilab/examples//call_scilab/NET/VB.NET&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/bin/install: cannot stat `./examples//call_scilab/NET/VB.NET/My': No such file or directory&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/bin/install -c -m 644 ./examples/Project/Settings.settings xsci/modules/call_scilab/examples/Project&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;Solution to this one is kind of weird, you have to copy all files from:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;scilab.sources/scilab/modules/call_scilab/examples/call_scilab/NET/VB.NET/My Project&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;to two other locations:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;scilab.sources/scilab/modules/call_scilab/examples/call_scilab/NET/VB.NET/My&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;scilab.sources/scilab/modules/call_scilab/examples/Project&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;This one took me a while to crack. And I wonder how it's possible that it hadn't showed up under ubuntu (if you know that, leave a comment).&amp;nbsp;After this I was able to successfully finish Scilab compilation process.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-6313087191742248882?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/6313087191742248882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/scilab-compilation-under-archlinux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/6313087191742248882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/6313087191742248882'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/scilab-compilation-under-archlinux.html' title='Scilab compilation under Archlinux'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-3189836088742185969</id><published>2010-04-04T14:45:00.000+02:00</published><updated>2010-04-04T15:04:06.885+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='arch'/><title type='text'>Running pacman from LiveCD</title><content type='html'>Not every Arch user knows that you can run pacman with an alternative installation root. It's very useful especially when you are using [testing] repo, while not reading carefully &lt;b&gt;arch-dev-public&lt;/b&gt;&amp;nbsp;mailing list. After a simple upgrade you can get something like this:&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;(&lt;a href="http://bbs.archlinux.org/viewtopic.php?id=94252&amp;amp;p=1"&gt;topic from bbs about this error&lt;/a&gt;) and find out that neither your X nor pacman is working.&lt;br /&gt;But don't panic! Enter your Arch LiveCD, log in as root, mount your system partition, disable testing repo, and run pacman do downgrade nonworking packages:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;fdisk -l&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;mount /dev/sda? /mnt/mountpoint&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;vi /mnt/mountpoint/etc/pacman.conf #comment testing repo for a while&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;pacman -S pacman -r /mnt/mountpoint&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-3189836088742185969?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/3189836088742185969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/running-pacman-from-livecd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/3189836088742185969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/3189836088742185969'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/running-pacman-from-livecd.html' title='Running pacman from LiveCD'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-7138907737018583246</id><published>2010-04-02T00:45:00.000+02:00</published><updated>2010-04-06T16:27:13.676+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scilab'/><category scheme='http://www.blogger.com/atom/ns#' term='FLOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='PL'/><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><category scheme='http://www.blogger.com/atom/ns#' term='translations'/><title type='text'>How easy is to translate open source project?</title><content type='html'>Nie wiem ilu z was próbowało kiedyś tłumaczyć jakiś projekt open source. Wiem natomiast, że większość z tych, którzy nie próbowali byłoby zaskoczonym jak łatwo można to robić. Wszystko dzięki &lt;a href="http://pl.wikipedia.org/wiki/Launchpad"&gt;launchpadowi&lt;/a&gt;&amp;nbsp;-&amp;nbsp;aplikacji sieciowej stworzonej przez Canonical&amp;nbsp;w celu ułatwienia utrzymywania projektów z otwartym kodem źródłowym. Przejdźmy może do rzeczy. Za przykład wezmę Scilaba jako, że mam nadzieje, że któryś z mentorów tegorocznego GSoC zajrzy na tego bloga i uzna, że to miło z mojej strony, że to akurat Scilaba promuje ;)&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_25wjbmJZqBE/S7UhGEtaPoI/AAAAAAAAAwo/yTCSEaTUgxw/s1600/launchpad.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="195" src="http://2.bp.blogspot.com/_25wjbmJZqBE/S7UhGEtaPoI/AAAAAAAAAwo/yTCSEaTUgxw/s640/launchpad.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;Na chwilę obecną w samym&amp;nbsp;&lt;a href="https://translations.launchpad.net/scilab/trunk/+lang/pl"&gt;Scilabie&lt;/a&gt; jest do przetłumaczenia około&amp;nbsp;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: 'bitstream vera sans', 'dejavu sans', verdana, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px;"&gt;3200&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-weight: bold; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;takich zwrotów, więc do dzieła wszyscy amatorzy dobrego tłumaczenia. A tak btw to słyszałem, że tłumaczenie projektów open source dobrze wygląda w CV!&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-7138907737018583246?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/7138907737018583246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/how-easy-is-to-translate-open-source.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/7138907737018583246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/7138907737018583246'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/04/how-easy-is-to-translate-open-source.html' title='How easy is to translate open source project?'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_25wjbmJZqBE/S7UhGEtaPoI/AAAAAAAAAwo/yTCSEaTUgxw/s72-c/launchpad.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-811682829414418783</id><published>2010-03-28T14:15:00.000+02:00</published><updated>2010-04-02T12:01:36.695+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scilab'/><category scheme='http://www.blogger.com/atom/ns#' term='xcos'/><category scheme='http://www.blogger.com/atom/ns#' term='studies'/><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>Ideas of development for Scilab</title><content type='html'>&lt;div&gt;&lt;a href="http://wiki.scilab.org/Contributor_-_Simulink_import"&gt;Simulink import&lt;/a&gt;&amp;nbsp;is one of the most interesting projects from &lt;a href="http://wiki.scilab.org/Ideas_of_development_for_Scilab"&gt;GSoC&lt;/a&gt;&amp;nbsp;list this year. It's challenging development problem:&lt;/div&gt;&lt;div&gt;- simulink file parser should be able to handle .mdl format changes,&lt;/div&gt;&lt;div&gt;- xcos and simulink function blocks, solvers and all other parameters differ in many ways and may differ even more in the future. It would be great if "simulink import" could adapt to possible changes,&lt;/div&gt;&lt;div&gt;- xcos lacks a lot of simulink functionality, this project can give scilab community feedback which simulink functionality users miss the most.&lt;/div&gt;&lt;div&gt;From the other side,&amp;nbsp;with improved &lt;a href="http://wiki.scilab.org/Contributor_-_m2sci"&gt;Matlab to Scilab conversion tools&lt;/a&gt;&amp;nbsp;and ability to import simulink files it will be possible to easily migrate&amp;nbsp;Matlab projects with Simulink simulations to Scilab/Xcos. This cannot be overestimated!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://en.wikipedia.org/wiki/Computer_vision"&gt;Computer Vision&lt;/a&gt; toolbox for Xcos is my own idea which I'll try to develop after GSoC.&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Visual_programming_language"&gt;Visual programming&lt;/a&gt; is awesome, and 'Computer Vision' was one of my&amp;nbsp;favorite courses, so bringing this two together sounds like a great idea. Implementing &lt;a href="http://sivp.sourceforge.net/"&gt;SIVP&lt;/a&gt;&amp;nbsp;functionality in Xcos will be good thing to start with, adding&amp;nbsp;&lt;a href="https://picoforge.int-evry.fr/cgi-bin/twiki/view/Gpucv/Web/GpuCV"&gt;GpuCV&lt;/a&gt;&amp;nbsp;abilities can be next step, and finally some &lt;a href="http://pl.wikipedia.org/wiki/FPGA"&gt;FPGA&lt;/a&gt;&amp;nbsp;support&amp;nbsp;(like &lt;a href="https://docs.google.com/viewer?url=http://www.xilinx.com/support/sw_manuals/sysgen_gs.pdf"&gt;System Generator&lt;/a&gt;) may be a great idea for my Master of Science thesis.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-811682829414418783?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/811682829414418783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/03/ideas-of-development-for-scilab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/811682829414418783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/811682829414418783'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/03/ideas-of-development-for-scilab.html' title='Ideas of development for Scilab'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5966105059231265310.post-6901631126262350333</id><published>2010-03-19T18:43:00.000+01:00</published><updated>2010-03-28T17:31:49.909+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>GSoC</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;I've decided to describe my way of becoming Google Summer of Code participant in 2010. I'm a student of Automatics and Robotics which is probably why I decided to apply, to one of the most engineer 'friendly' open source projects:&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;a href="http://www.scilab.org/"&gt;www.scilab.org&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;. About a month ago I subscribed to Scilab &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;a href="http://www.scilab.org/communities/developer_zone/tools/mailing_list"&gt;mailing lists&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&amp;nbsp;and I&amp;nbsp;started visiting their&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;a href="http://www.scilab.org/communities/developer_zone/tools/irc"&gt;irc channel&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;, I've also carefully studied&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;a href="http://wiki.scilab.org/Ideas_of_development_for_Scilab"&gt;list of scilab development ideas&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;P.S.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Yesterday the list of accepted mentoring organizations showed up on &lt;a href="http://socghop.appspot.com/gsoc/program/accepted_orgs/google/gsoc2010"&gt;GSoC page&lt;/a&gt;,&amp;nbsp;congratulations Scilab!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5966105059231265310-6901631126262350333?l=smartlaziness.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://smartlaziness.blogspot.com/feeds/6901631126262350333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://smartlaziness.blogspot.com/2010/03/gsoc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/6901631126262350333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5966105059231265310/posts/default/6901631126262350333'/><link rel='alternate' type='text/html' href='http://smartlaziness.blogspot.com/2010/03/gsoc.html' title='GSoC'/><author><name>Jerzy Zagórski</name><uri>https://profiles.google.com/105393713256198947794</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-yCgYNk80xJg/AAAAAAAAAAI/AAAAAAAAAAA/W5E9AWgAMDY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>
