Need help with media queries

Ok most of my attempts have been successful. BUT I have one problem.
I would like Column 1 (Site Links and Column 3 (Exclusive Articles) to Hide when the page is at max-width 500 pixels. I have no idea how to make a CSS sheet remove HTML coding, which is why I came here to ask. Important Note: Coding to remove are highlighted in Red.
Html Coding of Footer:
<footer>
      <h2 class="hidden">Our footer</h2>
      <section id="copyright">
        <h3 class="hidden">Copyright notice</h3>
        <div class="wrapper">
          <div class="social"> <a href="index.html"><img src="img/G.png" alt="G" width="25"/></a> <a href="index.html"><img src="img/U.png" alt="U" width="25"/></a> <a href="index.html"><img src="img/I.png" alt="I" width="25"/></a> <a href="index.html"><img src="img/D.png" alt="D" width="25"/></a> <a href="index.html"><img src="img/E.png" alt="E" width="25"/></a> <a href="index.html"><img src="img/S.png" alt="S" width="25"/></a> </div>
          &copy; Copyright 2014 by Expertpcguides.com. All Rights Reserved. </div>
      </section>
      <section class="wrapper">
        <h3 class="hidden">Footer content</h3>
        <article class="column">
          <h4>Site Links</h4>
            <div id="class2">
              <p><a href="web-contributors.html" class="style10">Developers/Contributors</a></p>
            </div>
            <div id="class2">
              <p><a href="create-a-page.html" class="style10">Create a page</a></p>
          </div>
          <div id="class2">
            <p><a href="point-system.html" class="style10">Rewards System</a></p>
          </div>
          <div id="class2">
            <p><a href="privacy" class="style10">Privacy</a></p>
          </div>
        </article>
        <article class="column midlist2">
          <h4 class="style4">Follow Us</h4>
          <ul class="style4">
<li>
  <div id="class2">
              <p><a href="javascript:void(0)"><img src="img/Facebook logo.png" alt="Twitter Image" width="30" height="33"/></a><a href="https://www.facebook.com/expertpcguides" class="style18"> Facebook</a></p>
</div></li>
<li class="style10">
  <div id="class2">
              <p><a href="javascript:void(0)"><img src="img/Twitter Logo.jpg" alt="Twitter Image" width="30" height="33"/></a><a href="https://twitter.com/ExpertPcGuides" class="style18"> Twitter</a></p>
          </div>
</li>
<li class="style10">
  <div id="class3">
    <p><a href="javascript:void(0)"><img src="img/Google+ Logo.jpg" alt="Google + Image" width="30" height="33"/></a><a href="https://plus.google.com/115474035983654843441" class="style18"> Google Plus</a></p>
  </div>
</li>
<li class="style10">
  <div id="class4">
    <p><a href="javascript:void(0)"><img src="img/Pininterest Logo.png" alt="Google + Image" width="30" height="32"/></a><a href="http://www.pinterest.com/expertpcguides/" class="style18"> Pininterest</a></p>
  </div>
</li>
          </ul>
        </article>
        <article class="column rightlist">
          <h4 class="style4">Interested in Exclusive Articles?</h4>
            <div id="class2">
              <p><a href="login.html" class="style10">All you need to do is login/register</a></p>
            </div>
        </article>
      </section>
<section class="wrapper"></section>
        </footer>
CSS Stylesheet Snapshot of the coding:
@media (max-width: 500px)
    #four_columns
                width: 500px;
  display:none;

Add a class of 'hide' to the Site Links <article> tag as below:
<article class="column hide">
<h4>Site Links</h4>
You already have a class of 'rightlist' for the Interested in Exclusive Articles? <article> tag so we'll use that.
<article class="column rightlist">
<h4 class="style4">Interested in Exclusive Articles?</h4>
Add this media query to your css styles:
<style>
@media screen and (max-width: 500px) {
.hide, .rightlist {
display: none;
</style>

Similar Messages

  • Noob needs help with Media Encoder Settings

    Hi All,
    Please be gentle with me. I am very new to this.
    I am using PPCS4 full version on which I am trying to edit and export video from my Canon HF 10 using their AVCHD format.
    The Mac is a MAC PRO 2 x QuadCore 3.0Ghz, 1 x 320GB SATA and 3 x 1TB SATA disks with a 30" Apple Cinema Display.
    I can import and see the video running in the source window, it can be a bit choppy but i am putting dowm to the lack of RAM (more the way). My real problem is that when I export the files the result is, well bad. I either get what appears to be a line effect every other line on the screen or by using other settings it appears grainy.
    My Cam should be recording in 1080i HD and i expect to be able to put this stuff on a DVD / Blue-Ray disk or file and see as good an image as I see in the viewfinder. This I cannot seem to do.
    Any ideas?
    Thanks
    J

    Hi
    I don't understand...please let me know...
    did media encoder work before and it just suddenly stopped working ?  Or  is this the first time you tried using it and it just doesnt work from  your original installation ?  In other words , did it EVER work for you using the HD ?
    What source material are you using ? In other words, what type of video.  MOV and AVI can have many different types of video inside those file extensions...they are called "wrappers" insomuch as they can have a lot of different "codecs" being used in the video.  Can you tell us what the video is that you're using when AME fails to work ?
    Also tell more about your computer setup...how many hard drives? Did you set up your system like recommended in many threads here in the forums ?
    There are a lot of really good and smart people here who can help you, but they need as much information as possible so they can begin to understand what is going on with your problem. It does take some time and work on your part to put all that info into a message, but it's worth it because most times problems are solved because of it.
    ps...not meant to be a criticism because you were angry about problem, but some people probably didnt respond to your trouble right away because of your initial mssg being a little bit scary..  most people here are just users like you and help each other. nobody wants to risk being yelled at or deal with someone who is just angry and isn't really supplying enough information to help solve the problem.  That's just my opinion, and I'm glad your response to my mssg was less angry sounding.  Whew !

  • Need help with Media Players, please.

    I have a mid-2007 iMac OS X 10.9.3 (Maverick) still in perfect shape, except for what I may have just messed up.
    I was trying to watch a video on VeeHD and it said that I needed the VeeHD plug-in.  From some research I did, I learned that the newer versions of DivX don't play well with Apple and that older versions worked better.  So, I uninstalled my DivX player (and everything DivX) from my computer and installed the recommended earlier version 14.  I'm still having the same problem.  I use Safari as my main browser because Firefox was giving me problems with loading times and buffering.
    I'm wondering what I did wrong because now, no matter what video content I try to play, I get a gray box with HTML5 in it instead of the usual "Play" button (the triangle).  Once I click on HTML5, it then says FLASH and I have to click that to get the video to load.  Even on YouTube.  No matter what I do now, I can't get this to change back to the way it was and pages in general are taking longer to load and buffer.  I tried repairing permissions.  I'm afraid I may have deleted a plug-in that I shouldn't have and don't know which one.
    Does anyone have any suggestions, please?  I'm afraid I've put my foot in it.  Also, which media players should I have or which ones are the best?  Which one is the best default player?  I have an updated Flash Player, Perian, VLC, Mac Media Player, DivX v.14, FLV Crunch, and Quicktime.  Too many?  Am I missing some?  I watch videos on different sites like Firedrive, GorillaVid, BestStream, MightyUpload, YouTube, etc.,  I've never had any problems until I messed around with my DivX player (the only player I had trouble viewing with, until now.)
    All helpful, constructive suggestions and advice will be greatly appreciated!

    That's exactly what it was.  I had ClickToFlash downloaded.  I've had it for awhile and it didn't affect any of my video watching until I uninstalled DivX.  I wonder why.
    Now that I understand ClickToFlash, the only thing I like about it is that it prevents videos from playing automatically when a page is loaded.  But, I uninstalled it and the loading and buffering delays went away.  Thanks very much!
    I meant to click "This solved my problem" on your post instead of "This helped me."  How can I change that?

  • Need help with media center

    Hi there,
    I am having a porblem with windows media center for xp. Whenever I start media center my screen goes blank and I am not able to use it. The only way I can exit is by going thru the task manager and killing the media center application.
    Please help
    Thanks

    Hi,
    Please try to change the resolution to 800x600.
    Check if that works.
    Thank you.

  • I need help with my queries of my inventory system

    I want tosubtractthe number of entrieswiththe number of outputsof my products,but I have aproblem...the result isnot correct,when
    I dothe subtractionto getthe current amount ofmy products.
    also I have several inputs and outputs of the same
    product.
    please I need your help
    select e.codpro,(sum(e.cantidad)) as productentry from entradapro e
    group by e.codpro
    select s.codpro,(sum(s.cantidad)) as productoutput from salidapro s
    group by s.codpro
    select e.codpro,(sum(e.cantidad)- sum(s.cantidad))as total from entradapro e inner join salidapro s
    on e.codpro = s.codpro
    group by e.codpro
                  

    Try this please:
    ;WITH A1 as
    SELECT e.codpro ,
    ( SUM(e.cantidad) ) AS productentry
    FROM entradapro e
    GROUP BY e.codpro
    ), A2 AS
    SELECT s.codpro ,
    ( SUM(s.cantidad) ) AS productoutput
    FROM salidapro s
    GROUP BY s.codpro
    SELECT e.codpro ,
    e.productentry - s.productoutput AS total
    FROM A1 e
    JOIN A2 s ON e.codpro = s.codpro
    sqldevelop.wordpress.com

  • Need help with REX queries

    Can anyone help explain behavior in the OER Extensibility Framework/REX openapi that I am seeing. I may have misunderstood the documentation and I admit I'm looking at the 11g version of the api online and using it against 10.3
    Anyway I'm trying to figure out how to query for only assets that are Registered on keywords, dates, and additional criteria.
    I know it is possible because I can see the actual UI of the product does this but I'm having different behavior.
    So from the api it led me to believe that if off of the AssetCriteria class I called setBrowsableOnly("true") it would only bring back browsable/registered assets (unless in progress flag is set). That was not filtering non-registered assets.
    So I then attempted to set up a SearchTerm where I tried both the key of the SearchTerm to be both registered as well as assetstatus, on registered key I set the value to REGISTERED and on the assetstatus I set the value to 100.
    But in all instances it is still bringing back more than registered assets.
    There are other criteria I want to set as well but I'm missing some sort of basic here.
    So example code is:
                   //Create Criteria
                   AssetCriteria criteria = new AssetCriteria();
                   //By default search browsable only assets
                   criteria.setBrowsableOnlyCriteria("true");
                   //By default do not do exact match search
                   //criteria.setExactMatchCriteria("false");
                   //Do general criteria search on provided keyword
                   criteria.setGeneralCriteria(keyword);
                   //Create SearchTerm to help get only registered assets
                   SearchTerm[] searchTermArray = new SearchTerm[1];
                   //TODO: Need to figure out what search term is needed if any for only registered
                   SearchTerm term = new SearchTerm();
                   term.setKey("/assetstatus");
                   term.setValue("100");
                   searchTermArray[0] = term;
                   criteria.setSearchTerms(searchTermArray);
                   //TODO: probably will need to remove the following code as final gets closer
                   //For testing purposes pull count right now
                   int count = repository.assetQueryCount(authToken, criteria);
                   logger.debug("Count is; " + count);
                   //Due to memory requirements pull back summary for now
                   //TODO: Figure out best approach for number of assets we will be pulling back
                   //assets = repository.assetQuery(authToken, criteria);
                   assetSummary = repository.assetQuerySummary(authToken, criteria);
    I have looked at OER103-REX_Asset.pdf so unless it is clearly spelled out in there and I keep missing it, I already know it exists. Maybe I do keep missing it in there.
    So likewise I need to understand how to query for assets that are active, retired, etc...which appears to be in the status field. But again I haven't gotten the SearchTerms to work correctly.
    Thanks,
    Diane
    Edited by: user10818227 on Jul 30, 2010 12:46 PM

    Add a class of 'hide' to the Site Links <article> tag as below:
    <article class="column hide">
    <h4>Site Links</h4>
    You already have a class of 'rightlist' for the Interested in Exclusive Articles? <article> tag so we'll use that.
    <article class="column rightlist">
    <h4 class="style4">Interested in Exclusive Articles?</h4>
    Add this media query to your css styles:
    <style>
    @media screen and (max-width: 500px) {
    .hide, .rightlist {
    display: none;
    </style>

  • Need help with Media Sync PLEASE - can't sync pictures

    I just installed the newest version of desktop software, v6.0, and when i click on the buttons to sync pictures from my blackberry to my PC, it says there are no pictures available....i have dozens of pics on the device and i really want to get them off ASAP...please help
    Solved!
    Go to Solution.

    Try turning OFF Mass Storage. Is encryption still enabled for Media Files in your device?
    If it is, Roxio should ask for the encryption password to allow you to access the media card.
    When it does, all media should be visible...

  • Need help with report quering store procedure

    I posted earlier today with my code, but I thought I should start a new thread and explain my scenario properly. Sorry for that.
    have to find if a person visited a particular type of store, lets say pets mart in last six months. Every time a member of us go to store, the transction is saved into a database, which means that there are 100s of records for each member. I have few condition to apply (like flags). For example, if a member visited pets mart in last 6 months, we can send him cuopan for that store.
    In my last code, I was using count(*) which takes for ever as everytime function is been called, it checks everything and then return more then one row. And my scenario requires only a flag kind of stuff, like either that member visited a particular store or not.
    I am not sure what approach would be the best and optimised, obviously not the count one. I tried the case statment and it also returns more then one record (for each visit of the member) and I am looking for something like if it occured then Y else N.
    My old code was something like that
    function fnc (memberno, startdate, endate) return number as abc number;
    begin
    select count(*) into abc
    from table a, table b
    where a.zz = b.cc
    and a.shop_date between startdate and endate)
    and a.store_shoped in ('st01' , 'sto02' , 'sto3')
    and a.store_location in ('loc1' , 'loc2');
    return (abc);
    end fnc;
    I really appreciate if you can suggest me a better way to handle my situation.
    Could someome please help me?

    Something involving WHERE EXISTS or add a ROWNUM = 1 filter:
    function fnc (p_memberno in number, p_startdate in date, p_enddate in date)
      return number
    as
      abc number;
    begin
      select count(*)
        into abc
        from dual
       where exists (select null
                       from table a, table b
                      where a.zz = b.cc
                        and ?? = p_memberno
                        and a.shop_date between p_startdate and p_enddate
                        and a.store_shoped in ('st01' , 'sto02' , 'sto3')
                        and a.store_location in ('loc1' , 'loc2'));
      return (abc);
    end fnc;With either approach, the count will return only 0 or 1 and will stop at the first match it finds.

  • Need Help with Media Explo

    When I go to me Zen Mircrophot Media Explorer and click Browse Media.. It shows to Music files.. They both have music in them.. But diffrent music... It has created no problem with my MP3 player, but is this a problem later? And What do I do to get rid of one of the Music icons and move all the music to one file?

    anyone?

  • Need help with media-print style sheets

    I am trying to create a style sheet for printing only for pages on my site. I have found a lot of the same information describing how to remove unwanted items, and change colors and so forth for the items to be printed. My problem is that after the unwanted parts of the page are removed, the remaining test to be printed does not "flow" into the areas previously occupied by other elements. The printed text remains in the location on the page that it occupies on the webpage. How do I get the text to "take over" the whole page?
    Below is the style definition for the text content as it is displayed on the screen:
    div.mainBody {
         position:absolute;
         left:210px;
         top:145px;
         width:640px;
         height:595px;
         background-color:#000000;
         font : normal normal normal/normal Book Antiqua MS Sans Serif Times New Roman;
         text-align: justify;
         color:#CCCCCC;
    And here is the "new" definition for the text as it should be printed:
    .mainBody {
         position: absolute !important;
         left: 0px;
         top: 0px;
         width: 100%;
         margin: 0;
         padding: 0;
         background: white;
         font: normal normal normal/normal Book Antiqua MS Sans Serif Times New Roman;
         text-align: justify;
         color: #000;
         float: none;
         display: inline;
    All other elements on the page are "turned off" with "{ display: none; }"
    Why am I having so much trouble with such a simple thing?
    Thanks for any help!
    Mark

    Hello Mark,
    why do you think a feedback forum for Oracle forums is the right place to ask this question?
    Regards
    Marcus

  • Need help with media sou

    every time i put a cd in my computer and click get info it says failed to receive information from music provider so im having to manually type all my albums is there something wrong or am i not doing something right.

    It means that for some reason MediaSource cannot connect to Gracenote to get the CD data. Have you granted MediaSource permission to contact the Internet, assuming you're using a firewall?

  • Need help with Template - unbalanced #EndEditable tag

    I am unable to use this template to create a new page and get the "unbalanced #EndEditable tag" error.
    If I open the file independently it looks great - otherwise I get the error.
    Code for internal_students.dwt
    There is an error at line 45, column 79 (absolute position 2188)
    <div id="metanav"><!-- #BeginLibraryItem "/Library/metaNav.lbi" -->
    <p><a href="../Library/contact/index.html">Contact Us</a></p>
    <!-- #EndLibraryItem --></div>
            <div id="navigation">
                <div id="navigation_l">
                    <div id="navigation_r"><!-- #BeginLibraryItem "/Library/mainNav.lbi" --> <ul>
                            <li><a href="../index.html" class="first"><img src="../images/spacer.gif" alt="CAITE Homepage" width="75" height="20" border="0" /></a></li>
                            <li><a href="../about/index.html">About</a></li>
      <li><a href="../news/index.html">News And Events</a></li>
      <li><a href="../educators/index.html">For Educators</a></li>
      <li><a href="../students/index.html">For Students</a></li>
      <li><a href="../industry/index.html" class="last">For Industry</a></li>
                        </ul>
    <!-- #EndLibraryItem --></div>
    I need help with this as the site and templates were created 2/3 years before I arrived on the job.
    Thank you
    Cheryl

    Okay
    - This is on-line page  http://caite.cs.umass.edu/students/index.html
    If you want code from template here it is:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/internal_about.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>CAITE - Commonwealth Alliance for Information Technology Education</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <meta name="Description" content="Commonwealth Alliance for Information Technology Education (CAITE) to design and carry out comprehensive programs that address under representation in information technology (IT) education and the workforce. CAITE will focus on women and minorities in groups that are underrepresented in the Massachusetts innovation economy" />
    <meta name="Keywords" content="Commonwealth Alliance for Information Technology Education CAITE Massachusetts women minorities information technology IT" />
    <meta name="robots" content="all, index, follow" />
    <meta name="revisit-after" content="14 days" />
    <meta name="author" content="Outreach Web Team" />
    <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --><!-- InstanceEndEditable -->
    <link rel="shortcut icon" href="/images/favicon.ico" />
    <script type="text/javascript" src="../scripts/jquery.js"></script>
    <script type="text/javascript" src="../scripts/jquery.easing.js"></script>
    <script type="text/javascript" src="../scripts/jquery.pngfix.js"></script>
    <script language="JavaScript" type="text/JavaScript">
        <!--
        $(document).ready(function() {
            $("img[@src$=png], div#wrapper_l, div#wrapper_r, div#whatsnew").pngfix();
        //-->
    </script>
    <link href="../css/screenstyle.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="../css/printstyle.css" rel="stylesheet" type="text/css" media="print" />
    </head>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <body>  
        <div id="wrapper">
            <div id="metanav"><!-- #BeginLibraryItem "/Library/metaNav.lbi" -->
    <p><a href="../Library/contact/index.html">Contact Us</a></p>
    <!-- #EndLibraryItem --></div>
            <div id="navigation">
                <div id="navigation_l">
                    <div id="navigation_r"><!-- #BeginLibraryItem "/Library/mainNav.lbi" --> <ul>
                            <li><a href="../index.html" class="first"><img src="../images/spacer.gif" alt="CAITE Homepage" width="75" height="20" border="0" /></a></li>
                            <li><a href="../about/index.html">About</a></li>
      <li><a href="../news/index.html">News And Events</a></li>
      <li><a href="../educators/index.html">For Educators</a></li>
      <li><a href="../students/index.html">For Students</a></li>
      <li><a href="../industry/index.html" class="last">For Industry</a></li>
                        </ul>
    <!-- #EndLibraryItem --></div>
                    <!-- end navigation right -->
                </div><!-- end navigation left -->
           </div><!-- end navigation -->
            <div id="wrapper_l">
                <div id="wrapper_r">
                      <div id="innerwrapper">
                        <div id="internalBanner-print"> <h1>Commonwealth Alliance for Information Technology Education (CAITE)</h1></div>
                        <div id="internalBanner"><!-- InstanceBeginEditable name="internalBanner" -->
                          <div class="students-banner">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="125" height="188" align="left" valign="top" id="homeImage"><img src="../images/logo_vertical_small.png" alt="CAITE" width="105" height="188" /></td>
                                <td align="left" valign="top" id="internal-banner-quote"><div id="internalQuote">
                                    <div id="internalQuote-inner">
                                      <p>CAITE designs and carrys out comprehensive programs that address under-representation in information technology (IT).</p>
                                  </div>
                                </div></td>
                              </tr>
                            </table>
                        </div>
                        <!-- InstanceEndEditable --></div> <!-- end banner -->
                        <div id="internalContent">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="317" align="left" valign="top" id="secondary-content">
                                  <!-- InstanceBeginEditable name="SecondaryNav" --><!-- #BeginLibraryItem "/Library/studentNav.lbi" -->
                                  <h3><a href="../students/index.html">For Students</a></h3>
                                  <div id="secondaryNav">
                                    <ul>
                                      <li><a href="http://www.takeITgoanywhere.org" target="_blank">TakeITgoanywhere.org</a></li>
                                    </ul>
    </div><!-- #EndLibraryItem --><!-- InstanceEndEditable -->
                                </td>
                                <td align="left" valign="top" id="contentCell"><!-- InstanceBeginEditable name="mainContent" -->
                                  <h1>For Students</h1>
                                  <p>The University of Massachusetts Amherst is leading a Commonwealth Alliance for Information Technology Education (CAITE) to design and carry out comprehensive programs that address under representation in information technology (IT) education and the workforce. CAITE will focus on women and minorities in groups that are underrepresented in the Massachusetts innovation economy; that is, economically, academically, and socially disadvantaged residents.</p>
                                  <p>The project will pilot a series of outreach programs supported by educational pathways in three regions (one rural, one suburban, and one urban). The project will include work with high school teachers, staff, and counselors. CAITE will identify best practices and disseminate, deploy, extend and institutionalize these best practices statewide and nationally.</p>
                                  <p>Community colleges are the centerpiece of CAITE because of the central role they play in reaching out to underserved populations and in serving as a gateway to careers and further higher education.</p>
                                  <p>This project will build a broad alliance built on its leadership in and partnership with the Commonwealth Information Technology Initiative (CITI), the Boston Area Advanced Technological Education Center (BATEC), regional Louis Stokes Alliances and NSF EGEP programs, and other partnerships and initiatives focused on information technology education and STEM pipeline issues</p>
                                  <p> </p>
                                <!-- InstanceEndEditable --></td>
                              </tr>
                          </table>
                        </div>
                        <div id="alliances">
                              <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td height="30"  align="left" valign="top"><h2><a href="../about/alliances.html">Alliances</a></h2></td>
                                </tr>
                                <tr>
                                  <td  align="center" valign="middle"><!-- #BeginLibraryItem "/Library/AllianceTable.lbi" --><p>
    <table border="0" cellpadding="2" cellspacing="0">
                                    <tr>
                                      <td width="35"  align="center" valign="middle"> </td>
                                      <td  align="center" valign="middle"><a href="http://www.citi.mass.edu/" target="_blank"><img src="../images/logo_citi.jpg" alt="Citi" width="65" height="50"  border="0 /"></a></td>
                                      <td align="center" valign="middle"><a href="http://www.batec.org/index.php" target="_blank"><img src="../images/logo_batec.jpg" alt="BATEC" width="69" height="46" border="0" /></a></td>
                                      <td  align="center" valign="middle"><a href="http://www.nsf.gov/index.jsp" target="_blank"><img src="../images/nsflogo.gif" alt="NSF" width="64" height="65" border="0" ></a></td>
                                      <td  align="center" valign="middle"><a href="http://www.nelsamp.neu.edu/" target="_blank"><img src="../images/nelsamplogo.gif" width="100" border="0"></a></td>
                                      <td  align="center" valign="middle"><p><a href="http://mysite.verizon.net/milnerm/" target="_blank"><img src="../images/umlsamp.png" width="85" height="63" border="0"></a></p>                                  </td>
                                      <td  align="center" valign="middle"><a href="http://www.neagep.org/index.asp" target="_blank"><img src="../images/nealogo.gif" border="0" ></a></td>
      </tr>
                                  </table>
    <!-- #EndLibraryItem --></td>
                                </tr>
                          </table>
                        </div>
                    </div> <!-- end inner wrapper -->
                </div><!-- end wrapper right -->
            </div><!-- end wrapper left -->
            <div id="bottom">
                <div id="bottom_l">
                    <div id="bottom_r"> </div><!-- end bottom right -->
                </div><!-- end bottom left -->
            </div>  <!-- end bottom -->
        </div><!-- end wrapper -->
        <div id="copyright"><!-- #BeginLibraryItem "/Library/copyright.lbi" -->
    <p>Sponsored by CAITE an NSF CISE Broadening Participation in Computing Alliance<br />
    &copy; copyright 2008 <a href="http://www.umass.edu/" target="_blank">University of Massachusetts, Amherst</a></p>
    <font color="#666666"><br>
    </font>
    <p><font color="#666666" size=2>  This material is based upon work supported by the National Science Foundation under Grant No.s NSF-0634412 and NSF-0837739. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.</font> </p>
    <!-- #EndLibraryItem --></div>    
    <!-- end copyright -->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-7435501-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
        </body>
    <!-- InstanceEnd --></html>

  • Need help with Berkeley XML DB Performance

    We need help with maximizing performance of our use of Berkeley XML DB. I am filling most of the 29 part question as listed by Oracle's BDB team.
    Berkeley DB XML Performance Questionnaire
    1. Describe the Performance area that you are measuring? What is the
    current performance? What are your performance goals you hope to
    achieve?
    We are measuring the performance while loading a document during
    web application startup. It is currently taking 10-12 seconds when
    only one user is on the system. We are trying to do some testing to
    get the load time when several users are on the system.
    We would like the load time to be 5 seconds or less.
    2. What Berkeley DB XML Version? Any optional configuration flags
    specified? Are you running with any special patches? Please specify?
    dbxml 2.4.13. No special patches.
    3. What Berkeley DB Version? Any optional configuration flags
    specified? Are you running with any special patches? Please Specify.
    bdb 4.6.21. No special patches.
    4. Processor name, speed and chipset?
    Intel Xeon CPU 5150 2.66GHz
    5. Operating System and Version?
    Red Hat Enterprise Linux Relase 4 Update 6
    6. Disk Drive Type and speed?
    Don't have that information
    7. File System Type? (such as EXT2, NTFS, Reiser)
    EXT3
    8. Physical Memory Available?
    4GB
    9. Are you using Replication (HA) with Berkeley DB XML? If so, please
    describe the network you are using, and the number of Replica’s.
    No
    10. Are you using a Remote Filesystem (NFS) ? If so, for which
    Berkeley DB XML/DB files?
    No
    11. What type of mutexes do you have configured? Did you specify
    –with-mutex=? Specify what you find inn your config.log, search
    for db_cv_mutex?
    None. Did not specify -with-mutex during bdb compilation
    12. Which API are you using (C++, Java, Perl, PHP, Python, other) ?
    Which compiler and version?
    Java 1.5
    13. If you are using an Application Server or Web Server, please
    provide the name and version?
    Oracle Appication Server 10.1.3.4.0
    14. Please provide your exact Environment Configuration Flags (include
    anything specified in you DB_CONFIG file)
    Default.
    15. Please provide your Container Configuration Flags?
    final EnvironmentConfig envConf = new EnvironmentConfig();
    envConf.setAllowCreate(true); // If the environment does not
    // exist, create it.
    envConf.setInitializeCache(true); // Turn on the shared memory
    // region.
    envConf.setInitializeLocking(true); // Turn on the locking subsystem.
    envConf.setInitializeLogging(true); // Turn on the logging subsystem.
    envConf.setTransactional(true); // Turn on the transactional
    // subsystem.
    envConf.setLockDetectMode(LockDetectMode.MINWRITE);
    envConf.setThreaded(true);
    envConf.setErrorStream(System.err);
    envConf.setCacheSize(1024*1024*64);
    envConf.setMaxLockers(2000);
    envConf.setMaxLocks(2000);
    envConf.setMaxLockObjects(2000);
    envConf.setTxnMaxActive(200);
    envConf.setTxnWriteNoSync(true);
    envConf.setMaxMutexes(40000);
    16. How many XML Containers do you have? For each one please specify:
    One.
    1. The Container Configuration Flags
              XmlContainerConfig xmlContainerConfig = new XmlContainerConfig();
              xmlContainerConfig.setTransactional(true);
    xmlContainerConfig.setIndexNodes(true);
    xmlContainerConfig.setReadUncommitted(true);
    2. How many documents?
    Everytime the user logs in, the current xml document is loaded from
    a oracle database table and put it in the Berkeley XML DB.
    The documents get deleted from XML DB when the Oracle application
    server container is stopped.
    The number of documents should start with zero initially and it
    will grow with every login.
    3. What type (node or wholedoc)?
    Node
    4. Please indicate the minimum, maximum and average size of
    documents?
    The minimum is about 2MB and the maximum could 20MB. The average
    mostly about 5MB.
    5. Are you using document data? If so please describe how?
    We are using document data only to save changes made
    to the application data in a web application. The final save goes
    to the relational database. Berkeley XML DB is just used to store
    temporary data since going to the relational database for each change
    will cause severe performance issues.
    17. Please describe the shape of one of your typical documents? Please
    do this by sending us a skeleton XML document.
    Due to the sensitive nature of the data, I can provide XML schema instead.
    18. What is the rate of document insertion/update required or
    expected? Are you doing partial node updates (via XmlModify) or
    replacing the document?
    The document is inserted during user login. Any change made to the application
    data grid or other data components gets saved in Berkeley DB. We also have
    an automatic save every two minutes. The final save from the application
    gets saved in a relational database.
    19. What is the query rate required/expected?
    Users will not be entering data rapidly. There will be lot of think time
    before the users enter/modify data in the web application. This is a pilot
    project but when we go live with this application, we will expect 25 users
    at the same time.
    20. XQuery -- supply some sample queries
    1. Please provide the Query Plan
    2. Are you using DBXML_INDEX_NODES?
    Yes.
    3. Display the indices you have defined for the specific query.
         XmlIndexSpecification spec = container.getIndexSpecification();
         // ids
         spec.addIndex("", "id", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         spec.addIndex("", "idref", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         // index to cover AttributeValue/Description
         spec.addIndex("", "Description", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_SUBSTRING, XmlValue.STRING);
         // cover AttributeValue/@value
         spec.addIndex("", "value", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         // item attribute values
         spec.addIndex("", "type", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         // default index
         spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         // save the spec to the container
         XmlUpdateContext uc = xmlManager.createUpdateContext();
         container.setIndexSpecification(spec, uc);
    4. If this is a large query, please consider sending a smaller
    query (and query plan) that demonstrates the problem.
    21. Are you running with Transactions? If so please provide any
    transactions flags you specify with any API calls.
    Yes. READ_UNCOMMITED in some and READ_COMMITTED in other transactions.
    22. If your application is transactional, are your log files stored on
    the same disk as your containers/databases?
    Yes.
    23. Do you use AUTO_COMMIT?
         No.
    24. Please list any non-transactional operations performed?
    No.
    25. How many threads of control are running? How many threads in read
    only mode? How many threads are updating?
    We use Berkeley XML DB within the context of a struts web application.
    Each user logged into the web application will be running a bdb transactoin
    within the context of a struts action thread.
    26. Please include a paragraph describing the performance measurements
    you have made. Please specifically list any Berkeley DB operations
    where the performance is currently insufficient.
    We are clocking 10-12 seconds of loading a document from dbd when
    five users are on the system.
    getContainer().getDocument(documentName);
    27. What performance level do you hope to achieve?
    We would like to get less than 5 seconds when 25 users are on the system.
    28. Please send us the output of the following db_stat utility commands
    after your application has been running under "normal" load for some
    period of time:
    % db_stat -h database environment -c
    % db_stat -h database environment -l
    % db_stat -h database environment -m
    % db_stat -h database environment -r
    % db_stat -h database environment -t
    (These commands require the db_stat utility access a shared database
    environment. If your application has a private environment, please
    remove the DB_PRIVATE flag used when the environment is created, so
    you can obtain these measurements. If removing the DB_PRIVATE flag
    is not possible, let us know and we can discuss alternatives with
    you.)
    If your application has periods of "good" and "bad" performance,
    please run the above list of commands several times, during both
    good and bad periods, and additionally specify the -Z flags (so
    the output of each command isn't cumulative).
    When possible, please run basic system performance reporting tools
    during the time you are measuring the application's performance.
    For example, on UNIX systems, the vmstat and iostat utilities are
    good choices.
    Will give this information soon.
    29. Are there any other significant applications running on this
    system? Are you using Berkeley DB outside of Berkeley DB XML?
    Please describe the application?
    No to the first two questions.
    The web application is an online review of test questions. The users
    login and then review the items one by one. The relational database
    holds the data in xml. During application load, the application
    retrieves the xml and then saves it to bdb. While the user
    is making changes to the data in the application, it writes those
    changes to bdb. Finally when the user hits the SAVE button, the data
    gets saved to the relational database. We also have an automatic save
    every two minues, which saves bdb xml data and saves it to relational
    database.
    Thanks,
    Madhav
    [email protected]

    Could it be that you simply do not have set up indexes to support your query? If so, you could do some basic testing using the dbxml shell:
    milu@colinux:~/xpg > dbxml -h ~/dbenv
    Joined existing environment
    dbxml> setverbose 7 2
    dbxml> open tv.dbxml
    dbxml> listIndexes
    dbxml> query     { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }
    dbxml> queryplan { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }Verbosity will make the engine display some (rather cryptic) information on index usage. I can't remember where the output is explained; my feeling is that "V(...)" means the index is being used (which is good), but that observation may not be accurate. Note that some details in the setVerbose command could differ, as I'm using 2.4.16 while you're using 2.4.13.
    Also, take a look at the query plan. You can post it here and some people will be able to diagnose it.
    Michael Ludwig

  • Need Help with my ZEN MX

    Need Help with my ZEN MX9<font face="lucida sans unicode,lucida sans">Hi folks. On my computer I have about 9G of different music, or 52 albums. I can't figure out how to get that music on to the player. To correct myself, I mean I know how to physically/logically copy it over to my player. All of that music is also?on the player in "Music" folder. I have this "Creative Centrale" installed and working. I need step-by-step instructions on how to create a PLAYLIST (I'm guessing), and have the?player play song after song in an album, not randomize the play. I think that is why I created that playlist. Thank You folks For Your Help?
    <font face="lucida sans unicode,lucida sans" size="3"><font face="lucida sans unicode,lucida sans" size="3">?

    I guess you have a problem with the inability of mx to play folders. i have used folders as playlists since i got my first computer since i just want to throw the folder with the files over to another media for playing. Not to be able to play tis is truly annoying.

  • Need help with my Pioneer dvd-rw dvr-115d. HLEP!!

    Hello i need help with my G4, i havent been useing it for a while and i started using it again. As i was trying to burn a DVD it didnt read my cd at all even if i put a DVD in there it dont read it just come right back out.. on my mac it shows that is there but not reading . what can i do????!!! i need help with this..
    PIONEER DVD-RW  DVR-115D:
      Firmware Revision:          1.18
      Interconnect:          ATAPI
      Burn Support:          Yes (Vendor Supported Drive)
      Profile Path:          /Library/DiscRecording/DeviceProfiles/PatchBurn-pioneerdvdrwdvr115d.drprof ile
      Cache:          2000 KB
      Reads DVD:          Yes
      CD-Write:          -R, -RW
      DVD-Write:          -R, -R DL, -RW, +R, +R DL, +RW
      Write Strategies:          CD-TAO, CD-SAO, CD-Raw, DVD-DAO
      Media:          Insert media and refresh to show available burn speeds
    this is what it say in the system profiler.
    Power PC Mac os x 10.5.8

    The new user account didn't work?
    Or, the firmware flash didn't work?
    I would try reconnecting the data ribbon. It is cramped and difficult to get to, but it may be some corrosion or a poor connection causing the issue.
    It's worth a try, as the DVR-115 is a good drive. They don't make them any more........
    You can find an optical drive installation video (on the following page) to help you with your efforts:
    http://eshop.macsales.com/installvideos/

Maybe you are looking for

  • BAPI Error: No account assignment exists for service line 0000000000

    I am using BAPI : BAPI_PO_CREATE1 to create a PO. I am getting this error while creating PO  "No account assignment exists for service line 0000000000" Please help.

  • Sent mail from my iPhone not showing as sent in web mail folders?

    Hi, Shouldn't Yahoo Biz mail I send from my 3g show up in my sent folders on my Macbook via Yahoo web mail? What I do on my iPhone with email does not at all jive with what I see on web mail. ALL my settings, ports, SMTP/POP are correct according to

  • Entries in Infotype PA0041

    Hi, When an employee is Reinstated from Suspension will Last Hire Date will be changed in Infotype 41, if not under what circumstance will this field be different from original hire date. How to check whether an infotype will be affected by a dynamic

  • Adding multiple deliveries to a shipment

    Hi all, My requirement is to add multiple deliveries to a shipment. for that I am using a BAPI, SD_DELIVERY_ASSIGN_TO_SHIPMENT. In the description of this, it is said that we can append deliveries to shipment. But, i am not able to do so. I have pass

  • Adobe CSI CS4 1.0.1 Fails to Install

    I'm trying to install the Services Update for CS4, which comes down as CSI CS4 1.0.1. I have tried the updater and manually installing the update and it fails everytime, but without any clue as to why its failing. I have serched through the logs and