Vote count: 0 I have made some classes and their mapping classes using Nhibeate and done configuration but i don't how database will update without make any manually update? is it possible? asked 34 secs agoSufyan Ahmad Let's block ads!...
ادامه مطلبVote count: 0 Let's take this radio case : http://s7.voscast.com:7000 The link to stream audio from it with the MediaPlayer library of android is the same with the link giving metadatas (artist, title etc...). 1 - Is it always happening this way for icecast and shoutcast server? 2 - Could we have separate links sometimes for the 2 informations (Actual audio stream and metadatas)? asked 1 min agouser3793589 Let's block ads!...
ادامه مطلبVote count: 0 I have created a pandas dataframe where my index are my x values, my column names are my y values and the values corresponding to a given x and y value in the dataframe (df.values[x][y]) are z values. How do I create a scatter and/or a histogram out of this? Above is the dataframe that I converted into a .csv format. edited 1 min ago asked 6 mins agoi squared - Keep it Real Let's block ads!...
ادامه مطلبVote count: 0 I've created a key-pair and have access to a linux instance via FTP and SSH using ec2-user. I have also added the desired user to all groups that ec2-user is in. All of this was tested using the .ppk key, generated my puttygen, which allowed ec2-user to the instance. I even changed the key type from SSH-2 to SSH-1 via puttygen. I've followed countless guides, but without any luck. Is there anything else I can do? From what I've read I'll have to create a key-pair (dont know where) ...
ادامه مطلبVote count: 0 I have a problem that I just caot figure out on my own. This is the issue. I'm making a website that is using javascript to make the website write out things as you type on your keyboard using JS. As you're 'writing' this text I would like your location to be shown, making the illusion that you're the actual person writing. I solved this problem by calling the IP adress and translating it to a city and country using google maps or something like that. The issue now is to get this t...
ادامه مطلبVote count: 0 I created a project in MVC5 over Entity Framework and AngularJS. Now, what I want is to pass every database object to an MVC controller, in order to update their values. (ex: to modify a "customer" value) The following code doesn't work.. {{r.ID}} {{r.LastName}} {{r.FirstName}} {{r.Phone}} {{r.Email}} Please help me about how to pass r.ID to the razor above @Html.ActionLink("Edit", "Edit", new { id = r.ID }) asked 8 mins agoGeorgios Deliandreadis Let's block ads!...
ادامه مطلبVote count: 0 I have the following data table of this structure: +-----+-------+-------+-------+ | key | col1 | col2 | col3 | +-----+-------+-------+-------+ | A | 1000 | 56 | 1 | | A | 2000 | 3 | NaN | | B | 2001 | 23 | 90 | | A | 2002 | 87 | 42 | | A | 2004 | 12 | 12 | | B | 2002 | 1 | NaN | | C | 2002 | 3 | 14 | +-----+-------+-------+-------+ My objective is to plot 1 ggplot of multiple boxplots for each key, where each boxplot in the ggplot is the visualization of every column in the datase...
ادامه مطلبVote count: 0 Using ember-simple-auth I set up a session and set the currentUser key equal to the user object retued from the server: setCurrentUser: function () { if (this.get('isAuthenticated')) { const accountId = this.get('session.content.authenticated.user_id'); this.get('store').findRecord('user', accountId).then(user => { this.set('currentUser', user); }); } }.observes('isAuthenticated') Problem is when I am trying to access the 'currentUser' key from a route for a data relation: user: Em...
ادامه مطلبVote count: 0 I want to create conditional probability table (CPT) from dataset. My data set have 10 variable. I'm using this CPT for inference. dataset asked 47 secs agoAhmad Let's block ads!...
ادامه مطلبVote count: 0 I am fetching data from the web and assigning it an array in my UITableViewController. I am fetching this data in my viewDidLoad method, but wouldn't it be better to use the controller's init method to load an array? Also, the array is coming up nil once I try to assign the web response's content to said array: appDelegate = [[UIApplication sharedApplication] delegate]; [appDelegate.rest getSocialPosts:appDelegate.myWebResults completionBlock:^(NSArray *results, NSUInteger resultCo...
ادامه مطلبVote count: 0 Hey I'm trying to get data from form on the web page. But when I click submit button every field is None. It seems like form from html is not bound, but when I check is_bound property it is True, The form is placed as html code, not as jinja template. Am I missing something? Form class class PostForm(forms.Form): name = forms.CharField(label='Name', max_length=100, required=True) email = forms.EmailField(label='Email Address', max_length=100, required=True) phone = forms.DecimalFie...
ادامه مطلبVote count: 0 Hi i am struggling with a problem the past days on the verification part of the user input password at log in. First to mentioned that i used an exteal library for codeigniter for the hashing of the password. The problem is when i get the hashed password from the database and use a library function that compares the raw password input of the user with the one from the database it retus false. I think i have tried and checked every possibility of error but i couldn't find an answer....
ادامه مطلبVote count: 0 I am new to excel ..... well i have 2 excel sheets one as a database and another to display the result based on some selection enter code here //for database coectivity Option Explicit Public c As New ADODB.Coection Public rs As New ADODB.Recordset Public strSQL As String Public Sub OpenDB() If c.State = adStateOpen Then c.Close c.CoectionString = "Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)};DBQ=" & _ ActiveWorkbook.Path & Application.PathSeparator & ActiveWorkb...
ادامه مطلبVote count: 0 I need project related data like project name,app version and its main module from gradle based android project. I have tried various tasks like project,properties but none of it giving me specific information i need. Is there a way to find version code,app name and main android module using gradle in command line? asked 59 secs agochikka.anddev Let's block ads!...
ادامه مطلبVote count: 0 I've set up an admin backend in Rails. There are a list of orders. By default when submitted by the end user shows as "processing" on the admin side. If the admin sends out the order he can press the "processing" button and set it to completed. I'm trying to have a "Delete All Completed Orders" button above the table. Here is the admin controller: class AdminController < ApplicationController before_action :authenticate_user! before_action :ensure_admin_user def index @orders = Ord...
ادامه مطلبVote count: 0 Hi guys so i am making a rating system on my site and want to try and store the values etc for each user so they can only vote once etc and obv if they want to change it they can do and it will update the db. I am new to this so i have tried my best but just need help on the last part to get past the finishing line. So in my db which is called reg i have the users table which is: id: useame: etc Then i have my rating table which has: ratingID: rate: user_id: PHP:...
ادامه مطلبVote count: 0 i am looking for c# routine where i will pass a big picture path and routine will break that picture in tile and save in file system and also save each small tile into into db. 1) so redirect me to routine which can break image into small tile 2) my db table would look for store tile data for each userid ID UserID Z X Y --- ------ --- ---- ---- 1 Bob 0 0 0 2 Chris 1 1 1 the above data is a fake one. i am looking for a way which break big image data into tile and save tile info into...
ادامه مطلبVote count: 0 I would like to know if is there any API for accessing phone database from a site like GSMARENA or any other site for that matter? I need it for my offline project and wondering if i can get help? Thank you asked 29 secs agoAditya Jain Let's block ads!...
ادامه مطلبVote count: 0 Hey guys sorry that the title isn't the best. Basically there is a web service ruing at a particular url that retus a JSON array with a single object. Each object is an array containing name, longitude and latitude of people. How can I use this in the MapsActivity in Android Studio to display the user's locations on Google maps? I have already created several other activities for the rest of the application (welcome screens, etc.) but I'm a bit stuck on this part. Thanks in advance...
ادامه مطلبVote count: 0 I currently have a template in django with the jsTree plugin working that updates/saves the JSON data when a user interacts with the data provided. I can't figure out how to save this data into my database for a user so that it will retu the same JSON data/changes they've made when they retu to this page. Below is the code I have ruing in the template. Javascript is included in the same file for ease of viewing at the moment. {% extends "testapp/base.html" %} {% block body_block %}...
ادامه مطلب