Kevin.

13312 questions
0

votes
0

answer
19

views

is there a way of reding individual cells in an access table using row and column indexing

Hey:) am trying to display text in a singe cell of an access table in a text box how can I read that specific cell am new to databases so I can only go as far as connecting to the database itself.
Kevin Gombe
1

votes
2

answer
1.6k

views

Module 'jest-junit' in the testResultsProcessor option was not found

I have setup jest and jest-junit as the reporter and followed the simple instructions given by jest-junit. This includes npm install jest --save-dev and npm install jest-junit --save-dev My package.json looks like this (excerpt): 'devDependencies': { 'jest': '^22.4.4', 'jest-junit': '^4.0.0', }, '...
Kevin Farrugia
0

votes
1

answer
13

views

How to create a script that can migrate database to another normalized database

I have an existing system with hundred thousands of data. I need to migrate it to another database but different structure. How can i create a script that will migrate database to a different structure. I tried csv but i need to make some columns to foreign key because the new database is much norma...
1

votes
2

answer
51

views

How do you satisfy the 'lineOrigins' argument in CTFrameGetLineOrigins() in Swift? [duplicate]

This question already has an answer here: Issue with CoreText CTFrameGetLineOrigins in Swift 1 answer I'm trying to figure out CTFrameGetLineOrigins from here: CTFrameGetLineOrigins Got Incorrect Origins, and trying to convert the ObjC to Swift. Obj-C: CFArrayRef lines = CTFrameGetLines(frame); siz...
Kevin Wang
0

votes
0

answer
21

views

How to display data from this API function?

