<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>punkracy dot com</title>
    <link>http://punkracy.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Rest Scaffold with Flex</title>
      <description>Hi, if we are to touch upon the issue of scaffolding then I found   &lt;a href="http://rubyforge.org/projects/flexible-rails"&gt;Flexible Rails&lt;/a&gt;. As the author say it&amp;#8217;s 
	&lt;blockquote&gt;
		&lt;p&gt;&amp;#8220;Flexible Rails approach is to scaffold &lt;span class="caps"&gt;REST&lt;/span&gt; controllers and generate Flex (swf) views from models including validations. Use generators to create the .mxml and .as code. Use Rake to compile .swf and publish assets.&amp;#8221;&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;I&amp;#8217;ve also found &lt;a href="http://www.eribium.org/?p=105"&gt;news&lt;/a&gt; about it on &lt;a href="http://www.eribium.org"&gt;Eribium&lt;/a&gt; site (check out the comments).&lt;/p&gt;


	&lt;p&gt;Looks interesting.&lt;/p&gt;</description>
      <pubDate>Sat, 07 Apr 2007 14:30:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:360846a3-2be4-4368-994b-271f30fa4fbf</guid>
      <author>Krzysztof Rączkiewicz</author>
      <link>http://punkracy.com/articles/2007/04/07/rest-scaffold-with-flex</link>
      <category>en</category>
      <category>rails</category>
      <category>scaffold</category>
      <category>felxible rails</category>
      <category>flex</category>
      <category>rest</category>
    </item>
    <item>
      <title>Scaffold and Administation stuff</title>
      <description>&lt;p&gt;Few days ago I&amp;#8217;ve &lt;a href="http://punkracy.com/articles/2007/03/20/prototype-your-rails-application"&gt;showed&lt;/a&gt; you how to quickly prototype your Rails application. Yesterday guys from Polish Ruby on Rails forum &lt;a href="http://forum.rubyonrails.pl/viewtopic.php?pid=2510#p2510"&gt;point me&lt;/a&gt; to some other projects. They not only help you build interface for your models but some of them support authorization/authentication stuff. Those are:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://code.trebex.net/auto-admin"&gt;auto-admin&lt;/a&gt;, which can be used for generating administration interface and is inspired by &lt;a href="http://www.djangoproject.com/"&gt;Django&lt;/a&gt; project;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://goldberg.240gl.org/"&gt;goldberg&lt;/a&gt; can provide your application security, site navigation and content management;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://hobocentral.net"&gt;hobo&lt;/a&gt; deliver tools for building Ajax interfaces, switchable themes and more. You can also watch very interesting &lt;a href="http://hobocentral.net/screencasts.php"&gt;screencasts&lt;/a&gt; ;&lt;/li&gt;
		&lt;li&gt;and finally &lt;a href="http://ajuby.openapp.org/"&gt;ajuby&lt;/a&gt;.&lt;/li&gt;
	&lt;/ul&gt;</description>
      <pubDate>Wed, 04 Apr 2007 16:43:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:74401469-4f50-4084-a627-eda91abfcb7c</guid>
      <author>Krzysztof Rączkiewicz</author>
      <link>http://punkracy.com/articles/2007/04/04/scaffold-and-administation-stuff</link>
      <category>en</category>
      <category>rails</category>
      <category>scaffold</category>
      <category>auto-admin</category>
      <category>django</category>
      <category>goldberg</category>
      <category>ajuby</category>
      <category>hobo</category>
    </item>
    <item>
      <title>Ruby implementation + GUIs</title>
      <description>&lt;p&gt;I&amp;#8217;ve just found &lt;a href="http://www.infoworld.com/article/07/02/23/HNexpressionruby_1.html"&gt;post&lt;/a&gt;  with &lt;em&gt;news&lt;/em&gt; &amp;#8211; Microsoft is  &amp;#8220;very interested&amp;#8221; in the Ruby. Till now we&amp;#8217;ve got abandoned project (last update &amp;#8211; 2004) Ruby-.NET from &lt;a href="http://www.saltypickle.com/rubydotnet"&gt;http://www.saltypickle.com/rubydotnet&lt;/a&gt;
