Крис

1

votes
2

answer
212

views

Make expandable table rows accessible

I am creating a React component for tables with expandable rows, and I want to make it as accessible as possible. Here's a simple, unstyled example of what I'm making: https://codesandbox.io/s/nz8r2w74j Whenever I click the 'more info' button, a new row is added, with info about the row in front of...
Kris Selbekk
1

votes
2

answer
3.7k

views

Parser “babylon” deprecated error - webpack build

After I have been upgrading my projects JS packages, an error has appeared when building my bundle with Webpack. It seems to appear when building a .vue-file and can appear on any .vue-file build. I don't have 'babylon' in my package.json and I have a newer @babel/core version (7.2.2). This is the e...
Kris D. J.
1

votes
1

answer
332

views

webpack not bundling with babel-loader and react

I am following along with a relatively older tutorial (from 2014) on RGR. I had to use an updated version of React, Webpack, and Babel so there are some differences. Everything has been working thus far except when I tried to compile JSX into webpack, it is giving me a build error. ERROR in ./public...
Kris Martin
1

votes
1

answer
1.3k

views

How can I install older version (0.13.x) sbt on my MAC?

I need sbt version 0.13.x for a course in Scala and I am having difficulties installing it. I tried with the 'brew install [email protected]' command, but when I then check with 'sbt about' it gives a message 'No such file or directory'.  However, if I again try and do 'brew install [email protected]', it gives 'War...
kris
1

votes
1

answer
450

views

Using the value of a textbox in a userform to activate another textbox on a worksheet

Firstly, I am as beginner as beginner gets. I am trying to take the value from a text box embedded in a user form and then using it in another line of code to activate another text box on a worksheet. Private Sub CommandButton1_Click() UserForm2.Hide Dim FieldName As String FieldName = UserForm2.Tex...
Kris
1

votes
1

answer
172

views

Android null pointer in getfilesdir() [duplicate]

This question already has an answer here: What is a NullPointerException, and how do I fix it? 12 answers Trying to write a string to a file on Android app crashes on opening [duplicate] 1 answer I'm am getting a NULL pointer message on getfilesdir(). I'm sure it has something to do with my imple...
Kris Armstrong
1

votes
1

answer
242

views

IntelliJ Crashes on opening Gradle project, why?

So I have been using IntelliJ with Gradle perfectly fine for the past few days. I tried to create a second Gradle project in the same workspace and since, IntelliJ crashes when i open it. The start screen appears, the project opens then a few seconds later it just closes. There is a crash report tha...
Kris Rice
1

votes
2

answer
331

views

Django app only works on Debug=True Heroku

I thought I had this solved but I guess not. I've got my Django app on Heroku, and it works perfectly with DEBUG = True but does not work with DEBUG = False. UPDATED QUESTION Now I'm just battling with this error: 2018-03-14T18:42:08.812921+00:00 heroku[router]: at=error code=H12 desc='Request time...
Kris Tryber
1

votes
2

answer
410

views

JBoss/Angular 5+ : Not found Error (404) when trying to access <context>/<ROUTER_URL>

Context I have a question about my App context path configuration. I have an Angular App that I include in a WAR (using plugin com.github.eirslett.frontend-maven-plugin) so that I can deploy it to the Jboss server of my company. In local mode, no problem, I can access my app at http://localhost:4200...
Kris
1

votes
4

answer
3.2k

views

WebApi 2.0 - No HTTP resource was found that matches the request URI

With the code below I hit the constructor but never the action. The URL is http://localhost:64704/api/mytest/mymethod. Same problem when I tried to change the routing like this : config.Routes.MapHttpRoute( name: 'DefaultApi', routeTemplate: 'api/{controller}/{action}' ); [Route('api/[controller]')...
Kris-I
1

votes
0

answer
256

views

ASP.NET Core 2.0 Authentication fails when running through Nginx On Unix

I've created a simple ASP.NET Core Web Application (as an Api), and everything is working fine on Windows. I am trying to run it through a reverse proxy on Nginx and the app fails with an authentication error: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1] Request starting HTTP/1.1 GET http...
Kris Erickson
1

votes
1

answer
474

views

Spring Integration with WebSphere JMS IBM MQ provider

We have a WebSphere JMS Queue and QueueConnectionFactory with provider as IBM MQ. we can not connect to IBM MQ directly. I have the below configuration - I have bean jmsConnectionFactory that creates factory using InitialContext as expected. THE_QUEUE is JNDI name of my queue It is failing with erro...
Kris Swat
1

votes
0

answer
113

views

Can't start karma test - unable to resolve module [sqlite3] and more

