Economic Issues And Logic – Quick Notes

Economists study changes taking place in certain countries or individual sectors of an economy; some ask essential questions about the nature of economic choices; some address propositions to change government policies.

Leading economists develop concerns in two lectures sponsored by the American Economic Association at its annual conference. The address of the President of the Association and a welcomed lecture called the Ely Lecture, called for a founder of the Association, discuss issues of the speakers’ selection. More economists define their own concerns in seminar where they provide their work. The symposia sometimes attend to more concentrated topics than the paper headlines and also develop much deeper understanding of financial phenomena. Economists from all over the world present their newest research at the Yearly Conferences of the American Economic Association and financial firms publish annual reports that discuss significant issues for the country and the world.

The Free market Committee of the Federal Reserve looks at evidence about the rate of inflation, that is, the rate of increase in the basic price level, and the anticipated rate of inflation, and chooses to act to decrease inflation. Will it purchase bonds from investors in the open market, making use of cash from its accounts, or will it sell bonds from its reserves in exchange for investors’ cash?

A bond is a contract. The seller of the bond receives the face quantity of the bond at the time of the sale and accepts pay the holder of the bond a particular amount each quarter up until the bond matures (ends) at which time the bondholder receives the return of the face quantity of the bond. When a bond is provided, its current rate varies in the marketplace for bonds as investors’ reply to changing rate of interest. When interest rates on comparable assets increase, the holders of a given bond will certainly desire their bond to pay the exact same rate of interest as other comparable assets. A fall in the current cost of the bond indicates that the taken care of bond payment provides a higher rate of interest relative to the current price. The bond’s interest payment is dealt with; the bond’s market price differs as market rate of interest differ.

Here is the analysis. When the Federal Reserve offers bonds, the marketplace rate of bonds will certainly go down and consequently enhance the existing interest rate of the bonds. (The taken care of interest payment relative the lower market value of the bond implies the current rate of interest made by the bond is higher.) With higher interest rates, investors will certainly economize on using funds, businesses will begin fewer capital jobs, the pace of economy activity will subside, and inflation will, in time, boil down.

~~ These are notes from my UoM Computer Economics Class ~~

Share

Programatically Highlighting Current Step In ASP.NET Wizard

This was frustrating, so gonna save some folks the time that are using the ASP.NET wizard in a SharePoint WebPart.

I found a lot of examples of how to highlight the current step in the ASP.NET wizard control via WebForm markup, but there was a severe lack of examples that show how to do it in straight code behind. In essence you are relegated to implement various sets of ITemplates for the ASP.NET wizard corresponding DataList, notably instantiating against the SelectedItemTemplate and ItemTemplate properties. ITemplates defines the behavior for populating a templated ASP.NET server control with child controls. The child controls represent the inline templates defined on the page, or in this case, within a composite control. The important part to remember when creating the various templates is the SideBarList control must contain an IButtonControl with ID SideBarButton in every item template, this may include ItemTemplate, EditItemTemplate, SelectedItemTemplate or AlternatingItemTemplate if they exist. As stated before, we just need to focus on two properties.

So, firstly for your strongly typed Wizard object in CreateChildControls or wherever set the SideBarTemplate

[csharp]

[SomeAspNetWizardObject].SideBarTemplate = new SideBarHighlighter();

[/csharp]

Now onto ITemplate fiesta:

[csharp]

public class SelectedItemTemplateMerged :ITemplate
    {
        public void InstantiateIn(Control container)
        {
            LinkButton activeSideBarButton = new LinkButton();
            activeSideBarButton.ID = “ActiveSideBarButton”;
            LinkButton sideBarButton = new LinkButton();
            sideBarButton.ID = “SideBarButton”;
            sideBarButton.Visible = false;
            container.Controls.Add(activeSideBarButton);
            container.Controls.Add(sideBarButton);
        }
    }

    public class SideBarItem :ITemplate
    {
        public void InstantiateIn(Control container)
        {
            LinkButton sideBarButton = new LinkButton();
            sideBarButton.ID = “SideBarButton”;
            container.Controls.Add(sideBarButton);
        }
    }

    public class SideBarHighlighter : ITemplate
    {
        public void InstantiateIn(Control container)
        {
            DataList sideBarList = new DataList();
            sideBarList.ItemDataBound += SideBarList_ItemDataBound;
            sideBarList.SelectedItemTemplate = new SelectedItemTemplateMerged();
            sideBarList.ItemTemplate = new SideBarItem();
            sideBarList.ID = “SideBarList”;
            sideBarList.SelectedItemStyle.Font.Bold = true;
            sideBarList.RepeatLayout = RepeatLayout.Flow;
            container.Controls.Add(sideBarList);
        }

        private void SideBarList_ItemDataBound(object sender, DataListItemEventArgs e)
        {
            WizardStep stepCurrent = (WizardStep) e.Item.DataItem;
            if (stepCurrent.Wizard.ActiveStepIndex == e.Item.ItemIndex)
            {
                LinkButton activeSideBarButton = (LinkButton) e.Item.FindControl(“ActiveSideBarButton”);
                activeSideBarButton.BorderStyle = BorderStyle.Solid;
                activeSideBarButton.BorderColor = Color.White;
                activeSideBarButton.BackColor = Color.White;
                activeSideBarButton.Font.Bold = true;
                activeSideBarButton.Style.Add(HtmlTextWriterStyle.Color, “#000000”);
                activeSideBarButton.Text = string.Format(“>> {0}”, stepCurrent.Title);           
            }
        }
    }

[/csharp]

 The obvious important part is the ItemDataBound event, since that’s where the text is mutated.

Share

Free PDF IRM Protector For RMS / SharePoint 2010

I am currently in the middle of a side, personal project that I am really sick of not having on hand, an PDF IRM protector that integrates with SharePoint! I am sure anyone that has done this before has run into this particular requirement, and while I haven’t done any VC++ in a while now, I am cooking up this code.

So the next couple site posts while be about building the protector which will extend on the meager MSFT documentation regarding the subject.

Enough post filler, time to get back to coding this sucker up!

Share