Latest Questions

Call to undefined method Illuminate\Database\Eloquent\Builder::links() error when attempting to paginate

I'm trying to create a simple filter system with a search box, service, category and a way to sort the items in my laravel controller. However, I am getting an

Error while creating a model for binary classification for text classification

code: model = create_model() model.compile(optimize=tf.keras.optimizers.Adam(learning_rate=2e-5), loss=tf.keras.losses.BinaryCrossentropy(),

gatsby build failing on netlify with throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath);

This error did not happen on my build from several months ago, I was on node v14.4.0 which was using npm v6.14.5. 6:09:13 PM: $ gatsby build 6:09:13 PM: interna

How to include Auth in Syncfusion PDF Viewer ServiceUrl Api Call in a Blazor WASM app

I am trying to use Syncfusion PDF Viewer in a Blazor WASM app with authentication, and am getting the following error: Microsoft.AspNetCore.Components.WebAssem

React MUI Autocomplete "options.filter" is not a function

I wish to create a autocomplete search bar with my own custom call to the backend, which searches through a list of tickers. <Autocomplete mu

Plotly (R): Make a surface plane in a plotly 3d scatter plot

I have made a 3d scatter plot using plotly and on that plot I would also like to have a 3d surface plane at manual positions and geometries. I don't want to mak

Is it possible to connect to serverless sql pool via azure databricks?

I'm trying to connect to synapse serverless pool via databricks. I need to create synapse views and external tables directly in databricks as part of an existin

Can I schedule a single background task to run at sometime in the future on iOS

I need to queue a background task on iOS to run specifically 1 minute later, and to run only once. All I have found so far in the docs is running a periodic tas

Issue converting object to int in Python for OLS regression

I'm trying to run a multiple linear regression in Python. One of my columns "member_total" is an object and I can't figure out how to convert it into an int. Ri

Azure App Service with AAD identity provider - Python & Streamlit framework for app - get logged in user

Have a web app developed in Python with the Streamlit framework. Deploying as an Azure app service. Authentication to the app is via AAD. I'm unable to get deta

"mes":"Value cannot be null. (Parameter 'source')" when want to show value which is true in view with checkbox

Hi I have 3 tables: Role , Permission , RolePermission In my Razor page view I want to show each permission that is true for a special role with marking the che

Assigning /32 ip addr to containers with docker compose Ubuntu 20.04

as you might quickly notice, I'm not a network nor a docker guru. I appreciate all help big time! I'm trying to run a two applications in two different docker c

LUA psvita TOUCH boton

I'm learning Lua, but I don't understand how to create a button? http://onelua.x10.mx/vita/docs/es/group__touch.html my reference if touch.front.count(

How to deactivate a conda environment before the batch file exits when closing a jupyter lab instance?

I have a batch file that I use to run my jupyter lab. file.bat call <anaconda_dir>\Scripts\activate.bat rasa_ai_conda jupyter lab conda deactivate call co

Creating a Trace Table

I need to write a trace table which is supposed to look like this picture To create the trace table I have to modify the following code with System.out.println

Limit integer and decimal parts length in flex

Is there a way I can extract the number of digits before and after the '.' in a float in Flex? I want to limit the number of digits in the integer part to 4, an

Store profile image in local storage and display it

I am building a profile page for my app in which I have a profile image section. I want to store the image that the user selects in the local storage and load i

Facebook Conversion API not receiving events on live event

I am sending an event to Facebook Conversion API. It sends fine when using the 'test_event_code' => 'TEST11781'. I receive it al ok in event manager. However

system.security.cryptography.protecteddata ,this error I'm getting in code build time. I'm was added Nuget package related to cryptography

Error MSB3027 Could not copy "C:\Users\surendra.reddy.nuget\packages\system.security.cryptography.protecteddata\4.5.0\runtimes\win\lib\netstandard2.0\System.Se

how to center the top links around a figure in hugo

I am getting into hugo, but am not sure how to go about creating a hugo site with tabs that are around a central image. As follows: What i can not figure out i

What does citext NULL mean in PostgresSQL

What does this mean in PostgreSQL columnName citext NULL Im working on some SQL change, there is data in the database, but doesn't show in the front end. Wonder

Pydirectinput/Pynput/Pyautogui don't always press keys

So, I've been trying to make a macro for a game on Roblox and sometimes the inputs don't actually work? Why does this happen? I've tried this in pydirectinput,

First row (with checkbox) in datagridview not getting checked

Here's the code. Thanks. private void checkAllToolStripMenuItemOff_Click(object sender, EventArgs e) { foreach (DataGridViewRow row in dgv_Off.R

how to score part of the neural network once and the rest multiple times caching the intermediate layer?

I train a model A and try to use the output of the intermediate layer with the name="layer_x" as an additional input for model B. model A is using input1, and m

My Superset cache is set to Redis, but I still get cache warning in logs

I am getting cache warnings in my log files and am not sure why. My cache override: CACHE_CONFIG = { 'CACHE_TYPE': 'RedisCache', 'CACHE_DEFAULT_TIMEOUT'

Cannot authenticate using API Key with NLog.Targets.ElasticSearch

I cannot get NLog.Targets.ElasticSearch to connect to a local ElasticSearch instance using an APIKey. My nlog.config has the following: <target xsi:type=

Eliminating NULL Values in SQL

I have a complex subquery within a query giving me this: Col 1 Col 2 value1 NULL NULL value2 value3 NULL NULL value4 value5 value5 But instead, I need this ou

Rails 7.0.4 Error when in run some code of ruby on rails

no implicit conversion of Hash into String class PostsController < ApplicationController @posts = Post.all respond_to do |format| format.html forma

can't run jdk-8u202-windows-x64.exe ... nothing happens ... what do I do?

I'm supposed to install JDK and JRE 8. I tried running file I downloaded from Oracle: jdk-8u202-windows-x64.exe When I try running it, nothing happens, no error

Print all lines between line containing a string and first blank line, starting with the line containing that string

I've tried awk: awk -v RS="zuzu_mumu" '{print RS $0}' input_file > output_file The obtained file is the exact input_file but now the first line in file is z