All Questions

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

Unwanted left hand margin appears

I'm a newbie to web-development. I am building a mock-up site for online food delivery. I am following the instructor line-by-line in both HTML and CSS. I have placed some photos onto the site. There ...
0
votes
0answers
2 views

Plot decision tree gives texts instead of an image

After I fit the tree for an 8-class dataset. I tried to plot a tree but only texts coming out and Jupyter shows that the code is still running. plt.figure(figsize= (15,15)) tree.plot_tree(clf,filled=...
1
vote
0answers
3 views

Laravel eloquent error expects parameter 1 to be string when trying to use sum

I used this query: Product::whereId($item->id)->sum(function ($row) { return $row->quantity * ($row->variable ?? 1); }); But I got this error: production....
0
votes
0answers
3 views

Trigger useEffect from a change in ref.current

I have created a popup that the user can use to add stuff to the application, every field is a separate component, because I need to reuse them in several places in different configruations. I have ...
0
votes
0answers
4 views

JButton in JPanel with gridlayout

Is it possible to bring it into this shape using the gridlayout? enter image description here I use empty label to add this empty grid enter image description here This is my code: import javax.swing.*...
0
votes
0answers
3 views

Doctrine with Microsoft SQL Server 2019 INSERT binary data type

I`m having major issues using Doctrine and SQL because Doctrine does not convert the right data type when inserting (I think). In my project (symphony 5) I have already made drastic changes to my User ...
0
votes
0answers
4 views

Trying to get property 'id' of non-object using laravel 8

I am trying to show notification but unfortunately i am getting error if work permit table has not record how can i resolve this issue ? thnaks. Trying to get property 'id' of non-object (View: /home/...
0
votes
0answers
4 views

Google Maps marker addListener event

Hello i am using google maps with markers and infowindow when i click the marker the goal is open the infowindow/popup and shows the info with a gallery rotation but when i click the first time the ...
0
votes
0answers
5 views

Run a Code When the Debug Stop Button is Pressed in C++

I wanted to know if it's possible to run a function when I click the "Stop" debugging button during a debugging sessions at C++. Basically I often debug a code in C++ and step-through each ...
0
votes
0answers
5 views

Add Animated GIF Overlay to a Still Image (In Python or ffmpeg)

how can I add a animated gif like Happy GIF as a overlay to a still like this I would like to do it in either python or a CLI tool like ffmpeg or any other CLI tool. Please Reply As Soon As Possible
0
votes
0answers
8 views

How do I add a specific letter to a variable and then make it a string

I am trying to make a hangman game and I am not fully sure on how to add a specific letter to a variable. For example, adding a letter that someone chose through the pythons' input prompt to a ...
0
votes
0answers
4 views

Failed to create symlink to link phpmyadmin with Apache

Version: OS lsb_release -a : Ubuntu 18.04.5 LTS PHP php -v : 8.0.1 Apache apache2 -v : 2.4.29 (Ubuntu) Problem: I'm trying to install LAMP Stack using following article. However, I was getting HTTP ...
1
vote
0answers
10 views

How do I hide the status bar in Android

I use this following code to hide the status bar window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_FULLSCREEN Although this works but parts of this code are deprecated . I searched the net ...
-1
votes
0answers
8 views

How compiler knows which lambda to use in submit(Callable<T> task) or submit(Runnable task) in ExecutorService?

submit() method accepts both Runnable and callable as parameters. but it returns Future when we send callable interface as a parameter. So when just lambda posted () -> {} how compiler knows ...
0
votes
0answers
4 views

Geodirectory's map is not displayed on the add listing page to add a position

My form for adding a place was working fine then since yesterday, the map is no longer displayed on the form for adding. impossible to define the location on the map so
0
votes
0answers
7 views

How to push a value into an array inside of a object Mongoose

I'm coding a soccer API, and I'm trying to push some values inside a object in my mongoose model. Check out the model code: teamOne: { players: { type:Array, ...
0
votes
0answers
5 views

Requesting parts of images from the browser without having to create tiles on the backend

Using a tilemap is a useful approach to limit the amount of data transferred if users only explore a small part of a large image on a website. There are Javascript libraries like Leaflet that take ...
0
votes
0answers
5 views

How to change Image of Bootstrap Carousel on Mobile View?

I have a Bootstrap Carousel in my project it works perfect in each and every view. But I want to change the carousel images of every slide in the Mobile View. I have tried everything but failed. ...
0
votes
0answers
4 views

Bootatrap carousel in rails 6

I'm trying to create a bootstrap carousel for the homepage of a blog that scrolls through the last three articles from the database. I got it working for a carousel that advances automatically but I ...
0
votes
0answers
5 views

System.Data.SqlClient.SqlException in Entity Frame work (Web API)

My Web Controller Code: using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using ...
0
votes
0answers
3 views

Removing upper margin in ConstraintLayout with bottom navigation

I have created Bottom Navigation Activity in Android Studio. Now I'm adapting all layouts to my needs but I have a severe problem with removing that margin between nav_host_fragment and it's parent ...
0
votes
0answers
5 views

React Material UI TextField FormHelperTextProps Styling Not Working

I'm trying to style the helper text that comes with the TextField Component given by Material UI ( found here). I'm using FormHelperTextProps (found here). However, it seems that, for some reason, ...
0
votes
0answers
6 views

How Storing and Retrieving Image in Sqlite3 with swift4

How Storing and Retrieving Image using sqlite3_bind_blob in swift4.
0
votes
0answers
4 views

Query Firebase using Map value, Flutter

I'm trying to query to my Firebase collection using the value inside of Array. I'm using arrayContains and then passing the value like shown in the code, but after querying, it returns a length of 0. ...
-1
votes
0answers
8 views

getting segmentation fault in local machine and online ides works perfectly for a dynamic programming solution

`#include <bits/stdc++.h> using namespace std; typedef priority_queue<int> maxHeap; typedef priority_queue<int, vector<int>, greater<int>> minHeap; #define endl "\n&...
0
votes
1answer
7 views

React Load Images and Dynamically Display in Component

I have been trying for a few hours to get a react component to load an image of a playing card depending on the prop passed in. I have been looking online and the answers I find to this issue are ...
-1
votes
1answer
12 views

How can I solve this problem in processing 3 java?

String l = String.valueOf(scoreLow); String m = String.valueOf(scoreMed); String h = String.valueOf(scoreHi); println(l,m,h); in processing, Error ==> Return type for the method is missing
0
votes
0answers
4 views

How to trigger push notifications in Flutter app using FCM without using the Firebase Console?

I want to create an event management app in which the admin can create new events and the client can book seats for the event. What I want to achieve is that when the admin creates a new event, a push ...
0
votes
0answers
4 views

Has anyone integrated Trello or any other KanBan system with OpenProject

I am looking for the path of least resistance in integrating a KanBan system with OpenProject. I like Trello and I like Open Project so integrating them is my goal. However, if another KanBan system ...
0
votes
0answers
4 views

How to set Joi validations with custom messages?

I was trying to set some validations with some custom messages in Joi. So, for example, I have discovered that when a string must have at least 3 characters we can use "string.min" key and ...
0
votes
0answers
5 views

How to stop MS access 2019 ascending numbers in primary key?

I have a MS access database in which I have a Sale Rep ID with primary key. But when I'm trying to add data let's say