Repeated Results

Hello all! :)
I'm having a bit of trouble with some results of a selection. My current selection includes the following fields:
Year | Month | Current Month Measure | Previous Month Measure | Previous Year Measure
The Previous Month and Previous Year measures have been defined by Time Series functions in the Administration Tool. When I select the above mentioned columns, I get the following sample results:
Year Month Current Month Previous Month Previous Year
2006 Jan 121,345
Feb 122,364 121,345
121,345
121,345
121,345
121,345
121,345
Mar 166,521
Apr 122,532
I tried making the subject area again and results became:
Year Month Current Month Previous Month Previous Year
2006 Jan 121,345
Feb 122,364 123,466
123,466
123,466
123,466
Mar 166,521 132,322
132,322
132,322
132,322
Apr 122,532 152,475
152,475
152,475
152,475
I tried removing other tables connected to the fact table to isolate the fact and period table and it seems that the problem's with one or more of the three: the fact table, the period table, and/or the dimension, but I no idea which.
Hope somebody has an idea regarding this. Thank you very much! :)
Regards,
Cha :)

hi! :)
i've found the solution to my problem. it seems that in defining dimensions, the field that can most define the uniqueness of the level should be defined as the primary and chronological key of that level.
just to explain, the source of my period dimension provides data defining each day or date available; meaning each day has its own record key. my fact table, on the other hand, is an aggregate that focuses on monthly details. the fact table, despite being an aggregate, uses the record key of the last day of the month to relate to the period table.
i initially used the record key to define the primary and chronological key for the dimension (since it's still unique for each month) but it seems to include the daily keys as well. so instead of the record key, i used a field from the period table that defined the end-of-month date for the record's actual date (all dates have a corresponding end-of-month date field), that would distinctly identify each date to a single date.
maybe somebody who knows this better could also explain it better, haha. anyway, problem solved! :)

