Id int64 4 8.51M | PostTypeId int64 1 7 | AcceptedAnswerId int64 7 75.5M ⌀ | ParentId int64 4 41.8M ⌀ | Score int64 -208 27.7k | ViewCount int64 11 12.4M ⌀ | Body stringlengths 0 45k | Title stringlengths 2 150 ⌀ | ContentLicense stringclasses 3
values | FavoriteCount int64 0 225 ⌀ | CreationDate stringdate 2008-07-31 21:42:52 2011-12-14 18:48:47 | LastActivityDate stringdate 2008-08-01 12:19:17 2023-03-05 04:40:26 | LastEditDate stringdate 2008-08-01 13:54:25 2023-03-05 03:12:45 ⌀ | LastEditorUserId int64 -1 21.3M ⌀ | OwnerUserId int64 -1 21.1M ⌀ | Tags listlengths 1 6 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75,636,997 | 1 | null | null | 0 | 14 | I am trying to make a design that stays at the max aspect ratio 16/10 or 10/16 (landscape | portrait) and and centers this box on the x axis.
this code is working exactly as I want with the exception of I would like the whole thing centered on the x axis. I have tried wrapping it in a container with grid/flex center a... | Max Fixed Aspect Ratio Container Centered on X AXIS | CC BY-SA 4.0 | null | 2023-03-04T16:24:26.990 | 2023-03-04T20:09:27.560 | 2023-03-04T20:09:27.560 | 367,865 | 4,139,128 | [
"html",
"css"
] |
75,636,998 | 1 | null | null | 0 | 27 | I have the following code:
```
import Foundation
import SwiftUI
struct SignInButtonStyle: ButtonStyle{
func makeBody(configuration: Configuration) -> some View {
ZStack{
RoundedRectangle(cornerRadius: 20)
.fill(Color(red: 27/255, green: 57/255, blue: 255/255))
.f... | Photo modifies rounded rectangle to rectangle | CC BY-SA 4.0 | null | 2023-03-04T16:24:35.073 | 2023-03-04T16:46:21.863 | 2023-03-04T16:46:21.863 | 20,287,183 | 11,273,717 | [
"ios",
"swift",
"swiftui",
"uikit"
] |
75,636,996 | 1 | null | null | 0 | 22 | I'm working on a script that copys, moves, or renames the last file found in a folder but I can't get it to go to the other folder
I know pushd is the reason why it's not placing the file in the correct folder
I have tried to remove it, but can't seem to make it work right
Now I did search your site and found How to mo... | How to move the last txt file from 1 folder to another | CC BY-SA 4.0 | null | 2023-03-04T16:24:15.483 | 2023-03-04T17:37:13.860 | 2023-03-04T16:26:28.337 | 21,307,808 | 21,307,808 | [
"batch-file"
] |
75,637,006 | 1 | null | null | -1 | 11 | I have a problem with building my app.
When I run my app with react-native run-android it builds successfully and installs the app on emulator, but does nor reflect the change. It shows me the output of default welcome page which comes on first run when we create an app.
| React-native run-android do not update modified code | CC BY-SA 4.0 | null | 2023-03-04T16:25:10.877 | 2023-03-04T19:14:33.557 | 2023-03-04T19:14:33.557 | 6,083,675 | 21,332,150 | [
"java",
"android",
"react-native",
"glade"
] |
75,637,008 | 2 | null | 75,636,826 | 0 | null | Perhaps you want to make an endpoint to node.js server for example post /postdata and make a fetch call from react native
| null | CC BY-SA 4.0 | null | 2023-03-04T16:25:18.440 | 2023-03-04T16:25:18.440 | null | null | 15,820,099 | null |
75,637,011 | 2 | null | 75,625,942 | 0 | null | try rhis:
```
while(true){
getbarcode();
}
```
| null | CC BY-SA 4.0 | null | 2023-03-04T16:26:12.603 | 2023-03-04T16:26:12.603 | null | null | 21,017,967 | null |
75,637,009 | 2 | null | 75,636,935 | -1 | null | I think you are asking this:
```
<input type="text" name="city" list="cityname">
<datalist id="cityname">
<option value="Boston">
<option value="Cambridge">
</datalist>
```
Check it once.
| null | CC BY-SA 4.0 | null | 2023-03-04T16:25:38.573 | 2023-03-04T16:25:38.573 | null | null | 16,053,101 | null |
75,637,010 | 1 | null | null | -1 | 12 | I am not able to start minikube on my mac os
I am getting the below error
```
minikube start
minikube v1.29.0 on Darwin 13.2.1 (arm64)
✨ Automatically selected the virtualbox driver
❌ Exiting due to DRV_UNSUPPORTED_OS: The driver 'virtualbox' is not supported on darwin/arm64
```
Help on this would be appreciated.... | Minikube not starting on macOS | CC BY-SA 4.0 | null | 2023-03-04T16:26:04.717 | 2023-03-04T16:27:41.627 | 2023-03-04T16:27:41.627 | 213,269 | 6,605,452 | [
"macos",
"minikube"
] |
75,637,013 | 1 | null | null | 0 | 20 | I have the FocusNode like this:
```
fn1.addListener(
() {
if (!fn1.hasFocus) {
setState(
() {
_descriptionFieldShowSuffix = false;
},
);
}
},
);
```
And I would like to call function in above manually, for example, from another ... | How to call <listener> function manually? | CC BY-SA 4.0 | null | 2023-03-04T16:26:16.960 | 2023-03-04T16:43:34.503 | null | null | 16,851,872 | [
"flutter",
"listener"
] |
75,637,018 | 2 | null | 75,635,742 | 0 | null | The problem is this line
```
saites = kaste.find_elements(By.CLASS_NAME, 'a-link-normal s-underline-text s-underline-link-text s-link-style a-text-normal')
```
`By.CLASS_NAME` expects only one class name and you've sent it four. Convert it to a CSS selector and it will work. In CSS selector syntax, a class name is pre... | null | CC BY-SA 4.0 | null | 2023-03-04T16:27:43.340 | 2023-03-04T16:27:43.340 | null | null | 2,386,774 | null |
75,637,014 | 1 | 75,637,364 | null | 0 | 12 | I am little new in PHP and Google Workspace. I am trying to create new user in my workspace. I have my code like this
```
putenv("GOOGLE_APPLICATION_CREDENTIALS=credentials.json");
$client = new Google_Client();
$client->useApplicationDefaultCredentials();
$client->setSubject($workspace_admin_email);
$client->setApplic... | Create New User Google Workspace PHP api | CC BY-SA 4.0 | null | 2023-03-04T16:26:33.700 | 2023-03-04T17:25:22.387 | null | null | 19,931,837 | [
"php",
"google-api",
"google-api-php-client"
] |
75,636,986 | 1 | 75,637,720 | null | 1 | 21 | I want to create a tree like comment section in my site, but I can't handle to work it as expected. I just ended up with a mess there, but it seems to me that model works perfectly.. Maybe I am wrong, but I assume there is a template logic problems. I've attached a screenshot of how it looks now. As you can see, commen... | How to properly create recursive comments in templates django? | CC BY-SA 4.0 | null | 2023-03-04T16:22:46.307 | 2023-03-04T18:21:43.653 | 2023-03-04T16:50:27.830 | 19,705,703 | 19,705,703 | [
"python",
"django",
"django-models",
"django-templates"
] |
75,637,012 | 1 | null | null | 0 | 26 | Starting to learn Kivy and can not update the graph on the button. Ideally, in the future, data should come from outside and be added to the graph without pressing any keys.Tried to use Clock.schedule_interval but it didn't work.
```
from kivy.app import App
from kivy.uix.label import Label
from kivy.uix.button import ... | Kivy update plot on press button | CC BY-SA 4.0 | null | 2023-03-04T16:26:13.410 | 2023-03-05T00:23:45.727 | 2023-03-04T16:31:26.377 | 21,332,279 | 21,332,279 | [
"python",
"matplotlib",
"kivy"
] |
75,637,019 | 1 | null | null | -1 | 20 | After one of the migrations from PHP 7.3 > 7.4 > 8.0 > 8.1 an error started occurring in
```
$handle = @fopen("$file.lock", 'w');
```
which creates a file (with permissions 0644) if it doesn't already exist, but then the page dies with 503 error
older code was this one and it had the same issue
```
$handle = fopen("$f... | PHP error 503 on certain local file operations | CC BY-SA 4.0 | null | 2023-03-04T16:28:12.880 | 2023-03-04T17:06:05.130 | 2023-03-04T17:06:05.130 | 387,503 | 387,503 | [
"php",
"http-status-code-503"
] |
75,637,023 | 2 | null | 71,224,684 | 0 | null | Like @hans-kesting mentioned, you can use `InputCheckbox`. If you would like to have a custom logic on value changed event you can achieve it with this:
```
<InputCheckbox Value="@IsChecked " ValueChanged="@((e) => CheckboxChanged(e))" ValueExpression="@(() => IsChecked)"/>
```
Note, that you cannot use `@bind-Value` ... | null | CC BY-SA 4.0 | null | 2023-03-04T16:28:48.350 | 2023-03-04T16:28:48.350 | null | null | 3,099,551 | null |
75,637,021 | 1 | null | null | 0 | 15 | I am trying to setup and run NodeJS application on EC2 (AWS) with custom domain and SSL certificate. After all steps (Route 53 setup hosted zones, Security group, Load Balancer, Target Groups, etc) I get "503 Service Temporarily Unavailable".
But as I know the NodeJS app itself should be https with options, something l... | NodeJS on AWS EC2 with custom domain and SSL - where are my SSL certificate files | CC BY-SA 4.0 | null | 2023-03-04T16:28:23.563 | 2023-03-04T16:28:23.563 | null | null | 12,471,154 | [
"node.js",
"amazon-ec2",
"https",
"ssl-certificate",
"custom-domain"
] |
75,637,024 | 1 | null | null | 0 | 11 | This is some aframe code `<a-camera position="0 0 0" look-controls="enabled: false"></a-camera>` ,now i want to work with threejs code,so which is the right way about coding ,I don't know if this is right
`let camera = document.createElement('a-camera'); camera.setAttribute('look-controls', 'enabled: false'); camera.se... | How do i coding aframe assets in threejs way | CC BY-SA 4.0 | null | 2023-03-04T16:28:51.177 | 2023-03-04T16:28:51.177 | null | null | 13,511,530 | [
"three.js",
"aframe"
] |
75,637,025 | 2 | null | 27,777,854 | 0 | null | It's now 2023, and the answers here led me to disabling the sourcemaps via and using its facility (file/settings/tools/file watchers).
In the Arguments text box, I used the following, and the sourcemaps are now history.
I hope this may help someone who, like me, was trawling the web for a couple of days for the solu... | null | CC BY-SA 4.0 | null | 2023-03-04T16:28:54.063 | 2023-03-04T16:36:03.647 | 2023-03-04T16:36:03.647 | 2,740,452 | 2,740,452 | null |
75,637,028 | 1 | null | null | 0 | 11 | Suddenly the import code "from tslearn.clustering import TimeSeriesKMeans" doesn't work anymore. It results in following error: AttributeError: 'NoneType' object has no attribute 'split'.
I tried to restart the kernel and everything necessary is installed. The code worked few days before. What can I do that my code is ... | Error after import tslearn.clustering in Jupyter Notebook | CC BY-SA 4.0 | null | 2023-03-04T16:30:28.103 | 2023-03-04T19:13:05.127 | 2023-03-04T19:13:05.127 | 17,562,098 | 17,562,098 | [
"python",
"scikit-learn",
"jupyter-notebook"
] |
75,637,029 | 1 | null | null | -1 | 40 | I am trying to match the first or last date of publication in a newspaper article. Here is the sample text
> gravida dictum fusce ut. Ornare massa eget egestas purus. Facilisis mauris sit amet massa. Tincidunt augue interdum velit euismod in pellentesque massa. Nibh praesent tristique magna sit. Eu augue ut lectus arcu... | Python Regex, Match odd date | CC BY-SA 4.0 | null | 2023-03-04T16:30:36.593 | 2023-03-04T22:10:24.430 | 2023-03-04T17:25:12.300 | 5,446,749 | 1,168,075 | [
"python",
"regex"
] |
75,637,026 | 1 | null | null | -1 | 17 | ```
[
"TR1_1386757455",
"TR1_1386746741",
"TR1_1386565396",
"TR1_1386561537",
"TR1_1386551848",
"TR1_1386541164",
"TR1_1386518635",
"TR1_1386475904",
"TR1_1386467890",
"TR1_1386428595",
"TR1_1386420191",
"TR1_1386412161",
"TR1_1386408150",
"TR1_1386400826",
"TR1_1386305585",
"TR1_1386288... | Pulling string as a array | CC BY-SA 4.0 | null | 2023-03-04T16:29:10.010 | 2023-03-04T16:29:10.010 | null | null | 21,312,736 | [
"javascript",
"reactjs",
"fetch"
] |
75,637,034 | 1 | 75,637,287 | null | 0 | 24 | I am doing a logistic regression table with tbl_regression (gtsummary package). However, confidence intervals are displayed with a comma in between. Is there a way to put a dash instead?
[](https://i.stack.imgur.com/xvgej.png)
So that it would be displayed instead of 1.04, 1.05.
| Insert dash in confidence interval instead of comma in R (gtsummary) | CC BY-SA 4.0 | null | 2023-03-04T16:31:46.043 | 2023-03-04T17:12:56.283 | null | null | 19,745,561 | [
"r",
"logistic-regression",
"confidence-interval",
"gtsummary"
] |
75,637,032 | 1 | null | null | -1 | 33 | I'm facing a problem in understanding the comparison logic involved in this code on line below `arr.indexOf(val)==index)`
```
var arr = [1,4,5,6,3,2,1,6];
var removedDuplicate = arr.filter((val,index)=> arr.indexOf(val)===index);
console.log(removedDuplicate);
```
Trying to understand logic pls help
| How do I understand the logic | CC BY-SA 4.0 | null | 2023-03-04T16:31:02.597 | 2023-03-04T16:56:18.630 | 2023-03-04T16:36:27.147 | 1,377,002 | 21,332,312 | [
"javascript",
"arrays",
"indexof"
] |
75,637,022 | 1 | null | null | 0 | 7 | I am getting error in MainActivity if(appCompat.checkSelfPermission..)code.
MainActivity code is:-
```
package com.example.practical14;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import android.Manifest;
import android.content.... | How can I call the dial number which is entered as input while pressing button call will be redirect using implicit intent in Android Studio? | CC BY-SA 4.0 | null | 2023-03-04T16:28:36.587 | 2023-03-04T16:28:36.587 | null | null | 21,225,430 | [
"java",
"android",
"exception"
] |
75,637,035 | 2 | null | 75,614,255 | 0 | null | It is difficult to know why without seeing the template.yaml file. It would be helpful if you could edit the question with parts of the template.
However what the error generally means is that the integration between the API Gateway and the Lambda function might be missing. The previous question you mentioned reflects ... | null | CC BY-SA 4.0 | null | 2023-03-04T16:32:04.773 | 2023-03-04T16:32:04.773 | null | null | 8,632,096 | null |
75,637,007 | 1 | null | null | -1 | 57 | I have written the code to generate the random nested list and genrate the unique combinations and returned the result with max_Result in descending order
```
import random
import itertools
outer_list = []
inner_list_size = 40
for i in range(400):
inner_list = [random.randint(-100, 100) for j in range(inner_list_... | Optimized Solution to find the combination with max Values | CC BY-SA 4.0 | null | 2023-03-04T16:25:14.670 | 2023-03-04T19:09:43.970 | 2023-03-04T17:42:17.233 | 12,162,608 | 12,162,608 | [
"python"
] |
75,637,033 | 1 | null | null | 0 | 17 | In my express.js typescript project, I've added custom paths to my express tsconfig.json file like this:
[](https://i.stack.imgur.com/zhRpk.png)
Then I'm importing my files with absolute custom path with no error like this:
[](https://i.stack.imgur.com/6wxBn.png)
But after building the project with `tsc` command, the i... | Typescript custom path issue - module not found | CC BY-SA 4.0 | null | 2023-03-04T16:31:28.830 | 2023-03-04T19:29:35.653 | null | null | 9,079,735 | [
"javascript",
"typescript",
"express"
] |
75,637,036 | 2 | null | 75,636,951 | 0 | null | Thats the way the `pack()` geometry manager works. See [Tkinter pack method confusion](https://stackoverflow.com/questions/57390278/tkinter-pack-method-confusion/57396569#57396569). It's easier if you use `grid()`:
```
from tkinter import *
window = Tk()
window.title("test")
window.geometry('800x600')
question_frame ... | null | CC BY-SA 4.0 | null | 2023-03-04T16:32:06.703 | 2023-03-04T16:32:06.703 | null | null | 8,172,933 | null |
75,637,037 | 1 | null | null | -1 | 5 | AFrame VR has done amazing bringing all of the VR headsets together under “one roof” sort of speak and I’m wondering if they will bring compatibility to Nintendo Switch or even just PlayStation moving forward?
| Has anyone gotten Aframe VR working on consoles | CC BY-SA 4.0 | null | 2023-03-04T16:32:18.173 | 2023-03-04T16:32:18.173 | null | null | 3,875,433 | [
"aframe",
"virtual-reality"
] |
75,637,038 | 2 | null | 75,542,822 | 0 | null | You are doing EAP, the password won't appear in the clear in the outer request.
As you have noticed you use EAP-TTLS/PAP. No other (commonly in-use) method will get you the cleartext password. Configure your devices to use EAP-TTLS/PAP. It is down to the end device which EAP method they try to authenticate with. If e.... | null | CC BY-SA 4.0 | null | 2023-03-04T16:32:23.683 | 2023-03-04T16:32:23.683 | null | null | 5,857,272 | null |
75,637,046 | 1 | null | null | -4 | 44 | In a csv file the data looks like this:
[](https://i.stack.imgur.com/dssQ8.png)
I want this data to look like this:
[](https://i.stack.imgur.com/Y16CQ.png)
How do I split this data into columns?
| How to separate space-separated data in a row in a csv file into its own columns? | CC BY-SA 4.0 | null | 2023-03-04T16:33:21.940 | 2023-03-04T17:43:15.897 | 2023-03-04T17:43:15.897 | 11,033,935 | 11,033,935 | [
"excel",
"csv"
] |
75,637,044 | 1 | null | null | 0 | 10 | Hellow. I have an app showing gifs. At certain moments (the binding goes to the actions of the mouse and keyboard), the basic gif is changed to a number of others. Each gif has a different duration.
```
class Animation(Image):
def setAnim(self, string, anim_loop = 1):
self.source = string
self.anim_... | Tracking the end of the gif display Python 3.x, Kivy | CC BY-SA 4.0 | null | 2023-03-04T16:33:19.233 | 2023-03-04T23:45:22.653 | null | null | 21,319,651 | [
"python-3.x",
"image",
"kivy",
"gif"
] |
75,637,031 | 2 | null | 75,632,910 | 0 | null | It is failry simple:
```
# Import the pandas library
import pandas as pd
# Create a sample dataframe
data = {'ID': [1, 1, 1, 3, 3, 3],
'FDAT': ['2004-08-17', '2005-07-10', '2006-06-12', '2001-12-20', '2003-07-14', '2004-06-01'],
'ABDAT': [['2004-08-17 00:00:00', pd.NaT, pd.NaT, pd.NaT],
... | null | CC BY-SA 4.0 | null | 2023-03-04T16:30:50.663 | 2023-03-04T16:30:50.663 | null | null | 5,363,686 | null |
75,637,039 | 1 | null | null | 0 | 9 | My code is:
```
const handleButtonPress = async () => {
try {
const granted = await PermissionsAndroid.request(
PermissionsAndroid.PERMISSIONS.CAMERA,
{
title: 'Camera Permission',
message: 'This app needs access to your camera to scan QR codes.',
buttonPositive: 'OK',
... | React Native Can't Prompt pop-up to get Permission to get Camera Permission | CC BY-SA 4.0 | null | 2023-03-04T16:32:38.530 | 2023-03-05T05:37:16.423 | null | null | 20,869,955 | [
"react-native",
"android-camera",
"android-permissions",
"permission-denied"
] |
75,637,030 | 1 | 75,638,205 | null | 1 | 29 | With the Phaser 3 engine:
I have a side scrolled game. Mario like.
I made a pause button with two frames.
All objects which need to be shown on the HUD are added to an container called HUD.
Including the pauzeButton.
It works to pause the game with pausing all animations and physics.
(Because pausing and resuming scene... | Button hitArea not moving | CC BY-SA 4.0 | null | 2023-03-04T16:30:40.523 | 2023-03-04T22:41:26.350 | 2023-03-04T18:37:59.367 | 21,149,387 | 21,149,387 | [
"javascript",
"button",
"phaser-framework"
] |
75,637,050 | 2 | null | 75,636,995 | 1 | null | I'd recommend iterating over the array of keys you want stored, then prompting the user and storing the variables dynamically in the loop. Here's a rough implementation of how I would do it:
```
json_array='[
"key1",
"key2",
"key3",
"key4"
]'
# `jq` idea + syntax borrowed from @Philippe
(jq -r '.[]' <<< "$json... | null | CC BY-SA 4.0 | null | 2023-03-04T16:34:01.533 | 2023-03-04T22:19:47.820 | 2023-03-04T22:19:47.820 | 6,456,163 | 6,456,163 | null |
75,637,045 | 2 | null | 75,635,677 | 0 | null | You cannot do this with Sling-Servlets. BUT you could have an OSGi Whiteboard-Pattern Servlet next to the Sling MainServlet. The simplest for your case is to use the same context-name as Sling.
I also like to use a proxy servlets for some external services (e.g. Solr, Commerce-System, ...). For development it is much s... | null | CC BY-SA 4.0 | null | 2023-03-04T16:33:19.320 | 2023-03-04T16:33:19.320 | null | null | 8,131,885 | null |
75,637,047 | 1 | null | null | 0 | 11 | I have the following Entity
```
@Entity
@Table(name = "utente")
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "username")
public class Utente {
//Primary key
@Id
@Column(name = "username", nullable=false, unique=true)
private String username;
//Attributes
@Enumerated(EnumType.S... | Hibernate Enumeration does not work with Postgres | CC BY-SA 4.0 | null | 2023-03-04T16:33:39.317 | 2023-03-04T16:33:39.317 | null | null | 21,205,886 | [
"java",
"postgresql",
"hibernate",
"jpa"
] |
75,637,048 | 2 | null | 75,637,032 | 1 | null | [Array#indexOf](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf) returns the first index of an element in an array.
Therefore, if calling `indexOf` with the value of an element in the array returns the index that element is at, then this is the first time that this value h... | null | CC BY-SA 4.0 | null | 2023-03-04T16:33:57.570 | 2023-03-04T16:38:04.607 | 2023-03-04T16:38:04.607 | 9,513,184 | 9,513,184 | null |
75,637,054 | 2 | null | 54,750,737 | 0 | null | For Firestore just do document.toObject(Pojo.class)
wolah !
| null | CC BY-SA 4.0 | null | 2023-03-04T16:34:19.297 | 2023-03-04T16:34:19.297 | null | null | 13,797,899 | null |
75,637,052 | 1 | null | null | 0 | 20 | I am currently coding Shogi, a variation of chess for my computer science project and am having trouble thinking of a way to deal with piece movement. I have made a simple script that allows a control to be dragged along with a mouse but I can not think of a way to register which Square on the board the piece was dropp... | Is there anyway to detect if a control has been dropped onto another form? | CC BY-SA 4.0 | null | 2023-03-04T16:34:14.047 | 2023-03-04T16:37:03.580 | 2023-03-04T16:37:03.580 | 719,186 | 21,332,434 | [
"c#",
"winforms"
] |
75,637,049 | 2 | null | 75,636,675 | 0 | null | You should manage the state in `Portfolio` component
```
export default function Portfolio() {
const [category, setCategory] = useState("all");
const filtered = data.filter(profile => {
return category === "all" || profile.category === category
});
return (
<div id='profile'>
<PortfolioWrapper>
... | null | CC BY-SA 4.0 | null | 2023-03-04T16:34:01.380 | 2023-03-04T16:34:01.380 | null | null | 5,521,607 | null |
75,637,051 | 2 | null | 61,735,376 | 0 | null | According to the official doc [Migrate existing data to a different region](https://support.getstream.io/hc/en-us/articles/4429177439895-Migrate-existing-data-to-a-different-region), up till now they have yet to implement this feature. However, you can probably use below non-programmatic method if your content is conce... | null | CC BY-SA 4.0 | null | 2023-03-04T16:34:07.867 | 2023-03-04T16:34:07.867 | null | null | 9,126,624 | null |
75,637,058 | 2 | null | 75,630,919 | 0 | null | You can use ALTER FUNCTION:
```
ALTER FUNCTION people() RENAME TO POPULATION;
```
[HERE](https://joefagan.github.io/age_docs/h1Features.html)
you can study more about here
| null | CC BY-SA 4.0 | null | 2023-03-04T16:34:46.977 | 2023-03-04T16:34:46.977 | null | null | 11,724,982 | null |
75,637,055 | 2 | null | 75,633,737 | 0 | null | Commands can be called within Sveltekit even during development via `import { exec } from 'node:child_process'`
```
import { json } from '@sveltejs/kit'
import type { RequestHandler } from './$types'
import { exec } from 'node:child_process'
export const POST:RequestHandler = async ({request,locals}) => {
exec(... | null | CC BY-SA 4.0 | null | 2023-03-04T16:34:19.580 | 2023-03-04T16:34:19.580 | null | null | 410,975 | null |
75,637,053 | 2 | null | 73,665,568 | 0 | null | If you are using Google Chrome:
1. Navigate to chrome://inspect in a Chrome browser instance.
2. Click on Configure...
3. Add localhost:8081 on Target discovery settings and click Done.
4. Your App will be displayed on Remote Target. Note: Please make sure that you're running Metro.
5. Click Inspect
References: [htt... | null | CC BY-SA 4.0 | null | 2023-03-04T16:34:19.133 | 2023-03-04T16:34:19.133 | null | null | 21,332,433 | null |
75,637,061 | 2 | null | 75,581,742 | -1 | null | Another tool which converts single classes in the free version would be [https://www.softwareunion.lu/files/swagger2delphi/?tmstv=1677946453](https://www.softwareunion.lu/files/swagger2delphi/?tmstv=1677946453)
| null | CC BY-SA 4.0 | null | 2023-03-04T16:35:03.937 | 2023-03-04T16:35:03.937 | null | null | 3,945,171 | null |
75,637,062 | 2 | null | 75,636,442 | 0 | null | You forgot to add the `@` symbol at the beginning of the package name.
Try this instead:
`npm install @react-navigation/native`
| null | CC BY-SA 4.0 | null | 2023-03-04T16:35:23.837 | 2023-03-04T16:35:23.837 | null | null | 21,332,367 | null |
75,637,059 | 1 | null | null | 0 | 6 | I'm using lsp-zero to get most of the functionality I wanted without too much fiddling, and it's working fine so far for most languages including rust and ts. But I can't seem to get any auto completion for my lua projects using lua_ls. It works fine when I open them up for the first time and get stored in a buffer but... | how to get autocompletion with lua codebase in neovim? | CC BY-SA 4.0 | null | 2023-03-04T16:34:59.787 | 2023-03-04T16:34:59.787 | null | null | 16,998,492 | [
"api",
"lua",
"neovim"
] |
75,637,056 | 1 | null | null | 0 | 5 | The ESP32-Wroom-32 (NODEMCU ESP32S) never enters execution when statement "MCP_CAN CAN0(10);" is part of the variable and constant definition section. The sketch works properly with an Arduino UNO using the Cory J. Fowler library. It compiles clean on the ESP32, but loops every 8 seconds and outputs this on the Serial ... | CAN-bus MCP_CAN CAN0(10); prevents execution in ESP32-Wroom-32 | CC BY-SA 4.0 | null | 2023-03-04T16:34:35.767 | 2023-03-04T16:34:35.767 | null | null | 21,322,589 | [
"can-bus",
"arduino-c++",
"arduino-esp32"
] |
75,637,064 | 1 | null | null | 0 | 29 | I am currently re-writing a compile-time regular expression library that I had written some time ago, but the build time of the new version is drastically slower than the old version (~7.5s for the new version vs ~2.5s for the old version on my benchmark).
So, to analyse the build process I created compilation flamegra... | Compile time flamegraph performance comparison issue | CC BY-SA 4.0 | null | 2023-03-04T16:35:24.017 | 2023-03-04T16:53:12.397 | null | null | 3,974,555 | [
"c++",
"clang",
"c++20",
"template-meta-programming"
] |
75,637,040 | 1 | null | null | 0 | 11 | I am creating a recording system. Structure:
the day contains a temporary line from 07.00 - 21.00. Example: The doctor recorded the patient at 7.00, subject to the duration of the procedure of 60 minutes, the appointment will last from 7.00 to 8.00.
I made a ban on the interval between 7.00 and 8.00 without any problem... | Can't disable recording during busy time slots | CC BY-SA 4.0 | null | 2023-03-04T16:32:52.127 | 2023-03-04T16:35:42.083 | 2023-03-04T16:35:42.083 | 20,877,449 | 20,877,449 | [
"php",
"timeline"
] |
75,637,063 | 1 | null | null | 0 | 11 | When I make auto import `vsc` import int with full path like this
```
import { MetadataStorage } from "discordx/build/cjs/logic/index.js";
```
The correct import would be like this.
```
import { MetadataStorage } from "discordx";
```
And when I run the code, it gives me this error:
```
Error [ERR_PACKAGE_PATH_NOT_EXP... | TypeSctipt/vsc ERR_PACKAGE_PATH_NOT_EXPORTED auto import problem | CC BY-SA 4.0 | null | 2023-03-04T16:35:23.920 | 2023-03-04T21:58:14.120 | 2023-03-04T21:58:14.120 | 3,475,325 | 17,588,977 | [
"javascript",
"typescript"
] |
75,637,057 | 1 | null | null | 0 | 8 | I have a PDF form which I have made using Kofax. In the signature field I have added a JavaScript which should check if all required fields are filled out and give out an alert if not, listing all missing required fields. But my script does not work as expected. It current looks like:
```
// Checks if all required fiel... | JavaScript to give out missing required fields in PDF form | CC BY-SA 4.0 | null | 2023-03-04T16:34:39.727 | 2023-03-04T16:34:39.727 | null | null | 5,438,547 | [
"javascript",
"pdf",
"alert"
] |
75,637,060 | 1 | null | null | 2 | 37 | I am currently working on the functionality of user liking items in the store. My goal is to allow a user to like a product and add it to the list of liked products, one user can like multiple products, and each product can be liked by multiple users. However, the problem is that when I test the request in Postman I ge... | The value of the string variable cannot be converted to an integer | CC BY-SA 4.0 | null | 2023-03-04T16:35:00.307 | 2023-03-04T16:49:53.403 | 2023-03-04T16:43:02.430 | 1,249,641 | 20,605,690 | [
"c#",
"asp.net",
".net",
"asp.net-core",
".net-core"
] |
75,637,068 | 1 | null | null | 0 | 13 | I'd like to use my ssh keys inside a docker container that is already running. So far I was only able to find solutions to forward ssh keys during the build stage or run stage. But mounting the `SSH_AUTH_SOCK` path when running `docker run` doesn't seem to work as the path changes when logging out.
For example, I'd lik... | How to forward ssh agent to running docker container? | CC BY-SA 4.0 | null | 2023-03-04T16:36:29.223 | 2023-03-04T16:36:29.223 | null | null | 3,666,302 | [
"docker",
"ssh-agent"
] |
75,637,066 | 1 | null | null | -1 | 33 | I copied the code from ([https://nseverkar.medium.com/triangulation-with-python-680227ff6a69](https://nseverkar.medium.com/triangulation-with-python-680227ff6a69)) from the part where the triangulating a face was described. I expected to get the picture (locates below) and nothing happened. What is wrong with my code? ... | Can't get the picture from the tutorial | CC BY-SA 4.0 | null | 2023-03-04T16:36:03.747 | 2023-03-04T16:50:10.910 | 2023-03-04T16:50:10.910 | 19,603,046 | 19,603,046 | [
"python",
"numpy",
"matplotlib",
"scipy"
] |
75,637,069 | 1 | 75,637,378 | null | 0 | 22 | I'm stuck on an issue with my AJAX/jQuery + PHP code, not sure what is going on. My insert page works perfectly fine, but when I try to create a delete event - nothing happens. My code is:
HTML/PHP Snippet
```
<div class="card mb-3">
<div class="card-header">
<div class="d-flex justify-content-between">
... | jQuery/AJAX submits but won't delete from the database | CC BY-SA 4.0 | null | 2023-03-04T16:36:39.383 | 2023-03-04T17:27:04.997 | 2023-03-04T16:39:53.580 | 21,332,444 | 21,332,444 | [
"php",
"jquery",
"mysql",
"ajax"
] |
75,637,071 | 2 | null | 75,636,860 | 0 | null | I had the same issue and in my understanding, React-Form-Hooks doesn't allow the internal custom onChange method. But you can achieve that using inline onChange
this is a new way to do it: [https://github.com/react-hook-form/react-hook-form/releases/tag/v7.16.0](https://github.com/react-hook-form/react-hook-form/releas... | null | CC BY-SA 4.0 | null | 2023-03-04T16:37:19.567 | 2023-03-04T16:43:20.080 | 2023-03-04T16:43:20.080 | 9,726,922 | 9,726,922 | null |
75,637,070 | 2 | null | 27,975,969 | 0 | null | For convenience, I wrote a little class `command` that encapsulates [Harry Johnston's solution](https://stackoverflow.com/a/27976653/17751361) and makes using `system` for quoted paths spaces very easy.
Usage:
```
ifs::win::command c;
std::filesystem::path source = "c:\\my folder\\file.txt";
std::filesystem::path desti... | null | CC BY-SA 4.0 | null | 2023-03-04T16:36:53.847 | 2023-03-04T16:36:53.847 | null | null | 17,751,361 | null |
75,637,076 | 2 | null | 75,637,046 | -3 | null | In Python, you can use the csv module to handle CSV files. If all the data in the CSV file is in one column, you can use the split() method to split each row of data into a list, then combine these lists into a two-dimensional list, and write it to a new CSV file.
Here's an example code, assuming the CSV file name is "... | null | CC BY-SA 4.0 | null | 2023-03-04T16:39:19.433 | 2023-03-04T16:39:19.433 | null | null | 18,434,672 | null |
75,637,080 | 2 | null | 75,637,046 | -2 | null | When opening cvs files with excel, it shows data in 1 column. It is likely that if you try to open it with pandas it will work:
```
import pandas as pd
df = pd.read_csv("data.csv")
print(df["bc"])
```
| null | CC BY-SA 4.0 | null | 2023-03-04T16:39:37.140 | 2023-03-04T16:39:37.140 | null | null | 15,355,202 | null |
75,637,081 | 2 | null | 75,637,046 | -3 | null | The python csv reader has a [delimiter parameter](https://docs.python.org/3/library/csv.html#csv.reader). You can read the file like this:
```
import csv
with open('my_file.csv') as csvfile:
reader = csv.reader(csvfile, delimiter=' ')
for row in reader:
print(', '.join(row))
```
| null | CC BY-SA 4.0 | null | 2023-03-04T16:39:47.053 | 2023-03-04T16:39:47.053 | null | null | 8,839,067 | null |
75,637,077 | 1 | null | null | 0 | 5 | I tried to debug the script with "print" statements, couldnt find any issue but still nothing was printed.. appending my code for reference please, i have checked if the API was connected using app.run(), it somehow still seem stuck
```
from ibapi.client import EClient
from ibapi.wrapper import EWrapper
from ibapi.cont... | Ran script with Spyder to send order to interactive brokers via IBAPI but no printing messages returned and no order sent to trader workstation | CC BY-SA 4.0 | null | 2023-03-04T16:39:22.283 | 2023-03-04T16:39:22.283 | null | null | 7,001,329 | [
"interactive-brokers",
"tws",
"ib-api"
] |
75,637,082 | 2 | null | 73,640,281 | 0 | null | It's been a while, but I have a better solution now. That is to use [pycord](https://guide.pycord.dev/interactions/application-commands/slash-commands). It will manage the creation and deletion of commands. It's also nice since it handles the intentions part. In order to use it you need to remove the old discord.py `pi... | null | CC BY-SA 4.0 | null | 2023-03-04T16:39:47.887 | 2023-03-04T16:39:47.887 | null | null | 19,920,274 | null |
75,637,067 | 1 | null | null | 0 | 5 | I want to add a functionality of sending a report to user daily or weeekly. User should be able to change either to send the report daily or weekly by checking the radio buttons. it should run no matter if the app is running or not. I am confused if I should create a BackGround Service or go with Hangfire or use quartz... | Create windows Service which will perform some task based on user input in a windows forms app in .net 6 | CC BY-SA 4.0 | null | 2023-03-04T16:36:18.643 | 2023-03-04T16:36:18.643 | null | null | 20,981,807 | [
"windows-services",
"scheduled-tasks",
".net-6.0",
"job-scheduling",
"windows-forms-core"
] |
75,637,078 | 1 | null | null | 0 | 19 | I am trying to familiarize myself with GCP. I build a simple Android app that can upload photos to Firebase storage.
[](https://i.stack.imgur.com/BK8xt.png)
Now I want to do some processing on the cloud on the images I have on Firebase.
[](https://i.stack.imgur.com/s78Ym.png)
I thinking of having some [Function](https:... | Choosing between PubSub and CloudRun to send images to Google Functions | CC BY-SA 4.0 | null | 2023-03-04T16:39:25.097 | 2023-03-05T02:48:13.033 | 2023-03-05T02:48:13.033 | 73,137 | 73,137 | [
"android",
"firebase",
"google-cloud-platform",
"google-cloud-functions"
] |
75,637,079 | 1 | null | null | 0 | 22 | I am using the plugin called Conditional Shipping and Payment however it still displays the place order button in the absence of a shipping method or payment method.
I am trying to hide the button or grey it out making it non-selectable if there is a lack of payment method or shipping options.
The checkout already says... | Conditionally Hiding the Place Order button in Woocommerce | CC BY-SA 4.0 | null | 2023-03-04T16:39:33.833 | 2023-03-04T18:27:21.250 | null | null | 7,456,307 | [
"php",
"woocommerce"
] |
75,637,072 | 2 | null | 75,635,902 | 1 | null | ```
shell> cat create-inventory.yml
- hosts: localhost
vars:
indexes_str: |
{% for i in range(1, nos|int + 1) %}
{{ '%02d' % i }} {% endfor %}
indexes: "{{ indexes_str.split() }}"
tasks:
- assert:
that: nos is defined
fail_msg: The variable nos (number of servers) is mand... | null | CC BY-SA 4.0 | null | 2023-03-04T16:37:33.040 | 2023-03-05T05:09:33.510 | 2023-03-05T05:09:33.510 | 6,482,561 | 6,482,561 | null |
75,637,088 | 2 | null | 75,636,825 | 0 | null |
change this part:
```
IDBRequest.addEventListener("upgradeneeded",()=>{
const db = IDBRequest.result;
db.createObjectStore("nombres",{
autoIncrement: true
});
})
```
To this:
```
IDBRequest.onupgradeneeded = (event) => {
const db = event.target.result;
db.createObjectStore("numbres",{
... | null | CC BY-SA 4.0 | null | 2023-03-04T16:40:13.720 | 2023-03-04T16:40:13.720 | null | null | 21,017,967 | null |
75,637,073 | 1 | null | null | 0 | 14 | The goal of this module is to take a reactive input e.g. a dataframe dataset, and updates the `choices` argument in selectize input with the rownames of this reactive input dataframe.
It works fine without modularization, but when I try to implement the module server function, I get this error:
```
Error in .getReactiv... | Passing reactive to module server function with `updateSelectizeInput` | CC BY-SA 4.0 | null | 2023-03-04T16:37:55.743 | 2023-03-04T16:37:55.743 | null | null | 7,807,216 | [
"r",
"shiny",
"reactive-programming",
"shinymodules"
] |
75,637,087 | 1 | 75,637,427 | null | 0 | 40 | In order to be able to infer a schema of a csv file passed via `/dev/stdin` before converting the whole csv file to parquet, I have implemented a wrapper that buffers the input and implements `Seek` as required by the crate `arrow2`. This all works.
This wrapper is, however, not necessary in certain situations like whe... | How to determine if a file is seekable in Rust? | CC BY-SA 4.0 | null | 2023-03-04T16:40:08.533 | 2023-03-04T19:31:24.300 | 2023-03-04T19:31:24.300 | 7,483,211 | 7,483,211 | [
"file",
"rust",
"file-descriptor",
"seek"
] |
75,637,092 | 2 | null | 75,606,537 | 0 | null | There is nothing in the FreeRADIUS config to limit logging, neither in the main log (from `radiusd.conf`) or in e.g. the `linelog` module. You need to make sure that wherever you are logging to (file, syslog, etc) has the capacity to cope, or filter/drop log messages there.
If file logging cannot keep up with the amoun... | null | CC BY-SA 4.0 | null | 2023-03-04T16:40:52.033 | 2023-03-04T16:40:52.033 | null | null | 5,857,272 | null |
75,637,089 | 1 | null | null | 0 | 9 | This feels like a complete shot in the dark but I am using the [MUI Autocomplete](https://mui.com/material-ui/react-autocomplete/) component for a React form.
It's a pretty long form so I want to write a TamperMonkey script to automate the filling of this form for internal tooling purposes.
Most inputs are coming along... | Tampermonkey - Simulate typing into a MUI Autocomplete field and selecting an option | CC BY-SA 4.0 | null | 2023-03-04T16:40:18.533 | 2023-03-04T16:40:18.533 | null | null | 1,487,135 | [
"reactjs",
"material-ui",
"tampermonkey"
] |
75,637,090 | 1 | null | null | 0 | 23 | I am using MudBlazor's Autocomplete component for a drop down containing a list of custom objects. The following code works as expected, however the first time it loads I get the following System.NullReferenceException error once for every item in the list. After these errors the component works as expected. What am I ... | MudBlazor Autocomplete with Custom Object (NullReferenceException) | CC BY-SA 4.0 | null | 2023-03-04T16:40:29.973 | 2023-03-04T23:04:55.200 | 2023-03-04T17:18:23.003 | 6,032,164 | 6,032,164 | [
"c#",
"blazor",
"mudblazor"
] |
75,637,091 | 1 | null | null | 0 | 33 | I am trying to grab my Inno Setup license from the Internet.
How can I do this? I want to keep my license up to date with the current version of it.
I used some code to download the license with Inno Setup 6's download feature. However this resulted in a crash after downloading. I then made a lot of changes but it does... | Inno Setup: Get license file from the internet | CC BY-SA 4.0 | null | 2023-03-04T16:40:33.583 | 2023-03-04T21:54:01.380 | 2023-03-04T21:54:01.380 | 18,597,175 | 18,597,175 | [
"inno-setup",
"pascal"
] |
75,637,096 | 2 | null | 75,633,810 | 0 | null | Either
> `File - Reopen - Properties`
or
> `Tools - Options - User Interface - Reopen Menu`
| null | CC BY-SA 4.0 | null | 2023-03-04T16:41:31.657 | 2023-03-04T16:41:31.657 | null | null | 2,292,722 | null |
75,637,097 | 2 | null | 75,636,951 | 0 | null | Using anchor in the number of elements not divisible by 3 is difficult. Try using side (LEFT and RIGHT respectively). If you need them to be attached to the top, you can use another parent frame.
```
from tkinter import *
window = Tk()
window.title("test")
window.geometry('800x600')
question_frame = Frame(window,bg="... | null | CC BY-SA 4.0 | null | 2023-03-04T16:41:38.650 | 2023-03-04T16:41:38.650 | null | null | 21,331,354 | null |
75,637,095 | 2 | null | 75,634,620 | 0 | null | If you are enumerating all the powers of 2 already, you can get a short solution by writing out the identifiers (`rfft_2`) of the functions too:
```
use microfft::{Complex32, real};
fn calc(samples: &[f32]) -> Vec<Complex32> {
let mut buffer = samples.to_vec();
macro_rules! gen_ifs {
($($size:literal ... | null | CC BY-SA 4.0 | null | 2023-03-04T16:41:06.867 | 2023-03-04T16:41:06.867 | null | null | 13,679,671 | null |
75,637,086 | 1 | null | null | 0 | 15 | i have created the following interactive `visnetwork` in `R`:
```
library(igraph)
library(visNetwork)
dat <- as.matrix(cbind(c(1.00, 0.52, 0.52, 0.37, 0.57, 0.31, 0.55, 0.53, 0.34, 0.51, 0.64, 0.47, 0.56, 0.63, 0.59, 0.65),
c(0.52, 1.00, 0.25, 0.85, 0.78, 0.31, 0.94, 0.41, 0.28, 0.88, 0.58, 0.26... | Add transparency to connections in a visNetwork() in R | CC BY-SA 4.0 | null | 2023-03-04T16:40:06.423 | 2023-03-04T18:41:17.033 | 2023-03-04T18:41:17.033 | 12,649,684 | 12,649,684 | [
"r",
"vis.js",
"vis.js-network",
"visnetwork",
"react-vis-network"
] |
75,637,100 | 1 | null | null | -1 | 36 | What is the difference between these two conditions in C# code?
Code-1
```
if (!string.IsNullOrEmpty(student.Name)) {
// code
}
```
Code-2
```
if (!string.IsNullOrEmpty(student?.Name)) {
// code
}
```
What is the benefit of using the '?' after the object name?
| What is the significance of '?' right after an object name in C#? | CC BY-SA 4.0 | null | 2023-03-04T16:41:46.293 | 2023-03-04T16:41:46.293 | null | null | 13,139,599 | [
"c#",
".net",
"visual-studio",
"sonarlint-vs"
] |
75,637,103 | 1 | null | null | 0 | 7 | In my Gradle build I have configured a task that should run a Micronaut application with "clean build run".
```
tasks.register('runUserService', GradleBuild) {
group 'application'
tasks = [
'clean', 'assemble', 'run'
]
}
```
No problem at all but, when I try to run the command in debug mode fro... | Gradle custom tasks and intellij debug does not work | CC BY-SA 4.0 | null | 2023-03-04T16:42:21.787 | 2023-03-04T16:42:21.787 | null | null | 4,596,721 | [
"gradle",
"intellij-idea"
] |
75,637,101 | 1 | null | null | 0 | 9 | I'm trying to create a new vscode, devcontainer for Python on OS X.
I went through the process to create a new devcontainer, selecting the defaults. When I hit OK to complete the process, the UI appears to be stuck on the final step--there is a blue bar that indicate progress, but it doesn't complete. Docker Desktop i... | Visual Studio Code devcontainer creation process hangs during final step | CC BY-SA 4.0 | null | 2023-03-04T16:41:50.177 | 2023-03-04T16:41:50.177 | null | null | 134,367 | [
"docker",
"visual-studio-code",
"vscode-devcontainer"
] |
75,637,085 | 1 | null | null | 0 | 3 | When I run "clean compile liquibase:update" I get the error "The file db/changelog/db.changelog-master.xml was not found in" followed by a list of links where the search was made. The problem is that the file is physically present. Plus, after the list of links comes the following: "Specifying files by absolute path wa... | The file db/changelog/db.changelog-master.xml was not found in | CC BY-SA 4.0 | null | 2023-03-04T16:39:55.150 | 2023-03-04T16:39:55.150 | null | null | 20,492,332 | [
"liquibase",
"absolute-path",
"file-not-found",
"changelog"
] |
75,637,105 | 2 | null | 75,637,063 | 0 | null | Ok. The second time I tried reinstalling npm and restarting vsc. And this time it solved my problem
| null | CC BY-SA 4.0 | null | 2023-03-04T16:42:30.443 | 2023-03-04T16:42:30.443 | null | null | 17,588,977 | null |
75,637,106 | 2 | null | 75,636,923 | 0 | null | As the comment underneath your question already stated. It's most likely that you have a typo and it's `getElementById`instead of `getElementId`
| null | CC BY-SA 4.0 | null | 2023-03-04T16:42:35.053 | 2023-03-04T16:42:35.053 | null | null | 11,818,002 | null |
75,637,098 | 1 | null | null | 0 | 16 | Stackoverflow Demigods!
I am trying to use a Blazor InputFile to upload photos in a Blazor-Server-Project, using the code below
```
<h5 class="mb-1 text-danger">@messageText</h5>
<InputFile OnChange="@LoadFiles" class="form-control" multiple accept=".png,.jpg,.jpeg" />
@foreach (var image in images)
{
... | Blazor InputFile seems to break for more than 243 Files | CC BY-SA 4.0 | null | 2023-03-04T16:41:40.447 | 2023-03-04T17:08:44.463 | 2023-03-04T17:08:44.463 | 16,124,944 | 16,124,944 | [
"c#",
"file-upload",
"blazor",
"blazor-server-side",
"multiple-file-upload"
] |
75,637,099 | 1 | null | null | 0 | 22 | ```
#include <Adafruit_GFX.h>
#include <Adafruit_SH110X.h>
#include <ThreeWire.h>
#include <RtcDS1302.h>
ThreeWire myWire(4,5,2); // IO, SCLK, CE
RtcDS1302<ThreeWire> Rtc(myWire);
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels
#define i2c_Address... | i2c dispaly not showing the output arduino(ESP32) | CC BY-SA 4.0 | null | 2023-03-04T16:41:43.363 | 2023-03-04T19:57:38.703 | 2023-03-04T17:07:44.843 | 1,413,395 | 10,971,285 | [
"arduino",
"display",
"esp32",
"i2c",
"arduino-c++"
] |
75,637,104 | 1 | null | null | 0 | 19 | I am a beginner in writing Google chrome extension
I need to turn off and turn on the extension using this toggle in pop-up window of extension
(this code is located in popup.html):
```
<label class="switch">
<input class="switch" type="checkbox" />
<span class="slider round"></span>
</labe... | How to disable Google chrome extension with javascript? | CC BY-SA 4.0 | null | 2023-03-04T16:42:26.787 | 2023-03-04T16:53:38.277 | 2023-03-04T16:53:38.277 | 3,959,875 | 21,332,411 | [
"javascript",
"google-chrome-extension",
"popup",
"togglebutton"
] |
75,637,109 | 2 | null | 74,846,128 | 0 | null | Hey @thehealeper67 not sure if you fixed it, but I'd expect to find a method inside your SearchBar that will be updated when value will change (onChangeText - in SearchBar from react-native-elements) and also, you'd need some function that uses the current value of the SearchInput and filter your data. You can check th... | null | CC BY-SA 4.0 | null | 2023-03-04T16:43:09.043 | 2023-03-04T16:43:09.043 | null | null | 18,975,816 | null |
75,637,111 | 2 | null | 57,201,508 | 0 | null | ```
<Tab.Navigator
tabBarStyle: {
height: 20,
//this increases the height of the
tabNavigation
}
tabBarLabelStyle: {
height:40,
//increases height of the label or name
... | null | CC BY-SA 4.0 | null | 2023-03-04T16:43:14.893 | 2023-03-04T16:43:14.893 | null | null | 20,111,150 | null |
75,637,110 | 1 | null | null | 0 | 7 | In RichTextBox, the caret is tilted too much, or it doesn't fit between letters.
This makes the process of working with such text difficult and looks terrible.
```
<RichTextBox FontSize="24"/>
```
[enter image description here](https://i.stack.imgur.com/8TDsc.png)
I сhanged the font, change pading but it doesn't help
| Caret tilted too far in Italic style WPF | CC BY-SA 4.0 | null | 2023-03-04T16:43:10.550 | 2023-03-04T16:43:10.550 | null | null | 20,819,973 | [
"wpf",
"wpf-controls"
] |
75,637,107 | 1 | null | null | 0 | 9 | I am using WinUI 3 and WindowsAppSDK. When I use a NavigationView and set AccessKey on the NavigationViewItem, it works ... until I also define the MenuItemTemplate. As soon as a DataTemplate is used for the MenuItemTemplate, the access keys stop working. Any thoughts on how to work around this?
Here is an example. Any... | How to get AccessKey to work with DataTemplate in NavigationView | CC BY-SA 4.0 | null | 2023-03-04T16:42:56.477 | 2023-03-04T16:42:56.477 | null | null | 6,090,828 | [
"datatemplate",
"winui-3",
"navigationview",
"access-keys"
] |
75,637,108 | 2 | null | 75,613,657 | 0 | null | Probably the "exec" task has an extra argument, I guess you expect to include Test.class from directory "${Path}", I would write instead
```
<target name="UpdateJar" depends="Compile">
<exec executable="java">
<arg value="-uf"/>
<arg value="sample.jar"/>
<arg value="${Path}/Test.class"/>
</exec>
</targe... | null | CC BY-SA 4.0 | null | 2023-03-04T16:43:00.500 | 2023-03-04T16:43:00.500 | null | null | 737,790 | null |
75,637,115 | 2 | null | 75,636,371 | 0 | null | Your `load_user()` function is expecting an integer `user_id`, but on `sing_up()` you're instead passing an `User` object as parameter.
The correct function call would be `load_user(new_user.id)`.
| null | CC BY-SA 4.0 | null | 2023-03-04T16:43:48.420 | 2023-03-04T16:43:48.420 | null | null | 13,624,009 | null |
75,637,114 | 2 | null | 75,637,013 | 0 | null | You can call the unfocus() method on the node:
```
fn1.addListener(
() {
if (!fn1.hasFocus) {
setState(() {
_descriptionFieldShowSuffix = false;
});
}
},
);
// Trigger listener manually
nameController!.addListener(() {
fn1.unfocus(); // This will trigger the listener attached to fn1
}... | null | CC BY-SA 4.0 | null | 2023-03-04T16:43:34.503 | 2023-03-04T16:43:34.503 | null | null | 16,127,735 | null |
75,637,113 | 1 | null | null | -1 | 13 | I used gitlab mostly but I have requirement to run the GitLab CICD pipeline into Jenkins CICD Tool.
Considering I am newbie to Jenkins but experienced in Gitlab.
Pls let me know the conversion of my current `.gitlab-ci.yml` into jenkins.yaml file.
Current `.gitlab-ci.yml` file:
```
before_script:
- apt-get update -... | Converting .gitlab-ci.yml file syntax into Jenkins.yaml | CC BY-SA 4.0 | null | 2023-03-04T16:43:23.513 | 2023-03-05T04:41:07.890 | null | null | 16,527,170 | [
"jenkins",
"gitlab",
"jenkins-pipeline",
"cicd"
] |
75,637,117 | 2 | null | 70,730,338 | 0 | null | I'm using the exact same version and had the same issue. I tried changing the configuration, but it didn't work.
Eventually, I found this works for me -- right-click the Delphi exe, choose "Run as Administrator."
If the panels are still missing, try: run as administrator - open project - compile all - build all - debug... | null | CC BY-SA 4.0 | null | 2023-03-04T16:44:08.193 | 2023-03-04T16:44:08.193 | null | null | 21,332,443 | null |
75,637,102 | 1 | null | null | 0 | 4 | I'm using a raspberry pi zero 2w as an IP camera for being auto recorded in my synology nas surveillance station.
Basically, it works if I run the video stream from command line, but not as a service.
Here what I've done:
Based on 64 bits lite OS version, only use the raspberry in ssh through wifi (no keyboard/mouse/sc... | how to transform command line to service | CC BY-SA 4.0 | null | 2023-03-04T16:42:17.563 | 2023-03-04T16:42:17.563 | null | null | 11,308,237 | [
"service",
"raspberry-pi",
"vlc",
"systemd"
] |
75,637,116 | 1 | 75,637,134 | null | 0 | 39 | I've been trying to print to the debug console and the code that I've found for printing string doesn't work. The following lines are what I have been using to print to the debug. But I received the following error on the `OutputDebugString(newPos.c_str());`
```
line: argument of type "const char *" is incompatible wit... | C++ Print string to debug console gives out error | CC BY-SA 4.0 | null | 2023-03-04T16:43:55.887 | 2023-03-04T17:02:46.543 | 2023-03-04T17:02:46.543 | 33,264 | 12,245,147 | [
"c++"
] |