jueves, 28 de agosto de 2014

Raspberry Pi - Pimame/Piplay

Piplay 8.0.5beta

Sudo raspi-config (overclocking)
press 'LeftCtrl+Q': quit to terminal   

Map Keys:

Default pasword: pi / raspberry

    PSX-Usb Joystick1 - OK
    PSX-Usb Joystick2 - OK

Neogeo (Final Burn Alpha )
    PSX Joystick
         Plug in port2 psx2usb adapter
         Select: insert coin
         Analog mode: to be able to use Up and down keys
   Audio: OK
         Mpang (Mighty Pang)
         Dino (Cadillac dinosaurs)
         Winjammer CD  (failing)
Final Burn Alpha (Arcade Cabinet and Neogeo emulator)
PSX Joystick (same than neogeo)
     Magical crystals

PSX Joystick
         Plug in port2 psx2usb adapter
     All - OK

Neogeo pocket
  PSX Joystick
     Metal slug 2

   Games cannot be in zip files
   Unzip to folders
   Manually Add game, from roms folder
  Audio: OK
  Joystick ¿failing left and right arrows??

Games cannot be in zip files
Unzip to folder

Games cannot be in zip files
Unzip to folder

Turbografx 16

   Failing, nothing is displayed in screen

pcsx-reARMed (PSX)
   Menu is not properly displayed
   Bios missing warning
.iso, .img, .bin/.cue or .mdf/.mds
.ecm file. These will not work in this emuator, but can be 'un-ECMed' by using the utility software unecm

   Bios missing warning (Gba_bios)


