Persistence Layer return convention issue and question - null vs. exception

I'm writing a position paper on persistence layer query returns. It deals with querying for a single object or a collection of objects and what to do if the object or collection of objects are not found in the database. I've googled many different search terms and have not come up with any authoritative references for this scenario. Do any of you know of any sources that have discussed this before?
My current logic is that when searching for a single object in a persistence layer that the persistence layer should return a simple null if the object isn't found. If searching for a collection of objects then the PL should return an empty collection object.
1.
/** Returns a list of objects that match the non-null fields in the provided example object.
This will return an empty Collection if no matching objects are found */
public Collection retrieveByExample(MyBO example);2. /** Returns a business object.  This will return a null if no matching object is found */
public MyBusObject retrieveById(int aMyBusObjectId);These two methods would not return a "checked or unchecked" exception if the object(s) are not found. I think that they are the simplest to implement and do not break the convention of not using exceptions in non exceptional situations. I don't feel that it is the persistence layer's responsibility to make a business decision on an object's existence being an exception. There are many times where applications search for an object to see if it exists or not and then proceed to create the object or use the object if it exists or doesn't. These two methods also don't force using application layers to catch or throw any declared exceptions.
Notes on scenario 1: program control flow is simple by using an iterator and hasNext(), if the collection is empty then any code that needs the objects can be skipped.
Notes on scenario 2: program control flow is simple in this case with a " != null or == null check. If the method returned an uninitialized object instead of null then the calling application would have to have additional business logic to tell whether the object was truly uninitialized or not. I can see the method having a UnexpectedMultipleBusinessObjectsFoundException if more than 1 object is found since the method is looking by primary key, but would this ever happen if searching by primary key. However in a similiar method that searches on non primary key then the UMBOFE would be warrented. Any thoughts?
Others have brought up some additional scenarios.
3. /** Returns one and only one business object from persistence with a matching primary id. 
If one and only one match is not found, null is returned if isLenient is true, otherwise an exception is thrown. */
public MyBusObject retrieveById(int aMyBusObjectId, boolean isLenient) throws BusinessObjectNotFoundException;I feel this option is bad in that it forces the calling or using application layer to still declare the BusinessObjectNotFoundException. It adds bulk and unneeded complexity to the the code.
While looking at it I can see that since a caller is searching for exactly 1 object then if the query finds more than one object then a UnexpectedMultipleBusinessObjectsFoundException could be thrown. But I don't believe an NotFoundException is warranted. What are your thoughts?
Message was edited by:
smalltalk

Hibernate (for example) actually does both.
public Object get(Class clazz, Serializable id) throws HibernateException - "Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance. (If the instance, or a proxy for the instance, is already associated with the session, return that instance or proxy.)"
public Object load(Class theClass, Serializable id) throws HibernateException: "Return the persistent instance of the given entity class with the given identifier, assuming that the instance exists.You should not use this method to determine if an instance exists (use get() instead). Use this only to retrieve an instance that you assume exists, where non-existence would be an actual error."
Certainly get is the more commonly used of these methods.
If you are returning something like an array I believe it is always preferable to return a zero length array rather than null to save the extra client code.

