fopen() [function.fopen] error
◷
تاریخ انتشار: 1395/3/19 | ساعت: 9:01
Vote count: 0 I am developing a system and I got this error when I tried to upload .csv file into database. Wa ing: fopen() [function.fopen]: Filename ca ot be empty in C:xampphtdocscubaanimportcsv.php on line 14 which refer to my coding, if(isset($_POST["submit"])) { $file = $_FILES['file']['tmp_na...
How can I bubble errors on Promises without calling `catch` at every level?
◷
تاریخ انتشار: 1395/3/19 | ساعت: 7:55
Vote count: 0 I'm struggling to figure out how to properly bubble errors with promises. Specifically, what I'm talking about is a situation where there is nested promises. I want to be able to implictly pass the resolve and reject functions to the nested promise. It'll be more obvious what I mean by...
Please help, I cannot get visual studio to run projects on my browser. I would like to attach a process. Can someone please help me get started?
◷
تاریخ انتشار: 1395/3/19 | ساعت: 7:55
Vote count: 0 I feel really silly asking this. I have worked within visual studio over 1,000 times. I'm trying to figure out how to attach a browser to my project so that I can view the solution. Literally every time I try to run a file and click the 'play' button. there is no browser listed. pictur...
python brute force - ZIXEM challenge
◷
تاریخ انتشار: 1395/3/19 | ساعت: 7:55
Vote count: 0 what my problem with my code ? i try many combine but the compiler said ERROR import mechanize import itertools br = mechanize.Browser() br.set_handle_equiv(True) br.set_handle_redirect(True) br.set_handle_referer(True) br.set_handle_robots(False) br.open("http://www.zixem.altervista.o...
Pandas time series asfreq - how to use linear interpolation?
◷
تاریخ انتشار: 1395/3/19 | ساعت: 5:20
Vote count: 0 I'm using Pandas time series and I'm interested in using asfreq. I was looking at the docuentation and the how parameter in particular. Seems like interpolation is not an option. Can I add a custom method here or am I limited to the ones listed in the docs? If so, what would be the bes...
Quartz Scheduler Administration Page: Information about misfired triggers
◷
تاریخ انتشار: 1395/3/19 | ساعت: 5:20
Vote count: 0 We have a Java application (ESB) that uses quartz 2.2.1 and we use it to scheduler hundreds of user jobs. I want to build monitoring page (or scheduler administration page) in my application for our users so that they can see if quartz scheduler is ru ing fine or there is any issue in ...
Fit table inside modal element Bootstrap
◷
تاریخ انتشار: 1395/3/19 | ساعت: 5:20
Vote count: 0 I have modal styled with .modal .modal-dialog { width: 80%; }, and I'm trying to fit table-responsive table to fill modal body vertically. Table has only one column, that means it has to change row width in this case I guess. asked 1 min agoRoman Sidorov Let's block ads! (Why?)
Concat remaining bytes from a byte[] to a new full byte[]
◷
تاریخ انتشار: 1395/3/19 | ساعت: 3:55
Vote count: 0 I have a TCP stream coming in and it fills up a 256 byte[]. From there I process the byte array parsing out messages etc. Once I get to < 100 bytes in the first array, I want to take the remaining bytes add them to a new array and then append the new 256 byte array and continue process...
When form submit replace it with inputs value. JavaScript
◷
تاریخ انتشار: 1395/3/19 | ساعت: 3:55
Vote count: 0 I have this small form here: <form action="prekiu-uzsakymas" method="get"> <input type="text" name="ticket" value="8888"> <input type="submit" value="Panaudoti kuponą"> </form> What I want to do is, when I click submit, the form should be hidden and only the input should appear: <input...
How do you download a file with spring social google?
◷
تاریخ انتشار: 1395/3/19 | ساعت: 3:55
Vote count: 0 I'm attempting to use the spring social google library with the driveOperations() implementation. Whenever I attempt to download a file, I get an error. I've even tried to download publicly shared files with no success. Authentication is working. I've tried the following variations: Re...
How to match n number of lines
◷
تاریخ انتشار: 1395/3/19 | ساعت: 2:52
Vote count: 0 I have some text like this Notes: He jumped the sea-horse but it looked ropey Then he left but sometimes its like this Notes: Clay is only green When it is seen I need to capture 4 lines of text after "Notes" only so the output should be Notes: He jumped the sea-horse but it looked rop...
PHP removing value within forEach loop from mysqli_fetch_array
◷
تاریخ انتشار: 1395/3/19 | ساعت: 2:52
Vote count: 0 I am ru ing the following queries on my SQL databases. What I want to do next is to remove all the users from $result_users whose user_ID is also a receiverID in the $result_sender array. To do so I have created the following code, however I am not sure if my approach is correct. I hav...
Do something if Data-status change in Javascript
◷
تاریخ انتشار: 1395/3/19 | ساعت: 2:52
Vote count: 0 I have one button. His first action is to stop a video. Then it's icon change and data-status too. His second action is to reload the page. The problem is that I can't do the second even if I code some conditions. Sometimes it don't do anything, sometimes the second action comes at the...
Android: digits - allow only letters, numbers and SINGLE space
◷
تاریخ انتشار: 1395/3/19 | ساعت: 1:51
Vote count: 0 In my EditText I need to restrict all characters except letters, numbers and SINGLE space. I tried to add to XML: android:digits="abcdefghijklmnopqrstuvwxyz1234567890 " but I still able to enter more than one space. How can I change this and allow to user enter no more than 1 space?......
Jumps in the plot made in R
◷
تاریخ انتشار: 1395/3/19 | ساعت: 1:51
Vote count: 0 I am quite experienced user so I am quite iritating by the fact that I ca ot find the answer by myself... I need to plot a function, which has jump in it's definition but everywhere else it is continuous and I want to see the jump on the graph. But R want to make it continous on the wh...
Ideal object-oriented design
◷
تاریخ انتشار: 1395/3/19 | ساعت: 1:51
Vote count: 1 I realise this has a very broad title. My knowledge of OO is lacking as I have not done it in a few years although I think my concepts are correct. I am creating a custom PerformanceMonitor that reads real-time information from your computers hardware. I'm coding this is C#. Example cl...
How to check sqlite3 table is empty or not in C without querying for count(*) in the table?
◷
تاریخ انتشار: 1395/3/19 | ساعت: 0:50
Vote count: 0 I know that Query "select count(*) from table;" will fulfill my requirement but Is there any property / predefined method of SQLite3 to check that a table is empty or any way through which i can achieve this cause i don't want to perform another DB Query ? Thanks in advance. asked 3 mi...
How to get the count number of news as an alias column in MySQL query?
◷
تاریخ انتشار: 1395/3/19 | ساعت: 0:50
Vote count: 0 I have two tables (news, seen) and the relation between them is 1 to many: one news has many sees. I need an SQL Query to get each news with an additional alias column valued by the sum of each news sees. Here is the structure of the both tables: News: id_news, news_title, news_text, d...
android Bluetooth Adapter crash
◷
تاریخ انتشار: 1395/3/19 | ساعت: 0:50
Vote count: 0 Using android 5.1.1./ Nexus 5 phone. Before performing a BTLE scan, I check the BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); to see if the radio is enabled, and it will report true (enabled).then I will issue the scan... and immediately get an exception tha...
sql server 2012 connection using Uid and Pwd defaulting to Windows Auth
◷
تاریخ انتشار: 1395/3/18 | ساعت: 23:46
Vote count: 0 I have an Excel workbook that will query a SQL Server 2012 database using VBA. Many users will temporarily use this workbook so I created a generic ID with SQL Server credentials only. Some of the users can execute the VBA and retrieve data without a problem. When other users try, the ...