Here's an animated binary and octal counter

I was inspired by the "Milliseconds.fx" code example in the NetBeans pack and coded this animated counter. I've done binary and octal so far, but I'm going to work on abstracting a base class before doing decimal and hex. I know it's not all elegant and perfect, but it was a lot of fun.
* Main.fx
* Created on Jan 7, 2009, 6:22:07 PM
import javafx.animation.Interpolator;
import javafx.animation.Timeline;
import javafx.scene.CustomNode;
import javafx.scene.Group;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.text.Font;
import javafx.scene.text.Text;
import javafx.stage.Stage;
* @author Sidney Harrell
var time: Integer on replace OldValue{
    binaryCounter.flip(time);
    octalCounter.flip(time);
def binaryCounter = BinaryCounter{};
def octalCounter = OctalCounter{};
def timer = Timeline {
    keyFrames: [
        at (0s) {time => 0},
        at (6000s) {time => 100000 tween Interpolator.LINEAR }
class OctalCounter extends CustomNode {
    def string = ["0", "1", "2", "3", "4", "5", "6", "7"];
    var digits: String[];
    var octalPlaceValues: Integer[] = [
        134217728
        16777216, 2097152
        262144,32768
        4096,512, 64
        8, 1];
    var digitNodes: Text[];
    var temp: Integer;
    public function flip(time:Integer) {
        if (time > octalPlaceValues[0] * 8) {
            temp=time mod octalPlaceValues[0] * 8;
        } else {
            temp=time;
        for (i in [0..9]) {
            if ((temp != 0)and(temp / octalPlaceValues[i] != 0)) {
                digits[i] = string[temp / octalPlaceValues];
temp = temp - octalPlaceValues[i]*(temp/octalPlaceValues[i]);
} else {
digits[i] = string[0];
public override function create(): Node {
for( i in [0..9]) {
insert string[0] into digits;
for (i in [0..9]) {
insert Text {
font: Font {
size: 24
x: 10,
y: 30
content: bind digits[i]
} into digitNodes;
return Group {
content: HBox{
spacing: 10
content:[
digitNodes
Stage {
title: "Binary Counter"
width: 450
height: 120
scene: Scene {
content: VBox {
spacing: 10;
content: [
binaryCounter
octalCounter
timer.play();
class BinaryCounter extends CustomNode {
def string = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
"A", "B", "C", "D", "E", "F"
var digits: String[];
var binaryPlaceValues: Integer[] = [16384 * 2 * 2, 16384 * 2, 16384, 8192, 4096, 2048, 1024,
512, 256, 128, 64, 32, 16, 8, 4, 2, 1];
var digitNodes: Text[];
var temp: Integer;
public function flip(time:Integer) {
if (time > binaryPlaceValues[0] * 2) {
temp=time mod binaryPlaceValues[0] * 2;
} else {
temp=time;
for (i in [0..16]) {
if ((temp != 0)and(temp / binaryPlaceValues[i] != 0)) {
digits[i] = string[
temp / binaryPlaceValues[i]];
temp = temp - binaryPlaceValues[i];
} else {
digits[i] = string[0];
public override function create(): Node {
for( i in [0..16]) {
insert string[0] into digits;
for (i in [0..16]) {
insert Text {
font: Font {
size: 24
x: 10,
y: 30
content: bind digits[i]
} into digitNodes;
return Group {
content: HBox{
spacing: 10
content:[
digitNodes

As promised, completed with all four major bases.
import javafx.animation.Interpolator;
import javafx.animation.Timeline;
import javafx.scene.CustomNode;
import javafx.scene.Group;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.text.Font;
import javafx.scene.text.Text;
import javafx.stage.Stage;
* @author Sidney Harrell
def binaryCounter = BinaryCounter{};
def octalCounter = OctalCounter{};
def decimalCounter = DecimalCounter{};
def hexCounter = HexCounter{};
var time: Integer on replace OldValue{
    binaryCounter.flip(time);
    octalCounter.flip(time);
    decimalCounter.flip(time);
    hexCounter.flip(time);
def timer = Timeline {
    keyFrames: [
        at (0s) {time => 0},
        at (6000s) {time => 100000 tween Interpolator.LINEAR }
Stage {
    title: "Counters"
    width: 530
    height: 200
    scene: Scene {
        content: VBox {
            spacing: 10;
            content: [
                binaryCounter
                octalCounter
                decimalCounter
                hexCounter
timer.play();
abstract class Counter extends CustomNode {
    def digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
        "A", "B", "C", "D", "E", "F"];
    var placeValues: Integer[];
    var representation: String[];
    var digitNodes: Text[];
    var temp: Integer;
    var base: Integer;
    var places: Integer;
    public function flip(time:Integer) {
        if (time > placeValues[0] * base) {
            temp=time mod placeValues[0] * base;
        } else {
            temp=time;
        for (i in [0..places]) {
            if ((temp != 0)and(temp / placeValues[i] != 0)) {
                representation[i] = digits[temp / placeValues];
temp = temp - placeValues[i]*(temp/placeValues[i]);
} else {
representation[i] = digits[0];
class OctalCounter extends Counter {
public override function create(): Node {
base = 8;
places = 9;
placeValues = [134217728, 16777216, 2097152, 262144, 32768,
4096, 512, 64, 8, 1];
for( i in [0..places]) {insert digits[0] into representation;};
for (i in [0..6]) {insert Text {font: Font {size: 24}; x: 10, y: 30 content: digits[0]} into digitNodes;};
for (i in [0..places]) {insert Text {font: Font {size: 24}; x: 10, y: 30 content: bind representation[i]} into digitNodes;};
insert Text {font: Font {size: 24}; x: 10, y: 30 content: "octal"} into digitNodes;
return Group {content: HBox{spacing: 10 content:[digitNodes];}};
class BinaryCounter extends Counter {
public override function create(): Node {
base = 2;
places = 16;
placeValues = [16384 * 2 * 2, 16384 * 2, 16384, 8192, 4096, 2048, 1024,
512, 256, 128, 64, 32, 16, 8, 4, 2, 1];
for( i in [0..places]) {insert digits[0] into representation;};
for (i in [0..places]) {insert Text {font: Font {size: 24}; x: 10, y: 30 content: bind representation[i]} into digitNodes;};
insert Text {font: Font {size: 24}; x: 10, y: 30 content: "binary"} into digitNodes;
return Group {content: HBox{spacing: 10 content:[digitNodes];}};
class DecimalCounter extends Counter {
public override function create(): Node {
base = 10;
places = 8;
placeValues = [100000000, 10000000, 1000000, 100000, 10000, 1000,
100, 10, 1];
for( i in [0..places]) {insert digits[0] into representation;};
for (i in [0..7]) {insert Text {font: Font {size: 24}; x: 10, y: 30 content: digits[0]} into digitNodes;};
for (i in [0..places]) {insert Text {font: Font {size: 24}; x: 10, y: 30 content: bind representation[i]} into digitNodes;};
insert Text {font: Font {size: 24}; x: 10, y: 30 content: "decimal"} into digitNodes;
return Group {content: HBox{spacing: 10 content:[digitNodes];}};
class HexCounter extends Counter {
public override function create(): Node {
base = 16;
places = 6;
placeValues = [16777216, 1048576, 65536, 4096, 256, 16, 1];
for( i in [0..places]) {insert digits[0] into representation;};
for (i in [0..9]) {insert Text {font: Font {size: 24}; x: 10, y: 30 content: digits[0]} into digitNodes;};
for (i in [0..places]) {insert Text {font: Font {size: 24}; x: 10, y: 30 content: bind representation[i]} into digitNodes;};
insert Text {font: Font {size: 24}; x: 10, y: 30 content: "hex"} into digitNodes;
return Group {content: HBox{spacing: 10 content:[digitNodes];}}
Edited by: sidney.harrell on Jan 12, 2009 7:49 PM
added missing closing brace                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Old school, has anyone here been able to install and run Logic Pro 9.1   on a dual 1.8 G5 PPC? I know LP9 is not officialy supported on non Intel CPUs, But  9.0.0 and 9. 02 are ok on the G5 PPC as it is universal Binary, while I hear 9.1 wont work

    has anyone here been able to install and run Logic Pro 9.1   on a dual 1.8 G5 PPC? I know LP9 is not officialy supported on non Intel CPUs, But  9.0.0 and
    9. 02 are ok on the G5 PPC as it is universal Binary, while I hear 9.1 wont work.

    ok thanks, that's what I tought,looks like apple machines are only good for two - three years, the software developers are ahead of the hardware to a certain point, love macs but this is forcing us to buy new macs just to keep  up with development. There was a time it was the opposite.
    By the time we get up on new stuff it's time to change again. Gotta be rich to deal with macs ...LOL

  • Program for turning animated .gif and MP3 files to .mov

    I need a program that takes an animated GIF and an MP3 of WAV file and turns them into a .mov file, but I don't have the money for FinalCut. Is there a cheaper (or free) program that can do this thing?

    hello. try mpeg streamclip here -
    http://www.apple.com/downloads/macosx/video/mpegstreamclip.html
    not sure if it'll help, but most users here swear by it for various format conversions. and it's free.

  • How can I import playlists, ratings, and play counts from an old iTunes library into a new one?

    After reading countless threads re: how to get the iTunes artwork screensaver to work, I decided to delete my iTunes library file and reimport all of music which resulted in fixing the iTunes artwork screensaver.  Unfortunately (and expectedly), my playlists, playcounts, and other information were lost with the creation of a new library.  Is there any way to import the playlists, ratings and play counts for my music from an old library file to my current one?  I realize this may be complex, but I'm up for the task.
    Thanks in advance,
    B

    I can't begin to describe how frustrating the screensaver issue has been for me (and I suspect countless others, judging by the number of threads on the topic). 
    I took your advice, though, just to test it.  After backing up my current library.itl, I copied and pasted the old .itl file into its place.  As expected the playlists, play counts, etc were instantly restored.  And now the screensaver fails to work with the dreaded error 'No iTunes artwork found' which makes me think it IS an issue with the old library file.  The only work around I've seen so far is to rebuild the library (which I did). 
    I'm afraid I'm going to be forced into choosing either a working screen saver or all my itunes data.  Very frustrating indeed.
    Here's a link to the 'definitive' fix for the screensaver, if you're interested.
    https://discussions.apple.com/thread/3695200?start=0&tstart=0
    Thanks again,
    B

  • I want to move the location of my iTunes library music files. At present they are all on my time machine . I want to move them all to my imac. Can I do that and keep all my playlists and play counts? Thanks in advance

    I want to move the location of my iTunes library music files. At present they are all on my time machine . I want to move them all to my imac. Can I do that and keep all my playlists and play counts? Thanks in advance
    its 1000s of songs . Originally I used the time machine as a networked drive but it can cause the songs to pause so I'm thinking it would be better to have the songs on the internal imac drive
    how can I move the songs so I can re-open iTunes and the playlists (with plays in the 100s) find the song in the new place?

    Do you mean on your Time Machine backup drive? Or are you actually accessing the backup? In either case you shouldn't be doing that. If you haven't space on your HDD to store the iTunes Library, then at least put it on another external drive.
    Since you did not provide any information about what's actually "on my time machine," here's what you would do. The entire iTunes folder should be stored in the /Home/Music/ folder. Within that folder you would have three folders: imm Media, iTunes, and iTunes Playlists.

  • Does iPhone, iPad, apple tv and iPod count against your five computer limit under one account?

    I cant seem to find a straight answer anywhere, some say this others that. I have 2 iphones 1 pad 1 apple tv 1imac all under 1 account. would like to get a second imac and want to know if I can keep everything under the same account. Do the phones pads and pods count towards your 5 count?

    bumpwith9s wrote:
    ... I have 2 iphones 1 pad 1 apple tv ...
    These are Devices Not computers...
    See Here for full details...
    About authorization and deauthorization
    Also, See Here  >  http://support.apple.com/kb/HT4627

  • Getting Sum, Count and Distinct Count of a file

    Hi all this is a UNIX question.
    I have a large flat file with millions of records.
    col1|col2|col3
    1|a|b
    2|c|d
    3|e|f
    3|g|h
    footer****
    I am supposed to calculate the sum of col1 =9, count of col1 =4, and distinct count of col1 =c3
    I would like it if you avoid external commands like AWK. Also, can we do the same by creating a function?
    Please bear in mind that the file is huge
    Thanks in advance

    This sounds like homework for a shell class, but here goes. Save into a file, maybe "doit". Run it like this:
    $ ./doit < data
    <snip>
    #!/bin/sh
    got0=0
    got1=0
    got2=0
    got3=0
    got4=0
    got5=0
    got6=0
    got7=0
    got8=0
    got9=0
    sum=0
    cnt=0
    IFS='|'
    while read c1 c2 c3 junk; do
    # Sum and count
    echo "c1=${c1}"
    case "${c1}" in
    [0-9] )
         sum=$(expr ${sum} + ${c1})
         cnt=$(expr ${cnt} + 1)
    esac
    # Distinct
    case "${c1}" in
    0 )     got0=1;;
    1 )     got1=1;;
    2 )     got2=1;;
    3 )     got3=1;;
    4 )     got4=1;;
    5 )     got5=1;;
    6 )     got6=1;;
    7 )     got7=1;;
    8 )     got8=1;;
    9 )     got9=1;;
    esac
    done
    echo "cnt=${cnt}"
    echo "sum=${sum}"
    echo "distinct="$(expr $got0 + $got1 + $got2 + $got3 + $got4 + $got5 + $got6 + $got7 + $got8 + $got9)
    <snip>

  • Help animating clips and text

    How would I go about animating clips and text the way they appear to move in the above video (made using Motion) in After Effects? What effect would I apply to the clips and text to be able to alter their perspective/angle like that?
    Thanks for your help!

    You'd just make the video layers into 3D layers and animate them and move the camera around them.
    The text can be animated using per-character 3D animation.
    Since you're new to After Effects, I strongly recommend that you start here to learn After Effects.

  • How to dynamically set Min count and Max Count values in Adobe Print Form?

    How to set the Min Count and Max Count values dynamically in a Print Form?
    The values when set should over ride the values set in Binding Tab.
    This is all needed to print multiple Material Number labels on a single page - and the number of labels to be printed needs to be under user control - something like an Avery Address labels
    Please advise.
    Thanks,

    Here is a work around that works for me and may not be an intelligent solution .
    I kept the Min Count to 1 on the subform binding properties.
    Per the number of labels required, I appended the same item to the internal table so many times and passed it to the label.
    it works fine for my requirement.
    However - leaving out the post for a while to see if this can be done at the form level via scripting.
    Thanks,

  • How do you get a word and character count of a document in Pages for Mavericks

    How do you get a word and character count of a document in Pages for Mavericks?

    Hi jonathan,
    I struggled with this one as well, as i'm finishing up a PhD thesis and word counts are incredibly important. Through trial and error i found out that words like 'e.g.' and 'i.e.' count as two words and an ampersand (&) doesn't count at all. That being said, i didn't like the fact that the word count always included footnotes and i was dismayed that i couldn't get an accurate count of words in the main body of my text. That all disappeared yesterday when, by chance, while i was copying a completed chapter and pasting it into my main document, i discovered that Pages can indeed give you an accurate word count excluding the footnotes!  Here's all you need to do:
    1. In pages 5.2, make sure that the Word Count function is first enabled by selecting View --> Show Word Count from the Pages Menu Bar. (If it's already enabled, it will read View --> Hide Word Count, so if that's what it says, then no need to do anything.)
    2. Once enabled, check the Word count that's currently showing at the bottom of the page. That's the word count including your footnotes.
    2. Now, place your cursor anywhere within the current document, then hit command+A (for Select All).
    3. Viola! Your word count now shows the actual number of words within the body of the text only, excluding footnotes!
    Hope that helps!

  • Line size and line count

    Hi all,
    May i know about line size and line count impact on reports ?
    i mean depending on line sizes values i.e 200 etc hw it will effect report either in output display  or length ?
    and also ablout line count too.
    Thanks in advance.

    This information may help you
    *... LINE-SIZE width *
    Effect
    This addition specifies the line width of the basic list and details list of the program to width characters, and sets the system field sy-linsz to this value. The line width determines the number of characters in the line buffer as well as the number of columns in the list displayed. The value width must be a positive numeric literal. The maximum line width is 1,023 characters.
    When the LINE-SIZE is not specified, the line width of the basic list is set to a standard width based on the window width of the current Dynpro, but is at least as wide as a standard size SAP window. For the standard width, the contents of sy-linsz is 0. The LINE-SIZE overwrites the value of the like-named LINE-SIZE addition to the statement SUBMIT and can be overwritten during list creation with the like-named LINE-SIZE addition to the statement NEW-PAGE.
    Note
    The current maximum line width is stored in the constants slist_max_linesize of the type group SLIST. Also defined there is a type slist_max_listline of type c with length slist_max_linesize.
    *... LINE-COUNT page_lines[(footer_lines)] *
    Effect
    This addition specifies the page length for the basic list of the program to page_lines lines and fills the system field sy-linct with this value. If the LINE-COUNT is not specifed, and if page_lines are less than or equal to 0 or greater than 60,000, then the page length is set internally to 60,000. This setting overwrites the passed value of the like-named LINE-SIZE addition to the statement SUBMIT and can be overwritten during list creation with the like-named LINE-COUNT addition to the statement NEW-PAGE.
    If you optionally specify a number for footer_lines, a corresponding number of lines are reserved for the page footer, which can be described in the event block END-OF-PAGE.
    You must specify page_lines and footer_lines as numeric literals.
    Notes
    For screen lists, you should use the standard value since, as a rule, page breaks defaulted through LINE-COUNT are not adjusted to the window size.
    You should also use the standard value for print lists, so that you can still select the page size on a printer-specific basis. A print list should be created in such a way so that it can handle every page size.
    Specifying a fixed line count is only useful for form-type lists with a fixed page layout. Here, however, you should always check whether such forms can be created by other means, such as SAPScript forms.

  • Invalid volume file count and directory count

    My wife's macbook pro started shutting down by itself randomly, so i performed Disk Utility Verify Disk and found these errors:
    Invalid volume file count
    (It should be 800651 instead of 800653)
    Invalid volume directory count
    (It should be 191005 instead of 191003)
    The volume Macintosh HD needs to be repaired.
    Error: Filesystem verify or repair failed.
    As i do not have the Mac OS Leopard disks physically with me, I target-disk started her mac on my mac, and use my mac to run Disk Utility on her hard-disk, and repaired the disk without problems.
    However, this is the 3rd or 4th time this has happened. After the 1st time, i figured something is causing it, so i checked this forum, and found that for some, the Blackberry Messenger app causes programs, so i promptly uninstalled it fully (including associated system files) and this problem didnt come back for a while.
    Or could this be a sign the hard disk is physically failing soon? It is out of warranty now. We have regular TimeMachine backups. We are actually kinda waiting out until the new line of macbook pro's come out.. (hopefully in June at WWDC)
    Any suggestions as to how else to address this? Thanks!
    Laptop stats: MacBook Pro 15"
    2.4 GHZ Intel Core 2 Duo
    2 GB RAM
    HDD: 250GB
    Graphics: NVDIA GeForce 9400M VRAM 256MB
    OS: Mac OS Leopard

    Well, the disk errors are due to corruption caused by the random power downs, so focus on getting that issue solved first. What's the stats on the battery?

  • SQL statement with LIMIT and total count?

    Hello,
    I would like to know if it is possible to execute a single SQL statement that will return me a subset of data (for pagination purposes) that not only includes the subset of data for the page but the count of all available data. Can this be done so as to not take up the cpu and time it takes to essentially run two queries? One to get the subset and one to get the count? I think simply doing a subselect is not going to give me what I want in that we actually query twice.
    There may be no way to do this other than that, but I wanted to check with the gurus here first. :)
    Thanks,
    Mark

    select *
    from (
    select i.*,
    row_number() over(order by i) rn, -- used for
    pagination
    count(*) over(partition by 1) cnt  -- total count
    of rows found for this search
    from mytable
    where < PUT ALL LIMITING (i.e., "search") CONDITIONS
    HERE >
    where rn between 41 and 50 -- pagination clauseNice one
    BUT of course it adds additional row in execution plan and takes additional time and CPU :)
    I assume that it directly depends of course on returned result set and some other factors like available sort space but a simple test case on a table big which actually is 1.6 M rows like dba_source got following results:
    here is the first one returning also count(*)
    SQL> select *
      2  from (
      3    select i.*,
      4      row_number() over(order by owner, name, type) rn
      5  , -- used for pagination
      6      count(*) over(partition by 1) cnt  -- total count of rows found for this search
      7    from big i
      8    where owner like 'S%' and name like '%A%'
      9  )
    10  where rn between 41 and 45
    11  /
    OWNER                          NAME                           TYPE
          LINE
    TEXT
            RN        CNT
    SYS                            ANYDATA                        TYPE
            13
      STATIC FUNCTION ConvertVarchar(c IN VARCHAR) return AnyData,
            41     999744
    SYS                            ANYDATA                        TYPE
            11
      STATIC FUNCTION ConvertDate(dat IN DATE) return AnyData,
            42     999744
    SYS                            ANYDATA                        TYPE
             9
            43     999744
    SYS                            ANYDATA                        TYPE
             7
         They serve as explicit CAST functions from any type in the Oracle ORDBMS
            44     999744
    SYS                            ANYDATA                        TYPE
             6
         enable construction of the AnyData in its entirity with a single call.
            45     999744
    Elapsed: 00:00:41.02
    SQL> ed
    Wrote file afiedt.buf
      1  select n.name, m.value from v$statname n, v$mystat m
      2  where n.statistic# = m.statistic#
      3*   and (upper(name) like '%SORT%' or upper(name) like '%TEMP%')
    SQL> /
    NAME                                                                  VALUE
    physical reads direct temporary tablespace                            35446
    physical writes direct temporary tablespace                           17723
    RowCR attempts                                                            0
    SMON posted for dropping temp segment                                     0
    sorts (memory)                                                           36
    sorts (disk)                                                              1
    sorts (rows)                                                        1999596
    OTC commit optimization attempts                                          0
    8 rows selected.here is the second one returning only rows:
    SQL> ed
    Wrote file afiedt.buf
      1  select *
      2  from (
      3    select i.*,
      4      row_number() over(order by owner, name, type) rn
      5  --, -- used for pagination
      6  --    count(*) over(partition by 1) cnt  -- total count of rows found for this search
      7    from big i
      8    where owner like 'S%' and name like '%A%'
      9  )
    10* where rn between 41 and 45
    SQL> /
    OWNER                          NAME                           TYPE
          LINE
    TEXT
            RN
    SYS                            ANYDATA                        TYPE
            13
      STATIC FUNCTION ConvertVarchar(c IN VARCHAR) return AnyData,
            41
    SYS                            ANYDATA                        TYPE
            11
      STATIC FUNCTION ConvertDate(dat IN DATE) return AnyData,
            42
    SYS                            ANYDATA                        TYPE
             9
            43
    SYS                            ANYDATA                        TYPE
             7
         They serve as explicit CAST functions from any type in the Oracle ORDBMS
            44
    SYS                            ANYDATA                        TYPE
             6
         enable construction of the AnyData in its entirity with a single call.
            45
    Elapsed: 00:00:12.09
    SQL> select n.name, m.value from v$statname n, v$mystat m
      2  where n.statistic# = m.statistic#
      3    and (upper(name) like '%SORT%' or upper(name) like '%TEMP%')
      4  /
    NAME                                                                  VALUE
    physical reads direct temporary tablespace                                0
    physical writes direct temporary tablespace                               0
    RowCR attempts                                                            0
    SMON posted for dropping temp segment                                     0
    sorts (memory)                                                           10
    sorts (disk)                                                              0
    sorts (rows)                                                         999812
    OTC commit optimization attempts                                          0
    8 rows selected.So execution time 41 sec vs 12 sec
    sorts (rows) 1 999 596 vs 999 812
    physical reads/writes direct temporary tablespace 35446/17723 vs 0/0
    I assume that for a small overall returned row count it probably is OK, but for less restrictive search it can be quite deadly as before with two queries.
    Gints Plivna
    http://www.gplivna.eu

  • Erased/missing ratings and play counts

    I searched for something similar in the boards but didn't come across any.
    Here's the problem I've just encountered. I'm running iTunes 8.0.2 with all my music files on an external drive. I've haven't had any real issues with iTunes in all the years I've used it. A few months ago I finally finished going through all my music playing it at least once with itunes and rating them all. I turn it on today and my smart playlist which lists all the unplayed songs is showing 3.1 days of songs that have lost their play count and ratings data. Kinda frustrating.
    Does anyone know what happened and if it is correctable?

    My question is this: does this count as automatic updating for the purposes of ratings and play counts being copied to iTunes when I sync with iPod?
    it should do. green eyes is a second gen nano, i'm syncing selected playlists only, and my play counts and ratings are updating in the smart playlists.
    are you playing the songs through completely? i'm noticing that i only get a playcount update if i've completely played the song. (the ratings changes go through regardless of whether or not i've completely played a song on green eyes, though.)

  • Flash animation/click and mini slide problem

    Hi,
    we have made a roll over effect with flash and put inot
    Captivate as a single object. This works fine. When using a roll
    over box on this object, the flash animation still works. When we
    made a copy of the flash animation object and want to use another
    Captivate effect, such as the mini slide on the other animation
    object, then the flash animation does not work anymore for both
    objects.
    Any idea?
    Marcus

    Hi Marcus
    Yes, you may have two different objects on a slide. I saw
    something interesting the other day in one of my Captivate classes.
    The attendee had inserted two different slidelets. They both
    worked. She had inserted the second slidelet rollover area in a
    spot the first slidelet covered. She coaxed the user to mouse over
    the rollover trigger for the second slidelet from inside the first
    slidelet. It worked.
    You may also have multiple Rollover Captions and Rollover
    Images on a slide. Image Buttons are another type of "Rollover"
    effect in that different images are swapped in and out as needed
    when mousing over or clicking the buttons.
    So the bottom line here is to say that indeed multiple
    rollover effects do work in Captivate.
    Cheers... Rick

Maybe you are looking for

  • Help required in reading freight price for PO item. See below code.

    H All, I have a requirement to read frieght cost for each PO item. Please see the below code and let me know is this approach is correct or not. * Fetch PO header details for selected criteria   SELECT ebeln                         "Purchasing docume

  • IChat is unable to connect using a .Mac account

    Hello, I have tried to connect using iChat and a .Mac account (no, I do not have an AIM membership and am only a .Mac member). When I tried to add a friend to the buddy list (there are only Bonjour and AIM lists available, but I'm a member of neither

  • Unable to connect JavaDB

    I created a database in derby (with ij tool). I wanted to connect this database through JSP page from Tomcat 6 server. I started the Network Server from Command Window(Server Shell) Server started (used 1527 port) I connected the created database by

  • Authorware 2.0 migration to 7.01

    I have a Mac version of a authorware 2 file and need to get it to current version. Anyone know or aware of the fastest way to do this? Will I have to do it the old way of going 2 to 3 to 4 to 5, then 7?

  • Getting rid of stocks in menu???

    Hi there, Is there any way of getting rid of the stocks button on the main menu of an iphone as I am never ever going to use this? Tom