Tetris Source code in Xlets...Somebody please help me with this topic.
Hi,
Hey thanks. I am able to log into the site. I also got the code but again i found that the code is written by taking points and colors to create the shapes. I need some codes in which the shapes are created by taking colored images somewhat in this way,
colorImage[0] = TrackPicture.loadImage("./images/square_red.png", 29, 29);
colorImage[1] = TrackPicture.loadImage("./images/square_blue.png", 29, 29);
colorImage[2] = TrackPicture.loadImage("./images/sqaure_yellow.png", 29, 29);
colorImage[3] = TrackPicture.loadImage("./images/sqaure_green.png", 29, 29);
These are the images and by taking co-ordinates they are joined to create shapes. I have tried combining them through the paint( drawImage )method. Please give me some solutions if you have. Thanks in advance.
Warning: I'm not a game developer, so maybe what I'm going to say has nosense ;)
What about creating an object for the falling piece? The object control de position of its own squares and check for collisions at the bottom of the screen. Then you should work in the screen as it is a grid where pieces are stored, and everytime the falling object touchs some other piece, check what rows are fully filled and move those which are over it.
Don't know if it will help you :)
Cheers
Similar Messages
-
I recently upgraded to IOS 10.9.5 and now I can't export anything from final cut Pro X. Could somebody please help me with this?
SSign in to the App Store using the Apple ID that was used to purchase the software.
-
Can somebody please help me with this? Security code issue; very small code
Hi All, Iam a Unix admin and trying to learn Java/weblogic. I have a JSP and iam trying to run on my weblogic 81 Service Pack version 3.
My following code failed to work and giving me some security exceptions. Then in my weblogic console i saw
Domain Wide Security Settings > Anonymous Admin Lookup Enabled
The above checkbox is disabled. When i enabled, it worked. I talked to my company "Security" folks and they do not allow this checkbox to be enabled. they are saying fix your code problem......
if somebody can please let me know what a probable fix would, that be great and very helpful.
try{
Environment env = new Environment();
javax.naming.InitialContext ic = new InitialContext();
MBeanHome home = (MBeanHome) ic.lookup(MBeanHome.LOCAL_JNDI_NAME);
DomainMBean dom = home.getActiveDomain();
Set s = home.getMBeansByType("ServerRuntime");
ServerRuntimeMBean srmb = (ServerRuntimeMBean) s.iterator().next();
WebLogicObjectName on = new WebLogicObjectName(home.getDomainName()+":Location="+srmb.getName()+",Name="+srmb.getName()+",Type=ServerConfig");
//WebLogicObjectName on = new WebLogicObjectName(Name="+srmb.getName()+",Type="ServerConfig",Domain="+home.getDomainName()+",Location="+srmb.getName()+");
ServerMBean server = (ServerMBean) home.getMBean(on);
ClusterMBean cluster = null;
if( server != null)
cluster = server.getCluster();did i asked such a dumb question? ... :)Well, yes, sort of. The problem description "My following code failed to work and giving me some security exceptions" doesn't have nearly enough details. Such as, what exceptions, what is it supposed to do, what did it do instead, that sort of thing.
-
Can somebody please help me with this Panic Report?
Hi Guys,
I am having a little difficulty deciphering these panic reports we keep getting from our Mac Pro here.
They've been crashing our Mac ever since we got our Hasselblad Camera back from Hasselblad repair however after submitting logs to Hasselblad they tell us its to do with the power management of the Mac... Can anyone tell me anymore ?
Interval Since Last Panic Report: 283350 sec
Panics Since Last Report: 2
Anonymous UUID: 49A4EEED-A350-42FA-B6D4-7E741BBFDBA5
Fri Feb 18 08:57:33 2011
Machine-check capabilities (cpu 1) 0x0000000000000806:
family: 6 model: 23 stepping: 6 microcode: 1547
Intel(R) Xeon(R) CPU E5462 @ 2.80GHz
6 error-reporting banks
threshold-based error status present
Machine-check status 0x0000000000000005:
restart IP valid
machine-check in progress
MCA error-reporting registers:
IA32MC0STATUS(0x401): 0x1000000020000000 invalid
IA32MC1STATUS(0x405): 0x0000000000000000 invalid
IA32MC2STATUS(0x409): 0x0000000000000000 invalid
IA32MC3STATUS(0x40d): 0x0020000000000000 invalid
IA32MC4STATUS(0x411): 0x0000000000000011 invalid
IA32MC5STATUS(0x415): 0xb200001080200e0f valid
MCA error code: 0x0e0f
Model specific error code: 0x8020
Other information: 0x00000010
Threshold-based status: No tracking
Status bits:
Processor context corrupt
Error enabled
Uncorrected error
panic(cpu 1 caller 0x2a9d27): Machine Check at 0x0105c58d, thread:0xde547a8, trapno:0x12, err:0x0,registers:
CR0: 0x80010033, CR2: 0x759ab090, CR3: 0x00100000, CR4: 0x00000660
EAX: 0x00000000, EBX: 0x0d4c00c0, ECX: 0x00000001, EDX: 0x00000000
ESP: 0x85793a00, EBP: 0x85793a38, ESI: 0x0d496800, EDI: 0x01067388
EFL: 0x00000006, EIP: 0x0105c58d
Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
0x7c23afb8 : 0x21b50c (0x5d4438 0x7c23afec 0x223974 0x0)
0x7c23b008 : 0x2a9d27 (0x595f04 0x595ff1 0x105c58d 0xde547a8)
0x7c23b0f8 : 0x2a1912 (0x1 0x55aa5 0x0 0x510e1a)
0x85793a38 : 0x1051fc0 (0x7c1dd0a4 0x1 0xd496800 0x0)
0x85793b28 : 0x105351c (0x4646aba7 0x80000142 0x0 0x0)
0x85793be8 : 0x2abb32 (0xffffffff 0x7fffffff 0x85793c28 0x7c1e6000)
0x85793c08 : 0x22584d (0x7c1e649c 0x4646aa44 0x142 0x7c1e6488)
0x85793c68 : 0x22661f (0x1 0xde547a8 0xd4d3c58 0x142)
0x85793cd8 : 0x227243 (0xde547c4 0x299e72b6 0x85793d68 0x86)
0x85793d48 : 0x2272e7 (0x48a3f9 0x0 0x0 0xdaeb000)
0x85793d68 : 0x48a201 (0x48a3f9 0xd7764c8 0x85793d88 0x2a358d)
0x85793dd8 : 0x49732c (0x0 0x0 0x4975c0 0x0)
0x85793ed8 : 0x497b89 (0x0 0x1 0xe444c10 0x0)
0x85793f78 : 0x4f1053 (0xdc927e0 0xe444ba0 0xe444be4 0x48a556)
0x85793fc8 : 0x2a0ef8 (0xe4360e0 0x0 0x10 0x0)
Kernel Extensions in backtrace (with dependencies):
com.apple.driver.AppleIntelCPUPowerManagement(105.13.0)@0x1050000->0x106dfff
BSD process name corresponding to current thread: rsync
Mac OS version:
10J567
Kernel version:
Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
System model name: MacPro3,1 (Mac-F42C88C8)
System uptime in nanoseconds: 1384158802011
unloaded kexts:
com.apple.driver.AppleFileSystemDriver 2.0 (addr 0xe90000, size 0x12288) - last unloaded 93634437466
loaded kexts:
com.SiliconImage.driver.Si3132 1.2.3
com.apple.filesystems.afpfs 9.7 - last loaded 771679366985
com.apple.nke.asp_tcp 5.0
com.apple.driver.AppleHWSensor 1.9.3d0
com.apple.driver.AppleUpstreamUserClient 3.4.5
com.apple.driver.AppleMCCSControl 1.0.17
com.apple.driver.AppleHDA 1.9.9f12
com.apple.driver.AudioAUUC 1.13
com.apple.GeForce 6.2.6
com.apple.DontSteal_Mac_OSX 7.0.0
com.apple.driver.AudioIPCDriver 1.1.6
com.apple.driver.AppleMCEDriver 1.1.9
com.apple.driver.AppleIntelPenrynProfile 17
com.apple.driver.ACPISMCPlatformPlugin 4.5.0d5
com.apple.driver.AppleLPC 1.4.12
com.apple.filesystems.autofs 2.1.0
com.apple.driver.Oxford_Semi 2.5.8
com.apple.iokit.SCSITaskUserClient 2.6.5
com.apple.BootCache 31
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.iokit.IOAHCIBlockStorage 1.6.3
com.apple.driver.AppleIntel8254XEthernet 2.1.1b7
com.apple.driver.AppleFWOHCI 4.7.1
com.apple.driver.AppleUSBHub 4.1.7
com.apple.driver.AppleAHCIPort 2.1.5
com.apple.driver.AppleIntelPIIXATA 2.5.1
com.apple.driver.AppleEFINVRAM 1.4.0
com.apple.driver.AppleUSBEHCI 4.1.7
com.apple.driver.AppleUSBUHCI 4.1.5
com.apple.driver.AppleACPIButtons 1.3.5
com.apple.driver.AppleRTC 1.3.1
com.apple.driver.AppleHPET 1.5
com.apple.driver.AppleSMBIOS 1.6
com.apple.driver.AppleACPIEC 1.3.5
com.apple.driver.AppleAPIC 1.4
com.apple.driver.AppleIntelCPUPowerManagementClient 105.13.0
com.apple.security.sandbox 1
com.apple.security.quarantine 0
com.apple.nke.applicationfirewall 2.1.11
com.apple.driver.AppleIntelCPUPowerManagement 105.13.0
com.apple.driver.AppleProfileReadCounterAction 17
com.apple.driver.DspFuncLib 1.9.9f12
com.apple.driver.AppleProfileTimestampAction 10
com.apple.driver.AppleProfileThreadInfoAction 14
com.apple.driver.AppleProfileRegisterStateAction 10
com.apple.driver.AppleProfileKEventAction 10
com.apple.driver.AppleProfileCallstackAction 20
com.apple.nvidia.nv50hal 6.2.6
com.apple.NVDAResman 6.2.6
com.apple.iokit.IONDRVSupport 2.2
com.apple.iokit.IOFireWireIP 2.0.3
com.apple.iokit.IOSurface 74.2
com.apple.iokit.IOBluetoothSerialManager 2.3.8f7
com.apple.iokit.IOSerialFamily 10.0.3
com.apple.iokit.IOAudioFamily 1.8.0fc1
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleHDAController 1.9.9f12
com.apple.iokit.IOGraphicsFamily 2.2
com.apple.iokit.IOHDAFamily 1.9.9f12
com.apple.iokit.AppleProfileFamily 41
com.apple.driver.AppleSMC 3.1.0d3
com.apple.driver.IOPlatformPluginFamily 4.5.0d5
com.apple.driver.CSRUSBBluetoothHCIController 2.3.8f7
com.apple.driver.AppleUSBBluetoothHCIController 2.3.8f7
com.apple.iokit.IOBluetoothFamily 2.3.8f7
com.apple.iokit.IOSCSIBlockCommandsDevice 2.6.5
com.apple.driver.AppleUSBHIDKeyboard 141
com.apple.driver.AppleHIDKeyboard 141
com.apple.iokit.IOUSBHIDDriver 4.1.5
com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.0.1
com.apple.iokit.IOFireWireSBP2 4.0.6
com.apple.driver.AppleUSBMergeNub 4.1.5
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.5
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.6
com.apple.iokit.IOCDStorageFamily 1.6
com.apple.driver.XsanFilter 402.1
com.apple.iokit.IOATAPIProtocolTransport 2.5.1
com.apple.iokit.IOSCSIParallelFamily 2.0.1
com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5
com.apple.iokit.IONetworkingFamily 1.9
com.apple.iokit.IOFireWireFamily 4.2.6
com.apple.iokit.IOUSBUserClient 4.1.5
com.apple.iokit.IOAHCIFamily 2.0.4
com.apple.iokit.IOATAFamily 2.5.1
com.apple.iokit.IOUSBFamily 4.1.7
com.apple.driver.AppleEFIRuntime 1.4.0
com.apple.iokit.IOHIDFamily 1.6.5
com.apple.iokit.IOSMBusFamily 1.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 6
com.apple.driver.DiskImages 289
com.apple.iokit.IOStorageFamily 1.6.2
com.apple.driver.AppleACPIPlatform 1.3.5
com.apple.iokit.IOPCIFamily 2.6
com.apple.iokit.IOACPIFamily 1.3.0
Model: MacPro3,1, BootROM MP31.006C.B05, 8 processors, Quad-Core Intel Xeon, 2.8 GHz, 8 GB, SMC 1.25f4
Graphics: NVIDIA GeForce 8800 GT, NVIDIA GeForce 8800 GT, PCIe, 512 MB
Memory Module: global_name
Bluetooth: Version 2.3.8f7, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet 1, Ethernet, en0
PCI Card: pci1095,3132, sppci_othermassstorage, Slot-3
PCI Card: NVIDIA GeForce 8800 GT, Display, Slot-1
Serial ATA Device: WDC WD5000AAKS-41YGA0, 465.76 GB
Serial ATA Device: WDC WD5001AALS-00E3A0, 465.76 GB
Parallel ATA Device: OPTIARC DVD RW AD-7170A
USB Device: Keyboard Hub, 0x05ac (Apple Inc.), 0x1006, 0xfd500000
USB Device: Optical Mouse, 0x0458 (KYE Systems Corp. (Mouse Systems)), 0x003a, 0xfd510000
USB Device: Apple Keyboard, 0x05ac (Apple Inc.), 0x0221, 0xfd520000
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8206, 0x5d200000
FireWire Device: built-in_hub, Up to 800 Mb/sec
FireWire Device: Ixpress X29, Hasselblad, Up to 400 Mb/sec
Many Thanks,
Simon.I've also got several other Panic Logs relating to the same issues i believe:
I've also found this is a crucial factor of the Panic report:
Kernel Extensions in backtrace (with dependencies):
com.apple.driver.AppleIntelCPUPowerManagement(105.13.0)@0x1050000->0x106dfff
Other Report im looking through:
Interval Since Last Panic Report: 283561 sec
Panics Since Last Report: 1
Anonymous UUID: 49A4EEED-A350-42FA-B6D4-7E741BBFDBA5
Thu Feb 17 15:32:18 2011
Machine-check capabilities (cpu 3) 0x0000000000000806:
family: 6 model: 23 stepping: 6 microcode: 1547
Intel(R) Xeon(R) CPU E5462 @ 2.80GHz
6 error-reporting banks
threshold-based error status present
Machine-check status 0x0000000000000005:
restart IP valid
machine-check in progress
MCA error-reporting registers:
IA32MC0STATUS(0x401): 0x1000000020000000 invalid
IA32MC1STATUS(0x405): 0x0000000000000000 invalid
IA32MC2STATUS(0x409): 0x0000000000000000 invalid
IA32MC3STATUS(0x40d): 0x0020000000000000 invalid
IA32MC4STATUS(0x411): 0x0000000000000011 invalid
IA32MC5STATUS(0x415): 0xb200000080200e0f valid
MCA error code: 0x0e0f
Model specific error code: 0x8020
Other information: 0x00000000
Threshold-based status: No tracking
Status bits:
Processor context corrupt
Error enabled
Uncorrected error
panic(cpu 3 caller 0x2a9d27): Machine Check at 0x0105c58d, thread:0xd4d4b7c, trapno:0x12, err:0x0,registers:
CR0: 0x8001003b, CR2: 0x7dfe7000, CR3: 0x00100000, CR4: 0x00000660
EAX: 0x00000000, EBX: 0x0d4c01c0, ECX: 0x00000001, EDX: 0x00000000
ESP: 0x856d3c20, EBP: 0x856d3c58, ESI: 0x0d496800, EDI: 0x01067388
EFL: 0x00000006, EIP: 0x0105c58d
Backtrace (CPU 3), Frame : Return Address (4 potential args on stack)
0x7c290fb8 : 0x21b50c (0x5d4438 0x7c290fec 0x223974 0x0)
0x7c291008 : 0x2a9d27 (0x595f04 0x595ff1 0x105c58d 0xd4d4b7c)
0x7c2910f8 : 0x2a1912 (0x1 0x87c70000 0xf4 0x3f800000)
0x856d3c58 : 0x1051fc0 (0x7c1fd0a4 0x1 0xd496800 0x0)
0x856d3d48 : 0x105351c (0x3636c554 0x80000011 0x0 0x0)
0x856d3e08 : 0x2abb32 (0xffffffff 0x7fffffff 0x856d3e48 0x7c206000)
0x856d3e28 : 0x22584d (0x7c20649c 0x3636c3e2 0x11 0x7c206488)
0x856d3e88 : 0x22661f (0x1 0xd4d4b7c 0xd4c1884 0x0)
0x856d3ef8 : 0x227243 (0xd4d4b98 0xd4d4b98 0x856d3f58 0x2329f0)
0x856d3f68 : 0x2272c4 (0x54ba1c 0xd3fa9c0 0x0 0x7c206000)
0x856d3f88 : 0x54bad8 (0x54ba1c 0xd3fa9c0 0x0 0x2a9ef2)
0x856d3fc8 : 0x2a06cc (0xd3fa9c0 0x0 0x10 0xe68c284)
Kernel Extensions in backtrace (with dependencies):
com.apple.driver.AppleIntelCPUPowerManagement(105.13.0)@0x1050000->0x106dfff
BSD process name corresponding to current thread: kernel_task
Mac OS version:
10J567
Kernel version:
Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
System model name: MacPro3,1 (Mac-F42C88C8) -
i brought a iTunes card and the the code on the back is not there it has faded away can u please help me with this problem
Hi Daniel ...
Try here > iTunes Store: Invalid, inactive, or illegible codes -
I'm not able to download apps from App Store. It never downloads and it shows waiting status.can somebody please help me resolve this issue
I really do not think it is the iPad or your network connection. Other users have reported this very same issue. Try this and see if it works for you - it may not work - but it's easy to try - harmless - and it has worked in the past for others.
Try signing out of your account and restart your iPad.
Go to Settings>Store>Apple ID and tap the ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. Go back to Settings>Store> Apple ID and sign in again. -
Hi Everyone...Please help me with this query...!
Please Help me with this doubt as I am unable to understand the logic...behind this code. It's a begineer level code but I need to understand the logic so that I am able to grasp knowledge. Thank you all for being supportive. Please help me.
//Assume class Demo is inherited from class SuperDemo...in other words class Demo extends SuperDemo
//Volume is a method declared in SuperDemo which returns an integer value
//weight is an integer vairable declared in the subclass which is Demo
class Example
public static void main(String qw[])
Demo ob1=new Demo(3,5,7,9);
//Calling Constructor of Demo which takes in 4 int parameters
SuperDemo ob2=new SuperDemo();
int vol;
vol=ob1.volume();
System.out.println("Volume of ob1 is " + vol);
System.out.println("Weight of ob1 is " + ob1.weight);
System.out.println();
ob2=ob1;
}Can someone please make me understand --- how is this possible and why !
If the above statement is valid then why not this one "System.out.println(ob2.weight);"
Thanks Thanks Thanks!u see the line wherein I am referencing the objectof
a subclass to the superclass...right? then why we
can't do System.out.println(ob2.weight)?You need to distinguish two things:
- the type of the object, which determines with the
object can do
- the type of the reference to the object, which
determines what you see that you can do
Both don't necessarily have to match. When you use a
SuperDemo reference (obj2) to access a Demo instance
(obj1), for all you know, the instance behind obj2 is
of type SuperDemo. That it's in reality of type Demo
is unknown to you. And usually, you don't care -
that's what polymorphism is about.
So you have a reference obj2 of type SuperDemo.
SuperDemo objects don't have weight, so you don't see
it - even though it is there.So from ur explanation wat I understand is - Even though u reference a subclass object to a superclass, u will only be able to access the members which are declared in the superclass thru the same...right
? -
Please help me with this statement
Hi gurus, glad to be back!
Please help me with this XML processing statement. The XMl I get is like this,
<EnumerationValue description="Motor Carriers-Operate w/o Certificate or Permit"
effectiveDate="1859-01-01">
<Text>26</Text>
<AssociatedValue type="SeverityLevelText" code="MSD">
<Text>Misdemeanor</Text>
</AssociatedValue>
<AssociatedValue type="SeverityLevelText" code="PMD">
<Text>Petty Misdemeanor</Text>
</AssociatedValue>
<AssociatedValue type="StatuteOrdinanceRuleCite">
<Text>221.291.4</Text>
</AssociatedValue>
I need to get the number value from <Text>26</Text>, the attribute description and the text value of <Text>221.291.4</Text> inside one of those AssociatedValue node. The following is what I have, though I get the 26, I do not get the description and I get the Misdemeanor, Petty Misdemeanor concatenated with the text value of <Text>221.291.4</Text>. The output I get is this,
26
MisdemeanorPetty Misdemeanor221.291.4MisdemeanorPe
4
MisdemeanorPetty Misdemeanor221.291.4MisdemeanorPe
My Code:
declare
v_xml sys.xmltype;
v_sid number;
v_SText varchar2(50);
begin
v_xml := sys.xmltype('<SimpleTypeCompanion>
<EnumerationValue description="Motor Carriers-Operate w/o Certificate or Permit" effectiveDate="1859-01-01">
<Text>26</Text>
<AssociatedValue type="SeverityLevelText" code="MSD">
<Text>Misdemeanor</Text>
</AssociatedValue>
<AssociatedValue type="SeverityLevelText" code="PMD">
<Text>Petty Misdemeanor</Text>
</AssociatedValue>
<AssociatedValue type="StatuteOrdinanceRuleCite">
<Text>221.291.4</Text>
</AssociatedValue>
</EnumerationValue>
<EnumerationValue description="Police Communication Equipment-Possession, Use-First Offense-M" effectiveDate="1859-01-01">
<Text>4</Text>
<AssociatedValue type="SeverityLevelText" code="MSD">
<Text>Misdemeanor</Text>
</AssociatedValue>
<AssociatedValue type="SeverityLevelText" code="PMD">
<Text>Petty Misdemeanor</Text>
</AssociatedValue>
<AssociatedValue type="StatuteOrdinanceRuleCite">
<Text>299C.37.1(b)</Text>
</AssociatedValue>
</EnumerationValue>
</SimpleTypeCompanion>');
---dbms_output.put_line(v_xml.getStringVal());
declare
cursor c_statutes is
select ms.* from
xmltable('for $s in /SimpleTypeCompanion/EnumerationValue/Text
let $sa := /SimpleTypeCompanion/EnumerationValue/AssociatedValue
let $sd := /SimpleTypeCompanion/EnumerationValue/@description
where $sa/@type = "StatuteOrdinanceRuleCite"
return
<MyStatutes>
<TextID>{$s}</TextID>
<SDesc>{$sd/@description}</SDesc>
<StatuteNumber>{$sa/Text}</StatuteNumber>
</MyStatutes>'
passing v_xml
columns
myTextID number path '/MyStatutes/TextID',
mySDesc varchar2(150) path '/MyStatutes/SDesc',
myStatute varchar2(50) path '/MyStatutes/StatuteNumber'
) ms;
begin
for v_s in c_statutes loop
dbms_output.put_line(v_s.myTextID);
dbms_output.put_line(v_s.MySDesc);
dbms_output.put_line(v_s.myStatute);
end loop;
end;
end;
Please show me the correct way to get the result I want.
Thanks a lot!
BenSQL> var xmltext varchar2(4000)
SQL> --
SQL> begin
2 :xmltext :=
3 '<SimpleTypeCompanion>
4 <EnumerationValue description="Motor Carriers-Operate w/o Certificate or Permit" effectiveDate="1859-01-01">
5 <Text>26</Text>
6 <AssociatedValue type="SeverityLevelText" code="MSD">
7 <Text>Misdemeanor</Text>
8 </AssociatedValue>
9 <AssociatedValue type="SeverityLevelText" code="PMD">
10 <Text>Petty Misdemeanor</Text>
11 </AssociatedValue>
12 <AssociatedValue type="StatuteOrdinanceRuleCite">
13 <Text>221.291.4</Text>
14 </AssociatedValue>
15 </EnumerationValue>
16 <EnumerationValue description="Police Communication Equipment-Possession, Use-First Offense-M" effectiveDate="1859-01-01">
17 <Text>4</Text>
18 <AssociatedValue type="SeverityLevelText" code="MSD">
19 <Text>Misdemeanor</Text>
20 </AssociatedValue>
21 <AssociatedValue type="SeverityLevelText" code="PMD">
22 <Text>Petty Misdemeanor</Text>
23 </AssociatedValue>
24 <AssociatedValue type="StatuteOrdinanceRuleCite">
25 <Text>299C.37.1(b)</Text>
26 </AssociatedValue>
27 </EnumerationValue>
28 </SimpleTypeCompanion>';
29 end;
30 /
PL/SQL procedure successfully completed.
SQL> set lines 150
SQL> --
SQL> select ms.*
2 from xmltable
3 (
4 '/SimpleTypeCompanion/EnumerationValue'
5 passing xmltype(:xmltext)
6 columns
7 DESCRIPTION varchar2(32) path '@description',
8 STATUTE_ID number(2) path 'Text/text()',
9 STATUTE_RULE_CITE varchar2(16) path 'AssociatedValue[@type="StatuteOrdinanceRuleCite"]/Text/text()',
10 MSD_TEXT varchar2(10) path 'AssociatedValue[@code="MSD"]/Text/text()',
11 PMD_TEXT varchar2(10) path 'AssociatedValue[@code="PMD"]/Text/text()'
12 ) ms
13 /
DESCRIPTION STATUTE_ID STATUTE_RULE_CIT MSD_TEXT PMD_TEXT
Motor Carriers-Operate w/o Certi 26 221.291.4 Misdemeano Petty Misd
Police Communication Equipment-P 4 299C.37.1(b) Misdemeano Petty Misd
SQL>
SQL> -
I just bought this movie "Godzilla 2014" but it won't show in my Movie Library. I closed my Itunes and put it back on again but still won't show up. I checked my purchased list and it shows that I recently bought the movie but when I checked the itunes store it wants to buy the movie again. Please help me with this right away Apple.
Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
To contact product and tech support: Contacting Apple for support and service - this includes
international calling numbers..
For Mac App Store: Apple - Support - Mac App Store.
For iTunes: Apple - Support - iTunes. -
Hello, Honestly I just updated my 4s and my iPad 3 to iOS 6 and when try to press on the Music app or the iTunes app it says "cannot connect to iTunes Store" Could you please help me with this thank you so much, Charbel from Lebanon
See these previous discussions help.
App Store Updates (but only Updates)...: Apple Support Communities
Apps suddenly don't update: Apple Support Communities -
I cannot install Itunes and Icloud on my Sony Vaio Laptop - Window 7. Error says " computer/system not modified". Please help me with this problem.
Hello there, jag123059.
The following Knowledge Base article offers up some great steps to follow for resolving issues with installing iTunes:
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/ht1926
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
I would like to create a view on this table with four columns
1. PN#_EXP_DATE
2. PN#
3. PN#_EFF_DATE
4. PN#
P_S_C A_C P EXP_DT
21698 13921 1 5/29/2009 3:15:41 PM
21698 13921 1 5/29/2009 3:54:57 PM
21698 1716656 4 5/29/2009 3:15:41 PM
21698 3217 3 5/29/2009 3:15:40 PM
21698 3217 3 5/29/2009 3:54:57 PM
21698 60559 2 5/29/2009 3:15:41 PM
21698 60559 2 5/29/2009 3:54:57 PM
I have a trigger on A, which inserts the DML records into B. (Table A and B structure is the almost the same,
where table B will have one extra column exp_dt)
NOw Table B can have records with same P_S_C and A_C columns and exp_dt will capture the history.
for example: from the above sample data, let us take first two records..
P_S_C A_C P EXP_DT
21698 13921 1 5/29/2009 3:15:41 PM --- Record 1
21698 13921 1 5/29/2009 3:54:57 PM --- Record 2
from this..
Note: 1. Table A and Table C can be joined using A.P_S_C and C.R_C to get the start_date.
2. PN# comes from table D. It contains numbers for the resp. weeks.
3. PN#_EFF_DATE is the previous immediate previous date for that record in history table (Table B).
I wanted the data like..
---- this is for the second record in the above..
PN#_EXP_DATE PN# PN#_EFF_DATE PN#
5/29/2009 3:54:57 PM 214 5/29/2009 3:15:41 PM 214
---- this is for the first record in the above..
PN#_EXP_DATE PN# PN#_EFF_DATE PN#
5/29/2009 3:54:41 PM 214 ( for this we should query the table C to get the
start_date, for this combinatation of P_S_C and A_C in table B
where B.P_S_C = C.A_C
and that value should be the EFF_DT for this record)
Please help me with this....
Thanks in advance..Hi All,
select d.P# as "PN#_EXP_DATE", exp_date
from daily_prd d, cbs1_assoc_hist b
where to_char(d.day_date,'MM/DD/YYYY') = to_char(b.exp_date,'MM/DD/YYYY')
and d.period_type = 'TIMEREPORT';
This above query gives the output as follows:
pn#_exp_date exp_date
214 5/29/2009 3:15:40 PM
214 5/29/2009 3:15:41 PM
214 5/29/2009 3:15:41 PM
214 5/29/2009 3:15:41 PM
214 5/29/2009 3:54:57 PM
214 5/29/2009 3:54:57 PM
214 5/29/2009 3:54:57 PM
This below is the data from history table (Table B).
P_S_C A_C PLACE EXP_DATE
21698 3217 3 5/29/2009 3:15:40 PM
21698 13921 1 5/29/2009 3:15:41 PM
21698 1716656 4 5/29/2009 3:15:41 PM
21698 60559 2 5/29/2009 3:15:41 PM
21698 13921 1 5/29/2009 3:54:57 PM
21698 3217 3 5/29/2009 3:54:57 PM
21698 60559 2 5/29/2009 3:54:57 PM
I got the pn#_exp_date from the Table 'D', for the given exp_date from Table B.
My question is again....
CASE - 1
from the given records above, I need to look for exp_date for the given same P_S_C and A_C.
in this case we can take the example...
P_S_C A_C PLACE EXP_DATE
21698 3217 3 5/29/2009 3:15:40 PM
21698 3217 3 5/29/2009 3:54:57 PM
In this case, the
pn#_exp_date exp_date pn#_eff_date eff_date
214 5/29/2009 3:15:57 PM < PN# corresponding to the 5/29/2009 3:15:40 PM
eff_date .>
<Basically the eff_date is
nothing but the exp_date only.
we should take the immediate before one.
In this case, our eff_date is '5/29/2009 3:15:40 PM'.
but how to get this.
CASE - 2
from the above sample data, consider this
P_S_C A_C PLACE EXP_DATE
21698 1716656 4 5/29/2009 3:15:41 PM
In this case, there is only one record for the P_S_C and A_C combination.
The expected result :
pn#_exp_date exp_date pn#_eff_date eff_date
214 5/29/2009 3:15:41 PM < PN# corresponding to the 5/29/2009 3:15:40 PM
eff_date .>
<Basically the eff_date is
nothing but the exp_date only.
we should take the immediate before one.
In this case to get the eff_date, we should query the Table 'C', to get the eff_date, which is START_DT column in this table.
for this join B.P_S_C and C.R_C.
Hope I am clear now..
Thanks in advance..... -
Hey guy can you please help me with this issue PLEASE!
Hey Apple can you please help me with this issue, i have a iPhone 3gs and when i put my sim card into the iPhone it makes iphone 3gs shut down suddenly how do i fix that?
iPhone version: 6.0.1
service provider: Vodafone nzYou could restarting your phone that sometimes fixes issues
Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for phone to restart (no data will be lost). -
Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!
http://support.apple.com/kb/HT1553Repair permissions and restart your computer. If this does not work, zap the pram. You should now see your external hard drive.
-
Can anyone please help me with this error: "Apple application support was not found... Error 2"
I've followed the instructions by removing all Apple files from my laptop, but when I reinstall the iTunes software it still comes up with this message:
"Apple application support is required to run iTunesHelper. Please uninstall iTunes, then install iTunes again. Error 2"
Thank youiTunes "Apple Application Support is required... Error 2" and possible fix.
I know this is a bit late but I came accross this thread trying to resolve this same problem and came up with a solution that worked for me, so thought I would share it here too. I hope it helps someone else.
I just resolved this on Win Vista (should apply equally for Win7 too). Please uninstall iTunes before proceeding though. I'll walk you through the process I followed, if you like you can jump straight to the Solution section.
Problems:
The initial error during the installation of iTunes was:
An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken='1fc8b 3b9a1e18e3b",processorarchitecture="x86". Please refer to Help and Support for more information. HRESULT:0x8007054F
The error (after installing iTunes) when trying to run iTunes was:
Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
After trying various fixes around the forums I came across this MSKB article, which relates to the first installation error:
http://support.microsoft.com/kb/2688946
This lead me to trying to install MS Visual C++ but I received the following error trying to install that:
Error 1935.An error occurred during the installation of assembly ‘Microsoft.VC80.ATL,type=”win32”,version=”8.0.50727.762”,publicKeyToken=”1fc8b3 b9a1e18e3b”,processorArchitecture=”amd64”’. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. Assembly interface: IassemblyCacheItem, function: Commit, component: {837BF1EB-D770-94EB-A01F-C8B3B9A1E18E}
Note: The installation of VC++ rolls back when it fails.
Solution:
Through this error I found this MSKB article:
http://support.microsoft.com/kb/946414
The Automated MS "Fix It" msi package didn’t work.
Note: Please backup your registry first (see the above MSKB article for instructions).
I opened the registry and (as instructed in the MSKB article) deleted the following keys:
HKEY_LOCAL_MACHINE\COMPONENTS\
PendingXmlIdentifier
NextQueueEntryIndex
AdvancedInstallersNeedResolving
Reboot and reinstall iTunes.
If it helps you please like this so others can find it.
Maybe you are looking for
-
Why is the printed photo much darked than what is displayed on the monitor? How do I balance the two?
-
CS4 Design Premium - Extracting Problem
Hi, Has anyone encountered this problem? "A problem occurred while extracting the archive. Please try downloading the Adobe CS4 Design Premium again" I have downloaded Adobe CS4 twice but I still keep on receiving this error message. I have already e
-
Okay so I have two questions here 1) How do you sync two cameras together? For example I will be filming a school event and I want to make sure they are both synched up so that when I go into post editing it will be very simple to use the MultiCam fu
-
Can't understand proxy created in Application Panel Components
Hi, For nearly two weeks I have been unable to connect to an SAP web service. I am using the Dreamweaver > Application Panel > Components Tab to create a web services proxy. When it creates the ColdFusion proxy, I see 15 functions under the "structs"
-
Has anyone else had trouble with appointments disappearing mysteriously off of your calendars? Any idea what could be going on? Up until tonight I kept thinking possibly it might be "User Error" and that maybe I had just not entered an appointment