<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GuShH&#039;s DevBlog &#187; xml</title>
	<atom:link href="http://gushh.net/blog/?tag=xml&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://gushh.net/blog</link>
	<description>This blog is about software, electronics engineering and game development.</description>
	<lastBuildDate>Tue, 24 Jan 2012 00:31:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Eagle V6 To spread wings</title>
		<link>http://gushh.net/blog/eagle-v6/</link>
		<comments>http://gushh.net/blog/eagle-v6/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 15:47:11 +0000</pubDate>
		<dc:creator>GuShH</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[back-annotation]]></category>
		<category><![CDATA[Cadsoft]]></category>
		<category><![CDATA[differential pair]]></category>
		<category><![CDATA[Eagle 6]]></category>
		<category><![CDATA[eagle v6]]></category>
		<category><![CDATA[pcb design]]></category>
		<category><![CDATA[script scheduler]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://gushh.net/blog/?p=1173</guid>
		<description><![CDATA[It&#8217;s new and shiny, but&#8230; After taking a look at the new feature-set for Eagle V6 I got quite excited, but then it hit me&#8230; Will they ever make this version available with a lite license? And which features will be cut out? I&#8217;m not a fan of XML but it&#8217;s certainly a step into [...]]]></description>
			<content:encoded><![CDATA[<h2>It&#8217;s new and shiny, but&#8230;</h2>
<p>After taking a look at the new feature-set for Eagle V6 I got quite excited, but then it hit me&#8230; Will they ever make this version available with a lite license? And which features will be cut out?</p>
<p>I&#8217;m not a fan of XML but it&#8217;s certainly a step into the right direction. The more you open your formats the wider the acceptance of your package will be, generally speaking.</p>
<p><span id="more-1173"></span></p>
<h2>About the new features</h2>
<p>Being able to have assisted design tools for differential pairs also sounds good (and I&#8217;ve struggled with their trace length script in the past, let&#8217;s just say there is no assistance whatsoever for complex designs currently). But what about guard rings and other important design aspects?</p>
<p>One thing I&#8217;d like to see is being able to have a &#8220;script scheduler&#8221; where you can queue scripts and schedule them to a certain refresh interval, then you&#8217;d have a window where the output of the scripts will be featured. This would make extending the application a lot simpler and flexible, but perhaps their scripting engine would need to be optimized beforehand.</p>
<p>&#8220;Design Reuse&#8221; is also another much-needed feature, the consistency part is key here, you don&#8217;t want new part numbers if you want to keep your documentation concise and accurate. Kudos for that!</p>
<p>&nbsp;</p>
<h2>The necessary rant</h2>
<p>What really bothers me about Eagle is the back-annotation system and how it&#8217;s nearly impossible to solve most issues related to it. I&#8217;ve heard about people having to nearly redesign entire sections of their project because of this. It really isn&#8217;t very flexible at all.</p>
<p>There&#8217;s also no functionality to quickly package and backup projects. I&#8217;d like to see a lite versioning system; a meaningful one that is. As for packaging, ideally you&#8217;d rather click a button to have the entire project and all of it&#8217;s dependencies packaged so you can email it to someone, instead of having to do it by hand. This type of functionality isn&#8217;t hard to implement at all, so I question why it isn&#8217;t there ( or I haven&#8217;t found it yet? &#8211; I&#8217;ve been using my own scripts )</p>
<p>Another feature I wish to see would be a background image option on the library / symbol designer. The idea being you could draw on top of the image and then the only required adjustment would be the scale ratio for the entire part, which you can easily adjust by taking one measurement on the real part using a caliper, for example.</p>
<p>Recently I needed this feature for an LCD footprint I was working on, it had several mounting holes and a specific header; It would&#8217;ve been much simpler if I could just load an image of it and draw on top&#8230; Oh well.</p>
<p>&nbsp;</p>
<p>Hopefully the new features will be made available to the lite users as well. &#8211;<em> Sadly there doesn&#8217;t seem to be a release date at this point in time.</em></p>
<p>Eagle still lacks several key points to become usable for most complex designs, but overall it&#8217;s a step in the right direction and I&#8217;m glad for Eagle! &#8212; <em>Now let&#8217;s drop those license fees a notch and we&#8217;ll all be happy!</em><br />
&nbsp;</p>
<h2>References:</h2>
<ul>
<li><a href="http://www.cadsoftusa.com/eagle-pcb-design-software/new-in-v6/?language=en" target="_blank">http://www.cadsoftusa.com/eagle-pcb-design-software/new-in-v6/?language=en</a></li>
</ul>
<p>&nbsp;</p>
<g:plusone href='http://gushh.net/blog/eagle-v6/'></g:plusone>]]></content:encoded>
			<wfw:commentRss>http://gushh.net/blog/eagle-v6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faster ways of finding a character inside a string, in PureBasic.</title>
		<link>http://gushh.net/blog/faster-ways-of-finding-a-character-inside-a-string-in-purebasic/</link>
		<comments>http://gushh.net/blog/faster-ways-of-finding-a-character-inside-a-string-in-purebasic/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 07:20:03 +0000</pubDate>
		<dc:creator>GuShH</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[PureBasic]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[char]]></category>
		<category><![CDATA[findchar]]></category>
		<category><![CDATA[findstring]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[parser]]></category>
		<category><![CDATA[purebasic]]></category>
		<category><![CDATA[string manipulation]]></category>
		<category><![CDATA[unicode]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://gushh.net/blog/index.php/2008/03/03/faster-ways-of-finding-a-character-inside-a-string-in-purebasic/</guid>
		<description><![CDATA[For those of you who either prototype or work with PureBasic on a daily basis, if you ever found yourself looking for faster ways of performing string manipulation, while still using the string system this language provides, be glad for I&#8217;ll be posting a few of my solutions to speed up the process. My first [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who either prototype or work with PureBasic on a daily basis, if you ever found yourself looking for faster ways of performing string manipulation, while still using the string system this language provides, be glad for I&#8217;ll be posting a few of my solutions to speed up the process.</p>
<p>My first entry is the FindChar() routine. Unlike the official FindString(), this one only searches for a single character. In situations where you&#8217;ll be dealing with single character string searches rather than multi-character, this routine will give you up to 2x speed increase in both Ascii and Unicode modes. Worst case scenario, you&#8217;ll get equal results speed-wise.</p>
<p align="center"><strong>The <em>FindChar() </em></strong><strong> code can be found at &gt; <a href="http://gushh.net/src.php?file=pb/FindChar.pb" target="_blank">here</a><a href="http://gushh.net/src.php?file=pb/FindChar.pb" target="_blank"><span style="font-weight: bold"></span></a> &lt;</strong></p>
<p align="center"><span id="more-16"></span></p>
<p>Due to the fact that Unicode characters are 2bytes long, we must use SizeOf() to perform certain displacement operations. However, this implies the use of at least one division for our final result, this will slow things down in the long-run. So, instead, we hack ourselves into a nastier method and we thank the FPU for it (granted, multiply by 0.5, since we know the character size is constant at 2) As nasty as it is, this allows us to outperform the official routine by almost 2x, still in Unicode.</p>
<p>There are certain things to take care of before doing anything with my routines, and this includes making sure we pass a valid string pointer, while ensuring we never pass negative displacement values and that we don&#8217;t attempt to displace over the limits of the string. Any self-respectable coder will do this before calling any routine, though. If you want an extra push of speed, get rid of the main IF statement in the routine.</p>
<p align="center">The ideal solution for this language would be to trash the actual string library and replace it with a proper one, but I fear this is a task for the author, not us. I also fear, we won&#8217;t be seeing this any time soon. So we might as well keep on sharing our solutions and &#8220;hope&#8221; the author reads a few books on proper software development, and that he understands them.</p>
<p style="font-style: italic">For those of you using Unicode, please beware that this routine has not been extensively tested on a production level. Even though it behaves equally to FindString(), I recommend you to perform at least a few tests before plugging this routine right into your main-code. It&#8217;s worth noting though, most of my string routines work on 0-based displacements but output equally to the official PB ones.</p>
<p align="left"><em> One of this days I&#8217;ll probably end up ranting quite badly on the fact that this sort of languages lack standad support for some really important routines&#8230; On the bright side, they provide quick means of prototyping small pieces of code before getting into production with your main language. Even so, theres no escape on the fact that the author lacks the real-world development experience to provide better solutions for his own product. </em></p>
<p align="left">&nbsp;</p>
<p> That&#8217;s it for now, I&#8217;ll be sharing more as I find time to post in here. Most of the rutines are being used on my in-house XML parser, just so you know. All benchmarks were done on multiple processors and results were averaged on a set of 20 tries per test.</p>
<p>Cheers.</p>
<g:plusone href='http://gushh.net/blog/faster-ways-of-finding-a-character-inside-a-string-in-purebasic/'></g:plusone>]]></content:encoded>
			<wfw:commentRss>http://gushh.net/blog/faster-ways-of-finding-a-character-inside-a-string-in-purebasic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: gushh.net @ 2012-02-05 16:17:24 by W3 Total Cache -->
