Vote count: 0 I put together a form to submit data into a MySQL database. It worked before just fine I get an error - no response from mysqli coection but no mysql_error appears. I understand there is some room here from SQL injection - please discard that. Coection PHP Page Form PHP Page Attraction *...
ادامه مطلبVote count: 0 I have balanced panel data on N=10 industries over T=20 years. For each (industry, year) i have a) the # of patents filings and b) R&D expenditures. I want to estimate the following model: http://imgur.com/8nGh8Cf.png However, using the xtserial program rejects the null hypothesis of no serial correlation. Hence, it seems that the only option available to me is to use feasible generalized least squares (xtxtgls), with the panel(correlated) option (to allow for cross section correla...
ادامه مطلبVote count: 0 I have the following dataframe: Note: date is the index city moing afteoon evening midnight date 2014-05-01 YVR 2.32 4.26 -4.87 6.58 2014-05-01 YYZ 24.78 2.90 -50.55 6.64 2014-05-01 DFW 24.78 2.90 -50.55 6.64 2014-05-01 PDX 2.40 4.06 -4.06 6.54 2014-05-01 SFO 30.35 9.96 64.24 6.66 I try to save this df to a dict by df.to_dict() but I only get one row: df.to_dict(): {'city': {Timestamp('2014-05-01 00:00:00'): 'SFO'}, 'moing': {Timestamp('2014-05-01 00:00:00'): 9.9600000000000009}, '...
ادامه مطلبVote count: 0 I'm writing a small web application. I have a computer with created database with which I work. Application using servlet, jsp, postgresql, Maven ... When I completed yet placed on githab ... As a person who downloads it to run my project on my computer? It is as necessary at home to create a database or what? asked 33 secs agoAnton Let's block ads!...
ادامه مطلبVote count: 0 In my AngularJS application, I have a standard CRUD component that manages most of the systems entities. This component (which is a directive) is basically a table that receives its columns metadata (JSON) and do its magic. The thing is, each entity has its own columns, and I want to load them with a simple call to a service like MyService.getColumns(entity). I could do a huge switch statement (like shown above), but I don't want that because any user that log in the system would h...
ادامه مطلبVote count: 0 I've been having a problem using Visual Studio to coect to a networked sql server with a networked user, a local administrator, and a domain administrator. Here's the coection string in Visual Studio: string coecitonstring = "Server=development;Database=testdb;User Id=TestUser;Password=TestPassword;"; co = new SqlCoection(coecitonstring); 1) Ruing Visual Studio as non-administrator and as an administrator, I get the following error. {"A network-related or instance-specific error oc...
ادامه مطلبVote count: 0 First, I'm not a non-native, so there're some mistakes.And I'm a newbie. This's finish but wrong code. function myFunction() { var response = UrlFetchApp.fetch("https://api.ookami.me/v1/news/public?sport_id=1"); var json = JSON.parse(response.getContentText()); var news = JSON.parse(json.getContentText()); Logger.log("id"); Logger.log("url"); Logger.log("image"); } I wrote "news" in line6's code, and that time, displayed the log. but wrote again, didn't display. And the log display...
ادامه مطلبVote count: 0 I am trying to use a specific order of a variable in a dataset - valence and - to essentially copy and paste rows into a new dataset. So, for each subID, for every valence = 0, if the next valence = -1 then copy that row to a new dataset called "sequence". The issue is that the trial order was randomized so the sequence is different for each subID (otherwise I'd at least be able to write a big blocky script based on trial number). Just as an example of what the data looks like: Sub...
ادامه مطلبVote count: 0 I would need to store a code in the Firebird database. This code is encrypted and for more security, I want to avoid to store it in a regular table. Is there a place where I can put it?I am thinking to store it as an exception text in Exceptions section of Firebird but maybe there are other better places. asked 38 secs agokokokok Let's block ads!...
ادامه مطلبVote count: 0 So, I'm trying to have a key pressed once on program launch. This is what I have, I'm a noob so please bare with me: { Send, {F11} } Now when I launch the program it doesn't send the key. Help? Thank you for any help you can provide asked 26 secs agoIanB Let's block ads!...
ادامه مطلبVote count: 0 I'm new to Android development. My project has an existing website hosts by Squarespace platform, users can register by filling a form in the website and it will send these information to Google sheets(which is a default function for Squarespace). I am developing an android app that both existing users and new users can register via app. To get the existing user information I need to pull the data from Google sheets, and for new users I need to update their information in the Googl...
ادامه مطلبVote count: -1 I have a DB with 5 tables, and all of them are created in all the devices I tested, but in Moto G3 device the unique one isn't created and I can't find the answer. The other 4 tables are created correctly. In all the others devices this table is created without problems and I'm able to insert and execute querys on it. asked 33 secs agoVurtne Let's block ads!...
ادامه مطلبVote count: 0 I have an image (not container) which has the data baked in at /store. The image does not do anything else, it is only a vessel for holding the data in. I want to create a docker-compose file so that my nginx container has access to everything in /store at /usr/share/nginx/html Do I need to make an intermediary container first? I am not sure how the docker-compose file would look. thanks asked 7 secs agouser3231690 Let's block ads!...
ادامه مطلبVote count: 0 I am exporting a large DataTable to an Excel sheet (.xls) format. I call stored procedure here, which retus the DataTable. The stored procedure used to retu 7,50,000 rows with 93 columns. In back end, if I pass the parameters for the stored procedure, it takes 8 mins to complete the process, since it is a long process. But when I call the procedure from the front end, while assigning the records to the DataTable, "System Out Of Memory" exception occurring. So When I google it, I ca...
ادامه مطلبVote count: 0 I have a select processs which has three parameters and each of these params values from 0.0 to 1.0 with stop of 0.2. In order to get the most optimal params I have to run my process many times with different param conditions. I can do this by two params, i.e. two-dimensions since I can use para1 as index and para2 as column. Now my question: How can I do with 3-dimentional Dataframe? Cheers Thomas asked 5 secs agothomas2004ch Let's block ads!...
ادامه مطلبVote count: 0 in salesforce how to create apex trigger class using tooling api in java? like i have created apex class using tooling api in java. the code is: ApexClass apexClass1 = new ApexClass(); apexClass1.setBody(classBody); // class body is string ApexClass[] classes = { apexClass1 }; SaveResult[] saveResults = stub.create(classes); apexClass1.getBody(); if (saveResults[0].success) { apexClassId=saveResults[0].id; } So can anyone tell me how to create apex trigger in the same maer. asked 4...
ادامه مطلبVote count: 0 Thank you for your help so far! I was able to successfully build my webservice and NVD3.js stacked area chart. However, I have been struggling without any success in passing json data from my webservice into my NVD3.js graph. On my webform, I select two dates for an interval and click a "go" button. I feel that it is something obvious that I am missing. If not possible, is there a way of saving the json data retued from my webservice into a regular file (e.g. myFile.json), so that ...
ادامه مطلبVote count: 0 I am leaing about Data and Computer Communications from W. Stallings Book. But in terms of actual signals (Frequency, Wave Forms, Signal Strength, Signal Distortion, signal waveform, Attenuation, Distortions) topics, terminologies I am missing out some very fundamental concepts. And I can't even find out what are some books or resources to be look about this. Should I look in to some introductory Physics Books or Electronic Books, or any Links that will strengthen my understanding ...
ادامه مطلبVote count: 0 I'm using the omniauth-facebook gem with devise to set up Facebook login on my website. I'm at the point of importing Facebook user data into my database, but I'm having some weird issues. Here's my method used to import the data: #User.rb def self.from_omniauth(auth) where(provider: auth.provider, uid: auth.uid).first_or_create do |member| user.email = auth.info.email.to_s user.password = Devise.friendly_token[0,20] user.useame = auth.info.name end end The record I get back has a ...
ادامه مطلبVote count: 0 I need to plot my ggplot2 data onto a terrain maptype using ggmap. My data ( geom_points for stream samples) will not fit into the frame. "osm" fits perfect but does not have terrain. "stamen" will not load due to the pngjpeg error. Google would be best. Here are the three methods I have researched and tried to use to fix the problem. # Messing with location and zoom map = get_map(location = box, source="google",maptype="terrain",color="bw") #Method 1 box = make_bbox(lon =c(-117.65...
ادامه مطلب