I am completely inexperienced with HTML and js development, but I'm currently working on a project where I take an API from a site, which contains GPS data, and display it on my webpage. I'm using a function from jQuery to achieve this. (Context: Inside an html file, this code is in ) $.getJSON('lin...
Kevin Ma
1

votes
4

answer
109

views

Jenkins and gradle - build projects with latest versions of dependencies for CI, specific versions for production

I am working with Jenkins, Gradle and our Ivy repository. Our build scripts specify the exact version of dependencies to be used for the build. This is good practice for production. For CI it would be interesting if the project build used the latest versions of our own libraries, that way we could n...
Kevin Sadler
1

votes
1

answer
57

views

Remove a given entry from an object in javascript

Hello everyone with a function i want to remove an entry (which i give as an argument) from an object (which i also give as an argument). To make it clearer I will provide you some code. Here's the object I want to remove an entry from: const register = { aap :[{condition: {aap:'aap'}, func: 'fun'}...
Kevin
1

votes
4

answer
13.5k

views

Generate XML file in C# with XSD file

I am trying to build a new XML file with C# using an existing XSD file. this is the xsd file : Format: yyyyMMdd Format: yyyyMMdd The feedback type for this file I have done the following things to create the XML file : made a class with xsd.exe I added the class to my project wrote the following f...
Vandoorn Kevin
1

votes
1

answer
14.6k

views

Get a list of files from Sharepoint and download the latest file

I am trying to get a list of files from a SharePoint location and then get the latest (by creation time) file using C#. The resources available talk about SPWeb/SPSite but these are not available directly on Visual Studio 2013; The SharePoint site: https://sharepoint.amr..com/sites/OrganizationName/...
Kevin
0

votes
1

answer
19

views

How do I allow a machine to connect to local SQL file

I'm currently working on an EPOS system for a friends shop, I'm currently getting him too test the features, making sure design etc is fine. I've set up the SQL Service Based Database, but the problem seems too be he is getting the error System.Data.SqlClient.SqlException (0x80131904): A network-re...
Kevin Gorman
1

votes
2

answer
412

views

Convert Type with ByteString to Text?

Using conduit, my private repo code fails to compile: Expected type: ConduitM Text Void (Control.Monad.Trans.Resource.Internal.ResourceT IO) () Actual type: ConduitM ByteString Void (Control.Monad.Trans.Resource.Internal.ResourceT IO) () How can I define a function? type Helper a = ConduitM a Void (...
Kevin Meredith
1

votes
3

answer
625

views

Calling getItem() on DynamoDB object from AWS Lambda, why doesn't my callback execute?

I'm trying to get an item from my DynamoDB database. The way my code is presently written, I fail to retrieve any data from DynamoDB. I must be doing something wrong, because as far as I can tell from my test, my callback is not being called. I spent all day on this yesterday and have been tinkering...
Kevin Glick
1

votes
2

answer
369

views

How does GCC implement the C++ standard allocator?

I am not familiar with tracking down the source codes to figure out the GCC STL implementation (libstdc++) of the C++ standard allocator, and I cannot find any brief explanation, documentation and technical reports that describe what the memory model that GCC selects. I guess that GCC uses several f...
Kevin Dong
1

votes
2

answer
41

views

Passing Type to Method for Use in Generic

I'm trying to understand why the following code does not work and how I need to change it to make it work. In short, I'm trying to pass a Type into the method and then use that Type when declaring List. public void TestMethod(Type type) { List items = new List(); } I get the error: ''type' is a vari...
Kevin
0

votes
3

answer
19

views

How can I further destruct set of variables that all begin with parent class?

I have a set of destructured variables that all have the same parent class. Is there a way to remove 'hollow-gallery-01' from each and add that to the destructuring process? const [modal,ctrls,slides,close,images,arrows] = [ document.querySelector('.hollow-gallery-01 .modal'), document.querySelector...
Kevin Grant
0

votes
1

answer
13

views

Keeping values in one row based on values in different row and different column

Is there a way to make a new DF for the values in tdif only when NP==0 in the row directly above it? Subject tdif NP 1 KM3 63.8 0 2 KM3 4.6 1 3 KM3 70.6 0 4 KM3 30.4 1 5 KM3 44.8 0 6 KM3 12.1 1 7 KM3 27.1 1 8 KM3 36.0 0 9 KM3 38.0 1 10...
Kevin
9

votes
1

answer
20k

views

Get in WooCommerce cart the product ID of a cart item

$cart_item = $woocommerce->cart->get_cart(); I have the above code. if I run print_r on cart_item I get a multi dimensional array: Array( [a6292668b36ef412fa3c4102d1311a62] => Array ( [product_id] => 6803 How do I get the product_id only? I tried $test = $cart_item['data']; pr...
Kevin.a
1

votes
0

answer
56

views

Sharepoint REST Jquery no results display message

With the code I have it in a script editor on a sharepoint page. I would like to display a message that states 'No results found'. I have tried over and over and have failed to display. .item-name-clickable{ font-size:1.1em; background-color: #c7e0f4; padding:2px 5px; margin-top:2px; cursor:pointer...
Kevin
1

votes
0

answer
60

views

Creating a type to extend React.Component with class attributes

I'm trying to bring Typescript into a project that extends react components with various additional class properties. I'm trying to work out how to extend the React.Component type to incorporate those additional attributes. As an example of what I mean, in both class and functional form: class Sampl...
Kevin Rocker
1

votes
1

answer
142

views

how to pass data for a viewController through a PageViewController to a second ViewController of the pageViewController

im new in this and Im trying to pass some variables for a viewController through a pageViewController who manages 3 viewControllers and use those variables in the 3 controllers, can anybody help me? here is my code on swift... I send my variables with this: public var lenguaje = '' public var usern...
Kevin Arvizu
1

votes
1

answer
27

views

Database name list not display issue

I am getting blank list when i trying to add database with entity framework. Note: i am using code first approach. Please check the screen shot bellow for better understanding. Its existing project just deleted .edmx and now trying to generating again for a issue.
Kevin himch
1

votes
1

answer
38

views

Access UPDATE statement in query fails to actually update

The following tables exist: Passerine_Survey_Observation Species_Codes I'm trying to set the common name in Passerine_Survey_Observation with that of Species_Codes: UPDATE Passerine_Survey_Observation INNER JOIN Species_Codes ON Passerine_Survey_Observation.SPEC_FK = Species_Codes.SPEC SET Passeri...
Kevin R. M.
1

votes
0

answer
218

views

Load-balancing for real-time production environments in TensorFlow

Let's say that you want to have a machine that serves up inferences to input data that and has multiple GPU cards. The inferences are made by a model with high GPU RAM requirements. These inferences are consumed by multiple machines on the same LAN. The input data is high volume and needs to be pro...
Kevin Johnsrude
1

votes
0

answer
39

views

Oracle sql: insert into by copying from two different tables

Although it's much more complex than I'm about to explain, I'll try to only stick to the relevant bits of what I want to accomplish. Our data model is quite complex, and the terms are also a bit confusing. We basically have a Request, and this request can have an active Request_Status (which has an...
Kevin Cruijssen
1

votes
1

answer
25

views

Display List data child to parents

I am trying to get a list of my Subcategory which contains Main Category id and name info. Please note: Subcategory is a child of the Main category. So it is like a child calling its related parents. I already tried code bellow but problem is I am getting error- System.ObjectDisposedException: 'The...
Kevin himch
1

votes
1

answer
50

views

Echo Option Value Based On Wordpress User Role

If someone can figure this out, man you would make my week! Basically what I'm trying to do is echo a different value in a option based on a the users role on Wordpress. If user is administrator echo = [email protected] If user is subscriber echo = [email protected] Here is the code I am working with: if...
Kevin W.
1

votes
0

answer
183

views

digitalocean and google domain settings

I have a problem when I access to my url. If I enter myurl.com on browser, it redirects to my digital ocean server and shows the contents correctly. However, the url on the browser is changed to ip address:port/index right away. I'm not sure what to change to show up with correct url (myurl.com) on...
Kevin Cho
1

votes
0

answer
243

views

Spring Boot Security Javascript Post 401 error

I'm currently developing a micro-service architecture application with a Spring boot Authorization Server. When I try to get a new token with a existing account trough postman I get a valid token. Postman request and result - Postman body Now when I try to do the same with a Javascript call I get a...
Kevin Bos
1

votes
1

answer
27

views

accept() blocks (with pending connections); Ctrl+C unblocks?

I've written a simple C++ server for my Windows desktop which talks to a mobile app I'm developing. When the two communicate, the client connects, sends some data, receives data back from the server, then the connection is closed. However, occasionally, the client will connect, send data, then ti...
Kevin Engel
1

votes
0

answer
52

views

How to know google SDK version ios?

Google has changed policy under which the ads will not display in SDK under version 7.0 any more. How to get SDK version of google admob?
Kevin Maru
1

votes
0

answer
26

views

How to removed crashed node in SQL Server 2012 Log Shipping?

My DR site server crashed and they built a new one with a new IP. I added the new node but I am unable to remove the old one (since it is no longer there). The log shipping to my new node is working fine. Any ideas on how I can remove the reference to the old secondary on my primary server? Remo...
Kevin T
1

votes
0

answer
124

views

How do you make a face symmetric using openCV and C++?

I was looking at this tutorial, and it said 'You can make a symmetric face, by averaging a face and its mirror reflection.' - and there was an example of Obama's face being made symmetrical. I tried doing the same with openCV and C++, but these are the results I'm getting using the following code:...
Kevin Thomson
1

votes
0

answer
27

views

Magic Tap Pausing Background Audio

I'm trying to figure out how to respond to magic tap while my audio playback app is in the background. I've already done all the Command Center stuff and they work as expected, but while audio is playing, magic tap from the home screen or elsewhere doesn't work. I'm able to respond to magic tap whil...
Kevin
1

votes
1

answer
612

views

Docker stack deploy postgresql slave container restart in few minutes

Run this YML with docker stack in swarm. Docker stack file to create Postgresql master/slave setup with 2 slaves. The slave container will restart in few minutes repeat and repeat.... How to fix it ? docker stack deploy -c docker-stack-postgresql.yml post docker-stacl-postgresql.yml version: '3' ser...
Kevin Lin
1

votes
0

answer
15

views

Separate “domain user” from “authentication user” with Devise

My previous Rails apps have ended up with bloated user model with a thousand has_many associations and a whole bunch of domain-specific code and attributes in the user model. In the next app, I am thinking about separating the model that I use for authentication (with devise) from the domain-specifi...
Kevin Lawrence
1

votes
1

answer
380

views

Hot to set up permissions for GraphQL with graphene and SQLalchemy

I have Clients, Users, Projects and Trips on my graphene schema: class Clients(SQLAlchemyObjectType): class Meta: model = ClientModel interfaces = (relay.Node, ) class Users(SQLAlchemyObjectType): class Meta: model = UserModel interfaces = (relay.Node, ) class Projects(SQLAlchemyObjectType): class M...
Kevin Castro
1

votes
1

answer
191

views

Lexical or Preprocessor Issue happens when using Core Data: '.Friend.h' file not found

I am writing functions of iOS Core Data. I have one Entity named 'Friend', its Codegen is Category/Extension. I have written my own Friend subclass as NSManagedObject. I am facing an issue that Lexical or Preprocessor Issue, '.Friend.h' file not found in file Friend_CoreDataProperties.h which is aut...
Kevin Science
1

votes
2

answer
207

views

Adding borders to dynamic range SQL query using VBA

I have tried a bunch of different ideas, and I'm still stuck. I'm new to VBA, so I can't figure out how to get exactly what I need, because I don't totally understand the language. I'm looking to add borders (both outer and inner) around each cell in the data that is returned to the query. How can I...
Kevin Vrany
1

votes
1

answer
256

views

SAS adding white space between the bottom of a graph and the footnote

I hope you can help. I would like to reduce the amount of white space that SAS adds between the bottom of a graph and the footnote. I'm generating graphs into .pdf files that need to meet certain requirements in terms of having a minimum margin (that I've specified in the options statement) and wi...
Kevin
1

votes
0

answer
35

views

How do I launch a exe file (will pop out GUI) with windows service correctly

I have a problem with launching a exe file with windows service. My service will call 'CreateProcessasUser' function in MSDN, and it will launch the exe file correctly, however the launched exe task only shows in task manager but didn't prompt on desktop(GUI). Is there any ideas to fix this problem?...
Kevin Chiu

View additional