Mapping keyboard:
pygame module to work with the keyboard
KeyASCII ASCII      Common Name
K_BACKSPACE   \b      backspace
K_TAB         \t      tab
K_CLEAR               clear
K_RETURN      \r      return
K_PAUSE               pause
K_ESCAPE      ^[      escape
K_SPACE               space
K_RSHIFT              right shift
K_LSHIFT              left shift
K_RCTRL               right ctrl
K_LCTRL               left ctrl
K_RALT                right alt
K_LALT                left alt
K_RMETA               right meta
K_LMETA               left meta
K_LSUPER              left windows key
K_RSUPER              right windows key

lunes, 18 de agosto de 2014

Resizing OS from an image

Configuring Raspberry

System configuration parameters that would normally be kept and set using the BIOS are now stored in a text file named "config.txt". 

Including an example configuration file with comments

Make display smaller to stop text spilling off the screen
## overscan_left
##     Number of pixels to skip on left

File is for passing arguments to the Linux kernel and it can be found in /boot/
i.e   ip=    (Static ip for direct RJ45 cable connect)

Resizing OS from an image

-sometimes can have problems resizing a  fat32 filesystem, it means that partition have desired size but filesystem and available space still having the original size.
-usually works fine with ext2, ext3 partitions

Manual method for fat32 partition
copy or pack (tar) files in fat32 partition
Delete partition
Create a new fat32 (lba) partition
copy, untar files 

viernes, 4 de julio de 2014

CA Clarity related software (BO, CAPA,...)

CAPA (from Oracle UPK)
Player - Version 11.1.0

Compatible ff 3.6.28

BOXI Xcelsius SP6 (from SAP)
-Ms Office installed
-Flashplayer for IE

Tested with:
Office 2007

BO /Infoview
Logs on the BO server

Address for Query Builder

miércoles, 1 de enero de 2014

Welcome to Synzed Lyrics (LRC) (2nd edition)

(Update from an old post from 16/06/08 18:29)

What am i talking about?

An easy definition could be: .lrc files are the subtitles for the music, and looks like .SRT files(video subtitles) are text files with a timestamp before each phrase.

ex. [min:sec.mmm] bla bla bla bla

Note: Some people tags the lyrics in different way (by hand or by software), the players should work with all but could fail if the developer didn't think in that.

Real examples of tags:

[0:34] 1 digit for minute and 2 for seconds

[01:07.037] 2 digit for minutes and 3 for milliseconds

[00:15.38] 2 digits for minutes and 2 for milliseconds ¿wrong?

[1:01.296] 1 digit for minutes and 3 for milliseconds

Minilyrics isn't the same as videosubtitles therefore the millisecond precision is not necessary and any value is correct.

In beginning every line of text has its own time stamp but in the last years, lyrics downloaded from some webs, when a sentence is repeated there are as many time stamps as required at the beginning, and luckily most of players/addons supports this new feature


clean out the bank and bump off your daddy

These timestamps must be syncronized with the music file (ogg, mp3,etc...)

what do I need?

A music player hardware or software, with support for lyrics (a  plugin for your application is a common solution)favourite player, this player can be a hardware or software, some cheap mp3 player support .srt files (I suppose ipod too).

Software for:

XBMC (Karaoke + Cu lyrics addon)
Nightingale (a son of Songbird and based in Firefox) (addon Mlyric)

Winamp, Amarok,..... (some of them need a plugin)

Songbird+scrolling lyric (don't read from local lrc files, download the lyric/minilyric from internet)*

Apple MacOS: XBMC (Karaoke + Cu lyrics addon)

Nokia Maemo: Mediabox (small font and not configurable)

PalmOS: ptlyrics (+Pocket tunes)*

Symbian: LCG Jukebox
Raspberry Pi: XBMC (Karaoke + Cu lyrics addon)
Android: Minilyrics(.lrc + .txt fullscreen)

* include creation of minilyrics (tag time on lyrics)

How/where I can get lyrics?

Lyrics addons:
Minilyrics software. Output: .lrc .txt files
Cu lyrics addon (XBMC). Output: .lrc .txt files
Mlyric addon (Nightingale). Output: id3tag Unsynced tag



or if you want a pack with lrcfiles + mp3 you can search in torrent with "ramones mania"

and one example of lrc file: Bad Religion - Turn on the light

Present and Future

This was quite unknown format, more know in Asia than Europe or America, furthermore it is not very commercial (most of media-players devices doesn't support it as per default) . Maybe Apple will create their own copy and will sell it as a very modern feature...

However, nowadays the lack of support from big companies  is not a so bad  because people made their .lrc files by themselves (is as easy as to edit an lyric text file and add the timestamps) and it is quite easy to find lyric for many bands

viernes, 22 de noviembre de 2013

Clarity functional administration

Clarity direct addresses

Project audit trail
.../niku/nu#action:odf.projectAuditTrailReturn&id= %projectid%
Task audit trail
Licenses per user(there is not a direct menu entry)

Report scheduling with cron

Based in  standard cron format.
Five time parameters separated by "spaces"
Different values for a same parameter are separated by "comma"
* = any value

*    *    *    *    *

min (0 - 59)
hour (0 - 23)
day of month (1 - 31)
month (1 - 12)
day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names)

Theme for testing


CAPA and versions

Clarity v13.1
CAPA Player - Version 11.1.0 Build
Clarity v13.2
CAPA Player - Version 11.1.0 Build

Prefixes portlets and reports

COP. , from PMO Accelerator (portlets)
CATS. ,  from Best Practises Accelerator (obsolete reports replaced by CSP and portlets by cop)
RPT_PMO_ ,  Obsolete reports from PMO Accelerator (Releases previous to 3.1)
CSP_,  from Clarity Solution Pack (reports and portlets)

martes, 6 de agosto de 2013

Retro IT Culture


Best abandon books and webs where to read about the old times of IT

Basic Rules!!

Tecnología Obsoleta:

The probably the best IT books ever published including the best illustrations:



Just DIY:

viernes, 26 de julio de 2013

XML - Editor, Tools,...

XML editing software
Java is not compatible with UTF8 with BOM and XOG is based in Java
so use UTF8 (withoutBOM) or cp1252 aka ANSI

--Ms.Notepad XML 2007
(be careful writes UTF8 with BOM)
   Outline view with XML elements. Able to drag and drop elements from one file to other

--XML Spear 3.1. Good free software! it is possible to select the enconding(even UTF8 with BOM)
   Outline with element, no drag and drop
   Able to open big files (>20MB)  
   Plugin for Clarity

--Eclipse Indigo+WTP
   By default not able to manage big xml files
  Outline view with XML elements, Able to drag and drop elements from one file to other (in different Eclipse windows)

 Eclipse XML Editors and Tools

  it is not an specific editor but it has colour syntax and can be used to compare two files (plugin compare)

  it is not an specific editor but it has colour syntax and can be used to compare two files(Tools, text Differences)

Web services
Create XSD from web:
XSD in Russian Doll Style or Separate Complex Types

!note.  resulting XSD is not proper to map Clarity instances, value is missing.

Flame-Ware Solutions XML-2-XSD v2.0
!note. resulting XSD has xmlns:msdata, not proper to map Clarity

jueves, 11 de julio de 2013

XML- Map data to XML for XOG

XOG-in CSV data to a Clarity custom object

Using Mapforce2013 *
*Mapforce2013Enterprise (rel2sp2) [commercial app]
With installation folder it can be used as a portable app.
Registration is computer dependent (C:\ProgramData\Altova\MapForce2013)

In order to generate a xml to xog-in

  • Add schema file(xsd)
    •   ../xsd/nikuxog_customObjectInstance.xsd
  • Add csv or xslx (xslx better to display column headers)
    •  Config. rows level, "Show separate items for columns"

  • Config at XSD
    •  Attributes content is inside tag ColumnValue
    • Add a duplicate of ColumnValue per each attribute to map
    • map attribute name to "name" element in Schema
    • map content to "text()" element in Schema
  • Map columns and constants to Schema
    •  map Row number to xsd element with iteration (sequence)
    •  map columns to xsd elements

Mapforce mapping

  • Menu: Output, Save Output file, (xml file to xog-in)
  • Edit in xml file to correct local paths, i.e.  xsi:noNamespaceSchemaLocation="../../xsd/nikuxog_customObjectInstance.xsd"
*Clarity date attribute is in format yyyy-mm-ddT00:00:00 and will be xogout including time but format yyyy-mm-dd is supported for xogin

martes, 11 de junio de 2013

Clarity - partition - lookup and mappings

How to use partitioned values in a static list lookup with attribute mappings

I am writing this short procedure because I think it is quite interesting and I didn't see any document about it. For instance, it can be done with out of the box "Investment Status Indicator"   attribute

Attribute Name: Status Indicator

It is possible to create values associated to partitions from lookup "Values"

However, from object attribute I cannot see the lookupvalues if they are associated to "Mipartition:Partition and descendants"
If we change to "Partition, ancestors and descendants" then we can see them from mappings and map  with colors

with Partition, ancestors and descendants

But now the values are available for non partition views and users. :(
So, We change values to "Mipartition:Partition and descendants"
Now, partitioned values are not available for system views :)
But from partition views, these values are available and can be selected. :)

Note that at the moment from the attribute we can see all the mappings but those two associated to partition values will appear without value associated. It is only a visual effect and in the database they are configured well, in fact if we would reconfig values to "Partition, ancestors and descendants" they automatically will be displayed in mappings list  :)

with Partition and descendants

If you have  an error "HTTP 500 Internal server error"when editing from  Project List whereas same action from a system view works fine. Go to partition views and click Publish (it will restore user view customization).