integrity constraint violated parent key not found
◷
تاریخ انتشار: 1395/1/28 | ساعت: 22:06
Vote count: 0 So this is my table that i am trying to create in ORACLE. When i try to insert data into this table, i get "ORA-02291: integrity constraint (DB_1.SYS_C007440) violated - parent key not found". Can anyone please tell me where i am going wrong. DROP TABLE customer CASCADE CONSTRAINTS; CR...
Swift: push to a new view controller without previous controllers (but animated)
◷
تاریخ انتشار: 1395/1/28 | ساعت: 22:06
Vote count: 0 I would like to push from ViewController1 to ViewController2, without ViewController1 in the navigation stack. (animated) This will not have animation: self.navigationController?.viewControllers = [ViewController2()] This will not have animation too: UIView.animateWithDuration(0.3) { s...
Postgres 9.5: Non-zero xmax of a row refenced as a foreign key
◷
تاریخ انتشار: 1395/1/28 | ساعت: 20:15
Vote count: 0 According to http://www.postgresql.org/docs/current/static/ddl-system-columns.html: xmax - The identity (transaction ID) of the deleting transaction, or zero for an undeleted row version. It is possible for this column to be nonzero in a visible row version. That usually indicates that...
How to buffer audio using AVPlayer on iOs in SWIFT
◷
تاریخ انتشار: 1395/1/28 | ساعت: 20:15
Vote count: 0 This is my first steps in Swift (i usually use c#, ASP.NET) and I want to play stream audio from the inte et. I wrote code that plays stream but it don't have any buffer so if signal is weak application stop playing audio. This is my code: import UIKit import AVFoundation import MediaP...
I am not able to edit my products in backend
◷
تاریخ انتشار: 1395/1/28 | ساعت: 20:15
Vote count: 0 I am not able to edit my products in backend. it is giving error as Exception printing is disabled by default for security reasons. i also check the report: Source model "tpl_eventsmanager/event_source" not found for attribute "events" ` Trace: #0 /home/dme/public_html/app/code/core/Ma...
Increase UISlider height without using image
◷
تاریخ انتشار: 1395/1/28 | ساعت: 19:08
Vote count: 0 I want to increase UISlider height using color or any other way. I do not want to use image. I do not want to set setMaximumTrackImage & setMinimumTrackImage. How can i implement this ? asked 3 mins agoMoni_BQ Let's block ads! (Why?)
generation of well-formed parenthesis with Context free grammar
◷
تاریخ انتشار: 1395/1/28 | ساعت: 19:08
Vote count: -1 I want to product a string of well-formed parenthesis with CFG: S-->(S)S | landa The question here is how can this be online algorithm , So that , at any moment could be the string "()" insertion in previous string with Uniform distribution? asked 3 mins agoHAKIME Let's block ads! (Wh...
How to check if a list element contains a regex in Python?
◷
تاریخ انتشار: 1395/1/28 | ساعت: 19:08
Vote count: -1 I have a file with information about sequences. Every sequence has some lines. The sequences are separated by five white lines. I want to change the file into a list, and split it by 5 newlines. So that I have a list, with every sequence as one element. Then I want to remove the seque...
How to make javascript function external which is having PHP code inside?
◷
تاریخ انتشار: 1395/1/28 | ساعت: 17:07
Vote count: 0 I want to make my all javascript functions exte al. But problem is most of them are having PHP code inside. For Example- function resend_otp_registration() { var a = 'sample'; $.ajax({ type:'POST', url:'<?php echo base_url()?>admin/customer/resend_otp_registration', data: { a:a, }, suc...
How to get Ideone API password for using Ideone API?
◷
تاریخ انتشار: 1395/1/28 | ساعت: 17:07
Vote count: -1 I am trying to build an app that uses Ideone API for compiling and ru ing programs in C. It can be co ected using WSDL and SOAP Protocol. But it requires API Password and I don't know how to get it. asked 1 min agohimi Let's block ads! (Why?)
Check User Permissions C#
◷
تاریخ انتشار: 1395/1/28 | ساعت: 17:07
Vote count: 0 Is it possible that after the user logs in, the application checks what permissions the user have. Currently I have a User table which also have a foreign key named Access ID. So I want the application to check the Access ID of the logged in user and see whether its a 1 or 2. If its a ...
cisco catalyst 2960x ios access rule to allow ssh between 2 sites
◷
تاریخ انتشار: 1395/1/28 | ساعت: 14:36
Vote count: 0 How would one deny all traffic besides 2 sites (A and B) except ssh? E.g. site A has VLAN 100, site B has VLAN 200. # access-list 100 deny tcp any any # access-list 100 permit tcp any any eq 22 In VLAN 100 SVI: # int vlan 100 # ip access-group 100 out At this point, site A can ssh to s...
google map show "You seem to be using an unsupported browser" on vb web browser
◷
تاریخ انتشار: 1395/1/28 | ساعت: 14:36
Vote count: 0 i want to display google map on my vb project with web browser on toolbox, but when i start run the program why it show "You seem to be using an unsupported browser" please help me fix this problem asked 3 mins agoAlba a Let's block ads! (Why?)
Pycharm bluez No such file or directory
◷
تاریخ انتشار: 1395/1/28 | ساعت: 14:36
Vote count: 0 Pycharm bluez rfcomm-server.py Traceback (most recent call last): File "/home/teytey/PycharmProjects/Server/server.py", line 19, in <module> profiles = [SERIAL_PORT_PROFILE], File "/usr/lib/python2.7/dist-packages/bluetooth/bluez.py", line 176, in advertise_service raise BluetoothError...
I am getting issue with tomcat startup
◷
تاریخ انتشار: 1395/1/28 | ساعت: 13:28
Vote count: 0 I am using tomcat 8.5.0 | jdk 1.8.0 for my application. While starting tomcat I am getting error as "SEVERE: An incompatible version 1.1.33 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.2.2". My Application deployment also not successful. A...
Insert JSON file into MongoDB - JSON has metadata and another list with the actual data
◷
تاریخ انتشار: 1395/1/28 | ساعت: 13:28
Vote count: 0 I used mongoimport -d test -c BB --file=bb.json also I tried mongoimport -d test -c BB --jsonArray --file=bb.json they only insert it as one record instead of multiple records ( 2900 approx ) I know that in MongoDB the data should be in key:value pair and this data is in list for but w...
Robotium setUp() and tearDown() methods
◷
تاریخ انتشار: 1395/1/28 | ساعت: 13:28
Vote count: 0 I have a test class as follows. The methods setUp() and tearDown() run before and after each test case. However, I want these methods to run once in the begi ing of the test suite and in the end. I could not find an a otation like @BeforeClass, @AfterClass. How can I make these methods...
Add up monthly values base on definition on quarter
◷
تاریخ انتشار: 1395/1/28 | ساعت: 11:11
Vote count: 0 Trying to Add up monthly values base on definition on which month belongs to which quarter (so definition can be update): I'm trying to use i er join to achieve but failed: SELECT qr, sum(price) FROM Table1 INNER JOIN Table2 on Table1.mth = Table2.mth INNER JOIN Table3 on Table2.qr = T...
Emails can't send in laravel 5 project
◷
تاریخ انتشار: 1395/1/28 | ساعت: 11:11
Vote count: 0 No any errors retu . But can't send emails. public function contact(){ Mail::send('emails.password',['j'=>'grt'],function($message){ $message->to('abc@gmail.com','efe')->from('def@gmail.com')->subject('esf'); }) retu view('contact'); } asked 38 secs agoM.David Let's block ads! (Why?)
Is there any difference between A a; and A a = A()?
◷
تاریخ انتشار: 1395/1/28 | ساعت: 11:11
Vote count: 0 Is there any difference between A a; and A a = A()? Here A is a class. asked 33 secs agoJunGor Let's block ads! (Why?)