Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://guedebyte.wordpress.com/feed/rss/

  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:atom="http://www.w3.org/2005/Atom"
  6. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8. xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
  9. >
  10.  
  11. <channel>
  12. <title>guedebyte</title>
  13. <atom:link href="https://guedebyte.blog/feed/" rel="self" type="application/rss+xml" />
  14. <link>https://guedebyte.blog</link>
  15. <description>Das Leben und die Gedanken von Guede</description>
  16. <lastBuildDate>Mon, 01 Feb 2021 21:48:16 +0000</lastBuildDate>
  17. <language>en</language>
  18. <sy:updatePeriod>
  19. hourly </sy:updatePeriod>
  20. <sy:updateFrequency>
  21. 1 </sy:updateFrequency>
  22. <generator>http://wordpress.com/</generator>
  23. <cloud domain='guedebyte.blog' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
  24. <image>
  25. <url>https://secure.gravatar.com/blavatar/c57b435a06f51a0cfde8c23e8090911f23660b957181a159e53893a19a66d731?s=96&#038;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fbuttonw-com.png</url>
  26. <title>guedebyte</title>
  27. <link>https://guedebyte.blog</link>
  28. </image>
  29. <atom:link rel="search" type="application/opensearchdescription+xml" href="https://guedebyte.blog/osd.xml" title="guedebyte" />
  30. <atom:link rel='hub' href='https://guedebyte.blog/?pushpress=hub'/>
  31. <item>
  32. <title>Simple and small success with Angular and Type-a-head</title>
  33. <link>https://guedebyte.blog/2021/02/01/simple-and-small-success-with-angular-and-type-a-head/</link>
  34. <comments>https://guedebyte.blog/2021/02/01/simple-and-small-success-with-angular-and-type-a-head/#comments</comments>
  35. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  36. <pubDate>Mon, 01 Feb 2021 21:37:44 +0000</pubDate>
  37. <category><![CDATA[OpenNTF]]></category>
  38. <guid isPermaLink="false">http://guedebyte.blog/?p=1252</guid>
  39.  
  40. <description><![CDATA[Sometimes, small things are very satifiying and enjoyable, and this one is such a thing. The setup / probleme / situation&#8230; You have this field, where you can select a user for your application. The behavior should be simple. You type the start of the first name and&#8230;. voilà all user are available as a [&#8230;]]]></description>
  41. <content:encoded><![CDATA[
  42. <p>Sometimes, small things are very satifiying and enjoyable, and this one is such a thing.</p>
  43.  
  44.  
  45.  
  46. <p><strong>The setup / probleme / situation&#8230;</strong></p>
  47.  
  48.  
  49.  
  50. <p>You have this field, where you can select a user for your application. The behavior should be simple. You type the start of the first name and&#8230;. voilà all user are available as a drop down. If you use Angular 11 and Material Design, your code for the HTML will look like this:<br></p>
  51.  
  52.  
  53.  
  54. <p><code>&lt;mat-form-field class="recipientSearch"&gt;</code><br><code>     &lt;input type="text" placeholder="Suche..." matInput <strong>formControlName="recipientSearch"</strong> [matAutocomplete]="auto" /&gt;</code><br><code>      &lt;mat-autocomplete #auto="matAutocomplete" (optionSelected)="select($event)"&gt;</code><br><code>        <strong>&lt;mat-option *ngFor="let recipient of filteredRecipients | async" </strong>[value]="recipient"&gt; &lt;div class="namePicker"&gt; &lt;img class="avatar" [src]="getProfileImage(recipient) | async" (error)="getAltPicture($event)" /&gt;&lt;span class="nameEntry"&gt;{{ recipient.displayValue }}&lt;/span&gt; &lt;/div&gt;</code><br><code>         &lt;/mat-option&gt; </code><br>           <code>&lt;/mat-autocomplete&gt; </code><br><code>&lt;/mat-form-field&gt;</code></p>
  55.  
  56.  
  57.  
  58. <p>2 Things to mention here:<br>&#8211; formControlName=&#8221;recipientSearch&#8221; means that we have in our controller a FormControl that is bound to the input field<br>&#8211; *ngFor=&#8221;let recipient for filteredRecipients | async&#8221; tells you that there is an observable with the result of the some service involved.</p>
  59.  
  60.  
  61.  
  62. <p>On the controller (typescript) side is the following code inplace:<br></p>
  63.  
  64.  
  65.  
  66. <p><code>this.recipientSearch.valueChanges.subscribe((value) =&gt; { </code><br>             <code>if (value === '') { </code><br>                  <code>this.filteredRecipients = of([]); </code><br>             <code>} else { </code><br>                  <code>this.filteredRecipients = this.userService.searchRecipient(value); </code><br>              <code>} </code><br><code>});</code></p>
  67.  
  68.  
  69.  
  70. <p>Very simple code. If a value is changed in the recipientSearch, we will get informed and we do call the userService to searchRecipient. And there we do some simple stuff and call the MS-Graph API via httpClient. Something like this here:</p>
  71.  
  72.  
  73.  
  74. <p><code>const graphUsersEndpoint = 'https://graph.microsoft.com/v1.0/users';</code><br><br><code>searchRecipient(search: string): Observable&lt;User[]&gt; { <br>    const searchQuery = graphUsersEndpoint + "?$filter=startswith(displayName,'" +</code><br>                <code> search + "') or startswith(mail,'" + search + "') or startswith(surname,'" + </code><br>                  <code>search + "')"; <br>    return this.httpClient.get&lt;User[]&gt;(searchQuery).pipe(map((val: any) =&gt; val.value)); <br>}</code></p>
  75.  
  76.  
  77.  
  78. <p>Not huge rocket science.. be aware to set the Bearer token correct (thats something for another blogpost). But there is an issue here. This pattern leads to building unused Oberservables. Let me show you with some slight code modification, what I mean:<br></p>
  79.  
  80.  
  81.  
  82. <figure class="wp-block-image size-large"><a href="https://guedebyte.files.wordpress.com/2021/02/grafik.png"><img width="1024" height="189" data-attachment-id="1258" data-permalink="https://guedebyte.blog/grafik/" data-orig-file="https://guedebyte.files.wordpress.com/2021/02/grafik.png" data-orig-size="1102,204" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2021/02/grafik.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2021/02/grafik.png?w=645" src="https://guedebyte.files.wordpress.com/2021/02/grafik.png?w=1024" alt="" class="wp-image-1258" srcset="https://guedebyte.files.wordpress.com/2021/02/grafik.png?w=1024 1024w, https://guedebyte.files.wordpress.com/2021/02/grafik.png?w=1021 1021w, https://guedebyte.files.wordpress.com/2021/02/grafik.png?w=150 150w, https://guedebyte.files.wordpress.com/2021/02/grafik.png?w=300 300w, https://guedebyte.files.wordpress.com/2021/02/grafik.png?w=768 768w, https://guedebyte.files.wordpress.com/2021/02/grafik.png 1102w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>
  83.  
  84.  
  85.  
  86. <p>I&#8217;m logging each generation of the Observable, with the following result in the console:<br></p>
  87.  
  88.  
  89.  
  90. <figure class="wp-block-image size-large"><a href="https://guedebyte.files.wordpress.com/2021/02/grafik-1.png"><img width="748" height="360" data-attachment-id="1260" data-permalink="https://guedebyte.blog/grafik-1/" data-orig-file="https://guedebyte.files.wordpress.com/2021/02/grafik-1.png" data-orig-size="748,360" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-1" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2021/02/grafik-1.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2021/02/grafik-1.png?w=645" src="https://guedebyte.files.wordpress.com/2021/02/grafik-1.png?w=748" alt="" class="wp-image-1260" srcset="https://guedebyte.files.wordpress.com/2021/02/grafik-1.png 748w, https://guedebyte.files.wordpress.com/2021/02/grafik-1.png?w=150 150w, https://guedebyte.files.wordpress.com/2021/02/grafik-1.png?w=300 300w" sizes="(max-width: 748px) 100vw, 748px" /></a></figure>
  91.  
  92.  
  93.  
  94. <p>Searching for John to find John Doe results in 4 Observables and based on my type speed and the Angular Componente Lifecycle, up to 4 calls to the Graph API will be made. To make this visible, I&#8217;ve changed the following code:<br></p>
  95.  
  96.  
  97.  
  98. <figure class="wp-block-image size-large"><a href="https://guedebyte.files.wordpress.com/2021/02/grafik-2.png"><img width="775" height="240" data-attachment-id="1263" data-permalink="https://guedebyte.blog/grafik-2/" data-orig-file="https://guedebyte.files.wordpress.com/2021/02/grafik-2.png" data-orig-size="775,240" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-2" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2021/02/grafik-2.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2021/02/grafik-2.png?w=645" src="https://guedebyte.files.wordpress.com/2021/02/grafik-2.png?w=775" alt="" class="wp-image-1263" srcset="https://guedebyte.files.wordpress.com/2021/02/grafik-2.png 775w, https://guedebyte.files.wordpress.com/2021/02/grafik-2.png?w=150 150w, https://guedebyte.files.wordpress.com/2021/02/grafik-2.png?w=300 300w, https://guedebyte.files.wordpress.com/2021/02/grafik-2.png?w=768 768w" sizes="(max-width: 775px) 100vw, 775px" /></a></figure>
  99.  
  100.  
  101.  
  102. <p>With the correspondig result:</p>
  103.  
  104.  
  105.  
  106. <figure class="wp-block-image size-large"><a href="https://guedebyte.files.wordpress.com/2021/02/grafik-3.png"><img loading="lazy" width="835" height="507" data-attachment-id="1264" data-permalink="https://guedebyte.blog/grafik-3/" data-orig-file="https://guedebyte.files.wordpress.com/2021/02/grafik-3.png" data-orig-size="835,507" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-3" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2021/02/grafik-3.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2021/02/grafik-3.png?w=645" src="https://guedebyte.files.wordpress.com/2021/02/grafik-3.png?w=835" alt="" class="wp-image-1264" srcset="https://guedebyte.files.wordpress.com/2021/02/grafik-3.png 835w, https://guedebyte.files.wordpress.com/2021/02/grafik-3.png?w=150 150w, https://guedebyte.files.wordpress.com/2021/02/grafik-3.png?w=300 300w, https://guedebyte.files.wordpress.com/2021/02/grafik-3.png?w=768 768w" sizes="(max-width: 835px) 100vw, 835px" /></a></figure>
  107.  
  108.  
  109.  
  110. <p>But how to eliminate this unwanted calls? Is there a way to delay or debounce my keyboard entries? You wont believe, but the solution is very simple and charming:<br></p>
  111.  
  112.  
  113.  
  114. <figure class="wp-block-image size-large"><a href="https://guedebyte.files.wordpress.com/2021/02/grafik-4.png"><img loading="lazy" width="1024" height="270" data-attachment-id="1266" data-permalink="https://guedebyte.blog/grafik-4/" data-orig-file="https://guedebyte.files.wordpress.com/2021/02/grafik-4.png" data-orig-size="1073,283" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-4" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2021/02/grafik-4.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2021/02/grafik-4.png?w=645" src="https://guedebyte.files.wordpress.com/2021/02/grafik-4.png?w=1024" alt="" class="wp-image-1266" srcset="https://guedebyte.files.wordpress.com/2021/02/grafik-4.png?w=1024 1024w, https://guedebyte.files.wordpress.com/2021/02/grafik-4.png?w=150 150w, https://guedebyte.files.wordpress.com/2021/02/grafik-4.png?w=300 300w, https://guedebyte.files.wordpress.com/2021/02/grafik-4.png?w=768 768w, https://guedebyte.files.wordpress.com/2021/02/grafik-4.png 1073w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>
  115.  
  116.  
  117.  
  118. <p>This simple construct of <strong>.pipe(debounceTime(500))</strong> has a huge effect on the value that is provided via subscribe. Inside the pipe, debounceTime acts as puffer that delays the output for 500ms if no new value is coming thru the pipe. Saying this, with my normal type speed, I get the following console output:<br></p>
  119.  
  120.  
  121.  
  122. <figure class="wp-block-image size-large"><a href="https://guedebyte.files.wordpress.com/2021/02/grafik-5.png"><img loading="lazy" width="759" height="303" data-attachment-id="1268" data-permalink="https://guedebyte.blog/grafik-5/" data-orig-file="https://guedebyte.files.wordpress.com/2021/02/grafik-5.png" data-orig-size="759,303" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="grafik-5" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2021/02/grafik-5.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2021/02/grafik-5.png?w=645" src="https://guedebyte.files.wordpress.com/2021/02/grafik-5.png?w=759" alt="" class="wp-image-1268" srcset="https://guedebyte.files.wordpress.com/2021/02/grafik-5.png 759w, https://guedebyte.files.wordpress.com/2021/02/grafik-5.png?w=150 150w, https://guedebyte.files.wordpress.com/2021/02/grafik-5.png?w=300 300w" sizes="(max-width: 759px) 100vw, 759px" /></a></figure>
  123.  
  124.  
  125.  
  126. <p><strong>Simple, charming and very effective. A good reason to understand Observables, pipes and the pipe operators from RxJS.</strong></p>
  127. ]]></content:encoded>
  128. <wfw:commentRss>https://guedebyte.blog/2021/02/01/simple-and-small-success-with-angular-and-type-a-head/feed/</wfw:commentRss>
  129. <slash:comments>1</slash:comments>
  130. <media:thumbnail url="https://guedebyte.files.wordpress.com/2021/02/grafik-5.png" />
  131. <media:content url="https://guedebyte.files.wordpress.com/2021/02/grafik-5.png" medium="image">
  132. <media:title type="html">grafik-5</media:title>
  133. </media:content>
  134.  
  135. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  136. <media:title type="html">guedebyte</media:title>
  137. </media:content>
  138.  
  139. <media:content url="https://guedebyte.files.wordpress.com/2021/02/grafik.png?w=1024" medium="image" />
  140.  
  141. <media:content url="https://guedebyte.files.wordpress.com/2021/02/grafik-1.png?w=748" medium="image" />
  142.  
  143. <media:content url="https://guedebyte.files.wordpress.com/2021/02/grafik-2.png?w=775" medium="image" />
  144.  
  145. <media:content url="https://guedebyte.files.wordpress.com/2021/02/grafik-3.png?w=835" medium="image" />
  146.  
  147. <media:content url="https://guedebyte.files.wordpress.com/2021/02/grafik-4.png?w=1024" medium="image" />
  148.  
  149. <media:content url="https://guedebyte.files.wordpress.com/2021/02/grafik-5.png?w=759" medium="image" />
  150. </item>
  151. <item>
  152. <title>If you use Prettier in Visual Studio Code and Angular Projects&#8230;.</title>
  153. <link>https://guedebyte.blog/2019/11/29/if-you-use-prettier-in-visual-studio-code-and-angular-projects/</link>
  154. <comments>https://guedebyte.blog/2019/11/29/if-you-use-prettier-in-visual-studio-code-and-angular-projects/#respond</comments>
  155. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  156. <pubDate>Fri, 29 Nov 2019 22:46:56 +0000</pubDate>
  157. <category><![CDATA[Development]]></category>
  158. <category><![CDATA[Angular]]></category>
  159. <category><![CDATA[Prettier]]></category>
  160. <category><![CDATA[TypeScript]]></category>
  161. <category><![CDATA[Visual Studio Code]]></category>
  162. <guid isPermaLink="false">http://guedebyte.blog/?p=1248</guid>
  163.  
  164. <description><![CDATA[Prettier is a very cool and nice tool for Visual Studio Code. It helps me to format my code in a nice way. But a change to the core of Prettier has driving me crazy in searching for the cause&#8230;. and a solution&#8230; I&#8217;m a fan of single quotes in my Typscript files. So TSlint [&#8230;]]]></description>
  165. <content:encoded><![CDATA[<p>Prettier is a very cool and nice tool for Visual Studio Code. It helps me to format my code in a nice way. But a change to the core of Prettier has driving me crazy in searching for the cause&#8230;. and a solution&#8230;</p>
  166. <p>I&#8217;m a fan of single quotes in my Typscript files. So TSlint is configured and Prettier is also configured to support me. But there was a change in the core of Prettier to support also .editorconfig. A file that exists in many of my Angular projects. The change in Prettiers core is now to ignore all my Visual Studio Code Settings for Prettier, once .editorconfig exists.</p>
  167. <p>The good news&#8230; Prettiers support some ideas mentioned at .editorconfig&#8217;s GitHub Page. And in this particular case the new value <code>quote_type = single</code>. I&#8217;ve to update all my projects now&#8230; but this is a good solution to go. I hope the Angular Team will implement this setting in the creation process of a new Angular project.</p>
  168. ]]></content:encoded>
  169. <wfw:commentRss>https://guedebyte.blog/2019/11/29/if-you-use-prettier-in-visual-studio-code-and-angular-projects/feed/</wfw:commentRss>
  170. <slash:comments>0</slash:comments>
  171. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  172. <media:title type="html">guedebyte</media:title>
  173. </media:content>
  174. </item>
  175. <item>
  176. <title>Learning and some explorations</title>
  177. <link>https://guedebyte.blog/2017/07/27/learning-and-some-explorations/</link>
  178. <comments>https://guedebyte.blog/2017/07/27/learning-and-some-explorations/#respond</comments>
  179. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  180. <pubDate>Thu, 27 Jul 2017 19:24:30 +0000</pubDate>
  181. <category><![CDATA[ThinkTank]]></category>
  182. <category><![CDATA[Cognitiv]]></category>
  183. <category><![CDATA[Kahnemann]]></category>
  184. <category><![CDATA[Machinlearning]]></category>
  185. <guid isPermaLink="false">http://guedebyte.blog/?p=1174</guid>
  186.  
  187. <description><![CDATA[Machine learning and cognitive computing is dominating in todays IT world everything. A long time, I had the impression that this is too much rocket sciences for my brain, and specially the part with big data did distract me. But as usual, when you start to dig into a topic, you figure out that the [&#8230;]]]></description>
  188. <content:encoded><![CDATA[<p>Machine learning and cognitive computing is dominating in todays IT world everything. A long time, I had the impression that this is too much rocket sciences for my brain, and specially the part with big data did distract me. But as usual, when you start to dig into a topic, you figure out that the rocket sciences is already done and the basic are easy to consume. Or in other words: <strong>There are giants and you can stand on their shoulders!</strong></p>
  189. <p>But there is also another component that did get my attention. Once I did understand the basic about a neutral network, I figured out that there are so many interesting books beside IT-related stuff about learning, that I already head read and they became relevant. Ono of my favorite is Daniel Kahnemanns, <a href="https://www.amazon.de/Thinking-Fast-Slow-Daniel-Kahneman/dp/0141033576/ref=pd_cp_14_1/258-1655055-6734334?_encoding=UTF8&amp;psc=1&amp;refRID=T4JQ7TX2MVK5AZP17NHF">Thinking: Fast and Slow</a>. Btw. this book is easy to read but very interesting, and this not always the case with authors that earned the Nobel Prize! Daniel Kahnemann is describing how we learn and that when we achieve a certain maturity in learned topic, our thinking is becoming incredible faster. Let me explain this with an example:</p>
  190. <p><em><strong>Shift gear</strong>! In Switzerland the most care are manual cars. So one of the first thing, you have to learn is how to shift gear. I remember very clear, how I did train this. Doing with full attention the complete sequence. But after I while, it became more common and then, I didn&#8217;t even have to think about it. It changed from a thing I&#8217;ve done with a huge effort to an effortless &#8220;no brainer&#8221;.</em></p>
  191. <p>Kahnemann state in his book, that you can achieve this maturity of effortless &#8220;no brainer&#8221; in your core expertise. So writing Java code is a no brainer, but I&#8217;m currently learning TypeScript, that need more my attention.</p>
  192. <p>But what are we doing with our brain, while we do the training? We are using our own neural network, to learn pattern and recognize patterns. Once we have learned the pattern (which could be a sequence of action to shift a gear, or writing Java Code), our brain switches back from learning to executing. Using the &#8220;programmed&#8221; neural network. And this network is in execution incredible fast! And with the execution, we are getting even more maturity in what we are doing. Now combine this knowledge with the observation that Kathy Sierra is presenting here:<br />
  193. <iframe class="youtube-player" width="560" height="315" src="https://www.youtube.com/embed/FKTxC9pl-WM?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe></p>
  194. <p>(I know I did already share this, but it&#8217;s so cool&#8230;)</p>
  195. <p>But here is the point. Machine learning has a lot to do with how we are learning. So it is important to understand our learning approaches. And it leads us to a next observation: <strong>we are not continuously learning</strong>. Once we have achieved a certain maturity, we do execute very fast, and we need some kind of reflection to review if the stuff we have learned is still accurate. And maybe we have to train our neural network for the next challenge.</p>
  196. <p>But let me share some observation and let my play a bit a prophet.</p>
  197. <ol>
  198. <li>We will see that trained neural networks will come to devices, we could not imagine and there the networks will &#8220;ennoble&#8221; data and support fast decisions.</li>
  199. <li>We will build feedback loops (In human terms: reflection and reviews) to train and improve this networks, but we will split the workload for training and execution. Training will be done in huge data center, while the execution of a network will be as near as possible to the point where data are measured /happens</li>
  200. <li>We will see that trainings will start depend on &#8220;trained&#8221; basic functions. Like letters to words to sentences.</li>
  201. </ol>
  202. <p>But there is another thing, I&#8217;m observing: My son Simon and my son David have different learning approaches. Simon is the <em>trial and error type</em> of learner. When he learned to walk, he did stand up and tumble until he did get it. David is the &#8220;<em>I can&#8217;t until I can</em>&#8221; type. Means he is NOT training him self with trail and error. He did not stand up and tumble. He did stand up and start walking. He did not train to say words, he started to talk.</p>
  203. <p>There must also be a way, how you can jump over this &#8220;trail and error&#8221; phase, direct to success. Means learning could be more &#8220;effort less&#8221;.  And this last thing, I want to share. David is not in school, he <strong>cannot read</strong>, but he is a passionate &#8220;Ticket to Ride&#8221; Player. A game where you have to &#8220;read&#8221; locations and build connections between locations by acquiring the routes. So his neural network is capable to <strong>recognize</strong> the pattern of city names, <strong>combine</strong> them to the spoken city name, without reading the letter. That&#8217;s very cool, and that&#8217;s what computers also doing <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  204. <p>And as always</p>
  205. <p>Have Fun!</p>
  206. <p><em>(Because Fun is the best precondition to learn)</em></p>
  207. <p>&nbsp;</p>
  208. ]]></content:encoded>
  209. <wfw:commentRss>https://guedebyte.blog/2017/07/27/learning-and-some-explorations/feed/</wfw:commentRss>
  210. <slash:comments>0</slash:comments>
  211. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  212. <media:title type="html">guedebyte</media:title>
  213. </media:content>
  214. </item>
  215. <item>
  216. <title>OpenSky Computing</title>
  217. <link>https://guedebyte.blog/2017/06/24/opensky-computing/</link>
  218. <comments>https://guedebyte.blog/2017/06/24/opensky-computing/#comments</comments>
  219. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  220. <pubDate>Fri, 23 Jun 2017 23:04:13 +0000</pubDate>
  221. <category><![CDATA[ThinkTank]]></category>
  222. <guid isPermaLink="false">http://guedebyte.blog/?p=1126</guid>
  223.  
  224. <description><![CDATA[In today&#8217;s world, everybody is talking about the Cloud. If people talk about Cloud, they are talking in the most case about the location where data are processed and stored. In the mean time, while the &#8220;common&#8221; people are adopting the concept of Cloud Computing, Fog Computing or Edge Computing is the new upcoming term. [&#8230;]]]></description>
  225. <content:encoded><![CDATA[<p>In today&#8217;s world, everybody is talking about the Cloud. If people talk about Cloud, they are talking in the most case about the <strong>location</strong> where data are processed and stored.</p>
  226. <p>In the mean time, while the &#8220;common&#8221; people are adopting the concept of Cloud Computing, <a href="https://en.wikipedia.org/wiki/Fog_computing">Fog Computing</a> or Edge Computing is the new upcoming term. Fog Computing is a concept that seems to be driven by the IoT Movement. Fog Computing brings the power of data refinement to the sensors. For several reasons:</p>
  227. <ol>
  228. <li>There is a huge amount of data that could be processed before they are transmitted to the cloud</li>
  229. <li>Processing the data on the device / sensors gives you the capability to intercept and react in the right moment!</li>
  230. <li>It reduces the amount of data that has to be transmitted to the cloud and processed in the cloud.</li>
  231. <li>It limits also some security issues.</li>
  232. </ol>
  233. <p>But is Fog Computing the final solution? It will implement a lot of new problems, that the cloud has solved. One of them is &#8220;How to have all my sensor updated with the most recent release and machine Learning algorithm&#8221;. This will bring us to the point, where we have to start to think about Cloud Computing as a delivery model rather than a location.</p>
  234. <p><strong>Cloud as a location, will never solve the data residency issues</strong>. And to be honest the current political movement stands not for openness, but more for protection of your data and business processes. In a time where the economic war country against country has restarted, data residency is becoming more important. But not only this is a major impact. The Cloud as a delivery model has a bright future. The change to a micro service based approach in cooperation with a containerized delivery model, will let software vendors deliver their solution in the same easy way as it is to deploy the same code to their Cloud.</p>
  235. <p>But we need <strong>OpenSky Computing</strong>. Why OpenSky Computing? I will try to illustrate it. When I heard the first time about Cloud Computing, my first word association was &#8220;rain&#8221; but not only rain, storm and disaster came also a cross my mind. Having my data and processes somewhere in the Cloud (Cloud as a location) was and is still scary. But to make the things more complex, Fog Computing is coming. Fog&#8230; sorry <strong>in the Fog you get lost</strong>! Cloud, Rain, Storm, Fog, disaster, NO NO NO. We need clarity! We need an OpenSky, where we have light on our data, business logic and processes. But even more, if we want touch the stars, Clouds and Fog prevent us to see the sky.</p>
  236. <p>I know,  a great <span id="result_box" class="short_text" lang="en"><span class=""> game with word associations</span></span>, but think more about this. Cloud is a great delivery model and helps to reduce the cost of development and deployment. Fog / Edge Computing helps us to refine data at the moment when they are happening. I saw at the EnterJS (@enterjsconf) Conference JavaScript code executing a neural network in the browser (by @CarmenPopoviciu). And here is the point, not the training was done in the browser, only the trained network was executed in the browser. Now think the next step. We can train neural network on big machines and once they understand the domain, we can distribute the trained network to small devices&#8230;.</p>
  237. <p>&#8230; and all in my body is crying: If software is becoming such a huge impact on our life, we need clarity what is happening where! OpenSky Computing should solve this problem and give you back the power of choice. No matter what service you want to use, you should be capable to define the location where the service is execute, as you should be capable to define the data residency. And at your fingertip, you should be able to tell where are you data, processes and business logic.</p>
  238. <p>Time to dream about stars!</p>
  239. ]]></content:encoded>
  240. <wfw:commentRss>https://guedebyte.blog/2017/06/24/opensky-computing/feed/</wfw:commentRss>
  241. <slash:comments>1</slash:comments>
  242. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  243. <media:title type="html">guedebyte</media:title>
  244. </media:content>
  245. </item>
  246. <item>
  247. <title>The IBM Domino Developer Edition &#8211; It&#8217;s coming in Q3 &#8211; finally ;)</title>
  248. <link>https://guedebyte.blog/2017/05/11/the-ibm-domino-developer-edition-its-coming-in-q3-finally/</link>
  249. <comments>https://guedebyte.blog/2017/05/11/the-ibm-domino-developer-edition-its-coming-in-q3-finally/#respond</comments>
  250. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  251. <pubDate>Thu, 11 May 2017 11:35:54 +0000</pubDate>
  252. <category><![CDATA[OpenNTF]]></category>
  253. <guid isPermaLink="false">http://guedebyte.blog/?p=1073</guid>
  254.  
  255. <description><![CDATA[Antwerp &#8211; Engage, 1st Day: What an important announcement, there will be a free for non production use licence of the latest and greatest IBM Domino Server. No time bomb and the only limitation is the usage. The purpose of this licence is very simple: Developers of all kind and nature are getting access to [&#8230;]]]></description>
  256. <content:encoded><![CDATA[<p>Antwerp &#8211; Engage, 1st Day: What an important announcement, there will be a free for non production use licence of the latest and greatest IBM Domino Server. No time bomb and the only limitation is the usage. The purpose of this licence is very simple: Developers of all kind and nature are getting access to the huge ecosystem of IBM Notes/Domino/XPages Application Development.</p>
  257. <p>With this announcement, a dream comes true: It&#8217;s about equality and same possibilities comparing with any other development platform. This removes the barriers for young students to choose IBM Domino as their developement platform. If you want to give Domino / XPages a try, here you are, no costs, no limits.</p>
  258. <p>Some may say &#8211; <strong>It&#8217;s too late! </strong>Probably yes, but the way how the world of app development has changed, to todays micro service focused way of doing things with containers and NodeJS in the middle of all thinking, would happen anyway. I believe it&#8217;s not too late. It is right on time: We have millions of Notes Applications out there, serving a good job to their users. Some of them need only some kind of a face lifting and a transformation to become a micro service. And of course, they should be accessible via Web browser and become integrable in today&#8217;s world.</p>
  259. <p>With the announcement, we are capable to get the right people on board to do this job. Because any application in today&#8217;s world that serves a good job to the business has a price less value, no matter how complex they are! And now think about this: There is a project out there on OpenNTF (called <a href="https://openntf.org/main.nsf/project.xsp?r=project/SmartNSF/">SmartNSF</a>) to help you preserve the Business Logic of a Notes Application and expose it as a REST API. The &#8220;only&#8221; thing that has to be done is defining this API in a single file and building a new accurate Web UI! But even think more&#8230; This approach encapsulate your NSF to a micro service with a huge business value.</p>
  260. <p>But for this we need Developers with knowledge of IBM Domino and the market with this huge amount of Notes Application is big. Even companies which have left IBM Domino since years (to another mail platform) do have remaining applications. Rebuilding such applications from scratch is because of the amount of work and knowledge, the time and the available money nearly impossible! Why not transforming them to a micro service?</p>
  261. <p>But for today one point of the bucket list is done. The following are remaining:</p>
  262. <ol>
  263. <li>Docker Support for IBM Domino (only the support, the community knows how to do it)</li>
  264. <li>Authentication Framework which extends the DSAPI Filter do a OSGI Container</li>
  265. <li>Application based running licence (like XWorkServer)</li>
  266. </ol>
  267. <p>&nbsp;</p>
  268. <p>Have Fun!</p>
  269. <p>Christian</p>
  270. ]]></content:encoded>
  271. <wfw:commentRss>https://guedebyte.blog/2017/05/11/the-ibm-domino-developer-edition-its-coming-in-q3-finally/feed/</wfw:commentRss>
  272. <slash:comments>0</slash:comments>
  273. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  274. <media:title type="html">guedebyte</media:title>
  275. </media:content>
  276. </item>
  277. <item>
  278. <title>Watson Workspace &#038; Work Services needs Code, Code, Code, Community, Code, Code and even more Code and Community&#8230;.</title>
  279. <link>https://guedebyte.blog/2016/10/28/watson-workspace-work-services-needs-code-code-code-community-code-code-and-even-more-code-and-community/</link>
  280. <comments>https://guedebyte.blog/2016/10/28/watson-workspace-work-services-needs-code-code-code-community-code-code-and-even-more-code-and-community/#respond</comments>
  281. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  282. <pubDate>Fri, 28 Oct 2016 19:51:18 +0000</pubDate>
  283. <category><![CDATA[Community]]></category>
  284. <category><![CDATA[Development]]></category>
  285. <category><![CDATA[IBM]]></category>
  286. <category><![CDATA[Java]]></category>
  287. <category><![CDATA[OpenNTF]]></category>
  288. <guid isPermaLink="false">http://guedebyte.wordpress.com/?p=1068</guid>
  289.  
  290. <description><![CDATA[IBM has give us glimpse of their plans for the future. IBM has understand the power of conversation. Everything mankind has ever done is based on conversation. Ideas, Research, Progress, Contracts, Family, Love and even Dispute, Conflicts and Wars are based on Conversation. Conversations are the base of our human being. You can believe it [&#8230;]]]></description>
  291. <content:encoded><![CDATA[<p>IBM has give us glimpse of their plans for the future. IBM has understand the power of conversation. Everything mankind has ever done is based on conversation. Ideas, Research, Progress, Contracts, Family, Love and even Dispute, Conflicts and Wars are based on Conversation. Conversations are the base of our human being. You can believe it or not, but God himself use conversation as part of his creation process. God speaks and thing happens. And so we do to. We speak, make plans and then things happens. But Conversation is a chaotic process. Sometimes it follows some rules, but that&#8217;s not the nature of conversation. Imagine computer could follow our conversation, could summaries, could give us advises what kind of action we have to do to fulfill our plans. How powerful would this kind of cognitive capabilities be.</p>
  292. <p>Having BigData and the capability to analyse this data is great. Making strong decision based on this result, also great and needed in our world. But understanding conversations&#8230;. that&#8217;s a complete different story. And IBM has made the first move to enter to this story by releasing the Preview of IBM Watson Workspace. And with the release of IBM Watson Workspace, we as Developers became also access to the public API. And as Developers, we ask always for documentation, and yes there is documentation. But take a look at the following conversation that Paul Withers and I had during developing our first prototype:</p>
  293. <p><a href="https://guedebyte.files.wordpress.com/2016/10/slack-watson.png"><img loading="lazy" data-attachment-id="1069" data-permalink="https://guedebyte.blog/2016/10/28/watson-workspace-work-services-needs-code-code-code-community-code-code-and-even-more-code-and-community/slack-watson/" data-orig-file="https://guedebyte.files.wordpress.com/2016/10/slack-watson.png" data-orig-size="947,928" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="slack-watson" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2016/10/slack-watson.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2016/10/slack-watson.png?w=645" class="alignleft size-large wp-image-1069" src="https://guedebyte.files.wordpress.com/2016/10/slack-watson.png?w=645" alt="slack-watson" width="645" height="632" srcset="https://guedebyte.files.wordpress.com/2016/10/slack-watson.png?w=645 645w, https://guedebyte.files.wordpress.com/2016/10/slack-watson.png?w=150 150w, https://guedebyte.files.wordpress.com/2016/10/slack-watson.png?w=300 300w, https://guedebyte.files.wordpress.com/2016/10/slack-watson.png?w=768 768w, https://guedebyte.files.wordpress.com/2016/10/slack-watson.png 947w" sizes="(max-width: 645px) 100vw, 645px" /></a>The fun part was, that all the info that I gave to Paul came to me by two approaches.</p>
  294. <ol>
  295. <li>I had read the documentation</li>
  296. <li>I had tinkered with the API and found the solution by myself</li>
  297. </ol>
  298. <p>But I&#8217;ve als to give credits to Luis Benitez who convinced my with his explanations that the way I&#8217;ve done it, was the right way. My learning curve and also Paul&#8217;s Learning curve where part of a conversation and also part of a community approach.</p>
  299. <p>To unleash the power of Watson Workspace its a must to have a community. Watson Workspace is not &#8220;another chat tool&#8221;, it should become the place where conversations happens and conversations can be analyzed with the cognitive capabilities of Watson Work Services.</p>
  300. <p>But how to build a community? Do we have to multiply the conversation that Luis, Paul and I had? Writing Blog Posts? What is the UNIQUE and UNIVERSAL Language of an Open Source Community? You wont belief. It&#8217;s Code. Code, Samples, Snippets. Code is one of the purest form of conversation. If you write a Unit test, you express yourself what you expect to see that your code will do. To learn an API, we do not need to understand all the concepts and Ideas at first, we need simple, nice and well designed code.</p>
  301. <p>Lets start to build code! Let&#8217;s start build a community! Here is my first code sample in Python: <a href="https://github.com/OpenCode4Workspace/WWAPI" rel="nofollow">https://github.com/OpenCode4Workspace/WWAPI</a></p>
  302. <p>Have Fun</p>
  303. <p>Christian</p>
  304. <p>&nbsp;</p>
  305. <p>One last thing. Watch this video and try to understand why I want to be more focused on providing code:</p>
  306. <p><iframe class="youtube-player" width="645" height="363" src="https://www.youtube.com/embed/FKTxC9pl-WM?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe></p>
  307. ]]></content:encoded>
  308. <wfw:commentRss>https://guedebyte.blog/2016/10/28/watson-workspace-work-services-needs-code-code-code-community-code-code-and-even-more-code-and-community/feed/</wfw:commentRss>
  309. <slash:comments>0</slash:comments>
  310. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  311. <media:title type="html">guedebyte</media:title>
  312. </media:content>
  313.  
  314. <media:content url="https://guedebyte.files.wordpress.com/2016/10/slack-watson.png?w=645" medium="image">
  315. <media:title type="html">slack-watson</media:title>
  316. </media:content>
  317. </item>
  318. <item>
  319. <title>XPages Designer Plugin 4 Eclipse &#8211; The Basics!</title>
  320. <link>https://guedebyte.blog/2016/04/02/xpages-designer-plugin-4-eclipse-the-basics/</link>
  321. <comments>https://guedebyte.blog/2016/04/02/xpages-designer-plugin-4-eclipse-the-basics/#comments</comments>
  322. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  323. <pubDate>Sat, 02 Apr 2016 16:26:46 +0000</pubDate>
  324. <category><![CDATA[Java]]></category>
  325. <category><![CDATA[OpenNTF]]></category>
  326. <category><![CDATA[XPages]]></category>
  327. <guid isPermaLink="false">http://guedebyte.wordpress.com/?p=1011</guid>
  328.  
  329. <description><![CDATA[First, and please keep it in mind, I&#8217;m talking about XPages. Nothing more, nothing else. Some years ago, in an open discussion between the XPages Community and the XPages Development Team, we agreed that it would have a huge value, to have a XPages Designer which is based on the latest and greatest Eclipse Release [&#8230;]]]></description>
  330. <content:encoded><![CDATA[<p>First, and please keep it in mind, I&#8217;m talking about XPages. Nothing more, nothing else. Some years ago, in an open discussion between the XPages Community and the XPages Development Team, we agreed that it would have a huge value, to have a XPages Designer which is based on the latest and greatest Eclipse Release and can be installed as Plugin / Addon.</p>
  331. <p>But where to start? Try to make the IBM Domino Designer loadable from Eclipse? Extract the relevant Plugins from the IBM Domino Designer and make them installable? Or? All this approaches seems to be a pain. So I started to RETHINK the whole stuff.</p>
  332. <h1>What does the IBM Domino Designer make, when he has to build an XPages Application?</h1>
  333. <ol>
  334. <li>Convert all XPages / CustomControls to Java Files</li>
  335. <li>Compile all Java Files to classes</li>
  336. <li>Attach all the results in the .NSF Files on the right place</li>
  337. </ol>
  338. <p>You think this is too simple? Things are become complex without our help <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> But let&#8217;s assume that this is the way how the IBM Domino Designer builds the XPages Stuff. If you want to proof it, open a Notes Application in the navigator view in the IBM Domino Designer and you will find the following:</p>
  339. <p><img loading="lazy" data-attachment-id="1027" data-permalink="https://guedebyte.blog/2016/04/02/xpages-designer-plugin-4-eclipse-the-basics/xpde-01/" data-orig-file="https://guedebyte.files.wordpress.com/2016/04/xpde-01.png" data-orig-size="502,854" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="xpde-01" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2016/04/xpde-01.png?w=176" data-large-file="https://guedebyte.files.wordpress.com/2016/04/xpde-01.png?w=502" class="alignnone size-full wp-image-1027" src="https://guedebyte.files.wordpress.com/2016/04/xpde-01.png" alt="xpde-01" width="502" height="854" srcset="https://guedebyte.files.wordpress.com/2016/04/xpde-01.png 502w, https://guedebyte.files.wordpress.com/2016/04/xpde-01.png?w=88&amp;h=150 88w, https://guedebyte.files.wordpress.com/2016/04/xpde-01.png?w=176&amp;h=300 176w" sizes="(max-width: 502px) 100vw, 502px" /></p>
  340. <p>Adminsettings.xsp becomse Adminsettings.java (xsp Package) and then Adminsettings.class &amp; Adminsettings$AdminsettingsPage.class</p>
  341. <p>So how does the IBM Domino Designer this? And is there some special knowledge needed to figure this out? I try to explain it with a simple example. The XPages is an XML file, which describes the combination of Components. Lets assume we have in that file the component . The IBM Domino Designer parse this file and will hit the  tag. Based on the xp the IBM Domino Designer searchs all Plugins that are responsible for the XP prefix. If you build your own Plugin, you have to specify an own namespace, like wgcpoi. wgcpoi holds all tags for POI4XPages. But lets go on with the xp:panel. It will figure out which plugin is responsible and the .xsp-config file in the plugin describes what with a panel tag has to be done. It will figure out that a panel tag is hold be a component and it will also give back the name of the class that is responsible for the xp:panel.</p>
  342. <p>With the knowledge of the class name, the IBM Domino Designer build a function that creates a UIComponent (the root of all components) and instantiate the class like this</p>
  343. <pre>private UIComponent createPanel(....) {
  344.          UIPanelEx panel = new UIPanelEx();
  345.          panel.setId("myId");
  346.          panel.setStyleClass("superstyle");
  347.          return panel;
  348. }</pre>
  349. <p>For each property that is defined in the XML there is a corresponding setter defined in the .xsp-conf. This is the way how the designer builds the Java .class. I know it sounds simple, but there is some more complexity.</p>
  350. <p>Now this class is be compiled and then the whole package is stored in the .NSF.</p>
  351. <h1>Already open sourced!</h1>
  352. <p>The fun part now is, that the transformation of .xsp -&gt; .java is already open sourced. It is in the <a href="https://www.openntf.org/main.nsf/project.xsp?r=project/XPages%20Bazaar" target="_blank">XPages Bazaar</a> available.</p>
  353. <h1>XPages Designer Plugin 4 Eclipse</h1>
  354. <p>Based on all this I&#8217;ve builded an Eclipse Plugin that does the following:</p>
  355. <ol>
  356. <li>Build an NSF like project structure</li>
  357. <li>Transform .xsp -&gt; .java</li>
  358. <li>Compile .java -&gt; .class</li>
  359. <li>Build a .xpjar of all the files and publish this to a IBM Domino Server with some build instructions</li>
  360. </ol>
  361. <p>On the IBM Domino Server runs a Plugin that receives the .xpjar File (via http) and does</p>
  362. <ol>
  363. <li>Parse the build instructions (JSON)</li>
  364. <li>Access or create the target Database</li>
  365. <li>Loop thru the .xpjar and produce the neede &#8220;Note&#8221; Documents in the NSF to store the produced and compiled files.</li>
  366. </ol>
  367. <p>While I get you some Insides now, I&#8217;m working on the first Alpha release. All I&#8217;ve pointed out works like a charm, but the preparation of the environment is not &#8220;Alpha&#8221; ready. But stay tuned <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  368. <p>And have fun</p>
  369. <p>Christian</p>
  370. <p>&nbsp;</p>
  371. ]]></content:encoded>
  372. <wfw:commentRss>https://guedebyte.blog/2016/04/02/xpages-designer-plugin-4-eclipse-the-basics/feed/</wfw:commentRss>
  373. <slash:comments>3</slash:comments>
  374. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  375. <media:title type="html">guedebyte</media:title>
  376. </media:content>
  377.  
  378. <media:content url="https://guedebyte.files.wordpress.com/2016/04/xpde-01.png" medium="image">
  379. <media:title type="html">xpde-01</media:title>
  380. </media:content>
  381. </item>
  382. <item>
  383. <title>Building NSF using the maven headlessdesigner plugin from OpenNTF</title>
  384. <link>https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/</link>
  385. <comments>https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/#comments</comments>
  386. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  387. <pubDate>Sat, 26 Mar 2016 22:01:49 +0000</pubDate>
  388. <category><![CDATA[Java]]></category>
  389. <category><![CDATA[Maven]]></category>
  390. <category><![CDATA[OpenNTF]]></category>
  391. <category><![CDATA[XPages]]></category>
  392. <guid isPermaLink="false">http://guedebyte.wordpress.com/?p=966</guid>
  393.  
  394. <description><![CDATA[Sometimes I think it would be good to have an assistant who does finalize all my tasks. Specially the tasks, I was not aware that I did not deliver all information to the community. And what a shame, one of my most favorite project was such an unfinished business. The real bad thing was, I [&#8230;]]]></description>
  395. <content:encoded><![CDATA[<p>Sometimes I think it would be good to have an assistant who does finalize all my tasks. Specially the tasks, I was not aware that I did not deliver all information to the community. And what a shame, one of my most favorite project was such an unfinished business. The real bad thing was, I didn&#8217;t blog about how to use all the code I&#8217;ve developed while I was last time in Ireland to meet my friends at IBM.</p>
  396. <p>But a nice blog post by Eric McCormick (<a href="https://edm00se.io/xpages/headless-dde-and-jenkins/" rel="nofollow">https://edm00se.io/xpages/headless-dde-and-jenkins/</a>) reminds me about my duties. Now Eric, time to explain you how simple you can build full XPages Applications with the headlessdesigner-maven-plugin:</p>
  397. <p>The Project Setup</p>
  398. <p>I&#8217;m using the JUnit4XPages Project to explain how to build the example database with the headlessdesigner-maven-plugin. This project is fully mavenized and uses the tycho plugins to build the plugins, feature and the updatesite. The project is with a parent &#8211; child structure organized. The following stuff in the parent is relevant for the building of the XPages Application:</p>
  399. <p><img loading="lazy" data-attachment-id="975" data-permalink="https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/2016-03-26_22-08-18/" data-orig-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-08-18.png" data-orig-size="780,319" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="2016-03-26_22-08-18" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-08-18.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-08-18.png?w=645" class="alignnone size-full wp-image-975" src="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-08-18.png" alt="2016-03-26_22-08-18" width="780" height="319" srcset="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-08-18.png 780w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-08-18.png?w=150&amp;h=61 150w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-08-18.png?w=300&amp;h=123 300w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-08-18.png?w=768&amp;h=314 768w" sizes="(max-width: 780px) 100vw, 780px" /></p>
  400. <p>ddehd.designerexec and ddehd.notesdata are in this example &#8220;externalized&#8221; to the environment variables notes-designer and notes-data. Both values are import to invoke the headlessdesigner-maven-plugin. With mvn clean install -Dnotes-designer= -Dnotes-data= can the build be customized.</p>
  401. <p><img loading="lazy" data-attachment-id="979" data-permalink="https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/2016-03-26_22-09-05/" data-orig-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-09-05.png" data-orig-size="607,479" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="2016-03-26_22-09-05" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-09-05.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-09-05.png?w=607" class="alignnone size-full wp-image-979" src="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-09-05.png" alt="2016-03-26_22-09-05" width="607" height="479" srcset="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-09-05.png 607w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-09-05.png?w=150&amp;h=118 150w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-09-05.png?w=300&amp;h=237 300w" sizes="(max-width: 607px) 100vw, 607px" /></p>
  402. <p>There is an additional profile, which is only executed if the notes-designer variable is seted. This has the good behavior, that the NSF is only build, if you have specified the location of your IBM Domino Designer. The module org.openntf.junit.odp is with purpose at the end of the  sequence, because we need the updatesite first.</p>
  403. <p>The org.openntf.junit.odp contains in the sub directory &#8220;on-disk-project&#8221; the on-disk representation of the NSF, which means all the code. This Code need the org.openntf.junit.xsp.feature installed on the IBM Domino Designer environment to build. This is the reason, why we build the updatesite before.</p>
  404. <p>The headlessdesigner-maven-plugin supports the deployment of the feature. The pom.xml for org.openntf.junit.xsp.odp looks like this:</p>
  405. <p><img loading="lazy" data-attachment-id="986" data-permalink="https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/2016-03-26_22-07-40/" data-orig-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png" data-orig-size="1205,885" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="2016-03-26_22-07-40" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png?w=645" class="alignnone size-full wp-image-986" src="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png" alt="2016-03-26_22-07-40" width="1205" height="885" srcset="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png 1205w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png?w=150&amp;h=110 150w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png?w=300&amp;h=220 300w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png?w=768&amp;h=564 768w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png?w=1024&amp;h=752 1024w" sizes="(max-width: 1205px) 100vw, 1205px" /></p>
  406. <p>ddehd.odpdirectory points to the on-disk-project. Pro Tip: Take this in a subdirectory otherwise the IBM Domino Designer eats your pom.xml ;).</p>
  407. <p>ddehd.targetdatabasename contains the name of your resulting database.</p>
  408. <p>maven.build.timestamp.format is used to build a timestamp that matches the format of the feature.</p>
  409. <p>feature.url points to the file location of the updatesite. This is very powerful, because you can also point to a URL and I think also to a p2 repository. This means for XPages Application, you are capable to point to all the updatesites of the dependencies you have (yes there is a reason why every new plugin project at OpenNTF should have a p2 repository, and why we push them on the openntf.org website, more about this later)</p>
  410. <p>feature.version calculates the current version number. We are using for this the org.codehouse.mojo / build-helper-maven-plugin</p>
  411. <p>In the plugins section is the org.openntf.maven / headlessdesigner-maven-plugin with all additional configurations. I want to point to the features / feature block, where you can define all the features that has to be installed for the headless designer to be able to build your application.</p>
  412. <p>templateBuildNames and templateBuildVersion is a powerful add-on from Jesse Gallagher and results in the following information on the database:<img loading="lazy" data-attachment-id="996" data-permalink="https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/2016-03-26_22-14-32/" data-orig-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-14-32.png" data-orig-size="296,548" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="2016-03-26_22-14-32" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-14-32.png?w=162" data-large-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-14-32.png?w=296" class="alignnone size-full wp-image-996" src="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-14-32.png" alt="2016-03-26_22-14-32" width="296" height="548" srcset="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-14-32.png 296w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-14-32.png?w=81&amp;h=150 81w" sizes="(max-width: 296px) 100vw, 296px" /></p>
  413. <p>With all that configurations, I&#8217;m now able to start the build direct from my eclipse</p>
  414. <p><img loading="lazy" data-attachment-id="998" data-permalink="https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/2016-03-26_22-53-32/" data-orig-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png" data-orig-size="1096,786" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="2016-03-26_22-53-32" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png?w=645" class="alignnone size-full wp-image-998" src="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png" alt="2016-03-26_22-53-32" width="1096" height="786" srcset="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png 1096w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png?w=150&amp;h=108 150w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png?w=300&amp;h=215 300w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png?w=768&amp;h=551 768w, https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png?w=1024&amp;h=734 1024w" sizes="(max-width: 1096px) 100vw, 1096px" /></p>
  415. <p>And it will build the full project:</p>
  416. <p><img loading="lazy" data-attachment-id="1004" data-permalink="https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/maven-output/" data-orig-file="https://guedebyte.files.wordpress.com/2016/03/maven-output.png" data-orig-size="1092,380" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="maven-output" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2016/03/maven-output.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2016/03/maven-output.png?w=645" class="alignnone size-full wp-image-1004" src="https://guedebyte.files.wordpress.com/2016/03/maven-output.png" alt="maven-output" width="1092" height="380" srcset="https://guedebyte.files.wordpress.com/2016/03/maven-output.png 1092w, https://guedebyte.files.wordpress.com/2016/03/maven-output.png?w=150&amp;h=52 150w, https://guedebyte.files.wordpress.com/2016/03/maven-output.png?w=300&amp;h=104 300w, https://guedebyte.files.wordpress.com/2016/03/maven-output.png?w=768&amp;h=267 768w, https://guedebyte.files.wordpress.com/2016/03/maven-output.png?w=1024&amp;h=356 1024w" sizes="(max-width: 1092px) 100vw, 1092px" /></p>
  417. <p>Done&#8230;. (btw. the headlessdesigner-maven-plugin is available in the maven central repository, no installation needed for this, only the IBM Domino Designer must be installed).</p>
  418. <p>Have Fun!</p>
  419. <p>Christian</p>
  420. ]]></content:encoded>
  421. <wfw:commentRss>https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/feed/</wfw:commentRss>
  422. <slash:comments>2</slash:comments>
  423. <media:thumbnail url="https://guedebyte.files.wordpress.com/2016/03/maven-output.png" />
  424. <media:content url="https://guedebyte.files.wordpress.com/2016/03/maven-output.png" medium="image">
  425. <media:title type="html">maven-output</media:title>
  426. </media:content>
  427.  
  428. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  429. <media:title type="html">guedebyte</media:title>
  430. </media:content>
  431.  
  432. <media:content url="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-08-18.png" medium="image">
  433. <media:title type="html">2016-03-26_22-08-18</media:title>
  434. </media:content>
  435.  
  436. <media:content url="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-09-05.png" medium="image">
  437. <media:title type="html">2016-03-26_22-09-05</media:title>
  438. </media:content>
  439.  
  440. <media:content url="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-07-40.png" medium="image">
  441. <media:title type="html">2016-03-26_22-07-40</media:title>
  442. </media:content>
  443.  
  444. <media:content url="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-14-32.png" medium="image">
  445. <media:title type="html">2016-03-26_22-14-32</media:title>
  446. </media:content>
  447.  
  448. <media:content url="https://guedebyte.files.wordpress.com/2016/03/2016-03-26_22-53-32.png" medium="image">
  449. <media:title type="html">2016-03-26_22-53-32</media:title>
  450. </media:content>
  451. </item>
  452. <item>
  453. <title>A developers dream &#8211; for sure</title>
  454. <link>https://guedebyte.blog/2015/12/01/a-developers-dream-for-sure/</link>
  455. <comments>https://guedebyte.blog/2015/12/01/a-developers-dream-for-sure/#respond</comments>
  456. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  457. <pubDate>Tue, 01 Dec 2015 20:48:15 +0000</pubDate>
  458. <category><![CDATA[OpenNTF]]></category>
  459. <guid isPermaLink="false">http://guedebyte.wordpress.com/?p=936</guid>
  460.  
  461. <description><![CDATA[OpenNTF is in the middle of his biggest transformation since the beginning. Core of the this transformation is building communities around visions, problems and projects. This needs communication&#8230;. Continious communication, a flow of questions, answers and ideas. But how to communicate continuously, several topic&#8217;s, restricted content, open content, and involving everybody who is interested to [&#8230;]]]></description>
  462. <content:encoded><![CDATA[<p>OpenNTF is in the middle of his biggest transformation since the beginning. Core of the this transformation is building communities around visions, problems and projects. This needs communication&#8230;. Continious communication, a flow of questions, answers and ideas.</p>
  463. <p>But how to communicate continuously, several topic&#8217;s, restricted content, open content, and involving everybody who is interested to become a part of this community? I the middle of this storm of changing culture and using technology, Jesse discovers &#8220;by accident&#8221; slack. We (Jesse and I) decided to register openntf.slack.com, to get some experience and figure out if slack would help us.</p>
  464. <p>2 weeks later, after some testing, which includes also the integration of our Atlassian suite, it was clear &#8211; a developers dream. Mulit channel / topic and content federation&#8230; how wonderful.</p>
  465. <p>But how to on board as many people as possible. At this point, Declan Lynch came on the plan and pointed to <a href="https://github.com/rauchg/slackin" rel="nofollow">https://github.com/rauchg/slackin</a>. A node.js project with an auto deploy to Heroku. But Heroku offers a free offering with 6h downtime in 24h. Sorry, not an option and to be honest, that has not looked like the next challenge I want to conquer.</p>
  466. <p>But Declan explained that this is a node.js app, it could also run on IBM Bluemix&#8230;.. And YES I&#8217;ve a IBM Bluemix Account. But node.js? And how to give this &#8220;Slackin &#8211; Thing&#8221; some parameters during the startup?</p>
  467. <p>As a good conditioned Java Developer, my first step was to download the needed eclipse plugin. Go to IBM Bluemix, build a new Organisation and then create a node.js app. Not a boilerplate, only the runtime.</p>
  468. <p>Next step was creating a JavaScript Project in Eclipse, configure the IBM Bluemix Server, Change the ProjectFacet to node.js, assign the project to IBM Bluemix Server. And&#8230;.. nothing happens, but hey it didn&#8217;t crash the whole Bluemix Environment <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
  469. <p>Let&#8217;s go to github and clone the slackin project. I copied the files, including all Licence stuff to my project and all was pushed directly to IBM Bluemix. But the application fails to start&#8230;. I did expect this, but how to give this node.js program the variables? (Yes, I&#8217;m a bit a newbie about node.js&#8230;)</p>
  470. <p>Let&#8217;s open the IBM Bluemix console and take a look there. What&#8217;s that, there is a point called environment variables. Let&#8217;s give it a try. I&#8217;ve defined the 2 parameters with the name that was given in the app.json in the IBM Bluemix Console, filled them with the accurate values and restarted the app&#8230;&#8230;</p>
  471. <p>&#8230;. And wow, IT WORKS. How cool is that. No Plan of node.js, using an OpenSource project from github, no installation of any server and the application is running in less than an hour. Okay thats definitely also a developers dream.</p>
  472. <p>The integration on the OpenNTF Page was done some Minutes later and look at this:</p>
  473. <p><img loading="lazy" data-attachment-id="955" data-permalink="https://guedebyte.blog/2015/12/01/a-developers-dream-for-sure/slackin/" data-orig-file="https://guedebyte.files.wordpress.com/2015/12/slackin.png" data-orig-size="1206,384" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SLACKIN" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2015/12/slackin.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2015/12/slackin.png?w=645" class="alignnone size-full wp-image-955" src="https://guedebyte.files.wordpress.com/2015/12/slackin.png" alt="SLACKIN" width="1206" height="384" srcset="https://guedebyte.files.wordpress.com/2015/12/slackin.png 1206w, https://guedebyte.files.wordpress.com/2015/12/slackin.png?w=150&amp;h=48 150w, https://guedebyte.files.wordpress.com/2015/12/slackin.png?w=300&amp;h=96 300w, https://guedebyte.files.wordpress.com/2015/12/slackin.png?w=768&amp;h=245 768w, https://guedebyte.files.wordpress.com/2015/12/slackin.png?w=1024&amp;h=326 1024w" sizes="(max-width: 1206px) 100vw, 1206px" /></p>
  474. <p>And now join openntf.slack.com and following the OpenNTF Community.</p>
  475. ]]></content:encoded>
  476. <wfw:commentRss>https://guedebyte.blog/2015/12/01/a-developers-dream-for-sure/feed/</wfw:commentRss>
  477. <slash:comments>0</slash:comments>
  478. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  479. <media:title type="html">guedebyte</media:title>
  480. </media:content>
  481.  
  482. <media:content url="https://guedebyte.files.wordpress.com/2015/12/slackin.png" medium="image">
  483. <media:title type="html">SLACKIN</media:title>
  484. </media:content>
  485. </item>
  486. <item>
  487. <title>Another nice journey with Maven &#8211; or how to sign a jar file</title>
  488. <link>https://guedebyte.blog/2015/11/26/another-nice-journey-with-maven-or-how-to-sign-a-jar-file/</link>
  489. <comments>https://guedebyte.blog/2015/11/26/another-nice-journey-with-maven-or-how-to-sign-a-jar-file/#respond</comments>
  490. <dc:creator><![CDATA[guedebyte]]></dc:creator>
  491. <pubDate>Thu, 26 Nov 2015 17:53:45 +0000</pubDate>
  492. <category><![CDATA[Java]]></category>
  493. <category><![CDATA[Maven]]></category>
  494. <category><![CDATA[OpenNTF]]></category>
  495. <guid isPermaLink="false">http://guedebyte.wordpress.com/?p=905</guid>
  496.  
  497. <description><![CDATA[Yes I love Maven, for sure. Maven gives you the capability to build project everytime the same and in every environment. I often explain Maven as a brilliant facility manager, who is able to put all the build, test, package and delivery instruments togehter and then build all the stuff according to your building instructions. [&#8230;]]]></description>
  498. <content:encoded><![CDATA[<p>Yes I love Maven, for sure. Maven gives you the capability to build project everytime the same and in every environment. I often explain Maven as a brilliant facility manager, who is able to put all the build, test, package and delivery instruments togehter and then build all the stuff according to your building instructions.</p>
  499. <p>But what if I have to sign a JAR file with a code signer certificat? And this certificate is owned by another company, and they will not provide this certifacte to me. How can I setup a project with Maven that let me build and sign the project by a selfsigned certifacte, while my customer other my build server can use the code cert?</p>
  500. <p>First step&#8230;</p>
  501. <p>I need a selfsigned code certificat in a keystore. Read the following tutorial on how you can do this <a href="http://www.jade-cheng.com/uh/ta/signed-applet-tutorial/" rel="nofollow">http://www.jade-cheng.com/uh/ta/signed-applet-tutorial/</a>. Add this keystore now to the project. My keystore is named awfstore</p>
  502. <p>Once we have done this, let the Maven project know that we want to sign the jar file by adding the following snipped to the build section in the pom.xml.</p>
  503. <p><img loading="lazy" data-attachment-id="916" data-permalink="https://guedebyte.blog/2015/11/26/another-nice-journey-with-maven-or-how-to-sign-a-jar-file/mj1/" data-orig-file="https://guedebyte.files.wordpress.com/2015/11/mj1.png" data-orig-size="460,299" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mj1" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2015/11/mj1.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2015/11/mj1.png?w=460" class="alignnone size-full wp-image-916" src="https://guedebyte.files.wordpress.com/2015/11/mj1.png" alt="mj1" width="460" height="299" srcset="https://guedebyte.files.wordpress.com/2015/11/mj1.png 460w, https://guedebyte.files.wordpress.com/2015/11/mj1.png?w=150&amp;h=98 150w, https://guedebyte.files.wordpress.com/2015/11/mj1.png?w=300&amp;h=195 300w" sizes="(max-width: 460px) 100vw, 460px" /></p>
  504. <p>We are using the &#8220;maven-jarsigner-plugin&#8221;. The configuration is done by some variables, starting with &#8220;sign.&#8221;. The values for this variables are definied in the properties:</p>
  505. <p><img loading="lazy" data-attachment-id="913" data-permalink="https://guedebyte.blog/2015/11/26/another-nice-journey-with-maven-or-how-to-sign-a-jar-file/mj2/" data-orig-file="https://guedebyte.files.wordpress.com/2015/11/mj2.png" data-orig-size="612,120" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mj2" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2015/11/mj2.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2015/11/mj2.png?w=612" class="alignnone size-full wp-image-913" src="https://guedebyte.files.wordpress.com/2015/11/mj2.png" alt="mj2" width="612" height="120" srcset="https://guedebyte.files.wordpress.com/2015/11/mj2.png 612w, https://guedebyte.files.wordpress.com/2015/11/mj2.png?w=150&amp;h=29 150w, https://guedebyte.files.wordpress.com/2015/11/mj2.png?w=300&amp;h=59 300w" sizes="(max-width: 612px) 100vw, 612px" /></p>
  506. <p>You can build now the project and it will sign your project with the certificat awf from the awfstore. Replace this values, with your values. But how can we achieve that a Buildserver like Jenkins or Atlassian Bamboo can use other values?</p>
  507. <p>Add the following definition to your pom.xml:</p>
  508. <p><img loading="lazy" data-attachment-id="929" data-permalink="https://guedebyte.blog/2015/11/26/another-nice-journey-with-maven-or-how-to-sign-a-jar-file/mj5/" data-orig-file="https://guedebyte.files.wordpress.com/2015/11/mj5.png" data-orig-size="517,257" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mj5" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2015/11/mj5.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2015/11/mj5.png?w=517" class="alignnone size-full wp-image-929" src="https://guedebyte.files.wordpress.com/2015/11/mj5.png" alt="mj5" width="517" height="257" srcset="https://guedebyte.files.wordpress.com/2015/11/mj5.png 517w, https://guedebyte.files.wordpress.com/2015/11/mj5.png?w=150&amp;h=75 150w, https://guedebyte.files.wordpress.com/2015/11/mj5.png?w=300&amp;h=149 300w" sizes="(max-width: 517px) 100vw, 517px" /></p>
  509. <p>This will activate the Profile compSignerKeyStore, which will override the variables with new settings. This settings can be placed in the setting.xml of your Buildserver or of any developer. It can looks like this:</p>
  510. <p><img loading="lazy" data-attachment-id="915" data-permalink="https://guedebyte.blog/2015/11/26/another-nice-journey-with-maven-or-how-to-sign-a-jar-file/mj4/" data-orig-file="https://guedebyte.files.wordpress.com/2015/11/mj4.png" data-orig-size="785,451" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mj4" data-image-description="" data-image-caption="" data-medium-file="https://guedebyte.files.wordpress.com/2015/11/mj4.png?w=300" data-large-file="https://guedebyte.files.wordpress.com/2015/11/mj4.png?w=645" class="alignnone size-full wp-image-915" src="https://guedebyte.files.wordpress.com/2015/11/mj4.png" alt="mj4" width="785" height="451" srcset="https://guedebyte.files.wordpress.com/2015/11/mj4.png 785w, https://guedebyte.files.wordpress.com/2015/11/mj4.png?w=150&amp;h=86 150w, https://guedebyte.files.wordpress.com/2015/11/mj4.png?w=300&amp;h=172 300w, https://guedebyte.files.wordpress.com/2015/11/mj4.png?w=768&amp;h=441 768w" sizes="(max-width: 785px) 100vw, 785px" /></p>
  511. <p>Have fun</p>
  512. <p>Christian</p>
  513. ]]></content:encoded>
  514. <wfw:commentRss>https://guedebyte.blog/2015/11/26/another-nice-journey-with-maven-or-how-to-sign-a-jar-file/feed/</wfw:commentRss>
  515. <slash:comments>0</slash:comments>
  516. <media:content url="https://2.gravatar.com/avatar/2c3bbb9b9caec183ee0431c131605d925e34e71af2caab2ffe31f80651aa9a65?s=96&#38;d=identicon&#38;r=G" medium="image">
  517. <media:title type="html">guedebyte</media:title>
  518. </media:content>
  519.  
  520. <media:content url="https://guedebyte.files.wordpress.com/2015/11/mj1.png" medium="image">
  521. <media:title type="html">mj1</media:title>
  522. </media:content>
  523.  
  524. <media:content url="https://guedebyte.files.wordpress.com/2015/11/mj2.png" medium="image">
  525. <media:title type="html">mj2</media:title>
  526. </media:content>
  527.  
  528. <media:content url="https://guedebyte.files.wordpress.com/2015/11/mj5.png" medium="image">
  529. <media:title type="html">mj5</media:title>
  530. </media:content>
  531.  
  532. <media:content url="https://guedebyte.files.wordpress.com/2015/11/mj4.png" medium="image">
  533. <media:title type="html">mj4</media:title>
  534. </media:content>
  535. </item>
  536. </channel>
  537. </rss>
  538.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//guedebyte.wordpress.com/feed/rss/

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda