All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Is there any way to set jdbc query timeout globally in oracle database

Can we set Query timeout globally (i.e. in DataSource configure, spring application properties file or somewhere).As i have to write everywhere in my project in which Statement / PreparedStatement ...
0
votes
0answers
4 views

A Swift Definition of Time

With respect to the source code for the Measurement and UnitDuration classes; where can I find the definition that there are sixty seconds in a minute? The nearest I have found is the code below: ...
0
votes
0answers
4 views

Powershell - problem with read-host variable in script

I have a little problem. I have created a script in Powershell (v. 5.1.17763.592) and It doesn't work properly. I Have a little problem and I'm just lack of ideas. $NUMBER = Read-Host 'Enter the ...
0
votes
0answers
5 views

How to avoid repeated arguments in function call in Python 3

How can you avoid repeating the same arguments over and over in Python in a similar method call? For example in this snippet: for col in self.numerical_columns: self.comp_train_df = self....
0
votes
0answers
2 views

Invalid operation: relation “information_schema.sequences” does not exist (SpringBoot + RedShift )

I am trying to build connection with Redshift Database in my Spring Boot application. I have below entries in my properties file. spring.datasource.driver-class-name=com.amazon.redshift.jdbc41.Driver ...
0
votes
0answers
3 views

How can i solve the uncaught type error that comes when I create a function to handle my xhrhttp Requests?

I am practicing on how to use XHRHTTPRequest and i am creating a small library to handle the request but keep getting the errro below yet i cannot identify an error in the code. below is my eay.js ...
0
votes
0answers
6 views

How do I make my bot send a message in a specific channel then delete it after a period of time

I am getting back into javascript and coding and stuff because I have a passion project I wanna work on for a guild in a game I play. So I wanna figure out how I could get my bot to send a message at ...
0
votes
0answers
8 views

Manipulate strings on MySQL database

I have these strings : X322-1-381128 and X322-1-383128 I need manipulate these strings for get output : X322138128 and X322138328 I have tried withous success this solution, because the output is ...
0
votes
0answers
2 views

Ansible: Is it possible to increase the timeout for apt_repository module?

I have this in my playbook: - name: Add Glusterfs APT Repository become: yes become_method: sudo environment: http_proxy: http://192.168.42.250:3128/ http_proxy: http://192....
0
votes
0answers
4 views

Python: run appium server from command line failed due to path issue

So i try to start appium server using this command: import os os.system("start /B start cmd.exe @cmd /k appium") When i start cmd window ant type appium this start my server but with the above ...
0
votes
0answers
2 views

Google Tag Manager - events not showing up in Google Analytics Real Time Events tab

I have added the below code to the head tag of my website, but when I navigate through the pages and make a transaction, the data doesn't flow through to the Real Time -> Events tab on the Google ...
0
votes
0answers
5 views

failing to compile when using jest in vue but test cases are passing

