Oracle Security

A few things to report about Oracle Security after we have had a short break for familly holidays and also because of a lot of work being done over the last few months. It is nice to be busy in....[Read More]

Posted by Pete On 02/09/10 At 02:27 PM

Bloggers Meetup 2010

The 2010 Oracle Openworld Blogger Meetup has been announced.  Details are here. it was loads of fun last time . Here’s my shirt from last year. Do you still have yours ?. From The Pythian Blog When: Wed, 22-Sep-2010, 5:30pm Where: Lower Dining Room, Jillian’s Billiards @ Metreon, 101 Fourth Street, San Francisco, CA 94103. [...] Related posts:
  1. The Bloggers Will descend ……….. Via Twitter @Alexgorbachev we’ve come to know about the Oracle...
  2. Oracle openworld 2010 preparations underway So Oracle Openworld starts sep 19-23 But the preparation are...
Related posts brought to you by Yet Another Related Posts Plugin.

Twitter Weekly Updates for 2010-08-29

Twitter Weekly Updates for 2010-08-22 http://ff.im/-pwcht # Successfully converted to asm and moved from one SAN to another . Can get some sleep now #oracle # #pkfloods generosity of people is high http://yfrog.com/n7hxpj # Anyone know how to get Pia support for #pkfloods staff in chicago not providing guidance . Hv 2 trucks + of [...] Related posts:
  1. Twitter Weekly Updates for 2010-08-15 Twitter Weekly Updates for 2010-08-08 http://ff.im/-oUa7W # Expert Oracle Database...
  2. Twitter Weekly Updates for 2010-08-01 Twitter Weekly Updates for 2010-07-25 http://ff.im/-ofjAP # @hillbillyToad awesome anything...
  3. Twitter Weekly Updates for 2010-07-18 Twitter Weekly Updates for 2010-07-11 http://ff.im/-nx1Cw # 15 mins to...
Related posts brought to you by Yet Another Related Posts Plugin.

Oracle Support Master Note for 10g Grid Control OMS Process Control (Start, Stop and Status) & Configuration (Doc ID 1081865.1)

(author unknown) | Aug 27, 2010 08:20 +0000

11 signs that you might be old

From An Expert's Guide to Oracle Technology I have been crazy busy at my new job. A fun project (real time analytics) and other projects are already in the pipeline. One of the projects just might turn into the coolest thing I have ever worked on. Unfortunately, I can't talk about it. I can't even talk about the hardware that we might (or might not) be using. Still, I'm having a good time and I wake up thinking about what I can ge

Twitter Weekly Updates for 2010-08-22

Responding to the floods in Pakistan http://ff.im/-pgR5E # Twitter Weekly Updates for 2010-08-15 http://ff.im/-pgUfM # Ammaar at soccer (@ Engle Memorial Park) http://4sq.com/axRPkF # “@eddieawad: 5 Websites to Check Before You Shop Online http://s.awads.net/95MQza #fb �� nice one # Productive weekend ends almost ready for next weeks conversion to ASM still Nervous though #oracle #fb [...] Related posts:
  1. Twitter Weekly Updates for 2010-06-20 Twitter Weekly Updates for 2010-06-13 http://ff.im/-lXxyV # Ok I guess...
  2. Twitter Weekly Updates for 2010-03-28 Twitter Weekly Updates for 2010-03-21 http://ff.im/-hQfGG # At the gym...
  3. Twitter Weekly Updates for 2010-05-30 Twitter Weekly Updates for 2010-05-23 http://ff.im/-kMEXe # @gwenshap it seems...
Related posts brought to you by Yet Another Related Posts Plugin.

Alex Hutton Podcast on data breach

Lindsay blogged about the recent data breach report from Verizon last week. Alex Hutton, one of the authors has just re-tweeted DennisF's tweet that he has done a podcast about the data breach report . Enjoy! EDITED: I incorrectly added....[Read More]

Posted by Pete On 16/08/10 At 07:46 PM

Moving blog from wordpress.com to Jekyll

Jekyll

Why to move?

This blog was hosted for several years on wordpress.com as it was the easiest way to host a blog when I started. But recently I was not very satisfied with it because of the following reasons:

  • I include code snippets in my blog posts quite often and several times I had issues with code formatting on wordpress.com. I used MarsEdit to upload blog posts but when I read previous posts back then quite often my < and > symbols were replaced with &lt; and &gt;.
  • I would prefer to write my posts in Textile and not in plain HTML (I think it could be possible also with wordpress.com but it was not obvious to me).
  • I didn’t quite like CSS design of my site and wanted to improve it but I prefer minimalistic CSS stylesheets and didn’t want to learn how to do design CSS specific for Wordpress sites.
  • Wordpress site was too mainstream, I wanted something more geeky :)

When I do web app development then I use TextMate for HTML / CSS and Ruby editing (sometime I use CSSEdit when I need to do more CSS editing), I use Textile for wiki-style content editing in my apps, I use git for version control, I use Ruby rake for build and deployment tasks. Wouldn’t it be great if I could use the same toolset for writing my blog?

What is Jekyll?