I have a problem with run unit test for my stack: - node - ts-node - express.js - sequelize - mysql - karma When I run Karma I get a lot of errors like this one: 04 05 2018 20:49:57.255:ERROR [karma]: Error: Unable to resolve module [sqlite3] from [/home/userName/Projects/commercial/projectName/proj...
kris_IV
1

votes
1

answer
103

views

MSBuild Windows Kits 10 error with objidl.idl

Trying to build my solution with MSBuild 15.0 from TFS2017 server, I have the following errors: C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um\objidl.idl (702, 0) C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um\objidl.idl(702,0): Error MIDL2072: inapplicable attribute...
Kris
1

votes
0

answer
127

views

ggsave mac .png ignores size

On my Macbook Pro, early 2015, running High Sierra (if that matters) - it appears as though ggsave ignores my image width and height specification for .png files. I do not have this problem on machines running Windows. Here's a little reproducible example, although again, this issue will not occur i...
Kris Williams
1

votes
0

answer
212

views

How do I set locale information for all user accounts (including system user & network service user) in windows 2016

I am currently working on building an AWS AMI for a Windows 2016 base image. I'm doing this by creating a template for packer and I'm having issues getting the system and default user accounts to have their Locale set properly. I need to get the Locale set to en-AU (the AWS AMIs default to en-US)....
Kris Croaker
1

votes
1

answer
22

views

How can i make this Keyfunction and onload function to work?

Hi i using this code to highlight the input value when window on load and keyup Currently only keyup is working - not works when the window is loaded $(document).ready(function(){ $('.titleinput').keyup(function() { if ($(this).val().length > 10) { $(this).css('color', 'red'); } else { $(this).css...
kris yoges
1

votes
2

answer
1.4k

views

how to get the node_modules folder in an aws lambda function

So I am learning how to create alexa skills and I have create two sucessfully following the steps below but for some reason when I follow these steps now I am missing the node_modules folder and the package.json. This is causing the following error when I test my skill: Unable to import module 'inde...
Kris
1

votes
0

answer
26

views

Countif date prior specific date

I've encountered problem and Im struggling with easy issue. I want by VBA countif all items prior date. I am sure that my code + excel file has dates formats, but it doesnt work. When Im looking for exact date - it works, but when Im adding majority sign - VBA shows me always zero in prompt window....
Kris
1

votes
0

answer
60

views

Python: Plotting an integral function

I saw there are some similar questions around here but none of them seems to really get to my problem. This is my code: import numpy as np from matplotlib import pyplot as mp from scipy.integrate import * deltat = 30.0e-6 ku = 50.0e-12 pant = 0.05 csc = 200.0e-12 tausc = 150.0e-6 def int1(tp, tausc...
Kris
1

votes
0

answer
33

views

VBA- Nested if statements - error 10

I have problem with my simple VBA code. I have multiple nested if statements (should be included in cells), but unfortunately Im struggling with 1004 error - application defined or object error. Do you know where is the problem? rejected = '=IF(ISNUMBER(SEARCH(''rejected permanently'', C2)), ''REJEC...
Kris
1

votes
0

answer
57

views

Struggling with loops and conditions

I am querying SQL Server from a PowerShell script and return a value that I store in variable as $latestVersion. I have a folder with 30 files having same static name at the beginning but ends with different day: TEMP.file TEMP 20181010.file TEMP 20181011.file TEMP 20181012.file ... What I am strugg...
Kris
1

votes
0

answer
58

views

Auto Layout localization warnings from CLI

I would like to lint on Auto Layout localization warnings which appear in Interface Builder, one such example: These warnings do not seem to surface if you run the Storyboard or XIB through ibtool: ibtool --warnings --errors --notices Main.storyboard Output from ibtool: com.apple.ibtool.document.err...
Kris Gellci
1

votes
1

answer
53

views

Netbeans maven project reverting to Java project on restart of netbeans

I am using Netbeans 8.2 (although this problem has been ongoing in previous versions). I can create a maven project, cut and past a previous one into that project, and then build the project and run it no problem. When I shut down netbeans though, the maven project changes to a java project and the...
Kris
1

votes
1

answer
45

views

Rotate keyframe animation not smooth

I can't tell why my loading icon animation is laggy. It doesn't seem to be hardware accelerated. I believe this is a standard way of doing this, so I'm a bit confused. .is-loading color: transparent pointer-events: none position: relative &:after -webkit-animation: spinAround 750ms infinite linear a...
Kris Jones
1

votes
0

answer
22

views

Youtube API wont play when calling player.playVideo()

I'm trying to get a click on .iphone to play a video that I constructed using the youtube API. It's in theory really simple. Click on .iphone then call function playVid() which executes player.playVideo() which should play the video but it doesn't. I know I'm missing something so basic and I appreci...
Kris Alcordo
1

votes
0

answer
58

views

readdir/File::Find::Rule is not reading a subdirectory and its contents in perl

I have tried 3 different ways to read contents of a folder and none of them are able to identify a subdirectory in a setup. Strange part is, when i recreate the folder structure locally , the sub-directory is identified and i get the file i am looking for with all the 3 solutions. This sub director...
Kris
1

votes
1

answer
46

views

How can I create a bunch of types and make them available for import from other modules?

I am trying to create a series of types using type(name, bases, attributes) without explicitly assigning those types to variables, and then make them available for import from other classes. What I have so far is something like this src/ __init__.py a/ __init__.py a_module.py b/ __init__.py b_module...
Kris Harper
1

votes
0

answer
73

views

Constructor Injection into a custom attribute

I'm trying the following: custom attribute: public class AuthorizeUserAttribute : AuthorizeAttribute { private readonly IUserCodeService _userCodeService; public AuthorizeUserAttribute(IUserCodeService userCodeService) { _userCodeService = userCodeService; } On my controller I use it like: [Authoriz...
Kris van der Mast
1

votes
0

answer
212

views

chart.js AJAX laravel Uncaught TypeError: Cannot read property 'fontSize' of undefined

I'm trying to get chart.js data through AJAX, this returns error 'Uncaught TypeError: Cannot read property 'fontSize' of undefined' Tried jquery ajax, same error Tried following this tut, tested different chartjs version, same error $(document).ready(function() { showGraph(); }); function showG...
Kris Ver
0

votes
0

answer
12

views

jQuery scrollbar thin streak on desktop?

I am a noob when it comes to jQuery and Javascript so some expert help/advice would be awesome. I'm having this issue on this scrollbar that I'm using https://code.falk-m.de/scrollBar/ where on some browsers, especially Safari, it will offset a bit and show a thin streak. It doesn't happen all the t...
Kris
1

votes
1

answer
33

views

Generating XML using T-SQL and some issues

I'm using your knowledge for some time, but this time I didn't find answer for my question. I'm self-taught, so forgive me any mistakes. I need to generate XML, I have never done that using SQL, so I have some issues. I have generated core, but I need to add schema and version and I'm not able to m...
Kris_S
1

votes
0

answer
277

views

Game Maker Studio 2 : Android : Error in NDK : setup-app.mk

In Game Maker Studio 2, when trying to build for Android, I am getting the following error : ClangExeLocation=/Users/../Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ Using NDKDir = /Users/../Library/Android/sdk/ndk-bundle Using PlatformDir = /Users/../Library/Andr...
kris
1

votes
0

answer
37

views

Deleting list items in a csv file from the user interface

i have this code that allows me save user input in a csv file and then from the csv file, display it as a list on my web application. i would also like to allow the users delete these items as they choose to. Is there anyway to do this?. Ps. i'm a python beginner this is the code below class Reusabl...
kris
1

votes
1

answer
37

views

Transparency issues with LWJGL “discard”, everything is invisible?

When I attempt to implement transparency for my textures in LWJGL 3, the models seem to render with full transparency, and thus are not visible at all. When I remove the check, it works fine. Any clue's as to why? Here is the shader code where the alpha component is checked: #version 430 in vec2 pas...
Kris Rice
1

votes
0

answer
62

views

Microsoft.AspNet.Cryptography.KeyDerivation vs System.Security.Cryptography

I lately noticed extremely slow performance of System.Security.Cryptography. To generate hash for password with 100000 iterations it took ~3 seconds. Similar code using Microsoft.AspNet.Cryptography for same configuration for hash took around 10x less time. Code I used to test is using System; usin...
Kris Avi
1

votes
1

answer
28

views

Bash script set Coordinate Universal Time on remote system using ssh and date

I have a bash script that attempts to synchronize the time on another machine. It is not my source code, but as I am refactoring bash script, I am trying to get it to pass ShellCheck. The source code for it looks something like this: d=$(date -u +%m%d%H%M%Y.%S) ssh [email protected] 'sudo date -u ${d}'...
Kris
1

votes
1

answer
39

views

How to call multiple PromptDialog in botframework v3

I have a RootDialog in my application and from there I am calling another dialog - AskMultiplePromptsDialog using context.call() method. In the StartAsync() method of AskMultiplePromptsDialog, I want to call a series of PromptDialog to take input from the user. When I do this, the first prompt com...
Kris
1

votes
0

answer
42

views

download mp4 from chrome video tag,but get an m4a file

I have a video tag on my website, and the user can download the video by right clicking on the video and saving it. The video source path has a md5 value as the version to avoid browser cache the video when video changed. When download the video from Firefox, I get the mp4 file, while I get m4a file...
Kris Roofe
1

votes
0

answer
53

views

How to get Selenium IWebDriver and IWebElement from Coypu?

I recently started using Coypu to automate some task with a Web Browser. It works great, especially when filling out forms and navigating links. Now, I am attempting to work with the table data. I actually want to take the table data and eventually dump it to a pipe-separated text file. However, I...
Kris

View additional