and Ruby.NET from &lt;a href="http://www.plas.fit.qut.edu.au/Ruby.NET/"&gt;http://www.plas.fit.qut.edu.au/Ruby.NET/&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;We&amp;#8217;ve got severals &lt;em&gt;implementations&lt;/em&gt; of Ruby in different languages. For me most important is &lt;a href="http://jruby.codehaus.org/"&gt;JRuby&lt;/a&gt;. Especially that two weeks ago the 1.0 release of rails-integration jar &lt;a href="http://rubyforge.org/pipermail/jruby-extras-devel/2007-March/000432.html/"&gt;shows up&lt;/a&gt;. More information about it you&amp;#8217;ll find of course &lt;a href="http://www.headius.com/jrubywiki/index.php/Rails_Integration"&gt;here&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;I would like also point you to &lt;a href="http://kylecordes.com/2007/03/31/ruby-gui-toolkits/"&gt;nice comparision/list&lt;/a&gt; of Ruby &lt;span class="caps"&gt;GUI&lt;/span&gt; Toolkit projects.&lt;/p&gt;</description>
      <pubDate>Tue, 03 Apr 2007 23:46:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:d97abc4f-b7b5-45b0-bcf2-925bee971941</guid>
      <author>Krzysztof Rączkiewicz</author>
      <link>http://punkracy.com/articles/2007/04/03/ruby-implementation-guis</link>
      <category>en</category>
      <category>ruby</category>
      <category>rails</category>
      <category>jruby</category>
      <category>dotnet</category>
      <category>gui</category>
      <category>microsoft</category>
    </item>
    <item>
      <title>Prototype your Rails application</title>
      <description>Today I want to show you some piece of software that will help you quickly prototype your Rails application. We all know the scaffold mechanism. Without it there wouldn&amp;#8217;t be famous &lt;a href="http://www.rubyonrails.org/screencasts"&gt;Weblog in 15 minutes&lt;/a&gt; screencast. It&amp;#8217;s really nice for beginning or if you what to quickly show someone (or to yourself) the idea of your application. But scaffold generate not very beautiful code. E.g.:
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;&amp;lt;% for column in User.content_columns %&amp;gt;
    &amp;lt;th&amp;gt;&amp;lt;%= column.human_name %&amp;gt;&amp;lt;/th&amp;gt;
&amp;lt;% end %&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
I&amp;#8217;ll present you four tools that may look interesting for you:

	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/"&gt;Custom scaffold&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://masterview.org/"&gt;MasterView&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://www.streamlinedframework.org/"&gt;Streamlined&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://www.ajaxscaffold.com/"&gt;Ajax scaffold&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


But first I&amp;#8217;ll give you an idea how my sample app look. I will use one model (with one table associated of course). This is how migration file looks like:
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="ident"&gt;create_table&lt;/span&gt; &lt;span class="symbol"&gt;:users&lt;/span&gt; &lt;span class="keyword"&gt;do&lt;/span&gt; &lt;span class="punct"&gt;|&lt;/span&gt;&lt;span class="ident"&gt;t&lt;/span&gt;&lt;span class="punct"&gt;|&lt;/span&gt;
  &lt;span class="ident"&gt;t&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;column&lt;/span&gt; &lt;span class="symbol"&gt;:first_name&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="symbol"&gt;:string&lt;/span&gt;
  &lt;span class="ident"&gt;t&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;column&lt;/span&gt; &lt;span class="symbol"&gt;:last_name&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="symbol"&gt;:string&lt;/span&gt;
  &lt;span class="ident"&gt;t&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;column&lt;/span&gt; &lt;span class="symbol"&gt;:address&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="symbol"&gt;:text&lt;/span&gt;
&lt;span class="keyword"&gt;end&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;h2&gt;Custom scaffold&lt;/h2&gt;


You can obtain it from &lt;a href="http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/"&gt;here&lt;/a&gt; and you install it just by unpacking it to &lt;code&gt;YOUR_APP/vendor/plugins/&lt;/code&gt; . After that you could check that you&amp;#8217;ve got your new generator:
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;YOUR_APP$ ./script/generate
..
Installed Generators
  Plugins: custom_scaffold
