<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Projects on Silicone&#39;s web</title>
		<link>https://silicone.homelinux.org/en/projects/</link>
		<description>Recent content in Projects on Silicone&#39;s web</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Wed, 19 Feb 2014 23:35:11 +0100</lastBuildDate>
		
			<atom:link href="https://silicone.homelinux.org/en/projects/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>xrootconsole</title>
				<link>https://silicone.homelinux.org/en/projects/xrootconsole/</link>
				<pubDate>Tue, 26 Oct 2010 23:32:19 +0100</pubDate>
				<guid>https://silicone.homelinux.org/en/projects/xrootconsole/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;http://sourceforge.net/projects/xrootconsole/&#34;&gt;xrootconsole&lt;/a&gt; is a tool to display logs (xconsole) on your X background.&lt;/p&gt;&#xA;&lt;p&gt;The upstream development seams stopped, the last release is from 2004-02-20.&lt;/p&gt;&#xA;&lt;p&gt;However &lt;a href=&#34;http://noone.org/blog/English/Computer/X/New%20upstream%20versions%20of%20xrootconsole%20and%20keynav%20in%20Debian%20Experimental.html&#34;&gt;Axel Beckert relived the debian package&lt;/a&gt; and now we are updating it with patches.&lt;/p&gt;&#xA;&lt;p&gt;The packaging (including the patches) can be found on debian’s collab-maint:&lt;br&gt;&#xA;&lt;a href=&#34;http://git.debian.org/?p=collab-maint%2Fxrootconsole.git&#34;&gt;http://git.debian.org/?p=collab-maint/xrootconsole.git&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;ansi-color-support&#34;&gt;ANSI color support&lt;/h3&gt;&#xA;&lt;p&gt;You can download &lt;a href=&#34;https://silicone.homelinux.org/repository/unpackaged/xrootconsole-ansi-color.patch&#34;&gt;the initial patch against version 0.6&lt;/a&gt;.&lt;br&gt;&#xA;This is a patch I developed more than a year ago. But I’m going to update it.&lt;/p&gt;&#xA;&lt;p&gt;The idea is to support ANSI escape sequences to have colored logs on the background.&lt;/p&gt;&#xA;&lt;h4 id=&#34;sample-usage&#34;&gt;Sample usage&lt;/h4&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&#xA;tail --follow=name /var/log/full.log|stdbuf -oL ccze -A|xrootconsole&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Notes:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use &lt;code&gt;ccze&lt;/code&gt; with &lt;code&gt;-A&lt;/code&gt; parameter for ANSI as by default it uses curses.&lt;/li&gt;&#xA;&lt;li&gt;Use &lt;code&gt;stdbuf -oL&lt;/code&gt; to control &lt;a href=&#34;http://www.pixelbeat.org/programming/stdio_buffering/&#34;&gt;stdio buffering&lt;/a&gt; otherwise your log will lag.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;about-the-code&#34;&gt;About the Code&lt;/h4&gt;&#xA;&lt;p&gt;xrootconsole uses a circular buffer organized in lines for managing the character to display. I added another buffer with color information (rendition options).&lt;/p&gt;&#xA;&lt;p&gt;The rendition options are determined by parsing the text for ANSI sequence.&lt;/p&gt;&#xA;&lt;p&gt;This parsing code and rendition information is inspired from aterm and rxvt code also from the explanations from &lt;a href=&#34;http://en.wikipedia.org/wiki/ANSI_escape_code&#34;&gt;ANSI escape code page on wikipedia&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Finally the text rendering is done by pieces of string that have the same rendition option (so the same colors)&lt;/p&gt;&#xA;&lt;h3 id=&#34;utf-8&#34;&gt;UTF-8&lt;/h3&gt;&#xA;&lt;p&gt;That was a major limitation that stalled my work on xrootconsole, well Axel fixed it.&lt;/p&gt;&#xA;&lt;h3 id=&#34;other-improvements&#34;&gt;Other improvements&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I just pushed a patch to detect Nautilus and display xrootconsole on it instead of the root window. So gnome users can use it too (I’m currently one, because I’m too lazy to configure something else with the features I need).&lt;/li&gt;&#xA;&lt;li&gt;&lt;del&gt;Fix ANSI parsing so that colortail and lwatch works.&lt;/del&gt;&lt;/li&gt;&#xA;&lt;li&gt;ANSI color parsing is now optional with the command line option &lt;code&gt;--ansi-color&lt;/code&gt; so users not wanting color will not get the extra processing time.&lt;/li&gt;&#xA;&lt;li&gt;Detecting the background changes the Eterm way, tested with fluxbox and Gnome desktops for now.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;planned-improvements-and-idea&#34;&gt;Planned improvements and idea&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;In original xrootconsole code, the background image must be loaded before xrootconsole starts. After some browsing about it, there seam to be several solutions:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;implement pseudo transparency as Eterm and use &lt;code&gt;_XROOTPMAP_ID&lt;/code&gt; as explained on the bottom of &lt;a href=&#34;http://www.eterm.org/docs/view.php?doc=ref#trans&#34;&gt;Eterm Technical Reference page&lt;/a&gt; on eterm.org .&lt;/li&gt;&#xA;&lt;li&gt;do as root-tail, don’t draw in a transparent window with a copy of the background, but directly draw on the root window. Anyway this does not allow tinting, shading, brightening or more complex image transformation above X.&lt;/li&gt;&#xA;&lt;li&gt;Use some X extension to get server side transparency. (xrender ?)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>hreflang Flag</title>
				<link>https://silicone.homelinux.org/en/projects/hreflang-flag/</link>
				<pubDate>Mon, 06 Sep 2010 13:53:24 +0100</pubDate>
				<guid>https://silicone.homelinux.org/en/projects/hreflang-flag/</guid>
				<description>&lt;p&gt;A wordpress plugin to add a flag icon to link corresponding to the hreflang attribute.&lt;/p&gt;&#xA;&lt;h3 id=&#34;description&#34;&gt;Description&lt;/h3&gt;&#xA;&lt;p&gt;hreflang Flag plugin uses &lt;a href=&#34;http://www.w3.org/TR/css3-selectors/#attribute-selectors&#34; title=&#34;W3C CSS3 Attribute selectors description&#34;&gt;css3 selectors&lt;/a&gt; to add a flag icon to your links depending on their &lt;a href=&#34;http://www.w3.org/TR/html401/struct/links.html#adef-hreflang&#34; title=&#34;hreflang attribute description on W3C&#34;&gt;hreflang attribute&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h3 id=&#34;installation&#34;&gt;Installation&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Upload the &lt;code&gt;hreflang-flag&lt;/code&gt; directory to the &lt;code&gt;/wp-content/plugins/&lt;/code&gt; directory&lt;/li&gt;&#xA;&lt;li&gt;Activate the plugin through the ‘Plugins’ menu in WordPress&lt;/li&gt;&#xA;&lt;li&gt;Go to setting -&amp;gt; hreflang Flag configuration and configure the flags you want to see (some sample flags are already filled in).&lt;/li&gt;&#xA;&lt;li&gt;Use the &lt;a href=&#34;http://www.w3.org/TR/html401/struct/links.html#adef-hreflang&#34; title=&#34;hreflang attribute description on W3C&#34;&gt;hreflang attribute&lt;/a&gt; in the links you want to see flags.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;sample&#34;&gt;Sample&lt;/h3&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;bla bla &lt;a hreflang=&#34;en&#34; href=&#34;#&#34;&gt;English link&lt;/a&gt; bla bla&lt;br&gt;&#xA;bla bla &lt;a hreflang=&#34;fr&#34; href=&#34;#&#34;&gt;French link&lt;/a&gt; bla bla&lt;br&gt;&#xA;bla bla &lt;a hreflang=&#34;en-US&#34; href=&#34;#&#34;&gt;link to USA&lt;/a&gt; bla bla&lt;br&gt;&#xA;bla bla &lt;a hreflang=&#34;en-GB&#34; href=&#34;#&#34;&gt;link to GB&lt;/a&gt; bla bla&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The block above was written using the following html code:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;bla bla &amp;lt;a hreflang=&amp;#34;en&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;English link&amp;lt;/a&amp;gt; bla bla&#xA;bla bla &amp;lt;a hreflang=&amp;#34;fr&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;French link&amp;lt;/a&amp;gt; bla bla&#xA;bla bla &amp;lt;a hreflang=&amp;#34;en-US&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;link to USA&amp;lt;/a&amp;gt; bla bla&#xA;bla bla &amp;lt;a hreflang=&amp;#34;en-GB&amp;#34; href=&amp;#34;#&amp;#34;&amp;gt;link to GB&amp;lt;/a&amp;gt; bla bla&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;wordpressorg&#34;&gt;wordpress.org&lt;/h3&gt;&#xA;&lt;p&gt;You can install the plugin from &lt;a href=&#34;http://wordpress.org/extend/plugins/hreflang-flag&#34;&gt;hreflang Flag&lt;/a&gt; plugin page on wordpress.org !&lt;/p&gt;&#xA;&lt;h3 id=&#34;translations&#34;&gt;Translations&lt;/h3&gt;&#xA;&lt;p&gt;I recently added internationalization support to the plugin, so if you want to see it translated to your language, you can translate it !&lt;br&gt;&#xA;If you do so, please send me your .po file so I can integrate it to next release, thanks.&lt;br&gt;&#xA;Also if you think my english writing does not sound good, send me a patch 😉&lt;/p&gt;&#xA;&lt;h3 id=&#34;todo-list&#34;&gt;Todo list&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Editor plugin to assist link editing&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>Simply Hide Pages</title>
				<link>https://silicone.homelinux.org/en/projects/simply-hide-pages/</link>
				<pubDate>Sun, 15 Aug 2010 22:16:00 +0100</pubDate>
				<guid>https://silicone.homelinux.org/en/projects/simply-hide-pages/</guid>
				<description>&lt;p&gt;A wordpress plugin to hide some pages from &lt;code&gt;wp_list_pages&lt;/code&gt; output.&lt;/p&gt;&#xA;&lt;h3 id=&#34;description&#34;&gt;Description&lt;/h3&gt;&#xA;&lt;p&gt;Easy way to hide some pages from &lt;code&gt;wp_list_pages&lt;/code&gt; output.&lt;br&gt;&#xA;Simply add the custom field &lt;code&gt;&#39;hide&#39;&lt;/code&gt; with any value to your page, and this page will no longer appear on the page list.&lt;br&gt;&#xA;You could already do this on the ‘Pages’ widget or by adding the &lt;code&gt;exclude&lt;/code&gt; parameter to all your &lt;code&gt;wp_list_pages&lt;/code&gt; template tags. But now you can do it directly form the page editor which is, I believe, the best place to do so.&lt;/p&gt;&#xA;&lt;p&gt;You might want to hide pages if you need some pages to exist but don’t want them to appear on your page list. For instance as &lt;a href=&#34;http://www.w3.org/Provider/Style/URI&#34; title=&#34;Cool URIs don&amp;#39;t change&#34;&gt;Cool URIs don’t change&lt;/a&gt;, but some services have been removed from your site, so you write a page explaining where to go to get the equivalent service now. (not a real redirect, but still useful sometimes). Of course you don’t want this page on your page list, you prefer to only have the new services listed 😉&lt;/p&gt;&#xA;&lt;p&gt;Unlike other more complex plugins, it uses custom field to avoid adding tables to your database.&lt;/p&gt;&#xA;&lt;h3 id=&#34;installation&#34;&gt;Installation&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download plugin archive and expand it: &lt;a href=&#34;http://silicone.homelinux.org/release/simply-hide-pages/simply-hide-pages.zip&#34;&gt;simply-hide-pages.zip&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Upload &lt;code&gt;simply-hide-pages.php&lt;/code&gt; to the &lt;code&gt;/wp-content/plugins/&lt;/code&gt; directory&lt;/li&gt;&#xA;&lt;li&gt;Activate the plugin through the ‘Plugins’ menu in WordPress&lt;/li&gt;&#xA;&lt;li&gt;To indicate that a page should be hidden when &lt;code&gt;wp_list_pages()&lt;/code&gt; is used, edit the page that you do not want to see and create a custom field with a key of “hide” and value of “true” (or anything else it does not really matter).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;screenshot&#34;&gt;Screenshot&lt;/h3&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://silicone.homelinux.org/wp-content/plugins/simply-hide-pages/screenshot-1.png&#34; alt=&#34;Screenshot of the Custom Fields edit form filled with &amp;#39;hide&amp;#39; key and &amp;#39;true&amp;#39; value.&#34; decoding=&#34;async&#34; loading=&#34;lazy&#34;&gt;&lt;br&gt;&#xA;Custom field needed on page to hide&lt;/p&gt;&#xA;&lt;h3 id=&#34;wordpressorg&#34;&gt;wordpress.org&lt;/h3&gt;&#xA;&lt;p&gt;Alternatively you can install the plugin from &lt;a href=&#34;http://wordpress.org/extend/plugins/simply-hide-pages/&#34;&gt;Simply Hide Pages&lt;/a&gt; plugin page on wordpress.org !&lt;/p&gt;</description>
			</item>
			<item>
				<title>Netsed</title>
				<link>https://silicone.homelinux.org/en/projects/netsed/</link>
				<pubDate>Sun, 15 Aug 2010 21:37:15 +0100</pubDate>
				<guid>https://silicone.homelinux.org/en/projects/netsed/</guid>
				<description>&lt;p&gt;Netsed, the network packet stream editor, is a program originally written by Michal Zalewski.&lt;/p&gt;&#xA;&lt;p&gt;I maintain new versions of Netsed.&lt;/p&gt;&#xA;&lt;h3 id=&#34;resources&#34;&gt;Resources:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://silicone.homelinux.org/git/netsed.git/&#34;&gt;git storage for netsed&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://silicone.homelinux.org/release/netsed/&#34;&gt;release page&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;news&#34;&gt;News:&lt;/h3&gt;&#xA;&lt;p&gt;Are posted on the blog under the &lt;a href=&#34;https://silicone.homelinux.org/en/tags/netsed/&#34;&gt;tag netsed&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Gengo</title>
				<link>https://silicone.homelinux.org/en/projects/gengo/</link>
				<pubDate>Sun, 15 Aug 2010 20:50:08 +0100</pubDate>
				<guid>https://silicone.homelinux.org/en/projects/gengo/</guid>
				<description>&lt;p&gt;Gengo is a multilingual plugin for wordpress, the one I use on this site. It’s main difference over other multilingual plugins is that it does not stores the translations inside one post but links different posts with different languages together.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://wordpress.org/extend/plugins/gengo/&#34;&gt;Official gengo plugin site&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;important-update&#34;&gt;Important Update&lt;/h3&gt;&#xA;&lt;p&gt;Gengo is dead… I no longer use it on this site, I use &lt;a href=&#34;http://polylang.wordpress.com/&#34; title=&#34;Polylang&#34; target=&#34;_blank&#34;&gt;Polylang&lt;/a&gt; now.&lt;br&gt;&#xA;In the migration process, I wrote &lt;a href=&#34;http://silicone.homelinux.org/git/gengo-to-polylang.git/&#34; title=&#34;Gengo to Polylang&#34; target=&#34;_blank&#34;&gt;Gengo to Polylang&lt;/a&gt; a plugin to import translations informations from Gengo to Polylang.&lt;/p&gt;&#xA;&lt;h3 id=&#34;random-comments-about-gengo&#34;&gt;Random comments about Gengo&lt;/h3&gt;&#xA;&lt;p&gt;Well now &lt;a href=&#34;http://wordpress.org/extend/plugins/sitepress-multilingual-cms/&#34;&gt;MPML&lt;/a&gt; uses the same paradigm… But after a quick read, it seams to me that it can only display one language at a time (no fr+en like with gengo). The feature has been added to some extend: &lt;a href=&#34;http://forum.wpml.org/topic.php?id=367&#34;&gt;Default language fallback for posts&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;For my personal use, I wanted to changes some features of gengo, so I did it. I did submit some patches to the mainstream, but never got any response, so the rest is only here now.&lt;/p&gt;&#xA;&lt;p&gt;Some reasons for this fork are:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Original can be considered dead&lt;/strong&gt;, because &lt;a href=&#34;http://plugins.trac.wordpress.org/changeset/228976/gengo&#34;&gt;THIS PLUGIN IS BROKEN&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;I registered on &lt;a href=&#34;http://groups.google.com/group/gengo-hackers&#34;&gt;http://groups.google.com/group/gengo-hackers&lt;/a&gt; a long time ago and never was accepted.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Well, there might be hope: &lt;a href=&#34;http://jamietalbot.com/2010/06/30/do-you-still-want-gengo/&#34;&gt;Do You Still Want Gengo?&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Update: on Sept 2, 2010 Paolo Tresso aka pixline sent a new message to gengo-hackers giving new hopes for gengo. I could tell him about my fork and he is now looking at merging the changes ! That’s cool 😉&lt;/p&gt;&#xA;&lt;p&gt;I should also look at:&lt;br&gt;&#xA;&lt;a href=&#34;http://plugins.trac.wordpress.org/report/9?COMPONENT=gengo&#34;&gt;tickets on official gengo&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;http://wordpress.org/tags/gengo&#34;&gt;WordPress forums tagged gengo&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;My blog post related to gengo have the &lt;a href=&#34;https://silicone.homelinux.org/en/tags/gengo/&#34;&gt;tag gengo&lt;/a&gt; and could also interest you.&lt;/p&gt;&#xA;&lt;h3 id=&#34;known-important-issue&#34;&gt;Known Important Issue&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;code&gt;gengo_append_urls&lt;/code&gt; option is broken (infinite redirect loop). However, for now, I implemented a redirection the other way around. When the option is unchecked (which currently is the only way to get it work) the URI ending in language codes are redirected to the normal URI, so external links are not broken. &lt;del&gt;This is available in my &lt;a href=&#34;http://silicone.homelinux.org/git/gengo.git/?a=shortlog%3Bh%3Drefs%2Fheads%2Fhack%2Fdisable_append_urls_redirect_lang_uri&#34;&gt;&lt;code&gt;hack/disable_append_urls_redirect_lang_uri&lt;/code&gt; git branch&lt;/a&gt;.&lt;/del&gt;&lt;/p&gt;&#xA;&lt;p&gt;Update: I fixed the infinite loop. You must take care to save the permalink structure in worpress admin after changing anything related to permalinks in gengo.&lt;br&gt;&#xA;Also if you don’ use it, you don’t need my hack/disable_append_urls_redirect_lang_uri branch because it was already done by the original code, I just did not understand it when &lt;a href=&#34;http://silicone.homelinux.org/2010/02/03/wordpress-and-plugin-upgrade/&#34;&gt;I first wrote the hack for my blog&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h3 id=&#34;new-features&#34;&gt;New features&lt;/h3&gt;&#xA;&lt;p&gt;show translation title in original language&lt;/p&gt;&#xA;&lt;p&gt;translated tags&lt;/p&gt;&#xA;&lt;p&gt;mixmode: basically try to translate all post metadata to the post lang. This is probably not SEO friendly but I don’t care!&lt;br&gt;&#xA;Based on this main feature, if I ever publish this fork to wordpress repository, I could name it gengo-remix or something similar.&lt;/p&gt;&#xA;&lt;h3 id=&#34;git-usage&#34;&gt;git usage&lt;/h3&gt;&#xA;&lt;p&gt;The repository is here: &lt;a href=&#34;http://silicone.homelinux.org/git/gengo.git/&#34;&gt;gengo.git&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Note that I’m still heavily changing this and using rebase a lot to keep the new features (in branch &lt;code&gt;hack/*&lt;/code&gt;) out of the main bug fixes.&lt;br&gt;&#xA;Also &lt;code&gt;wip/*&lt;/code&gt; branches are not guarantied to exist any time long, so don’t track them.&lt;br&gt;&#xA;I’ve been using (and abusing) &lt;code&gt;git rebase&lt;/code&gt; recently, now I moved master a bit higher in my stack and expect to use more merge now. So anything before master can be cloned safely.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
