Latest Questions

How do I use font awesome in Gitbook?

I noticed that font awesome is integrated into Gitbook. We have the following files under _book/gitbook/fonts/fontawesome/, FontAwesome.otf fontawesome-webfon

How to draw a graphicLines in InDesign using CEP / ExtendScript?

I saw that there was a similar question but my problem is not the same : This is how I create my graphicLines : var myArr = [ [x1, y1], [x2, y2], ... ]

Executing a script before CMake configuration in CLion

I'm setting up a cross-compiling environment with CLion and need to execute a specific configuration script before configuring CMake. I can do it in the command

What is the from repeating same layers in AI architecture

I know that in ai models lstm is used to extract features from data and dropout is used to focus in the main ones, but i can't understand why people used to rep

Set CSS colours from server side

Background We currently have large client site in Optimizely (ASP.NET MVC) which hosts many, smaller sites, for their regional markets and large, important cust

SQLITE_BUSY The database file is locked

I'm getting the error [SQLITE_BUSY] The database file is locked (database is locked), even though I close my connection and the statements. Not sure what else

Atom disable tooltip when hovering over function signature

When using the Atom text editor, when I hover my mouse over a function signature, a tool-tip appears (see image below): How can I disable it? Thank you, happy

How to search for all records of of type CustomRecordType in Netsuite?

I am trying to get all the records related to a custom record type. How to do it in Netsuite SOAP? Also is there a way to search records of that custom record t

What is the scale of the leaf values in a CatBoostRegressor tree?

The puzzle I can't interpret the values in the leaves of a CatBoostRegressor tree. The fitted model correctly captures the logic of the dataset, but the scale

What is the fastest way to split Integer into digits?

I do a lot of operations with splitting numbers into separate digits, putting digits in ArrayList and passing this digits one by one to other ArrayList for furt

partitions_scanned missing from QUERY_HISTORY

I am trying to get from my query history the pct_table_scan as select query_id , (partitions_scanned / nullif(partitions_total,0)) * 100 as pct_table_scan from

Error plotting symbolic variable in MATLAB?

I am trying to learn fourier transform from book"signals and systems laboratory with matlab alex palamides" On page 312, following code is given which demonstra

pyqt is not showing my progress bar but it is taking the time to go through it [duplicate]

I have a set of functions that when they run can take a few minutes to finish. I want to display a progress bar while they are running. I have

get the variable $i from counter in text

I just don't know how to make this work. I got this Javascript $(".email").on("keyup change", function() { if ($(this).val().match(/@gmail/i)){ $(".groupa").sho

how to create a 3D matrix in a loop , where in each loop the matrix size might change?

i wrote this code where i have array of matrics(alpha_mom_DR_data_array), and in this array , there are matrics in different sizes , for each one i want to calc

Detected memory leaks in shared_ptr copy constructor

All the code is included in this post. For some reason, it tells me that, a memory leak is happening at shared_ptr.hpp(60), assuming this must be line 60 here.

Duplicate Encoder JavaScript, try to use indexOf but the output is still incorect

convert a string to a new string where each character in the new string is "(" if that character appears only once in the original string, or ")" if that charac

Using mysql in github workflow always leads to SQLSTATE[HY000] [1045] Access denied for user error

Im currently configuring a CI pipe for my laravel project via github actions. This is my build.yml file # GitHub Action for Laravel with MySQL and Redis name: A

Find nth week recurrence on week days with moment js

I have just started moment js, I'm trying to generate recurrence for every nth week for defined week days I have tried this code so far but not getting True for

Using Task Scheduler to run Python when I get a Windows Notification

I'm trying to run a script every time I get a Windows Action Center notification. I think Task Scheduler would allow me to do this relatively easily, but I'm un

some lines break in vs code

I have word-wrapper enabled in VS code and prettier formatter installed. For some reason some lines just break. How do I stop it from breaking?

Quick Nimble ios test not running

I'm trying to use Quick & Nimble to test a project but the test is never executed. I've created a project from scratch using File->New->Project in Xco

Remove the values from array1 by referring to array2

I have two arrays and I want to remove the values from array1 by referring to array2. The expected result is ["b", "c",]; array1 = ["aa", "bb", "b", "c",]; ar

Git diff command from shell script

I have a script: #!/bin/bash git log -1 | grep -w '^commit' | cut -d ' ' -f2 | git show | grep -w '^index' | cut -d ' ' -f2 > tmp_out while read -r arg do

Performance improvements for split screen with scroll overflow

Edit: Turns out the performance problems only happen during development. Once Gatsby builds the project, everything runs well. I'd be curious to hear if anyone

Could not load file or assembly 'ClearScriptV8.win-x64.dll' or one of its dependencies. The module was expected to contain an assembly manifest

I have .NET MVC app (.NET Framework 4.6.1) and I want to add ClearScript to my app. I've added package Microsoft.ClearScript via NuGet and after launch app I ha

ModuleNotFoundError: No module named 'google' Error

Trying to use google search api showing me an error: --------------------------------------------------------------------------- ModuleNotFoundError

ImportError: cannot import name 'builder' from 'google.protobuf.internal'

I am following this video text An error was found in this code, at 22:22 . !python {SCRIPTS_PATH + '/generate_tfrecord.py'} -x {IMAGE_PATH + '/train'} -l {ANNOT

Where to place the resource root id in the url?

I have resources linked like this: A->B->C->D I want to design a REST API to retrieve the D elements inside of A Which is the best design approach? api