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,616,529 | 2 | null | 75,616,373 | 2 | null | Join to the 2nd table twice, once for the from_code then again for the to_code. You will need to use table Aliases e.g.
```
select
a.from_code,
b.name as from_name,
b.id as from_id,
a.to_code,
c.name as to_name,
c.id as to_id
from table1 a
INNER JOIN table2 b
on a.from_code = b.code
INNER JOIN tab... | null | CC BY-SA 4.0 | null | 2023-03-02T14:04:40.853 | 2023-03-02T14:06:58.470 | 2023-03-02T14:06:58.470 | 2,174,085 | 1,955,044 | null |
75,616,530 | 2 | null | 75,615,727 | 0 | null | You are using two class instances - that's wrong.
Just use the one for FPDI:
```
$pdf = new new setasign\Fpdi\Fpdi();
foreach ($uploaded_files as $file) {
$extension = pathinfo($file, PATHINFO_EXTENSION);
if (in_array($extension, array('jpg', 'jpeg', 'png', 'gif'))) {
$pdf->AddPage();
$pdf-... | null | CC BY-SA 4.0 | null | 2023-03-02T14:04:41.870 | 2023-03-02T14:04:41.870 | null | null | 3,325,375 | null |
75,616,526 | 2 | null | 44,595,529 | 0 | null | For future viewers, especially Kotlin newcomers with js/ts background
Since this is the most popular question about `Smart cast to 'Type' is impossible` problems, I would like to elaborate on what did brought me here.
My case was to simply transform nullable `var` instance into the another class instance but I was gett... | null | CC BY-SA 4.0 | null | 2023-03-02T14:04:23.767 | 2023-03-02T14:04:23.767 | null | null | 3,984,428 | null |
75,616,533 | 1 | null | null | 0 | 12 | I have the problem that I can't publish the report created in KnowAge report desginer in the KnowAge Server.
Can you help me please?
Thank you
| Publish a BIRT report from KnowAge report designer to the server | CC BY-SA 4.0 | null | 2023-03-02T14:04:53.530 | 2023-03-02T14:04:53.530 | null | null | 21,279,437 | [
"server",
"report",
"birt",
"report-designer",
"knowage"
] |
75,616,525 | 1 | null | null | 0 | 14 | I'm trying to implement OAuth2 authentication with Google in my Spring Boot Angular application, but I'm getting an "invalid_request" error with the message "client_secret is missing".
I have configured the client_id and client_secret in my application.yml file as follows:
```
spring:
security:
oauth2:
clie... | Spring Boot OAuth2 authentication with Google failing due to missing client_secret | CC BY-SA 4.0 | null | 2023-03-02T14:04:14.703 | 2023-03-02T14:14:51.043 | 2023-03-02T14:14:51.043 | 21,319,243 | 21,319,243 | [
"spring-boot",
"spring-security-oauth2",
"google-oauth-java-client"
] |
75,616,531 | 2 | null | 75,615,939 | 0 | null | The most simple and used approach to do this is by wrapping the whole function call in a [useCallback](https://beta.reactjs.org/reference/react/useCallback), with the right dependencies. You have to remember that `renderItem` expects a function and the react way to memoize function calls is to wrap it in `useCalback`. ... | null | CC BY-SA 4.0 | null | 2023-03-02T14:04:45.053 | 2023-03-02T14:04:45.053 | null | null | 10,140,124 | null |
75,616,534 | 2 | null | 75,616,382 | -1 | null | Did you install `script` package first? I think you should installed script package first. and then you can run your python file.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:04:53.703 | 2023-03-02T14:04:53.703 | null | null | 16,215,937 | null |
75,616,538 | 2 | null | 52,876,635 | 0 | null | I would use the following
```
df['value_col'], df['another_value_col'] = df.apply(lambda x: tuple_unpack(x.col_1, x.col_2), axis=1, result_type='expand').T.values
```
| null | CC BY-SA 4.0 | null | 2023-03-02T14:05:13.540 | 2023-03-02T14:05:13.540 | null | null | 4,974,697 | null |
75,616,539 | 2 | null | 75,616,321 | 0 | null | Your problem be that Entity Framework uses lazy loading, that is it doesn't even start to get data, before You actually uses the result.
Try appending a `ToList()`:
```
var optModelProperty = await _modelProperty.GetWhere(x =>
x.Name == property.Parent && x.OptModelId == id && ... | null | CC BY-SA 4.0 | null | 2023-03-02T14:05:14.980 | 2023-03-02T14:05:14.980 | null | null | 15,322,319 | null |
75,616,527 | 2 | null | 75,616,329 | 3 | null | In Go, a closure takes a reference to (an address of) any variable it closes over. To cite [the language reference](https://go.dev/ref/spec#Function_literals):
> Function literals are closures: they may refer to variables defined in a surrounding function. Those variables are then shared between the surrounding functio... | null | CC BY-SA 4.0 | null | 2023-03-02T14:04:25.093 | 2023-03-02T17:33:26.733 | 2023-03-02T17:33:26.733 | 720,999 | 720,999 | null |
75,616,543 | 2 | null | 75,613,208 | 0 | null | Found my underlying issue, was using reactjs/React.NET to serve my components, and its version was still 17.0.2. Upgraded and it now works
| null | CC BY-SA 4.0 | null | 2023-03-02T14:05:34.617 | 2023-03-02T14:05:34.617 | null | null | 4,850,140 | null |
75,616,542 | 1 | null | null | 0 | 13 | I'm trying to run whisper and I want to set the `DecodingOptions`.language with France (instead of using it's language detection).
I have tried to write:
```
options = whisper.DecodingOptions()
options.language = "fr"
```
but I'm getting error:
```
FrozenInstanceError: cannot assign to field 'language'
```
How can I ... | How to set whisper.DecodingOptions language? | CC BY-SA 4.0 | null | 2023-03-02T14:05:31.473 | 2023-03-02T14:05:31.473 | null | null | 3,668,129 | [
"deep-learning",
"whisper",
"openai-whisper"
] |
75,616,536 | 1 | null | null | -4 | 42 | Im stuggling with using shapes and Graphics in Java. I will try to explain how my program works because the code is too confusing. I have a JFrame which has two JPanels within it. One is called and the other is . The is on the left hand side and the is on the right hand side. It looks like this:
[The user interface ... | I need help using basic graphics shapes in Java | CC BY-SA 4.0 | null | 2023-03-02T14:04:55.177 | 2023-03-02T14:05:45.783 | 2023-03-02T14:05:45.783 | 14,959,388 | 14,959,388 | [
"java",
"swing",
"user-interface",
"draw",
"graphics2d"
] |
75,616,544 | 2 | null | 70,632,619 | 0 | null | In our case one of the classes that was used for deserializing the message didn't have a default constructor because it had Lombok's [@Builder](https://www.projectlombok.org/features/Builder) annotation but was missing the [@NoArgsConstructor](https://projectlombok.org/features/constructor) annotation. Keep in mind tha... | null | CC BY-SA 4.0 | null | 2023-03-02T14:05:36.667 | 2023-03-02T14:05:36.667 | null | null | 21,315,469 | null |
75,616,546 | 1 | null | null | 0 | 16 | PostgreSQL suggests to use either text of unlimited varchar for columns without specific higher limit:
> If you desire to store long strings with no specific upper limit, use text or character varying without a length specifier, rather than making up an arbitrary length limit.
Are those data types in PostgreSQL exactly... | What is the difference between PostgreSQL text and unlimited varchar data types? | CC BY-SA 4.0 | null | 2023-03-02T14:05:40.420 | 2023-03-02T14:22:44.137 | 2023-03-02T14:22:44.137 | 330,315 | 9,584,469 | [
"postgresql",
"text",
"varchar",
"sqldatatypes"
] |
75,616,548 | 1 | null | null | 0 | 13 | Normally users can assign a CSS stament like
`page-break-inside: auto !important;`
or
`break-inside: auto !important;`
to a of element to allow (pdf) page breaks when printing out.
As I found out this doesn't work for elements.
Is there a similar css attribute for them?
see above for full explantion
| How to allow (enforce) page breaks INSIDE <iframe> elements with CSS? | CC BY-SA 4.0 | null | 2023-03-02T14:06:03.283 | 2023-03-02T14:06:03.283 | null | null | 10,561,967 | [
"css",
"iframe"
] |
75,616,528 | 1 | 75,618,678 | null | 0 | 22 | ```
''' Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
: Error: The method 'initializeCore' isn't defined for the class 'FirebaseCoreHostApi'.
- 'FirebaseCoreHostApi' is from 'package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart' ('../../.pub-cache/hosted/pub.dev/firebase_cor... | firebase core initialize error I started getting this error after updating flutter | CC BY-SA 4.0 | null | 2023-03-02T14:04:36.167 | 2023-03-02T17:07:35.487 | 2023-03-02T14:05:38.943 | 12,349,734 | 16,402,513 | [
"flutter",
"firebase",
"dart",
"flutter-dependencies",
"firebase-core"
] |
75,616,545 | 1 | null | null | 0 | 23 | I've just did the following graph:
[](https://i.stack.imgur.com/Li28h.png)
But `juny 22` is not the last date available. How can I plot this graph from des. 19 to the most recent date?
```
plot2 <- ggplot(taxa_atur, aes(x=time, y=values, color= geo, group=geo))+
geom_line(linewidth=1, aes(linetype = (geo == "EA19")))... | How can I plot a graph from a specific date to the last date available | CC BY-SA 4.0 | null | 2023-03-02T14:05:37.287 | 2023-03-02T14:05:37.287 | null | null | 19,633,381 | [
"r",
"date",
"ggplot2",
"x-axis"
] |
75,616,540 | 1 | null | null | 0 | 10 | I have tried changing the firebase config and updating the dependencies including expo and firebase.
The console logs in this step are as follows (The error occurs in the last logs):
Using Expo modules
[Expo] Enabling modular headers for pod ExpoModulesCore
Auto-generating `.xcode.env.local` with $NODE_BINARY=/Users/ex... | Error in install pods when I try to submit by eas to a react native expo application | CC BY-SA 4.0 | null | 2023-03-02T14:05:24.283 | 2023-03-02T14:05:24.283 | null | null | 21,319,515 | [
"ios",
"typescript",
"react-native",
"expo",
"eas"
] |
75,616,547 | 2 | null | 75,616,388 | 1 | null | Just to add to everyone else's comments, set the `body { height: 100vh; }` so that the div height, at 100% matches the parent's height (i.e. the body). Code below to show you the effect:
```
body {
height: 100vh; /*added this */
}
```
```
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/... | null | CC BY-SA 4.0 | null | 2023-03-02T14:05:42.030 | 2023-03-02T14:05:42.030 | null | null | 12,571,484 | null |
75,616,549 | 1 | null | null | 0 | 16 | ```
function listComments() {
// setting the sheetId to the current sheet I am using
var sheetId = '(mySpreadsheetId)';
var arg = {
pageSize: 100
}
Drive.Comments.list
var comments = Drive.Comments.list(sheetId, pageSize=arg);
var cList = [];
// getting the active spreadsheet and current sheet to... | I am currently working in Apps Script, and I am needing to extract all comments from a certain sheet using Google Drive API. Is this possible? | CC BY-SA 4.0 | null | 2023-03-02T14:06:15.940 | 2023-03-02T14:06:15.940 | null | null | 17,361,711 | [
"google-apps-script",
"google-sheets",
"google-drive-api"
] |
75,616,552 | 1 | null | null | 0 | 4 | I am running Tomcat 10.1.6 and deployed mockserver-war-5.15.0.war. I get the following exception
```
Exception
jakarta.servlet.ServletException: Class [org.mockserver.mockservlet.MockServerServlet] is not a Servlet
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
org.apach... | mock-server running as war inside Tomcat | CC BY-SA 4.0 | null | 2023-03-02T14:06:42.130 | 2023-03-02T14:06:42.130 | null | null | 1,196,170 | [
"mockserver",
"mockserver-netty"
] |
75,616,551 | 1 | null | null | 0 | 16 | I am trying to use filtersets in DRF. But nothing is working : my query params are ignored. And when I force them from navigation bar, nothing appends too.
[enter image description here](https://i.stack.imgur.com/kJVlT.png)
I 've tried with ModelViewSet and ListAPIView, and that fails again and again. It's like my Djan... | DRF can't filter anything | CC BY-SA 4.0 | null | 2023-03-02T14:06:41.890 | 2023-03-02T14:06:41.890 | null | null | 3,629,482 | [
"django-rest-framework",
"django-filter"
] |
75,616,499 | 1 | null | null | 0 | 8 | Having a big issue building an ionic/cordova app for android, all works fine for ios but with android i get
```
> Task :app:mergeReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeReleaseResources'.
> A failure occurred while executing com.android.... | Cordova android build fails on Task :app:mergeReleaseResources FAILED | CC BY-SA 4.0 | null | 2023-03-02T14:02:06.157 | 2023-03-02T14:02:06.157 | null | null | 18,161,640 | [
"android",
"cordova"
] |
75,616,555 | 2 | null | 75,616,299 | 2 | null | you can decode base64 using `atob()`:
```
<div id="text"></div>
<script>
let data = {
"ID":948201,
"name":"someText",
"description":".txt",
"base64File":"QU5URSBQVVBBQ0lDIEtSQUFBQUFBQUFBQUFMSg=="
}
let decodedText = atob(data.base64File);
document.getElementById("text").innerText = decodedText... | null | CC BY-SA 4.0 | null | 2023-03-02T14:07:13.647 | 2023-03-02T14:07:13.647 | null | null | 12,706,564 | null |
75,616,556 | 1 | null | null | 1 | 26 | Can anyone explain why this is O(sqrt(n))? Is the best way to approach this by putting numbers to it?
```
i:=1
p:=0
for (p<n) do
p = p+i
i+=1
```
[Picture Here](https://i.stack.imgur.com/wAhnn.png)
I thought it was O(n), but if I put n = 5, I see that it's not iterating through n times. I'm not sure how to math... | Why is this O(sqrt(n))? | CC BY-SA 4.0 | null | 2023-03-02T14:07:16.923 | 2023-03-02T14:43:39.943 | 2023-03-02T14:22:04.217 | 21,029,879 | 21,029,879 | [
"big-o",
"discrete-mathematics",
"coding-efficiency"
] |
75,616,550 | 1 | null | null | -1 | 40 | I have a Jenkins job which creates a webpage (as an artifact) and it sends a POST to a flask app.
I have already tried adding all sorts of CSP and even allowing all of them, but it's as if it's being ignored by the browser. I tried it through my own profile in my browser (and not my work profile) and it did work, and i... | fetch() does not send request (CSP issue) | CC BY-SA 4.0 | null | 2023-03-02T14:06:35.177 | 2023-03-03T04:44:05.450 | 2023-03-02T15:21:34.147 | 400,617 | 4,424,019 | [
"javascript",
"flask",
"content-security-policy"
] |
75,616,553 | 1 | null | null | 0 | 51 | I have a .NET 7 app in a linux environment that has an endpoint "/api/uploads" that accepts a file and saves it to a folder "uploaded". I am trying to get this "uploaded" folder to be mapped to AzureFiles,
I have tried the following mount paths "/uploaded", "wwwroot/uploaded" and "mounts/wwwroot/uploaded" however the f... | Azure web app mapping not uploading to AzureFiles | CC BY-SA 4.0 | null | 2023-03-02T14:06:52.973 | 2023-03-02T15:03:51.827 | 2023-03-02T15:03:51.827 | 4,046,462 | 4,046,462 | [
".net",
"azure",
"azure-web-app-service",
"azure-files"
] |
75,616,558 | 1 | null | null | -2 | 15 | What is the regex for 1 lower case, 1upper case, 1 number, 1 special character and 12 chars in total, please?
I have been playing with this regular expression:
```
^((?=.*\d)(?=.*[a-z])(?=.*[?!&])(?=.*[A-Z]).*)$
```
to comply with this, it must have 1 upper case, 1 lower case, 1 digit, special character in any order.
... | Regex for 1 lower case, 1upper case, 1 number, 1 special character, in any order, 12 chars | CC BY-SA 4.0 | null | 2023-03-02T14:07:29.190 | 2023-03-02T14:07:29.190 | null | null | 19,832,646 | [
"regex"
] |
75,616,559 | 2 | null | 75,616,558 | 0 | null | after a little bit more play the solution was
```
^(?=.*\d)(?=.*[a-z])(?=.*[?!&])(?=.*[A-Z]).{12,}$
```
| null | CC BY-SA 4.0 | null | 2023-03-02T14:07:29.190 | 2023-03-02T14:07:29.190 | null | null | 19,832,646 | null |
75,616,557 | 2 | null | 75,607,293 | 0 | null | Initially, I lost the leading spaces when using `blockinfile`.
That is because `block: |2` to keep leading spaces does not work anymore in Ansible 2.14.2.
```
block: |2
insert something
```
So I had to add a comment as a workaround to keep the leading spaces:
```
block: |
# comment
insert something
```
Besi... | null | CC BY-SA 4.0 | null | 2023-03-02T14:07:26.507 | 2023-03-02T14:07:26.507 | null | null | 12,139,546 | null |
75,616,564 | 2 | null | 75,615,039 | 0 | null | A Scheme `cond` has implicit begin. That means if were to rewrite your code using `if`. that hasn't, you'll need to write it like this:
```
; empty? and null are racket specific. Not Scheme code.
(define (sn-users graph)
(if (empty? graph)
null
(begin
(caar graph)
(sn-users (cdr graph)))... | null | CC BY-SA 4.0 | null | 2023-03-02T14:07:59.623 | 2023-03-02T14:07:59.623 | null | null | 1,565,698 | null |
75,616,565 | 2 | null | 75,602,454 | 0 | null | I solved the issue.
My app adds a todo by launching a seperate fragment which has the viewmodel scoped to the fragment.
```
private val viewModel: ViewModel by viewModels()
```
So when I add todo, it navigates back to the fragment of todos and this fragment gets destroyed. As a result, 'insertTodo' function gives "Job... | null | CC BY-SA 4.0 | null | 2023-03-02T14:08:05.483 | 2023-03-02T14:08:05.483 | null | null | 20,869,038 | null |
75,616,567 | 2 | null | 72,577,944 | -1 | null | Is that what you want like this same as you screenshot?
Screenshot:
[](https://i.stack.imgur.com/I5ANW.png)
I merely changed `row` and `column`:
- -
| null | CC BY-SA 4.0 | null | 2023-03-02T14:08:11.513 | 2023-03-02T14:08:11.513 | null | null | 4,136,999 | null |
75,616,568 | 2 | null | 75,616,354 | 0 | null | Don't turn on the DisplayAlerts or turn it off again before the Close e.g.
```
Application.DisplayAlerts = False
wbnew.Close
Application.DisplayAlerts = True
```
| null | CC BY-SA 4.0 | null | 2023-03-02T14:08:11.640 | 2023-03-02T14:08:11.640 | null | null | 1,955,044 | null |
75,616,561 | 1 | null | null | -1 | 26 | I am trying to build an nearly-infinitely scrollable layout (in both dimensions) like the one in Figma's Viewport or Blender's Node Editor. Currently I am setting the layout to be very large instead of infinite as It does not make any difference in practice.
The image below shows the desired behaviour (right) vs the cu... | Center-based positioning in flutter | CC BY-SA 4.0 | null | 2023-03-02T14:07:52.170 | 2023-03-02T16:48:55.543 | 2023-03-02T16:48:55.543 | 6,555,209 | 6,555,209 | [
"flutter",
"layout"
] |
75,616,560 | 1 | null | null | 0 | 19 | I am building a kernel module for PCIe device on Linux v5.15.60 on x86. This module connects to my FPGA (containing multiple soft cores) and creates a `platform_device`. For an other driver to use it.
The FPGA embed its own device tree blob in a memory region read by my kernel module. I would like to use `__unflatten_d... | How to parse a new device tree BLOB in a kernel module? | CC BY-SA 4.0 | null | 2023-03-02T14:07:45.687 | 2023-03-02T20:39:52.010 | 2023-03-02T20:39:52.010 | 2,511,795 | 21,318,549 | [
"linux-kernel",
"fpga",
"kernel-module",
"device-tree",
"pci"
] |
75,616,571 | 1 | 75,618,129 | null | 0 | 21 | I could not find anywhere the relationship between a backend a frontend. Would a backend work like so?
I do not know how to explain this so I will give a scenario of using a backend theoretically and please tell me if this is how a backend works.
User logs in a website.tld/login which sends an API request to api.websit... | How does a backend-frontend relationship work? | CC BY-SA 4.0 | null | 2023-03-02T14:08:17.563 | 2023-03-02T16:17:56.143 | null | null | 19,820,779 | [
"node.js",
"reactjs",
"web",
"frontend",
"backend"
] |
75,616,573 | 1 | null | null | -1 | 8 | I am trying to use the directed acyclic graph for multi-parent child nodes for my diagram, but the dev tools in Chrome or other browsers keep telling me that "d3.dagStratify()" is not a function.
And I looked in the source code after I logged it into the console and, yes there wasn't any such function so is there a sol... | Is d3.js missing some functions? | CC BY-SA 4.0 | null | 2023-03-02T14:08:22.147 | 2023-03-02T14:08:22.147 | null | null | 21,319,529 | [
"javascript",
"html",
"web-development-server",
"visual-web-developer"
] |
75,616,569 | 2 | null | 75,616,340 | 1 | null | There are a lot of problems with your code.
First, the properties of the `ErrorResponse` class must be `public` otherwise the deserializer will ignore them:
```
public class ErrorResponse
{
public string ErrorCode { get; set; }
public string Message { get; set; }
public Array Errors { get; set;}
}
```
Seco... | null | CC BY-SA 4.0 | null | 2023-03-02T14:08:15.187 | 2023-03-02T14:08:15.187 | null | null | 1,018,140 | null |
75,616,572 | 1 | 75,616,652 | null | 0 | 32 | I run:
```
proc = subprocess.run(["echo", "$(echo 1111dGUv+rG551123eFwBhCMde6BIS90c3AAAAA= | base64 -d)"], check=True, stdout=subprocess.PIPE)
print(proc.stdout)
```
Got:
```
b'$(echo 1111dGUv+rG551123eFwBhCMde6BIS90c3AAAAA= | base64 -d)\n'
```
But wish to have `$(echo 1111dGUv+rG551123eFwBhCMde6BIS90c3AAAAA= | base6... | Run $(Linux commnad) in a Python subprocess.run? | CC BY-SA 4.0 | null | 2023-03-02T14:08:18.120 | 2023-03-02T14:16:38.950 | null | null | 20,671,772 | [
"python",
"python-3.x",
"shell",
"subprocess"
] |
75,616,554 | 1 | null | null | 0 | 21 | I want to trigger a re-render of my React component after an external script has been initialized (because the external script is defining some window variables that are used in the component).
Currently I have this:
```
const mapStateToProps = (state) => ({
...
});
class App extends Component {
handleForceUpd... | Trigger component re-render in React with Redux after external script initialized | CC BY-SA 4.0 | null | 2023-03-02T14:06:56.120 | 2023-03-02T14:21:52.463 | null | null | 9,242,634 | [
"javascript",
"reactjs",
"redux",
"react-redux"
] |
75,616,535 | 1 | null | null | 0 | 58 | We encounter a problem with spacing below our footer on certain pages on the website. Especially short pages.
Our website is a Wordpress-Site with Elementor Pro. We did not have this issue till recently. The only thing we recently did is updating Elementor, but rolling it back did not solve the matter.
We checked the c... | How do I get rid of spacing below the footer in my website? | CC BY-SA 4.0 | null | 2023-03-02T14:04:54.067 | 2023-03-02T15:30:24.963 | 2023-03-02T15:30:24.963 | 2,015,909 | 21,319,532 | [
"php",
"css",
"wordpress",
"elementor"
] |
75,616,579 | 2 | null | 34,771,177 | 0 | null | Didnt found answer here, but this solution help me:
Just check `event?.dataTransfer?.types` on event dragenter.
['Files'], ['text/plain', 'text/html'] and other types
| null | CC BY-SA 4.0 | null | 2023-03-02T14:08:40.910 | 2023-03-02T14:08:40.910 | null | null | 13,075,648 | null |
75,616,576 | 1 | 75,616,697 | null | -1 | 24 | ```
.topnav{
background-color: palegreen;
}
.topnav a{
float: left;
}
```
```
<div class="topnav">
<a href="">Home</a>
<a href="">News</a>
<a href="">Contact</a>
<a href="">About</a>
</div>
```
> Using above code I am trying to create a navbar but I am not able to give background ... | Why the div with class name "topnav" is not being displayed in palegreen color? | CC BY-SA 4.0 | null | 2023-03-02T14:08:28.607 | 2023-03-02T14:21:20.890 | 2023-03-02T14:21:20.890 | 11,910,994 | 11,910,994 | [
"html",
"css",
"css-float"
] |
75,616,580 | 2 | null | 75,613,884 | 0 | null | You of course need to close properly the tag, but the real problem here is that you are typing the name of the file in the search bar like a website url and that can't work. The simplest (since you have it already installed), and imo nicest, way to see the result of your html and edit it along is to click the "go live... | null | CC BY-SA 4.0 | null | 2023-03-02T14:08:45.457 | 2023-03-02T14:08:45.457 | null | null | 10,618,040 | null |
75,616,582 | 2 | null | 75,522,822 | 1 | null | You need the add Refit.Xml nuget package
| null | CC BY-SA 4.0 | null | 2023-03-02T14:08:58.120 | 2023-03-02T14:08:58.120 | null | null | 21,319,587 | null |
75,616,570 | 2 | null | 6,355,096 | 0 | null | It's a best way to create custom clearable edittext with close icon and gettextcleanlistener
```
class EditTextWithClear : AppCompatEditText {
constructor(context: Context) : super(context)
constructor(context: Context, attributeSet: AttributeSet) : super(context, attributeSet)
constructor(context: Context, attribut... | null | CC BY-SA 4.0 | null | 2023-03-02T14:08:17.050 | 2023-03-02T14:15:50.023 | 2023-03-02T14:15:50.023 | 12,155,702 | 12,155,702 | null |
75,616,577 | 1 | null | null | 0 | 12 | I am new to Kafka. Currently I am working on a requirement -
I am consuming messages from Kafka (The messages are produced in the Kafka by upstream team). The Upstream team doesn't maintain the schema versions and haven't implemented schema registry.
They have simply given an API in which I pass the client Id and tabl... | Handle Schema evolution while consuming messages from Kafka using PySpark | CC BY-SA 4.0 | null | 2023-03-02T14:08:34.723 | 2023-03-02T14:08:34.723 | null | null | 17,468,567 | [
"apache-spark",
"spark-streaming",
"apache-kafka-streams",
"aws-msk",
"spark-streaming-kafka"
] |
75,616,586 | 2 | null | 75,616,313 | 1 | null | You've most probably forgot to import the `doc()` function:
```
import { doc, updateDoc, ... } from "firebase/firestore";
```
| null | CC BY-SA 4.0 | null | 2023-03-02T14:09:05.483 | 2023-03-02T14:34:20.990 | 2023-03-02T14:34:20.990 | 209,103 | 3,371,862 | null |
75,616,584 | 1 | null | null | -2 | 22 | ```
$insert_products = "
INSERT INTO`products`(product_title,product_description,product_keywords,category_id,brand_id,product_image1,product_image2,product_image3,product_price)
VALUES('$product_title','$product_description','$product_keywords','$category_id','$brand_id','$product_image1','$product_image2','$pr... | some one can find the problem please , all things are exact the probleme on second ligne (values....) | CC BY-SA 4.0 | null | 2023-03-02T14:09:02.357 | 2023-03-02T14:10:13.447 | 2023-03-02T14:10:13.447 | 5,947,043 | 21,318,962 | [
"php",
"sql"
] |
75,616,583 | 2 | null | 64,798,000 | 0 | null | For anyone (like me) searching for the proof that the dataset got registered correctly.
After you register the dataset (smth like this):
```
from detectron2.data.datasets import register_coco_instances
register_coco_instances("coco_custom", {}, "./data/annotations/instances.json", "./data/images/")
```
You can get the... | null | CC BY-SA 4.0 | null | 2023-03-02T14:09:00.290 | 2023-03-02T14:09:00.290 | null | null | 14,715,428 | null |
75,616,581 | 1 | null | null | 0 | 12 | I'm struggling with `Gitlab CI` and `pnpm`. I have a simple pipeline with `npm`, two stages, install and test, using cache:
```
stages:
- install
- test
install:
stage: install
tags:
- node:LTS
script:
- npm install
cache:
key: node_modules
paths:
- node_modules
only:
- develo... | Use pnpm in diferent Gitlab CI stages | CC BY-SA 4.0 | null | 2023-03-02T14:08:53.560 | 2023-03-02T14:08:53.560 | null | null | 7,114,164 | [
"gitlab-ci",
"pnpm"
] |
75,616,574 | 2 | null | 75,612,470 | 3 | null | Your post states:
> If one or more of them are null, it should not create a csv file.
This suggests that you would want to use a Linq statement to check for `Any` textbox that is empty, and only enter the loop if this condition is `false`. Here's one way this could be coded:
```
private void button1_Click(object sender... | null | CC BY-SA 4.0 | null | 2023-03-02T14:08:22.833 | 2023-03-02T14:47:03.797 | 2023-03-02T14:47:03.797 | 5,438,626 | 5,438,626 | null |
75,616,587 | 2 | null | 75,602,131 | 1 | null | First of all you must set expressionLanguageSupported on your PropertyDescription.Builder
```
@Override
protected PropertyDescriptor getSupportedDynamicPropertyDescriptor(String propertyDescriptorName) {
return new PropertyDescriptor.Builder()
.required(false)
.name(propertyDescriptorName)
... | null | CC BY-SA 4.0 | null | 2023-03-02T14:09:06.813 | 2023-03-02T14:09:06.813 | null | null | 8,909,313 | null |
75,616,591 | 2 | null | 75,612,489 | 0 | null | Thank you guys for the answers. But this works only for this specific site, when I try to use this technique for another, similar website, even with "if variable:", it doesn't work. Could you tell me the steps how to do it if I want to apply similar steps on a [different web](https://beta.www.jobs.cz/prace/moravskoslez... | null | CC BY-SA 4.0 | null | 2023-03-02T14:09:25.050 | 2023-03-02T14:14:10.750 | 2023-03-02T14:14:10.750 | 21,316,883 | 21,316,883 | null |
75,616,596 | 2 | null | 59,090,526 | 0 | null | In my case, the reason for such behaviour was a missing call to the `super.prepareForReuse` in overridden method in my custom UICollectionViewCell cell.
So I simply added it and the problem was solved. :]
```
override func prepareForReuse() {
super.prepareForReuse() // <-- that was the clue!
// your code here
... | null | CC BY-SA 4.0 | null | 2023-03-02T14:09:39.030 | 2023-03-02T14:09:39.030 | null | null | 13,433,324 | null |
75,616,594 | 1 | 75,616,742 | null | 1 | 21 | I've seen bits of information here and there about elements that are valid children of other elements. For example `<tr>` cannot be a child of `<span>`, etc. Is there a resource that provides an exhaustive list/table of what parent/child relationships are allowed in the DOM? Thanks!
| Is there an exhaustive list of what elements can be children of what elements in HTML5 | CC BY-SA 4.0 | null | 2023-03-02T14:09:26.670 | 2023-03-02T14:25:34.767 | null | null | 11,255,651 | [
"html"
] |
75,616,575 | 1 | 75,616,693 | null | 0 | 43 | this is my table:
| Start | Stop | City |
| ----- | ---- | ---- |
| 2022-01-01 | 2022-02-15 | Rom |
| 2022-02-16 | 2022-03-31 | Rom |
| 2022-04-01 | 2022-05-10 | London |
| 2022-05-11 | 2022-06-11 | London |
| 2022-06-12 | 2022-07-10 | Paris |
| 2022-07-11 | 2022-08-10 | Rom |
I like to get this result:
| S... | SQL: Need help to group by | CC BY-SA 4.0 | null | 2023-03-02T14:08:22.900 | 2023-03-02T14:56:46.540 | null | null | 6,625,547 | [
"mysql",
"sql",
"group-by"
] |
75,616,597 | 2 | null | 75,612,356 | 0 | null | The checkbox itself is defined inside WixUI with that condition, so you'd have to replace `ExitDialog` itself to replace the condition.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:09:39.563 | 2023-03-02T14:09:39.563 | null | null | 104,149 | null |
75,616,599 | 2 | null | 75,611,420 | 0 | null | This is not a programming issue, but merely a theoretical issue:
The R^2 statistic is ill-defined whenever you omit an intercept term.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:09:51.557 | 2023-03-02T14:09:51.557 | null | null | 10,353,865 | null |
75,616,601 | 2 | null | 75,616,373 | 0 | null | The 2 columns in table 1 both require their names etc, to get the names you need a join, so 2 joins are needed.
```
select
routes.from_code
, fname.name as from_name
, fname.id as from_id
, routes.to_code
, tname.name as to_name
, tname.id as to_id
from table1 as routes... | null | CC BY-SA 4.0 | null | 2023-03-02T14:09:54.040 | 2023-03-02T14:09:54.040 | null | null | 2,067,753 | null |
75,616,588 | 1 | null | null | 0 | 18 | I'm using the `Elements` and `PaymentElement` components from `@stripe/react-stripe-js` and disabled the loader to implement a custom solution. This works fine in the UI:
```
const [isStripeLoading, setIsStripeLoading] = useState(true);
const onFormReady = () => {
setIsStripeLoading(false);
};
return (
<Elements ... | React testing library is not calling the onReady listener of Stripe's PaymentElement component | CC BY-SA 4.0 | null | 2023-03-02T14:09:13.783 | 2023-03-02T16:55:35.367 | 2023-03-02T14:18:55.173 | 5,816,935 | 5,816,935 | [
"reactjs",
"jestjs",
"stripe-payments",
"react-testing-library"
] |
75,616,589 | 1 | null | null | 0 | 13 | After successful deploy, only one domain works.
The shows Firebase message "Site Not Found - Why am I seeing this? ..."
The index.html does not have any Firebase App setup
.
The Firebase console>hosting>dashboard shows two domains as default and no status:
| Domain | Status |
| ------ | ------ |
| (projectname).... | Firebase domain <projectname>.firebaseapp.com works while <projectname>.web.app does not | CC BY-SA 4.0 | null | 2023-03-02T14:09:16.600 | 2023-03-03T15:41:36.280 | 2023-03-02T14:13:54.560 | 21,319,302 | 21,319,302 | [
"firebase",
"firebase-hosting"
] |
75,616,602 | 1 | 75,616,656 | null | 1 | 38 | I had a code that would place 1 or 2 values in a cell at random (The values were either "SF" or "BM") and I used to do it this way
```
Worksheets("Sheet1").Range("A1").Value = IIf(Rnd() > 0.5, "BM", "JC")
```
The problem is that I want to add a new third value "KS" and doing the following doesn't work
```
Worksheets("... | Place one of three values in a cell at radom | CC BY-SA 4.0 | null | 2023-03-02T14:10:00.590 | 2023-03-02T20:07:42.900 | 2023-03-02T14:10:13.527 | 8,422,953 | 15,451,183 | [
"excel",
"vba"
] |
75,616,603 | 1 | 75,620,237 | null | 1 | 30 | I'm trying to move from cookie-based sessions to a database. I'm running this command. I get the error below. It's trying to connect to a local MySQL server. I do not have a local MySQL server. I have a dedicated MySQL server that Redmine connects to just fine, but when I try to run this command:
```
rails generate act... | Redmine: Error trying to change from cookie sessions to database | CC BY-SA 4.0 | null | 2023-03-02T14:10:08.983 | 2023-03-02T19:55:20.177 | 2023-03-02T18:56:27.100 | 3,784,008 | 16,227,167 | [
"mysql",
"ruby-on-rails",
"ruby",
"redmine"
] |
75,616,593 | 1 | null | null | -1 | 10 | I'm running a Laravel 10 application through a Docker environment. I have a controller which saves an entry to my database, and then runs a for loop that keeps the request open in something like Postman, then, once the `complete` key returns `true`, or the maximum number of seconds are reached, it exits and returns the... | Laravel request continues even if connection closed blocking new requests | CC BY-SA 4.0 | null | 2023-03-02T14:09:26.493 | 2023-03-02T14:09:26.493 | null | null | 9,982,090 | [
"php",
"laravel"
] |
75,616,605 | 1 | null | null | 0 | 10 | I have a expectation created in mock-server
```
{
"httpRequest": {
"method": "GET",
"path": "/view2/id",
"queryStringParameters": {
"id": [
"1021901022"
]
}
},
"httpResponse": {
"statusCode": 200,
"body": "Able to fetch-1021901022 "
}
}
```
How do I delete or upda... | mock-server: How to delete the expectation | CC BY-SA 4.0 | null | 2023-03-02T14:10:20.343 | 2023-03-02T23:20:38.963 | null | null | 1,196,170 | [
"mockserver"
] |
75,616,604 | 2 | null | 75,616,462 | 1 | null | According to [this docs](https://tabulator.info/docs/5.4/format#format-custom), you can write a custom formatter to alter how the data is displayed, without altering the underlying data. Example:
```
function addTable(data) {
var table = new Tabulator("#table", {
height:205, // set height of table (in CSS o... | null | CC BY-SA 4.0 | null | 2023-03-02T14:10:10.353 | 2023-03-02T14:10:10.353 | null | null | 21,276,039 | null |
75,616,609 | 2 | null | 74,351,092 | 0 | null | Go for ZMQ, this does not require any additional packages, should be installed with the `python3 bootstrap.py` and you will be good to go.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:10:37.990 | 2023-03-02T14:10:37.990 | null | null | 11,922,765 | null |
75,616,606 | 1 | null | null | 0 | 15 | Here I have installed pgadmin 4 on windows 10. Trying to connect to the client server at port 5432. Couldn't able to understand why it is not connecting to it. Here is the error message
[](https://i.stack.imgur.com/9THmB.png)
I try to do the troubleshoot it says it is "NOT LISTENING ", also configured but still see the... | Pgadmin 4 cannot connect to server at port 5432 timeout | CC BY-SA 4.0 | null | 2023-03-02T14:10:22.050 | 2023-03-02T14:47:28.853 | 2023-03-02T14:47:28.853 | 12,377,646 | 12,377,646 | [
"postgresql",
"pgadmin-4"
] |
75,616,600 | 1 | null | null | 0 | 14 | I am creating an api and am having issues understanding why my controller is not working.
Code in product.controller.js
```
const Product = require('../models/product.model.js')
const getAllProducts = async (req,res)=>{
try {
const product = await Product.findAll();
res.send(product);
} catch (... | Controller in express.js project not working (sequelize + postgresql) | CC BY-SA 4.0 | null | 2023-03-02T14:09:52.723 | 2023-03-02T14:09:52.723 | null | null | 21,116,190 | [
"node.js",
"postgresql",
"express",
"sequelize.js"
] |
75,616,598 | 1 | null | null | 0 | 18 | I'm using [Shiny](https://github.com/shinyorg/shiny/tree/v2.7.0) for Xamarin and, in the end, I want to use OnEntry method to navigate to a specific page, for now I'm content with displaying the alert only. I'm trying to use MessagingCenter but it doesn't work with background notifications.
```
public class MyPushDeleg... | Xamarin: shiny, push notification, and messaging center | CC BY-SA 4.0 | null | 2023-03-02T14:09:49.573 | 2023-03-02T14:09:49.573 | null | null | 14,748,449 | [
"xamarin.forms",
"push-notification",
"messagingcenter"
] |
75,616,607 | 1 | null | null | 0 | 24 | I am trying to push my data to the action/controller. I tried to push it as int, object, or string but nothing changed. I couldn't fix it, every time it returns null or 0 as a count. I debug the cshtml side, I can get my data properly. The problem is: Action receives the data as null
```
[Authorize]
[HttpPost]
... | AJAX Call push null data to controller, action recieves null | CC BY-SA 4.0 | null | 2023-03-02T14:10:23.550 | 2023-03-02T15:45:22.353 | 2023-03-02T14:36:26.037 | 14,982,006 | 14,982,006 | [
"asp.net",
"asp.net-core",
"asp.net-core-mvc"
] |
75,616,613 | 1 | null | null | 0 | 23 | I have 2 repos, Repo A is Angular v12, Repo B is Angular v13. Repo B is a dependency of Repo A. When I upgraded to the latest version of Repo B in Repo A, and run the tests of Repo A I get an error in Jest:
`SyntaxError: Cannot use import statement outside a module`.
Is there a way I can get Repo B to produce both an E... | How can I build a module in both ES6 and CommonJS? | CC BY-SA 4.0 | null | 2023-03-02T14:11:19.993 | 2023-03-02T15:07:54.837 | 2023-03-02T15:07:54.837 | 21,319,539 | 21,319,539 | [
"javascript",
"node.js",
"angular"
] |
75,616,611 | 2 | null | 5,988,616 | 1 | null | We are trying to upgrade out tests with Phpunit10 on PHP8.1 as annual upgrade of our images/libraries.
On Phpunit10 at() & withConsecutive() are deprecated.
[@Radu Murzea](https://stackoverflow.com/users/995822/radu-murzea)'s solution works in most cases: not ours!
I need to mock MongoDB calls: parameters sometime are ... | null | CC BY-SA 4.0 | null | 2023-03-02T14:10:46.987 | 2023-03-02T14:10:46.987 | null | null | 1,964,225 | null |
75,616,608 | 2 | null | 75,616,200 | 1 | null | > D. My first question: if/how my implementation plan lacks in respect to what is done on ntp.
The short answer is: You don't compensate for the delay between the system #1 reads its clock (`X`) and system #2 reads its clock (`Y`).
Consider this time line:
```
X is sampled Y is sampled
... | null | CC BY-SA 4.0 | null | 2023-03-02T14:10:24.393 | 2023-03-03T06:55:51.480 | 2023-03-03T06:55:51.480 | 4,386,427 | 4,386,427 | null |
75,616,616 | 2 | null | 75,615,416 | 0 | null | There are a few different ways you can end up with multibyte data stored in a latin1 column. The simplest case is when your client application has a utf8 connection and the data is written to the latin1 column.
If this is the case, you should be able to view the content correctly with:
```
SELECT CONVERT(CAST(latin1_co... | null | CC BY-SA 4.0 | null | 2023-03-02T14:11:26.100 | 2023-03-02T14:11:26.100 | null | null | 1,191,247 | null |
75,616,617 | 2 | null | 13,992,096 | 0 | null | I had a similar issue, error:
```
table thead tr th { text-align: center; }
```
I gave the table a id="table1", then:
```
#table1 thead tr th { text-align: center;}
```
Worked!!!
| null | CC BY-SA 4.0 | null | 2023-03-02T14:11:37.523 | 2023-03-02T14:11:37.523 | null | null | 18,171,919 | null |
75,616,619 | 2 | null | 75,616,302 | 0 | null | Try running `npm cache clean` to clear the cache of the downloaded packages, then run `npm install` again.
If this doesn't work it is most likely a problem with the node version you have installed, try different versions and see if it works (best bet is to check the git repo you are trying to clone for node version com... | null | CC BY-SA 4.0 | null | 2023-03-02T14:11:40.210 | 2023-03-02T14:11:40.210 | null | null | 3,565,132 | null |
75,616,620 | 2 | null | 74,490,269 | 0 | null | set the config "withXml" as "true" in open api generator config options
| null | CC BY-SA 4.0 | null | 2023-03-02T14:11:43.183 | 2023-03-02T14:11:43.183 | null | null | 7,865,181 | null |
75,616,615 | 2 | null | 75,615,225 | 0 | null | Your SharedFlow in the repository doesn't have any `replay`, and it uses `WhileSubscribed(5000L)`, so if the second fragment is opened within five seconds of the first one going off screen, then the source flow is not restarted when the shared flow is collected in the second ViewModel, and it receives no initial value.... | null | CC BY-SA 4.0 | null | 2023-03-02T14:11:24.887 | 2023-03-02T14:16:25.237 | 2023-03-02T14:16:25.237 | 506,796 | 506,796 | null |
75,616,621 | 2 | null | 75,605,234 | 0 | null | See whether the users are restricted to login to the app (whether it needs users to be explicitly given permission within the app in Azure).
| null | CC BY-SA 4.0 | null | 2023-03-02T14:11:44.447 | 2023-03-02T14:11:44.447 | null | null | 20,438,197 | null |
75,616,618 | 1 | null | null | 0 | 19 | columns of the table are like:
| current year date | last year date | time of the week | current year total sales for product A| last year total sales for product B |
The time of the week columns have days of the week: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday.
There can be no sales on some days... | I am trying to get the current year date and exact date last year metrics from the table, but struggling to get it correct | CC BY-SA 4.0 | null | 2023-03-02T14:11:39.007 | 2023-03-02T14:11:39.007 | null | null | 21,319,531 | [
"sql",
"amazon-redshift",
"amazon-athena"
] |
75,616,622 | 1 | null | null | -3 | 15 | Create a variable called sentence. The value of the variable should be a string that contains the words “not” and “bad”.
Create a variable called sentence. The value of the variable should be a string that contains the words “not” and “bad”.
| Create a variable called wordNot where it’s value is the first appearance (ie. the position) of the substring “not” (from the sentence variable) | CC BY-SA 4.0 | null | 2023-03-02T14:11:57.270 | 2023-03-02T14:11:57.270 | null | null | 21,319,595 | [
"javascript"
] |
75,616,614 | 1 | null | null | 0 | 22 | I am currently working on a small board game while trying to get accustomed to FastApi, and what I do is keep the game's state in some variables in the `app` object
```
app.players = {
0: Player(),
1: Player()
}
app.game = Game(app.players)
app.turn = 0
app.winner = NO_WINNER
```
When the player selects a squa... | FastApi keep a game state for every instance | CC BY-SA 4.0 | null | 2023-03-02T14:11:22.137 | 2023-03-02T14:36:38.970 | null | null | 3,296,104 | [
"python",
"fastapi"
] |
75,616,629 | 2 | null | 74,504,222 | 0 | null | Change-> `DATABASE_URI: os.environ.get("DATABASE_URL")`
to -> `DATABASE_URI:str = os.environ.get("DATABASE_URL")`
| null | CC BY-SA 4.0 | null | 2023-03-02T14:12:44.193 | 2023-03-02T14:12:44.193 | null | null | 10,314,744 | null |
75,616,627 | 1 | null | null | 0 | 12 | [](https://i.stack.imgur.com/DIEAh.png)
The solution tab of my problem is as shown above. How can I interpret the quality of my model . Solutions are upto my expectations but the maximum bound infeasibility shows a larger value.nHow can I reduce the bound violation
| My largest bound violation is CPLEX showing in e^6 range. What does it indicates? But the solutions are within my expectations | CC BY-SA 4.0 | null | 2023-03-02T14:12:35.283 | 2023-03-02T14:12:35.283 | null | null | 20,548,943 | [
"optimization",
"resultset",
"cplex",
"convex",
"non-convex"
] |
75,616,624 | 2 | null | 75,612,871 | 1 | null | You could use the multicol package:
```
---
title: 'Institute'
subtitle: 'Math test'
author: 'author'
output: pdf_document
header-includes:
- \usepackage{tabularx}
- \usepackage{multicol}
---
Name: _________________________ Class:_____ date: __________
# Solve these excercises
```{=latex}
\begin{multicols}{2... | null | CC BY-SA 4.0 | null | 2023-03-02T14:12:00.850 | 2023-03-02T14:26:05.353 | 2023-03-02T14:26:05.353 | 2,777,074 | 2,777,074 | null |
75,616,623 | 2 | null | 75,615,590 | 1 | null | In
```
float cb = -0.114572;
unsigned short cb10 = std::clamp((unsigned short)(cb * 896) + 512, 44, 960);
```
The arguments to `std::clamp` are deduced as `int`. `cb * 896` cast to `unsigned short` evaluates to `65434` (rather than the correct value of `-102`), adding `512` gives `65946` which then gets clamped to `96... | null | CC BY-SA 4.0 | null | 2023-03-02T14:11:59.693 | 2023-03-02T14:11:59.693 | null | null | 5,494,370 | null |
75,616,632 | 1 | null | null | -2 | 14 | What is the solution for dealing with the 403 error?
So the case is I want to save changes to the Litespeed Chace plugin and get a 403 error message. The message reads 403 Forbidden Please forward this error screen to [iqinews.com](https://iqinews.com/) WebMaster. Access is prohibited to the requested page.
Can anyone ... | I got 403 forbidden when trying to save changes to Litespeed Chace | CC BY-SA 4.0 | null | 2023-03-02T14:13:22.553 | 2023-03-02T14:13:22.553 | null | null | 21,319,471 | [
"wordpress",
"themes",
"http-status-code-403",
"litespeed",
"httpforbiddenhandler"
] |
75,616,628 | 1 | null | null | 0 | 8 | I am running flink application locally, and my machine has 12 cores. When I run the `WithoutSlotSharingGroup`,it shows there are 1 task manager and `12` slots on flink web ui,which works as expected.
But when I run the `WithSlotSharingGroup`, it shows there are 1 task manager and `only 4` slots on flink web ui.
I don'... | Question about slot sharing group,how to calcuate the slots | CC BY-SA 4.0 | null | 2023-03-02T14:12:37.113 | 2023-03-02T14:12:37.113 | null | null | 4,443,784 | [
"apache-flink"
] |
75,616,634 | 2 | null | 15,067,033 | 0 | null | Well, it turned out to be a bit weird
I created a new view and in the view did `self.methods`
got a big list with helpers, then saw `rails_admin`, I
did as you have
```
mount RailsAdmin::Engine => '/', :as => 'rails_admin'
```
then checked `rails_admin.methods`
and found `rails_admin.edit_path`, which did work as in r... | null | CC BY-SA 4.0 | null | 2023-03-02T14:13:34.417 | 2023-03-02T14:13:34.417 | null | null | 14,800,616 | null |
75,616,630 | 1 | null | null | -1 | 10 | [](https://i.stack.imgur.com/isPdp.png)
The Pairwise Ranking Algo I built both appears to be overfitting (val loss < training loss) and stops improving after the first epoch. The val loss doesn't appear to ever improve. Is there a problem in my code that is causing this flatline phenomenon? I have never seen something ... | Pairwise RankNet loss graph flatlines after 1 epoch for both val and training loss. What's going on? | CC BY-SA 4.0 | null | 2023-03-02T14:12:51.850 | 2023-03-02T14:12:51.850 | null | null | 17,762,277 | [
"tensorflow",
"machine-learning",
"deep-learning",
"neural-network",
"ranking"
] |
75,616,637 | 1 | null | null | 0 | 8 | When I try this code, the rectangle isn't updated when I press the Move cursor button below. It works as expected when used directly, without a model. Why is this?
```
class TestZStackModel {
var view: TestZStackView! = nil
func setRect() {
view.cursorRect = CGRect(x: CGFloat.random(in: 0 ... 100), y: C... | SwiftUI view referenced from model fails to update | CC BY-SA 4.0 | null | 2023-03-02T14:13:45.917 | 2023-03-02T15:28:24.690 | null | null | 21,087,331 | [
"swiftui"
] |
75,616,635 | 1 | 75,617,721 | null | 0 | 27 | My dataset is:
[https://www.kaggle.com/datasets/angeredsquid/brewers-friend-beer-recipes](https://www.kaggle.com/datasets/angeredsquid/brewers-friend-beer-recipes)
I loaded like this:
```
import json
filename = 'recipes_full copy.json'
with open(filename, 'r') as f:
try:
json_data = json.load(f)
p... | How to use Label Encoder in a dataframe which is nested in another dataframe | CC BY-SA 4.0 | null | 2023-03-02T14:13:37.573 | 2023-03-03T07:12:03.173 | null | null | 1,014,217 | [
"python",
"pandas"
] |
75,616,633 | 1 | null | null | 1 | 33 | I have a `div` with class `parent`. It has two children `div.title` and `div.body`. `div.body` is scrollable in `y` direction, and `div.title` is fixed at the top of `div.parent` using `absolute` positioning. `div.title` must be a translucent element by design. The problem is that a part of the scrollbars get below `di... | Custom Scrollbar Positioning | CC BY-SA 4.0 | null | 2023-03-02T14:13:30.813 | 2023-03-02T16:40:22.317 | 2023-03-02T15:51:09.607 | 1,811,992 | 17,881,188 | [
"html",
"css",
"scrollbar"
] |
75,616,641 | 2 | null | 30,266,221 | 0 | null | In my case, I downloaded XAMPP and checked for my username and password, and then it finally worked.
XAMPP > mySQL connected > phpmyadmin > user accounts: to see details!
Hope this helps.
| null | CC BY-SA 4.0 | null | 2023-03-02T14:13:52.153 | 2023-03-02T14:13:52.153 | null | null | 17,408,151 | null |
75,616,643 | 2 | null | 75,616,288 | 0 | null | By default columns are virtualized. So you need to set a flag `suppressColumnVirtualisation: true` in grid options
| null | CC BY-SA 4.0 | null | 2023-03-02T14:14:08.677 | 2023-03-02T14:14:08.677 | null | null | 3,519,246 | null |
75,616,639 | 1 | null | null | 0 | 18 | I'm making a printer-class where I need to keep track of the print-history of objects with the Employee interface.
```
public void printDocument(String document, Employee employee) {
System.out.println(document);
}
```
How could I store the history of an employee in a good way, so I can return the... | Keep a printer-history for objects with a specific interface in java | CC BY-SA 4.0 | null | 2023-03-02T14:13:48.013 | 2023-03-02T14:13:48.013 | null | null | 21,319,541 | [
"java",
"oop"
] |