Hitting a roadblock on table design and data processing.
Vote count: 0 I need some design help with a database and how to process the data. I’m working on my first major project and extremely excited about it. All my knowledge about programming and database is self taught and I’m ru ing into some roadblocks because I’m not sure what’s the best way to acco...
show() overwritten multiple ajax calls
Vote count: 0 I have one html element (elem1) and 2 JS functions (func1, func2) that hides and shows elem1 respectively. These JS functions make individual ajax calls and func2 is calling func1 inte ally. Problem: in func2, elem1 is shown briefly and then hidden because of the effect of func1. JSFid...
phpbb show custom field in template
Vote count: 0 I've added a custom field: "usergroup". Now I'm trying to show it in my template like this: $this->_rootref['USERGROUP']; But it's not showing up? What am I doing wrong? I'm using 3.0 asked 1 min agojamie Let's block ads! (Why?)
Rails - Nest Attributes Issues
Vote count: 0 I am having issues understanding this. What am I trying to accomplish? Selected items in dropdown submitted to inventory. Change the status of each item in a form in its own model. Problem I submit a form and the status of each item in the dropdown doesn't get submitted. Any help would...
Select numbers with highest value
Vote count: 0 Say I have a List<Number> 5,8,8,7,4,9,9,9 I want to select all the numbers with the highest value, Thus, my new list would contain: 9,9,9 I know I need to do something like list.Where(n => n.Value == highestValue); But is there a compact way to get the highest value? asked 53 secs agoj...
How to organize large array used by function
Vote count: 0 I have a large array of URLs, up to 500 URLs. I have a function in my helper class, Helpers.php, that I loop through this array and perform actions on each URL within the array. Currently, I have the array within the function, but this seems really messy to me, like: function getURLDat...
Routing from Javascript lib in Angular JS 2
Vote count: 0 I am using Parse (an exte al JS lib) inside Angular JS 2. However, when I try calling the function gotoMain() from inside a call back function of Parse, it looks like things are not loaded properly. For example, when routing to 'Main' as in the code below, Main is loaded, however, the ...
Can the dollar sign be considered a macro in jquery?
Vote count: 0 I know a dollar sign is a replacement for 'jQuerry' and is used for accessing functions and variables from the jQuerry object. Can this be considered the equivalent of a macro in C since it helps us not to type jQerry every time acting just like a macro in C? asked 49 secs agoyoyo_fun ...
Create managed form Dynamics CRM
Vote count: 0 I'm building managed solution and created a new form on account. This form is unmanaged and because of that this managed solution can't be deleted from end users crm. Is there a possibility to create managed form in dynamics crm? I didn't find it in documentation and saw no property in...
Injecting meta tag on certain pages with directive
Vote count: 0 I have an application where I want to inject a smartBa er meta tag, but only on certain pages. On my index page I have: <!DOCTYPE html> <html ng-app="ngBoilerplate" ng-controller="AppCtrl"> <head> <title ng-bind="pageTitle"></title> <!-- add smart ba er to select pages through smartBa ...
Bucardo doesn't sync anymore
Vote count: 0 I installed Bucardo and everything was fine, till after some days I checked if the sync was properly replicating my data and I saw that it didn't! Checking bucardo log I can find this wa ing: MCP Wa ing: Source database for sync "sync_name" has column "column_name" of table "table_name...
Docker compose linking to mariadb
Vote count: 0 I’m trying to create a basic development machine ru ing php7, nginx and mariaDB I’m using docker-compose in order to do this. The stripped down version of my compose file is as follows: wwwroot: container_name: wwwroot image: wwwroot volumes: - .:/var/www restart: always nginx: contain...
OpenCV Android: Hand detection
Vote count: 0 I'm using OpenCV in android. I'm a total begi er in OpenCV. My end goal is to recognize hand gestures. But for this, I first have to detect a human hand. I don't know where to start. Any help? asked 1 min agoSalman Younas Let's block ads! (Why?)
How to use Django's PASSWORD_HASHERS with custom model?
Vote count: 0 I am creating authentication model for my project, I want to use Django's PASSWORD_HASHERS for password field in my model, can you suggest me the proper way? My model.py file class vendor_registration(models.Model): first_name = models.CharField(max_length=255,null=True) last_name = mo...
How do I deploy a python script that has prerequisites
Vote count: 0 I'm developing an application that requires some initial configuration when first deploying(initial params, server adress,...etc). This application is written in a different language than python, but I'm using python because it's the language that's the most commonly pre-installed on l...
Check if element returned by xpath is correct
Vote count: 1 I am making my first Python project. I am trying to scrape a web page like this: page = requests.get('http://www.mypage.com') tree = html.fromstring(page.content) table = tree.xpath('//table[@class="list"]') However, I'm not sure if the table retu ed is correct. Is there a way of check...