i'm using jest with vue.js and running my test successfully but my module building are failing. i couldn't understand why. here's my code. please help me.i'll provide more if needed. package.json { ...
0
votes
0answers
3 views

Error messages with mustache and spring error tags

I found the following documentation from Spring to validate forms easily. http://github.com/spring-guides/gs-validating-form-input Now I have the problem that I can't use the Thymeleaf error tags ...
0
votes
0answers
4 views

Can't get calendar event ID to be linked in a cell

good day! I was able to create different calendar events using googlesheets thanks as well to our community. However, I now want to put a hyperlink of that created event in a column next to my ...
0
votes
0answers
6 views

Camunda for storing data

In camunda, if lot of data are associated to a task, should we try to capture the data in the task itself? or the data has to be stored in a separate table and use Camunda only to track the status? ...
0
votes
0answers
5 views

Error while sending email [Symfony mailerBundle]

I'm building a website with symfony 4, today I try to send email with the emailBundle of symfony i'm using also the mailgun bundle as transport. Everything is well configured. When I send email the ...
0
votes
0answers
3 views

Prestashop CSV importer for category that has an extra field

in my Prestashop (1.6.1.23) i have added a second image field for every category. I have like 20k categories to import in the shop and need to override the Prestashop CSV importer so i can add that ...
0
votes
0answers
4 views

Compile application without linking libssl.a and libcrypto.a

Makefile: OPENSSLDIR = /usr/local/ssl/fips­2.0 OPENSSL_INCLUDEDIR = /root/poc/openssl-1.0.2r/include/ FIPSMODULE = $(OPENSSLDIR)/lib/fipscanister.o CC = /usr/bin/gcc FIPSLD_CC = $(CC) FIPSLD = /usr/...
0
votes
0answers
6 views

The apps on Android Studio Emulator do not open

When I run my code a white screen pops up then it closes. I have searched on Google for this problems but couldn't find any. I have tried with a new virtual device, wiped data and cold boosted. Still ...
0
votes
0answers
9 views

“about:blank#blocked” error while i submit my html form

Here is the code <form action="127.0.0.1:1337" method="POST"> First name:<input type="text" name="fname" value=""><br><br> Last name:<input type="text" name="lname" ...
0
votes
0answers
5 views

openlogo dataset pytorch dataloader

I have a brand image dataset with the following structure: openlogo Annotations 1.xml 2.xml N.xml ImageSets class_sep class_1_train.txt ...
0
votes
0answers
4 views

Is there any way to visually change representation for particular editor in VS Code?

I often simultaneously open similar files placed in different locations, like Dockerfile - one in my project and one in example folder. This confuses me because I often try to edit wrong file. I made ...
0
votes
0answers
3 views

Error ORA-01722: Invalid number when creating materialized view (Oracle SDE problem?)

I wanted to create a materialized view out of a query involving a spatial table (SDE based) and oracle non-spatial tables. Executing the query only, works, but as soon as I want to create a ...
0
votes
0answers
5 views

WordPress Video Background in Header

Recently I'm developing a wordpress theme and I need to set a video background in the header section. How can I make it ? I'm looking for the proper code instead of guidelines. Thanks.
-2
votes
0answers
18 views

Create a function with supporting points [on hold]

I have a device which shall provide current status values, from 0 % to 100 %. What it actually does is the following: 0, 20, 31, 50, 66, 76, 100 while the correct values would be 0, 12.5, 25, 50, ...
0
votes
0answers
10 views

How to Convert an audio file from “.m4a” to “.3gp”, So that the file size can be minimized

In certain mobile devices, recorder records the calls and audios as ".m4a". I am developing an android application in which these ".m4a" files should be converted to ".3gp". Even though ".3gp" are ...
0
votes
0answers
4 views

Check if .NETCore is installed using CustomAction with Wix

I want to cancel the installation if the NetCore 3.1 (preview) is not installed I create this CustomAction : using Microsoft.Deployment.WindowsInstaller; using Microsoft.Win32; namespace ...
0
votes
0answers
3 views

OIDC callback slow on IIS

I have implemented OIDC authentication in an ASP.NET MVC app, against an OpenAM IdP. Running the web app on localhost with IIS Express, the callback from the IdP is near instant. When I deploy to IIS ...
0
votes
0answers
4 views

shuffling rows of a dataframe with R sparklyr

I have a dataset and I shuffled the rows using the following command: data <- data[sample(nrow(data)),] after using sprklyr, the above code does not work anymore. can you please tell me how I ...
0
votes
1answer
8 views

how can I make animation like in Stanford Majors page?

http://majors.stanford.edu/ I don't know if these things called animation but how can I make that turning thing when you click on majors? I assume that I'm gonna need to use CSS Grid and JS.
0
votes
0answers
6 views

System.Socket hangs in ios without any error. (Unity)

I am developing cross platform game in unity and i am using System.Socket for comunication between server and client. But in some ios devices(Iphone Xs) game stop receiving udp data suddenly but this ...
0
votes
0answers
4 views

How do I know which one is the right MAC Address from VB6 code?

I use this code in VB6 to get the MAC Address of the computer: Sub GetMACAddress() 'get MAC address using WMI Dim oWMIService As Object Dim oColAdapters As Object Dim oObjAdapter As ...
0
votes
0answers
7 views

Selenium package isn't existed

I'm a little embarrassed because I think I've done correctly to download Selenium like below image but, when I try to find Selenium file from site-packages, it says there isn't any file about ...
0
votes
0answers
13 views

How to merge 2 Dataframe with different length and keep all the position of first dataframe?

As the question declares on the title, I would like to merge and maintain the position of the left data frame using Python. Specifically, the 2 data frames are as below: df1.head() >> ...
0
votes
0answers
10 views

How can I retrieve nested firebase data in my ios app?

I have nested database in firebase. I have to read data from firebase to my application but in this point data little bit complicated so I can't retrieve correctly. I tried many way to solve it but it ...
0
votes
0answers
4 views

C# WCF Client Argument Exception XmlNode[] cannot be converted to type “…”

Hello i am trying to create a SOAP Client with C# and WCF. My Environment: Visual Studio 2019 .net Core 3.0 MVC Project WSDL Url with Basic Authentification Code: ...
0
votes
0answers
6 views

Bezier curve in Java with Points

I'm trying to make a simple program that will draw a Curve through randomly generated points.But something goes wrong and the compiler gives an error.I'm just starting to learn java and this is one of ...
0
votes
0answers
5 views

How to plot a 3D surface when X and Y have different shapes?

Apparently X and Y need to have the same size, otherwise an error (shape mismatch) is obtained. But there are many cases where one wants a surface with X and Y having different shapes. # Typical ...
0
votes
0answers
5 views

Changing property=“og:locale” for one specific page

I have an online store that is currently in English and Deutsch. But I want to make three landing pages in Danish as well. I'm using the plugin Polylang for translating the website and when I add ...
0
votes
0answers
6 views

Odoo v12, when MrpProduction is called if my product has routes values

I'm using OdooV12. I have to do something into Sales (sale module) when the order has some products contain "routes = ['Make To Order', 'Manufacture']". (sale_order_line_id.product_id....
0
votes
0answers
10 views

How to Limit the characters size of chip of angular-material mat chips?

I am using Angular material mat-chips to implement the label's management feature. When I use maxLength validator property, It's checking the number of chips i'e., number of labels. But I want to ...
0
votes
0answers
15 views

Write update sql script in migration

I have an entity for the Landlord. Here is the model: [Required] [MaxLength(PM101Consts.MaxNameLength)] public virtual string FirstName { get; set; } [Required] [MaxLength(PM101Consts....
0
votes
0answers
11 views

How to parse with replace function in logback without brackets

Var3 is displayed only if it is in MDC. how to output var3 without brackets? Now, if I trying do it, or var3 always visible, or I take errors in console <appender name="CONSOLE" class="ch.qos....
0
votes
0answers
5 views

Track in Google Analytics 301 redirect from own domain to external domain out of my control

I have the following question. We would like to track in Google Analytics the quantity etc of the amount of users hitting our page, that is 301 redirected to for example youtube.com Situation: ...
0
votes
0answers
7 views

When DocuSign will be ready for Chrome 80 ? - sameSite cookie change

We use DocuSign embedded sending feature. Basically we create envelope through API and then display to a sender an iFrame window with envelope sending view where he can do final configuration and ...
0
votes
0answers
6 views

Annotate Images for training YOLO with custom dataset

I am using MODD (marine obstacle detection dataset) for detecting marine objects using YOLO. I followed Mark Jay series for training the algorithm with custom dataset. But in the tutorial, detection ...
0
votes
5answers
25 views

React js - Is there any other way to optimize my conditional code

Hello is there any way to optimize my code that consist of condition statements? Here is my code: if (num === 'NUM_1') newNum = 'number1'; if (num === 'NUM_5') newNum = 'number5'; if (num === '...
-1
votes
0answers
11 views

How to use thread in drawing circles so that each thread draws a circle

public void paintComponent( Graphics g ){ Random random = new Random(); super.paintComponent( g ); for ( int topLeft = 0; topLeft < 300; topLeft += 3 ) { int radius = 160 - ( topLeft ...
0
votes
0answers
7 views

Trouble installing Odoo 13.0 in Ubuntu 18.04LTS

While installing odoo13 via source install from Git in ubuntu 18.04LTS, installing the requirements.txt it gets stuck on running setup.py bdist_wheel for lxml for very long and once it runs it says ...
0
votes
0answers
5 views

Multiple exchanges in one channel or multiple channels with one exchange

I have a scenario where there are multiple sources sent messages to different queues and every source can send to multiple queues. I also have consumer prefetch equal to 1 for every consumer. which is ...

15 30 50 per page