Quick Question RE Memory
I have a 12" powerbook G4 with a 1.25 Gigs of RAM. I am going to buy a 15 inch macbook pro soon and was wondering if I can use the 1 Gig chip in my G4 in the MacBook Pro thus saving the upgrade cost for memory.
Thanks in advance...
wired= memory contains information that can not migrate on HDD
active=RAM in use
inactive=Memory not in use, but available for applications who need it.
free=Memory not in use
VM=hd size reserved at VM
synthetic answer..
Similar Messages
-
Quick question re: memory on iStat pro widget...
just want to know the meaning of the diffferent type of memory usage as displayed on the widget;
wired, active, inactive, free
cheerswired= memory contains information that can not migrate on HDD
active=RAM in use
inactive=Memory not in use, but available for applications who need it.
free=Memory not in use
VM=hd size reserved at VM
synthetic answer.. -
Hi all,
A quick question that i'm sure is very simple but is slightly confusing me. I've just started trying to learn Objective-C and am a little confused by ( ) and [ ].
I get that you use the [ ] brackets when you want something specific from an object, i.e.
[ textField textColor ]
and that you use ( ) brackets for things like:
if ( x == y) {
But I get confused when I see things like:
NSLog(@"some text here");
Why does that get ( ) brackets and why is it not [ ].
Also another point of confusion, creating methods... Why are some methods done like:
- (void)awakeFromNib
And others done like (with the additional "*" added):
- (NSString *)stringvalue
As I said, I'm sure this is very simple and obvious, but it is confusing me slightly.
Thanks in advance!Adam:
As you already know, square brackets are used to send a message to an object, so if a object like myObject implements the method -doSomething, you can call it with:
\[myObject doSomething\];
The other use square for brackets have is to index C-style arrays, such as:
aValue = anArray\[10\]; // Get the 10-element of an array
However, because C-style arrays are rarely used in Cocoa applications (use NSArray instead) you will not see this situation often.
Parenthesis in expressions are used to group and prioritize, such as:
x = 10 * (3 + 5); // x = 80
If () statements use it to delimit the test expression. Same with while (). for () uses it to enclose the limits and increment statements, etc.
The other important use of parenthesis is in calling a C function:
result = foo(3);
means that you are calling the function named foo with the argument 3, and storing the the return value in the variable 'result'. This is different from a message because a C function is not a method of an object. They exist independently of any objects. NSLog() is a function defined within Cocoa but it is not a method. So, you call it with the traditional C function call syntax. Cocoa defines other functions like NSStringFromRect(), which takes an NSRect as argument and returns a pointer to an NSString.
And that leads me to your last question. Some methods return simple types, like int, float, or void (i.e. returns no value). These methods will have prototypes like:
\- \(void\)returnNothing;
\- (int)returnInteger;
Other methods return pointers to types, like:
\- (int \*)returnPointerToInteger;
\- (void \*)returnPointerToAnything; // In obj-C one typically uses id instead of void*
Returning whole objects from methods has problems and it is better to just return a pointer (the address in memory) instead:
\- (NSString *)makeAString;
The method above returns a pointer to an NSString rather than the entire object.
Good luck with your learning,
Juan-Pablo
Message was edited by: Juan Pablo Claude -
Hi
I have a quick question re datasource login.
I havent touched my Crystal Reports for about a year. Since I created the reports (which users have been using through Crystal Reports server) I have changed my PC.
I need to make a change in the formulas of the reports so I have reinstalled Crystal Reports 11 onto my PC and opened the reports. The forumula change is simple but I am having a nightmare with the data source login. The report runs against an SQL database. From memory all I did the last time was create an ODBC connection on my PC (which used the the SQL login sa account) and configured the reports to use that ODBC connection. When I open the report it asks me for the data source location which I tell it to use the one I created and the report runs fine.
If I close Crystal Reports and and then re-open, I press F5 to run the report and it gain asks me for the data source credentials.
Any ideas, I'm sure it is something simple I am missing?
ThanksGuys
Thanks for your help
Ive managed to fix it but not really sure how although I'm sure a few of the things you have mentioned is what I have done.
I basically restored the reports from last nights backup (before I did the changes), re-did the changes and saved and now it seems to work. I think the difference here is that I had created the odbc connection prior to changing the reports - if that makes sense?
What I would like to do is fully understand how this data source connection works.
Don, when I open the report now and hit f5 the report presents me with the parameters and not the database login screen as it was doing before - how is this? What credentials is it using? The SQL sa account (which I configured the ODBC connection to use) or is it my domain account of which I assume permissions for this account must be set on the actual SQL database?
As you and Jeff suggested when I look at the datasource connection screen it shows "trusted Connection: 1" - what does this mean and how is this configured, have I configured this in Crystal somewhere?
Thanks
Andy -
Fixed and 2 quick questions (bios thread)
Hi Everyone, i need your help again...
[....]. since i installed Win2k3 on my system i was getting stability problems, especially lockups to black screen in games. On Win2k3 i was using the exact same drivers as I am going to list soon, and so I thought I'd install Windows XP again on a spare hard drive to see if this helped. I wish i'd never messed with my system my previous XP install was almost 100% stable, but that's another story.
Today I perfomed these steps in this order:
1)Downloaded SP1a
2)formatted new hard drive
3)Booted from CD, did a Windows XP Pro install
4)Started XP Pro, installed SP1a
5)Installed Nforce system drivers and Display Drivers 29.42 (these were very good to me before...) and restarted
6)Installed Speedtouch USB ADSL Drivers 2.0.1.2 and went online
6.5)Enabled Hardware Acceleration on Displayt Properties
6.7) Installed direct x 9.0a web setup.
7)Did full windows update: all the critical stuff, most of the recommended (except MEssanger, Media Player and a couple others) and the CPU driver (left my Gfx and Sound on the above)
8) After a restart started a game
It lasted all of 10 seconds once I started playing.
Ok, maybe 5 seconds. Smae as Win2k3!!! I was running bios default performance options, with APIC off... so I ran Prime 95 for a while, got no errors .... about to try a memtest86 but I'm pretty cetrain the memory is good never had trouble with it before at all and I've tested it before too.
Can someone help me out? Here's my hardware config
[size=11]
AMD XP 1900+ (no overclock any more)
MSI K7N420D MB
2*512MB DDR266 Samsung 'Transcend' Memory (unbranded really) (16 chip DIMMs)
Geforce 2 MX400 32MB SDRAM (unbranded - runs a little faster then onboard graphics)
Adaptec 29160LP Scsi Card
IBM 16000rpm 32GB SCSI Disk (UW-2)
2*WD1000BB 100GB Western Digital IDE Drives (the normal ones with 2mb cache) in Software Raid - 0 on Promise card
18GB Maxtor ATA66 IDE hd on Nforce, with CDR.
a Promise Ultra TX100 Dual IDE Controller card (for CD Rom + expansion)
Enermax 431w PSU / 7200rpm fan on heavy HS.
Windows XP SP1 / DX 9.0a (going to reformat to Win2003)
[/SIZE]
I could really do with anyone's working driver config for a windows XP sp1a system, and how to build it from the bottom up. If a given driver config that works 100% for others fails for me I can start hardware troubleshooting and cursing loudly, otherwise with any luck it'll fix my problem.... please help me out i know there are people out there still running NForce 1 boards!
Quick question that could help: what sound driver revision from windows update should i be using? I can get the archived ones....
Thanks,
Naveen.
PS If i manage to fix it i'll update here, but i need a hand plz.... also, I have the same errors running the same game from Win2k3 on a SCSI drive through the PCI bus (adaptec 29160) on the 2.7 bios. It looks like there is still an issue with fast PCI bus read/writes, sound usage and AGP card usage causing crashes. Discounting the OS change and APIC, I have these scenarios:
1) Game running off IDE drive on Nforce IDE ports: fine
2) Running of IDE drives on promise controller card: fails, locks.
3) Running off scsi drive on Adaptec 29160 card: fails, game locks.
So we may still have an issue with PCI read/writes and stability on bios 2.7 and Nforce system drivers 2.03 ... which is big news really.
I hope one of the moderators can put MSI in the picture and get them or NVidia to look into this. I can try eliminating APIC and the OS/Drivers from the issue, and install the game on all 3 drive configurations to confirm the above if necessary, but it's what it looks like from here. Using Performance bios defaults with no overclock, underclocking didnt help.
Perhaps bios 2.4 will fix this in which case the bios still needs work, 2 years on.
Naveen -
Quick question from future mac user
Hi there.
Just a quick question about the Intel iMacs.
Total noob with Macs so please forgive me, I'm looking to get away from Windows and PC's but not sure what I would need exactly.
Would the 24":3.06GHz Intel Core 2 Duo iMac with 4GBs of RAM and 1TB hdd be more than enough to handle video/audio editing with Final Cut Pro Studio, some gaming (such as newer MMO games or RPG/FPS games) and maybe running VMware Fusion for running Windows apps and games that I have/use that are either not available or not yet supported by Apple?
Or would I be looking at goin with the Mac Pro?
I'd rather shoot for the iMac because I'm SO tired of PC's and boxes and would like my computer to actually look nice as well as kick butt. But I'm just worried that if I got with the iMac I won't be able to perform those functions well or at all.
I love the look and feel of the iMac although I don't think you can get more than 4GBs of RAM or more than ONE hard drive inside (which isn't a big concern as I can always use external drives) so I'm just wondering if upgrading to the extra ram and hdd space from the get go would be a great help without having to worry about adding more later.
I'd like to be able to just use the iMac than the Mac Pro because the price difference seems to jump up quite a bit between iMac and Mac Pro. I'm just worried if that type of iMac setup wouldn't be enough for what I need.
Any suggestions or information would be greatly appreciated. Thanks.
JaninThe iMac in general is more than enough to perform those tasks well however the Mac Pro still has it's advantages. Lenn already went over those so take a look at these speed scores as they may help you to make your decision.
http://www.marketingtactics.com/Speedmark/
Either way I recommend getting the base RAM configuration from Apple and purchase RAM from OWC.
http://eshop.macsales.com/item/Other%20World%20Computing/6400DDR2S4MP/
http://eshop.macsales.com/MyOWC/Upgrades.cfm?sort=pop&model=284&type=Memory&TI=0 655&shoupgrds=Show+Upgrades
George -
Just a quick question.
Say I have an array A = [1,2,3,4,5]
B = new int[5]
I understand to copy the elements of A into B we could use a for loop.
But can somebody explain to me why you can't just go B = A?
Does this just cause B to point to A?
So how do arrays work exactly? Is it like in C where each element is actually a pointer to the data, or does Java copy the data directly into the array element?Kayaman wrote:
JT26 wrote:
Array A=[1,2,3,4,5] ----> Here A is a reference variable which points to memory locations A[0],A[1],A[2],A[3],A[4] which could not be continueous.Actually no. What you have there is a syntax error. And please don't confuse people by talking about non continuous memory locations. That's simply wrong.And 100% irrelevant for the question at hand.
>
B = new int[5] -----> Here B is another reference variable points to an array which could hold 5 elemets.That is correct, basically.
All the five element holders of B could be physically any where in the memory, thus copying the the elements is done via a for loop.No, Java is smart enough to store arrays sequentially in memory. And the smart way to copy large arrays is System.arrayCopy().Or java.util.Arrays.copyOf. -
Report Generation Toolkit Error Quick Question
Hi,
I created the most awesome LabVIEW report ever at my desk using a trial version of the RGT and Office 2003. I took this to my production machine and ")@#(&%(*#^%()^!!!" The production machine has office 2007 and a fully licensed version of the RGT. Both machines have LabVIEW 8.6.0. I've read all the stuff about these errors and something about classes and dll's and whatnot's. So my quick question, is: Instead of matching the versions of Microsoft Office as recommended, can I just rewrite from scratch the VI that creates this world's most awesome LabVIEW report on the production machine to create the same effect?
Solved!
Go to Solution.Hi
Quick Answer: Probably
Slower answer: Microsoft changed a lot of things behind the scenes in Office 2007, but the Report Generation toolkit version 1.1.3 supports Office 2007 so you should be good to go. Depends on what functions are included in your VI. Liek the read me says "Several default settings in Microsoft Office 2007 differ slightly from previous versions. Reports you generate using Office 2007 might look different than reports you generate from other versions of Office because font sizes, cell sizes, and so on, differ."
Best Regards
David
NISW -
Two quick questions about Library after moving beginning on a new computer
Hi there,
I just moved from Windows to Mac, meaning I had to move my iTunes library from the old PC to my new MBA.
Just a couple of quick questions.
1. When I started iTunes on my new Mac, in the preferences I directed the media folder to the folder with all my itunes music/podcasts etc, and then I imported the Library XML file. Is this incorrect? Should I have imported a different file? Should I have used the itl file instead?
If so, should I delete the library and start again? (if this is the case, please suggest the best way of doing this without affecting my media)
- a kind of sub-question to this one: some of the media files arent showing up in the iTunes library, but they are in the media folder on the ext HDD. Is there a way I can find out which ones havent been recognized by iTunes? Whats the best way of getting them in to my library?
2. Pretty much half of my podcasts have not been loaded in the new iTunes. The ones that havent were ones that I subscribed to on my iPhone, whereas the ones that show up in iTunes were ones I downloaded from iTunes. When I connect my iPhone and sync it with iTunes, will those podcasts show up in iTunes? Or is there a risk that they will be deleted from my iPhone?
Cheers,The .xml is lacking some information such as ratings, date added, and play count. Using the .itl includes this information but cannot be imported using the method you did.
A complete library is everything in the iTunes folder. By using the method you did you left the artwork behind in the artwork folder on the other machine.
Selecting the media folder in preferences does not get iTunes to recognize the media. All it does is tell iTunes to start storing new media in that location.
Using the method I outlined nothing will be missed (with the exception of WMA) because you aren't rebuilding your library, you are using the one that already exists.
You don't have to re-copy everything as long as you get the stuff you missed and re-assemble it all as it was before except not on the Mac.
What are the iTunes library files? - http://support.apple.com/kb/HT1660
More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
Where are my iTunes files located? - http://support.apple.com/kb/ht1391 -
Quick question re select-options
Hi
I am relatively new to ABAP but have a quick question:
I need to create a select-options which does the following:
1. Allows ONLY "equals" signs
2. Disallows intervals
3. Disallows the use of ranges in the multiple selection box.
4. Allows multiple individual selections.
I can achieve most using the following:
select-options s_knvh for knvh-kunnr no intervals.
However, this still allows ranges using the multiple selection box, and also allows the "not equal to" option.
Adding the "no-extension" syntax simply removes my ability to use multiple individual entries.
Any ideas?
Thanks
JonUse this FM.
SELECT_OPTIONS_RESTRICT -
A quick question about WebDynpro SLD and R/3 with concurrent users
Hello ,
I have a very quick question about Webdynpros and SLD connecting to an R/3 system, when you configure a webdynpro to connect to an R/3 system using SLD, you configure a user name and password from the R/3 for the SLD to use. What I would like to know is when I have concurrent users of my webdynpro, how can I know what one user did in R/3 and what another user did? Is there a way for the users of the web dynpro to use their R/3 credentials so SLD can access the R/3? Like dynamically configuring the SLD for each user?
- I would like to avoid leaving their their passwords open in the code ( configuring two variable to get the users username and password and use these variables as JCO username and password )
Thanks Ubergeeks,
GuyHi Guy
You will have to use Single Sign On to achieve this. In the destination you have defined to connect to R/3 , there is an option to 'useSSO' instead of userid and password. This will ensure that calls to R/3 will be with the userid that has logged into WAS. You wont need to pass any passwords because a login ticket is generated from WAS and passed on to R/3. The userid is derived from this ticket.
For this to happen you will have to maintain a trust relation ship between R/3 and your WAS ,there is detailed documentation of this in help files. Configuration is very straight forward and is easy to perform
Regards
Pran -
Hi, I have a quick question about port forwarding/mapping. My question, lets say I am running MSN messenger, who's ports are 6880-6900. But lets say I am running a torrent application or something else that requires those ports. If both applications were running at the same time, would this cause interference with them on the same ports or now. Thanks
NathanNormally, only one application can listen to a specific port number at a time. If MSN is grabbing those 21 ports then your torrent app won't be able to run.
However, most apps don't work that way - even if they use multiple ports, they don't use them all at the same time, so MSN might use 6880 when it starts up, leaving the others open for other applications to use if needed.
Only experimentation will answer that one. -
Hello - I'm pretty new to Motion and have 2 quick questions:
1) If you've got a bunch of keyframes on a timeline and want to make the entire sequence longer - is there a way to just pull the last frame out and have it automatically interpolate the keyframes in between so that it keeps the same timing and everything... it just makes the whole sequence take longer?
2) On the same timeline with a bunch of keyframes, can you apply one long Interpolation (ala "Ease Out") to the entire thing from A-Z so that the whole sequence eases out rather than just keyframe to keyframe?
Thanks!!
JasonHeya,
1. If you're asking if you have something like the "roving" keyframes in AE...well, kinda. Keyframes on footage, shapes, generators, particles, replicators—objects that create an image—don't seem to scale. But keyframes on secondary objects like behaviors and filters do scale.
2. Very easy: go into the Keyframe Editor and click on the animation state icon/menu for the parameter you want to change. The icon/menu is the last column after the parameter's value in the left-hand side of the Keyframe Editor. If you pick an interpolation type in that menu, it applies it to all keyframes in that particular curve. It's also the same place where you can set the before/after extrapolation, like ping-pong, progressive, etc. -
Make sure that your bean is implementing the serializable interface and that
you are accessing the bean from the session with the same name.
Bryan
"Sandeep Suri" <[email protected]> wrote in message
news:[email protected]..
Hi, I have quick question about use of USEBEAN tag in SP2. When I
specify a scope of SESSION for the java bean, it does not keep the
values that I set for variable in the bean persistent.Thanks,Sonny
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
Quick question regarding best practice and dedicating NIC's for traffic seperation.
Hi all,
I have a quick question regarding best practice and dedicating NIC's for traffic seperation for FT, NFS, ISCSI, VM traffic etc. I get that its best practice to try and separate traffic where you can and especially for things like FT however I just wondered if there was a preferred method to achieving this. What I mean is ...
- Is it OK to have everything on one switch but set each respective portgroup to having a primary and failover NIC i.e FT, ISCSI and all the others failover (this would sort of give you a backup in situations where you have limited physical NICs.
- Or should I always aim to separate things entirely with their own respective NICs and their own respective switches?
During the VCAP exam for example (not knowing in advance how many physical NIC's will be available to me) how would I know which stuff I should segregate on its own separate switch? Is there some sort of ranking order of priority /importance? FT for example I would rather not stick on its own dedicated switch if I could only afford to give it a single NICs since this to me seems like a failover risk.I know the answer to this probably depends on however many physical NICs you have at your disposal however I wondered if there are any golden 100% rules for example FT must absolutely be on its own switch with its own NICs even at the expence of reduced resiliency should the absolute worst happen? Obviously I know its also best practice to seperate NICs by vender and hosts by chassis and switch etc
Maybe you are looking for
-
Web Service Call From Consumer Proxy in ABAP: Security Settings
Hello All, Have a couple of questions: We are working on a scenario where we have to connect to a web service from ABAP. We have extracted the WSDL, and generated the client proxy, and configured a Logical Port. However, at the time of actual call, w
-
I have very little experience recording sound onto my computer. I know how to use garage band, sound studio, etc. But I am interested in recording live chamber music. I was wonderng what additional programs and/or tools I will need. A microphone mayb
-
Valuation area 001 posting issue
HI, I have got this error message. System doesn't post to VA 001 prior to 20.05.2011. How can I resolve this? Business Transaction Cat: Interest on Position Date: 01.05.2011 is before the initialization key date of valuation area 001 Message no. TPM
-
Hi good evening this is sreenivas
1. what is using of "WBS" element i am sending this question. plz; reply me
-
Unwanted languages and printer drivers
how do i get rid of unwated languages and printer drivers. i heard it frees like 4 gb.