Violent Shudder (Artillery Blast) simulation
Hello all
(I'm sorry for posting this twice - I think I may have put it in the wrong place)
I've received some pretty good advice here on the forum. And in regard to a WWII documentary that I'm working on,
I plan on using a few Cannon GL2's, a Panasonic AG-DVC80, and a Panasonic DVX100. They all seem to be somewhat equal in capability. (within reasonable comparison to each other)
Anyway, I've assembled 20-30 WWII impressionists for a re-creation of a battle gone wrong in North West Africa 1943. In one scene, one of the veterans tells of how Rommel's 10th Panzer caught their platoon in open ground, and laid deadly artillery fire upon them.
We cannot use explosive charges, but I can simulate shells landing nearby by their reactions, perhaps camera movement, and of course sound effects. I've tried a few settings in 'Live Type', but I can't seem to get the right effect.
Was wondering if anyone has ever tried to shake physically shake the camera? Is this a 'controlled science'?
Thank you
My Web Site:
http://ww2survivorstories.com/
"if you want to do it in post"
Thank you well I've come up with this so far;
http://moviemaker.com/magazine/editorial.php?id=521
And
http://www.toolfarm.com/
But I still need to go through all of this to come up with a good plug in .....
Similar Messages
-
Creating Violent Shudder - (Artillery Blast) - WWII Documentary
Hello all
I've received some pretty good advice here on the forum. And in regard to a WWII documentary that I'm working on,
I plan on using a few Cannon GL2's, a Panasonic AG-DVC80, and a Panasonic DVX100. They all seem to be somewhat equal in capability. (within reasonable comparison to each other)
Anyway, I've assembled 20-30 WWII impressionists for a re-creation of a battle gone wrong in North West Africa 1943. In one scene, one of the veterans tells of how Rommel's 10th Panzer caught their platoon in open ground, and laid deadly artillery fire upon them.
We cannot use explosive charges, but I can simulate shells landing nearby by their reactions, perhaps camera movement, and of course sound effects. I've tried a few settings in 'Live Type', but I can't seem to get the right effect.
Was wondering if anyone has ever tried to shake physically shake the camera? Is this a 'controlled science'?
Thank you
My Web Site:
http://ww2survivorstories.com/
Message was edited by: ENIGMACODE
Message was edited by: ENIGMACODECamera shake can be done manually or siulated. If it's done on set, you are stuck with the baked-in effect. Do it in post.
You probably already have Motion but you will want to get After Effects. This kind of psuedodoc usually requires tons of effects. And you must anticipate the expectations and sophistication of your audience to establish the credibility and therefore expense of your effects sequences.
bogiesan -
Sound blaster audigy 2 zs...NO SOUND! he
i've got a sound blaster audigy 2 zs...had it for two years...this morning, all of the sudden, it doesn't work...no sound...at all...i've tried uninstalling/reinstalling, speakers are fine (i've had to use the built in audio from my motherboard...NOT the greatest!)...anyone have any ideas, hints, ect. please...help me?:angry:
My Mobo=D875PBZ
perryjp20, After about 25 hours of troubleshooting, finally got my system up 'n running again, including the Soundcard. After a lot of wrong guesses for a "quick fix," simulated re-building the PC from the ground up:
Flashed back to an earlier BIOS (P27, mid-2004). Took out the ATI and Audigy soundcard, disconnected all dri'ves. Booted & shutdown. Added ATI card and monitor, then one 300 gig HD and DVD dri've, then formatted HD via installation of XP Pro, installed original Intel chipset drivers, and XP Pro SR and and set-up 2d partion on HD, installed ATI drivers (originals out of the box), then added Audigy card and its drivers (originals out of the box), then plugged in formatted 2d HD (250 gig). In the process now of adding the rest of my software and games. Shutdown and re-booted at each phase and monitored temps and voltage through BIOS at each phase to attempt to detect any problem with power supply or overheating -- saw no problems.
Will update ATI drivers soon, but reluctant to re-install Win XP Pro SR2.
Don't know what caused the failure of first the soundcard then the system "lost" the ATI card, then HD was corrupted. I was using the Firewire port of the Audigy card (connected to Canopus ADVC) when the sound started cracking/cutting-in-and-out and then went out altogether and the entire system went belly-up. Perhaps that Firewire port is bad? Other leading suspects: BIOS (which I had updated a couple of months ago) or perhaps the system had a worm or virus that Trend Micro did not pick up. -
I just bought it but my computer doesent regonize it at all. I have Nforce4 chipset. I just formated my hdd but it didint help. I dont know what to do. Plz help me!
Thank You!Hi and regards from mexico city Im Gabriel and I bought the same card the sound blaster audigy SE on january here in mexico city. But first things first this is my pc: Intel Pentium IV 3.06ghz HT Motherboard model: D0GGc, Cache L2, Hard dri've sata seagate 250 gigas and 8 mgs of cache integrated, 2 gs of ram,Windows XP SP2,?audio integrated on motherboard: Realtek 5. channel and actually using audigy se and video Ati Radeon Xpess 200 series with 256 mgs of video on board, in other words i made this pc only for games( an example of this games I actually play are: Battlefield 942 complete edition including vietnam, battlefield 2 complete edition also, need for speed most wanted and carbono, the sims 2 and all its exp, flight simulator 2004, etc...). And well I wrote to you but since I ask for help on email creative was unable to answer why with this card I got a stattic sound in everygame and for 5 months of trying and reinstaling serious times the XP?and finally got the answer: not even install the chipset driver install de driver update to have more support In windows propeties go to sistem configuration and under render options chance the ache options that windows put to programs by default put them to cache and restart the pc with this option not only correct the trouble with the static sound that i also heard about the xfi with other users also the sound in battlefield 2 was like cutting now i can here even when they soldiers say something. In flight simulator for exampl now when I make clic on fly now also i here now a sound of a clic that before thos changes doesnt here anything just the sound of the motor. Since via email doesnt help me with those problems I just hope that your troubles are gone beacause I always considered creative the best of the best but with this problems and futher more with no intention to help me by email and I have to look out for the answer my self I still will use creative products and in a month more im going to buy one xfi the speakers I already have theme are Creative model T6060 5. channels. So good luck and I only ask you to be more help via email .
-
I have some Audigy card Sound Blaster Audigy SB1394 EAX ADVANCED HD maybe can
I have some Audigy card Sound Blaster Audigy SB394 EAX ADVANCED HD maybe can i get some info about this card.. it is 5./6. some details about it. i found it in my closed :P
it will be great if someone help me about this card. because i have my SB li've Value if this audigy better i'l just change it.i think it is an Creative Labs SoundBlaster Audigy with 394 PCI Sound Card
32-Bit Professional Quality Effects Engine
? Creative's Audigy? patented effects processor
? Support for real-time digital effects like reverb, chorus, normalizer, pitch shifter, or distortion across any audio source
? Capable of processing, mixing and positioning audio streams using up to 3 available hardware channels
? Full 32-bit digital mixer maintains all sound mixing in the digital domain, eliminating noise from the signal
High Definition Audio Quality
? Playback of 64 audio channels, each with its own independent sample rate
? 24-bit Analog-to-Digital and Digital-to-Analog conversion
? 6-bit recording with sampling rates of 8, .025, 6, 22.05, 24, 32, 44. and 48kHz
? Supports Sony/Philips Digital Interface (SPDIF) input and output of up to 24-bit/96kHz quality
? SPDIF output up to 24-bit resolution at selectable sampling rate of 44., 48 or 96kHz
? Low latency multi-track recording with ASIO? support
EAX?ADVANCED HD?, Advanced Audio and 3D Audio Technology
? Optimized user-selectable settings for headphones, two, four or six speakers and external A/V amplifiers
? Dolby? Digital audio decoding to 5. speaker channels in both analog and digital modes
? Upgradeable 3D audio architecture for future improvements
? Hardware acceleration of EAX ADVANCED HD for games
? Creative Multi Speaker Surround? (CMSS) technology places any mono or stereo source in a 360? audio space
? User-selectable EAX ADVANCED HD music presets, pre-configurable DSP modes simulating various acoustic environments
? Time-scaling
? Audio Clean-Up
SB394 Connectivity
? High speed connection to IEEE? 394-enabled devices with up to 400Mbps transfer rate
? Interconnection of up to 63 devices for peer-to-peer communication
? SB394 Certification Program thoroughly tests and certifies participating vendors' 394-enabled devices with Sound Blaster Audigy for optimal performance and ease of use
? Hot-plug support for ease of connecting or disconnecting external devices
Realistic Wave-Table Synthesis
? Creative's Audigy music synthesis engine
? 64-voice hardware polyphony with Creative's patented 8-point interpolation technology that reduces distortion to inaudible levels
? Uses SoundFont? technology for user-definable wave-table sample sets
? Unlimited sample size can be loaded into host memory for professional music reproduction (limited to available system memory size)
? Scalable PCI wave-table synthesis architecture with multi-timbre capability
? 48 MIDI channels with 28 GM & GS compatible instruments and 0 drum kits
MIDI Interface/Joystick Port
? Support for analog and digital or DirectInput? game devices
? Support for two simultaneous MIDI devices with Sound Blaster Audigy Dri've
On-Board Connectors
? Analog / Digital Out (Analog Center & Subwoofer / 6-channel SPDIF Output)
? Line in
? Microphone in
? Line level out (Front) / Headphone out
? Line level out (Rear)
? SB394 port
? Telephone Answering Device in
? Analog CD Audio in
? Digital CD Audio in
? Expansion header to an external 5-pin Joystick / MIDI port
? Internal SB394 header to Sound Blaster Audigy Dri've
? Expansion header to the Sound Blaster Audigy Dri've
Sound Blaster Audigy Audio Performance
? Signal-to-Noise Ratio (A-Weighted) = 00dB
? Crosstalk (Left/Right and vice versa) = -00dB
? Total Harmonic Distortion + Noise at kHz (A-Weighted) = 0.004 %
? Frequency Response at -3 dBr = <0 Hz to 22 kHz -
Hi everyone,
Is there a code snippet to tell if the application is running in the simulator or on the actual device?
thanks
tonyYes, thank you...
I implemented it in this way....
NSString *device = [[UIDevice currentDevice] model];
if ([device isEqualToString:@"iPod touch"])
else
thanks for the direction
take care
tony
Message was edited by: alt-088 -
View salary details in a single screen in Simulation
Hi All,
InPayroll Simulation is there any way to view the salry details in a sigle screen , insted of going to the drop down and view
SDTry to run with 'Display variant Rem. Statement' parmaneter populated .
-
Error while creating a Quotation in dp81 with simulation
hi Guys,
My client has a simulation for an operative project. First a quotation was created through sales pricing in dp81. its rejected. now he wants to create another quotation with simulation. when the inputs are given its gives error as " The reference has already been completely copied or rejected". Can anyone explain why this is happening and what is the solution.Hi,
This is might be due the completion rule of the item category of the inquiry.
Check first the item category of the inquiry sales document you are using. Second go to Tcode VOV7, completion rule field of the item category you are using should be empty in order to be able to create more than one quotation from dp81.
Regards -
Error while simulating Pay Plan
Hi
I created a pay plan item and trying to simulate the pay plan.I am getting the error "Error in debit entry Simulation". Could anyone suggest how to get around this error
Thanks and Regards
Varadarajan BHi Varadarajan,
At first I assume that you are talking about an FS-CD Payment Plan. Is this correct? At second I assume you are referring to the Structure "SVVSCPOS_B" (Direct Input Structure of Payment Plan Items). Is this correct as well?
If, and only if both assumptions are right: what 'nature' does the underlaying Payment Plan Item have? I assume it isn't a One-Time Payment (means: PSNGL = ' ' blank), when you execute 'Simulate Payment Plan' for a particular Insurance Object - Business Partner - Relationship, based on at least one item, or multiple items in table "VVSCPOS" (Payment Plan Item).
Moreover: Are all important FS-CD Posting Areas (for example see transaction "FQC0", and table "TFK033C") properly configured?
How did you create the Payment Plan and the Payment Plan Item(s)? I strongly recommend pretending being a feeder system and utilizing the special transaction 'VKTT'. Starting with "Read Partner - Application Server partner_std.txt > Continue" you will find in the main menu "Goto" for branching to Partner, Account, Ins. Object, or Payment Plan. Thus, you should create via VKTT
a Business Partner,
a Contract Account (with Relationship to this Business Partner),
an Insurance Object (with Relationship to this Business Partner) and assigned to the Contract Account, see 2.;
Thereafter you should create 4. an appropraite Payment Plan, of course with at least 5. one Payment Plan Item. Don't forget to save all your cases ;-)
This approach will enable and support you to retest your scenario, and to analyze errors fast and easily, when you launch Collections/Disbursements > Master Data > Insurance Object > Change (transaction "INSOCHANGE") for the Insurance Object - see 3. - and the Payment Plan/Payment Plant Item - see 4. and 5. - you created through VKTT.
If an error message occur, you should go to the Help and analyze the provided text. The AGS xSearch could help you in finding the root cause, please see "Home | SAP Support Portal" <Login with your S-User or C-User) > "Knowledge Base &amp; Incidents | SAP Support Portal" > "Search for a Solution | SAP Support Portal".
Does this help?
Kind regards,
Jochem -
DVD-Audio and "can not detect sound blaster card" with Audigy2 Va
I recently purchased an "Audigy2 Value" card from an eBay user, because I recently purchased some DVD-Audio discs. I downloaded the Audigy2 drivers from the website, and the Creative MediaSource player. 5. Surround sound worked fine for me, though sometimes the driver would reset to the default 2/2. sound and I would have to re-select 5. sound, which was annoying.
Then I was completely unable to get the MediaSource player to recognise my DVD-Audio discs, and the EAX functionality of the player would never work. The EAX logo never appeared in the player. When I tried installing the MediaSource player from an install disc, I got the message "can not detect sound blaster card". Then I discovered the world of EEPROM problems.
I followed advice from some other threads, including using ScanPCI to get information on the card, which yielded the following result.
When installed on my machine (Asus A7A266 motherboard) the ScanPCI reads:
Vendor 02h Creative Labs
Device 0008h Unknown
Command 0005h (I/O Access, BusMaster)
Status 0290h (Has Capabilities List, Supports Back-To-Back Trans., Medium Timing)
Revision 00h, Header Type 00h, Bus Latency 20h
Self test 00h (Self test not supported)
PCI Class Multimedia, type Audio
Subsystem ID 0002h Unknown
Subsystem Vendor 02h Creative Labs
Address 0 is an I/O Port : 0000A800h
System IRQ 5, INT# A
New Capabilities List Information :
Power Management Capabilities
Supports power state D2
Supports power state D
Current Power State : D0 (Device fully-operational, no power saving)
On another machine (specs unknown, it's a "house pc") I got this (with 3 entries!):
Vendor 02h Creative Labs
Device 0002h EMU0K Audio Chipset (SB Li've!)
Command 0004h (BusMaster)
Status 0290h (Has Capabilities List, Supports Back-To-Back Trans., Medium Timing)
Revision 04h, Header Type 80h, Bus Latency 20h
Self test 00h (Self test not supported)
PCI Class Multimedia, type Audio
Subsystem ID 002002h CT4850 SBLi've! Value
Subsystem Vendor 02h Creative Labs
Address 0 is an I/O Port : 00009000h
New Capabilities List Information :
Power Management Capabilities
Current Power State : D0 (Device fully-operational, no power saving)
Vendor 02h Creative Labs
Device 7002h PCI Gameport Joystick
Command 0004h (BusMaster)
Status 0290h (Has Capabilities List, Supports Back-To-Back Trans., Medium Timing)
Revision 0h, Header Type 80h, Bus Latency 20h
Self test 00h (Self test not supported)
PCI Class Input, type Other
Subsystem ID 002002h PCI Gameport Joystick
Subsystem Vendor 02h Creative Labs
Address 0 is an I/O Port : 00008800h
New Capabilities List Information :
Power Management Capabilities
Current Power State : D0 (Device fully-operational, no power saving)
Vendor 02h Creative Labs
Device 0008h Unknown
Command 0004h (BusMaster)
Status 0290h (Has Capabilities List, Supports Back-To-Back Trans., Medium Timing)
Revision 00h, Header Type 00h, Bus Latency 20h
Self test 00h (Self test not supported)
PCI Class Multimedia, type Audio
Subsystem ID 0002h PCI Gameport Joystick (Guess Only!)
Subsystem Vendor 02h Creative Labs
Address 0 is an I/O Port : 00008400h
New Capabilities List Information :
Power Management Capabilities
Supports power state D2
Supports power state D
Current Power State : D0 (Device fully-operational, no power saving)
(Just a note: above you can clearly see that it does not say I have an Audigy, it thinks it is a SBLi've. Is this normal? The card IS an Audigy 2, it says so on the card.)
So, I put the card back on my own PC, thinking this has fixed my EEPROM, but I get the same as before. Subsystem ID 0002h. And of course the install software will not detect the card.
I realise that I could go back to using the web drivers, but this still leaves me with MediaSource not recognising the card and not enabling DVD-Audio or EAX, which is why I bought the card in the first place!
I have heard that the VIA chipset is possibly to blame for the EEPROM problems on the Audigy cards, and certainly it seems like it is not permanent, since it gave different information on the other PC. So now I am seriously considering getting a new motherboard.
Do other motherboards cause this same problem? I don't want to buy another board and get the same trouble. All I want is to be able to install my MediaSource and have it recognise my card so I can listen to my DVD-Audio discs.
Cheers,
Russ.Figured out my problem. Installing the drivers from the web to begin with was a bad idea. They just did not work properly with the card.
The "card not found" problem has gone as well, after installing it in another PC. I am also using the proper install disc now, as the other one I was using turned out to not be for the Audigy 2 value after all, but was an Audigy 2 install disc. That easily explains the "Card not found" error. The differing results from the ScanPCI program are still bizarre, though.
Thanks to all of the people on the forum who posted information in other threads to help me deal with this issue. For now I am sticking with the original drivers from the disc and I am not upgrading. -
I'm currently struggling with a core data issue with my app that defies (my) logic. I'm sure I'm doing something wrong but can't see what. I am doing a basic executeFetchRequest on my core data entity, but the array of managed objects returned never seems to be released ONLY when I run it on the iPhone, under the simulator it works exactly as expected. This is despite using an NSAutoreleasePool to ensure the memory footprint is minimised. I have also checked with Instruments and there are no leaks, just ever increasing allocations of memory (by '[NSManagedObject(_PFDynamicAccessorsAndPropertySupport) allocWithEntity:]'). In my actual app this eventually leads to a didReceiveMemoryWarning call. I have produced a minimal program that reproduces the problem below. I have tried various things such as faulting all the objects before draining the pool, but with no joy. If I provide an NSError pointer to the fetch no error is returned. There are no background threads running.
+(natural_t) get_free_memory {
mach_port_t host_port;
mach_msg_type_number_t host_size;
vm_size_t pagesize;
host_port = mach_host_self();
host_size = sizeof(vm_statistics_data_t) / sizeof(integer_t);
host_page_size(host_port, &pagesize);
vm_statistics_data_t vm_stat;
if (host_statistics(host_port, HOST_VM_INFO, (host_info_t)&vm_stat, &host_size) != KERN_SUCCESS) {
NSLog(@"Failed to fetch vm statistics");
return 0;
/* Stats in bytes */
natural_t mem_free = vm_stat.free_count * pagesize;
return mem_free;
- (void)viewDidLoad
[super viewDidLoad];
// Set up the edit and add buttons.
self.navigationItem.leftBarButtonItem = self.editButtonItem;
UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(insertNewObject)];
self.navigationItem.rightBarButtonItem = addButton;
[addButton release];
// Obtain the Managed Object Context
NSManagedObjectContext *context = [(id)[[UIApplication sharedApplication] delegate] managedObjectContext];
// Check the free memory before we start
NSLog(@"INITIAL FREEMEM: %d", [RootViewController get_free_memory]);
// Loop around a few times
for(int i=0; i<20; i++) {
// Create an autorelease pool just for this loop
NSAutoreleasePool *looppool = [[NSAutoreleasePool alloc] init];
// Check the free memory each time around the loop
NSLog(@"FREEMEM: %d", [RootViewController get_free_memory]);
// Create a minimal request
NSEntityDescription *entityDescription = [NSEntityDescription
entityForName:@"TestEntity" inManagedObjectContext:context];
// 'request' released after fetch to minimise use of autorelease pool
NSFetchRequest *request = [[NSFetchRequest alloc] init];
[request setEntity:entityDescription];
// Perform the fetch
NSArray *array = [context executeFetchRequest:request error:nil];
[request release];
// Drain the pool - should release the fetched managed objects?
[looppool drain];
// Check the free menory at the end
NSLog(@"FINAL FREEMEM: %d", [RootViewController get_free_memory]);
When I run the above on the simulator I get the following output (which looks reasonable to me):
2011-06-06 09:50:28.123 renniksoft[937:207] INITIAL FREEMEM: 14782464
2011-06-06 09:50:28.128 renniksoft[937:207] FREEMEM: 14807040
2011-06-06 09:50:28.135 renniksoft[937:207] FREEMEM: 14831616
2011-06-06 09:50:28.139 renniksoft[937:207] FREEMEM: 14852096
2011-06-06 09:50:28.142 renniksoft[937:207] FREEMEM: 14872576
2011-06-06 09:50:28.146 renniksoft[937:207] FREEMEM: 14897152
2011-06-06 09:50:28.149 renniksoft[937:207] FREEMEM: 14917632
2011-06-06 09:50:28.153 renniksoft[937:207] FREEMEM: 14938112
2011-06-06 09:50:28.158 renniksoft[937:207] FREEMEM: 14962688
2011-06-06 09:50:28.161 renniksoft[937:207] FREEMEM: 14983168
2011-06-06 09:50:28.165 renniksoft[937:207] FREEMEM: 14741504
2011-06-06 09:50:28.168 renniksoft[937:207] FREEMEM: 14770176
2011-06-06 09:50:28.174 renniksoft[937:207] FREEMEM: 14790656
2011-06-06 09:50:28.177 renniksoft[937:207] FREEMEM: 14811136
2011-06-06 09:50:28.182 renniksoft[937:207] FREEMEM: 14831616
2011-06-06 09:50:28.186 renniksoft[937:207] FREEMEM: 14589952
2011-06-06 09:50:28.189 renniksoft[937:207] FREEMEM: 14610432
2011-06-06 09:50:28.192 renniksoft[937:207] FREEMEM: 14630912
2011-06-06 09:50:28.194 renniksoft[937:207] FREEMEM: 14651392
2011-06-06 09:50:28.197 renniksoft[937:207] FREEMEM: 14671872
2011-06-06 09:50:28.200 renniksoft[937:207] FREEMEM: 14692352
2011-06-06 09:50:28.203 renniksoft[937:207] FINAL FREEMEM: 14716928
However, when I run it on an actual iPhone 4 (4.3.3) I get the following result:
2011-06-06 09:55:54.341 renniksoft[4727:707] INITIAL FREEMEM: 267927552
2011-06-06 09:55:54.348 renniksoft[4727:707] FREEMEM: 267952128
2011-06-06 09:55:54.702 renniksoft[4727:707] FREEMEM: 265818112
2011-06-06 09:55:55.214 renniksoft[4727:707] FREEMEM: 265355264
2011-06-06 09:55:55.714 renniksoft[4727:707] FREEMEM: 264892416
2011-06-06 09:55:56.215 renniksoft[4727:707] FREEMEM: 264441856
2011-06-06 09:55:56.713 renniksoft[4727:707] FREEMEM: 263979008
2011-06-06 09:55:57.226 renniksoft[4727:707] FREEMEM: 264089600
2011-06-06 09:55:57.721 renniksoft[4727:707] FREEMEM: 263630848
2011-06-06 09:55:58.226 renniksoft[4727:707] FREEMEM: 263168000
2011-06-06 09:55:58.726 renniksoft[4727:707] FREEMEM: 262705152
2011-06-06 09:55:59.242 renniksoft[4727:707] FREEMEM: 262852608
2011-06-06 09:55:59.737 renniksoft[4727:707] FREEMEM: 262389760
2011-06-06 09:56:00.243 renniksoft[4727:707] FREEMEM: 261931008
2011-06-06 09:56:00.751 renniksoft[4727:707] FREEMEM: 261992448
2011-06-06 09:56:01.280 renniksoft[4727:707] FREEMEM: 261574656
2011-06-06 09:56:01.774 renniksoft[4727:707] FREEMEM: 261148672
2011-06-06 09:56:02.290 renniksoft[4727:707] FREEMEM: 260755456
2011-06-06 09:56:02.820 renniksoft[4727:707] FREEMEM: 260837376
2011-06-06 09:56:03.334 renniksoft[4727:707] FREEMEM: 260395008
2011-06-06 09:56:03.825 renniksoft[4727:707] FREEMEM: 259932160
2011-06-06 09:56:04.346 renniksoft[4727:707] FINAL FREEMEM: 259555328
The amount of free memory reduces each time round the loop in proportion to the managed objects I fetch e.g. if I fetch twice as many objects then the free memory reduces twice as quickly - so I'm pretty confident it is the managed objects that are not being released. Note that the entities that are being fetched are very basic, just two attributes, a string and a 16 bit integer. There are 1000 of them being fetched in the examples above. The code I used to generate them is as follows:
// Create test entities
for(int i=0; i<1000; i++) {
id entity = [NSEntityDescription insertNewObjectForEntityForName:@"TestEntity" inManagedObjectContext:context];
[entity setValue:[NSString stringWithFormat:@"%d",i] forKey:@"name"];
[entity setValue:[NSNumber numberWithInt:i] forKey:@"value"];
if (![context save:nil]) {
NSLog(@"Couldn't save");
If anyone can explain to me what is going on I'd be very grateful! This issue is the only only one holding up the release of my app. It works beautifully on the simulator!!
Please let me know if there's any more info I can supply.Update: I modified the above code so that the fetch (and looppool etc.) take place when a timer fires. This means that the fetches aren't blocked in viewDidLoad.
The result of this is that the issue happens exactly as before, but the applicationDidReceiveMemoryWarning is fired as expected:
2011-06-08 09:54:21.024 renniksoft[5993:707] FREEMEM: 6131712
2011-06-08 09:54:22.922 renniksoft[5993:707] Received memory warning. Level=2
2011-06-08 09:54:22.926 renniksoft[5993:707] applicationDidReceiveMemoryWarning
2011-06-08 09:54:22.929 renniksoft[5993:707] FREEMEM: 5615616
2011-06-08 09:54:22.932 renniksoft[5993:707] didReceiveMemoryWarning
2011-06-08 09:54:22.935 renniksoft[5993:707] FREEMEM: 5656576 -
Função para cálculo de impostos( Simulação de Geração de NF).
Boa noite pessoal !
Alguém conhece alguma função no SAP que posso utilizar para efetuar cálculo de impostos ???
Trata-se de um programa customizado (Z) e preciso fazer o cálculo de todos impostos, seria como uma simulação de Geração de NF (J1B1N) .
Agradeço desde já.
Wagner DuarteBom dia Wagner,
Você pode utilizar a FM J_1B_NF_VALUE_DETERMINATION:
Exemplo:
DATA: BEGIN OF wk_header.
INCLUDE STRUCTURE j_1bnfdoc.
DATA: END OF wk_header.
DATA: BEGIN OF wk_header_add.
INCLUDE STRUCTURE j_1bindoc.
DATA: END OF wk_header_add.
DATA: BEGIN OF wk_partner OCCURS 0.
INCLUDE STRUCTURE j_1bnfnad.
DATA: END OF wk_partner.
DATA: BEGIN OF wk_item OCCURS 0.
INCLUDE STRUCTURE j_1bnflin.
DATA: END OF wk_item.
DATA: BEGIN OF wk_item_tax OCCURS 0.
INCLUDE STRUCTURE j_1bnfstx.
DATA: END OF wk_item_tax.
DATA: BEGIN OF wk_item_add OCCURS 0.
INCLUDE STRUCTURE j_1binlin.
DATA: END OF wk_item_add.
DATA: BEGIN OF wk_header_msg OCCURS 0.
INCLUDE STRUCTURE j_1bnfftx.
DATA: END OF wk_header_msg.
DATA: BEGIN OF wk_refer_msg OCCURS 0.
INCLUDE STRUCTURE j_1bnfref.
DATA: END OF wk_refer_msg.
CALL FUNCTION 'J_1B_NF_DOCUMENT_READ'
EXPORTING
doc_number = i_docnum
IMPORTING
doc_header = wk_header
TABLES
doc_partner = wk_partner
doc_item = wk_item
doc_item_tax = wk_item_tax
doc_header_msg = wk_header_msg
doc_refer_msg = wk_refer_msg
EXCEPTIONS
document_not_found = 1
docum_lock = 2
OTHERS = 3.
CALL FUNCTION 'J_1B_NF_VALUE_DETERMINATION'
EXPORTING
nf_header = wk_header
IMPORTING
ext_header = wk_header_add
TABLES
nf_item = wk_item
nf_item_tax = wk_item_tax. -
Unable to connect offcard terminal with jcop simulator
Hi all,
I have made a JavaCard applet, called DisplayApplet.
I am using Eclipse with the JCOP tools plugin.
But now I want to make use of an own Terminal that connects to the applet and communicates to it using APDUs.
I don't have a smart card reader/card, so I want to use the simulation environment.
Now I read that I must use the "Remote" value in the JCTerminal constructor to connect to the simulation environment, but it doesn't work (of course I specify the remote value as input parameter).
I am unable to open a terminal.
I get the following exception at the term.open() command:
can't find/open/connect/reset smartcard/reader:
Failed to open [localhost:8050]: Connection refused: connect
Can anyone tell me what's wrong and how I can connect from an own made terminal to a JCOP simulation (I want to run the terminal within Eclipse, because I want to add a UI later on top of it) ??
Here is the code of my own made HostTerminal:
import com.ibm.jc.*;
public class HostTerminal {
public static final String remoteTermName = "Remote";
public static final String nativeTermName = "pcsc:4";
public static final String remoteTermPara = null;
public static final String nativeTermPara = null;
public static void main(String[] args) {
String termName = nativeTermName;
String termPara = nativeTermPara;
if (args.length > 0) {
if (!args[0].equals("native")) {
if (args[0].equals("remote")) {
termName = remoteTermName;
termPara = remoteTermPara;
} else {
try {
System.out.println("args[0] > " + args[0]);
System.out.println("args[1] > " + args[1]);
termName = args[0];
termPara = args[1];
} catch (Exception e) {
System.out.println("invalid command line options");
System.exit(1);
// create terminal, i.e. create a connection to a reader
// and wait for a card insertion
JCTerminal term = null;
try {
term = JCTerminal.getInstance("Remote", null);
term.open();
term.waitForCard(5000);
} catch (Exception e) {
System.out.println(
"can't find/open/connect/reset smartcard/reader: "
+ e.getMessage());
System.exit(1);
System.out.println("Connected to reader and card terminal ...");
// now get the object representing the connection to the card
JCard card = null;
try {
card = new JCard(term, null, 1000);
} catch (Exception e) {
System.out.println(
"can't connect to card in reader: " + e.getMessage());
System.exit(1);
String s;
// get atr of card and print it
try {
ATR atr = card.getATR();
s = JCInfo.atrToString(atr);
System.out.println("Connected to card and received ATR: " + s);
} catch (Exception e) {
System.out.println("can't get ATR: " + e.getMessage());
System.exit(1);
// Note here that the DisplayApplet has to have to aid "display". The IDE
// supports ascii characters in AIDs by using | when editing AIDs.
// For instance, |display results in 636F756E746572.
System.out.println("Selecting Display applet ...");
DisplayApplet displayApplet = null;
try {
byte[] aid = ("phil0Display").getBytes();
displayApplet = new DisplayApplet(card, aid);
displayApplet.select();
s = JCInfo.toHex(aid, 0, aid.length);
System.out.println(
"Selecting of Display applet with aid " + s + " succeeded");
} catch (Exception e) {
System.out.println("can't select Display: " + e.getMessage());
System.exit(1);
}If you run the JavaCard simulator from within Eclipse make sure you disconnect the JCOP shell before trying to connect via JCTerminal() from your Java program. Use the command /close
If you want to disconnect the JCOP shell automatically modify your "Java Card Application" run-configuration:
set Shell commands to execute: to /close
BTW: You were talking about JCOP 3.0, the Eclipse 2.1-plugin or do you use the new pre-release version JCOP 3.1 for Eclipse 3? -
Running T1SAM simulator over x86 ?
Hi,
Is it possible to run T1 SAM simulator over x86 ?
Although the original requirements are SPARC and Solaris 9/10, I think ( and maybe also wrong...) that a proper Makefile for x86 should work...
Thanks in advance!r0b0t wrote:
Hi,
I started with MIPS and I got used on running the code on QtSPIM (well PCspim) to be more precise as I used it on windows.
Now, while I want to learn x86 and especially x64 assembly I'm in no way on finding any simulator to run the code.
I know, I can run it directly on the machine, but I can't nicelly check the registers or break every operation as I could with spim and MIPS assembly.
I'm pretty sure there are folk already solved this problem so, could you share how?
thanks.
Great book if you're starting to learn x86.
http://www.amazon.com/Professional-Asse … y+language -
FlashBuilder 4.7 will not run in Debug mode with BlackBerry 10 simulator
We have developed an app that has been released both for Apple and Android working well.
When trying to do the same for BlackBerry it was rejected because it did not start at all.
The App that runs fine on the BlackBerry simulator in the "run configurations mode".
However when I try to run it in Debug mode it will not start at all. Just flashes and simulator goes back to main menu.
The debugger will after a while time out since it cannot connect to the app running on the simulator.
BlackBerry 10 Simulator runs under vmWare Fusion.
Anyone seen this before?Hi, Silence04. Welcome to the Discussions.
You had serious disk directory corruption. That can also cause corruption in OS files: while Disk Utility or DiskWarrior may fix the directory, if the directory corruption resulted in OS files being damaged — as it appears to be in this case — then you can't avoid an Archive and Install. For important tips on this, see my "General advice on performing an Archive and Install" FAQ. Perform the steps therein in the specified order.
Good luck!
Dr. Smoke
Author: Troubleshooting Mac® OS X
Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
I may receive some form of compensation, financial or otherwise, from my recommendation or link.
Maybe you are looking for
-
Why is it not possible to sort in the iPad YouTube app?
This is just ridiculous. It seems like something that would have been addressed in an update but hasn't been touched. I like the app, it works great but it is idiotic to actually have to go to the YouTube site using Safari if you want to find somethi
-
How to UNINSTALL software?
I am having serious issues w/ my Mac (ie. Safari and other apps "unexpectedly quit", unable to open apps if other apps already open, desktop and Safari loading VERY slowly). I took my mac to a local Apple store, and it looks like I need to uninstall
-
IPod Touch (Gen 1, Software 3.0) running hot/locking up.
In the last few months, I have been having a recurring problem with my iPod Touch (Gen 1, now running 3.0), where on occasion it starts feeling incredibly hot to the touch, the screen freezes, and it refuses to accept any input from anything but the
-
Probably a silly question. I am running Snow Leopard and for a couple of days have not been able to send mail from my long-time Apple email account. I have started the move from Mac/Mobile Me email to iCloud, when all I really need is to enable the
-
Condition Type Amount field is disappearing in Quotation when scroll down & scroll up is done
Hi Friends, I am getting a strange issue in the Quotation. When i change the Contract Validity Period value in the Header section, a custom discount condition type will appear in the Conditions Tab. But the issue comes when i scroll down and scroll u