..&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
Now all you need to do is to generate custom scaffold for your model (you don&amp;#8217;t need to specify controller name, but it&amp;#8217;s possible)
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;YOUR_APP$ ./script/generate custom_scaffold User admin&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
It&amp;#8217;s generating much more prettier code, 
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;&amp;lt;% for user in @users %&amp;gt;
  &amp;lt;tr&amp;gt;
    &amp;lt;td&amp;gt;&amp;lt;%= user.first_name %&amp;gt;&amp;lt;/td&amp;gt;
    &amp;lt;td&amp;gt;&amp;lt;%= user.last_name %&amp;gt;&amp;lt;/td&amp;gt;
    &amp;lt;td&amp;gt;&amp;lt;%= user.address %&amp;gt;&amp;lt;/td&amp;gt;
    &amp;lt;td&amp;gt;&amp;lt;%= link_to 'Show', :action =&amp;gt; 'show', :id =&amp;gt; user %&amp;gt;&amp;lt;/td&amp;gt;
    &amp;lt;td&amp;gt;&amp;lt;%= link_to 'Edit', :action =&amp;gt; 'edit', :id =&amp;gt; user %&amp;gt;&amp;lt;/td&amp;gt;
    &amp;lt;td&amp;gt;&amp;lt;%= link_to 'Delete', :action =&amp;gt; 'destroy', :id =&amp;gt; user %&amp;gt;&amp;lt;/td&amp;gt;
  &amp;lt;/tr&amp;gt;
&amp;lt;% end %&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
but it also have some problems. It generate code in &lt;code&gt;YOUR_APP/app/views/admin/_form.rhtml&lt;/code&gt; with non existing method
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;&amp;lt;%= error_for 'user', 'first_name' %&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
So you need to delete it or add this method definition to application helper, &lt;strong&gt;something like&lt;sup&gt;&lt;a href="#fn1"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/strong&gt; &lt;a href="http://snippets.dzone.com/posts/show/3403"&gt;this&lt;/a&gt;

	&lt;p&gt;You can customize templates in &lt;code&gt;YOUR_APP/vendor/plugins/custom_scaffold/generators/custom_scaffold/templates&lt;/code&gt;&lt;/p&gt;


	&lt;h2&gt;MasterView&lt;/h2&gt;


	&lt;p&gt;Authors call it template engine and you could get it from &lt;a href="http://masterview.org/"&gt;here&lt;/a&gt;. It is distributed as gem or plugin and installation is described on the main page. You can also watch screencast presenting MasterView power, so I  will not focus on it.&lt;/p&gt;


	&lt;h2&gt;Streamlined&lt;/h2&gt;


	&lt;p&gt;This one is really nice and quite powerful. With help of this plugin you can generate nice, powerful including JavaScript interface for you ActiveRecord models. At the beginning, it was used mainly for administrative purpose, but there&amp;#8217;s no contraindication to use it for general stuff.&lt;/p&gt;


	&lt;p&gt;You can watch nice screencast available at the &lt;a href="http://www.streamlinedframework.org/"&gt;framework homepage&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Although it&amp;#8217;s looks great, it also have few problems. First of all &amp;#8211; lack of documentation and some times those doc&amp;#8217;s are out of date. Also as you see it&amp;#8217;s in early development so sometimes you could find a bug.&lt;/p&gt;


Ok. First create rails app, install plugin (version 0.0.7.1) configure your database then create model and controller:
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;dev$ rails streaml
dev$ cd streaml
dev$ ./script/plugin install http://svn.streamlinedframework.org/edge/streamlined
[CONFIGURE_DB]
streaml$ ./script/generate model User
streaml$ ./script/generate controller users&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
It would be available&lt;sup&gt;&lt;a href="#fn2"&gt;2&lt;/a&gt;&lt;/sup&gt; to specify model used by streamline, nevertheless pay attention to plural noun users right now.
First of all add some code to application helper
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="keyword"&gt;module &lt;/span&gt;&lt;span class="module"&gt;ApplicationHelper&lt;/span&gt;
  &lt;span class="ident"&gt;include&lt;/span&gt; &lt;span class="constant"&gt;StreamlinedHelper&lt;/span&gt;
&lt;span class="keyword"&gt;end&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
Add code to your controller
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="keyword"&gt;class &lt;/span&gt;&lt;span class="class"&gt;UsersController&lt;/span&gt; &lt;span class="punct"&gt;&amp;lt;&lt;/span&gt; &lt;span class="constant"&gt;ApplicationController&lt;/span&gt;
  &lt;span class="ident"&gt;layout&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;streamlined&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
  &lt;span class="ident"&gt;acts_as_streamlined&lt;/span&gt;
&lt;span class="keyword"&gt;end&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
Now you could test your app. If you would like to use Ajax (editing, view etc.) you can meet problem in prototype library. You could find solution &lt;a href="http://streamlinedframework.org:8079/trac/ticket/16"&gt;here&lt;/a&gt;

There&amp;#8217;s also generator available. You need to install older gem (e.g. streamlined_generator-0.0.6.gem from &lt;a href="http://www.streamlinedframework.org/pages/download"&gt;Download Streamlined&lt;/a&gt; section). After that you could generate &amp;#8220;scaffold&amp;#8221; 
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;streaml$ ./script/generate streamlined user&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
and you&amp;#8217;re able to make modifications of header, menu and layout generally in the &lt;em&gt;stream/app/views/streamlined&lt;/em&gt; 

At the end I will show you quick UI configuration from the first example (version 0.0.7.1). Create file  &lt;em&gt;app/streamlined/user_ui.rb&lt;/em&gt; (if you need, create directory &lt;em&gt;app/streamlined&lt;/em&gt;). Fill that file with:
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="keyword"&gt;module &lt;/span&gt;&lt;span class="module"&gt;UserAdditions&lt;/span&gt;
&lt;span class="keyword"&gt;end&lt;/span&gt;
&lt;span class="keyword"&gt;class &lt;/span&gt;&lt;span class="class"&gt;UserUI&lt;/span&gt; &lt;span class="punct"&gt;&amp;lt;&lt;/span&gt; &lt;span class="constant"&gt;Streamlined&lt;/span&gt;&lt;span class="punct"&gt;::&lt;/span&gt;&lt;span class="constant"&gt;UI&lt;/span&gt;
  &lt;span class="ident"&gt;user_columns&lt;/span&gt; &lt;span class="symbol"&gt;:exclude&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;[&lt;/span&gt;&lt;span class="symbol"&gt;:address&lt;/span&gt;&lt;span class="punct"&gt;]&lt;/span&gt;
&lt;span class="keyword"&gt;end&lt;/span&gt; &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
Refresh your view, and look at the difference. More examples here: &lt;a href="http://streamlinedframework.org:8079/trac/wiki/DeclarativeViewOptions"&gt;Declarative View Options&lt;/a&gt;

	&lt;p&gt;&lt;a href="/files/streamline1.png"&gt;&lt;img src="/files/streamline1_m.png" title="Streamlined" alt="Streamlined" /&gt;&lt;/a&gt; 
&lt;a href="/files/strealined2.png"&gt;&lt;img src="/files/strealined2_m.png" title="Edit in JavaScript window - Streamlined" alt="Edit in JavaScript window - Streamlined" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;h2&gt;AjaxScaffold&lt;/h2&gt;


	&lt;p&gt;Last but not least &lt;a href="http://www.ajaxscaffold.com/"&gt;Ajax Scaffold Generator&lt;/a&gt;. It is available as generator or dynamic plugin. I think all of you knows that soft and if you&amp;#8217;ve never heard about it, there&amp;#8217;s a &lt;a href="http://ajaxscaffold.stikipad.com/doc/"&gt;bunch of good tutorial&lt;/a&gt; for newbies.&lt;/p&gt;


	&lt;p&gt;&lt;a href="/files/ajax_scaffold1.png"&gt;&lt;img src="/files/ajax_scaffold1_m.png" title="AjaxScaffold" alt="AjaxScaffold" /&gt;&lt;/a&gt;
&lt;a href="/files/ajax_scaffold2.png"&gt;&lt;img src="/files/ajax_scaffold2_m.png" title="Edit - AjaxScaffold" alt="Edit - AjaxScaffold" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p id="fn1"&gt;&lt;sup&gt;1&lt;/sup&gt; Not exactly like this. You could see only an idea.&lt;/p&gt;


	&lt;p id="fn2"&gt;&lt;sup&gt;2&lt;/sup&gt; It would be available in &lt;a href="http://www.streamlinedframework.org/articles/2007/03/22/updates-on-0-1-0"&gt;0.1.0 version&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 20 Mar 2007 13:26:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:f7c09d61-53ff-41c3-b490-228b85f3933a</guid>
      <author>Krzysztof Rączkiewicz</author>
      <link>http://punkracy.com/articles/2007/03/20/prototype-your-rails-application</link>
      <category>en</category>
      <category>ruby</category>
      <category>rails</category>
      <category>custom_scaffold</category>
      <category>masterview</category>
      <category>streamlined</category>
      <category>ajax_scaffold</category>
    </item>
    <item>
      <title>Solitudinem faciunt, pacem appellant</title>
      <description>&lt;p&gt;Speech attributed to &lt;a href="http://en.wikipedia.org/wiki/Calgacus"&gt;Calgacus&lt;/a&gt;, the leader of the Caledonian Confederacy, by the historian Tacitus in the &lt;a href="http://members.aol.com/antoninus1/piety/agricola.htm"&gt;&lt;em&gt;Agricola&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;Robbers of the world, having by their universal plunder exhausted the land, they rifle the deep. If the enemy be rich, they are rapacious; if he be poor, they lust for dominion; neither the east nor the west has been able to satisfy them. Alone among men they covet with equal eagerness poverty and riches. To robbery, slaughter, plunder, they give the lying name of empire; &lt;strong&gt;they make a solitude and call it peace&lt;/strong&gt;.&lt;/cite&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 03 Mar 2007 16:25:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:d54d242f-2d6b-45b0-b258-a54bb2d7b1c7</guid>
      <author>Krzysztof Rączkiewicz</author>
      <link>http://punkracy.com/articles/2007/03/03/solitudinem-faciunt-pacem-appellant</link>
      <category>en</category>
      <category>thoughts</category>
    </item>
    <item>
      <title>Fring</title>
      <description>&lt;p&gt;Check this out &lt;a href="http://fring.com"&gt;Fring&lt;/a&gt;. You get little mobile app and then you can use Google Talk, Skype or &lt;span class="caps"&gt;MSN&lt;/span&gt;. You can also make a call using VoIP. Of course you will pay for data transfer if you connect to Internet using &lt;span class="caps"&gt;GPRS&lt;/span&gt;/3G, but imagine that there is available free WiFi, and  your mobile can connect to it.&lt;/p&gt;


	&lt;p&gt;I had a problem with logging to Skype network, but Gmail talk works perfect.&lt;/p&gt;</description>
      <pubDate>Tue, 27 Feb 2007 12:34:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:e08da020-dd90-4501-91c6-30fc9bd8be90</guid>
      <author>Krzysztof Rączkiewicz</author>
      <link>http://punkracy.com/articles/2007/02/27/fring</link>
      <category>en</category>
      <category>voip</category>
      <category>fring</category>
      <category>gmail</category>
      <category>skype</category>
    </item>
    <item>
      <title>Poznań miastem nowych technologii</title>
      <description>&lt;p&gt;Przeczytałem dziś wypowiedź Prezydenta Poznania, Pana Ryszarda Grobelnego &lt;a href="http://miasta.gazeta.pl/poznan/1,78970,3930987.html"&gt;Poznań nie ma zadyszki&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Pozwoliłem sobie go skomentować. Pan Prezydent, uważa że ma wizję dla naszego miasta. Na pytanie jaka to wizja, pisze: &amp;#8220;Po raz kolejny odpowiem: miastem akademickim, miastem nowych technologii, miastem sportu.&amp;#8221;&lt;/p&gt;


	&lt;p&gt;Ja odpowiadam.&lt;/p&gt;


	&lt;blockquote&gt;
		&lt;p&gt;Nie rozumiem, co ma Pan na myśli mówiąc &amp;#8220;miastem akademickim&amp;#8221;. Takim miastem jesteśmy już od dawna, bez nowej wizji. Właściwie &amp;#8220;miasto akademickie&amp;#8221; oznacza tylko tyle, że mamy dużą liczbę studentów przez 10 miesięcy w roku. No i jeszcze campus Morasko można dodać. Miasto sportu &amp;#8211; ok, całkiem niezła akcja promowania Kolejorza, nieudana ale jednak akcja z uniwersjadą. Jednak jak zobaczyłem &amp;#8220;miastem nowych technologii&amp;#8221;. Chyba tylko jako slogan reklamowy, bo teraz każdy &amp;#8220;Pcim Dolny&amp;#8221; (oraz Włoszczowa), chcą być &amp;#8220;miastem nowych technologii&amp;#8221;, czy też &amp;#8220;polską Dolina Krzemową&amp;#8221;. Proszę mi powiedzieć co miasto robi aby Poznań stał się &amp;#8220;miastem nowych technologii&amp;#8221;? Bo chyba nie mówimy o współpracy z Microsoftu i PP gdzie zatrudnionych zostanie kilku pracowników? Trzeba powiedzieć, że potencjał mamy niezły, wspomniany campus Morasko i &lt;span class="caps"&gt;UAM&lt;/span&gt; z kierunkami/specjalnościami: informatyka, nanotechnologia, biotechnologia, czy też PP z bardzo dobrą informatyką. Tylko, że potrzeba jeszcze jakiejś pomocy od miasta, aby zachęcić duże firmy do współpracy z tymi uczelniami (oczywiście one same też muszą walczyć). W Niemczech w Böblingen studenci mogą robić &lt;span class="caps"&gt;MBA&lt;/span&gt;, czy licencjat w &lt;span class="caps"&gt;IBM&lt;/span&gt; czy też w DaimlerChrysler. Firmy same kreują kierunki, na których studenci uczą się. Tylko te firmy muszą być.
Jeśli tak dalej pójdzie to ludzie uciekną do Wrocławia, Krakowa lub na zachód. Ja także.&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;Bardzo podoba mi się akcja Wyborczej &lt;a href="http://miasta.gazeta.pl/poznan/0,78970.html"&gt;Przystanek Poznań&lt;/a&gt;. Wiele osób w końcu dostrzega problem. Cieszy jedynie fakt (smuci, że taka akcja jest potrzebna), że wreszcie podjęto dyskusje. Oby nie zakończyła się jak ostatnia akcja &amp;#8220;Poznań na zakręcie&amp;#8221;&lt;/p&gt;</description>
      <pubDate>Mon, 26 Feb 2007 20:45:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:36ef1bf0-2a2c-47bf-be84-f70a12eba5b0</guid>
      <author>Krzysztof Rączkiewicz</author>
      <link>http://punkracy.com/articles/2007/02/26/pozna%C5%84-miastem-nowych-technologii</link>
      <category>pl</category>
      <category>poznan</category>
    </item>
    <item>
      <title>Textmate for Linux</title>
      <description>&lt;p&gt;Finally I did it. I&amp;#8217;ve changed my blog engine to typo, and I&amp;#8217;ve changed my language to English. Because of that please give me some feedback, when I make some (or lots of) grammar mistakes.&lt;/p&gt;


	&lt;p&gt;For the first, inauguration post I&amp;#8217;ll describe my search for nice &amp;#8220;editor&amp;#8221; for rails development. Everybody knows that most popular, and beautiful is &lt;a href="http://macromates.com/"&gt;Textmate&lt;/a&gt; ;p. Editor that became standard, and prototype that everyone want to duplicate. I know that &amp;#8220;de gustibus non disputatum est&amp;#8221; so first I present some other products and then my final choice (for now :) )&lt;/p&gt;


	&lt;p&gt;At the begging I&amp;#8217;ve used &lt;a href="http://www.radrails.org/"&gt;RadRails&lt;/a&gt;. It was quite nice, but first I had some problems running it on amd64 (you need to pay attention to java version &amp;#8211; 32 bit). Now I have ubuntu 32bit, so then some new problems showed up. First of all I needed some other plugins, like for html, css and so on. So I started to use &lt;a href="http://www.easyeclipse.org/site/distributions/lamp.html"&gt;EasyEclipse &lt;span class="caps"&gt;LAMP&lt;/span&gt;&lt;/a&gt; which has everything that I need. But finally I thought it&amp;#8217;s to big for me. I&amp;#8217;ve used snippets from &lt;a href="http://drnicwilliams.com/2006/11/06/post-halloween-radrails-trick-all-textmate-snippets-available/"&gt;here&lt;/a&gt; and theme form &lt;a href="http://drnicwilliams.com/2006/08/08/textmate-theme-for-radrails/"&gt;there&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve also tried to use jEdit, &lt;a href="http://blog.zabiello.com/articles/2007/01/30/jedit-for_rails"&gt;prepared&lt;/a&gt; by colleagues from &lt;a href="http://forum.rubyonrails.pl"&gt;Polish Ruby on Rails forum&lt;/a&gt;. I&amp;#8217;ve got some errors during usage, and I can say that it isn&amp;#8217;t most beautiful editor I saw. Yes, yes.. I know that it&amp;#8217;s only tool, and you should write software not admire themes.. but like &lt;a href="http://media.rubyonrails.org/presentations/programminghappiness.pdf"&gt;&lt;span class="caps"&gt;DHH&lt;/span&gt; said&lt;/a&gt; (and not only him) motivation is really important during development process. Motivation comes from happiness, and I feel really happy writing my code in beautiful environment :)&lt;/p&gt;


I should come to the crux of the matter, so I want to present you how to make gedit to be your mate, to look and work like Textmate.
	&lt;h4&gt;Step 1&lt;/h4&gt;


	&lt;p&gt;Install gedit and gedit-plugins.&lt;/p&gt;


	&lt;h4&gt;Step 2&lt;/h4&gt;


	&lt;p&gt;Go to Edit-&amp;gt;Preferences-&amp;gt;Plugins
Make &amp;#8220;Snippets&amp;#8221; plugin available. Get ruby and erb snippets from &lt;a href="http://assente.altervista.org/?q=snippets_di_ruby_on_rails_in_gedit"&gt;here&lt;/a&gt; and copy them to
&lt;code&gt; ~/.gnome2/gedit/snippets &lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;You can check them in Edit-&amp;gt;Preferences-&amp;gt;Plugins-&amp;gt;Snippets &amp;#38; Configurate plugin&lt;/p&gt;


	&lt;h4&gt;Step 3&lt;/h4&gt;


Get more plugins..
	&lt;ol&gt;
	&lt;li&gt;&lt;a href="http://eddt.mbrio.org/"&gt;Eddt&lt;/a&gt; for nice directory browsing plugin&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://www.stambouliote.de/projects/gedit_plugins.html"&gt;Class browser&lt;/a&gt; for class browser&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://www.upperbound.net/upperbound/show/SnapOpen+plugin+for+Gedit"&gt;Snap Open&lt;/a&gt; for opening files based on regexp.
At the same site there is set of files with textmate colors and font settings, but I set them manually.&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Optionally you can install &lt;a href="http://live.gnome.org/Gedit/Plugins"&gt;others&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;You will get something like:&lt;/p&gt;


	&lt;p&gt;&lt;a href="/files/geditmate.png"&gt;&lt;img src="/files/geditmate_m.png" title="gedit like textmate" alt="gedit like textmate" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a href="/files/gedit_classb.png"&gt;&lt;img src="/files/gedit_classb_m.png" title="gedit like textmate" alt="gedit like textmate" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;that&amp;#8217;s all for now&lt;/p&gt;</description>
      <pubDate>Thu, 08 Feb 2007 01:32:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:1a3cc668-769f-4086-9cc4-ff40c636971c</guid>
      <author>Krzysztof Rączkiewicz</author>
      <link>http://punkracy.com/articles/2007/02/08/textmate-for-linux</link>
      <category>en</category>
      <category>linux</category>
      <category>textmate</category>
      <category>ruby</category>
      <category>rails</category>
      <category>radrails</category>
      <category>easyeclipse</category>
      <category>jedit</category>
      <category>gedit</category>
    </item>
  </channel>
</rss>
