<?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>soledad penadés &#187; photos</title>
	<atom:link href="http://soledadpenades.com/tag/photos/feed/" rel="self" type="application/rss+xml" />
	<link>http://soledadpenades.com</link>
	<description>repeat 4[fd 100 rt 90]</description>
	<lastBuildDate>Sun, 29 Jan 2012 23:03:40 +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>Bath literature</title>
		<link>http://soledadpenades.com/2006/09/09/bath-literature/</link>
		<comments>http://soledadpenades.com/2006/09/09/bath-literature/#comments</comments>
		<pubDate>Sat, 09 Sep 2006 11:30:39 +0000</pubDate>
		<dc:creator>sole</dc:creator>
				<category><![CDATA[Common life]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://www.soledadpenades.com/2006/09/09/bath-literature/</guid>
		<description><![CDATA[This is a series of pictures shot at the toilettes of a pub in Old Street. I was so deeply moved by the message, and I also had my camera with me, so here you have the result! Warning: depending on your specific case, this might not be work-safe. I love old selotape! Someone proclaims [...]]]></description>
			<content:encoded><![CDATA[<p>This is a series of pictures shot at the toilettes of a pub in <a href="http://en.wikipedia.org/wiki/Old_Street">Old Street</a>. I was so deeply moved by the message, and I also had my camera with me, so here you have the result!</p>
<p>Warning: depending on your specific case, this might not be work-safe.</p>
<p><strong>I love old selotape!</strong></p>
<p><img alt="I love old selotape" id="image511" src="http://www.soledadpenades.com/imgs/DSC03394.jpg" /></p>
<p>Someone proclaims her love for the most unsuspected item to think of in a night out (<em>I love old selotape</em>), someone else believes her (<em>I believe you!</em>), and someone else gets worried about the spelling of <em>selotape</em> (<em>Is that spelt correctly?</em>).</p>
<p>This one made me think a lot, not only because <em>selotape</em> is wrongly spelt (I think the right one is <em>cellotape</em> although <a href="http://en.wikipedia.org/wiki/Cellotape">wikipedia&#8217;s cellotape</a> also says sellotape is how it is known in UK), but because I tried to guess if that had a hidden message. Maybe wrapping people with old cellotape is the new sexual trend and we still don&#8217;t know!!</p>
<p><strong>Fuck like you&#8217;re being filmed</strong></p>
<p><img id="image513" alt="Fuck like you're being filmed" src="http://www.soledadpenades.com/imgs/DSC03398.jpg" /></p>
<p>Although being painted in a shy, pale purple, now that&#8217;s a message! This one motivated a couple of replies in the following picture:</p>
<p><strong>No. I don&#8217;t fuck I make love / And I make love like I&#8217;m being filmed</strong></p>
<p><img id="image514" alt="No I don't fuck I make love / And I make love like I'm being filmed" src="http://www.soledadpenades.com/imgs/DSC03395.jpg" /></p>
<p>First reply -<em>No. I don&#8217;t fuck I make love</em>- is written with that kind of plastic paint that you used when you were a child. Then someone comes with an alternative and solomonic solution: <em>And I make love like I&#8217;m being filmed</em>. You can&#8217;t argue against that one! So maybe that&#8217;s why there are no follow-up&#8217;s to the topic.</p>
<p><strong>I wouldn&#8217;t want to take me home</strong></p>
<p><img alt="I wouldn't want to take me home" id="image515" src="http://www.soledadpenades.com/imgs/DSC03401.jpg" /></p>
<p>Another one which made think. Why not? Is she so drunk she doesn&#8217;t want to take herself home, or she doesn&#8217;t believe she is the right person to go home with &#8211; and has just discovered it in the bath, right now!?</p>
<p><strong>Stop bitching, start a revolution</strong></p>
<p><img id="image517" alt="Stop bitching, start a revolution" src="http://www.soledadpenades.com/imgs/DSC03402.jpg" /></p>
<p>Here we go with more strong messages. Probably she felt annoyed with so many trivial topics. Also I believe there&#8217;s always a couple of this style of messages at every bath you go&#8230; something like <em>Fuck the system</em>, <em>Viva la revolución</em>, <em>Hasta la victoria siempre</em>, etc. So she wasn&#8217;t that innovative at the end.</p>
<p><strong>War 4 peace is like fuckin 4 virginity</strong></p>
<p><img id="image519" alt="War 4 peace is like fucking 4 virginity" src="http://www.soledadpenades.com/imgs/DSC03404.jpg" /></p>
<p>And yes there are always mentions to war, peace, etc. But this one goes further and merges war, peace, fuck and virginity. What a bunch of controversial questions.</p>
<p><strong><a href="http://www.carinsurancerates.com/states.html">Alabama</a> 3, I love you!!</strong></p>
<p><img id="image518" alt="Alabama 3, I love you!!" src="http://www.soledadpenades.com/imgs/DSC03403.jpg" /></p>
<p>I presume this has some meaning. Which only the one which wrote the text can understand, because I particularly can&#8217;t! Is there any movie called <a href="http://www.carinsurancerates.com/states.html">Alabama</a> 3? and if there is, how come I haven&#8217;t heard of Alabama and Alabama 2? Maybe it is a music group&#8230; yes&#8230; I just googled it: <a href="http://en.wikipedia.org/wiki/Alabama_3">Alabama 3</a> is an english music group. As we say in Spain, you never end a day without learning something.</p>
<p><strong>I like cocks but I think I would also like cunts. What should I do?</strong></p>
<p><img id="image520" alt="I like cocks but I think I would also like cunts. What should I do?" src="http://www.soledadpenades.com/imgs/DSC03405.jpg" /></p>
<p>She&#8217;s undecided. But she should have left a telephone number or e-mail address; these issues shouldn&#8217;t be discussed publicly. Maybe that&#8217;s why nobody replied.</p>
<p><strong>I love Jerry</strong></p>
<p><img alt="I love Jerry" id="image521" src="http://www.soledadpenades.com/imgs/DSC03406.jpg" /></p>
<p>She&#8217;s got a clear mind. This is pure love, definitely. Innocence at its best.</p>
<p><strong>Suck my tits / and lick my clit / eat my shit / and suck his duck</strong></p>
<p><img alt="Suck my tits..." id="image522" src="http://www.soledadpenades.com/imgs/DSC03407.jpg" /></p>
<p>Modern poetry (or kind of&#8230;)</p>
<p><strong>Baths are literature places, isn&#8217;t it?</strong></p>
<p><img alt="Baths are literature places" id="image523" src="http://www.soledadpenades.com/imgs/DSC03408.jpg" /></p>
<p>I can&#8217;t agree more with her!</p>
]]></content:encoded>
			<wfw:commentRss>http://soledadpenades.com/2006/09/09/bath-literature/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>My first application in Ruby On Rails</title>
		<link>http://soledadpenades.com/2006/05/01/my-first-application-in-ruby-on-rails/</link>
		<comments>http://soledadpenades.com/2006/05/01/my-first-application-in-ruby-on-rails/#comments</comments>
		<pubDate>Mon, 01 May 2006 09:41:33 +0000</pubDate>
		<dc:creator>sole</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.soledadpenades.com/2006/05/01/my-first-application-in-ruby-on-rails/</guid>
		<description><![CDATA[It&#8217;s time to get serious with RoR! I finally decided that I would do some useful application to really learn how it works, and as I&#8217;m quite bored of doing applications for managing text (whether they are intranets, cms&#8217;s, etc), I opted for recreating my old gallery script (which I did in php) in RoR. [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time to get serious with RoR! I finally decided that I would do some useful application to really learn how it works, and as I&#8217;m quite bored of doing applications for managing text (whether they are intranets, cms&#8217;s, etc), I opted for recreating my old gallery script (which I did in php) in RoR. So I&#8217;m playing with images instead of just text.</p>
<p>This will give me the opportunity to test lots of extra functionalities of the framework, such as the famous integrated javascript effects, ajax, etc, as I want to improve my old gallery script, not simply redo it as it was in php.<br />
So first thing I did was to make sure that I had a working updated version of ruby and rails. The best tutorial I have found which worked perfectly for me is this one: <a href="http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger">Building Ruby, Rails, LightTPD, and MySQL on Tiger</a>, by Hivelogic. (Although I simply used it to update Ruby and Rails, but didn&#8217;t build Lighttpd or Mysql).</p>
<p>With that I could be able to follow the recent tutorials and techniques, specially because I wanted to learn how to use a Login Generator, and there was something in the version of Ruby that I had which prevented me to install it (some lib error was thrown each time).</p>
<p>So my app has two parts, a <strong>public</strong> and an <strong>admin</strong> one (which was quite easy to anticipate). Once I managed to create the basic structure of controllers and models for the admin, I added the login functionality, as I don&#8217;t want everybody to get into my app and modify pictures in there.</p>
<p>I used the <a href="http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated">Acts As Authenticated</a> plugin, although I couldn&#8217;t manage to get all the functionality that I expected so I took a look at <a href="http://pantulis.sobrerailes.com/src/sor-5.0.tar.gz">the code</a> of the <a href="http://www.sobrerailes.com/articles/2006/03/05/sudoku-on-rails-v5-borrador">Sudoku On Rails v5 tutorial</a> at <a href="http://www.sobrerailes.com/">SobreRailes</a> (sorry, spanish only!) and completed it with the missing functionality (basically, it was the activation stuff which was not generated, don&#8217;t know why). It was sweet and smooth. If I had had to write it manually I would have spent at least three days.</p>
<p>Then I wanted to have support for uploading images. At all, this is about pictures! So after some researching I found a little plugin called <a href="http://wiki.rubyonrails.com/rails/pages/File+Column+Plugin">FileColumn</a> which allows to get picture uploads working quite quickly, including resizing and automatic deletion if the associated record gets deleted (no more orphan files in the filesystem because of a poor integration between the models and their associated data! <em>hooray!</em>). But for the resizing stuff and thumbnails generation, I needed to have RMagick installed in my system, which I didn&#8217;t have. So I found a nice tutorial in the <a href="http://rmagick.rubyforge.org/">RMagick</a> site, which explained how to compile and <a href="http://rmagick.rubyforge.org/install-osx.html">install RMagick and GraphicsMagick on mac os x</a>, as well as all the libraries on which they depend, as RMagick is like a bridge between ruby and GraphicsMagick. This step took me a bit of time, specially the step of compiling ghostscript, but as I followed the instructions exactly as specified, I had everything working at the end and I could generate thumbnails and a resized version when uploading images. (Also I was also reading one of the supercool books about the tube that <a href="http://www.ricardocabello.com">mr.doob</a> gave me for my birthday so time flew fastly! :D )<br />
If I had had to do this in php even using the best helpers that I could, I would have spent at least one week.</p>
<p>Then I prepared a draft version of the public interface. Now I can navigate between pictures and albums, using thumbnails and the big images as well, it shows the descriptions for the album or picture, where available. <strong>The code is so simple and beatiful that I could get it tattooed</strong>. Or maybe do a t-shirt with it, see an example for getting the data of one album:</p>
<div class="syhi_block"><code><span style="color:#9966CC; font-weight:bold;">def</span> album<br />
<span style="color:#0066ff; font-weight:bold;">@album</span> = Album.<span style="color:#9900CC;">find</span><span style="color:#006600; font-weight:bold;">&#40;</span>params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:id</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
<span style="color:#9966CC; font-weight:bold;">unless</span> <span style="color:#0066ff; font-weight:bold;">@album</span>.<span style="color:#0000FF; font-weight:bold;">nil</span>?<br />
<span style="color:#0066ff; font-weight:bold;">@pictures</span> = <span style="color:#0066ff; font-weight:bold;">@album</span>.<span style="color:#9900CC;">pictures</span><br />
<span style="color:#9966CC; font-weight:bold;">end</span><br />
<span style="color:#9966CC; font-weight:bold;">end</span></code></div>
<p>No more embedded SQL in the middle of the code, no need for manually loading classes which abstract the DB information for the rest of the php code and try to provide a way of artificial modelling of the data, no need to spend time reinventing the wheel!! :D</p>
<p>As I specified in the models that one album has pictures (<em>has_many : pictures</em>), and that each picture belongs to one album (<em>belongs_to :album</em>), RoR is intelligent enough to deduct things from the database and save me that precious time (as it sees an <em>album_id</em> column in a <strong>picture</strong> row&#8230; it obviously is pointing to an <strong>album</strong> row!).</p>
<p>Unfortunately by the moment the front end is extremely basic, it&#8217;s pure html with little css applied to it. In the next iteration I will do tasks such as find out how to redefine part of the behaviour of the FileColumn to make it <strong>update the associated images</strong> too if I upload another image when editing a picture<strong>, beautify the front end</strong>, and maybe start with those nice <strong>ajax capabilities</strong> which are supposedly quite easy to use with RoR. It will also be nice to learn how to do the fantastic <strong>unit tests</strong> with the support that this framework provides, so all in all this promises to be very exciting.</p>
<p>Conclussion: <strong>I absolutely love Ruby on Rails</strong>.</p>
<p>Stay tuned for a next release &#8211; as I already got a port for installing it on my host, it can be whenever I get a decent working version!.</p>
<p>UPDATE: As some people want to take a look (miguev ;) ) I have uploaded the relevant code of the current version. It just has the important things i.e. the models definition, etc. If you want to have a working application you will need to create it first with the usual rails name_of_your_app, configure the database, etc, and then use this code where appropiate. It won&#8217;t work by itself :P This is just for showing how things are linked between them: <a id="p409" href="http://www.soledadpenades.com/imgs/cl1ck_0_1.zip">cl1ck version 0.1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://soledadpenades.com/2006/05/01/my-first-application-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>spanish report system</title>
		<link>http://soledadpenades.com/2003/11/22/spanish-report-system/</link>
		<comments>http://soledadpenades.com/2003/11/22/spanish-report-system/#comments</comments>
		<pubDate>Sat, 22 Nov 2003 13:14:22 +0000</pubDate>
		<dc:creator>sole</dc:creator>
				<category><![CDATA[Comment]]></category>
		<category><![CDATA[demoscene]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[srs]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[yero and wizard have managed to put up their last project: the spanish report system. It&#8217;s something like slengpung, but in spanish. Many people have complained because they say we want to stay apart. Maybe they have not thought that, although we upload photos to slengpung, some of them have sense only in spanish contexts. [...]]]></description>
			<content:encoded><![CDATA[<p>yero and wizard have managed to put up their last project: the spanish report system. It&#8217;s something like slengpung, but in spanish. Many people have complained because they say we want to stay apart. Maybe they have not thought that, although we upload photos to slengpung, some of them have sense only in spanish contexts. And foreign sceners would not understand them. So, I think it&#8217;s not impossible to keep the two projects together. And don&#8217;t forget to collaborate uploading YOUR photos! A report system has not any meaning without photos and cool comments :)</p>
]]></content:encoded>
			<wfw:commentRss>http://soledadpenades.com/2003/11/22/spanish-report-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

