<?xml version="1.0"?><rss version="2.0">
	<channel>
		<title>PiggZ Blog</title>
		<link>http://www.piggz.co.uk</link>
		<description>PiggZ Blog</description>
		<language>en-us</language>
		<copyright>Copyright 2009 Adam Pigg</copyright>
		<generator>A hybrid of php and postgresql</generator>
		<webMaster>adam@piggz.co.uk</webMaster>
		<item>
<title>Tradeoffs</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=38</link>
<description>So i tried several things to speed up my grid drawing.&lt;br&gt;&lt;br /&gt;
1. As suggested by ZRusing, instead of multiple calls to drawLine and drawPoint, I instead created a vector of each and used a single call to drawLines and drawPoints.  This made no difference.&lt;br&gt;&lt;br /&gt;
2. Draw lines only.  This was super fast.&lt;br&gt;&lt;br /&gt;
3. Draw points only.  This was still slow.&lt;br&gt;&lt;br /&gt;
4. Anholt on #intel-gfx suggested grid-aligning my points to screen pixels.  I wasnt 100% sure what this meant, so i changed the drawing code to use integer maths instead of floating point to ensure all drawing of points would be on an actual pixel, but this made no difference.&lt;br&gt;&lt;br /&gt;
5. Turned off antialiasing in QPainter.  Instant 200x speedup!&lt;br&gt;&lt;br /&gt;
&lt;br&gt;&lt;br /&gt;
So the options seem to be use antialiasing with the raster graphics system, or dont use antialiasing, and have a slightly different look, which I dont mind, and is what im doing at the moment.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D38%26timestamp%3D2009-03-14+08%3A11%3A18</guid>
<pubDate>Sat, 14 Mar 2009 08:11:18 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D38</comments>
</item>
<item>
<title>Drawing Performance (or not)</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=37</link>
<description>In my app, I draw a background grid.  Its nothing fancy, just some lines and dots but it was quite slow, and would get slower the larger the area obviously.  I'm by no means an expert in drawing graphics optimally, but I had a few hacks in there to speed it up, like caching the background and only redrawing the affected rect.  But still it wasn't great, it felt sluggish.  'Feeling' sluggish isn't very scientific, so I ripped out he drawing code and put it in a test app which timed it, that app is &lt;a href=&quot;http://www.piggz.co.uk/2DPerf.tar.gz&quot;&gt;here&lt;/a&gt;.  On my system, which isn't a 6GHz oct-core with the latest nvidia sli gfx, its just a run-of-the-mill core2duo with intel x3100, it takes roughly 200ms to draw the grid.  Running under Qt4.5 with the raster graphics system, it takes 1ms.  Yes, 1. 200x faster using software rendering than using x11.  Restarting X using the VESA driver also had great improvements.  Even running KDE4 with the VESA driver 'felt' more responsive.  So, is it just my system?  I have no idea if 200ms is a respectable time for this code, so how about you run it and post the results?</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D37%26timestamp%3D2009-03-12+07%3A01%3A15</guid>
<pubDate>Thu, 12 Mar 2009 07:01:15 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D37</comments>
</item>
<item>
<title>Kexi Data Access</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=36</link>
<description>While its been possible to generate great looking reports in Kexi for quite some time, even containing user supplied scripts to enhance the core functionality, one thing that wasn't possible was the ability to access data from the database from within a script.&lt;br /&gt;
&lt;br /&gt;
Well, now that has changed :)&lt;br /&gt;
&lt;br /&gt;
If your familiar with the likes of DAO/ADO on windows/ms access then this should be a breeze to you.  &lt;br /&gt;
Imaging having a report that contains the data from a table, but then for each record, while the report is being rendered, executing arbitrary queries based on that data to populate other fields....this should now be possible in Kexi.&lt;br /&gt;
&lt;br /&gt;
The following snippet is a small example of opening a query when the report is opened, and getting the first 10 records to populate fields on the report:&lt;br /&gt;
&lt;br /&gt;
function test_kexi_object_report()&lt;br /&gt;
{&lt;br /&gt;
  this.OnOpen = function()&lt;br /&gt;
  {&lt;br /&gt;
      debug.message(&quot;On open&quot;, &quot;open&quot;);&lt;br /&gt;
      test_kexi_object.detail.setBackgroundColor(&quot;#dddddd&quot;);&lt;br /&gt;
 &lt;br /&gt;
      var conn = Kexi.getConnection();&lt;br /&gt;
&lt;br /&gt;
      var cur = conn.executeQueryString(&quot;select msre_desc from weight&quot;);&lt;br /&gt;
      for(i=0;i&lt;10;i++) {&lt;br /&gt;
          test_kexi_object.objectByName(&quot;Field&quot; + (i + 10)).setSource(&quot;=&quot; + cur.value(0));     &lt;br /&gt;
	  test_kexi_object.objectByName(&quot;Field&quot; + (i + 10)).setBackgroundOpacity(0);&lt;br /&gt;
	  cur.moveNext();&lt;br /&gt;
      }&lt;br /&gt;
           &lt;br /&gt;
  }&lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nice, even if I do say so myself ;)</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D36%26timestamp%3D2009-01-16+23%3A55%3A52</guid>
<pubDate>Fri, 16 Jan 2009 23:55:52 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D36</comments>
</item>
<item>
<title>Charts with child/master fields</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=35</link>
<description>I guess most database reporting apps can do this, and now Kexi can be added to the list.  We could already embed a chart in a report, and assign it a set of data, but what if you want the chart to change depending on the data in the main report?  The way to do that is with master-&gt;child field links.  You specify a field (or fields) in the report (the master) which will be used as an expression on a field (or fields) in the chart (the child).  If you're used to msa, its the same as you get with sub forms/reports/charts.  This lets you do something like &lt;a href=&quot; http://www.piggz.co.uk/kexi/LinkedChart.pdf&quot;&gt;this.&lt;/a&gt;  The example is a bit boring, but its the first thing I could think of after getting the implementation working :)</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D35%26timestamp%3D2008-10-18+14%3A29%3A19</guid>
<pubDate>Sat, 18 Oct 2008 14:29:19 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D35</comments>
</item>
<item>
<title>Kexi to ODS</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=34</link>
<description>After reading the headers for kspread which showed me where I was going wrong, I now have Kexi reports able to output to an ODS (Opendocument Spreadsheet) file by utilising the excellent KSpread libraries.  Fields in a report are ordered based on horizontal position, and the text saved into a Cell based on the order.  As a test I generated a 20000 row sheet, and openened it up in OO.o, see it &lt;a href=&quot;http://www.piggz.co.uk/kexi/kspreadexport2.png&quot;&gt;here&lt;/a&gt;, and download it &lt;a href=&quot;http://www.piggz.co.uk/kexi/customers.ods&quot;&gt;here&lt;/a&gt;.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D34%26timestamp%3D2008-07-08+14%3A56%3A07</guid>
<pubDate>Tue, 08 Jul 2008 14:56:07 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D34</comments>
</item>
<item>
<title>HTML Reports in Kexi</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=33</link>
<description>After some initial work, a re-think and re-design, and a re-implementation you can now get quite nicely formatted reports from Kexi in HTML form using some CSS magic.&lt;br /&gt;
&lt;br /&gt;
Only text is implemented atm, so images, charts, barcodes are still to come, but the output is pretty close to the original page based version, as you can see at http://www.piggz.co.uk/kexi/htmlcss3.png and http://www.piggz.co.uk/kexi/htmlcss4.png.&lt;br /&gt;
&lt;br /&gt;
There will also be a simplified table based version as an option.&lt;br /&gt;
&lt;br /&gt;
Some samples are at http://www.piggz.co.uk/kexi/product_list.html (its 1.9mb representing 10000 records, so be warned ;) and http://www.piggz.co.uk/kexi/rainfall.html.&lt;br /&gt;
&lt;br /&gt;
Enjoy.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D33%26timestamp%3D2008-06-19+09%3A44%3A25</guid>
<pubDate>Thu, 19 Jun 2008 09:44:25 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D33</comments>
</item>
<item>
<title>Now i remember why I dont use Windows</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=32</link>
<description>My mum pops round last night with her laptop.  Earlier it had displayed a message saying the battery was going to run out, and then turned off.  It wouldnt turn back on.&lt;br /&gt;
&lt;br /&gt;
I tested the power supply with a multi-meter and it seemd OK.  I asked if it had been dropped...'No' was the reply, shortly followed by 'Well, it did fall off the little table but was still working OK'&lt;br /&gt;
&lt;br /&gt;
I decided it was best to get a new laptop, as this one clearly wasnt getting power from the mains.  But this particular machine is the one with the entire shop inventory and sales history in it and it would be handy to get it off and onto another machine.&lt;br /&gt;
&lt;br /&gt;
No problem, I whipped out the HD, and installed it in my own laptop.&lt;br /&gt;
&lt;br /&gt;
Windows proceeded to boot and got the the 'Activation' screen.  No problem I thought, a quick call to Microsoft will have us running in no time, and I can transfer all the data/documents to a USB stick.&lt;br /&gt;
&lt;br /&gt;
I entered the 60! digit number, and was told to change the license key, which I did, and then entered a new 60 digit number, I must have done it too fast because I got transferred to an operator.&lt;br /&gt;
&lt;br /&gt;
I explained the situation and that i was temporarily using my mums HD in my laptop to recover some data from it.  I was quite shocked when I was told that because Windows had been pre-installed on the original laptop, the license couldnt be transferred to another machine.  After a short agrument where I told him I thought it unfair as we needed the data and it was clearly a temporary situation as I run Linux he gave me the activation key, and all seemed good.&lt;br /&gt;
&lt;br /&gt;
In went the USB disk......and.......nothing.&lt;br /&gt;
&lt;br /&gt;
Device manager suggested drivers needed re-installed, fair enough as it was another machine (though im sure a linux kernel would have reconfigured itself a bit better), so I reinstalled the usb drivers which got rid of the exclamation marks, rebooted and was sure it would work this time.&lt;br /&gt;
&lt;br /&gt;
The screen resolution was even right now......but shortly after starting up it all went horribly wrong.....BSOD, for no aparent reason.&lt;br /&gt;
&lt;br /&gt;
A cycle of rebootss commenced, along with disk checking...nothing would work, not even safe mode.&lt;br /&gt;
&lt;br /&gt;
'Ah' I though.....i'm being stupid, why not boot off a Linux live CD and copy the files?&lt;br /&gt;
&lt;br /&gt;
In went Ubuntu, the USB drive worked OK and I went to mount the NTFS drive.&lt;br /&gt;
&lt;br /&gt;
Catastrophe!! the drive wouldnt mount....errors suggesting a bad/missing MFT, and I should run chkdsk.&lt;br /&gt;
&lt;br /&gt;
I rebooted again, but this time Windows wouldnt even attempt to load, the partition seems totally corrupt.  I eventually got a 'Windows Recovery Console CD' and attempted to run chkdsk from it, but it told me the drive had unrecovereable errors :(&lt;br /&gt;
&lt;br /&gt;
As a last resort I left 'photorec' running over night scanning for .mdb files, and it managed to find some which may reduce the strain of re-entering all orders and transactions for the last year from paper copies.&lt;br /&gt;
&lt;br /&gt;
Ive also left 'testdisk' running to see if it can find an MFT, but I dont hold much hope.&lt;br /&gt;
&lt;br /&gt;
Motto?  BACKUP BACKUP BACKUP.... she had even bought a USB stick to backup the shop database to, but she clearly hasnt got the hang of it.....I bet she does it tonight though!</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D32%26timestamp%3D2008-04-23+12%3A56%3A33</guid>
<pubDate>Wed, 23 Apr 2008 12:56:33 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D32</comments>
</item>
<item>
<title>Look out Microsoft, here we come ;)</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=30</link>
<description>Ok, so we're maybe not quite there yet,but our own office DB app kexi is slowly gaining features.  You will shortly be able to create charts directly within a reports.  You can already see what it will look like from the designer, it just isnt saved or rendered yet, but because it looks quite cool, i think its worth showing off (atleast the others in #kexi think so).  Check it out &lt;a href=&quot;http://www.piggz.co.uk/kexirpt_chart7.png&quot;&gt;here&lt;/a&gt;.  To get an idea on how it evolved, have a look at the 6 prior snaps also.&lt;br /&gt;</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D30%26timestamp%3D2008-04-17+19%3A30%3A57</guid>
<pubDate>Thu, 17 Apr 2008 19:30:57 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D30</comments>
</item>
<item>
<title>Script your reports</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=29</link>
<description>So you have a report to produce, no problem for kexi these days, but your asked to highlight certain conditions...what do you do?&lt;br /&gt;
&lt;br /&gt;
Script it!&lt;br /&gt;
&lt;br /&gt;
Write something like &lt;a href=&quot;http://www.piggz.co.uk/kexirpt_script5.png&quot;&gt;this.&lt;/a&gt;  And get results like &lt;a href=&quot;http://www.piggz.co.uk/kexirpt_script4.png&quot;&gt;this.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I would have made those text boxes transparent, if it didnt crash when i selected them...but thats something to fix tonight ;)</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D29%26timestamp%3D2008-03-14+12%3A34%3A47</guid>
<pubDate>Fri, 14 Mar 2008 12:34:47 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D29</comments>
</item>
<item>
<title>Kexi Reporting - progress++</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=28</link>
<description>Im sure if I had milestones, one of them would be printing, which i've just got working so I may aswell show it off :)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.piggz.co.uk/print.pdf&quot;&gt;print.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The designer is coming on quite nicely &lt;a href=&quot;http://www.piggz.co.uk/kexirpt_features2.png&quot;&gt;too.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
As is the on screen &lt;a href=&quot;http://www.piggz.co.uk/kexirpt_features5.png&quot;&gt;rendering.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Ive also prepared another version for Kexi1 that adds a couple of requested features from ppl on #kexi.  That version does basically work, but ive got to admit ive neglected it to work on the Kexi2 but if anyone needs something i'll do my best to add it.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D28%26timestamp%3D2008-02-02+15%3A30%3A34</guid>
<pubDate>Sat, 02 Feb 2008 15:30:34 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D28</comments>
</item>
<item>
<title>Dear Lazy Web</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=26</link>
<description>I have a subclass of QGraphicsLineItem that i want to interact with on a scene.  Suppose the line is 1px wide, 20px long and horizontal starting at 0,0 local coordinates.  I can click on the line and drag it around, but i have to click right on it.  I'd like to have say, +-5 pixels either side that will select the line, and send hover events to it.  I tried reimplementing boundingRect to return QRectF(-5,-5, x2() +10, y2()+10) but to no avail.&lt;br /&gt;
&lt;br /&gt;
Any suggestions?&lt;br /&gt;
&lt;br /&gt;
Cheers</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D26%26timestamp%3D2007-12-31+17%3A59%3A04</guid>
<pubDate>Mon, 31 Dec 2007 17:59:04 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D26</comments>
</item>
<item>
<title>Reports in Kexi 2</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=25</link>
<description>Ive been working quite hard to bring my report part for Kexi to the upcoming Kexi2.  Finally its starting to look useful.  The port has been quite long and boring.  I started by re-basing on openrpt 2.2 which is now lgpl, removing the dependencies on Qt3Support and moved the build system to CMake.  Then came the long and boring task of basing the designer on QGraphicsView instead of QCanvas.  While doing this i also changed the way coordinates are stored and re-used code from koffice where possible (though i'm sure more can be done).&lt;br /&gt;
&lt;br /&gt;
I also did quite a lot of re-factoring to share more code between the designer and renderer components(i don;t need to methods of parsing the same xml).&lt;br /&gt;
&lt;br /&gt;
Anyway, the fruits of my labour (so far) are &lt;a href=&quot;http://www.piggz.co.uk/kexirpt4.png&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://www.piggz.co.uk/kexirpt_designer1.png&quot;&gt;here&lt;/a&gt;.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D25%26timestamp%3D2007-12-31+17%3A50%3A59</guid>
<pubDate>Mon, 31 Dec 2007 17:50:59 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D25</comments>
</item>
<item>
<title>Preview Kexi Report Part 0.0.5</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=23</link>
<description>Here is a quick preview if the next version of the report part for Kexi.  What you see here is Group Headers/Footers working (they didnt work at all in &lt;= 0.0.4).  Unfortunately, to get this to work I had to fix a crash in KexiDB's sqlite driver which affects 'buffered' cursors.  Kexi itself doesn't actually use buffered cursors, so im the first to stumble on this problem.  The fix is simple, but do I:&lt;br /&gt;
a. require users to use an svn version of kexi with the fix&lt;br /&gt;
b. code a workaround in the report part (ie, do my own buffering)&lt;br /&gt;
&lt;br /&gt;
Feel free to post other suggestions.  To go the svn way, it would also be nice to add buffering to atleast the pqxx driver (it wouldnt be difficult) so reporting (with headers) would also work with databases on Postgres.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.piggz.co.uk/KexiReportGrouping1.png&quot;&gt;</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D23%26timestamp%3D2007-07-05+22%3A03%3A33</guid>
<pubDate>Thu, 05 Jul 2007 22:03:33 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D23</comments>
</item>
<item>
<title>linuxbabe</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=21</link>
<description>Not exactly kde related, so sorry to planetkde readers.&lt;br /&gt;
&lt;br /&gt;
In the early hours of saturday morning, my wife gave birth to a little girl called Megan.  So we're pretty tired at the moment, its been an action packed few days.&lt;br /&gt;
&lt;br /&gt;
From this photo, it looks like she may be joining linuxchix in a few years :)&lt;br /&gt;
&lt;img src=&quot;http://www.piggz.co.uk/megan00.jpeg&quot; alt=&quot;Megan&quot;&gt;</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D21%26timestamp%3D2007-06-19+10%3A27%3A01</guid>
<pubDate>Tue, 19 Jun 2007 10:27:01 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D21</comments>
</item>
<item>
<title>Kexi Report Part 0.0.3</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=20</link>
<description>After a few nights work, I proudly present Kexi Report Part version 0.0.3.  Pick it up on kde-apps at http://www.kde-apps.org/content/show.php/Kexi+Report+Part?content=58208.  I had to get this out quickly, as its probably the last version i'll get out before my good wife gives birth again :).  &lt;br /&gt;
New features are:&lt;br /&gt;
*Double Buffered for HUGE speed improvement when scrolling&lt;br /&gt;
*Labels and Field can have foreground/background colour&lt;br /&gt;
*And the editor gets an icon and menu entry&lt;br /&gt;
&lt;br /&gt;
Enjoy</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D20%26timestamp%3D2007-06-07+21%3A51%3A17</guid>
<pubDate>Thu, 07 Jun 2007 21:51:17 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D20</comments>
</item>
<item>
<title>Images in a kexi report</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=19</link>
<description>As the initial version of my kexi report part seems to be going quite well on kde-apps ( http://kde-apps.org/content/show.php/Kexi+Report+Part?content=58208 ) the current development version just got images.  Both static and dynamic (stored in the database) are supported, as can be seen by this screenshot http://www.piggz.co.uk/KexiReportImages1.png.  The logo at the top is static and stored in the report, all characters are stored in the database, and returned by the query, sweet.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D19%26timestamp%3D2007-05-15+22%3A34%3A08</guid>
<pubDate>Tue, 15 May 2007 22:34:08 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D19</comments>
</item>
<item>
<title>Another Sceenshot</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=18</link>
<description>This time just a report.&lt;br /&gt;
&lt;br /&gt;
http://www.piggz.co.uk/3rdKexiReport.png&lt;br /&gt;
</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D18%26timestamp%3D2007-04-30+15%3A15%3A05</guid>
<pubDate>Mon, 30 Apr 2007 15:15:05 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D18</comments>
</item>
<item>
<title>Kexi Reports</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=17</link>
<description>Kexi 1.6 is a great program....it can do many things...that is, apart from generate reports.&lt;br /&gt;
&lt;br /&gt;
Until now that is.&lt;br /&gt;
&lt;br /&gt;
Ive been (slowly) working on modifying openrpt (www.openrpt.com) which is a postgresql/odbc reporting engine, so that it works with kexi.&lt;br /&gt;
&lt;br /&gt;
Currently, ive only tried very simple things....the designer works pretty well...it opens a connection to a kexi database, using the kexi dialogs, and saves the report definitions as kexi database objects.&lt;br /&gt;
&lt;br /&gt;
Ive created a KexiPart, which displays the rendered report within kexi, when a report is selected from the database tree.&lt;br /&gt;
&lt;br /&gt;
Theoretically, printing shouldnt be difficult....and now that I can actually see something that looks like a report rendered on screen, i'll have more motiviation to work on it.&lt;br /&gt;
&lt;br /&gt;
Im sure Kexi 2 will have something much greater, but for now, im quite happy that Kexi 1.6 can have reporting.&lt;br /&gt;
&lt;br /&gt;
Obligatory Screenshot: http://www.piggz.co.uk/2ndKexiReport.png&lt;br /&gt;
</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D17%26timestamp%3D2007-04-30+15%3A13%3A45</guid>
<pubDate>Mon, 30 Apr 2007 15:13:45 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D17</comments>
</item>
<item>
<title>Only on linux...</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=16</link>
<description>(and probably other free os's) can you have a piece of hardware with no driver, talk it over with a developer who gets you to generate a log file from windows, give him access to your machine, and watch while in a few hours he writes a driver for your DVB-T USB adapter, on your laptop from the other side of the world.&lt;br /&gt;
&lt;br /&gt;
How cool is that?</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D16%26timestamp%3D2007-03-27+08%3A09%3A15</guid>
<pubDate>Tue, 27 Mar 2007 08:09:15 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D16</comments>
</item>
<item>
<title>Sign This Petition</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=15</link>
<description>Hi  Just found this petition for the use of linux in the UK government.  It closes TODAY so please sign it.&lt;br /&gt;
&lt;br /&gt;
http://petitions.pm.gov.uk/Use-LINUX/</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D15%26timestamp%3D2007-02-19+22%3A52%3A41</guid>
<pubDate>Mon, 19 Feb 2007 22:52:41 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D15</comments>
</item>
<item>
<title>KDE3 apps on Windows</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=14</link>
<description>Ive been writing a little application to allow the management of my mums website database from a desktop app.  It uses kde3, soap (using gsoap2) and some xml parsing.  I was hoping I'd be allowed to wipe Windows from the machine, but that's a no-no (atm, I may push a bit more).&lt;br /&gt;
&lt;br /&gt;
So i basically have 3 options:&lt;br /&gt;
1. Rewrite using QT4 and port to windows.  Probably the best long term solution, especially when kde4 comes out, but I needed something quicker.&lt;br /&gt;
&lt;br /&gt;
2. Use cygwin.  An ok solution, but the kde in cygwin is quite old, and i wanted quanta to run aswell.&lt;br /&gt;
&lt;br /&gt;
So i went with 3. colinux.  It was quite simple to set up, in no time i had a very minimal fc6 + kdebase + kdewebdev + gcc.  Networking worked so I copied my app from an smb share on my laptop, compiled and installed.&lt;br /&gt;
&lt;br /&gt;
By hacking rc.local, I had kicker run on startup, positioned in the top-centre of the screen, with some buttons for quanta, konqueror and my app.&lt;br /&gt;
&lt;br /&gt;
It works pretty well, takes a while to boot up, but you cant expect much from a laptop with 256mb ram, running both windows xp and linux!!&lt;br /&gt;
&lt;br /&gt;
Amusingly, konqueror starts up faster than ie7&lt;br /&gt;
&lt;br /&gt;
</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D14%26timestamp%3D2007-02-04+12%3A47%3A46</guid>
<pubDate>Sun, 04 Feb 2007 12:47:46 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D14</comments>
</item>
<item>
<title>Sleep Deprivation</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=13</link>
<description>I'm sure lots of you have suffered from this......you know how it goes, you get to bed, your lying there and your mind is working overtime.  A sudden surge of inspiration hits you for a little project to work on, and you cant help but start designing it in your head.  Before you know it, you've missed several hours of sleep.&lt;br /&gt;
&lt;br /&gt;
:)</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D13%26timestamp%3D2007-01-04+11%3A30%3A00</guid>
<pubDate>Thu, 04 Jan 2007 11:30:00 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D13</comments>
</item>
<item>
<title>Comments Section</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=12</link>
<description>Finally got round to adding a comments section to my blog (the downside of writing your own instead of using something off-the-shelf).  Decided to use a captcha to prevent spam as it seems to have worked a treat in the guestbook.&lt;br /&gt;
&lt;br /&gt;
So feel free to leave as many or as few comments as you like.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D12%26timestamp%3D2006-12-24+10%3A16%3A13</guid>
<pubDate>Sun, 24 Dec 2006 10:16:13 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D12</comments>
</item>
<item>
<title>LINUX Road Show</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=11</link>
<description>I just got confirmation of a place at the free UK Linux Roadshow.  Its at HP's Bristol labs on the 11th January and being run by the HP User Group.  Anyone else out there going?&lt;br /&gt;
&lt;br /&gt;
See http://www.hpug.org.uk/index.php?option=com_events&amp;task=view_detail&amp;Itemid=45&amp;agid=24&amp;year=2007&amp;month=01&amp;day=11&lt;br /&gt;
for the details.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D11%26timestamp%3D2006-12-16+09%3A23%3A55</guid>
<pubDate>Sat, 16 Dec 2006 09:23:55 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D11</comments>
</item>
<item>
<title>A Tip</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=10</link>
<description>When you in the psql command line, and you press 'up arrow' for the last command, make sure its the command you want before hitting [Enter], otherwise you may realise that youve just deleted your entire blog and it needs recreating, which will surely cause it to spam the planets.  So, im sorry for reposting things you may have already read :).</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D10%26timestamp%3D2006-11-22+22%3A01%3A40</guid>
<pubDate>Wed, 22 Nov 2006 22:01:40 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D10</comments>
</item>
<item>
<title>YardsOfYarn, Amarok, Koffice</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=9</link>
<description>Its been a year in the making, but i finally got the e-commerce system i've been writing for my mums website into a state where it actually works, infact, a random woman bought 6 balls of wool, and paid smoothly via paypal, before the site was technically ready. I know there are things like this pre-packaged, but i wanted the experience in building a medium(ish) scale website by hand. The main tool I used? Quanta, i'd be lost without it. Now just have to wait for all the money to roll in and take a percentage :). &lt;br /&gt;
&lt;br /&gt;
So if anyone needs wool/yarn/needlwork/xstitch etc, just visit www.yardsofyarn.co.uk. &lt;br /&gt;
&lt;br /&gt;
In other news, the Amarok guys accepted my shoutcast browser, so expect to see that in 1.4.5 (or now if your using svn). &lt;br /&gt;
&lt;br /&gt;
Done a bit more coding in koffice, nothing too substantial, mainly porting, and learning the neq qt4 ways of doing things.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D9%26timestamp%3D2006-11-22+21%3A59%3A36</guid>
<pubDate>Wed, 22 Nov 2006 21:59:36 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D9</comments>
</item>
<item>
<title>Amarok - Shoutcast</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=8</link>
<description>Hacked together shoutcast support for the amarok playlist browser. You get a folder view containing all the genres, when you double click a genre, it downloads the station list. All you do then is double click a station and it gets added to the playlist. Still a few bugs to work out, but when its ready i'll try and get it into amarok, its the only feature i miss from XBMC on the xbox.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D8%26timestamp%3D2006-11-22+21%3A57%3A31</guid>
<pubDate>Wed, 22 Nov 2006 21:57:31 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D8</comments>
</item>
<item>
<title>Porting started</title>
<link>http://www.piggz.co.uk/?page=blogentry&amp;id=7</link>
<description>Managed to get a workable development environment set up for KDE4 (thanks jstaniek). This seems to work well.... &lt;br /&gt;
1. Add both your main user and development user to the 'users' group &lt;br /&gt;
2. Change the group ownership of the source files to 'users' &lt;br /&gt;
3. Change the permissions to 664 (or 660) &lt;br /&gt;
4. Edit the files from your main users account using kate (or preferred editor) &lt;br /&gt;
5. Compile the files using the development user So, doing this has allowed me to quickly port the kspread-kexi import filter to koffice2 without much trouble (by not much i mean i cant get cmake to create the .moc files so i'm doing it by hand). Next job to start porting kexi drivers/migration.</description>
<guid>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D7%26timestamp%3D2006-11-22+21%3A56%3A53</guid>
<pubDate>Wed, 22 Nov 2006 21:56:53 GMT</pubDate>
<comments>http://www.piggz.co.uk%2F%3Fpage%3Dblogentry%26id%3D7</comments>
</item>
	</channel>
</rss>
