Curtis

1

votes
1

answer
26

views

Ionic pass *ng-for information into query params

I have an *ng-for loop, churning out ion-items, but I want those items to route to another page, but pass the index of that item, as a query parameter. Here is my code: {{item.name}} I have no idea how to get the { q: 'i' } part to actually make i equal to the index, I keep getting errors and such.
Curtis Hennessy
1

votes
2

answer
38

views

Django app crashing on Heroku when trying to migrate database

The web app I have deployed is crashing in production as soon as I try to log in after submitting credentials. Normally, I have to run: heroku run python manage.py migrate to update the change in Heroku database but when I do, please find below what happen. Here is what the terminal return. Running...
Curtis Banks
1

votes
0

answer
215

views

NSURL Connection Error

I am using the Wikitude plugin on iOS for AR and I am getting the following errors. Sometimes it will run then other times it will just keep loading. When it does run it gives the errors but everything functions perfect. The code that loads the view is the following: self.architectWorldNavigation =...
Curtis Boylan
1

votes
0

answer
27

views

How to run slow process async while simultaneously processing records as they become available

My current code looks this. It works but it is slow. I am trying to speed things up but I do not have control over all the objects. //This is a multi page PDF var mergedOutput = CreateBaseDocument(); foreach (var item in selectedItems) { //Slow running. processes on different server var doc = Extern...
Curtis
1

votes
0

answer
42

views

Ionic hide footer on one view

I am trying to hide the footer on only one of my ionic views, no matter what I try I cannot seem to get this to work. Any ideas? I have tried using ng-hide and did not work. I can't seem to work out what the issue is. I will attach the code for the view and also the index where the footer is called...
Curtis Boylan
1

votes
0

answer
31

views

SplFileObject iteration duplicates key 0

All, I cannot for the life of me, figure out why \SplFileObject is repeating the key in the following code. This sample uses Nowdoc as a file stream but this effect can be noted using any file. PHP Code: $str = $file->fgets()]; } }, $file); foreach ($iterator as $line) { echo key($line) . ': ' . cu...
Curtis
1

votes
0

answer
51

views

Setting the view encapsulation per css file

I need to style a select's dropdown component. I used the panelClass to add a class to the panel but it seems like any style I add to my style sheet for that class is ignored, unless I use ViewEncapsulation.None. However, its only one style and I don't want to turn off view encapsulation just for th...
Curtis
1

votes
0

answer
120

views

Redis cache breaks after env change

After changing my APP_ENV from local to production I'm getting this error on my site? ReflectionException (-1) Class cache does not exist /vendor/laravel/framework/src/Illuminate/Container/Container.php:752 On the stack trace, I see the following which I'm assuming is causing this problem: $handler...
Curtis
1

votes
1

answer
647

views

Google Adwords with Angular 5

I'm trying to use AdWords in a checkout SPA built with Angular 5. I need to set variables such as 'google_conversion_value' and then run the script located at //www.googleadservices.com/pagead/conversion.js However there are 3 issues: I can't use what the documentation says as this is an SPA. Settin...
Mark Curtis
1

votes
1

answer
295

views

Deleting dataframe rows based on condition in datetime index

I have a large dataframe with a size (43817, 6). I have created a smaller dataframe consisting of the last two months by the following code: test_df = df1.last('3M') The reason why I chose '3M' is due to me running the code on the first of the 3rd month. The index in the df is a datetimeindex. Sam...
Alex Curtis
1

votes
0

answer
41

views

AR.JS New Pattern Each Time Not Working

I am using the AR.JS generator and I am trying to make a custom pattern every time the page is loaded, usually you have to upload your own centre image but with this I want to make it so it auto generates. I am using an api called qrserver which creates a QR code for you and lets you use that, unfor...
Curtis Boylan
1

votes
1

answer
27

views

Getting a different set of data every page refresh in Django

I'm looking to get the next x items in a query set in Django every page refresh. Example: x is a list of number's that I use to choose from the query set. As in for i in x: q = Django.objects.filter(name=name)[i] x = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] I would like to get item's [0, 1, 2, 3, 4, 5]....
Mason Curtis
1

votes
1

answer
48

views

bootstrap list-group not inter-locking

As you can see in the following picture I've got states of America within a list-group class, my problem is that I'm trying to remove the whitespace and basically push Arkansas underneath Alaska and so on, here's the current HTML, CSS in which I'm using: CodePen I've tried everything from float:left...
Curtis
1