Similar Messages

  • Repeatability of performance results

    Hello experts
    I have a problem with repeatability of performance test results.
    I'm using Japex (is using ThreadPoolExecutor object) to test performance of Calendar.getInstance() method.
    Parameters:
    run time = 10 seconds,
    number of threads = 10.
    The results are:
    first launch = 178643tps
    second launch = 188834tps
    third launch = 189533tps.
    So optimum evasion is 2%.
    Is it possible to get more repeatable results?
    Which mechanism is better fo these purposes?
    Thanks in advance.

    vetalok wrote:
    The main idea is to test it in comcurrency.Probably the first thing you should do is test something simple that does not involve interactions between threads, and see how it behaves concurrently, to establish a baseline of behavior (a control). That way you have something to compare against.

  • SAP Query Report gives Repeated Values

    Hi Gurus,
    I run a fixed asset report in Quickview in SAP Query but the output shows repeated results. Example I created a report in Quickview for all assets captalized in a period. When I run the report, I see all the assets repeated several times in the report. Is there something I am missing?

    If you just need cap date, then use ANLA only in the query and it should work fine. if you are defining a join with any other table check the join.

  • Different results for same query on different servers

    1. database being converted from 7.3.4 to 9.2
    2. query is executed on both servers
    3. different results!
    The tables and data are the same, and indexes are setup on new server. EXPLAIN PLAN was run on both but with (predictably) widely different results.
    I know, not much detail here, but has anyone ever ran into anything like this?
    Thanks,
    Pat

    Folks,
    Here is the relevant information for this problem. The attributes have been changed for confidentiality. If you need any other information let me know.
    Thanks,
    Pat
    Query:
    SELECT
    one,two,three,four,a.five,six,seven,
    a.eight,a.nine,
    to_char(ten,'99999.99'),to_char(eleven,'99999.99'),
    to_char(twelve,'99999.99'),to_char(thirteen,'99999.99'),
    fourteen,fifteen,sixteen,seventeen,eighteen,
    nineteen,twenty,twentyone
    FROM
    table1 a,
    table2 b
    WHERE
    a.five = b.five
    AND one = 'X'
    AND six = ' '
    AND three != 12345
    AND three IN
    (SELECT DISTINCT
    three
    FROM table3
    WHERE
    one = 'X'
    AND twentytwo = 'XYZ'
    AND twentythree != 0
    AND twentyfour != 0
    AND twentyfive = 'Y'
    AND (a.five IN
    (SELECT DISTINCT
    five
    FROM table1
    WHERE
    one = 'X'
    AND three IN (12345)
    Table1:
    one          varchar2(1)     not null     PK
    two          varchar2(20)     not null     PK
    three          number(5)     not null     PK
    four          number(2)     not null     PK
    five          number(6)     not null     PK
    six          varchar2(4)     not null     PK
    seven          number(4)     not null
    eight          varchar2(8)     not null
    nine          date          not null
    ten          number(7,2)
    eleven     number(7,2)
    twelve     number(7,2)
    thirteen     number(7,2)
    Table2:
    five          number(6)     not null     PK
    fourteen     varchar2(5)     not null
    fifteen     varchar2(5)     not null
    sixteen     varchar2(2)     not null
    seventeen     varchar2(35)     not null
    eighteen     varchar2(4)     not null
    nineteen     varchar2(2)
    twenty     varchar2(1)
    twentyone     number(6)
    Table3:
    one          varchar2(1)     not null     PK
    twentytwo     varchar2(12)     not null     PK
    two          varchar2(20)     not null     PK
    three          number(5)     not null     PK
    four          number(2)     not null     PK
    twentysix     number(2)     not null     PK
    twentyfive     varchar2(1)     not null
    nine          date          not null
    twentythree     number(13,8)     not null
    twentyfour     number(12,8)     not null
    twentyseven     varchar2(1)     not null
    eight          varchar2(8)     not null
    Explain - Oracle9i (default, with CBO):
    SELECT STATEMENT
    RECURSIVE EXECUTION SYS_LE_3_0
    RECURSIVE EXECUTION SYS_LE_3_1
    TEMP TABLE TRANSFORMATION
    HASH JOIN
    HASH JOIN
    HASH JOIN
    TABLE ACCESS FULL SYS_TEMP_0FD9D6603_AB874A
    TABLE ACCESS BY INDEX ROWID TABLE1
    BITMAP CONVERSION TO ROWIDS
    BITMAP AND
    BITMAP MERGE
    BITMAP KEY ITERATION
    TABLE ACCESS FULL SYS_TEMP_0FD9D6603_AB874A
    BITMAP CONVERSION FROM ROWIDS
    INDEX RANGE SCAN TABLE1INDEX03
    BITMAP MERGE
    BITMAP KEY ITERATION
    TABLE ACCESS FULL SYS_TEMP_0FD9D6602_AB874A
    BITMAP CONVERSION FROM ROWIDS
    INDEX RANGE SCAN TABLE1INDEX04
    TABLE ACCESS FULL SYS_TEMP_0FD9D6602_AB874A
    TABLE ACCESS FULL TABLE2
    Query results - Oracle9i (with CBO):
    X|A | 1| 0| 22| | 1|08-MAR-02|XYZ | | 24.00| | |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|B | 2| 1| 22| | 7|04-DEC-01|XYZ | | 3.25| 8.00| |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|C | 3| 1| 22| | 1|14-AUG-02|XYZ | | 10.35| | |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|D | 4| 1| 22| | 6|11-JUL-02|XYZ | | .00| 13.90| |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    (approximately 4550 rows returned)
    Explain - Oracle9i (ALTER SESSION SET OPTIMIZER_METHOD=RULE;):
    SELECT STATEMENT
    MERGE JOIN
    SORT JOIN
    NESTED LOOPS
    NESTED LOOPS
    VIEW VW_NSO_1
    SORT UNIQUE
    TABLE ACCESS BY INDEX ROWID TABLE3
    INDEX RANGE SCAN TABLE3INDEXPK
    TABLE ACCESS BY INDEX ROWID TABLE1
    INDEX RANGE SCAN TABLE1INDEX03
    TABLE ACCESS BY INDEX ROWID TABLE2
    INDEX UNIQUE SCAN TABLE2INDEXPK
    SORT JOIN
    VIEW VW_NSO_2
    SORT UNIQUE
    TABLE ACCESS BY INDEX ROWID TABLE1
    INDEX RANGE SCAN TABLE1INDEX03
    Explain - Oracle 7.3.4:
    SELECT STATEMENT
    MERGE JOIN
    SORT JOIN
    NESTED LOOPS
    NESTED LOOPS
    VIEW
    SORT UNIQUE
    TABLE ACCESS BY ROWID TABLE3
    INDEX RANGE SCAN TABLE3INDEX03
    TABLE ACCESS BY ROWID TABLE1
    INDEX RANGE SCAN TABLE1INDEX03
    TABLE ACCESS BY ROWID TABLE2
    INDEX UNIQUE SCAN TABLE2INDEXPK
    SORT JOIN
    VIEW
    SORT UNIQUE
    TABLE ACCESS BY ROWID TABLE1
    INDEX RANGE SCAN TABLE1INDEX03
    Query results - Oracle 7.3.4:
    X|A | 1| 0| 22| | 1|08-MAR-02|XYZ | | 24.00| | |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|B | 2| 1| 22| | 7|04-DEC-01|XYZ | | 3.25| 8.00| |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|C | 3| 1| 22| | 1|14-AUG-02|XYZ | | 10.35| | |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|D | 4| 1| 22| | 6|11-JUL-02|XYZ | | .00| 13.90| |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    (approximately 1150 rows returned)
    Indexes (used):
    TABLE1INDEX03     (three)
    TABLE1INDEX04     (five)
    TABLE2INDEXPK     (five)
    TABLE3INDEXPK     (one,twentytwo,two,three,four,twentysix)
    Discussion:
    Notice the repeating result for X,E,5,5,23,.... in the Oracle9i retrieval using CBO.
    The execution of this query returned approximately four times the number of rows as
    Oracle 7.3.4 using RBO. This is a function of how many "fours" there are in table3
    that have matching "threes and fours" in table1. If you put a DISTINCT clause at the
    very front of the query (SELECT DISTINCT one,two,three ....) then the result is
    accurate and the same as Oracle 7.3.4. In one execution of this query, 27,000 rows
    are expected to be returned, but the server returned over 1 million rows!
    When RBO was used on Oracle9i, the results were identical to the ones on Oracle 7.3.4.

  • Cannot get repeatable stereo calibration

    Hello all. I am struggling to get a repeatable stereo caibration. Hopefully someone can give me some pointers. A little bit about my setup:
    I have a pair of AVT Manta GigE cameras (1292 x 964) paired with Tamron 23FM25SP lenses. The cameras are mounted on a rigid (12mm thick) aluminium plate and are currently set to be around 895mm apart.The cameras are toed in slightly so that the centres of the images intersect around 4 metres from the cameras. The cameras are securely mounted via adapter plates and bolts. They cannot move.
    I have a calibration grid along the lines of the NI example grid. Mine is 28X20 black dots spaced around 13mm apart (centre to cente) with each dot being around 5mm diameter. I am aware of the  NI guidelines on suitable calibration grids, and mine seems to be well within the recommended bounds. The grid was formed by laser printing onto A3 paper and then using spray adhesive to fis to a rigid carbon fibre panel. It is flat and doesn't deform when in use.
    So, here is my problem: when I use the calibration grid to calibrate the cameras I sometimes get a good calibration and sometimes not. When I get a good calibration and attempt to repeat exactly the same process I get a different result. What do I mean by a good calibration? When I go on to use the stereo calibration in my system which tracks a circular feature in 3D space I get good accurate measurements (well sub-mm in the cross camera axes and ~1mm depth resolution, over a ange of 600mm in each axis centred around 3000mm from the cameras. The centres of the circular features in each image lie on the same horizontal image line as expected in the rectified images for a well calibrated camera pair. When I get this 'good' calibration the distance between the cameras as returned by the 'IMAQ get binocular stereo calibration info 2' VI (the magniture of the translation vector) is around the correct distance of 895mm. However, when I perform the calibration lots of times I get quite a spread of camera separations (up to 20mm either side of correct). When I get a significant error in the camera separation the accuracy of the system degrades dramatically and the centres of the circular feature line on progressively further apart horizontal lines (there's one distance from the camera when they're on the same line, and they move apart either side of that distance).
    I have gathered a set of 10 images of the calibration target and set up a VI to use a subset of the images for the calibration process and iterate through permutations to investigate the repeatabilty. I get a similar spread of results for inter-camera distance. 
    Does anyone have a feel for whether what I'm trying to do is sensible / achievable? Any tips for repeatable calibration? For instance, should the calibration grid be at a constant distance from the cameras when it is presented at the different anglres, or should a range of distances be used? If it should be the same distance, how accurately should this distnace be maintained?
    Thanks, Chris
    Regards,
    Chris Vann
    Certified LabVIEW Developer

    Hi Christophe. Thanks for taking an interest. I am pretty sure that structured light is not relevant to the calibration stage being discussed here. Structured light is a useful technique for introducing detail to otherwise bland areas of an image to provide feature matching algorithms something to match against, but I don't see how it's relevant to calibrating against a grid of dots. Happy if someone can correct me of course...
    I have been using the NI example "Stereo Vision Example.vi" located in C:\Program Files (x86)\National Instruments\LabVIEW 2012\examples\Vision\3. Applications, and have also created my own system based upon that example. I get the same poor results with both. The path and file you suggested is not present on my machine (I'm running LV2012). Is the example you suggested the same? Maybe I should be trying it. Any ideas where I can get hold of it?
    I have been using the techniques you suggest of presenting the calibration grid at a variety of angles and ensuring good coverage of the fields of view. I have spent upwards of 20 hours experimenting with different techniques and approaches, and cannot get repeatable results. But with the Matlab-based approach from Caltech using the same techniques I get good results. I am becoming increasingly confident there is an issue in the LV implementation.
    Thanks,
    Chris
    Regards,
    Chris Vann
    Certified LabVIEW Developer

  • Query Results: Retrieve All Rows?

    I was looking for a feature that will allow me to choose to return "all records" to the Query Results window. The current behavior is to fetch 50 records at a time (e.g. fetch 50 records as you scroll through the results = s-l-o-w). What I'd like to do is "Retrieve All Rows" then use to the scroll bar to "smoothly" scroll to the last record. For example, the 8.0.6 version of Query Builder had this functionality and in SQL Developer 3.0, if I right-click on the results. I can choose to "Count Rows...", seems like this would be a perfect place to put a "Retrieve All Rows" option.

    Hi,
    My advice: do something only if there is a business case for it; satisfying your curiosity can get surprisingly expensive.
    You have already read about using Run Statement to execute a SQL statement, then Ctrl-End to auto-scroll to the end. You can try the same for Run Script, but first you will probably need to increase the value of Tools|Preferences|Database|Worksheet|Max rows to print in a script. Of course, taking either of these approaches slows things down due to displaying output and scrolling. Same with SQL*Plus. And, as mentioned previously, Java memory management in SQL Developer can cause slow downs and hangs if the result set is large enough.
    Here is a way to minimize that delay, avoid hangs, and get a more repeatable result:
    1) Save some query to, say, C:\Temp\AllCustomers.sql. For example, "select * from customers;" or "select id from customers;".
    2) Run it from a SQL Developer worksheet using Run Script (F5), or from the SQL*Plus command line, with a script like this:
    set timing on
    set termout off
    spool C:\Temp\AllCustomers.lst
    @C:\Temp\AllCustomers.sql
    spool offEven then you will see that the timing results will vary. Maybe "select *" runs much slower than "select id" because the logical output lines are long and get wrapped into multiple physical output lines in the file. Minimize that by setting linesize to a longer value (but only in SQL*Plus -- it isn't supported in SQL Developer) and repeat the test to see. Maybe SQL*Plus runs it much faster than SQL Developer because one is a command line environment and the other a GUI tool with more overhead. Or maybe the SQL Developer JVM is near its size limit and lots of Java garbage collection is slowing it down. Simple question, complicated answer.
    Regards,
    Gary
    SQL Developer Team
    P.S.: And if by chance you are using a version of SQL Developer so old it does not include the output time in the query result tab's toolbar, using Run Script with set timing on is your only recourse.
    Edited by: gggraham on Oct 27, 2011 4:54 PM

  • Windows XP not freezing anymore

    I've seen a lot of other frustrated users trying to load Windows XP and then freezing after the Mac driver install. The same thing was driving me crazy with my MBP 15" 2.33 C2D 2GB 160GB 10.5.4 setup. However, I did get Windows XP SP 2 to finally work properly about 3 am last night...
    I just installed 10.5.4 on this machine this last weekend and went to install Windows XP SP2 on a Boot Camp partition. I followed the BC directions and got XP installed followed by the Mac driver install, then every reboot brought on a frozen cursor either on a black screen or on the rolling hillside screen before anything else loaded. It seemed to me that rebooting after the Mac driver install was the culprit...others seem to have found the same thing.
    Several installs later same thing...then I decided to download the BC 2.1.exe and install it after the XP and Mac driver install but before the reboot and it worked. Here's the sequence that worked for me...not sure if I just got lucky or if this is a repeatable result. Since I got it working, I didn't want to try it again just to see if that was the solution. I'll leave that up to you guys if you choose to try it.
    Boot Camp to set partition
    Install Windows...reboot
    Install Mac drivers so airport will work...don't reboot
    Download BC2.1.exe from apple.com and run it
    Reboot...no more frozen cursor
    Good luck

    Hello,
    I have the same problem, i tried what u suggested but it still frizzes. if u find something else that you believe it can resolve these problem please reply. i have no other ideas.
    Kind regards

  • Officejet Pro 8600 Plus printing issues with Mavericks 10.9

    The printer stopped printing (the print queue said printer not connected), so I unplugged the printer (an HP suggestion) for 15 seconds, replugged and it printed the doc in the queue. Printed a few docs for about 5 minutes, then the same not connected message as before.  
    Repeated steps, repeated results. Tried 3 times and can't figure it out. At least I can print when necessary, but unplugging every time is annoying.
    Any suggestions?

    Hi,
    Try unplugging your router for a moment, allow it 2-3 minutes to restart and reboot your printer, then check for any difference.
    If the same persists, have it worked with the same router in the past? may you changed any network settings, replaced a router or may upgraded its firmware lately?
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • L550/010 USB port not working properly, non-standard USB ports

    I wondering if anyone can shed some light on this strange problem I'm having with my laptop USB ports.
    Background.
    I have a USB device (CED-M2 USB Chronograph). The device comes with Windows 7 software to upload fps readings.
    The CED has a calculator style keyboard - so you can lookup data without the laptop.
    My L550 PSLWSA-01000Q, is running Windows 7 professional.
    Problem.
    When I connect the CED into the USB port the buttons on the CED no longer operate, As soon as the USB lead is disconnected the buttons work. Uploading the data doesn't work either. The buttons freeze occurs as soon as I plug into a powered USB port (even if user not logged into Windows and programs are not running).
    I've installed the upload program onto two PC's at home (Vista Home and Windows 7 Home) and both PC's connect to the CED and upload fine. Furthermore, the CED push buttons works perfectly! So, this leads me to think that the hardware or signals from the laptop USB ports is not standard.
    I've tried all three laptop ports (e-Sata/USB and normal USB ports), same problem.
    Any ideas what could be causing this problem?

    Hi Jerry
    Firstly, thanks for repsonding.
    All L550/010 USB ports appear to work well on other devices (Sierra Wirless card, HP optical mouse, HTC phone), doesn't matter which port (USB, Esata/USB) all works fine with these units.
    I've tried connecting the Chrono via a USB 4 port expander - same problem, no comms, chrono buttons locks up. Connect to Home PC running Vista Home and Windows 7 Home and works fine 9 - just can't take those to the range.
    The Chrono unit is self powered (9V Alkaline) and it's new, so USB supplied 5V is not a problem.
    The buttons seize whenever the laptop is powered up. Also, if the chono unit is powered down, connecting the USB lead to the laptop turns it on (wakes up). This wake up functions on both home desktop PC's and laptop (good), however, with the laptop I can't power down the Chrono as the buttons don't work.
    Whilst laptop connected, and rebooting the Laptop, the Chrono buttons will work just before the Press F2 for setup screen comes up - so could it be electrical.
    I've downloaded the latest BIOS from Toshiba and Intel chipset too - no change.
    I got the unit to connect once tonight - when I plugged my mouse in at the same time - USB configured for mouse, and whilst doing that the Chrono worked. Once mouse working, Chrono stopped. Can't repeat results.

  • Index Organized Tables on 16k Blocks

    What are the benefits and the downside of using IOTs on 16k blocks? Would you recommend it?

    little spat was quite amusing and at timesinformative
    True ! I wonder how many forum users (novices) have
    been confused and put off
    by the "war of words" that JL and RF have with DB.I had resisted the temptation to respond, but Hermant makes a good point - I don't necessarily agree with the point, but it is a good point. I don't want to drag this thread too far off topic, but I think that it is headed in that direction anyway. I was an Oracle novice at one time, as I am sure most in this group will also admit for themselves. I recall several years ago, shortly after reading "Oracle Performance Tuning 101", of trying to improve database performance by reviewing the initialization parameters, redo log configuration, and general server configuration. One of the initialization parameters that I investigated was LOG_BUFFER, which at the time on one of the production databases was set to 262,144 bytes (256KB). A Google search found several pages with information related to this parameter, and one of the first pages found by Google showed wait events from a Statspack report, that according to the website, indicated a problem with the LOG_BUFFER parameter, which was configured at 512KB.
    The wait events included on the page from the Statspack report included "log file parallel write", "log file sync", "db file parallel write", and "control file parallel write". The notes that I recorded while reading "Oracle Performance Tuning 101" indicated that for Oracle 8i, 512KB is the default value for LOG_BUFFER, and that the value of that parameter should only be increased if there are wait events associated with the redo log buffer ("log buffer space" wait event). This caused a great deal of confusion for me. One book that brought me significant performance improvements indicated that "log buffer space" wait events indicated the potential for an undersized LOG_BUFFER, and one of the top hits in a Google search demonstrated that the existence of "log file parallel write", "log file sync", "db file parallel write", and "control file parallel write" indicated an undersized LOG_BUFFER.
    So, I investigated the wait events found on the web page, using the "Oracle Performance Tuning 101" book pages 175-176.
    log file parallel write: "Waits associated with writing of the redo records from the redo log buffer to disk. Usually indicates slow device(s) or contention where the online redo logs are located."
    log file sync: "Waits associated with the flushing of redo log buffers on a user commit. If the waits are persistent, it may indicate device contention where the online redo logs are placed and/or slow devices.
    db file parallel write (pg 37): "Indicates waits related to the DBWR process. May be related to the number of DBWR processes or DBWR I/O slaves configured. May also indicate slow or high contention devices."
    control file parallel write: not found in the book, but later found that it might have to do with disk contention where the control files are located.
    So, what did I determine was the cause of the wait events? Slow disks, or disks with write performance problems. It is so easy to become confused when supposedly reliable sources suggest entirely different causes for a particular performance problem.
    Understanding how to push Oracle to function optimally is sometimes confusing. When someone tests a configuration for performance and finds that in one situation the configuration performs quickly, and in another configuration performs very slowly, it is necessary to look at what variables changed, and how those changes influenced the results so that repeatable results may be obtained. I am reminded of a term from grade school, called "the scientific method". As I recall, this method does not necessary need to apply to the pursuit to science, but may also apply to the pursuit of understanding. The process involves restricting the change to one controllable variable, and examining how that variable affects the outcome of an experiment. This implies that if the environment is the same, and only the one controllable variable is changed in exactly the same way, the same results will always be produced due to the change in the one controllable variable.
    Various definitions for "the scientific method"
    http://www.google.com/search?hl=en&q=define%3A+scientific+method
    http://www.merriam-webster.com/dictionary/scientific+method
    "Date: circa 1810 : principles and procedures for the systematic pursuit of knowledge involving the recognition and formulation of a problem, the collection of data through observation and experiment, and the formulation and testing of hypotheses."
    http://www.sciencebuddies.org/mentoring/project_scientific_method.shtml
    "It is important for your experiment to be a fair test. A 'fair test' occurs when you change only one factor (variable) and keep all other conditions the same."
    http://sciboard.louisville.edu/gensci.html
    "An experiment that demonstrates a hypothesis must be 'repeatable'. This means that anyone who performs the experiment correctly should get the same results."
    When testing a hypothesis related to optimal functionality of Oracle, what happens if a test is not repeatable? What happens if the change in one variable is actually the change in many variables?
    Without the extended discussion and feedback of the topics of hypothesis by Mr. Burleson, Jonathan Lewis, Richard Foote, Tom Kyte, and the other thousands of contributors on this forum, how will a novice user understand what hypotheses really work, and are reproducible in similar environments? Novices need to be able to understand the logic behind a hypothesis, and if no such logic exists, the novice needs to determine whether or not that hypothesis really works. That is part of the magic of forums like this - incorrect answers tend to attract the attention of people with corrected answers.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Flash-Web Photo Gallery

    I am trying to create a flash web photo galler using the Automate>Web Photo Gallery in CS2.
    I want to mix the features of the 2 existing options.
    In Flash Gallery 1, the thumbnails are listed as small icons in multiple lines and are magnified when the mouse hovers over them, like the dock in OS X.
    In Flash Gallery 2, the meta data listed in the xml file is displayed only if you explicitly click on the info button, and it is below the picture.
    I need these 2 options together. The rest of the options are not a problem I can go either way.
    Is there another Flash Gallery that will combine these two options?
    If not:
    Is there a way to modify the flash file to accomodate this?

    Google "Flash Gallery Templates", you'll see 2.4M links.
    Back to levonk's original question... sounds like you're trying to do what I'm trying to... alter the Flash files used to generate the Web Photo Gallery Flash Gallery 2.
    Here's my question, similar to yours:
    How do i open the "gallery.swf" file to alter Photoshop Flash Web Photo Gallery?
    Built Web Photo Gallery in Photoshop CS2's Automate. It turned out OK, and I made adjustments in the "index.html" and "galleryconfig.xml" files in a text editor (BBE).
    Now, I'd like to alter the template's .swf file but can't open it as it's "protected".
    It would be nice to be able to set up a new template that does exactly what I intend, without altering the other files. But I can't open the protected "gallery.swf" file to make changes. Can someone help? Does Adobe have an unprotected copy of that file I can fiddle with? Is there some "trick" to open a copy of that file? I could learn a lot and make it easy to repeat results for a site. Any assistance most appreciated!

  • Title and description

    Hi All,
    I need very urgent help in this.
    I am using the slider webpart.
    I want to show the title name and description under the image.
    When the images r sliding.
    This is the code.
    <div id="news">
      <div id="innerWrapper">
      <div id="alerts">        
    <span id="greenTitle">ANNOUNCEMENTS:</span>
    <span id="content">You are now able to call 1-0-1, the  Service Helpline, directly from your cell phone.</span> 
    </div>
      <div>
       <div id="topNews">
          <div id="news_Image">
             <img id="nextItemImage" class="next" src="/Pages/fancybox-media" alt="" style=" display: none;"/>
             <a id="featurednewslink" data-fancybox-type="iframe" href="/Pages/community/storm_debris_pickup1213.htm">
    <img id="currentItemImage" src="/COD_pictures/carousel/stormdebris.jpg" alt="" style="cursor: pointer; float: right; width: 42.5%;"/></a>      
    <div id="manualswitch"></div>
          </div>
       </div>
       <div id="listNews">
          <div id="news_Titles">
             <a href="#"><h3>NEWS</h3></a>
    <a href="#"><h3 class="events">EVENTS</h3></a>
             <hr style="clear: both; border-bottom: 6px solid #669900; margin- margin-right: 3.3em;"/>
             <ul id="slideshownav"></ul>
    <ul id="newsslideshow_content" style="display: none;">
    </ul>   
             <span><a href="http:// /" target="_blank">All News &gt;</a></span> 
           </div>
       </div>  
    </div>
    <script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/_layouts/15/SP.RequestExecutor.js"></script>
    <script type="text/javascript" language="javascript">
    SP.SOD.executeFunc('sp.js', 'SP.ClientContext', retrieveAnnouncementItems);
     function retrieveAnnouncementItems() {
        var clientContext = new SP.ClientContext.get_current();
        var oList = clientContext.get_web().get_lists().getByTitle('DCH_Announcement');
        var camlQuery = new SP.CamlQuery();
        camlQuery.set_viewXml(
            '<View><Query>' + 
    '<OrderBy><FieldRef Name=\'ID\' Ascending=\'False\' /></OrderBy>' +
            '</Query>' + 
            '<RowLimit>1</RowLimit></View>'
        this.collListItem = oList.getItems(camlQuery);        
        clientContext.load(collListItem);
        clientContext.executeQueryAsync( Function.createDelegate(this, this.onQuerySucceeded8), Function.createDelegate(this, this.onQueryFailed8) ); 
    function onQuerySucceeded8(sender, args) {
        var listItemInfox = ''; var listItemEnumerator = collListItem.getEnumerator();       
        while (listItemEnumerator.moveNext()) {
            var oListItem = listItemEnumerator.get_current();
            listItemInfox = "\n<a href='" + oListItem.get_item('URL') + "'>" + oListItem.get_item('Title') +": "+ oListItem.get_item('Description') + "</a>";  
    //debugger;
    document.getElementById("content").innerHTML = listItemInfox.toString();    
    function onQueryFailed8(sender, args) { alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());}  
    SP.SOD.executeFunc('sp.js', 'SP.ClientContext', retrieveNewsItems);
    function retrieveNewsItems() {
        var apiurl = _spPageContextInfo.webAbsoluteUrl + "/_api/web/getFolderbyserverrelativeurl('/COD_pictures/carousel/')/Files?Top=5$select=Description";
            var executor = new SP.RequestExecutor(_spPageContextInfo.webAbsoluteUrl);
    executor.executeAsync(
    url: apiurl,
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: onQuerySucceeded3,
    error: onQueryFailed3
        //clientContext3.executeQueryAsync( Function.createDelegate(this, this.onQuerySucceeded3), Function.createDelegate(this, this.onQueryFailed3) ); 
    function onQuerySucceeded3(data) {  
    var listItemInfo3=''; var i = 0; var listna ='';
    var jsonObject = JSON.parse(data.body);
    var results = jsonObject.d.results;
    if (results.length == 0) { alert('no result'); }
    else {
    var ResultsHtml = '';
    $.each(results, function (index, result) { 
    //alert(result.Name);
    listItemInfo3 += "<li>"+
    "<span class='newsslide_title'>" + result.Title +"</span>"+
    "<span class='newsslide_url'>/COD_pictures/carousel/" + result.Name +"?renditionID=5</span>"+
    "<span class='newsslide_image'>/COD_pictures/carousel/" + result.Name +"</span>" + 
    "<span class='newsslide_target' title='blank|self'></span><span class='newsslide_fancybox' title='fancybox|fancybox-media'></span>"+
    "<span class='newsslide_description'>" + result.Title  +"</span><span class='newsslide_description'><b style='font-weight:19px'>ABCDEF</b></span></li>"; 
    listna += "<li><a id='slideritem"+i+"' href='"+result.Title +"' style='color: rgb(231,231,231); background-image: none; background- background-repeat: no-repeat no-repeat;'>"+result.Title
    +"</a></li>";
    i++;
    return index<4;
         document.getElementById("newsslideshow_content").innerHTML = listItemInfo3;
         document.getElementById("slideshownav").innerHTML = listna;
         slideshowcontent = document.getElementById("newsslideshow_content");   
         nextimage(0,slideshowcontent);
    function onQueryFailed3(data, errorCode, errorMessage) { alert(errorMessage); }
    function nextimage(x, slideshowcontent) {
    var changenews;
    var slideshowcontentitems = slideshowcontent.getElementsByTagName("li");
            imageCount = slideshowcontentitems.length -1;
    for (i = 0; i <= imageCount; i++) {
                document.getElementById("slideritem" + i).style.color = "#e7e7e7";
                document.getElementById("slideritem" + i).style.backgroundImage = "none";
            document.getElementById("slideritem" + x).style.color = "#0166ce";
            document.getElementById("slideritem" + x).style.backgroundImage = "url(/SiteCollectionImages/COD_images/greenArrow_slider.png)";
    document.getElementById("slideritem" + x).style.backgroundRepeat="no-repeat";
    document.getElementById("slideritem" + x).style.backgroundPosition="center left";
            if (x == imageCount) { y = 0; }
            else { y = (x + 1); };
            //currentItemImage(x);
            curtitle = slideshowcontentitems[x].getElementsByTagName("span")[0].innerHTML; 
            cururl = slideshowcontentitems[x].getElementsByTagName("span")[1].innerHTML;
            curimg = slideshowcontentitems[x].getElementsByTagName("span")[2].innerHTML;
            curtrg = slideshowcontentitems[x].getElementsByTagName("span")[3].innerHTML;
            if (curtrg == "blank") { curtrg = "_" + curtrg };
            curfbx = slideshowcontentitems[x].getElementsByTagName("span")[4].innerHTML;
            //if(curfbx!=""){document.getElementById("featurednewslink").data-fancybox-type="iframe"}
            curimg = curimg.replace(/<font>/g, "");
            curimg = curimg.replace(/<\/font>/g, "");
            curimg = curimg.replace(/ /g, "");
            document.getElementById("currentItemImage").target = curtrg;
            document.getElementById("currentItemImage").src = curimg;
            document.getElementById("currentItemImage").style.cursor = "pointer";
    document.getElementById("currentItemImage").style.width = "300px";
            document.getElementById("featurednewslink").href = cururl;
            document.getElementById("featurednewslink").target = curtrg;
            document.getElementById("featurednewslink").className = curfbx;
            //document.getElementById("currentItemImage").onclick = function(){parent.location = cururl;};
            //nextItemImage(y)
            nexttitle = slideshowcontentitems[y].getElementsByTagName("span")[0].innerHTML;
            nexturl = slideshowcontentitems[y].getElementsByTagName("span")[1].innerHTML;
            nextimg = slideshowcontentitems[y].getElementsByTagName("span")[2].innerHTML;
            nexturl = slideshowcontentitems[y].getElementsByTagName("span")[3].innerHTML;
            nextimg = slideshowcontentitems[y].getElementsByTagName("span")[4].innerHTML;
            document.getElementById("nextItemImage").src = nextimg;
            clearTimeout(changenews);
            changenews = setTimeout(function () { nextimage(y,slideshowcontent) }, 7000);
    </script>
    Any help please.
    Thank you,
    Sowjanya.

    Hi,
    If you just want to show Title and Description below the image, you take consideration of using the OOTB Picture Library Slideshow Web Part, it provides such functionality can
    meet your requirement.
    Here is a link about How to Use the Picture Library Slideshow Web Part in SharePoint 2013:
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/03/29/how-to-use-picture-library-web-part-for-sharepoint-2013.aspx
    If you want to develop your own Slider, I would suggest you take a look at these JavaScript Image Slider plugins which can make us easier to create a custom one:
    http://www.1stwebdesigner.com/freebies/javascript-sliders-scrollers/
    http://wowslider.com/
    http://www.woothemes.com/flexslider/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Monitor backlight comes on briefly, then blanks out

    I'm using a COMPAC PRESARIO laptop that's running WINDOWS XP.  I've had the system 7 years & had a couple viruses that were supposedly cleaned up, but it was done by someone else so I'm not sure of this. 
    PROBLEM DESCRIPTION & CORRECTION EFFORTS TO DATE:
    When the computer is turned on the COMPAC logo comes up, but soon blanks out, though not thoroughly on occasion, just goes real dark, with images faintly visible.  Unfortunately, the behavior is not consistent, sometimes not lighting at all, other times as previously described, not visible at all, or visible up to WINDOWS logo page, then blank.  If power is disconnected for 48 hours or better it will sometimes remain visible for a period of time, so long as it doesn't enter hibernation mode, though that trick hasn't worked recently; then the above problems repeat.  I have connected a COMPAC FS7600 monitor to it to see if it is indeed a monitor problem, but that also blanks out after WINDOWS logo displays, prior to reaching log-in stage, the monitor power button going from the green it has while visible to the amber that signals a disconnect (I think).  I've been forced to do hard shutdowns repeatedly, resulting in the "Windows encountered a problem with the last start-up" & have tried the "last working configuration" option, but that hasn't helped, so I'm at a loss on what to try next.
    One of the answers here indicated the backlight could be replaced.  If so, how would I go about that if it comes to that?
    I am a freelance illustrator & writer, whose work & income depend on a working system, so I'm currently unable to produce the products clients desire; as such, this problem is imperative to correct.  Any & all assistance will be greatly appreciated.  Thank you.

    Hello @darenderer ,
    Welcome to the HP Forums!
    I understand you're having issues with the display on your notebook going blank.
    If the issue persists on an external monitor chances are the issue is not hardware related, though when it goes dim and is barely visible that does sound like a bad backlight which is kind of strange.
    We can test this by trying to load the BIOS. If the BIOS loads and displays properly this would tell us the hardware is OK. To access the BIOS tap F10 while the notebook boots up. If this is displaying OK you may need to restore the default BIOS settings which is usually done with F9 while in the BIOS. You should see the keyboard shortcut in the bottom right corner of the screen to confirm this shortcut.
    If the BIOS does not display you could be looking at a hardware issue. The issue being intermittent like this might suggest a bad connection to the backlight or display. You can see how to remove and reconnect these connections in the Maintenance and Service guide available in the User Guides section of your products support page here: HP - Drivers & Downloads.
    It would help to know which product and operating system you are using. For information on finding your product and model numbers click here: How Do I Find My Model Number or Product Number? To see which version of Windows you are using click here: Which Windows operating system am I running?
    Let me know if this helps!
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • Set an indeterminate number of variables

    Hi fellow scriptologists... I thought I was good at this but I'm not as good as I thought I was...
    I need to create a number of variables (Variable1, Variable2 etc) based on the contents of a list of indeterminate length - headings of a document that's likely to change each time it's run. I'd like to assign a name to each variable that reflects its initial value ("Camera", "Shot", "Take", "Slate") although generic names would do, but my impression is that there's no way to ascribe a string to a variable name based on anything done within the script - you simply have to name it or you end up redefining another variable. And if you don't know how many you need, do you need to declare them all up front in order to be able to set them as required?
    There may be a way, but I can't figure out how... any input appreciated.

    Hello
    You might be looking for something like hash table perhaps? Unlike other modern scripting languages, AppleScript has never had built-in hash table. Here's some options.
    Option 1. Use unnamed collection in lieu of named variables. This is straightforward method which should suffice in most cases.
    E.g., use:
    set vars to {1, 2, 3, 4, 5}
    in lieu of:
    set var1 to 1
    set var2 to 2
    set var3 to 3
    set var4 to 4
    set var5 to 5
    Option 2. Implement your own hash table (associative array) if you really want to.
    E.g.,
    set h to assoc()'s new(127)
    h's store({"var1", 1, "var2", 2, "var3", 3, "var4", 4, "var5", 5})
    --return h's ht
    --return h's fetch("var4")
    return h's fetch({"var3", "var5"})
    on assoc()
        script o
            property name : "assoc"
            property version : "0.12"
            property ht : {} -- ht entry is {} or list of {key, value}
            property sz : 0 -- given in new();  prime number for better performance
            property xx : {}
            property cc : {}
            on hash(s)
                    anything s : key coercible to string
                    return integer : hash code
                set cc to (s as string)'s id as list -- OS X 10.5 or later
                set result to 73
                repeat with c in my cc
                    (result * 37 + c) mod 1048573 as integer
                end repeat
                result mod sz + 1 as integer
            end hash
            on fetch(argv)
                    anything or list argv : key or list of keys (key can be anything coercible to string)
                    return anything or list : value or list of values associated with given key(s)
                        (returns missing value for non-existent key)
                if argv's class = list then
                    set xx to {}
                    repeat with a in argv
                        set my xx's end to fetch(a's contents)
                    end repeat
                    return my xx's contents
                else
                    repeat with h in my ht's item hash(argv) -- linear search in collision
                        if h's item 1 is argv then return h's item 2
                    end repeat
                    return missing value
                end if
            end fetch
            on store(argv)
                    list argv : {key, value} pair or {key1, value1, key2, value2, ...} pairs
                    return list : for given pair {k, v},
                            {k, v} if k does not exist in table; or
                            {{k, v}, {k, v1}} if k exists in table, where v1 is old value for k
                local argc
                set argc to count argv
                if argc > 2 and argc mod 2 = 0 then
                    set xx to {}
                    repeat with i from 1 to argc by 2
                        set my xx's end to store(argv's items i thru (i + 1))
                    end repeat
                    return my xx's contents
                else if argc = 2 then
                    -- separate chaining
                    local p, v1
                    set {k, v} to argv
                    set p to hash(k)
                    repeat with h in my ht's item p -- linear search in collision
                        if h's item 1 = k then
                            set v1 to h's item 2
                            set h's item 2 to v
                            return {{k, v}, {k, v1}} -- {new entry, old entry}
                        end if
                    end repeat
                    set end of my ht's item p to {k, v}
                else
                    error my name & "::store(): odd number of arguments." number 8001
                end if
            end store
            on scratch(argv)
                    anything or list argv : key or list of keys to delete
                    return anything or list : value or list of values associated with deleted key(s)
                        (returns missing value for non-existent key)
                if argv's class = list then
                    set xx to {}
                    repeat with a in argv
                        set my xx's end to scratch(a's contents)
                    end repeat
                    return my xx's contents
                else
                    -- delete key and return key's value if any
                    local p, v, h
                    set p to hash(argv)
                    repeat with i from 1 to count my ht's item p -- linear search in collision
                        set h to my ht's item p's item i
                        if h's item 1 = argv then
                            set v to h's item 2
                            set my ht's item p's item i to false
                            set my ht's item p to my ht's item p's lists
                            return v -- key's value
                        end if
                    end repeat
                    return missing value
                end if
            end scratch
            on keys()
                    return list : list of stored keys (in internal storage order)
                set xx to {}
                repeat with p in my ht
                    repeat with h in p
                        set end of my xx to h's item 1
                    end repeat
                end repeat
                return my xx's contents
            end keys
            on values()
                    return list : list of stored values (in internal storage order)
                set xx to {}
                repeat with p in my ht
                    repeat with h in p
                        set end of my xx to h's item 2
                    end repeat
                end repeat
                return my xx's contents
            end values
            on new(m)
                    integer m : size of hash table to be created (prime number for better performance)
                    return script : initialized hash table object
                if m's class is integer and m > 0 then
                    set sz to m
                    repeat sz times
                        set end of my ht to {}
                    end repeat
                    return o
                else
                    error my name & "::new(): invalid size." number 8000
                end if
            end new
        end script
    end assoc
    Regards,
    H

  • Canon on screen manual

    I just up-graded to OS 10.6.8 (snow leopard). The on screen manual for my Canon MX 300 multipurpose machine disappeared and attempts to reinstall it from the CD have repeatedly resulted in an error message: : "Help viewer cannot be opened because of a problem. Check with the developer to make sure Help Viewer works with this version of Mac OS." etc.
    I have discussed this with Canon support and they say that it is a Mac problem. I suspect they are correct. The printer-scanner-fax all work just fine. The MP Navigator works.
    How can I get my directions back on-screen
    "Quo Vadis?"

    Hi Ken,
    I just ran through the setup of my MP980 using the BU-30 and it all seemed to work okay for me. Using the Bluetooth Setup Assistant the MP980 series-1 was displayed as a Printer and on clicking Continue there was a very brief message about pairing and using 0000 for the passkey. However before I could enter the key the assistant closed and then showed the printer was paired and connected.
    I then opened Print & Fax and selected to Add the printer using the Default view. The MP980 appeared after several seconds with the Kind column showing 'bluetooth' and when selected the Print Using menu changed to the MP980 series. Clicked OK to complete the creation of the print queue and was then able to print to it from Preview.
    The thing I did notice with the Bluetooth app in Sys Prefs was that after a document had printed the printer was showing 'Not Connected'. But as soon as I selected to print again this would change to 'Connected'.
    Regarding the driver, Canon is showing v10.26 for the iP100, which is the same version used by other models. If you connect the iP100 to the Mac via USB and then run Software Update you should get an even later version (10.30.3.0) that is also part of the [Canon Driver Update v2.3|http://support.apple.com/downloads/CanonPrinter_Drivers_for_Mac_OS_X_v106] update.

Maybe you are looking for

  • Kernel 2.6.24 and UVesaFB

    I have recently installed fbsplash from the AUR, and would like to use uvesafb, now included in the vanilla kernel. Now I am wondering why I can't get any higher than 640x480. When I try and put in a line with something else, it is just ignored. DonG

  • Questions about Braille & keyboard

    I am thinking of buying a new Macbook. I have two questions 1. If you have a word processing going and you hold down the sdfjkl keys at the same time do you get all six letter printed in different order/same order or do you get different amounts of l

  • Delete child records before I can delete the parent

    Hello,I'm a newbie to SQL and if it is not to difficult I can succeed to write querie's. I don't much know about PL/SQL. We are working with Oracle.The parent ERD is this. Table 1 --> linking Table --> Table 2 --> Table 3(detail) 1 | 1 1 1 1 1 n |-->

  • Generics usage

    Can anyone tell me the difference between : public <T extends MyClass> T getMyClass() {}and public Class<? extends MyClass> getMyClass() {} Im trying to use generics and I'm having a problem when I try to use the subclass of MyClass that is is return

  • Can I use "\" to input "¥" symbol under Japanese locale?

    Hi, I'm a Mac developer and I want to know the standard behavior for Mac when press "\" key under Japanese locale. Should Mac display "\" or "¥" symbol? I notice that Windows will show "¥", but many Mac applications just show "\", so I want to make c