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,620,268 | 1 | null | null | 0 | 27 | When running the app with the debugger attached the app works just fine (debug version). Now disconnect the debugger and start the app manually (no debugger attached) and it crashes...
Even when compiling in release mode the app crashes. The following crash report is captured using:
1. Navigate to Privacy&Security > A... | App crashing when running without a debugger (or in release mode) | CC BY-SA 4.0 | null | 2023-03-02T19:58:42.083 | 2023-03-02T22:29:36.193 | 2023-03-02T20:12:09.273 | 21,298,212 | 21,298,212 | [
"ios",
"iphone",
"maui"
] |
75,620,384 | 2 | null | 75,620,363 | 4 | null | From the C Standard (7.21.5.3 The fopen function)
> or open binary file for update (reading and writing)
So there is no difference in specifying the mode.
Here are some other equivalent mode specifications
> or truncate to zero length or create binary file for update or create binary file for update or append; op... | null | CC BY-SA 4.0 | null | 2023-03-02T20:14:04.650 | 2023-03-02T20:14:04.650 | null | null | 2,877,241 | null |
75,620,380 | 2 | null | 75,365,825 | 0 | null | I'm fairly certain this has to do with your `emit` and not the fact that you're actually clicking it.
I'd suggest changing your test a bit:
```
it('triggers Vue router call to the new plan page', async () => {
const button = wrapper.find('#create-plan-btn')
expect(button.exists()).toBeTruthy()
expect(mockRo... | null | CC BY-SA 4.0 | null | 2023-03-02T20:12:59.190 | 2023-03-02T20:12:59.190 | null | null | 9,418,580 | null |
75,620,386 | 2 | null | 75,620,118 | 0 | null | We can use `Array.filter()` to [check for if your objects exist in the array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter)
```
let tempArray = [x,y,y,z,x,x,x]
let filteredArray = tempArray.filter(obj => obj==x)
//this should return [x,x,x,x]
if(filteredArray.length > 0... | null | CC BY-SA 4.0 | null | 2023-03-02T20:14:19.447 | 2023-03-02T20:14:19.447 | null | null | 19,156,156 | null |
75,620,383 | 1 | null | null | 0 | 10 | Can I please kindly ask for help converting lighttpd config to Nginx one?
```
$HTTP["url"] =~ "^/(static/icons/|static/fonts/|static/translations/|static/images/|static/panels/|static/polyfills|api/|auth/|frontend_latest/|frontend_es5/|local/|lovelace|map|config|developer-tools|history|logbook|profile|states|hassio|onb... | Please help converting lighttpd config to nginx | CC BY-SA 4.0 | null | 2023-03-02T20:14:02.953 | 2023-03-02T20:14:02.953 | null | null | 2,478,577 | [
"nginx",
"proxy",
"lighttpd",
"home-assistant"
] |
75,620,387 | 1 | null | null | 0 | 21 | The problem I'm having is wanting to be able to add a tabbed page inside a Contepage, but I need to do it as seen in the following image, as you can see this is an image above the tab view and I'd like to be able to display different content on that tab view, what would you recommend to be able to resolve this?
[imagen... | How can I center a Tabbedpage inside of a ContentPage? | CC BY-SA 4.0 | null | 2023-03-02T20:14:26.347 | 2023-03-03T09:16:36.277 | null | null | 12,054,182 | [
"maui",
"maui-community-toolkit"
] |
75,620,368 | 1 | null | null | 0 | 21 | I've firebase database implemented, I want to parse all the json data which is added by me in realtime database. code below represent how I try to parse it, but the error is always the same it's: `Failed to parse conversations` which is `snapshot.value` error as you can see in the code
```
public func getConversation(w... | can't read from firebase realtime database | CC BY-SA 4.0 | null | 2023-03-02T20:10:28.800 | 2023-03-02T20:38:11.860 | 2023-03-02T20:38:11.860 | 209,103 | 20,855,910 | [
"ios",
"json",
"swift",
"firebase",
"firebase-realtime-database"
] |
75,620,389 | 1 | null | null | 0 | 16 | I used the "Unlink" button because I didn't want my power query to pull in new data (through an accidental refresh, for example).
But now I want to re-enable the link between my power query and the data source.
Yet the "Edit Links" button is greyed out.
When I navigate to the "Data Source Settings" in the power query e... | How can I re-enable the "Edit Links" button after selecting "Unlink"? | CC BY-SA 4.0 | null | 2023-03-02T20:14:32.780 | 2023-03-02T20:14:32.780 | null | null | 12,304,196 | [
"excel",
"powerquery"
] |
75,620,391 | 2 | null | 75,613,346 | 0 | null | OK, great, [JGHs](https://stackoverflow.com/users/7635569/jgh) solutions was spot-on! Code looks now like and works like a charm! Thanks a lot!
```
SELECT
points.common_name,
municipalities.id,
municipalities.name
FROM points, municipalities
WHERE
ST_DWithin(ST_MakePoint(points.longitude,points.latitude... | null | CC BY-SA 4.0 | null | 2023-03-02T20:14:59.313 | 2023-03-02T21:40:27.513 | 2023-03-02T21:40:27.513 | 14,097,408 | 14,097,408 | null |
75,620,390 | 1 | null | null | 1 | 77 | What can I do to speed up the execution of the following code significantly (in particular for even higher values of N). I think the main problem is the sum in the get_field function.
```
from numpy import *
from numpy.linalg import *
from scipy import constants as co
import pylab as plt
eps0 = co.epsilon_0
charges ... | Improve speed of summing up loop in python | CC BY-SA 4.0 | null | 2023-03-02T20:14:41.033 | 2023-03-04T08:40:09.053 | 2023-03-04T08:40:09.053 | 20,600,655 | 20,600,655 | [
"python",
"performance",
"physics",
"scientific-computing"
] |
75,620,393 | 2 | null | 75,619,400 | 0 | null | Use a look ahead for each phrase:
```
^(?=.*\bgraphic design\b)(?=.*\bfiller text\b).*
```
Word boundaries have been added to not match "infographic designation" for example.
---
To check for more phrases, use another lookahead for each phrase. For example, to also require `aaa bbb ccc` and `xxx yyy zzz`:
```
^(?i)... | null | CC BY-SA 4.0 | null | 2023-03-02T20:15:08.020 | 2023-03-02T23:58:58.717 | 2023-03-02T23:58:58.717 | 256,196 | 256,196 | null |
75,620,394 | 1 | null | null | 0 | 29 | I'm trying to draw a Card in Jetpack Wear Compose with a border containing up to 4 colors (one for each side), but without gradient.
I tried to upload an image for illustration, but due to my low rep I cannot post images.
Does anyone know a solution for this?
| Jetpack compose card with different color on each side of the border | CC BY-SA 4.0 | null | 2023-03-02T20:15:14.810 | 2023-03-02T20:45:32.677 | null | null | 13,094,572 | [
"android",
"android-jetpack-compose",
"border",
"wear-os"
] |
75,620,385 | 2 | null | 75,620,293 | 3 | null | Regarding the 1st part:
`3` and `5` are literals of type `int`.
In the 1st constructor, the 2nd parameter is using the template argument named `T`, which `main()` is specifying explicitly as `int`, so `5` can be passed as-is. However, `size_t` is an implementation-defined unsigned type, thus not `int`, so an implicit c... | null | CC BY-SA 4.0 | null | 2023-03-02T20:14:10.133 | 2023-03-02T20:33:10.127 | 2023-03-02T20:33:10.127 | 65,863 | 65,863 | null |
75,620,395 | 1 | null | null | 0 | 33 | How can I separate mobile and desktop pages in ASP.NET core? What's the best approach?
I have two pages like this
- -
And these html files use same page directive
> @page "/home"
I tried a middleware but I don't know whether this is the best way? Is there the best approach?
```
public async Task Invoke(HttpContext con... | Seperate Razor Pages Mobile - Desktop | CC BY-SA 4.0 | null | 2023-03-02T20:15:17.123 | 2023-03-03T10:59:42.017 | null | null | 3,439,554 | [
"c#",
"asp.net",
"razor",
"razor-pages"
] |
75,620,392 | 1 | null | null | 0 | 23 | I am building a quiz react website, what I am aiming to do is after clicking on the right or the wrong answer, thhe progress bar of both changes respectively. While I am playing the quiz, the progress bar does updates very smoothly but the problem arises at scor/4 and wrongscore /4 below the progress bar which both of... | React state updates but showing after rendering | CC BY-SA 4.0 | null | 2023-03-02T20:15:03.810 | 2023-03-02T20:15:03.810 | null | null | 15,638,557 | [
"reactjs",
"react-hooks"
] |
75,620,396 | 2 | null | 75,620,235 | 5 | null | When you supply an `ARRAYREF` of `MIME::Entity`s to the `parts` function, it sets the object to contain exactly those `MIME::Entity`s. All previous entities are dropped.
The `@keep` array in the example contains those `MIME::Entity`s that for which the `keep_part` returned true and `$msg->parts(\@keep);` is what sets t... | null | CC BY-SA 4.0 | null | 2023-03-02T20:15:20.220 | 2023-03-02T20:29:22.150 | 2023-03-02T20:29:22.150 | 7,582,247 | 7,582,247 | null |
75,620,401 | 1 | null | null | 0 | 5 | I use xampp on Windows 10, for home programming, what not.
I want to learn, play with lua on that.
But i can't get it to execute, any good tutorials?
Thanks
| How to setup lua in Xampp? | CC BY-SA 4.0 | null | 2023-03-02T20:16:40.787 | 2023-03-02T20:16:40.787 | null | null | 191,899 | [
"installation",
"lua",
"xampp"
] |
75,620,397 | 1 | null | null | -1 | 6 | I'm working on counting the days between two transactions on separate rows in Yardi's fund_tran table. I need to turn this into CustomSQL, so there are limitations on the returns. I've created two derived tables, but I need the logic in the second table to return ONLY the next applicable row of data.
Here's what I have... | Yardi Fund Tran DateDiff Between One Row and the Subsequent Row with the same trantype | CC BY-SA 4.0 | null | 2023-03-02T20:15:20.310 | 2023-03-02T20:15:20.310 | null | null | 21,321,743 | [
"sql",
"datediff",
"derived-table"
] |
75,620,402 | 2 | null | 75,620,336 | 0 | null | You can use `try-except` approach (see [handling exceptions doc](https://docs.python.org/3/tutorial/errors.html#handling-exceptions)):
```
try:
x = data['XMLRESPONSE']['ITEM']
print("key exist in JSON data")
except KeyError:
print("Key doesn't exist in JSON data")
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:16:43.703 | 2023-03-02T20:16:43.703 | null | null | 2,501,279 | null |
75,620,399 | 1 | null | null | 0 | 21 | This is the docker compose file that builds the images and runs the containers
```
version: '3'
services:
weather_db:
build:
context: .
dockerfile: Dockerfile-mariadb
image: favargasc/weather:latest
container_name: weather_db
ports:
- "3306:3306"
countries_states:
build:
... | Problem connecting docker containers Unknown MySQL server host | CC BY-SA 4.0 | null | 2023-03-02T20:15:31.990 | 2023-03-02T20:39:33.257 | 2023-03-02T20:39:33.257 | 19,881,119 | 19,881,119 | [
"docker",
"docker-compose",
"dockerfile",
"mariadb"
] |
75,620,405 | 2 | null | 75,619,508 | 0 | null | You can't restart Django directly, that's the point of an application server like Gunicorn. On your Ubuntu, it's almost certain Gunicorn is started via systemd, meaning that the command you need is in the Linux terminal:
`sudo systemctl restart gunicorn`
This command will restart the application server service, which i... | null | CC BY-SA 4.0 | null | 2023-03-02T20:17:13.923 | 2023-03-03T13:56:01.677 | 2023-03-03T13:56:01.677 | 17,562,044 | 2,320,153 | null |
75,620,378 | 1 | null | null | 0 | 20 |
# The problem:
I am creating an application with , Vuetify v3 and , and everything is running on the development environment, but when I try to run `electron:build` it gives an error:
```
<--- Last few GCs --->
[6192:000001D48C5AA870] 75166 ms: Scavenge 1421.1 (1849.3) -> 1293.2 (1727.5) MB, 21.9 / 0.0 ms (aver... | FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory, Vue e Electron | CC BY-SA 4.0 | null | 2023-03-02T20:12:27.707 | 2023-03-02T20:12:27.707 | null | null | 20,248,141 | [
"javascript",
"vue.js",
"build",
"electron",
"production-environment"
] |
75,620,407 | 2 | null | 46,053,834 | 0 | null | Try to add exports list, Components that you declared.
Example;
@NgModule({
declarations: [
],
imports: [
CommonModule
]
,exports:[
]
| null | CC BY-SA 4.0 | null | 2023-03-02T20:17:28.430 | 2023-03-02T20:17:28.430 | null | null | 15,467,707 | null |
75,620,406 | 1 | null | null | -1 | 20 | Trying to query database using PHP variable email but no response using $email, tried without using variable and it is working.

Tried multiple ways of getting variable to work in SQL statement.
SQL Version: 8.0.28
| SQL statement containing PHP variable not working | CC BY-SA 4.0 | null | 2023-03-02T20:17:16.257 | 2023-03-02T20:44:12.807 | 2023-03-02T20:44:12.807 | 5,947,043 | 21,321,697 | [
"php",
"sql",
"database",
"variables"
] |
75,620,410 | 1 | null | null | 0 | 7 | Can anyone suggest me some methods for understanding rest api and how to create a sample module for restapi like things?
i just go through some blogs about this and followed some youtube channels but i can't get a clear picture of it
can anyone suggest me a good pathway for understanding restapi for magento2 with a sam... | How to Learn RestApi in magento2 | CC BY-SA 4.0 | null | 2023-03-02T20:17:38.600 | 2023-03-02T20:17:38.600 | null | null | 15,302,151 | [
"api",
"rest",
"progressive-web-apps",
"magento2"
] |
75,620,403 | 1 | null | null | 0 | 16 | I know this question has been asked many times, but I still can't get it working.
I have a firebase cloud function sending notifications through firebase messaging's `sendMulticast` function. This reports success for all tokens. Notifications for iOS and Android are being received.
```
let res = await admin.messaging()... | FCM Web Push Notifications not firing | CC BY-SA 4.0 | null | 2023-03-02T20:16:49.223 | 2023-03-02T20:16:49.223 | null | null | 586,181 | [
"google-chrome",
"firefox",
"push-notification",
"firebase-cloud-messaging",
"web-push"
] |
75,620,411 | 2 | null | 75,618,663 | 0 | null | The problem was my "packages" file, I didn't have the option "autopublish" so the data from the server it was not being sent to my client i just put the autopublish and everything works.
| null | CC BY-SA 4.0 | null | 2023-03-02T20:17:44.040 | 2023-03-02T20:17:44.040 | null | null | 18,375,753 | null |
75,620,408 | 2 | null | 75,620,372 | 0 | null | You can catch the error and return false, like
```
Future<bool> registerUser(
String email, String password, String username) async {
try {
AuthResponse res = await supabase.auth.signUp(
email: email,
password: password,
);
return res.user != null;
} catch (e) {
return false;
}
}
`... | null | CC BY-SA 4.0 | null | 2023-03-02T20:17:30.047 | 2023-03-02T20:17:30.047 | null | null | 10,157,127 | null |
75,620,400 | 1 | null | null | 0 | 27 | I'm trying to establish a connection to SQL server to use SMO. In my local machine with option1, I'm able to connect with option 1. However I have to run the same in a server machine (with SQL Server and not SQL Server Express). I'm running as a Windows service in the server machine which should connect to SQL server. ... | Create a ServerConnection object to create an SMO server object in C#? | CC BY-SA 4.0 | null | 2023-03-02T20:16:10.140 | 2023-03-02T20:23:04.867 | 2023-03-02T20:23:04.867 | 15,904,483 | 15,904,483 | [
"c#",
"sql-server",
"connection-string",
"smo"
] |
75,620,416 | 2 | null | 65,252,533 | 1 | null |
# Update on 2023
Read [DataStore and dependency injection](https://medium.com/androiddevelopers/datastore-and-dependency-injection-ea32b95704e3) by [Simona Stojanovic](https://medium.com/@anomisSi)
| null | CC BY-SA 4.0 | null | 2023-03-02T20:18:19.853 | 2023-03-02T20:18:19.853 | null | null | 3,997,720 | null |
75,620,412 | 2 | null | 75,609,027 | 0 | null | I found that when I replaced the input_shape it works, anyway I tried this yesterday and it did not work so that was the reason why I insert the input_shape. It looks like TensorFlow trolling me all the time :))
`model_gender_2 = tf.keras.Sequential([tf.keras.layers.Dense(60), tf.keras.layers.Dense(30), tf.keras.layers... | null | CC BY-SA 4.0 | null | 2023-03-02T20:17:44.847 | 2023-03-02T20:17:44.847 | null | null | 21,314,094 | null |
75,620,413 | 1 | null | null | 0 | 12 | ```
import React from 'react';
import "rsuite/dist/rsuite.min.css";
import { useRef } from 'react';
import { Button, Popover, Whisper } from 'rsuite';
export default function App() {
const whisperRef = useRef(null);
const handleclick = () => {
whisperRef.current.open(5000);
};
return (
... | React Suite Tooltip Whisper methods | CC BY-SA 4.0 | null | 2023-03-02T20:17:54.957 | 2023-03-02T20:19:28.957 | 2023-03-02T20:19:28.957 | 18,515,183 | 18,515,183 | [
"reactjs",
"rsuite"
] |
75,620,414 | 1 | 75,620,584 | null | 0 | 24 | I have an numpy array which I want to to find index of values from it. Here is the code:
```
for i, memb_e in enumerate(memb_e):
if memb_e == 1:
x1 = e[i]
y1 = 1
print(x1)
for i, memb_e in enumerate(memb_e):
if memb_e == 0 :
x0 = e[i]
y0 = 0
if i+1 < len(memb_e) and memb... | Error while I want to get index of specific values from my numpy array in python | CC BY-SA 4.0 | null | 2023-03-02T20:18:09.907 | 2023-03-02T21:16:42.337 | null | null | 15,438,110 | [
"python",
"numpy",
"indexing",
"numpy-ndarray"
] |
75,620,417 | 2 | null | 75,593,067 | 0 | null | Consider this approach:
```
sealed class Collection<T>(val path: String)
object USERS : Collection<User>("users")
object ITEMS : Collection<Item>("item")
private val CACHE: HashMap<Collection<*>, HashMap<String, Any>>
fun <T> getItemFromCollection(id: String, collection: Collection<T>, onSuccess: (T) -> Unit) { ... ... | null | CC BY-SA 4.0 | null | 2023-03-02T20:18:23.253 | 2023-03-04T11:22:36.203 | 2023-03-04T11:22:36.203 | 9,204 | 9,204 | null |
75,620,419 | 1 | null | null | 0 | 11 | I need to include some GDK Functionality in a project I already have well underway.
This page describes exactly what I'm trying to do:
[https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/get-started-with-pc-dev/get-started-with-custom-engine/gc-get-started-with-custom-engine-pc](https://learn.microsoft.com/en-us/... | Integrating Microsoft Game Development Kit (GDK) with a Custom Engine | CC BY-SA 4.0 | null | 2023-03-02T20:18:27.973 | 2023-03-02T20:18:27.973 | null | null | 21,106,130 | [
"c++",
"windows",
"visual-c++",
"game-development"
] |
75,620,418 | 1 | 75,620,553 | null | 2 | 51 | ```
int function2(int n)
{
int i, j, k;
int sum = 0;
for (k = 1; k <= n; k += 1)
{
for (i = 1; i <= n; i *= 3)
{
j = i;
while (j > 1)
{
sum += 1;
j /= 3;
}
}
}
return sum;
}
```
I understa... | What is the time complexity of function2? | CC BY-SA 4.0 | null | 2023-03-02T20:18:26.880 | 2023-03-02T20:39:44.910 | null | null | 21,321,758 | [
"c++",
"algorithm",
"time-complexity",
"big-o"
] |
75,620,420 | 1 | null | null | 1 | 18 |
## Summary
What's the best way to transform some data in DDB tables and send that data to other teams for processing using AWS services?
## Details
Let's say I'm on the "customers" team, and I have a system where new customers can be created and the customer info is stored in DDB tables. This system has been arou... | How to give the same data set to multiple consumers in AWS? | CC BY-SA 4.0 | null | 2023-03-02T20:18:30.950 | 2023-03-02T21:07:45.387 | null | null | 4,767,057 | [
"amazon-web-services",
"architecture",
"amazon-sqs",
"amazon-sns",
"system-design"
] |
75,620,421 | 2 | null | 75,620,040 | 0 | null | I didn't manage to get this behaviour using control flow analysis. Though, you get the same result by using function overloads. This is a bit more verbose but gets the job done.
```
function getPropsForComponentKey(componentKey: ComponentKey.A): AProps
function getPropsForComponentKey(componentKey: ComponentKey.B): BPr... | null | CC BY-SA 4.0 | null | 2023-03-02T20:18:45.380 | 2023-03-02T20:18:45.380 | null | null | 3,089,208 | null |
75,620,398 | 1 | null | null | 0 | 19 | I am following a tutorial on Open CV and trying to rewrite the following code:
[https://github.com/learncodebygaming/opencv_tutorials/tree/master/005_real_time](https://github.com/learncodebygaming/opencv_tutorials/tree/master/005_real_time)
(specifically, the [windowcapture.py](https://github.com/learncodebygaming/ope... | Live window capture (screenshot) on macOS (Darwin) using Python | CC BY-SA 4.0 | null | 2023-03-02T20:15:28.500 | 2023-03-04T13:46:22.243 | 2023-03-04T13:46:22.243 | 2,602,877 | 14,649,706 | [
"python",
"numpy",
"core-graphics",
"apple-m1",
"darwin"
] |
75,620,423 | 2 | null | 69,327,425 | 0 | null | A pip install of pyhdf on a Windows OS also failed for me:
pip3 install pyhdf
I successfully installed pyhdf by doing the following:
1. Installing Anaconda 3
2. Starting Anaconda 3 using Run as Administrator
3. Doing an install using conda-forge as posted as an issue in the GitHub pyhdf project: conda install -c conda... | null | CC BY-SA 4.0 | null | 2023-03-02T20:18:51.347 | 2023-03-02T20:18:51.347 | null | null | 19,936,838 | null |
75,620,425 | 1 | null | null | -1 | 13 | Is it possible to connect a message route set as event to an azure function. I have only managed to connect to event hub compatible endpoint but not with a specific message route
I have set "EventHubName": "messages/events/valid-route" in function.json
| Connect Azure Iot Hub message route with Azure function Event Hub | CC BY-SA 4.0 | null | 2023-03-02T20:19:02.690 | 2023-03-02T20:19:02.690 | null | null | 13,979,563 | [
"python",
"azure-functions",
"azure-iot-hub"
] |
75,620,428 | 2 | null | 59,412,733 | 0 | null | [Snapshot of All Available Services](https://i.stack.imgur.com/DxGCR.png)
Well, I would like to add something to Mario's comment and subsequent answer. I am using Docker Desktop Kubernetes. In my case, the loadbalancer's external IP is not in pending state, rather same localhost got assigned with a different port. None... | null | CC BY-SA 4.0 | null | 2023-03-02T20:19:24.533 | 2023-03-02T20:19:24.533 | null | null | 8,844,467 | null |
75,620,429 | 2 | null | 75,618,597 | 0 | null | You can’t issue an `ALTER TABLE ... DROP COLUMN` statement to drop a column from a column-organized table.
If you need to drop a column, you’d need to create a new table without the new column and populate it from the existing table using an `INSERT INTO ... SELECT` statement.
| null | CC BY-SA 4.0 | null | 2023-03-02T20:19:32.783 | 2023-03-02T20:19:32.783 | null | null | 154,726 | null |
75,620,426 | 1 | 75,620,538 | null | 0 | 19 | I have a and table
```
users
____________
id | name
transactions
____________
id | user_id | amount
```
so users have many transactions
I want to calculate sum of users first transactions amount
for example we have two users Alice and Alison
Alica have two transactions first transaction amount is 10 second transact... | Append child's first row to parent relation in PGSQL | CC BY-SA 4.0 | null | 2023-03-02T20:19:13.980 | 2023-03-02T20:46:03.463 | 2023-03-02T20:46:03.463 | 330,315 | 10,284,531 | [
"sql",
"postgresql"
] |
75,620,430 | 2 | null | 75,620,298 | -1 | null | Assuming a Windows environment:
```
ctrl + space
```
will trigger suggestions. Suggestions triggered without preceding characters will include almost all available importable items in your project. When you pick the sendMessage from the other file it will actually automatically add the import to the top of the file.
[... | null | CC BY-SA 4.0 | null | 2023-03-02T20:19:46.207 | 2023-03-03T05:05:00.773 | 2023-03-03T05:05:00.773 | 4,421,370 | 4,421,370 | null |
75,620,431 | 2 | null | 75,619,644 | 1 | null | A little lack of context here, but it seems like the white vertical lines you observe actually come from the spaces between all the plotted gray `axvlines`.
> Maybe it is somehow connected to the low alpha value, since setting alpha to 1 removes these lines?
Setting the color to a lighter gray (e.g `color="lightgray"`)... | null | CC BY-SA 4.0 | null | 2023-03-02T20:20:05.060 | 2023-03-02T20:20:05.060 | null | null | 11,080,037 | null |
75,620,432 | 1 | null | null | -2 | 25 | In most programming languages a boolean value is either `true` or `false`. In HTML on the other hand, native booleans are often represented in the browser with an empty string if true. An example of this would be `<video autoplay="" loop="" />`.
I have a custom web component that uses HTML booleans, and I wonder how to... | How do you handle HTML booleans in TypeScript | CC BY-SA 4.0 | null | 2023-03-02T20:20:12.030 | 2023-03-02T21:31:15.187 | null | null | 11,089,569 | [
"typescript",
"boolean",
"server-side-rendering"
] |
75,620,434 | 2 | null | 75,615,685 | 1 | null | Although it was not clear in your description, it appears from the way you highlighted your expected results that you wish to cross join all ALERT values with all CUSTOMER/TXN pairs for each BENE.
This can be done by first splitting out the values into two views (eliminating possible duplicates) and then joining them b... | null | CC BY-SA 4.0 | null | 2023-03-02T20:20:16.137 | 2023-03-02T20:25:51.637 | 2023-03-02T20:25:51.637 | 12,637,193 | 12,637,193 | null |
75,620,435 | 1 | null | null | 0 | 13 | There is an issue with my code with a service that calls the backend API to retrieve values. The code is below.
```
async deleteAsync(id: string) {
this.confirmationService.confirm({
message: 'Are you sure you want to delete this record?',
header: 'Confirm',
icon: 'pi pi-exclamation-triangle',
accept: async ()... | Property does not exist on service | CC BY-SA 4.0 | null | 2023-03-02T20:20:20.077 | 2023-03-02T20:36:04.647 | 2023-03-02T20:36:04.647 | 21,188,452 | 21,188,452 | [
"angular",
"function",
"api",
"methods"
] |
75,620,438 | 2 | null | 75,619,442 | 0 | null | Resolution was a global respository config set somewhere, changed that rebooted and she's working!
[https://stackoverflow.com/questions/4092759/is-it-possible-to-change-the-location-of-packages-for-nuget#:~:text=Open%20%25AppData%25%5CNuGet%20folder,key%20and%20set%20new%20destination](https://stackoverflow.com/questio... | null | CC BY-SA 4.0 | null | 2023-03-02T20:20:36.277 | 2023-03-02T20:20:36.277 | null | null | 1,368,333 | null |
75,620,422 | 2 | null | 75,594,035 | 0 | null | Used Angular Renderer2 to dynamically add classes, attributes and properties. Note, Renderer2 does not handle [(ngModel)], disabled and (change) so the input element was statically sent to the directive, it was never processed by the directive. If [(ngModel)], disabled or (change) are processed by any Renderer2 functio... | null | CC BY-SA 4.0 | null | 2023-03-02T20:18:46.993 | 2023-03-03T18:15:01.837 | 2023-03-03T18:15:01.837 | 5,618,611 | 5,618,611 | null |
75,620,440 | 1 | null | null | 0 | 29 | I am trying to filter my data frame using a list of values using pyspark sql and the filter fails.
I am trying to understand if what I am trying is possible in the first place.
list = c['a-1','b-1','c-1','d-1']
df = spark.sql("select * from my_table WHERE Id IN list")
This doesn't work.
Is there a more efficient way to... | pyspark SQL WHERE IN filter | CC BY-SA 4.0 | null | 2023-03-02T20:20:38.713 | 2023-03-02T21:54:47.430 | null | null | 4,060,158 | [
"sql",
"list",
"pyspark",
"filter",
"subset"
] |
75,620,437 | 2 | null | 75,619,162 | 1 | null | This problem has a very trivial answer. Lets get the number of minutes since epoch (zero), divide/multiple by five to round down to nearest five minutes and add back minutes to epoch to get newly created time.
```
-- buck date time by 5 mins, sum by total count
select
dateadd(minute, datediff(minute, 0, ti... | null | CC BY-SA 4.0 | null | 2023-03-02T20:20:31.310 | 2023-03-02T20:20:31.310 | null | null | 2,577,687 | null |
75,620,439 | 1 | 75,621,196 | null | 2 | 40 | I have a scenario in which I need to marshal an object into XML. That object can be more than one type, so I created an interface that sets that object type to a generic T.
```
interface FileMarshaller<T> {
fun marshal(object: T): File
}
```
And I will have several implementations of this interface, one for each t... | Kotlin interface type parameter | CC BY-SA 4.0 | null | 2023-03-02T20:20:36.483 | 2023-03-02T22:09:17.560 | null | null | 8,286,276 | [
"kotlin",
"generics"
] |
75,620,433 | 2 | null | 7,293,008 | 0 | null | You can display the previous/current commit message in the commit message as a comment.
```
touch .git/hooks/prepare-commit-msg
chmod +x .git/hooks/prepare-commit-msg
$EDITOR .git/hooks/prepare-commit-msg
```
Content:
```
#!/bin/sh
COMMIT_MSG_FILE=$1
printf "# Previous commit message:\n" >> $COMMIT_MSG_FILE
printf "... | null | CC BY-SA 4.0 | null | 2023-03-02T20:20:14.543 | 2023-03-02T20:20:14.543 | null | null | 1,725,151 | null |
75,620,441 | 1 | null | null | 0 | 6 | Meta reviewed our app and resulted in them removing our access to the GraphAPI. We submitted a appeal with more information to resolve the issue, but it has been longer than their 48 hour SLA. Can someone from Meta help us or has anyone been able to get in touch with them with other methods. This is affecting our end c... | Meta Removed Access to GraphAPI, Appeal Review Been Longer Than 48 Hour SLA | CC BY-SA 4.0 | null | 2023-03-02T20:20:42.437 | 2023-03-02T20:20:42.437 | null | null | 19,883,185 | [
"facebook-graph-api"
] |
75,620,442 | 1 | null | null | -1 | 25 | The question was asked like this "Count the number of times each letter is repeating in the word MISSISSIPPI and store the count of each letter in a dictionary" and I used dict.get() method to get the count of each letter. I iterated the word with for loop and then I got stuck here
```
user_text='MISSISSIPPI'
dict={}
f... | Tried finding the count of each letter in a word and storing the count in dictionary | CC BY-SA 4.0 | null | 2023-03-02T20:20:51.883 | 2023-03-02T21:12:18.783 | null | null | 15,923,247 | [
"python",
"python-3.x",
"dictionary"
] |
75,620,445 | 1 | null | null | 0 | 10 | I want to rent a Cloud VM for developing and testing Python code associated with stock and currency trading. I need base storage because a lot of the files that I'm using are are single or low double digit GB level. I need memory "when I need it" (probably around 32 GB or so) and then I probably won't need it and wil... | Cloud VM Recommendation for Python Develpment | CC BY-SA 4.0 | null | 2023-03-02T20:21:29.853 | 2023-03-02T20:21:29.853 | null | null | 2,868,639 | [
"python-3.x",
"cloud",
"stock",
"forex"
] |
75,620,446 | 2 | null | 75,619,453 | 0 | null | From the way that you described it, I believe that you are looking for:
```
.container img {
width: 100%;
object-fit: scale-down;
max-width: 100%;
}
```
This will make the images responsive and fill the container for smaller sizes, but will not exceed 100% of their width for larger.
| null | CC BY-SA 4.0 | null | 2023-03-02T20:21:38.987 | 2023-03-02T20:21:38.987 | null | null | 2,119,629 | null |
75,620,436 | 1 | null | null | 0 | 23 | So, I created a simple CLI with Nodejs (and some accompanying packages like inquirer, boxen, etc), and it uses `dotenv` to manage the `.env` file. If I run the CLI from it's root directory, it works no problem (`node .`). However, when I install it globally (npm i -g .) so I can just run it in the terminal as the name ... | Created my own CLI with Node that uses .env, but can't find it when installed globally | CC BY-SA 4.0 | null | 2023-03-02T20:20:28.773 | 2023-03-04T00:29:24.117 | 2023-03-02T21:32:46.340 | 1,115,943 | 1,115,943 | [
"javascript",
"node.js",
"command-line-interface"
] |
75,620,450 | 1 | null | null | -1 | 27 | I have a singleton class, and I've been wondering if it would be easier, instead of writing `Singleton.Instance.Method` (where Instance is a property that gets the singleton instance), to just make it so Method is static, so that I can just write `Singleton.Method`, and it's inferred that any fields that Method uses or... | C# Should methods on a singleton be static? | CC BY-SA 4.0 | null | 2023-03-02T20:21:54.573 | 2023-03-02T20:42:46.417 | 2023-03-02T20:42:46.417 | 19,338,425 | 19,338,425 | [
"c#",
"singleton"
] |
75,620,447 | 2 | null | 75,547,668 | 0 | null | Hope this helps you.
```
class StaticArray<T> {
private var data: [T]
private let capacity: Int
init(capacity: Int) {
self.capacity = capacity
data = Array<T>(repeating: nil, count: capacity)
}
subscript(index: Int) -> T {
get {
return data[index]
... | null | CC BY-SA 4.0 | null | 2023-03-02T20:21:39.363 | 2023-03-02T20:21:39.363 | null | null | 10,927,750 | null |
75,620,443 | 1 | null | null | 0 | 46 | I can't open a file that have `;` and `:` as separators, also each row have different number of columns.
I try using `pd.read_csv(PATH, sep = '"\s+|;|:"', engine='python')` and only the part with the `;` gets separated but not the part with `:`.
A sample of the text:
```
S;540356274820466;0;NS;2.077867e+01;5:1.23552:4.... | Read File with multiple separators on pandas | CC BY-SA 4.0 | null | 2023-03-02T20:21:09.397 | 2023-03-02T21:22:53.523 | 2023-03-02T20:24:00.627 | 3,689,450 | 21,321,770 | [
"python",
"pandas",
"regex"
] |
75,620,453 | 1 | null | null | 0 | 14 | I'm coding simple pinescript indicators, and in this case I want to combine an ATR and an RSI, both with overlay=false (meaning, they're not over the chart, but in a separate oscillator window).
The issue is that due to the nature of ATR (can go from 0 to thousands, depending on the asset) and RSI (0 to 100), the RSI m... | On Tradingview, how can I see 2 oscilators on the same window, but different scales? | CC BY-SA 4.0 | null | 2023-03-02T20:22:20.180 | 2023-03-03T12:20:42.300 | null | null | 21,039,600 | [
"trading",
"tradingview-api",
"indicator"
] |
75,620,449 | 1 | null | null | 0 | 26 | I have a directed graph and there are a list of nodes and transition matrix
```
['start', 'instagram', 'purchase', 'no purchase', 'google', 'facebook', 'email']
array([[0. , 0.66666667, 0. , 0. , 0.33333333,
0. , 0. ],
[0. , 0. , 0.2 , 0.6 , 0.2 ... | Python: how to calculate the probability of reaching some graph node | CC BY-SA 4.0 | null | 2023-03-02T20:21:49.377 | 2023-03-02T20:21:49.377 | null | null | 6,840,039 | [
"python",
"graph",
"networkx",
"markov-chains"
] |
75,620,456 | 1 | 75,621,168 | null | 1 | 23 | I am encountering an issue with accessing process.env variables in my Node.js application's model files when running "current file" in IntelliJ. Strangely, I am able to access these variables without any issues when running "current file" on app.js.
I have tried setting the environment variables in my system's environm... | Unable to Access process.env Variables When Running "Current File" in IntelliJ for Model Files | CC BY-SA 4.0 | null | 2023-03-02T20:22:43.577 | 2023-03-02T22:00:35.637 | 2023-03-02T21:33:10.493 | 15,108,579 | 15,108,579 | [
"node.js",
"npm",
"intellij-idea",
"environment"
] |
75,620,404 | 1 | null | null | 0 | 47 | The problem I'm trying to solve is I need to be able to count the number of cancelled visits between the current visit the last time a cancelled visit occurred. The rows will have different Event Types between visits. I need to identify on each Visit record, how many events happened since the last Visit. Here is the... | How to calculate number of rows since last event | CC BY-SA 4.0 | null | 2023-03-02T20:17:10.093 | 2023-03-04T14:08:59.330 | 2023-03-02T22:41:07.930 | 13,658,399 | 10,078,251 | [
"sql"
] |
75,620,458 | 1 | null | null | 1 | 17 | I made the following form in Django.
```
class SearchTimeSlotsForm(forms.Form):
available_from = forms.TimeField(widget=TimeInput())
available_till = forms.TimeField(widget=TimeInput())
```
In the above form the user can either fill both the fields or may not fill any field but he cannot fill only one field.
H... | How to make a form field required only if another field is filled and vice versa in Django? | CC BY-SA 4.0 | null | 2023-03-02T20:22:51.317 | 2023-03-02T21:33:44.413 | null | null | 20,443,528 | [
"django",
"django-forms"
] |
75,620,457 | 1 | null | null | 0 | 27 | I created a correlation of several variables in R.
```
df <- read_excel("~/R/Track/Cumulative_2023.xlsx")
Rel <- cor(df[, c('Speed', 'Axis', 'Horz', 'Ext', 'Zone', 'Rel')], use="complete.obs")
```
I am using the code:
```
W <- write.xlsx(Rel, file = "~/R/Track/correlation.xlsx", sheetName = "Sheet1", colNames = TRUE, ... | Exporting a variable to Excel in R | CC BY-SA 4.0 | null | 2023-03-02T20:22:47.680 | 2023-03-02T22:29:13.863 | 2023-03-02T22:29:13.863 | 19,597,019 | 19,597,019 | [
"r",
"writexl"
] |
75,620,451 | 1 | null | null | 0 | 14 | Why `Auth::guard($request->type)->attempt(['email' => $request->email, 'password' => $request->password])` returns false?
In login Controller
```
public function login(Request $request)
{
if (Auth::guard($request->type)->attempt(['email' => $request->email, 'password' => $request->password])) {
... | Problem with auth attempt with dynamic guard | CC BY-SA 4.0 | null | 2023-03-02T20:21:55.130 | 2023-03-02T22:11:31.850 | 2023-03-02T22:11:31.850 | 9,764,507 | 20,669,651 | [
"laravel",
"authentication",
"web",
"laravel-8"
] |
75,620,463 | 1 | null | null | 0 | 36 | I'm coding in Java using IntelliJ IDEA 2022 on Windows 10. I run each program from IntelliJ's terminal using the following command:
`cmd /c --% java -cp <Location of .jar file of library I use> FileName.java`
This worked fine for running programs that only contained methods from that library. However, now that I want t... | Java not recognizing public classes in same project file | CC BY-SA 4.0 | null | 2023-03-02T20:23:40.733 | 2023-03-02T21:55:54.177 | null | null | 19,841,418 | [
"java",
"intellij-idea"
] |
75,620,455 | 1 | null | null | 2 | 18 | I am familiar with several approaches to how this problem can be solved, but probably I miss something really useful:
I have an API entity:
```
data class SomeApiEntity(
val id: Long? = null,
@field:NotBlank
val name: String,
val someIntData: Long,
)
```
And Spring JPA Entity:
```
@Entity(name = "som... | Best practices for Entity to DTO conversion in Kotlin + Spring Boot | CC BY-SA 4.0 | null | 2023-03-02T20:22:42.370 | 2023-03-02T21:36:10.737 | null | null | 13,184,890 | [
"spring",
"rest",
"kotlin",
"jpa",
"mapping"
] |
75,620,452 | 2 | null | 75,615,138 | 0 | null | > ```
mawk 'BEGIN { FS = "\t"
ORS = RS RS
RS = ""
} gsub(FS "[A-Z][0-9]" FS, "&\3") gsub("..\3", FS)'
^
intentional string-concat
```
```
[ moleculetype ]
; Name nrexcl
AL7 3
[ atoms ]
; nr type resn... | null | CC BY-SA 4.0 | null | 2023-03-02T20:22:06.740 | 2023-03-02T20:40:38.300 | 2023-03-02T20:40:38.300 | 14,672,114 | 14,672,114 | null |
75,620,462 | 1 | null | null | -2 | 41 | In the below code, why does the condition always evaluate to False even if the Dictionary has the values? This code is part of an existing script that I need to enhance. I have added some additional print statements for illustration purposes.
```
dict_keys={'--Id': 'Id', '--Name': 'Name'}
dict_info = {'Id': 'Identifi... | Under what condition would the Python Condition using Dictionary evaluates to True? | CC BY-SA 4.0 | null | 2023-03-02T20:23:32.790 | 2023-03-02T21:48:14.873 | 2023-03-02T21:48:14.873 | 8,933,837 | 8,933,837 | [
"python",
"python-3.x"
] |
75,620,454 | 1 | null | null | 0 | 15 | I have to call an api which is only accessible via bunch of proxy server(set of servers are deployed and anyone can be active at give point of time ) . I am using following code to set the proxy to rest template and then to pass it to OauthCLient manager,
```
@Bean
@Qualifier("restTemplate")
RestTemplate restTe... | Spring Resttemplate with multiple Proxy host | CC BY-SA 4.0 | null | 2023-03-02T20:22:36.340 | 2023-03-02T20:22:36.340 | null | null | 12,195,379 | [
"spring",
"spring-boot",
"spring-mvc",
"spring-security-oauth2"
] |
75,620,464 | 2 | null | 75,606,497 | 0 | null | Loading images while the game is running is likely going to be slower than loading them all at once first. One of the fastest ways to do it is to have all images and animations on one single sprite sheet, the loading of that one sprite sheet then dictates when the game is ready to run, and you blit from that sprite she... | null | CC BY-SA 4.0 | null | 2023-03-02T20:23:41.693 | 2023-03-02T20:23:41.693 | null | null | 17,432,841 | null |
75,620,459 | 1 | null | null | 0 | 36 | I'm trying to randomly iterate over a Dataframe. The file I'm reading from is a CSV file:
pyquiz.csv
```
variables,statements,True or False
f1, f_state1, F
f2, true_state1,T
f3, f_state2, F
f20, f_state20, F
```
Dataframe
```
df = pd.DataFrame({
'variables': ['f1', 'f2', 'f3', 'f20'],
'statements': ['f_state1'... | Random iteration over a dataframe | CC BY-SA 4.0 | null | 2023-03-02T20:22:54.087 | 2023-03-03T00:01:24.100 | 2023-03-03T00:01:24.100 | 13,664,137 | 18,956,922 | [
"python",
"pandas",
"csv",
"random",
"iteration"
] |
75,620,465 | 1 | null | null | -1 | 11 | im using phprunner 10.4, so want to perform the bellow mentioned activity. need community help to slove that.
I have created for to enter service details like the following. it containing tree step , step1 record the service entry part, [enter image description here](https://i.stack.imgur.com/FvgI3.png)
step 2 containi... | passing field value between multi step flow using PHPRunner 10.4 | CC BY-SA 4.0 | null | 2023-03-02T20:23:42.007 | 2023-03-02T20:23:42.007 | null | null | 7,378,761 | [
"php",
"phprunner"
] |
75,620,471 | 2 | null | 75,459,072 | 0 | null | You're missing `auth: true` in your configuration, e.g.:
```
vuefire: {
auth: true,
config: ...
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:25:11.143 | 2023-03-02T20:25:11.143 | null | null | 401,537 | null |
75,620,466 | 1 | null | null | 0 | 9 | I have a solution that contains a WPF app and Class Library both targeting .NET 6. Both have the platform target set to `AnyCPU`. After building the solution, I noticed a `runtimes` folder was created inside of Debug/Release. Inside are 26 subfolders containing different runtime targets. This app will only be used on 3... | How to prevent unused runtime folders from being created | CC BY-SA 4.0 | null | 2023-03-02T20:24:04.037 | 2023-03-02T20:24:04.037 | null | null | 2,480,598 | [
".net-6.0",
"visual-studio-2022",
"csproj"
] |
75,620,473 | 2 | null | 75,616,874 | 0 | null | calling mytestrange.ClearFormats before setting the formatting fixed the issue with the formatting not displaying in the range.
| null | CC BY-SA 4.0 | null | 2023-03-02T20:25:26.683 | 2023-03-02T20:25:26.683 | null | null | 19,839,348 | null |
75,620,474 | 2 | null | 72,505,821 | 0 | null | I got it working by installing minicoda for m1 arm at [https://docs.conda.io/en/latest/miniconda.html](https://docs.conda.io/en/latest/miniconda.html) (M1 64 bit)
| null | CC BY-SA 4.0 | null | 2023-03-02T20:25:27.910 | 2023-03-02T20:25:27.910 | null | null | 7,862,918 | null |
75,620,472 | 1 | null | null | 1 | 28 | When my reactjs page hits mobile size screen hamburger icon shows but i am not getting how to add/open panel when use click on hamburger icon.
```
<div className={styles["navbar-responsive-menu"]}>
<Button theme="transparent">
<HambergerMenu size="32" color="var(--white-100)"/>
</Button>
</div>
``... | Cant able to add hamburger menu to Reactjs code | CC BY-SA 4.0 | null | 2023-03-02T20:25:21.847 | 2023-03-03T02:59:02.600 | 2023-03-03T02:59:02.600 | 2,407,460 | 15,446,388 | [
"javascript",
"reactjs",
"responsive",
"nav"
] |
75,620,475 | 2 | null | 75,620,442 | 2 | null | the get() method would check if the key exists in the dict or not. If it does, it returns the value stored. If it doesn't exist, it would return the second argument as the default value.
In this case, the default is 0 (character never occurred before).
Then, it adds 1 to either and stores it in the dict
| null | CC BY-SA 4.0 | null | 2023-03-02T20:25:35.370 | 2023-03-02T20:25:35.370 | null | null | 11,196,494 | null |
75,620,469 | 1 | null | null | -1 | 32 | I have fixed the code in a cpp file for a GPS system but when I go to run a parser test on Jenkins, I receive this error:
> tests/nmea/nmea-parser-tests.cpp(28): [1;31;49merror: in "IsSupportedFormat/SupportedFormats": check isSupportedFormat("WPL") has failed[0;39;49m
Here is the code for the section of the error:
```... | Any idea why my parser test is returning this error? | CC BY-SA 4.0 | null | 2023-03-02T20:24:58.507 | 2023-03-03T05:47:14.530 | 2023-03-03T05:47:14.530 | 4,420,967 | 18,705,456 | [
"c++",
"parsing",
"jenkins",
"boost"
] |
75,620,480 | 2 | null | 13,176,173 | 0 | null | Flush `stdout/stderr` instead:
```
sys.stdout.flush()
sys.stderr.flush()
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:26:13.863 | 2023-03-02T20:26:13.863 | null | null | 3,834,415 | null |
75,620,477 | 2 | null | 46,729,092 | 0 | null | Unfortunately, pyinstaller copies the pyside script into the EXE itself, basically statically linking it.
You can [exclude python modules](https://pyinstaller.org/en/stable/man/pyinstaller.html?highlight=--exclude-module#what-to-bundle-where-to-search) from automatically being copied by pyinstaller with `--exclude-modu... | null | CC BY-SA 4.0 | null | 2023-03-02T20:26:03.627 | 2023-03-02T20:26:03.627 | null | null | 771,768 | null |
75,620,482 | 1 | null | null | 1 | 15 | I have a large list of data in my local json file. I present this data with the widget structure found below. However, as the list grows on the iOS device, scrolling becomes more difficult. Do you have any solution suggestions for this?
```
class A extends StatefulWidget {
const A({super.key});
@override
State<A... | List scrolling problem with too many items on iOS devices | CC BY-SA 4.0 | null | 2023-03-02T20:26:18.477 | 2023-03-02T20:28:08.973 | 2023-03-02T20:28:08.973 | 1,264,804 | 12,860,846 | [
"ios",
"flutter",
"flutter-listview"
] |
75,620,483 | 1 | null | null | 0 | 25 | It is said that certain RISC-V processors implement macro-op fusion. For instance, the sequence
```
add x3, x4, x5
ld x4, 0(x3)
```
would be decoded by the processor as one single micro-instruction
```
ld x3, x4+x5
```
I would like to know which cores implement such things, and which fusions are done.
| are there any RISC-V processors that implement macro-op fusion, and if so, which ones? | CC BY-SA 4.0 | null | 2023-03-02T20:26:34.480 | 2023-03-02T20:26:34.480 | null | null | 2,207,776 | [
"riscv"
] |
75,620,478 | 1 | null | null | 0 | 14 | I'm using the fullcalendar library v4 inside a LWC. Sometimes when I reload the page where the lwc with the calendar is allocated, a console error appears. Hope someone could assist with this.
I've tried a solution found is this thread [Fullcalendar - Cannot read property 'DayGrid' of undefined](https://stackoverflow.c... | DayGrid error when try to get rendered the fullcalendar library | CC BY-SA 4.0 | null | 2023-03-02T20:26:11.823 | 2023-03-03T09:28:50.147 | 2023-03-03T09:28:50.147 | 21,196,522 | 21,196,522 | [
"javascript",
"fullcalendar",
"fullcalendar-4",
"lwc"
] |
75,620,484 | 2 | null | 28,064,634 | 0 | null | Suppose we have dataset of 10 numbers from 1 to 10, and now if we want to split it into training dataset and testing dataset and size of testing dataset is 20% of the whole dataset.
Training dataset has 8 and testing dataset has 2 data samples. So we ensure that a random process will output the same result every time, ... | null | CC BY-SA 4.0 | null | 2023-03-02T20:26:54.410 | 2023-03-02T20:26:54.410 | null | null | 11,354,897 | null |
75,620,486 | 2 | null | 75,619,256 | 2 | null | This does indeed seem to be a bug in the Grid component. I've created a bug ticket about it: [https://github.com/vaadin/web-components/issues/5637](https://github.com/vaadin/web-components/issues/5637)
In the meantime, you can override the resize handle's width with css e.g. like this:
```
vaadin-grid::part(resize-hand... | null | CC BY-SA 4.0 | null | 2023-03-02T20:27:01.990 | 2023-03-02T20:27:01.990 | null | null | 298,103 | null |
75,620,468 | 2 | null | 75,549,541 | 0 | null | This form of filter expression should work for `Parameters`, `ResultSelector`, `InputPath`, or `OutputPath`. See an example below using [Pass states](https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-pass-state.html) and [Parameters](https://docs.aws.amazon.com/step-functions/latest/dg/input-o... | null | CC BY-SA 4.0 | null | 2023-03-02T20:24:34.810 | 2023-03-02T20:24:34.810 | null | null | 20,586,135 | null |
75,620,487 | 2 | null | 75,620,278 | 1 | null | See this example. It should be noted that the will not know about global variables if these appear as arguments. But otherwise variables set inside and outside of function are the same.
```
function tt(arg, l1, l2) {
print "Inside tt"
print "Testing globals: l1=",l1, "l2=",l2
# this is not private..
m=9... | null | CC BY-SA 4.0 | null | 2023-03-02T20:27:02.907 | 2023-03-02T20:35:13.933 | 2023-03-02T20:35:13.933 | 1,818,059 | 1,818,059 | null |
75,620,489 | 1 | null | null | -2 | 26 | I've created a simple REST API with spring boot 3 (kotlin + java) using keycloak, but I'm stuck into logout. Since keycloak adapters are deprecated, I have no idea how to implement this in Spring Security 6.
[githubproject](https://github.com/kaioenzo/spring-boot-keycloak)
I´ve tried create a custom logout handler as B... | Logout keycloak + spring boot 3 | CC BY-SA 4.0 | null | 2023-03-02T20:27:20.493 | 2023-03-03T16:19:11.533 | 2023-03-03T16:19:11.533 | 21,189,510 | 21,189,510 | [
"spring-boot",
"spring-security",
"oauth-2.0",
"keycloak"
] |
75,620,485 | 1 | null | null | 0 | 10 | columns:
```
brand,channel_name,id,eventname,campaignid,campaignname,personid,city,country,region,timezone,personemail,subject,emaildomain,eventid,actionid,addexclusion,ip,isautoresponder,code,bouncedeliverytype,rowimportdate,datetime
```
The row it fails on:
```
"STRING","STRING WITH SPACES - GBP","3Zn8Qw7Paxt","Unsu... | Redshift CSV Copy fails even with appropriate paramaters | CC BY-SA 4.0 | null | 2023-03-02T20:26:57.327 | 2023-03-02T21:42:47.403 | 2023-03-02T21:42:47.403 | 174,777 | 1,403,870 | [
"python",
"amazon-web-services",
"csv",
"amazon-redshift"
] |
75,620,491 | 2 | null | 59,186,548 | 0 | null | `h2o` added support for exporting parquet files as of [version 3.38.0.1](https://github.com/h2oai/h2o-3/blob/master/Changes.md#zygmund-33801---9192022).
You need to set the `format` argument to be `"parquet"`. Note that `h2o.exportFile` will ignore the `parts` argument if you specify `"parquet"`. Instead, it chooses th... | null | CC BY-SA 4.0 | null | 2023-03-02T20:27:24.737 | 2023-03-02T20:27:24.737 | null | null | 9,244,371 | null |
75,620,376 | 1 | null | null | 1 | 15 |
# Explanation of the Issue
I have a Ruby on Rails application that I have been able to Dockerize. It works fine on my computer. When I push it to Azure I get the following error:
`Puma caught this error: Failed to open TCP connection to localhost:35729 (Cannot assign requested address - connect(2) for "localhost" po... | Getting a ‘Failed to open TCP connection to localhost:35729’ error after deploying a RoR Docker image to Azure | CC BY-SA 4.0 | null | 2023-03-02T20:11:53.163 | 2023-03-02T20:11:53.163 | null | null | 14,128,563 | [
"ruby-on-rails",
"azure",
"docker"
] |
75,620,494 | 1 | null | null | -1 | 48 | I'm currently trying to learn python as my first language.
I'm wondering what's the difference between:
`Import OtherModule`
and:
`From OtherModule Import *`
Doesn't both of these rows include everything that's inside of OtherModule?
I've tried doing both but can't see any difference?
| Python Import-function | CC BY-SA 4.0 | null | 2023-03-02T20:28:13.680 | 2023-03-02T21:41:13.370 | null | null | 16,844,855 | [
"python"
] |
75,620,488 | 1 | null | null | 0 | 5 | Here's the problem I'm trying to solve: I have a neural network that outputs images of a given size; these images are then passed through a function which is not differentiable in TF (suppose it's completely outside the scope of the program), and this output is compared to a label to get a loss. This function returns a... | Backpropagate custom gradients in Tensorflow through a neural network | CC BY-SA 4.0 | null | 2023-03-02T20:27:20.500 | 2023-03-02T20:27:20.500 | null | null | 3,708,176 | [
"neural-network",
"tensorflow2.0",
"backpropagation"
] |