votes
0

answer
58

views

Multiple details row plus symbols?

I'm attempting to create a details row on my backpack table, but I'm getting the following view: The code I'm using to generate the plus symbol is: $this->crud->enableDetailsRow(); $this->crud->allowAccess('details_row'); I'm unsure as to why theirs a duplicate expansion symbol within my type column...
Curtis
1

votes
1

answer
174

views

COUNTIF function comparing dates as a criteria is not working

I am using Excel 2013. I have a worksheet that has training completion dates for our employees. I need to determine the percentage of employees that have completed the training. I am using the below COUNTIF formula, but the return is a 0 even though the majority of dates are after 1/1/2018. =COUNTI...
Curtis
1

votes
0

answer
68

views

How Do I Get Real-Time Location Updates in UWP when my App is in the Background?

A project I am working on for my job supports location tracking, and we recently made the decision to add support for location tracking while our application is in the background. We support for the following platforms: iOS, Android, and UWP. As the title implies, I am seeking help implementing this...
Curtis Cali
1

votes
0

answer
34

views

Issue with DropDownListFor() setting Width more than 300px MVC 5

I am doing a small MVC 5 project and I am using BootStrap v4.1.3. In my View Code, below, I am setting the width to 300px. However, it needs to be 500px. I cannot make it bigger than 300px. What am I doing wrong? thx. @Html.LabelFor(m => m.CaseTypeList) @Html.DropDownListFor(m => m.SelectedCaseTy...
Phil Curtis
1

votes
1

answer
69

views

constexpr pointer to processor fixed address

I have read all the posting regarding this subject. It is understandable that you can not use static variables in constexpr since they are not known until link time. However I do not understand why the compiler will not allow the creation of a static pointer to a truly static address. We have been...
Allen Curtis
1

votes
2

answer
44

views

LINQ querying results for a decimal sum between two dates

Attempting to query results between two dates, get a column value, and sum that into a decimal. Unfortunately, every time I pass in different dates - I get all of the results. Something is wrong with getting the results between two dates. Any help is appreciated. Here's what I have now: private...
Curtis Hohl
1

votes
1

answer
81

views

Spread Operator with Union Types and Tuples

I have a key that can either be of type number or type [number] or type [number, number]; I created a type for each and a union type that can be either: type Foo = [number, number?]; type Bar = number; type FooBar = Foo | Bar; I then wrote a compare method that would analyze two of these keys....
Curtis
1

votes
0

answer
193

views

custom systemd service can't start on Ubuntu 18.04

and thanks in advance for any assistance I run original QT wallets (command-line based) for various cryptocurrencies. Earlier this year, I set them up as a custom systemd service, and that has been invaluable. It starts them up and shuts them down with the system just like all the normal services. I...
Curtis Everingham
1

votes
1

answer
34

views

Join unrelated models and delete duplicate from the queryset

I really need help here. I have the two tables below. As you can see they are completely independent (No relationship between the two). class People(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=35) phone_number = models.CharField(null=True, bla...
Curtis Banks
1

votes
1

answer
28

views

How to setup registration and signals in django 2.0

Can someone help me figure out what i am doing wrong trying to setup authentication and signals to work along with the models created in django 2.0. models.py from django.db import models from django.conf import settings.AUTH_USER_MODEL from django.db.models.signals import post_save from django.disp...
Curtis Banks
1

votes
1

answer
33

views

Async Await issues with NodeJS & Lamba

I'm currently developing a Lamba function call for my AWS project, but with me not being a master at asynchronous functions it appears it's falling apart, the code I've put together is: const AWS = require('aws-sdk'); const game = require('game-api'); const uuid = require('uuid'); AWS.config.update(...
Curtis
1

votes
1

answer
36

views

Xamarin Forms ControlTemplate TapGestureRecognizer Command Binding

I have a ControlTemplate I intend to use to provide basic functionality to most all pages in my app. Good References on the idea: App Theming with Xamarin.Forms Control Templates Simple Theme with Template Binding Xamarin Forms Page Templates I came across something strange while trying to Bind a T...
Curtis Herrick
1

votes
0

answer
40

views

react-native: How to access react-native libraries from JS view displayed inside an android native module

I have created a react-native application, which on a button press will load an Android Native Module. When called, the native module will start an Android activity which makes use of the Presentation class (along with https://github.com/commonsguy/cwac-presentation) to control a 2nd monitor display...
Curtis Menmuir
1

votes
1

answer
7.2k

views

Application Icon path in MS Access

How do you access the Application Icon path in MS Access 2003 programmatically?
1

votes
1

answer
2.7k

views

Accessing balloon tips from VBA

How do you access balloon tips in the task tray area using VBA? I'm looking to find some simple methods to display and possibly even interact with the user. I am using Windows XP and MS Access 2003.
1

votes
2

answer
1.3k

views

Silverlight 3 Browser Zoom Support, UI Stops rendering during zoom changes

Silverlight 3 now contains built in browser zoom support. The current problem I am facing is that it seems as if the Silverlight UI doesn't update (re-render) during multiple zoom level changes involving the (Ctrl+Mouse Wheel) or (Ctrl+) and (Ctrl-). This was found when testing with the IE8 browse...
Curtis
1

votes
1

answer
232

views

Factory pattern vs ease-of-use?

Background, I am extending the ASP.NET Membership with custom classes and extra tables. The ASP.NET MembershipUser has a protected constructor and a public method to read the data from the database. I have extended the database structure with custom tables and associated classes. Instead of using a...
Curtis White
1

votes
1

answer
411

views

Profiles content check if set?

Using asp.net profiles, I've stored a complex type (class) and retrieved it. But it is returning a new object that is not initialized instead of null? Is this the expected behavior, if so how can I determine if I've saved data for the given user? should be some easy points for someone to pick up..
Curtis White
1

votes
2

answer
180

views

Separating the components of CSS for database entry

CONTEXT: My project is a CMS website, and each user's CSS is held in a database table. Fields are: int id primary int site_id index string selector string property string value bool important When a user's website is pulled up, it's a simple query: SELECT * FROM css_ta...
Curtis
1

votes
1

answer
655

views

Basic draw method blenddstate not recognized?

I am pretty good at programming, however, i am new to c# (xna), i am following a tutorial to draw a sprite on screen and the blendstate method is not recognized when used like the following in the draw method: protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlu...
Jackson Curtis
1

votes
1

answer
345

views

Potential problems with using ASP.NET App cache on mirror?

I've 2 servers mirror with a load balancer. I'd like to know the pros and cons of sticking with app cache versus going with something like memcache? I'm very interested in various solutions and especially the types of errors that I could get or limitations by not synchronizing them. To start the dis...
Curtis White
1

votes
1

answer
47

views

Testing asp.net site that uses membership?

I've read some of the topics on stress testing but what options are there for testing a site that uses membership to simulate many concurrent users logging/logged in? I guess one could use/create custom scripts but that would also proliferate the database. How do some of the 'big boys' do it? BTW ma...
Curtis White
1

votes
1

answer
2.6k

views

How do I rotate a gluCynlinder in OpenGL?

For context, I'm trying to model a simple 1x1 lego brick in OpenGL. I setup my camera to look at the origin and 'up' is in the Y direction. I'm trying to draw a cylinder for the little nub on the cube, and cannot figure out how to rotate it. C++ code: //draw cylinder glPushMatrix(); glTranslated(0.0...
Jamie Curtis
1

votes
1

answer
1.2k

views

Application won't start - how to debug?

We just released a new version of one of our applications, and are hearing early reports that it won't run on a few customer's computers. This is a 32-bit Win32/MFC application that we have been shipping for about 5 or 6 years, so there is a history that the thing works. The problem I have is tryi...
Curtis
1

votes
1

answer
1.9k

views

What's the right way to be notified when a Window is resized?

I have an application that places several Windows within a com.extjs.gxt.desktop.client.Desktop. I need to attach a listener which records the size of each window when it is resized. I'm seeing two issues: While Move Events are fired when the window is resized, they appear to be fired BEFORE the n...
Curtis
1

votes
3

answer
2.1k

views

How to redirect desktop users away from mobile site… to regular site?

How can I sniff out desktop users and send them to regular (non-mobile) site when they find the mobile site listed in google? Thank you for any insight!
Curtis
1

votes
1

answer
215

views

How can I select the second cancel button instead of the first?

I want to cancel the second line item instead of the first. Below is some sample code for the 2 line items: Product Part Condition Status Quantity Unit Price   Sub Total     10588 - NAS516-1A - ZERk FITTING As Removed Inspected/ Tested New Surplus New Overhauled/ Remanufactured Repaired/ Ser...
Curtis Miller

View additional