Please review my first MVVM project

I'm trying to learn MVVM, so I made a simple WPF Application in C#, and since I am new to MVVM I was wondering if any of you can give me input on my code? Things I have done wrong, things I could have done better - maybe even things I've done right!
From my readme file:
Testing MVVM. Displays pictures based on radiobutton choices.
The button controls whether an image can be displayed. It also has text showing user if he can toggle images on/of.
Radiobuttons control which image to be displayed - but only displays the image if the button is clicked.
I'm open to all suggestions that might make me a better coder (as you can see I'm a little rusty when it comes to C# as well).
Here's my code: 
github.com/drberg/MVVMImageChooser

I think you're doing pretty well as you're new to mvvm and presumably wpf.
I suggest you take a look at mvvm light.  You can get it via nuget.
Choosing mvvmlight libraries only allows you to easily add it to an existing project or you can start a new mvvmlight project.  There's a template.
That gives you ViewModelBase you can inherit your viewmodels from.
With .net 4.5 there's callermembername and the implementation in mvvmlight uses this like the one you can find on msdn. 
If you don't want mvvmlight for whatever reason then you could inherit your viewmodels from this instead.
public class NotifyUIBase : INotifyPropertyChanged
// Very minimal implementation of INotifyPropertyChanged matching msdn
// Note that this is dependent on .net 4.5+ because of CallerMemberName
public event PropertyChangedEventHandler PropertyChanged;
public void RaisePropertyChanged([CallerMemberName] String propertyName = "")
if (PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
That lets you remove the "magic strings" from property changed notification.
Thus
public BitmapImage Shape
get { return shape; }
set
shape = value;
RaisePropertyChanged();
Don't call your commands Button_Click
Most devs suffix the command with Execute for the method and CanExecute for the Boolean.
You've split code into view and viewmodel folders.
There are two schools of thought on this.
Some prefer to have a Views folder which then has a sub folder for like admin, another for sales etc etc
Then a folder within each with all the stuff related to a given view.
You often have a View, a view viewmodel, one or even several row viewmodels if there are a number of item controls. You can end up with quite a few bits and bobs which make up the one window.
You only have one view there.
I tend to have one window and numerous usercontrols rather than numerous windows.  The MainWIndow has a contentcontrol and the various views are swopped out.
If you've not taken a look at it already you might like:
http://social.technet.microsoft.com/wiki/contents/articles/28209.wpf-entity-framework-mvvm-walk-through-1.aspx
The second version, I've written the code and published two supporting articles explain techniques used.
Obviously, most
http://social.technet.microsoft.com/wiki/contents/articles/28597.wpf-keeping-your-mvvm-views-dry.aspx
The technique used to tell the viewmodel about errors the view finds is useful.
http://social.technet.microsoft.com/wiki/contents/articles/29777.wpf-property-list-editing.aspx
I've not yet written the main article yet.
MVVM light messaging is very useful and solves a number of those awkward bits you come across when doing mvvm.
http://social.technet.microsoft.com/wiki/contents/articles/26070.communicating-between-classes.aspx
Hope that helps.
Please don't forget to upvote posts which you like and mark those which answer your question.
My latest Technet article - Dynamic XAML

Similar Messages

  • Please review my first apps

    I have finished two apps for the i-phone for the company I work for.
    One is a game, which I can't say run's smoothly, but we decided to release it anyway:
    http://itunes.apple.com/us/app/pixels-pointless-pursuit/id407587448?mt=8
    The original on-line version can be found here for performance comparison:
    http://www.pierceaxiom.com/video_games.html (Pixels Pointless Pursuit)
    The other is a very simple informative app that doesn't put much strain on the phone:
    http://itunes.apple.com/us/app/jnf-reforest/id415728878?mt=8
    I have said it before on this forum, (and I know it upsets some of you)- I am not impressed with the overall performance of the i-phone packager, but I do appreciate that we have any oportunity to utilize our skills to get something on the i-phone.  I'd appreciate any feedback you guys could give us.  suggestions about improvements are welcome and wanted, but keep in mind I'm pretty sure I know every performance optimization technique publicly available, and have used all that apply.
    Any feed back is appreciated!
    -Mike

    Thanks for the response Ivan.
    You're not getting smooth scrollign in the on-line version of the game?  Thats strange, unless you have a computer with < 2 ghz processor, I haven't noticed any performance problems with the on-line version.  But yes, the scrolling on the iphone one is kind of jittery.
    And yes, I actually removed all of the seperate background layers for the iPhone.  It just couldn't handle it.  I even tried blitting, but that didn't help.  We had one of our artists redraw the background and forground to try to make up for the lack of depth.
    And I agree about the swiping in the other app.
    Thanks for taking the time to review!
    -Mike

  • I cannot sign in.  "This Apple ID has not yet been used with the iTunes Store.  Please review your account information."  I click "Review", next message "You must turn on cookies to continue.   Cookies must be enabled if you want to create or edit.. etc."

    I applied and received an upgrade code to Redeem Mountain Lion for my new MBP. 
    I get this message when I try to Sign in to the App Store after entering the redemption content code, and also if I just try to "Sign In".   The first part of the error is true - I haven't used the AppleID with the iTunes store.  
    I received the upgrade code using this same AppleID, so I don't think I can use a different AppleID.
    I also tried to re-create this appleID...(it was one suggestion I saw for this issue) It doesn't let me since the ID already exists...
    The error is:
    "This Apple ID has not yet been used with the iTunes Store.  Please review your account information."  I click "Review", next message "You must turn on cookies to continue.   Cookies must be enabled if you want to create or edit.. etc." 
    It's clearly not a cookie issue..   Stuck...

    The first part of the error is true - I haven't used the AppleID with the iTunes store. 
    Try here >  Using an existing Apple ID with the iTunes Store and Mac App Store
    received the upgrade code using this same AppleID, so I don't think I can use a different AppleID.
    Correct.
    It's clearly not a cookie issue..
    As for cookies. Quit the App Store. Now open the Finder. From the Finder menu bar click Go > Go to Folder.
    Type this exactly as you see it here:   ~/Library/Cookies
    Click Go the move the   com.apple.appstore.plist   file from the Cookies folder to the Trash.
    Relaunch the App Store.

  • Apple id has not been used with the itunes store-please review your account information

    Hello,
    Good Day.
    I bought apple ipad 2 and need help.
    I registered online and after this i am getting the error.
    apple id has not been used with the itunes store-please review your account information
    Can any one help me in this issue.
    Thanks&Regards,
    Shankar.M

    This is information you you have created an apple id.
    To use this apple id for the itunes store, you have to agree to the terms and conditions and enter in the requested information before you can use the store.
    When you create an apple id it does not mean you gain access to all apples features, you would need to create a :-
    Itunes id
    Facetime id
    Game centre id
    imessage id
    icloud id
    You can use the same email address as each login. but until you agree to each terms and conditions you wont be able to access the services.
    This is usually done the first time you access each service and sign in with your apple id.
    As to iTunes you need a little extra as they will request to confirm details as to address, etc, with the payment information they can confirm you are actually in that country you are trying to purchase from.
    Once you have added the credit card details, you can go back in a set payment method to none and remove the credit card details once you have activated the itunes on your apple id.
    Basically this message you are getting is just ADDING the feature of iTunes store to your apple id, and confirms you have not got a iTunes id yet.

  • EPrint/Apps Connectivity Troubleshooting - Please Review

    ePrint & Print Apps Connectivity Troubleshooting Steps – Please Review before posting
    This information below is provided to help you to resolve web services connectivity problems to enable your printer to print with ePrint, launch/use Print Apps, enable web services, print your web services info sheet, or add your printer to your account on the HP ePrintCenter.   Only items that have actually been shown to resolve customer issues have been included in the list.   
    For best results review and apply the applicable steps below in the order presented before posting a request for help in the forum, so that forum members who respond to your post can provide the best possible assistance.  
    Also see this post (http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile/Start-here-Web-Services-How-To-and-Troubleshoo...) for additional “how-to” and links to important web services information, FAQs, and Help content.
    Before applying the troubleshooting information below:
    If you receive an “Invalid code” message when you try to add your printer to your HPePrintCenter account, but aren’t having any other problems using ePrint and Print Apps, you most likely only need to reprint your web services info sheet from your printer.  Your printer's claiming code that is printed on the info sheet can only be used to add your printer to your ePC account for 24 hours after printing the info sheet.  Reprinting the info sheet doesn't change your claiming code, it just re-enables your printer to be added to your ePC account for another 24 hours.  See here for the steps to re-print your web services info sheet.
    If you enabled Web Services on your printer but the Web Services info sheet containing your printer’s claiming code did not print, your printer has not fully completed its web services registration and will not print ePrint emails or print app content.  In this case you will not receive any error messages on the printer and you can view your printer’s email address on the printer front panel display.  If your web services info sheet does not print within five minutes of enabling web services, try removing and enabling web services again.  If your Web Services info sheet still does not print after re-enabling web services, you will need to wait and try again later.   If you do receive error messages when trying to enable web services, continue to the web services connectivity troubleshooting steps below.
    If you have ePrint emails that aren’t printing, please first ensure you confirm your emails meet ePrint format/attachment requirements.  Review the ePrint email requirements in the ePrint FAQ/Help on HP ePrintCenter at www.hpeprintcenter.com.  You can also check your printer’s connectivity status and ePrint job list on HP ePrintCenter if you have created an account there and added your printer.  (Always use the “Refresh” button on the ePC page, not your browser refresh button, to view updated printer connection status on the HP ePrintCenter.)  
    A.     Easy steps that can be surprisingly helpful – try these first:
    Verify your network’s internet access is working – on a computer connected to your network, use a web browser like Internet Explorer or Firefox to view a web page.  If you can’t access the internet your internet service provider may be having a service issue that is affecting ePrint/Print Apps. 
    Go to HP ePrintCenter and look in the News section (http://h30495.www3.hp.com/news/ ) to see if there are any service status updates.  In some cases, you might just need to wait a little while and try again.  
    Turn wifi off and then on again on your printer and wait for a minute for your printer to reconnect to your network   
    Reboot your printer - turn power off and then on) and wait for a minute for it to reconnect to your network
    Reboot your router - remove the power cord from the back of the router, wait a minute, and then plug it in again and wait for at least a minute for the router to power up and all your devices to reconnect.
    B.      Check your printer’s IP address to confirm it is connected to your network.   
    Verify that your printer has a valid IP address (for example, typically 192.168.x.x on a home wireless network) by viewing the network settings screen in the Networking or Wireless menu on your device’s front panel display, or by printing a Printer Status Report (usually found on the Tools menu).  If your printer does not have a valid IP address re-run the network setup process for your printer.   For more help with setting up or troubleshooting your HP printer’s connection to a wireless network, go to http://www.hp.com/go/wirelessprinting
    C.      Confirm that both your printer and router have up-to-date firmware:
    Having up-to-date firmware on your printer or router is important to use web services.  
    Check to ensure you have the latest firmware (FW) for your printer by checking for product updates, usually found under the “Web” or “Preferences” options on your printer’s menu.  If your printer finds an update but is unable to complete downloading/installing it, ensure your router FW is up to date and try again.  If your printer continues to fail to complete the download of an available FW update, continue to “E. Set a Manual IP/DNS Server” below.
    Check to ensure that you have the latest firmware for your router – review your router documentation/help (or the router manufacturer’s web site) for information on how to check for and install firmware updates.  
    Resolve temporary connection failure after printer firmware upgrade    
    Some printers may experience connection failure after firmware upgrade.  This is because the printer reboots itself after firmware updates and needs to re-establish network connection.   
    Check to ensure the printer has been given a valid local IP by your router (eg. 192.168.x.x if DHCP is used) before trying to access print apps or using ePrint.   You can see your printer’s IP address by going to the printer’s Wireless or Network setup menu.
    If you don’t see an IP, you may have to restart the printer.  In some cases, you may have to remove and re-enable web services to re-establish your connection.
    Refer to the FAQ & Help section on HP ePrintCenter for more information on how to remove and re-enable web services from your printer.
     Allow your printer enough time to reconnect to your network after you try any of the steps above, before you try ePrint or Print Apps again. 
    D.     Remove and Re-enable Web Services and Restore Factory Defaults
    Remove and then re-enable web services on your printer.  If the web services info sheet does not automatically print within a few minutes of re-enabling web services, web services has not been fully enabled on your printer.   You may need to wait and remove and re-enable web services again in few hours to allow the issues affecting your printer’s communication with the cloud servers to clear up.  Until a web services info sheet prints out your web services registration is not complete.   Complete the steps below while your printer is connected to the Internet.
    Photosmart:  The Remove Web Services option is available either under the Setup>Wireless>Web Services menu option, or the Setup>Web option, or via the ePrint icon on the printer front panel. 
    On the eStation select the Menu button on the eStation display (to the right of the Home and Back buttons at the top left when the display is docked on the printer); Select Settings;  Select "Web Services”; Select the “Web Services” checkbox. 
    Officejet:  Use Setup > Web Services Setup > Restore Factory Settings to remove Web Services from the printer. 
    LaserJet: Print a configuration page from your printer to locate the IP address. Open a Web browser and type the product IP address into the address line. The HP-embedded Web Server will open. Click the HP Web Services tab. Select the option to remove Web Services.
    2.  Restore Factory Defaults on your device.  If removing and re-enabling web services does not resolve the problem, restore factory defaults on your printer and try again.  The factory default option is usually found in the Setup>Tools menu on your printer.   Do the following on your device:
    Remove/Disable Web Services 
    Restore factory defaults/settings (depending on the printer this is found under the Setup>Tools menu, or the Setup>Web Services menus, but varies by printer) 
    If prompted, re-do initial setup of your device and add it to your network
    Re-enable Web Services 
    Once the Web Services information sheet is printed, use the printer claiming code to add your printer to your account on ePrintCenter
    E.      Set a Manual IP/DNS Server settings on your printer
    Setting a manual IP address/DNS Server on your printer will resolve web services connectivity issues that can occur on some networks with some routers.  Note:  Setting a manual IP/DNS Server may be particularly helpful on networks using DSL/VIOS routers.   
    Please read the instructions below completely before applying them.  You should not attempt these on your own if you don't understand networking basics.  Most of us have a "techie" buddy/friend/family member...if you're not comfortable this might be a good time to call him/her, or contact HP support to assist you.  
    Before you begin, first remove Web Services from your printer if it has been enabled.  (See section D. 1. above.)   Removing web services will remove your printer from your HPePrintCenter.com account (if you have previously set up an account and added it).  When you re-enable web services after completing these steps you will have a new ePrint email address and need to add your printer to your ePC account again. 
    How to set a manual IP address/DNS Server on your web-connected printer:
    Print a Network Configuration Page from the printer front panel.  On some printers this will be under Wireless>Wireless Settings, and on other models use the “Print Report” option from the Wireless status screen accessed from the wireless icon on the printer home screen.   Note the printer's IP address that is listed in the IPv4 section of the report.  On most printers you can also see the printer’s IP address from the Wireless menu, or on the Wireless status screen.  
    Type that IP address into your browser address bar (where you would normally type a web page URL) and hit enter - this will load the printer's internal settings page (also known as an Embedded Web Server, or EWS)
    Select the “Network” or “Networking” tab (the label varies depending on printer model) from the tabs along the top of the screen in the EWS
    Depending on your printer model, the next step(s) will vary:
    Select the “IPv4” option from along the left side of the Networking screen   
    or
    Select the “Networking” option from the left side of the screen
    Then select the “Network Address (IP)” option from the left side of the screen
    The screen you end up on should be the “IP Address Configuration” screen.  That screen allows you to choose an Automatic or Manual (i.e., fixed) IP address for your printer, as well as Subnet Mask and Default Gateway values.   You will use this screen to set a Manual IP address and DNS Server for your printer.  
    To continue:
    Select the radio button next to “Manual IP”
    Select the “Suggest a Manual IP Address” option below the IP address fields.  The Manual IP address fields will automatically populate with suggested values after a few moments.
    Select the “Manual DNS Server” radio button in the DNS Address Configuration section 
    Enter the address just entered in the “Manual Default Gateway” into the “Manual Preferred DNS Server” field.  Leave the “Manual Alternate DNS Server” entry blank.
    Carefully double-check the values you entered to make sure they are all correct. 
    Click 'Apply'
    Save any open documents and close any web browsers on any computers
    Turn off the printer and unplug the router. 
    Plug in the router, wait for it to start up and for status lights to settle down (approximately a minute at least), then turn on the printer.
     After the printer has connected to your network, enable web services on your device, accept any firmware updates that may be offered, and add your printer to your account on HPePrintCenter. 
    In some cases you might need to add the printer to your computer’s Printer/My Printers folder again, after you set the new manual IP address.   If you have problems printing to your printer, simply use the option to add a printer, select the Networked printer type, and complete the add printer wizard.  You will not need to reinstall any printer software on your computer.  
    F.       Check for port/proxy issues  
    Note:  These issues are not commonly experienced, and primarily affect users in business environments. 
    ePrint and Print Apps require access to establish connections out to HP servers via ports 80, 443, 5222 and 5223.   Primarily in some business environments, network administrators may block devices initiating communication from within the firewall on some of these ports.  Please check with your network administrator or Internet Service Provider to make sure those ports are not blocked on your router/firewall for outward-bound communication initiated by your printer. 
    Important Note:  We are not suggesting that you set up port forwarding on your router to open these ports for connections initiated from outside your network to your printer.  That is not required and could be a security risk for your network. 
    2. In some business environments the local network which the printer is connected to may require a proxy setting to access the Internet.   Check with your IT Administrator or Internet Service Provider (ISP) for proxy setting if necessary.  Most ISP for home users do not require proxy configuration for Internet access.  (Note: HP web connect printers currently do not support secure proxy servers)  
    To set a proxy on an Officejet All-in-One, see this document:  http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02524629&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US... 
    If the steps above have not resolved your ability to use ePrint/Print Apps, please submit a question in the here in this support forum, confirming you have completed this connectivity troubleshooting and identifying the error/problem you are experiencing.  Thank you.
    I am an HP employee.
    This question was solved.
    View Solution.

    eprint has to be the biggest boondoggle ever created. HP should be embarrased by their incompeetance - been two weeks and I have not been able to access the feature. Told a number of times (after LONG wait on phone) that there were problems with their servers and to try again in a day or so - very helpful and professional. Feel like I'm dealing with "Dogbert" customer support in Dilbert cartoon world. Can't log on using snapfish or any other means. I guess I just have to give up and recognize that HP just doesn't care - false advertising and promotion. No satisfaction.

  • Trying to sign in to itunes store via windows xp...get to id and pwd and then it says "This Apple ID has not yet been used with the itunes store...please review acct. info"  Well how can I use it if you don't let me log in!?

    Tyring to sign in to iTunes store viz windows XP...I get to entering my ID and PWD and then the message pops up "This Apple ID has not yet been used with the iTunes store...please review acct. info."  HELP!  I have cleared DNS, checked proper date & time and deleted SC folder from programs like support suggested--all to no avail.

    The first part of the error is true - I haven't used the AppleID with the iTunes store. 
    Try here >  Using an existing Apple ID with the iTunes Store and Mac App Store
    received the upgrade code using this same AppleID, so I don't think I can use a different AppleID.
    Correct.
    It's clearly not a cookie issue..
    As for cookies. Quit the App Store. Now open the Finder. From the Finder menu bar click Go > Go to Folder.
    Type this exactly as you see it here:   ~/Library/Cookies
    Click Go the move the   com.apple.appstore.plist   file from the Cookies folder to the Trash.
    Relaunch the App Store.

  • First ever project

    hi i m hasan,
    i am just about to create my first ever project. i have to create a program for a cyber cafe. i have taken all the detail of the requirement from the cyber cafe. i will be creating it using Java Swing. now how should i start working on the project. should i need to create flow charts and algorithm and any other requirement... ? plz tell me what i should and what i should not do before starting to write the program.

    It sounds to me like this is for a class project, if so, please follow the requirements you instructor has given you for application development.

  • First J2ME Project

    Hi,
    I am quite new to J2ME.
    I am about to do my first J2ME project and need all possible help from you'll.
    The project is about Property Management - Conditional Survey.
    The Managing Agent would visit the property site and do a survey of the property.
    The Agent would be having a mobile device using which he should be able to connect to the database located at his Head Office(HO).
    Using the User Interface displayed on his/her mobile device he should be able to retrieve information, Add/Update/Delete information about his property survey which would update the database located at the HO.
    This is all the information that I have regarding the functional requirements.
    Regarding the tools as off now this is the info I have :
    1) The database would be Oracle
    2) Eclipse IDE.
    3) What is a suitable Mobile Device / Emulator for such a project ?
    4) What other tools would I need ?
    If anyone has worked on a similar requirement before please point me to suitable links for more information and similar sample projects.
    Please share your experience and difficulties that you might have faced while doing the project.
    Your help would be much appreciated. Thanks in advance
    Regards,
    Paresh

    Take a look at jsr--179
    http://mobilezoo.biz/jsr/179/index.html
    Note that this is an optional API.
    Do you have a background of core java / j2se / j2ee?
    If not, start with something much simpler and work up.
    :D

  • First imovie project suddenly erased. How do i get it back??

    I just made my first imovie project and when I was done I made sure to finalize it. A day later, I tried to reopen it through Finder-->Movies-->iMovie Projects-->My First Project. I dragged the "my first project" onto my desktop so itd be easier to get to and then i opened it with iMovie. I double clicked the project and all of a sudden it wasn't there. It was erased. How do i get it back?? I literally pressed nothing else and now cannot find it anywhere on my computer. Help please!!

    morggan13 wrote:
    …  tried to reopen it through Finder …
    That's not optional.
    Projects can only be handled INSIDE the app.
    You should find your Project listed in your iMovies Project Library…

  • I created an apple id online and not on itunes, my email said the apple id was successfully created but when i used it in itunes it said "This apple idhas not been used in itunes please review your account information "

    I created an apple id online and not on itunes, my email said the apple id was successfully created but when i used it in itunes it said "This apple idhas not been used in itunes please review your account information "

    Hi rixa03!
    I have a couple of troubleshooting steps for you to try to resolve this issue. First, you should try closing the app according to the instructions found on this website, which is a troubleshooting assistant for the iPad:
    Apple - Support - iPad - iPad Troubleshooting Assistant
    http://www.apple.com/support/ipad/assistant/ipad/#section_3
    If the issue persists, you may need to try resetting the iPad, the instructions for which can be found here:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Mac suddenly slow and laggy. Memory is not an issue. Can anyone please review my etrecheck report?

    It went from running fine, to being slow and laggy overnight. Memory or HD space is not an issue. Can someone please review the following report that etrecheck ran for me, and let me know of any potential problems they see.
    EtreCheck version: 1.9.12 (48)
    Report generated July 19, 2014 10:09:38 AM EDT
    Hardware Information:
      MacBook Pro (13-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,2
      1 2.9 GHz Intel Core i7 CPU: 2 cores
      8 GB RAM
    Video Information:
      Intel HD Graphics 4000 - VRAM: 512 MB
      Color LCD 1280 x 800
    System Software:
      Mac OS X 10.7.5 (11G63b) - Uptime: 0 days 1:36:5
    Disk Information:
      TOSHIBA MK7559GSXF disk0 : (750.16 GB)
      disk0s1 (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 749.3 GB (641.69 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      HL-DT-ST DVDRW  GS31N 
    USB Information:
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. FaceTime HD Camera (Built-in)
    Thunderbolt Information:
      Apple, Inc. MacBook Pro
    Configuration files:
      /etc/hosts - Count: 20
    Kernel Extensions:
      [loaded] com.protech.NoSleep (1.3.1 - SDK 10.8) Support
    Launch Daemons:
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] org.macosforge.xquartz.privileged_startx.plist Support
    Launch Agents:
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [failed] com.adobe.AdobeCreativeCloud.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
      [loaded] org.macosforge.xquartz.startx.plist Support
    User Launch Agents:
      [failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
      [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
      [running] com.spotify.webhelper.plist Support
    User Login Items:
      Flux
    Internet Plug-ins:
      JavaAppletPlugin: Version: Java 7 Update 40 Check version
      o1dbrowserplugin: Version: 5.4.2.18903 Support
      Unity Web Player: Version: UnityPlayer version 4.1.2f1 Support
      FantashowPlugin: Version: FantashowPlugin 1.0.0.0 - SDK 10.7 Support
      AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
      FlashPlayer-10.6: Version: 14.0.0.145 - SDK 10.6 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      Flash Player: Version: 14.0.0.145 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.1
      googletalkbrowserplugin: Version: 5.4.2.18903 Support
      SharePointBrowserPlugin: Version: 14.2.3 - SDK 10.6 Support
      DirectorShockwave: Version: 12.0.2r122 - SDK 10.6 Support
    Safari Extensions:
      Open in Internet Explorer: Version: 1.0
      Searchme: Version: 1.3
    Audio Plug-ins:
      iSightAudio: Version: 7.7.1 - SDK 10.7
    iTunes Plug-ins:
      Quartz Composer Visualizer: Version: 1.3 - SDK 10.7
    User iTunes Plug-ins:
      TuneUp Visualizer: Version: Unknown
    User Internet Plug-ins:
      thinkorswim plugin_x86_64: Version: thinkorswim_x86_64 1.0.0.0 - SDK 10.7 Support
      tossc plugin_x86_64: Version: TOS Sharing Center plugin_x86_64 1.0.0.0 - SDK 10.7 Support
    3rd Party Preference Panes:
      Flash Player  Support
      Java  Support
    Time Machine:
      Time Machine not configured!
    Top Processes by CPU:
          3% WindowServer
          0% opendirectoryd
    Top Processes by Memory:
      82 MB mds
      49 MB Finder
      41 MB HP_Photosmart_C4400_series
      33 MB SystemUIServer
      33 MB WindowServer
    Virtual Memory Information:
      6.42 GB Free RAM
      677 MB Active RAM
      206 MB Inactive RAM
      730 MB Wired RAM
      366 MB Page-ins
      0 B Page-outs

    First, if you don't already have a current backup, back up all data immediately.
    When you have the problem, note the exact time: hour, minute, second.   
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above. Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first. Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • 2811 - Please review my work

    Hi. Newbie to the Cisco world.
    I have a spare Cisco 2811 router from which I removed/disabled all Voice and WAN devices (VIC2-2FXS, VWIC-1MFT-T1, VIC2-4FXO, PVDM2-48). I would like to now use this router in a basic network configuration with 2 VLANs (voice and data) for a regional office. An illustration of that office network is below.
    Would you please review my router config and let me know if you see any problems? Besides the requirements listed, I want to make sure that the internal network is protected from the outside. Also, please let me know if there is a way to restrict RDP to y.y.y.11 only if the incoming address is from the b.b.b.0/24 public subnet (I own this entire Class C).
    Thanks in advance for your assistance.
    Requirements
    Allow all traffic between VLAN 1 and VLAN 100 and vice versa.
    Allow both VLANs to reach the Internet
    Router to provide DHCP for phones (server will provide for workstations)
    Need SSH on vty 0 4
    Allow RDP from outside to get to server on y.y.y.11 (would prefer to restrict this to particular subnet b.b.b.0/24)
    Network Illustration

    Hi, [email protected].
    As shh5455 told it should work well. But from my point of view it's better to change line "ip nat inside source static tcp y.y.y.11 3389 interface FastEthernet0/0 3389" to "ip nat inside source static tcp y.y.y.11 3389 a.a.a.7 3389" (btw the mask for outside interface is 24? Really?)
    And from securety side your router is no good. What can be good to do:
    1. Turn off telnet (espessially if you want configure router from the internet. But first need configure SSH. Look at 11 point bellow):
    line vty 0 4
     transport input ssh
    exit
    2. Make access to vty lines only from trasted IP addresses:
    access-list 2 remark ----- ACL for VTY Lines -----
    access-list 2 permit [permited IP address or pool of IP addresses]
    access-list 2 deny any log
    line vty 0 4
     access-class 2 in
    exit
    3. As I know 2811 has vty lines 5 - 15 too. So you need copy settings from vty 0 - 4 to 5 - 15.
    4. Turn on logging information (at last for local storage. But it's better to send logged information to external device). By default it turned on but buffer size is small:
    logging buffered [size_of_buffer]
    no logging console
    logging on
    And for external device:
    logging [host address]
    Also add a line for logging failed authentications:
    security authentication failure rate [number of failed tryes before sending a log message] log
    5. Make ACL for external interface with access only for needed services (btw I prefer extended ACL for this, so example by this type of ACL):
    ip access-list extended Outer_shield
     remark ------ACCESS-LIST FOR OUTER INTERFACE IN --------
     remark *** Permit access
     permit tcp b.b.b.0 0.0.0.255 host a.a.a.7 eq 3389
    ! If you want configure router from the internet
     permit tcp [trusted IP addresses or any] host a.a.a.7 eq 22
    ! If you want check your router by ICMP
     permit icmp [trusted IP addresses or any] host a.a.a.7 eq [needed parameters]
     remark *** Deny all other
     deny   ip any any [log | if you want logging all blocked connections]
    exit
    It's better to use CBAC to make "holes" in ACL above for the traffic that is going outside. So you can use lines:
    ip inspect name IF_Outside icmp router-traffic
    ip inspect name IF_Outside tcp
    ip inspect name IF_Outside udp
    ip inspect name IF_Outside ftp
    And put this all to your outside interface:
    interface FastEthernet0/0
     ip access-group Outer_shield in
     ip inspect IF_Outside out
    exit
    6. Turn off CDP at last at outside interface:
    interface FastEthernet0/0
     no cdp enable
    exit
    7. It's better to turn on aaa authentication. Right now you have made athentication via password at the lines. But you can forget to install it in the future or there can be update at the new IOS (for example at 2901 router I had a situation when with new IOS I got new line (with the name line 2) and this line by default had access by all protocols and from any interface. Only thanks to logging about fail authentications I noticed it). For turning it on use:
    username [username] secret [password]
    aaa new-model
    aaa authentication login default local
    8. Somebody can use aux interface instead of console interface for configuring router. Copy settings from con 0 to aux 0.
    9. Turn off source routing:
    no ip source-route
    10. turn off http and https servers (or at last put ACL for it):
    no ip http server
    no ip http secure-server
    or
    ip http access-class 2
    ip http authentication [aaa or local] (if you configured point 7)
    11. Well, I don't see settings for ssh. So you can use it:
    crypto key generate rsa general-keys label [lable] modulus [size] (btw this command don't shows at "show running-config")
    ip ssh rsa keypair-name [lable]
    ip ssh time-out 30
    ip ssh authentication-retries 2
    ip ssh version 2
    ip ssh logging events
    You can also tune some additional settings like bunner and so. But all what listed above is better to do.

  • Why do the photos in my first InDesign project  look really bad?

    Why do the photos in my first InDesign project look really bad? Noticed as I "placed" them, some PDFs or JPEGs (not photos, but PDFs converted to JPEG) looked pretty distorted. Went ahead with the 60+ page project, converted to PDF, sent to client. He converted to a flipbook to proof and really didn't like the photos. Here's the irony. Upgraded to InDesign for this client. Was using Publisher as a standby until I could afford InDesign. Signed up with the Creative Cloud because job was overwhelming Publisher.
    I started the job without a whole lot of knowledge (or patience for the tutorials) and figured I just wing it (and get InDesign for Dummies). Am thinking somethingw as screwed up in the initial setting up of the job. So how do I figure out if this is the issue and can I fix it without redoing all 60+ pages. If anybody has an answer, please let me know.

    helpmemama wrote:
    Why do the photos in my first InDesign project look really bad? Noticed as I "placed" them, some PDFs or JPEGs (not photos, but PDFs converted to JPEG) looked pretty distorted. Went ahead with the 60+ page project, converted to PDF, sent to client. He converted to a flipbook to proof and really didn't like the photos. Here's the irony. Upgraded to InDesign for this client. Was using Publisher as a standby until I could afford InDesign. Signed up with the Creative Cloud because job was overwhelming Publisher.
    I started the job without a whole lot of knowledge (or patience for the tutorials) and figured I just wing it (and get InDesign for Dummies). Am thinking somethingw as screwed up in the initial setting up of the job. So how do I figure out if this is the issue and can I fix it without redoing all 60+ pages. If anybody has an answer, please let me know.
    Ok, first image on your indesign page or any other program for that matter are still images, they are no longer pdf's, jpg's, psd's, etc. Once they load into a program, the file format is no longer relevant until you save again. Onl;y on your drive is the format relavent.
    Second, if you can help it, never use jpg's until you are completely done and will be sharing a jpg. Jpg's are a lossy format are are not the best for preserving quality on your drive. Each time you open a jpg, and save a jpg more data is lost, as that is how that format compresses the data, by throwing it way for ever.
    Third, the problem may not even be with you, it could happen when that person created a flipbook. That is an unknown varible, one which could make you look bad when it had nothing to do with you.
    Fourth, Pay attention to the pixel dimentions of your images, the higher those values are the better the quality. Scaling can and probably will reduce that quality. If you can, it is better to hide parts of the image by cropping with a frame than it is to scale the image. you can scale, but pay attention to it.
    I will stop there for now, as some of what I wrote is based on assumtions. That normally does not work out too well.

  • My first flash project

    Hello, a few weeks ago I have launched my first flash project: logotypemaker.com
    Please let me know what I need to improve in second version.
    Thanks.

    Rob, thanks for your input.
    You're right, I hadn't checked it in various browsers, and that seems to reveal some issues...
    After checking the file in different browsers, just as you say, it works just fine for me in Chrome, but in Safari, (my default browser), that's where I see the heart patient inconsistency, and in Firefox, the flashes seem stable, but I hear no audio.
    Sigh.  This confirms what I suspected when it comes to entering the world of HTML5 development...  it looks like we're all facing a new gigantic set of headaches in trying to get our work to perform as expected across the myriad browsers. 
    I guess we've been pretty spoiled with Flash up to now, exporting once and feeling confident that it will work consistently in most browsers.  I would have thought HTML5 would be a little further down the road by now to being more consistent from browser to browser, but it looks like it's got a long way to go if an animation this simple has this much trouble performing.  : /
    Is there an approach to this I may be overlooking?  If anyone has more experience in this Flash to HTML5 conversion, I'd love to hear your thoughts on the matter.

  • I launched my first Flex project.

    So I launched my first Flex project yesterday. I wanted to
    say thank you to everyone who has helped me on these forums. Here
    it is if you would like to check it out
    http://www.kranichs.com/mothers-rings
    please tell me what you think.
    Thanks!

    Very cool indeed.
    I added it to my ChikaraDev directory of rich internet
    applications:
    ChikaraDev
    Directory of Rich Internet Applications
    It could use a progress bar though. The screen where it will
    appear is blank till it loads. But very nice use of Flex!

Maybe you are looking for

  • Aparture won't start anymore?

    Since yesterday I've got following errors coming up by starting Aparture. Therefore I'm unable to get it started. What do I have to do now? Can I rescue my Libary? Or even fix the problem. Here is the Error Code showing up all time: Process: Aperture

  • How to know the logged in username in BLS?

    Hi MIIers i know i can use this session variable( ) in HTML to get the logged in user name. But how to get the logged in user name in BLS? Is it the same way ? ( I might be duplicate  post but we have to bare with it..search results didn't get me pro

  • Can't download ANY files from web

    I have a mc ibook g4 with os 10.4.11. I have 2 accounts on the computer, one for myself and one for my wife. When I try to download a file from lets say download.com using my account, the file fails to download. When I change to my wife's account it

  • Sending image to my big screen TV with Winows running on my MacBook

    Greetings from RJ - Brazil! I'm a newcomer to the MacBook and I'm having trouble sending my desktop image to my big screen TV when running Windows (Bootcamp partition). With MacOSX there is no problem at all, just connecting the DVI -HDMI cable and s

  • Macbook starts up with quicktime running...won't close.

    My macbook is booting up with quicktime and safari running and won't allow me to open any applications or allow me to shut down. I have to re-boot several times before it finally cooperates. It goes into this mode whenever I try to open a video file