(New to C# here) What is the best way to return false in a function if it cannot be executed successfully?
In Javascript or PHP you can have a function that could return, for example, a string in case of success and false in case of failure.
I've noticed (in the few days I've been learning C#) that you need to define a type of value that the function will return, so you need to return that type of value but in case of failure you can't return false.
What is the best way to achieve this behavior and is there an example I can see?
Thank you in advance,
Juan
Juan, be aware that returning null won't work with value types, such as an int, which can't be null. You'd have to use a nullable value type. A nullable int would be declared with a "?", such as:
int? someOtherFunction(int param)
if(something goes great)
return param * 42;
return null;
And you have to use it like this:
int? result = someOtherFunction(666);
if (result != null) // you can also use result.HasValue
// it worked, do something with the result
// if you're doing math with the result, no problem
int x = result * 2;
// but if you're assigning it to another an int, you need to use this syntax
int y = result.Value;
Before nullable value types came along, for a method that returned an int, I'd use a value of something that wouldn't normally be returned by that method to indicate failure, such as a -1.
~~Bonnie DeWitt [C# MVP]
That's something very very important to keep in mind. Can save you from a lot of headaches!
So if you have an int function and it might return NULL, if you are doing Math with the return value you can use it directly, but if you're assigning it to another variable you have to use .Value?
Thanks
Similar Messages
-
Got new macbook pro. What is the best way to transfer my itunes from my old pc to my new mac? I want to be able to plug my iphones and ipad in to new mac and have redo anything
See Here... This should transfer everything...
Move iTunes Library from PC to MAC
http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html -
I have a PPC iMac 10.4.11 and will shortly buy a new i Mac. What is the best way to transfer all my HD date from old to new? Thank you!
Migrating from PPC Macs to Intel Macs:
https://discussions.apple.com/docs/DOC-2295
How to use Migration Assistant:
http://support.apple.com/kb/HT4413?viewlocale=en_US
http://support.apple.com/kb/TS1963
Troubleshooting Firewire target disk mode:
http://support.apple.com/kb/HT1661 -
What is the best way of returning group-by sql results in Toplink?
I have many-to-many relationship between Employee and Project; so,
a Employee can have many Projects, and a Project can be owned by many Employees.
I have three tables in the database:
Employee(id int, name varchar(32)),
Project(id int, name varchar(32)), and
Employee_Project(employee_id int, project_id int), which is the join-table between Employee and Project.
Now, I want to find out for each employee, how many projects does the employee has.
The sql query that achieves what I want would look like this:
select e.id, count(*) as numProjects
from employee e, employee_project ep
where e.id = ep.employee_id
group by e.id
Just for information, currently I am using a named ReadAllQuery and I write my own sql in
the Workbench rather than using the ExpressionBuilder.
Now, my two questions are :
1. Since there is a "group by e.id" on the query, only e.id can appear in the select clause.
This prevent me from returning the full Employee pojo using ReadAllQuery.
I can change the query to a nested query like this
select e.eid, e.name, emp.cnt as numProjects
from employee e,
(select e_inner.id, count(*) as cnt
from employee e_inner, employee_project ep_inner
where e_inner.id = ep_inner.employee_id
group by e_inner.id) emp
where e.id = emp.id
but, I don't like the complication of having extra join because of the nested query. Is there a
better way of doing something like this?
2. The second question is what is the best way of returning the count(*) or the numProjects.
What I did right now is that I have a ReadAllQuery that returns a List<Employee>; then for
each returned Employee pojo, I call a method getNumProjects() to get the count(*) information.
I had an extra column "numProjects" in the Employee table and in the Employee descriptor, and
I set this attribute to be "ReadOnly" on the Workbench; (the value for this dummy "numProjects"
column in the database is always 0). So far this works ok. However, since the numProjects is
transient, I need to set the query to refreshIdentityMapResult() or otherwise the Employee object
in the cache could contain stale numProjects information. What I worry is that refreshIdentityMapResult()
will cause the query to always hit the database and beat the purpose of having a cache. Also, if
there are multiple concurrent queries to the database, I worry that there will be a race condition
of updating this transient "numProjects" attribute. What are the better way of returning this kind
of transient information such as count(*)? Can I have the query to return something like a tuple
containing the Employee pojo and an int for the count(*), rather than just a Employee pojo with the
transient int inside the pojo? Please advise.
I greatly appreciate any help.
Thanks,
FransNo I don't want to modify the set of attributes after TopLink returns it to me. But I don't
quite understand why this matters?
I understand that I can use ReportQuery to return all the Employee's attributes plus the int count(*)
and then I can iterate through the list of ReportQueryResult to construct the Employee pojo myself.
I was hesitant of doing this because I think there will be a performance cost of not being able to
use lazy fetching. For example, in the case of large result sets and the client only needs a few of them,
if we use the above aproach, we need to iterate through all of them and wastefully create all the Employee
pojos. On the other hand, if we let Toplink directly return a list of Employee pojo, then we can tell
Toplink to use ScrollableCursor and to fetch only the first several rows. Please advise.
Thanks. -
Apple has tended in my expereince to provide intuitive software that users can grow to use and admire. Why then does Lion go off at a tangent and become unintuitive and just plain hard work to work out? I run a business and this has caused a lot of time consuming effort particularly when working out how to save files (in certain programs). Like so many products (iPhone being one), there is no guide to the great things that can be done and I just don't have the time to go fishing around online looking for tips and tricks when I've got clients who need things quickly.
Where is the best place to learn about Mac things?Take a look here: http://www.apple.com/macosx/whats-new/
-
Report from EtreCheck here:
EtreCheck version: 1.9.11 (43) - report generated May 29, 2014 at 9:53:52 AM PDT
Hardware Information:
MacBook Pro (13-inch, Late 2011)
MacBook Pro - model: MacBookPro8,1
1 2.8 GHz Intel Core i7 CPU: 2 cores
4 GB RAM
Video Information:
Intel HD Graphics 3000 - VRAM: 384 MB
System Software:
OS X 10.9.3 (13D65) - Uptime: 1 day 17:46:44
Disk Information:
TOSHIBA MK7559GSXF disk0 : (750.16 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) / [Startup]: 749.3 GB (477.03 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-8A8
USB Information:
Apple Computer, Inc. IR Receiver
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. iPad
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Gatekeeper:
Mac App Store and identified developers
Kernel Extensions:
[not loaded] com.novatelwireless.driver.3G (3.0.2) Support
[not loaded] com.novatelwireless.driver.3GData (3.0.2) Support
[not loaded] com.novatelwireless.driver.DisableAutoInstall (2.0.6) Support
[not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) Support
[not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) Support
[not loaded] com.sierrawireless.driver.SierraSupport (1.4.11) Support
[not loaded] com.sierrawireless.driver.SierraSwitch (1.2.2) Support
[not loaded] com.sierrawireless.driver.SierraSwitchKicker (1.0.0) Support
[kext loaded] com.silex.driver.sxuptp (1.5.1) Support
[not loaded] com.smithmicro.driver.SMSIWirelessCDC (3.2.6) Support
[not loaded] com.smithmicro.driver.SMSIWirelessModem (3.2.6) Support
[not loaded] com.smithmicro.driver.SMSIWirelessSerial (3.2.6) Support
Startup Items:
PKard: Path: /Library/StartupItems/PKard
ProTec6b: Path: /Library/StartupItems/ProTec6b
Problem System Launch Daemons:
[failed] com.apple.AOSNotificationOSX.plist
[failed] com.apple.installd.plist
[failed] com.apple.softwareupdated.plist
[failed] com.apple.wdhelper.plist
[running] com.seagate.TBDecorator.plist Support
Problem System Launch Agents:
[loaded] com.paragon.NTFS.auth.plist Support
Launch Daemons:
[loaded] com.adobe.fpsaud.plist Support
[running] com.distortedvista.istatmenusprocessserver.plist Support
[loaded] com.google.keystone.daemon.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[running] com.prey.agent.plist Support
[running] com.wdc.SmartwareDriveService.plist Support
[running] com.wdc.WDSmartWareService.plist Support
[running] Nalpeirond6b.plist Support
Launch Agents:
[running] com.Affinegy.InstaLANa.plist Support
[loaded] com.google.keystone.agent.plist Support
[running] com.gopro.stereomodestatus.plist Support
[loaded] com.hp.messagecenter.launcher.plist Support
[running] com.seagate.SeagateStorageGauge.plist Support
[running] com.thursby.pkard.tokendagent.plist Support
User Launch Agents:
[loaded] com.adobe.ARM.[...].plist Support
[loaded] com.adobe.ARM.[...].plist Support
[running] com.google.Chrome.framework.plist Support
[running] com.spotify.webhelper.plist Support
User Login Items:
Quıcĸsıɩⅴεʀ
AirPort Base Station Agent
Dropbox
WDDriveUtilityHelper
WDSecurityHelper
RescueTime
Dashlane
WDDriveUtilityHelper
Fantastical
Box Sync
WDQuickView
Internet Plug-ins:
PMCADownloader: Version: 1.2.1998.896 - SDK 10.5 Support
o1dbrowserplugin: Version: 5.4.1.18709 Support
OVSHelper: Version: 1.0 Support
Default Browser: Version: 537 - SDK 10.9
Flip4Mac WMV Plugin: Version: 2.3.8.1 Support
OfficeLiveBrowserPlugin: Version: 12.3.4 Support
AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 Support
FlashPlayer-10.6: Version: 13.0.0.214 - SDK 10.6 Support
DivXBrowserPlugin: Version: 2.1 Support
Silverlight: Version: 5.1.30317.0 - SDK 10.6 Support
Flash Player: Version: 13.0.0.214 - SDK 10.6 Support
iPhotoPhotocast: Version: 7.0
googletalkbrowserplugin: Version: 5.4.1.18709 Support
QuickTime Plugin: Version: 7.7.3
AdobePDFViewer: Version: 11.0.07 - SDK 10.6 Support
SharePointBrowserPlugin: Version: 14.4.1 - SDK 10.6 Support
Safari Extensions:
B4G_Safari: Version: 1.0
Evernote Web Clipper: Version: 6.1
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
User Internet Plug-ins:
Move-Media-Player: Version: npmnqmp 071101000050 Support
Dashlane: Version: Dashlane 1.0.0 - SDK 10.7 Support
Unity Player: Version: UnityPlayer version 1.6.2 Support
Unity Web Player: Version: UnityPlayer version 2.0.2f2 Support
WebEx64: Version: 1.0 - SDK 10.6 Support
RealPlayer Plugin: Version: Unknown
3rd Party Preference Panes:
Cineform Support
DivX Support
EarthDesk Support
Flash Player Support
Flip4Mac WMV Support
Growl Support
iStat menus Support
Paragon NTFS for Mac ® OS X Support
SANE Support
Time Machine:
Skip System Files: NO
Mobile backups: ON
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 697.84 GB Disk used: 253.57 GB
Destinations:
Reed Backup [Local] (Last used)
Total size: 2
Total number of backups: 14
Oldest backup: 2014-04-30 03:12:47 +0000
Last backup: 2014-05-28 23:48:29 +0000
Size of backup disk: Adequate
Backup size 2 > (Disk used 253.57 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
4% Activity Monitor
3% WindowServer
1% Box Sync Monitor
1% Dropbox
1% sysmond
Top Processes by Memory:
418 MB iTunes
147 MB Google Chrome
70 MB Spotify
45 MB WindowServer
41 MB Dashlane
Virtual Memory Information:
26 MB Free RAM
953 MB Active RAM
932 MB Inactive RAM
1.10 GB Wired RAM
27.07 GB Page-ins
587 MB Page-outsYou have a boatload of things that you can get rid of!
Kernel Extensions:
[not loaded] com.novatelwireless.driver.3G (3.0.2) Support
[not loaded] com.novatelwireless.driver.3GData (3.0.2) Support
[not loaded] com.novatelwireless.driver.DisableAutoInstall (2.0.6) Support
[not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) Support
[not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) Support
[not loaded] com.sierrawireless.driver.SierraSupport (1.4.11) Support
[not loaded] com.sierrawireless.driver.SierraSwitch (1.2.2) Support
[not loaded] com.sierrawireless.driver.SierraSwitchKicker (1.0.0) Support
[kext loaded] com.silex.driver.sxuptp (1.5.1) Support
[not loaded] com.smithmicro.driver.SMSIWirelessCDC (3.2.6) Support
[not loaded] com.smithmicro.driver.SMSIWirelessModem (3.2.6) Support
[not loaded] com.smithmicro.driver.SMSIWirelessSerial (3.2.6) Support
Startup Items:
PKard: Path: /Library/StartupItems/PKard
ProTec6b: Path: /Library/StartupItems/ProTec6b
Problem System Launch Daemons:
[running] com.seagate.TBDecorator.plist Support
Problem System Launch Agents:
[loaded] com.paragon.NTFS.auth.plist Support
Launch Daemons:
[loaded] com.google.keystone.daemon.plist Support
[running] com.prey.agent.plist Support
[running] com.wdc.SmartwareDriveService.plist Support
[running] com.wdc.WDSmartWareService.plist Support
[running] Nalpeirond6b.plist Support
Launch Agents:
[running] com.Affinegy.InstaLANa.plist Support
[loaded] com.google.keystone.agent.plist Support
[running] com.gopro.stereomodestatus.plist Support
[loaded] com.hp.messagecenter.launcher.plist Support
[running] com.seagate.SeagateStorageGauge.plist Support
[running] com.thursby.pkard.tokendagent.plist Support
You may need the "gopro" agent if you've a "GoPro" camera, and you may need the "sierrawireless" and "novatelwireless" if you use a Sierra Wireless device of some sort and if you actually need the novatel drivers, but I think that you can safely get rid of the Seagate drivers (unless you need them for some sort of NAS???) and the other stuff.
Give a call back and tell us what you actually have and actually need. Most of it just looks like junk!
Clinton
EDIT: And you definitely need to uninstall ANY SmithMicro software!!!
Message was edited by: clintonfrombirmingham -
What's the best way to handle new versions of software?
So we have an Application setup for Adobe Reader (just using Reader as a general example) which is part of our Task Sequence. When Adobe releases a new version of Reader, what's the best way to handle getting the new version into our SCCM setup.
I know I can create a new application and do it all over and select the new file, but can I simply replace the files that the application is pointing to and then somehow tell it to update the DPs with the new files? I'd rather not have to create new
applications every time if I don't have to.
Thanks.I think continue the way you are doing right now by creating a new application each time there is a version change. Its a clean way to do and this helps with Application life cycle mgmt aswell where you keep track of versions across the environments and
eventually retire an application. Specially where no changes are made without a change control. This is completely process specific and may not be applicable.
i do agree with above posted comments about using supercedence option.
However most of the apps comes with upgrade capabilities from previous versions. So you can upgrade existing version with new one if you do not wish to use supercedence.
Thanks -
our granddaughter has a ipod. She's getting a iphone and a mini idpad. what is the best way to set them up. Does she need a new apple id and password or would she use the same one she has for her ipod
Just use the same one on all devices.
-
What is the best way for my wife to sync her Outlook contacts to her new iPad Air?
What is the best way for my wife to sync her Outlook contacts to her new iPad Air? I don't know very much about Microsoft (almost nothing). Does she need to plug into one of the USB ports on her Microsoft computer (about 5 years old)? I also have an iMac (that I use for syncing but she needs her contacts from Outlook. She doesn't really want all of them...there are 1,000's of teachers that work in her district and she does no tent to add 1,000's of contacts.
If she only has a few she can e-mail those contacts to herself, open that mail on her iPad and save them from there.
-
What is the best way to unlock my phone 3gs so my wife can use it with her network. I have purchased a new phone on the AT&T network. I know there are alot of software companies that will sell to me but I have no idea which one I should use. Can anyone help?
To unlock an iPhone yoiu must go to the carrier and requesrt that they unlock it.
Allan -
I am new to macbook pro, what is the best tutorial video to watch
I am new to Macbook Pro, what is the best tutorial video to watch?
There are a lot of videos to watch if you are new to Mac. Apple has got a lot of tutorials and videos in their website > http://www.apple.com/support/macbasics They will help you use OS X.
Also, you can ask here. We will be glad to answer all your doubts about OS X and your MacBook Pro. Finally, welcome to the Mac -
What's the best way to set up new imac for logic etc?
In brief:
Getting new imac (27", 3.4 i7, 8-16GB ram, 1TB HD). Will be using it mainly to run Logic Studio (loads of plugins) and Final Cut Express. I also have 2 external Hard drives one 500G one 1TB.
The last imac I bought was my first and just went ahead and threw everything at it not really knowing where things should go. This time I want to set things up correctly.
Basically, with what I've got, what is the best way to set things up. I.e where do I put logic files, samples, BFD2, Amplitube etc. Where do I put videos for use in FCE. Storing projects and backups for use with Time Machine.
Also noticed the new imac will only have 1 firewire port. I will need to plug in the Hard drives (daisy chained), camera and RME Fireface 800. Was thinking of getting a Thunderbolt Hard drive but they are expensive and hard to find.
Would really appreciate any help before I get the new machine and start messing things up again.
Thanks.Adding to babowa, enable the system firewall in System Preferences>Security>Firewall tab. Click Advanced and check Stealth Mode.
Lion is a pretty steady and secure operating system, and as there really aren't MANY Mac viruses, there ARE viruses out there still. OS X is pretty good about letting you know if you do accidently download a virus, and it will help you throw it away if it detects one, such as the MACDefender virus. OS X has built in security features such as sandboxing that doesn't allow viruses in as easily as a Windows PC. As for hackers, as long as you have the firewall enabled and a secure password (for your computer and email accounts), then you should be fine.
It's the user that lets the virus in, not the computer (unless there's some untold serious vulnerability in OS X, which is highly unlikely). Keep your apps up to date, don't download pirated software, and be street smart on the internet. Don't download things or visit websites that you don't think are real. Safari includes a Phishing feature that automatically detects known phishing sites, protecting you from that big problem. Keep your passwords secure and you should be fine.
There are antivirus solutions out there, one notable one available in the AppStore is Intego's VirusBarrier (free and plus versions), if you feel you still need one.
I wouldn't worry about it. Windows users who switch to Mac are always asking these questions.
Here's some good reading as well
http://www.apple.com/macosx/what-is/security.html
Enjoy OS X Lion -
What is the best way to transfer my iphoto library from current imac to my new imac. Both imacs have iphoto 9.2.1
os on old imac is 10.6.8. os on new imac is 10.7.2. I want the albums and events to stay intact. I have 4500 photos and 79 videos. 14.9 gb. looking for some advice here. Thanks so much.Connect the two Macs together (network, firewire target mode, etc) and drag the iPhoto library intact as a single entity from the old Mac to the pictures folder of the new Mac - launch iPhoto on the new mac and it will open the library and convert it as needed and you will be ready move forward.
LN -
What is the best way to set up my new Mac Pro?
Not wanting to screw up in a process I've not done with a brand new machine before, I'm looking for feedback on my plan for setting my new Mac Pro next week...
The physical plan is this:
For RAM, I have four 2GB SDRAM's plus the supplied six 1GB modules. My plan here is to install the 2GB rams into the first four slots and install four of the 1GB modules into the remaining four slots for a total of 12GB's.
When the cost for 4GB modules gets down to reasonable, I'll buy four of them and bump the current rams down the line which will then give me a total of 24 gigs where I'll stay.
For my hard drives, I'm installing a 160GB Intel X25-M into the first drive bay
http://www.intel.com/design/flash/nand/mainstream/index.htm
using one of MaxUpgrades' 'MaxConnects' kits. I will use this drive for the operating system software and my applications and their libraries.
Next, into the remaining three drive bays, I am installing three 300GB WD Velociraptors. Mine are the pre-'backplane ready' versions:
http://www.wdc.com/en/products/products.asp?DriveID=459
so I have bought these sleds for them...
http://www.maxupgrades.com/istore/index.cfm?fuseaction=product.display&product_i d=180
I own one of Sonnet's Tempo SATA E4P cards
http://www.sonnettech.com/product/temposatae4p.html
which, thanks to this forum, I now understand, with the correct firmware installed, function well so I will install it and be able to establish hardware RAID. I will create a RAID 0 set with the three Velociraptors and use it to store all of my data files.
Backup will happen on a 1TB WD 'Caviar Black' external drive connected through one of the Sonnet card's external eSATA ports and using the OS 'Time Machine' software.
And that's the physical plan. My question is about setting things up. The physical installation part is straight forward and I don't expect any difficulties but I'm wondering what is the best way to install the operating system.
Do I take a first step keeping the supplied hard drive installed, install the solid state drive into the next drive bay and then transfer the contents from the supplied drive onto the SSD or do I do the complete physical installation process and do a 'C' drive start up and install the OS that way?
And, do you have any tips/suggestions on setting up the RAID 0 set?
thanks for the help. I want to do this right.
JQoh mighty Hatter, I knew you'd have helpful guidance to offer! And thank you. You've confirmed my anxieties about the Sonnet card; kind of a 'too much, too quickly' sort of thing. And it's not that Sonnet's not a good company. Just everything to do with new technologies and the growth curve we all, manufacturers and users, go through when they come out. And, for sure, the new Mac Pro's are new technology; the single biggest forward leap in Apple's top-of-the-line machines for some time far as I can tell. Just reading at Intel's website about the Nehalem's is a joy!
So, I will proceed now with everything except for the controller card, leaving that 'til later. In the meantime, I think I'll just happily run with the four hard drives all running independently. No software RAID. I know just those, the SSD boot drive plus Velociraptor trio's going inside of a 2.66ghz 8-core Nehalem Mac Pro is going to be a working pleasure. Heck, this way, I'll get settled in and used to the machine's speed, have a great time doing so and then, in however many months, I can jump into spending another chunk of money on an excellent RAID card, RAID card's dear Barefeats will have tested and reviewed for us, set up my RAID 0 set and head of to those new races watching my computer leap for joy! Could be that, by then, the cost of Intel 160GB X25-M's will have dropped enough that I can afford to go for a second and have a two SSD RAID 0 boot drive... Yummy!
Thanks for the help. Like I say, I knew there was useful guidance hanging on some limb within your personal kit, (otherwise referred to as your mind)!
Interesting to read about the problems people have had with Sonnet's 2.17 update in PPC's... In this computer, my PowerMac G5 dual 2.7ghz, I have a Sonnet 'Tempo Sata X4P' controller card. I downloaded and installed 2.17 and got the same troubles; no cut, no paste, no 'drag and drop' etc. It was miserable.
Mine, fortunately, magically corrected after running the 'permissions verify and correct' process in Disc Utility and, after a restart, all was back to almost normal but for one exception; the Sonnet card was no longer present or functioning including the four eSATA ports out the back. (I ran Tech Tools Pro 5's repair suites first but, and who knows why, it didn't correct the problem...) This one was absolutely in the 'who knows what the f_'s going on and why it disappeared but did' class.
Oh, the other remnant is that, when the computer goes into sleep, after about five minutes, the fans rev up, and up, and the computer's frozen; only access is to do a forced shutdown pressing and holding the power button, so I've had to adopt a 'shut down whenever leaving it for more than fifteen minutes' approach to this dear friend. Once I've fully moved into and established my new one (which should arrive today, by the way... Yippeee!!! Can't wait!), I'll do a complete restoration on this one including taking out the Sonnet card. Usually, I sell my old Pro's but, this time, I'm going to keep this one as a back up and just general second computer for times I might need it. It has been such a great and dependable machine. Keeping it seems the right thing to do.
thanks Hatter. I'll let you know how things go, including what happens with the SSD. I don't have speed test software so I won't be able to track it's performance like that guy in the post you gave me did...
JQ
ps- Gotta love that ILLogic fellow eh? Talk about not getting the essence! -
I have an iMac purchased new about 5 years ago with OS 10.4.11. I would like to upgrade to Lion. I currently have a 2.33 GHz Intel Core 2 Duo processor with 2 GB of ram. Can I upgrade to Lion, and what is the best way to do so?
From what I read here:
http://www.tuaw.com/2011/06/06/lion-...u-2-gb-of-ram/
s long as they already have Snow Leopard 10.6.8 installed in it.All a person needs to do with that type of iMac is to upgrade/max out their Ram. They claim that an Interl iMac with Core 2 Duo is all that is needed, as long as it has OS 10.6.8 installed. They say you don`t need the "Core i3, Core i5, Core i7, or Xeon processor"
But I wonder about the RAM speed, the iMac 2.33Ghz uses DDR2 SDRAM, which I believe is rated at 667Mhz. Lion maybe installed but it might be problems running smoothly or not?
Did some quick checking and the iMacs apple is selling this year use 1333MHz DDR3 SDRAM.
The only thing to do is to make sure you have a good back-up, Install your RAM and install Snow Leo, then wait a couple of hours and install Lion.
Good Luck
Maybe you are looking for
-
How to create logical columns for current period and prior period
Hello all. Is there any way in obiee to create a new logica column in BMM layer that says "CURRENT PERIOD" AND "PRIOR PERIOD" OR ONE SINGLE COLUMN THAT SAYS "PERIOD". In those columns what I need is if it a current period column it shoould have 03/01
-
Hi All, I have given below the jca connection factory details. I am creating dynamic ftp using jca.jndi and I would also like to overwrite the IncludeFiles property dynamically. At runtime i will choose what type of files that i need to list(xml, txt
-
Pay laod in not comming to SXMB_MONI
Hi Experts, I created on scenario file to proxy. it was working fine Dev Environment. i have trasported into Quality system. I congigured ID objects prolerly. Here i am using file is sender adapter. this file adapter has to pick the Xml file and pro
-
Dear Gurus, Pl tell me how to get the BED, Ed.Cess and S.H.Ed.Cess as default values while creating the J1IS (differential excise invoice). At present we are entering the excise values manually while creating the J1IS (differential excise invoice), p
-
Why does Flash install Google Toolbar?
Why does Flash install Google Toolbar? Honestly, do you have ANY idea how annoying that behaviour is? I had no option at all to not download it, I could not stop downloading it. I was taking from a "you need to install flash" button on Facebook to th