Similar Messages

  • Toshiba Satellite a505-6005 hard drive issue and questions regarding options I may have

    Issue: start up computer and windows does not start. It eventually goes to a startup repair screen and eventually says "resolving disk errors...", and that's if it even gets to that screen. Unfortunately I never made a recovery disk or system image discs (I know that was not smart). I did however kept my files backed up so that was good.
    Steps I took: Took it to Best Buy and the tech advised me that the Black Tie 2 year protection had expired on Jan 30th 2012, and so it could not be repaired for free. I asked the tech there how much it would cost to fix and they had advised me that it was most likely a hard drive issue and that it would cost nearly $400 to replace/fix it. So I decided to buy a new Asus K53E-BBR14 laptop since it was not much more. When I got home and loaded everything up and got the computer to how I want, I went ahead and made a recovery disc and system image disc's. I tried using the recovery disc that I had made with my Asus in the Toshiba laptop and boot it from the dvd drive and it did not get anywhere. So I ASSUME that it really is a hard drive error because the RAM worked just fine in my new laptop and "repairing disk errors.." means something is wrong with the hard drive:
    Now that you know the background of what has happened my questions are as followed:
    1. Can I buy a new hard drive for the Toshiba and use the recovery and system image disc's i created on the new hard drive that i install in the toshiba? and just removed the bloatware from Asus (or does that not even get added to the disc's I created)?
    2. If so, will it prompt me to enter the Windows 7 product key? and therefore using the product key located on the bottom of the toshiba?
    3. What other steps could I take to make this toshiba laptop salvageable? This way i can turn around and sell it.
    Thanks,
    Russell States

    Also,
    I noticed that i can purchase (well pay the shipping anyways) recovery media from Toshiba. Can I use that on a new hard drive installed in the toshiba?
    BTW ran the Windows Memory Diagnostics Tool and no problems were found with the memory. and i do not care about the old hard drive as I have MY files backed up. I just want to try to get this toshiba laptop back to being "like new".
    Thanks,
    Russell

  • OWB 10gR2 map returning status = Complete and Result = Null in Process Flow

    Hi,
    I have an OWB process flow which invokes an OWB map. There are 2 outgoing transitions attached to the OWB map. 1st transition is a conditinal one (on SUCCESS) and the 2nd one is unconditional transition.
    I am monitoring the status of process flow execution in Oracle Workflow monitor. After the process flow is initiated, sometimes the OWB map within shows status = complete and result = OK in workflow monitor (in tab - status). But sometimes it shows status = Complete and Result = Null. In this situation the execution is following the unconditional transition path.
    Can anyone tell me what causes the OWB map to return a Result = NULL? Also sometimes I am getting the map returning a Result = Force (with the same status = Complete).
    The configuration that I am working with is as below ---
    OWB client version : 10.2.0.1.31
    OWB repository version : 10.2.0.1.0
    Oracle Workflow Version : 2.6.4.0.0
    Database version : 10g Enterprise edition release 10.2.0.1.0
    Regards,
    Swagata

    Hi Manohar,
    1. You need to install Oracle HTTP server in a separate Oracle home.
    2.Look for the dads.conf file in the installation. Edit the file, copy the sample code and paste it below and edit the pasted part as under ----
    <Location /pls/<SID>>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseConnectString <server name>:<port>:<SID >
    PlsqlAuthenticationMode Basic
    PlsqlDefaultPage wfa_html.home
    PlsqlNLSLanguage "AMERICAN_AMERICA.WE8ISO8859P1"
    </Location>
    3. STOP and START OPMN (Oracle Process Manager & Notification Server)
    4. Use the URL in your internet browser like --- <HTTP server URL>/pls/<SID>/wfa_html.home
    5. When prompted for user id and password, give the schema user id and password where the workflow engine is installed.
    Hope this helps,
    Swagata

  • OWB 10gR2 Process Flow returning status = Complete and Result = Null

    Hi,
    I have a process flows i ran lot of times with success (it shows status = complete and result = OK). It invokes a lot of mappings and other flows
    Sometimes one of invoked mapping or flows shows status = complete and result = Null and main process too.
    The main process i invoked by a PLSQL store procedure using wb_rt_api_exec package. When status = Null the store procedure hangs and I have to kill it.
    When it happens, owb service restart (new record in WB_RT_SERVICE_JOB_LOGS).
    Can anyone help me?
    The configuration that I am working with is as below ---
    OWB client version : 10.2.0.1.31
    OWB repository version : 10.2.0.1.31
    Oracle Workflow Version : 2.6.4.0.0
    Database version : 10g Enterprise edition release 10.2.0.3.0

    Sometimes transitions in process flows get scrambled and you have to fix them by hand.....this happens and I dont know why.
    Basically what happens is: every operator in process flow has three outgoing transitions (in general) marked as 0, 1 and 2, when you take a look at details property of your operator then in the outgoing transitions tab you should have ORDER collumn 0, 1, 2 for warning, error and success.
    If this is not the case (0,1,2) process will not know what to return as value, and what is more bizzare this works until it does not :)
    I dont know if this is your case but it's worth checking.

  • OS 10.3.1 Update - issues and question on how to uninstall / rollback

    Hi.
    Up front, I'm trying to remain calm, professional, objective. Pretty sure I've missed the mark, but, then, read on...
    I'm having some issues with OS 10.3.1 update. Before anyone says search the boards, I have. For hours. On various websites. I'd appreciate (but am not hopeful for) an official response from BlackBerry.
    1. I am using a Z30. Carrier is Rogers Wireless (Canada) Updates are set to off. Yet, unbelievably, the update came down anyway, when I was driving, didn't know until I got home. Device rebooted and now 10.3.1xxxx is on my smartphone.
    ISSUES:
    1. The screen blacks out. EVERY TIME I wake it, the display is zoomed in. I have to gesture and gesture and gesture to get the display to fit the screen so I can unlock the phone.
    2. The home screen is not customisable, and is the default. Now I have to swipe to get to either the hub or my applications. Twice the work = 1/2 the productivity.
    3. The much-vaunted Assistant does what, exactly? All I know is when I did voice dialing via Bluetooth earpiece, the call would (75% of the time) be made. The other 25% of the time, I have to tell it "Call Mom Home" is not the same as "search battery charge". Yeah, my bluetooth is a very expensive, highly-rated one that has no issues in recognition with any other device. Now, the Voice part (Assistant?) doesn't make ANY calls. At best, it offers me suggestions, usually not related (Linda <> Tom) and wastes my time reading out multiple PHONE NUMBERS. Good grief, If I knew the darn phone number, I'd just tell it, Call (phone number). It'd be faster than sitting through all that. Otherwise, Voice Assistant whatever doesn't do much of anything for me. I have it set, as far as I can tell, to do the minimum, not interact with everything on my phone.
    4. Although the new Camera app now (finally!) renders colours more-or-less correctly, whereas before everything was tinted blue, I'm not a fan of the new positioning of the controls. Putting the video button beside the "Take picture" button is ridiculous. The touch sensitivity is so off, that I find myself recording video rather than taking a wanted picture --- and the moment is lost. I really miss being able to tap the screen to take a picture. Now I have to aim for a small dot at the bottom. If I wanted an iPhone, I would have bought an iPhone!
    5. More on the Camera front, it's now difficult to get to photos. As in, I touch the icon to bring up the list of photos, and the latest shot never appears. I have to swipe to find it. And in a different direction now.
    6. In the Hub, especially, the "select multiple" used to be right in the middle of the menu. Now I have to scroll down to find and activate it.
    7. What's with the honking battery drain? More tinkering required on my part to get it back to the 4-day standby I used to enjoy?
    MISSED FEATURES UPDATES:
    1. I was really hoping this latest update with display the NUMBER of the phone entry. Such as Work 1, Work 2, etc. I find it useful to assign direct number always as Work 1, then toll free as Work 2, Main reception as Work 3, Home as Work 4, and so on. Then it's easy to use (or used to be) voice dialling to call the number I want without knowing what the number actually is. I was also hoping the update would eliminate that so offensive message "next time, just say call xxxxx Mobile 2" or whatever. Which I darn well would, if there was anything in the contacts to display the sequence of numbers.
    2. Calendar. Seriously, why can't I set a reminder for somewhere between 3 and 7 days???? I'm so tired of setting one for (7-3) days, doing the calculation in my head to bypass weekends or other events) then having to update the reminder when I get to the BlackBerry-approved 3 day range. Other smart phones allow any custom setting. Allow me to also ask, put the custom reminder FIRST. Don't make us scroll all the way to the bottom to find it!
    3. Allow me to put my most-used icons on the fricking HOME SCREEN! I don't care about the cutesy pictures. I care about getting my job done as quickly and conveniently as possible.
    4. Fix the darn voice control mechanism. I bought expensive Bluetooth pieces. All I want to do is do voice dialling. That's it.
    5. Give me some control over the spell check. There's no way to edit the words that are "learnt" through monitoring usage.
    6. Enough with the US-marketing. Mountain Time is Mountain Time. Not US-Mountain Time. I'm not picking something like that, I don't care who that offends. It's as dumb as as settting time zones (as Apple used to) to "Calgary, Alberta." I don't live in Calgary. I do live in the GENERIC Mountain time Zone.
    7. Speaking of, I also speak English. Not US-English with US-spelling. How about giving Canada some love
    8. Give me the option to rollback the update. Or at least choose which parts I want.
    9. Expand support for file formats. At this point, I can only load documents onto my smartphone if they're Adobe or Microsoft Office. Here's the thing - I operate in the Corel WordPerfect universe. So the Z30 is limited in what I can / can't do with it. Why on earth can't I just copy my FILES to my phone? Even if I can't edit them, I can use the whopping 64 GB memory chip as a flash drive to take my files with me when I travel. I don't always take a computer ...sometimes I use what's at destination. Plus having them on the phone SHOULD allow me to email them or send in other ways...whether or nor BlackBerry can read them.
    ===================
    REQUEST FOR ASSISTANCE:
    Better - release an immediate UPDATE to fix these problems and add the features I've noted above. Surely I'm not the only one struggling with the built-in limitations of the interface and info-displays.
    Please tell me how I can rollback / uninstall / whatever this "update".
    I shudder to think the only solution is to backup, restore, then reload the Z30. Others have tried and have not been successful.
    MORE VENTING;
    The only reason I'm still on BlackBerry is that the issues and to an extent a difference in perspective regarding phone layout / features are still less problematic on BB Z30 than they are on ios or android platforms. Absolutely in my opinion. But then, I'm the one with a frustration level well into the redline.
    Thanks for reading. I'll be even more grateful for some resolution.
    Cinereo

    Also:
    #2) You can turn off the blank home screen by going to Settings >Display and turning off "Show Wallpaper When All Apps Are Closed."
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Problems installing windows on a clean Mac Pro internal drive - issues and questions

    Hey,
    I have a Mac Pro mid 2010 with the following drive configurations:
    3x120GB SSD in a RAID-0 as Boot (OS X 10.8.6) and SSD Scratch (working files)
    3x4TB HDD in a RAID-0 as Master (data) and HDD Scratch (downloads)
    1x100GB SSD (Spare...to install windows on)
    I have literally tried every possible way of installing Windows 8 on that single SSD...both using bootcamp and without.
    I can get it installed and working, install all the drivers/updates/software...involving multiple reboots into windows. Everything seems fine, and i shut down and boot into OS X, which works perfectly as expected. BUT, when i try and boot into Windows again (using <option> key at startupand selecting the windows volume, called "EFI Boot" which i did not name) I can log in and start using apps and then 20-40 seconds later i get the BSOD.
    I can't for the life of me figure out why.
    It's the easiest thing in the world to partition a single OSX drive to boot windows ON THE SAME DRIVE, but i can't seem to boot stably into a standaloe internal drive.
    NOTE: I prepare the Windows drive by formatting the entire thing to "Free Space" using disk utility in Mac OS X, and can see that there are no partitions (EFI or otherwise) on the drive. Then I pull all the other drives except the target drive, reboot with a Windows 8 USB drive (created by BootCamp Assistant on my macbook air, because apparently some genius thought that task was too complicated for a Mac Pro...jks) and install from there.  The funny part is that i can pick out the target drive in the windows setup, it's registering as 1 disk/partition of UNALLOCATED SPACE, as expected, but there is a warming that windows cannot be installed on this drive because my computer does not support booting to this disk, and that i should check that it's controller is enabled in the BIOS.....which to the best of my knowledge is not used by intel-macs, which use UEFI. But i can still click "Next", so I do and install Windows and boot to this drive, restarting and installing software updates and drivers as mentioned above.
    The BSOD seems to pop up only after i've rebooted to Mac OS X and then try to go BACK to Windows 8.
    The version of windows 8 and install USB were checked using my macbook air, and they work flawlessly. ASLO that warning about not being able to boot to the drive during windows setup isn't present.
    I'm wondering if the fact the the RAID volumes are a software RAID, using Disk Utility in OSX is causing windows some issues...which makes no sense.
    I'll keep playing, but I'm not confident I'm ever going to find a solution.
    Somebody be my hero...

    Hey Hatter,
    Another question for you:
    I can't seem to use system preferences>>startup disk to boot into windows. When I select windows and then restart i get a black "BIOS-like" screen which then cuts out and a message is displayed that says "there is no bootable disc"
    This stumped me, because I know i can boot into windows from the boot screen (holding down option and selecting "EFI Boot" which apparently is what my windows drive is called.
    because of my Mac OSX Raid arrays, i had to install windows by formatting a drive to HFS+ (GUID) pratition table, then repartition to "Free Space" then using an install usb that i made with my macbook air, pull all my other drives and install by selecting the usb drive to boot from.
    I went into disk utility to see if I can repair the disk, and disk utility says that the disk has to EFI partition and that we won;t be able to boot from it....which is very confusing because i can boot from it.
    Windows 8 apparentl;y uses UEFI from my research....so i'm utterly stumped.
    I beleive this is also the cause of my newly purchased graphics card Mac Edition HD 7950, throwing me a BSOD when i select to boot in windows from the boot menu...
    Any advice would be greatly appreciated.

  • 8.3.1 SVM DR - issues and questions

    Hi everybody, I know that the SVM DR feature is just our with 8.3.1 RC1 but we need to test it in advance because one of our customer we're transitioning to cDOT from a consolidate and 10 years of 7Mode history! A very smart customer deeply customizing solutions, a pioneer in WFA and SnapCreator features and so on! We've tested the SVM DR feature and it roughly do what is declared on doc. But... We’re still experiencing a lot of issues related to porting what they have now to what they exptect to have... As reported it seems that it does the work that someone could expect as…basic way. But at this customer the world is a little bit more complicated (does it is the only one using that DR way with 7Mode? I don’t think so!) We need to understand how to proceed to set up this DR. Or we (better NetApp!) must officially communicate to customers that they can wast their –perfectly working for test and troubles- DR approach for it’s not possible in cDOT! Let me resume the issue.This customer, since years, doesn’t use the vFiler DR direct approach but, at the snapmirrored destination flexclone volumes are created and on this run vfiler with –d option that start from the root volume of the vfiler. I.e. (the ✓ stands for running, the X  for stopped/offlined/mirrored)    ✓                   ✓             X                                                               ✓                                                         ✓     Production        ----sm--->          DR         ---flexclone--->                DR_clone            –vfilercreate  -->              vfiler in dr This permit to have a point in time instance with all the initial configurations (share/exports/MSAD domain join, users, security ecc).This also let have the choice to choose the snapshot used as starting point and, overall, this let to maintain the source-destination replicas active and updated. All of those is automated using WFA, so it’s enough a click and everything go! We’ve seen that SVM DR more ore less work as vfiler dr worked.   ✓                   ✓             XProduction        ----sm--->          DR       < break of mirror relationship – a MUST >          X                             X                    ✓Production        ----sm--->          DR We’ve also seen with some trick and maintaining the production and test network separated in different IP spaces (and ports, switches, vlan…) that we can have both running the source and the destination, but we must also break the sm relationship!          ✓                           X                    ✓Production        ----sm--->          DR These releationships unfortunately are essential prerequisites for this customer. Let me say vols (in SVMs) must continue to replicate for the DR test SVM could be up also for 10 and more days! And customer cannot permit the risk to loose its replicated/updated copies…  The questions are: is there something like vfiler create –d? (documentation does not report anything else than “normal” usage)Something that let us create an SVM with all configurations inside but starting from cloned vols  at destination snapmirrored site? We’re really in trouble for customer is starting to suspect that this cDot could be a boomerang and, except for VSAN and VVOL support for VMware 6, the things they’ve loosed are more than the one they’ve gained! Any help will be appreciated!   

    We have been part of the beta program for SVM-DR for a while and are now still testing it in RC1. We are huge vfiler-dr shop. If you have any need to flexclone off the DR, then svm-dr will NOT work for you since you cannot flexclone off an SVM-DR.  We aren't even considering SVM-DR because identity discard/preserve methods just don't fit the bill.  

  • Msi gt70 with some issues and questions answer asap thanks

    my first issue is my ssd it is just too small how do I increase it probably a step by step link to where I can purchase and learn how to install it second of all I really need my msi burn recovery so my f3 does not work anymore, I have my drivers cd but that doesn't have it, the next issue is softwares I use when the render the use my ssd and that makes them seriously slow the need more memory space I wish I could make them use the bigger harddrive at least for the main time till I get a new one, my soft keys work except eject and wireless off all others work

    Wow.....
    Well, first off, try and use some periods here and there. Or a list. Something to atleast break things up in a coherent manner.
    So, you want a guide on how to install another SSD. That's a pretty complex matter, judging by what I can get out of your post, your technical prowess may not be where it needs to be in order to do that.
    Also, without knowing what you currently have, other than it is a GT70, it really makes it difficult to tell you what to get.
    As far as your software, I'm sorry, but there really isn't any way to help you since you seem to have not made the recovery disks like you were supposed to. I would contact MSI for more information on how to proceed at this point.
    After we get the above sorted, we can work on your other questions.

  • Remote panel - issues and questions

    So, what the title says.  I'm having issues with Remote Panels.
    First, the default example in LV 2014 does not appear to be working.  The client always returns "vi not loaded in server computer" type error.  Yet, I found an example from LabVIEW 7 (attached) that appears to be working fine. The differences are very minor.  Any suggestions?
    Second, if anyone has links to good reading / documentation / examples, etc on remote panels any and all would be much appreciated.  End goal is to have medium-large sized application that will be run remotely in a LabVIEW environment (not web).
    Thanks!
    Attachments:
    RemotePanelMethods-Server.vi ‏31 KB

    Not that I can think of, unless... Perhaps you could get a reference to the dialog box that is running on the server and force it to close in some way. A better solution as a whole might be to not using blocking dialog boxes. Can a VI tell if it's being remoted into?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • A Few Issues and Questions I Have (GRUB, pacman, XBMC)

    Hi everyone. (Skip to the third paragraph for where my questions start, I got a little carried away in the first two, sorry!)
    I installed Arch Linux for the first time around a week ago. I am now on my third install. The first time I  reinstalled because I was experimenting too much with window managers, xfce4 and other desktop environments. I tried to tweak too much and couldn't boot into a graphical environment. I know I could of removed everything using pacman and re-installing the programs I liked but I wanted to start a fresh completely, had no real other reason really. All went well and my system was up and running again with GNOME (previously my go to desktop environment). However now and again my laptop wouldn't boot GRUB. It would just stop after my BIOS screen with the Acer logo.
    Eventually I started tinkering with window managers and installing just the bare minimum. I really liked what I ended with and so wanted to reinstall again. This time because I was going for the bare minimum approach, had a lot of installed bloat, wanted to move to btrfs and wanted to learn a lot more about how the system works. Previously I had followed a guide and taken very little in, if I was going to be working without a desktop environment I knew I would need to be in the command line a lot and so this time I had my longest install yet, as I read everything slowly and tried to learn what I was doing. Evidently this was my only problem free install. This time I still have my GRUB problem however.
    So for my first install GRUB worked fine, however on my second and third it randomly doesn't load (Picture included at the end). After having to power off by holding the power button and restarting it will then load fine. It's unresponsive to just pressing the power button and waiting or CTRL+ALT+Delete. This can happen on a reboot or when turning on after a period of down time. AFAIK I installed GRUB the same way both times. I have tried reinstalling GRUB and the problem remains.
    My second question is in regards to my many installs. Is there any easy way to see programmes I have installed so I can remove what I don't need? I have tried pacman -Qe but I still get a lot of programmes that I haven't installed, I assume they are in the base, or base-devel group, so is there anyway I can not have these showing in my list of installed packages? I don't believe an --ignoregroup option exists when running a query with pacman like it does when installing and updating.
    Lastly XBMC doesn't recognise my second screen, a projector, after I have enabled it with xrandr. Now I have found a workaround by looking on google, with wmctrl and have embedded the command in my open-box menu. This makes my XBMC believe it is windowed however instead of being true full screen. I was wondering whether anybody knows of an explicit solution instead of working around the problem.
    Heres the link to the picture for GRUB, this is all I get after the BIOS: http://imgur.com/a/uhVgp
    Please ignore the second picture, I thought my system wasn't updating but turns out the application I thought wasn't updating was in fact in Community-Testing, not Community, oops.
    I'm sorry if these solutions can be found elsewhere, I really have tried looking around but don't believe I'm finding what I need. Maybe I'm searching for the wrong terms, I'm not too sure.
    Thank you for any help.
    EDIT: Minor edit, but wow I've been running Arch now for 2 weeks, not 1, time flies sometimes eh?
    EDIT2: FINALLY got Arch to listen to my line-in, my Wii-U audio goes through my external sound card and I have never got it to work under Linux. Been trying for over a year for this to work, had to use Windows to listen to line in. That's one less reason to keep Windows. I love Arch, guess it's time for some Smash Bros and Monster Hunter 3U tonight!
    Last edited by BradPJ (2013-06-05 15:34:28)

    With regard to 'pacman -Qe' output: http://allanmcrae.com/2011/07/secondary … th-pacman/ or you can exclude some packages from that listing by using grep.
    Sidenote: JFC, Allan, what have you done with your blog template??

  • Nokia Lumia 900 Issues and Questions

    I bought my Nokia Lumia 900 last March and it's running pretty well. It's fast and reliable, although I have some issues regarding it.
    1. When I'm in a conversation and I receive multiple text messages, I need to press the back button as many times as the number of messages I have received so I can go back to the menu. Not a big problem at all, but it can be quite annoying once you've already received a lot of messages and you try to go back to the messages screen.
    2. I don't have the compass. When I try to download apps, it says my phone is missing some features that the app requires, which happens to be the compass. The phone's specification (on the Nokia website) says that the phone has a magnetometer, GSMArena and Wikipedia both say that the Lumia 900 has a compass.
    3. It doesn't have Xbox Live. It's also included in the specifications that the Lumia 900 has Xbox Live, but when I go to Games, I only get Collection.
    Issue number 1 isn't that much of a problem, but issues 2 and 3 are very disappointing. I tried searching for ways to fix these and I found an article saying that a reset will fix the compass and Xbox Live issue. I did that, and when I opened it, I saw Xbox Live on my Start Screen but when I activated my Wi-Fi, it changed to Games and still no Xbox Live there. The compass problem isn't fixed either. To those who experienced the same issues, can you please tell me how you fixed it? Thanks in advance.
    Also, about the 7.8 update, I've been waiting for it for some time now and it's now available on my unit. Is it safe to install? I'm worried that if it fails it might make my phone useless. How long does it usually take?

    Hi Ronio9riku,
    Welcome to Nokia Support Discussions!
    1. Once you received multiple text messages, can you not open one message and then press the Start button to go back to the live tiles and select Messaging again to go to the next message?
    2. The phone supports compass (magnetometer). Have you tried to use the On-Device Diagnostic Tools to calibrate the Magnetomer? You can open the dialer and then input ##634#. Select Magnetometer and then calibrate the phone. Make sure that the location of the phone is On under Settings!
    3. The phone supports Xbox Live which you can access on the phone by selecting Games on the start screen or by going to the App List. However, Xbox Live is not available to all countries/regions. You can visit the link for the countries/regions supported: www.xbox.com/LIVE/countries.
    It's safe and recommended to update the phone whenever there is a software update offered. This improves the perfomance of the phone so why not connect your phone to your computer, open the Zune and install the update?
    For more information, see this link: http://www.windowsphone.com/en-us/how-to/wp7/update-central
    If you're asking how long the update takes, it is usually 30 minutes to 1 hour.

  • IMovie video issues and question

    I am working with the latest version of iMovie and I'm having issues with my screen freezing and keep having to force quit my computer in order to get
    everything back to a normal state.
    I will be making a movie in imovie 10.
    Everything appears fine for about 20 min.....
    Then it freezes and then..... well.... see image below
    I think it may have something to do with where iMovie (previous version) was set up to use an external harddrive to save and work with files...?
    How do I change this in the new version?
    I want to try and reproduce this issue where everything is on the internal harddrive.
    My machine is
    20-inch, Early 2008
    Memory  4 GB 800 MHz DDR2 SDRAM
    Graphics  ATI Radeon HD 2400 XT 128 MB
    Software  OS X 10.9

    mmmmm.
    Well I opened imovie and watched the errors and such flow on console....
    It is all jiberish to me......
    Did a google search on a few and well.....more over my head talk...
    "CoreAnimation: warning, deleted thread with uncommitted CATransaction"
    "Cannot find function pointer NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in CFBundle/CFPlugIn"
    "Error loading /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:  dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHD Audio, 262): no suitable image found.  Did find:
              /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAu dio: no matching architecture in universal wrapper"

  • Some issues and questions about StorE TV

    Hi there! I bought stor.e tv a week ago and there are number of issues, in order of personal importance:
    1. It slows down audio playback. It happens when playing standard mp.3s on my home stereo through the analogue outlet - my music sounds bizarre, slowed-down and with lowered frequency. I have to go back change, settings to HDMI output (normal speed play, no problem), then change again to analog, scroll through the folders to find the song I want to play and play it again - voila, it works normally. Quite a complex way to play a song properly, don't you think?!
    2. When there are ID tags (especially album art) to the songs it takes ages to shift from one song to the next.
    3. Audio settings are often forgotten after the unit has been shut down normally from the remote control only - you switch it on again and it's not how I left it but back to HDMI. So, I have to remember any time checking the settings before playing a song?! Even though, in a crooked way, that^s helpful having in mind problem 1.
    4. Does not display correctly Cyrillic subtitles.
    5. Heats quite a lot.
    There are other things too (no playlists, slow, lagging, etc). I am actually writing that just before going back to the shop and ask for my money back.
    Cheers, guys!

    Hi
    > 4. Does not display correctly Cyrillic subtitles.
    Yes, this was mentioned in other threads seems that not all subtitles are supported.
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=51945
    Regarding the other issues;
    I think you should try to reset the E Store TV to default again and should check how it works.
    In many cases this helps to solve such annoying issues.
    Greets

  • Recent Migration Assistant issue and question

    Just purchased a MacBook Pro and DID NOT utilize the MIGRATION ASSISTANT at startup and initial set-up. Wish I would have. I did not have FIREWIRE with me to accomplish.
    Anyhow - went ahead and initialized start-up and registration ect.
    Just did a complete MIGRATION from my older eMac that is updated with OSX Leopard via FIREWIRE tonight - two days later. Had to rename my USER FOLDER to be different as the name I have established on the new MBP.
    It MIGRATED the entire HD off the eMAC as expected quickly and easily I might add.
    I assumed it merged the new APPLICATIONS such as SAFARI - iTUNES ect... and simply updated them on the MBP Hard drive.
    Not the case - it seems that I have two different versions of each application file - new and old - and for example iTunes using old LOG IN file transferred my iTunes Library - but when I LOG OFF and log back on using the new USER NAME - my iTunes does not show my old Music Library ect...
    Same thing with SAFARI - the old application has all the previous bookmarks ect...but not the newer version.
    I even have two different DESKTOP BACKGROUNDS with my two different USER Files folder ID's. The DOCKS are different with both USER files also - different shortcut icons showing up in each.
    WEIRD?!?
    I have my PALM PILOT application that transferred as well and I had previously installed the software this morning so now I have two different PALM applications.
    QUESTION: - What or How do I merge these two into one single DESKTOP or am I forced to toggle back and forth by logging on and off under two different user names ect.?
    What about iTunes and Safari - is there anyway to merge them into one functioning application instead of two. Any way to DISCARD or TRASH one and still leave the other intact?
    Do I actually have two program applications now installed on the HD? I looked in the Application on HD and only one Safari, iTunes, Palm Pilot ect...show up there.
    Need help!
    Chris Kaiser

    Not weird at all. You migrated a PPC system to an Intel system. A perfect situation for disaster. You have but one viable option.
    Boot from the OS X Installer Disc One that came with your MBP. Do an Erase and Install which will wipe the disk clean and reinstall the proper version of OS X for the computer.
    When this is completed reinstall all your third-party software from scratch. If you have PPC only versions then upgrade them to Intel versions if you can. All third-party contextual menu items, preference panes, startup items, internet plug-ins, and the like must be replaced with universal binaries as the PPC versions will not work and may crash OS X.
    You can reinstall pre-bundled software from the Install Pre-bundled Software installer located on the OS X Installer Disc One.
    A Basic Guide for Migrating to Intel-Macs
    If you are migrating a PowerPC system (G3, G4, or G5) to an Intel-Mac be careful what you migrate. Keep in mind that some items that may get transferred will not work on Intel machines and may end up causing your computer's operating system to malfunction.
    Rosetta supports "software that runs on the PowerPC G3 or G4 processor that are built for Mac OS X". This excludes the items that are not universal binaries or simply will not work in Rosetta:
    Classic Environment, and subsequently any Mac OS 9 or earlier applications
    Screensavers written for the PowerPC
    System Preference add-ons
    All Unsanity Haxies
    Browser and other plug-ins
    Contextual Menu Items
    Applications which specifically require the PowerPC G5
    Kernel extensions
    Java applications with JNI (PowerPC) libraries
    See also What Can Be Translated by Rosetta.
    In addition to the above you could also have problems with migrated cache files and/or cache files containing code that is incompatible.
    If you migrate a user folder that contains any of these items, you may find that your Intel-Mac is malfunctioning. It would be wise to take care when migrating your systems from a PowerPC platform to an Intel-Mac platform to assure that you do not migrate these incompatible items.
    If you have problems with applications not working, then completely uninstall said application and reinstall it from scratch. Take great care with Java applications and Java-based Peer-to-Peer applications. Many Java apps will not work on Intel-Macs as they are currently compiled. As of this time Limewire, Cabos, and Acquisition are available as universal binaries. Do not install browser plug-ins such as Flash or Shockwave from downloaded installers unless they are universal binaries. The version of OS X installed on your Intel-Mac comes with special compatible versions of Flash and Shockwave plug-ins for use with your browser.
    The same problem will exist for any hardware drivers such as mouse software unless the drivers have been compiled as universal binaries. For third-party mice the current choices are USB Overdrive or SteerMouse. Contact the developer or manufacturer of your third-party mouse software to find out when a universal binary version will be available.
    Also be careful with some backup utilities and third-party disk repair utilities. Disk Warrior 4.1, TechTool Pro 4.6.1, SuperDuper 2.5, and Drive Genius 2.0.2 work properly on Intel-Macs with Leopard. The same caution may apply to the many "maintenance" utilities that have not yet been converted to universal binaries. Leopard Cache Cleaner, Onyx, TinkerTool System, and Cocktail are now compatible with Leopard.
    Before migrating or installing software on your Intel-Mac check MacFixit's Rosetta Compatibility Index.
    Additional links that will be helpful to new Intel-Mac users:
    Intel In Macs
    Apple Guide to Universal Applications
    MacInTouch List of Compatible Universal Binaries
    MacInTouch List of Rosetta Compatible Applications
    MacUpdate List of Intel-Compatible Software
    Transferring data with Setup Assistant - Migration Assistant FAQ
    Because Migration Assistant isn't the ideal way to migrate from PowerPC to Intel Macs, using Target Disk Mode or copying the critical contents to CD and DVD or an external hard drive will work better when moving from PowerPC to Intel Macs.
    Basically the instructions you should follow are:
    1. Backup your data first. This is vitally important in case you make a mistake or there's some other problem.
    2. Connect a Firewire cable between your old Mac and your new Intel Mac.
    3. Startup your old Mac in Target Disk Mode.
    4. Startup your new Mac for the first time, go through the setup and registration screens, but do NOT migrate data over. Get to your desktop on the new Mac without migrating any new data over.
    4. Copy the following items from your old Mac to the new Mac:
    In your /Home/ folder: Documents, Movies, Music, Pictures, and Sites folders.
    In your /Home/Library/ folder:
    /Home/Library/Application Support/AddressBook (copy the whole folder)
    /Home/Library/Application Support/iCal (copy the whole folder)
    Also in /Home/Library/Application Support (copy whatever else you need including folders for any third-party applications)
    /Home/Library/Keychains (copy the whole folder)
    /Home/Library/Mail (copy the whole folder)
    /Home/Library/Preferences/ (copy the whole folder)
    /Home /Library/iTunes (copy the whole folder)
    /Home /Library/Safari (copy the whole folder)
    If you want cookies:
    /Home/Library/Cookies/Cookies.plist
    /Home/Library/Application Support/WebFoundation/HTTPCookies.plist
    For Entourage users:
    Entourage is in /Home/Documents/Microsoft User Data
    Also in /Home/Library/Preferences/Microsoft
    Credit goes to another forum user for this information.
    If you need to transfer data for other applications please ask the vendor or ask in the Discussions where specific applications store their data.
    5. Once you have transferred what you need restart the new Mac and test to make sure the contents are there for each of the applications.
    Written by Kappy with additional contributions from a brody.
    Revised 3/12/2008
    In the future you should post questions about the MBP in the MacBook Pro forum. This is the Mac Pro forum.
    Message was edited by: Kappy

  • WRT54G Overnight Issue and Question about warranty

    Well I haven't been around here since I first got my router and it wouldnt work...which was only 4 months ago. 
    I have a WRT54G that I use for my pc and Xbox Live and over the past 4 months it has been working fine, not great but good enough to make me happy.  I was playing xbox live yesterday up until 10 pm, then I went to bed. I woke up today at 6am and went to check my email...my internet connection is gone so I look at my router and NO LIGHTs are on. I unplug it and plug it back in and nothing, try it a few more times and it powers up but won't acknowledge my ethernet card and ALL the lights on it are on, no matter what I plug into which port.
    So I'll probably have to return it as it seems dead? How long are the warranties on these products? I bought it at Best Buy, can I just bring it straight back to them?
    thanks

    Anyone know if there's a no return policy on electronics at Best Buy? I'm going there tommorrow anyways but just wondering if anyone knows in advance so I can prepare myself for battle

Maybe you are looking for

  • Invoice List Output

    Hello Friends, I am having issue with Invoice list output, when I  print my invoice it prints the shipping  quantity of material only as only ONE even when there is a multiple quantity, I want my invoice list output to print exact amount of quantity.

  • How to color different elements in the JComboBox

    Hi, I have a combo box with say 10 items.I want to colour different items inside the combo box with differrent color.How to do this.? thnx & regards Neel

  • How to get rid of right click menu?

    I like to mouse over a hyperlink in a web page and select "open in a new tab". The right click menu jumps in the way. I don't like or use the right click menu. How do I stop it from stopping me? As a side note, the reason I like "open in a new tab" i

  • When I open iPhoto it tells me there are recovered photos

    When I open iPhoto it tells me there are recovered photos & do I want to save them.When I click no it saves them anyway as Recovered Photos in Albums.When I open these files they are blank.This is very annoying as I have to go to Albums & delete thes

  • Problem with ReportQuery

    I am trying to write a report query and am getting curious sql generated. I was hoping for a little help. Here is the java:           Date month = new GregorianCalendar(2003, 6, 1).getTime();           ExpressionBuilder fac = new ExpressionBuilder();