I had heard about Jekyll blogging tool several times and now I decided that it is the time to start to use it. Jekyll was exactly matching my needs:

  • You can write blog posts in Textile (or in Markdown)
  • You can design HTML templates and CSS stylesheets as you want and use Liquid to embed dynamic content
  • You can store all blog content in git repository (or in any other version control system that you like)
  • And finally you use jekyll Ruby gem to generate static HTML files that can be hosted anywhere

So it sounds quite easy and cool therefore I started migration.

Migration

Initial setup

I started my new blog repository using canonical example site from Jekyll’s creator. You just need to remove posts from _posts directory and start to create your own.

Export from wordpress.com

At first I needed to export all my existing posts from wordpress.com. I found helpful script which processes wordpress.com export and creates Textile source files for Jekyll as well as comments import file for Disqus (more about that later). It did quite good job but I needed anyway to go manually through all posts to do the following changes:

  • I needed to manually change HTML source for lists to Textile formatted lists (export file conversion script converted just headings to Textile formatting) as otherwise they were not looking good when parsed by Textile formatting.
  • I needed to wrap all code snippets with Jekyll code highlighting tags (which uses Pygments tool to generate HTML) – as previously I had not used consistent formatting style I could not do that by global search & replace.
  • I needed to download all uploaded images from wordpress.com and put them in images directory.

CSS design

As I wanted to create more simple and maintainable CSS stylesheets I didn’t just copy previous CSS files but manually picked just the parts I needed. And now as I had full control over CSS I spent a lot of time improving my previous design (font sizes, margins, paddings etc.) – but now at least I am more satisfied with it :)

Tags

As all final generated pages are static there is no standard way how to do typical dynamic pages like list of posts with selected tag. But the good thing is that I can create rake tasks that can re-generate all dynamic pages as static pages whenever I do some changes to original posts. I found some examples that I used to create my rake tasks for tag pages and tag cloud generation.

Related pages

Previously wordpress.com was showing some automatically generated related posts for each post. Initially it was not quite obvious how to do it (as site.related_posts was always showing the latest posts). Then I found that I need to turn on lsi option and in addition install GSL library (I installed it with homebrew) and RubyGSL (as otherwise related posts generation was very slow).

Comments

The next issue is that in static HTML site you cannot store comments and you need to use some hosted commenting system. The most frequently commenting system in Jekyll sites is Disqus and therefore I decided to use it as well. It took some time to understand how it works but it provides all necessary HTML snippets that you need to include in your layout templates and then it just works.

Previously mentioned script also included possibility to import my existing comments from wordpress.com into Disqus. But that was not quite as easy as I hoped:

  • Disqus API that allows to add comments to existing post that is found by URL is not creating new discussion threads if they do not exist. Therefore I needed at first to open all existing pages to create corresponding Disqus discussion threads.
  • As in static HTML case I do not have any post identifiers that could be used as discussion thread identifiers I need to ensure that my new URLs of blog posts are exactly the same as the old ones (in my case I needed to add / at the end of URLs as URL without ending / will be considered as different URL by Disqus).
  • There was issue that some comments in export file had wrong date in URL (it was in cases when draft of post was prepared earlier than post was published) and I needed to fix that in export file.

So be prepared that you will need to import and then delete imported comments several times :)

RSS / Atom feeds

If you have existing subscribers to your RSS or Atom feed then you either need to use the same URL for new feed as well or to redirect it to the new feed URL. In my case I created new Feedburner feed and redirected old feed URL to the new one in .htaccess file.

Other URL mappings

In my case I renamed categories to tags in my blog posts and URLs but as these old category URLs were indexed by Google and were showing on to Google search results I redirected them as well in .htaccess file.

Search

If you want to allow search in your blog then the easiest way is just to add Google search box with sitesearch parameter.

Analytics

Previously I used standard wordpress.com analytics pages to review statistics, now I added Google Analytics for that purpose.

Deployment

Finally after all migration tasks I was ready to deploy my blog into production. As I had account at Dreamhost I decided that it is good enough for static HTML hosting.

I created rake tasks for deployment that use rsync for file transfer and now I can just do rake deploy to generate the latest version of site and transfer it to hosting server.

After that I needed to remap DNS name of blog.rayapps.com to new location and wait for several hours until this change propogated over Internet.

Additional HTML generation speed improvements

When I was doing regular HTML re-generation using jekyll I noticed that it started to get quite slow. After investigation I found out that the majority of time went on Pygments execution for code highlighting. To fix this issue I found jekyll patches that implemented Pygments results caching and I added it as ‘monkey patch’ to my repository (it stores cached results in _cache directory). After this patch my HTML re-generation happens instantly.

My blog repository

I published ‘source code’ of my blog on GitHub so you can use it as example if I convinced you to migrate to Jekyll as well :)

The whole process took several days but now I am happy with my new “geek blogging platform” and can recommend it to others as well.

ADF/JDeveloper/Fusion training in Czech Republic

Uncategorized
(author unknown) | Mar 18, 2010 09:50 +0000

If you are in or around the Czech Republic and interested in ADF/Fusion/Java development then Oracle University is running and ADF Training day. I will be delivering the training which covers ADF, Fusion and JDeveloper with loads of demos to show how you can use ADF to build Fusion applications.

Details can be found as part of this Seminar series.