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,626,699 | 1 | null | null | 0 | 23 | I am currently trying to load a `.bmp` image file with Deno and then convert the data of the image into a black/white Uint8Array.
I load the image using:
```
const imageFile = await Deno.readFile('./path/to/my/image.bmp');
```
This returns me a Uint8Array, but this is not only the image itself, it contains also other ... | Deno convert bmp image file data into a Uint8Array | CC BY-SA 4.0 | null | 2023-03-03T11:47:35.500 | 2023-03-03T11:47:35.500 | null | null | 18,533,305 | [
"file",
"bitmap",
"deno",
"uint8array",
"image-file"
] |
75,626,705 | 1 | null | null | 0 | 27 | StatusCode: 405, ReasonPhrase: 'Method Not Allowed' while deleting roles or anyother thing from Skoruba in my API but Post get successful why?
I tried to use http client SendAsync , PostAsync and DeleteAsync functions to delete roles but failes with 405
error
| StatusCode: 405, ReasonPhrase: 'Method Not Allowed' while deleting roles or anyother thing from Skrouba in my API but Post get successful why? | CC BY-SA 4.0 | null | 2023-03-03T11:47:43.237 | 2023-03-03T14:36:21.937 | 2023-03-03T14:36:21.937 | 11,068,029 | 11,068,029 | [
"c#",
".net",
"microservices",
"identityserver4"
] |
75,626,707 | 1 | null | null | 0 | 19 | my application had worked with the scope /auth/drive a long time, the users have uploaded files with this scope and now if I change the scope to auth/drive.file cannot listing the files uploaded. The app works perfect but the old files gone.
Can I make something for this? Change some file properties , or import fil... | Change the scope, and the files gone | CC BY-SA 4.0 | null | 2023-03-03T11:47:58.790 | 2023-03-03T11:47:58.790 | null | null | 2,842,722 | [
"google-drive-api"
] |
75,626,708 | 1 | null | null | 0 | 13 | I'm trying to learn mysql2 ruby gem usage and I have encoutered this problem:
> no implicit conversion of Array into Hash (TypeError)
When executing the INSERT query:
```
client.query("CREATE TABLE IF NOT EXISTS test(Name TEXT, Value INT)")
client.query("INSERT INTO test VALUES (?,?)", ["abc",3])
```
I'm coming from s... | Mysql2 Ruby: No implicit conversion Array/Hash - INSERT statement | CC BY-SA 4.0 | null | 2023-03-03T11:48:00.750 | 2023-03-03T12:26:15.973 | null | null | 2,318,727 | [
"mysql",
"ruby",
"mysql2"
] |
75,626,710 | 2 | null | 73,242,748 | 0 | null | I have to restart my IDE, then go to tools->GitHub copilot:
1- restart IDE
2- got to "tools" -> "GitHub copilot" -> "login to GitHub"
3- it will show you a popup with code, click on copy and open to add and trust your device.
[](https://i.stack.imgur.com/MTpZV.png)
| null | CC BY-SA 4.0 | null | 2023-03-03T11:48:11.877 | 2023-03-03T11:48:11.877 | null | null | 5,312,371 | null |
75,626,713 | 2 | null | 70,563,733 | 0 | null | run `npm start` instead of `ionic serve`.
Worked for me !
| null | CC BY-SA 4.0 | null | 2023-03-03T11:48:15.850 | 2023-03-03T11:48:15.850 | null | null | 12,867,462 | null |
75,626,711 | 1 | null | null | -1 | 21 | I tried:
```
---
- hosts: localhost
tasks:
- name: check python version
shell: python --version 2>&1 | awk '{print $2}'
register: python_version_output
ignore_errors: true
- name: fail if python less than 2.7 is installed
fail:
msg: python greater than 2.7 is not installed
... | write a playbook to check if >python 2.7 is installed or not if less than python 2.7 is installed fail the play | CC BY-SA 4.0 | null | 2023-03-03T11:48:12.130 | 2023-03-03T11:49:49.140 | 2023-03-03T11:49:49.140 | 2,123,530 | 21,325,617 | [
"python",
"ansible"
] |
75,626,712 | 1 | null | null | 0 | 37 | I have this code and it displays text that doesn't break to a new line when the word is too long, meaning the word continues on the next line.
```
<div class="qodef-m-deon" style="overflow-wrap: break-word;">
<div class="qodef-m-background"></div>
<div class="qodef-m-text-holder">
<span class="qodef-m-t... | "overflow-wrap: break-word;" not doing anything | CC BY-SA 4.0 | null | 2023-03-03T11:48:14.090 | 2023-03-03T15:13:11.457 | null | null | 13,709,246 | [
"html",
"css",
"wordpress"
] |
75,626,714 | 1 | null | null | -1 | 10 | I am new to Salesforce.
Can anyone help is it possible to create Jenkins pipeline through Salesforce CLI.
Thank you.
| Jenkins pipeline creation through Salesforce CLI | CC BY-SA 4.0 | null | 2023-03-03T11:48:24.830 | 2023-03-03T11:48:24.830 | null | null | 15,358,838 | [
"jenkins",
"jenkins-pipeline",
"salesforce",
"salesforce-cli"
] |
75,626,706 | 2 | null | 71,326,837 | 0 | null | [enter image description here](https://i.stack.imgur.com/avnW4.png)
This behaviour is seen when you are using two material UI data-picker components simultaneous in a single page.There are two ways of solving this
one is overriding the css
other is by setting the default value of error={false}
1.Overriding the css
```... | null | CC BY-SA 4.0 | null | 2023-03-03T11:47:52.610 | 2023-03-03T11:47:52.610 | null | null | 18,064,514 | null |
75,626,704 | 1 | null | null | 0 | 9 | i am running a jar file and it is throwing error
```
java.lang.NoSuchMethodError: 'com.mongodb.LoggerSettings com.mongodb.MongoClientSettings.getLoggerSettings()'
at com.mongodb.reactivestreams.client.MongoClients.createCluster(MongoClients.java:150)
at com.mongodb.reactivestreams.client.MongoClients.createMong... | java.lang.NoSuchMethodError: 'com.mongodb.LoggerSettings com.mongodb.MongoClientSettings.getLoggerSettings()' | CC BY-SA 4.0 | null | 2023-03-03T11:47:42.757 | 2023-03-03T16:20:14.297 | 2023-03-03T16:20:14.297 | 984,422 | 21,325,603 | [
"mongodb"
] |
75,626,717 | 1 | null | null | 0 | 7 | Right now, it's possible to temporarily disable\enable `eslint` in a specific file by adding a rule:
/*eslint-disable */ or /*eslint-enable */ - I'd like to set an error if any of these comments are being used.
| Turning off an opportunity to temporarily disable/enable ESLint in specific files | CC BY-SA 4.0 | null | 2023-03-03T11:49:19.690 | 2023-03-03T11:49:19.690 | null | null | 16,805,151 | [
"webpack",
"eslint"
] |
75,626,716 | 2 | null | 75,624,308 | 0 | null | The answer from Rok is correct, but also in the past 2 days OpenAI has released the ChatGPT model and endpoint.
Ref: [https://platform.openai.com/docs/api-reference/chat/create?lang=python](https://platform.openai.com/docs/api-reference/chat/create?lang=python)
In the Chat endpoint your code would look like this:
```
i... | null | CC BY-SA 4.0 | null | 2023-03-03T11:49:02.833 | 2023-03-03T11:49:02.833 | null | null | 8,949,058 | null |
75,626,718 | 2 | null | 75,626,088 | 0 | null | Yes, a script can be set as a parameter of a function in unity c#. All you need to do is first of all the script's name, followed by what you want to call it. Like this :
```
public void Attack(EnemyAnimator enemyAnimator)
{
_animator.SetTrigger("Attack");
Collider2D[] hitEnemies =
Physics2D.OverlapCircle... | null | CC BY-SA 4.0 | null | 2023-03-03T11:49:29.787 | 2023-03-03T11:49:29.787 | null | null | 20,703,883 | null |
75,626,709 | 1 | null | null | 0 | 21 | I am new to Uber Cadence framework and currently working on a project workflow management project using Cadence. I am seeing strange behavior all the workflows are having a timer for ~270hrs as part of the flow and I am not sure how that number is calculated and where that timer is coming from.
And the other issue is, ... | Uber Cadence - Timer started | CC BY-SA 4.0 | null | 2023-03-03T11:48:07.910 | 2023-03-04T18:07:28.310 | null | null | 2,415,278 | [
"workflow",
"temporal-workflow",
"uber-cadence"
] |
75,626,719 | 2 | null | 75,626,276 | 4 | null | Use the `constraint_index` column of the `*_indexes` views. Using the DDL above:
```
select index_name, constraint_index
from user_indexes
where table_name like 'TAB_';
INDEX_NAME CONSTRAINT_INDEX
SYS_C0044774 YES
SYS_C0044775 YES
IX1_TAB1 NO ... | null | CC BY-SA 4.0 | null | 2023-03-03T11:49:30.863 | 2023-03-03T11:49:30.863 | null | null | 1,485,955 | null |
75,626,721 | 1 | null | null | 0 | 10 | I use DynamicDialogConfig
```
let ref = this.dialogService.open(MyComponent, {
header: 'My header',
width: '80%',
contentStyle: {"overflow": "auto"},
style: {"min-height": "80%"},
styleClass: "myClass",
autoZIndex: true,
closable: true,
data: {
data: data
}
}... | Is it possible to use passed styleClass in DynamicDialogConfig in css-selectors? | CC BY-SA 4.0 | null | 2023-03-03T11:50:00.610 | 2023-03-03T12:00:56.450 | 2023-03-03T12:00:56.450 | 12,142,726 | 12,142,726 | [
"css",
"angular",
"primeng"
] |
75,626,715 | 1 | 75,628,087 | null | 0 | 9 | I am teaching myself how to use the ipywidgets package by doing analysis on the total covid deaths for each country and want to make an interactive plot with a dropdown menu for Country choice.
My code works almost perfectly. The only thing is that when I chose a new country, the initial plot does not clear and I am le... | Initial plot not clearing when using dropdown menu to choose new data | CC BY-SA 4.0 | null | 2023-03-03T11:48:44.830 | 2023-03-03T14:05:10.507 | null | null | 18,737,111 | [
"python",
"matplotlib",
"ipywidgets"
] |
75,626,724 | 1 | 75,626,800 | null | 0 | 14 | I am using the rows() command to count the number of rows in a table but how would I count the number of rows in a table with a specific value e.g. the number of rows where the column Fruit contained the text Apple?
| is there an excel formula to count rows in a table with a specific value? | CC BY-SA 4.0 | null | 2023-03-03T11:50:13.583 | 2023-03-03T12:00:54.267 | null | null | 2,369,812 | [
"excel-formula"
] |
75,626,722 | 2 | null | 75,605,717 | 0 | null | We have fixed this issue by running in the following order:
1. fresh clone of the repository git clone <url_to_the_repo>
2. checkout branch with a bad file git checkout feature/bad_file
3. run git-filter-repo on that branch. We had to run it with --force flag. The git-filter-repo script should be outside of your repo... | null | CC BY-SA 4.0 | null | 2023-03-03T11:50:03.710 | 2023-03-03T11:50:03.710 | null | null | 8,618,703 | null |
75,626,726 | 2 | null | 75,625,721 | 0 | null | It seems that the issue is with the [checked] attribute on the Female radio button. It is set to !gender, but there is no variable or property named gender defined in the component's code.
To set the default selection for the Female radio option, you can modify the code like below:
```
<ng-template #genderTemplate>
<... | null | CC BY-SA 4.0 | null | 2023-03-03T11:50:25.457 | 2023-03-03T11:50:25.457 | null | null | 7,967,972 | null |
75,626,720 | 1 | null | null | 0 | 17 | I am working with the [Packed bubble](https://www.highcharts.com/docs/chart-and-series-types/packed-bubble) chart in Highcharts and have been trying to create an effect where the individual bubbles grow and shrink plus random forces are applied so that the graph is constantly moving.
I have managed to create the base g... | Highcharts Packed Bubble Automatically Pulsate & Move | CC BY-SA 4.0 | null | 2023-03-03T11:49:32.753 | 2023-03-03T13:09:00.157 | null | null | 9,389,353 | [
"javascript",
"highcharts"
] |
75,626,727 | 2 | null | 75,626,631 | 1 | null | I'd personally rely on the github cli from which it's very easy to add a comment to a PR:
```
gh pr comment 1234 --body-file file.txt
```
In this case I would redirect the output of the coverage to a file and then pass the path to that file to `gh pr comment`.
make sure you declare:
```
permissions:
issues: write
`... | null | CC BY-SA 4.0 | null | 2023-03-03T11:50:26.527 | 2023-03-03T11:50:26.527 | null | null | 736,079 | null |
75,626,728 | 1 | null | null | -1 | 28 | this table is about bank transactions
i want to build vba code that return last transaction done
last transaction done is the last row in the table meet the required criteria
the criterias are as following
input name = name in the col D
input IBAN = IBAN in col I
for example
Inputs are
```
name = ALI
IBAN = 100100202
`... | build vba code to reflect last transactions done | CC BY-SA 4.0 | null | 2023-03-03T11:50:37.483 | 2023-03-04T08:22:43.867 | 2023-03-04T08:22:43.867 | 21,167,544 | 21,167,544 | [
"arrays",
"excel",
"vba"
] |
75,626,690 | 1 | null | null | 0 | 54 | I have two stm32 projects (one with stm32f103rb and the other with stm32f103re). Both projects are built using cmake and make based on [stm32-cmake](https://github.com/prtzl/stm32-cmake) template and also use cubeMX HAL libraries. For both projects I use [this](https://github.com/mpaland/printf) printf library and over... | arm-none-eabi-gcc "is not implemented and will always fail" messages | CC BY-SA 4.0 | null | 2023-03-03T11:46:29.420 | 2023-03-04T08:53:33.097 | 2023-03-04T08:53:33.097 | 9,439,683 | 9,439,683 | [
"c",
"cmake",
"stm32",
"newlib",
"arm-none-eabi-gcc"
] |
75,626,733 | 2 | null | 75,620,841 | 0 | null | You asked:
> I have an synthax error with $file2/[not(@key=$key1)]
Well, yes, that isn't a valid XPath expression. I can't offer an immediate correction, because I've no idea what it was intended to do. And when I look at the rest of your stylesheet, it's full of similar errors that suggest you haven't mastered the bas... | null | CC BY-SA 4.0 | null | 2023-03-03T11:51:42.423 | 2023-03-03T11:51:42.423 | null | null | 415,448 | null |
75,626,732 | 1 | null | null | 0 | 22 | Added 10 rows in an excel, import that file and tried to check the worksheet.Rows.Count() and it returns 10. Which is absolutely correct.
But I deleted last 4 rows and again tried to import and still worksheet.Rows.Count() returns 10. What should I do, so that it will return 6 rows?
Need a quick help on this.
[](https:... | Excel Import Bug after deleting some rows | CC BY-SA 4.0 | null | 2023-03-03T11:51:29.007 | 2023-03-03T12:15:00.450 | 2023-03-03T12:15:00.450 | 19,395,582 | 19,395,582 | [
"c#",
"excel",
"import",
"asp.net-core-webapi",
"syncfusion"
] |
75,626,725 | 1 | null | null | -2 | 56 | I am creating a page with a `position: fixed;` footer, which will need to expand on scroll, but take at least 100% of the page. I wanted to make my main wrapper take the whole space without ever being behind the footer. So created a `min-height` with `calc(100vh - 120px)`. Here is the code:
```
* {
margin: 0;
paddi... | Calc broken with more 100vh | CC BY-SA 4.0 | null | 2023-03-03T11:50:14.997 | 2023-03-04T16:04:25.100 | 2023-03-04T16:04:25.100 | 13,376,511 | 21,188,051 | [
"html",
"css",
"frontend",
"viewport"
] |
75,626,676 | 1 | null | null | 0 | 23 | I am trying to iterate through this array and display them in a view
Here are my codes that calculates customers electricity bills :
```
public function facturation()
{
$data = array();
$this->db->select('*');
$this->db->from('client');
$query = $this->db->get();
foreach ($q... | how to generate multiple electricity bills from mysql database | CC BY-SA 4.0 | null | 2023-03-03T11:45:24.013 | 2023-03-03T11:47:21.500 | 2023-03-03T11:47:21.500 | 4,361,999 | 21,305,111 | [
"php",
"codeigniter"
] |
75,626,735 | 1 | null | null | 1 | 6 | I am using custom image sizes crop during uploading to WordPress. As you can see below, there are two categories (A and B are reflected in the names below). They are different in ratio. Some images will be used only within category A, and others within B. Every time I upload any image, all sizes are being created, even... | Wordpress: choose which sizes will be generated while uploading the image | CC BY-SA 4.0 | null | 2023-03-03T11:51:45.963 | 2023-03-03T11:51:45.963 | null | null | 1,511,689 | [
"wordpress"
] |
75,626,739 | 2 | null | 75,081,733 | 1 | null | Your login appears to be subscribed to isAuthenticated and because according to your Stackblitz you dont check for the state of isAuthenticated and just route to your Homepage on change. So you
- - -
| null | CC BY-SA 4.0 | null | 2023-03-03T11:52:11.050 | 2023-03-03T11:52:11.050 | null | null | 21,193,702 | null |
75,626,740 | 1 | null | null | 0 | 25 | I am coding for scientific reasons. I started from a code yet done. It Is a simulation that use python and cpp. I dont understand very well the syntax of pybind.
I Need to have 2 variable like Vector cpp and numpyarray python
that must be sycronized ( 2 Vector like 1 vector)
I dont understand how to code and i dont fin... | Pybind interconnection cpp and python | CC BY-SA 4.0 | null | 2023-03-03T11:52:15.700 | 2023-03-03T11:52:15.700 | null | null | 21,325,613 | [
"python",
"c++",
"simulation",
"pybind11"
] |
75,626,742 | 2 | null | 75,626,520 | 0 | null | You can try this way -
```
obj: dict = {
"a": 2, "b": 3, "c": 12, "d": "abc", "e": 12, "f": "jh4jer", "g": np.array(2,3)}
# pass full object to function
fun1(obj)
# pass only required variables to fun2
fun2_obj = {"d": obj["d"], "e": obj["e"], "f": obj["f"], "g": obj["g"]}
fun2(fun2_obj)
# pass only required va... | null | CC BY-SA 4.0 | null | 2023-03-03T11:52:50.717 | 2023-03-03T11:52:50.717 | null | null | 9,711,215 | null |
75,626,729 | 1 | null | null | 0 | 17 | I'm creating a test database and I'm getting some troubles trying to persist a model to database.
The model itself contains several foreign keys as follows:
```
class Issue(db.Model, TimestampMixin):
__tablename__ = 'issue'
id = db.Column(UUIDType(binary=False), primary_key=True, default=uuid.uuid4)
recor... | Cannot insert Model using FactoryBoy factory in SQLAlchemy | CC BY-SA 4.0 | null | 2023-03-03T11:50:42.150 | 2023-03-03T12:21:31.110 | 2023-03-03T12:21:31.110 | 5,143,187 | 5,143,187 | [
"python",
"pytest",
"flask-sqlalchemy",
"factory-boy"
] |
75,626,734 | 2 | null | 75,626,422 | 1 | null | `plt.plot()` is expecting a single color for the `mfc` parameter.
Using `marker="o"`, it looks like you're trying to create a scatter plot. If it's the case, you should use `plt.scatter`. You can now pass multiple colors to the `c=` parameter (one for each scatter point).
```
color_labels=df['cod_postal'].unique()
... | null | CC BY-SA 4.0 | null | 2023-03-03T11:51:45.987 | 2023-03-03T12:09:49.380 | 2023-03-03T12:09:49.380 | 11,080,037 | 11,080,037 | null |
75,626,746 | 2 | null | 75,448,460 | 0 | null | Got answered in [Apple dev forum](https://developer.apple.com/forums/thread/725769). It's a bug that will be fixed in macOS 13.3
| null | CC BY-SA 4.0 | null | 2023-03-03T11:53:31.083 | 2023-03-03T11:53:31.083 | null | null | 4,490,960 | null |
75,626,723 | 2 | null | 75,625,837 | 2 | null | The main problem I see is:
```
# You are trying to index via strings of playernames instead of integers:
player_names <- c("player 1", "player 2")
current_player <- player_names[1]
...
player_scores[current_player] <- player_scores[current_player] + coin_result
```
This leads to `player_scores` looking like this:
```
... | null | CC BY-SA 4.0 | null | 2023-03-03T11:50:10.040 | 2023-03-03T12:25:26.003 | 2023-03-03T12:25:26.003 | 12,440,276 | 12,440,276 | null |
75,626,744 | 2 | null | 70,781,899 | 0 | null | Mapping to Duration from C# Timespan string In a Flutter/Dart app
If you have a C# based API/server which provides data transfer objects with TimeSpan properties, reading the data in a Dart/Flutter app on the client side can be a challenge because Dart does not currently offer a Duration parse() function. The TimeSpan... | null | CC BY-SA 4.0 | null | 2023-03-03T11:53:10.347 | 2023-03-03T11:53:10.347 | null | null | 21,324,830 | null |
75,626,731 | 1 | null | null | 0 | 9 | I need to use UIViewPicker and I try to implement it with Turbo Native Modules.
I write native module at first time and I'm not sure in my code. Please, help me
My swift file
```
import Foundation
import TurboModule
import UIKit
@objc(RTNPickerView)
class RTNPickerView: NSObject, RCTBridgeModule, UIPickerViewDelegate... | React Native:How to use Turbo Native Modules and Swift | CC BY-SA 4.0 | null | 2023-03-03T11:51:27.110 | 2023-03-03T11:51:27.110 | null | null | 21,325,365 | [
"react-native",
"react-native-turbomodule"
] |
75,626,745 | 2 | null | 75,626,572 | 0 | null | I perform my release tests with information in the database like this:
```
public function test_country_update_api_json(): void
{
/** @var Country $country */
$country = Country::factory()->create();
/** @var User $user */
$user = User::factory()->create();
$response = $this
->actingAs($use... | null | CC BY-SA 4.0 | null | 2023-03-03T11:53:28.020 | 2023-03-03T11:53:28.020 | null | null | 21,250,316 | null |
75,626,749 | 2 | null | 75,621,643 | 0 | null | This will return 1 to 4 weeks for every month, starting weeks at monday.
```
=SWITCH(MOD(ISOWEEKNUM(A1), 4), 0, 4, MOD(ISOWEEKNUM(A1), 4))
```
| null | CC BY-SA 4.0 | null | 2023-03-03T11:53:41.830 | 2023-03-03T11:53:41.830 | null | null | 21,301,563 | null |
75,626,736 | 1 | null | null | 0 | 20 | I am trying to combine several different files and plot them all together in R. I created and exported a shapefile in QGIS with several different polygons. If I read and plot this file using this code:
```
#Reading in shapefile
shp <- readOGR( dsn =".", layer = "NRW_dominant_species")
species <- st_read('NRW_dominant_... | What is the best way to plot point data over shapefile in R? | CC BY-SA 4.0 | null | 2023-03-03T11:51:48.117 | 2023-03-03T11:51:48.117 | null | null | 20,165,603 | [
"r",
"mapping",
"qgis"
] |
75,626,751 | 2 | null | 75,620,122 | 0 | null | Try this:
```
$object = @{'a'=1; 'b'=2}
$x = [pscustomobject]$object
'Members'
$x | gm
' '
'Content'
$x
' '
'Properties'
$x.a
$x.b
' '
'CSV format'
$x | ConvertTo-csv
' '
'Json format'
$x | ConvertTo-Json
```
This will convert a and b into Noteproperty names, with the corresponding values.
| null | CC BY-SA 4.0 | null | 2023-03-03T11:54:11.183 | 2023-03-03T15:09:17.287 | 2023-03-03T15:09:17.287 | 19,937 | 19,937 | null |
75,626,752 | 2 | null | 75,621,083 | 0 | null | Thank you for the useful links, but unfortunately they don't solve my specific problem with the GET API Gateway integration of a Step Function...
| null | CC BY-SA 4.0 | null | 2023-03-03T11:54:11.380 | 2023-03-03T11:54:11.380 | null | null | 7,513,401 | null |
75,626,753 | 1 | null | null | -2 | 15 | Can I create a war file with Quarkus to be deployed to a tomcat server? If not, why not?
Can I create a war file with Quarkus to be deployed to a tomcat server? If not, why not?
| Can I create a war file with Quarkus to be deployed to a tomcat server? If not, why not? | CC BY-SA 4.0 | null | 2023-03-03T11:54:11.927 | 2023-03-03T11:54:11.927 | null | null | 17,600,391 | [
"tomcat",
"deployment",
"quarkus"
] |
75,626,755 | 1 | null | null | -4 | 16 | I have installed Kafka on my windows machine, and now I want to secure it by basic authentication how can I achieve this
| How to setup basic Authentication for my local Apache Kafka in Windows | CC BY-SA 4.0 | null | 2023-03-03T11:54:34.280 | 2023-03-03T17:09:36.123 | null | null | 13,658,662 | [
"apache-kafka"
] |
75,626,756 | 2 | null | 75,626,576 | 0 | null | Use the below command and it will download and extract the tar files for linux users from source in the working directory
```
wget https://ftp.postgresql.org/pub/source/v11.18/postgresql-11.18.tar.gz && tar -xvf postgresql-11.18.tar.gz && rm -f postgresql-11.18.tar.gz
```
| null | CC BY-SA 4.0 | null | 2023-03-03T11:54:34.607 | 2023-03-03T11:54:34.607 | null | null | 20,962,361 | null |
75,626,750 | 1 | 75,626,866 | null | 2 | 42 | I have this txt file
```
[23/10/10 14:37:44:527 EST] DEBUG
<?xml version="1.1" encoding="UTF-8" ?>
<Request session="lkjh" id=12321>
<type>Old</type>
</Request>
[23/10/10 15:37:44:527 EST] DEBUG
<?xml version="1.1" encoding="UTF-8" ?>
<Request session="lkjhab" id=432>
<type>New</type>
</Request>
[23/10/10 16:37:44:52... | How to extract adjacent strings from txt file with multiple conditions using awk? | CC BY-SA 4.0 | null | 2023-03-03T11:54:06.657 | 2023-03-03T23:11:57.667 | 2023-03-03T12:59:07.837 | 10,248,678 | 19,465,979 | [
"awk"
] |
75,626,754 | 1 | null | null | 1 | 14 | Here my current dependency tree:
```
[INFO] +- org.springframework:spring-core:jar:6.0.5:compile
[INFO] | \- org.springframework:spring-jcl:jar:6.0.5:compile
[INFO] +- org.springframework:spring-context:jar:6.0.5:compile
[INFO] | +- org.springframework:spring-aop:jar:6.0.5:compile
[INFO] | +- org.springframework:spr... | can be spring-jcl libreary excluded? | CC BY-SA 4.0 | null | 2023-03-03T11:54:16.230 | 2023-03-03T12:06:51.693 | null | null | 3,227,319 | [
"spring"
] |
75,626,747 | 1 | null | null | 1 | 13 | I got error "Error: Cannot have two HTML5 backends at the same time." when I'm trying use `SortableTree` from [link](https://www.npmjs.com/package/@nosferatu500/react-sortable-tree) in NextJS
This Error
[](https://i.stack.imgur.com/bUHTH.png)
and This is my code.
```
import { UniType } from "@/types/unitType";
import ... | Error: Cannot have two HTML5 backends at the same time. When I use "SortableTree" | CC BY-SA 4.0 | null | 2023-03-03T11:53:32.723 | 2023-03-03T11:53:32.723 | null | null | 16,972,779 | [
"next.js",
"frontend",
"react-dnd",
"react-sortable-tree"
] |
75,626,760 | 2 | null | 75,625,595 | 0 | null | The following complete code-sample based on what you wrote works as expected in the latest MiniZinc
```
int: maxOn = 7;
array[0..64] of var int: schedule;
constraint forall(i in 0..length(schedule)-1 - maxOn) (
0 in schedule[i..i+maxOn]
);
```
| null | CC BY-SA 4.0 | null | 2023-03-03T11:55:31.213 | 2023-03-03T11:55:31.213 | null | null | 33,965 | null |
75,626,763 | 2 | null | 38,171,169 | 1 | null | you can use python-vlc
```
pip install python-vlc
import vlc as v
mp3 = v.MediaPlayer("file_path_of_mp3")
mp3.play()
```
| null | CC BY-SA 4.0 | null | 2023-03-03T11:55:56.823 | 2023-03-03T11:55:56.823 | null | null | 17,965,151 | null |
75,626,759 | 2 | null | 75,626,697 | 0 | null | The problem is that the list `l` that you are passing to `multiples` has strings inside instead of int which causes the code to call `%` on a string instead of modulo. You don't get a straightforward error as `%` acts a format string like `"% is my name" % name`. To fix it you can convert the `input()` to int as so: `l... | null | CC BY-SA 4.0 | null | 2023-03-03T11:55:21.703 | 2023-03-03T11:55:21.703 | null | null | 7,930,187 | null |
75,626,761 | 2 | null | 75,558,174 | 1 | null | You can use the type to allow any optional additional FormControls in the FormGroup, while ensuring that it has the required FormControl:
```
myMethod(form: FormGroup<{id: FormControl} & Partial<FormGroup<any>>>) {
// do something
}
```
This defines a type that requires the FormControl, and also allows any additi... | null | CC BY-SA 4.0 | null | 2023-03-03T11:55:32.737 | 2023-03-03T11:55:32.737 | null | null | 7,967,972 | null |
75,626,758 | 2 | null | 74,978,459 | 0 | null | When you are doing this kind of coding keep the number of classes properly according to your data.
model = tf.keras.models.Sequential([
tf.keras.layers.Conv2D(64, (2,2), activation=tf.nn.relu,input_shape=(60, 40, 3)),
tf.keras.layers.BatchNormalization(),
```
tf.keras.layers.Conv2D(64, (2,2), activation=tf.nn.relu,padd... | null | CC BY-SA 4.0 | null | 2023-03-03T11:54:55.650 | 2023-03-03T11:54:55.650 | null | null | 21,325,692 | null |
75,626,748 | 2 | null | 75,626,656 | 4 | null | You can use [POP DIRECTIONAL FORMATTING](https://unicode.org/reports/tr9/#Terminating_Explicit_Directional_Embeddings_and_Overrides), which is where you prepend the string with `\u202A` like so:
```
let s = "10-م-20";
let parts = s.split("-");
let new_parts = ["\u202A" + parts[0], "\u202A" + "م", "\u202A" + parts[2]];
... | null | CC BY-SA 4.0 | null | 2023-03-03T11:53:35.243 | 2023-03-03T12:10:16.210 | 2023-03-03T12:10:16.210 | 995,579 | 995,579 | null |
75,626,757 | 2 | null | 75,626,139 | 0 | null | I'm the author of DryWetMIDI. You're talking about playback, but showing `midiFile.ProcessNotes`. So what do you want to achieve?
If you want to transpose notes use `NoteCallback` property. You can see example of usage in the documentation – [https://melanchall.github.io/drywetmidi/api/Melanchall.DryWetMidi.Multimedia... | null | CC BY-SA 4.0 | null | 2023-03-03T11:54:52.227 | 2023-03-03T11:54:52.227 | null | null | 2,975,589 | null |
75,626,764 | 2 | null | 67,607,363 | 0 | null | This occurs if you are driving sqlpackage.exe using a batch file (as you might do when attempting to extract a DB with validation=False so you can actually work on it) and the account password contains a % character.
I haven't tested exhaustively and other special characters may cause issues with powershell etc.
| null | CC BY-SA 4.0 | null | 2023-03-03T11:56:01.980 | 2023-03-03T11:56:01.980 | null | null | 21,320,641 | null |
75,626,771 | 1 | null | null | -1 | 12 | How to store the datetime in ISO format as a string in SharePoint list using logic apps. Eg: If my date is "2023-03-01T10:20:30Z" or "2023-03-01T10:20:30+01:00", the create item block in logic app is converting the datetime string to "03/01/2023 10:20:30" or "03/01/2023 01:20:30".
Tried in Logic Apps. I want to store i... | Datetime format automatically changed by Create Item sharepoint block in Logic Apps | CC BY-SA 4.0 | null | 2023-03-03T11:56:57.307 | 2023-03-03T11:56:57.307 | null | null | 5,223,357 | [
"azure",
"sharepoint-online",
"azure-logic-apps",
"power-automate"
] |
75,626,770 | 1 | null | null | -2 | 22 | I am trying to make my player character's direction change when you press the right key. However this doesn't work if you hold it.
I have tried setting up multiple variables and other types of input in order to make this work but whenever the user holds the a or d key the player just spins
```
def run(self):
... | I want to flip the players x direction only once | CC BY-SA 4.0 | null | 2023-03-03T11:56:39.960 | 2023-03-03T11:56:39.960 | null | null | 21,100,304 | [
"python",
"pygame"
] |
75,626,767 | 1 | null | null | 1 | 16 | I have a json config file for validating a form. It's generated from a base file. It's sent to the frontend for client side validation and imported in the backend for server side validation so that the validation matches.
My ideal file structure/files would be
```
|
|-dist
|-validation.js
|-generated_files
|-valida... | Import a json file in typescript without building it | CC BY-SA 4.0 | null | 2023-03-03T11:56:21.737 | 2023-03-03T11:56:21.737 | null | null | 5,618,967 | [
"json",
"typescript"
] |
75,626,766 | 1 | null | null | 0 | 45 | I am working on a script to automatically pull code changes in a series of Git repositories, which are stored in a folder structure which mirrors the repo they are stored in. The goal is to iterate through the folders, then for each one I will run some git CLI commands. Similar to [this post](https://stackoverflow.com/... | CMD batch - execute statements inside for loop | CC BY-SA 4.0 | null | 2023-03-03T11:56:18.337 | 2023-03-04T09:01:51.717 | 2023-03-04T09:01:51.717 | 1,522,092 | 1,522,092 | [
"windows",
"for-loop",
"batch-file"
] |
75,626,775 | 2 | null | 75,626,574 | 0 | null | Lambda functions can indeed connect to EFS, but you must:
- [Configure a Lambda Function to access resources in a VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html)-
| null | CC BY-SA 4.0 | null | 2023-03-03T11:57:12.537 | 2023-03-03T11:57:12.537 | null | null | 21,250,520 | null |
75,626,772 | 2 | null | 75,626,655 | 1 | null | Firstly, the input you provided has no sentences like, "A cat looking insomniac" or "A cat looking sad" but your output includes those sentences. So, not sure what is your correct data.
Second, if I got your question correctly then you want to create an array of moods and group the `images` and `alts` of that particula... | null | CC BY-SA 4.0 | null | 2023-03-03T11:57:04.637 | 2023-03-03T12:11:27.453 | 2023-03-03T12:11:27.453 | 11,834,856 | 11,834,856 | null |
75,626,762 | 1 | null | null | 1 | 30 | Consider following project structure that uses nested modules:
```
$ tree
.
├── a
│ ├── b
│ │ ├── c
│ │ │ └── __init__.py
│ │ └── __init__.py
│ └── __init__.py
└── test.py
3 directories, 4 files
```
Content of `test.py` file:
```
from a.b.c import foo
print(foo())
```
Content of `a/b/c/__init__.py... | Resolve Python linting errors for dynamically loaded modules | CC BY-SA 4.0 | null | 2023-03-03T11:55:38.967 | 2023-03-03T14:20:33.710 | 2023-03-03T14:20:33.710 | 11,138,259 | 10,850,646 | [
"python",
"python-import",
"pylint"
] |
75,626,778 | 1 | null | null | 1 | 10 | I want to call below endpoint using custom policy REST API call technical profile
https://.b2clogin.com/.onmicrosoft.com/B2C_1A_SIGNUP_SIGNIN/oauth2/v2.0/token
This api requires client id and client secret to be passed as form parameters. With hardcoded values I'm able to make api call. However I want to store these in... | Azure AD B2C Custom policy : How to store client id and client secret securely and use in REST api | CC BY-SA 4.0 | null | 2023-03-03T11:57:24.273 | 2023-03-03T11:57:24.273 | null | null | 2,523,797 | [
"azure-ad-b2c",
"azure-ad-b2c-custom-policy"
] |
75,626,741 | 2 | null | 73,800,192 | 0 | null | You can use [SelectorGadget](https://serpapi.com/blog/13-ways-to-scrape-any-data-from-any-website/#SelectorGadgetChromeExtension) Chrome extension to easily get CSS selectors by clicking on the desired element in your browser ().
To collect information from all pages you can use [non-token pagination](https://python.pl... | null | CC BY-SA 4.0 | null | 2023-03-03T11:52:32.713 | 2023-03-03T11:52:32.713 | null | null | 19,573,033 | null |
75,626,777 | 2 | null | 75,626,130 | 1 | null | You have 3 bad lines in your file where the separator is not `','` but `\t` (lines 12657, 12658, 12659):
```
nt-12657 which location has the east-west game been played at the least? csv/203-csv/636.csv Oakland, CA|San Antonio, TX
nt-12658 the most matches were in what year? csv/204-csv/962.csv 2011-12
nt-12659 ... | null | CC BY-SA 4.0 | null | 2023-03-03T11:57:17.750 | 2023-03-03T11:57:17.750 | null | null | 15,239,951 | null |
75,626,776 | 1 | null | null | 1 | 17 | I have an API-application which logs information to sharepoint. In order to connect to sharepoint i use a token. The token expires after 12 to 24 Hours. So i need to update the token when needed.
I tried to store the token in a static variable in my Sharepoint Class. When the token expires i request a new one and store... | How does an Azure web app handle static variables? | CC BY-SA 4.0 | null | 2023-03-03T11:57:16.150 | 2023-03-03T11:57:16.150 | null | null | 20,069,802 | [
"c#",
"sharepoint",
"azure-web-app-service",
".net-6.0"
] |
75,626,779 | 1 | null | null | 0 | 31 | I'm new in coding.
I have some ip_v4 addresses in a sql table and I want to add +1 to every address that is already in my table. Every available address should be added to an array.
The purpose is that I want to autocomplete the users input with available ip addresses that are not in my table.
Something like: $row['ip_... | Add +1 to values from sql table and check if new value is also in sql table | CC BY-SA 4.0 | null | 2023-03-03T11:57:33.023 | 2023-03-03T13:16:22.437 | 2023-03-03T12:06:33.593 | 20,298,312 | 20,298,312 | [
"php",
"sql",
"arrays"
] |
75,626,784 | 2 | null | 3,586,158 | 0 | null | These are the ways to empty an array in JavaScript
1. arr = [];
2. arr.splice(0, arr.length);
3. arr.length = 0;
| null | CC BY-SA 4.0 | null | 2023-03-03T11:58:05.767 | 2023-03-03T11:58:05.767 | null | null | 12,397,749 | null |
75,626,773 | 1 | null | null | 1 | 24 | I want to make an automation for the test check when I push into main branches
I've created this github workflow
```
name: Run tests
on:
push:
branches:
- master
- develop
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup ... | laravel 10 CI/CD test fails with SQLSTATE[HY000] [2002] No such file or directory | CC BY-SA 4.0 | null | 2023-03-03T11:57:09.120 | 2023-03-03T18:33:18.617 | 2023-03-03T18:33:18.617 | 1,998,801 | 18,558,679 | [
"laravel",
"phpunit",
"github-actions",
"cicd",
"laravel-10"
] |
75,626,774 | 1 | null | null | 2 | 29 | In my Elasticsearch index I have docs where some have the same values.
In order to fix them, I have to find them, so I'm using an aggregation query with `min_doc_count=2`. The problem is that I manage to run it only with one key and not with a couple of keys. So in this way it works:
```
GET /my_index/_search
{
"s... | Elasticsearch Multi-term aggregations to retrieve duplicates | CC BY-SA 4.0 | null | 2023-03-03T11:57:11.717 | 2023-03-03T13:04:33.863 | null | null | 12,569,908 | [
"elasticsearch",
"aggregation",
"elasticsearch-aggregation",
"opensearch",
"elasticsearch-indices"
] |
75,626,781 | 1 | 75,626,838 | null | 1 | 34 | I'm compiling and trying to link together a couple of libraries, one issue that seems to arise is that a call to openmp in Fortran, like for example.
```
!$ CALL omp_set_num_threads(foo)
```
ends up looking for a symbol
```
> nm dmumpsmex.mexa64 | grep omp_set_num
U omp_set_num_threads_8_@@OMP_1.0
... | What is the "_8" postfix that is appended when linking openmp library fortran calls? | CC BY-SA 4.0 | null | 2023-03-03T11:57:56.547 | 2023-03-03T14:08:34.727 | null | null | 16,815,055 | [
"linker",
"fortran",
"openmp",
"gfortran"
] |
75,626,787 | 2 | null | 55,769,038 | 0 | null | you need to change the version from 1.0.0 to 1.0.1
| null | CC BY-SA 4.0 | null | 2023-03-03T11:58:25.933 | 2023-03-03T11:58:25.933 | null | null | 4,847,208 | null |
75,626,788 | 1 | null | null | -4 | 55 | Once upon time I saw this kind code:
```
if(condition){
some code
};
```
Why in the end of code stay ";"?
How it impact?
Why it not a some error syntax?
| Why we use ";" after if expression? | CC BY-SA 4.0 | null | 2023-03-03T11:58:57.323 | 2023-03-03T12:02:04.517 | null | null | 13,326,324 | [
"c#"
] |
75,626,782 | 2 | null | 75,617,285 | 0 | null |
The dependency I was using was incompatible with some versions. After some research, I found a dependency that can hide a model attribute in Swagger-UI but doesn't interrupt any other flows (i.e: Mapping via jolt file). In your :
```
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-jaxrs2</ar... | null | CC BY-SA 4.0 | null | 2023-03-03T11:57:58.090 | 2023-03-03T11:57:58.090 | null | null | 13,989,935 | null |
75,626,789 | 2 | null | 71,347,024 | 0 | null | I came from Google looking for
> Provider "registry.terraform.io/hashicorp/aws" requires explicit configuration.
This is how it's fixed: either you add this line to your `main.tf`:
```
provider "aws" {
region = "eu-central-1"
}
```
or you define an environment variable:
```
AWS_REGION=eu-central-1
```
| null | CC BY-SA 4.0 | null | 2023-03-03T11:59:10.910 | 2023-03-03T11:59:10.910 | null | null | 134,904 | null |
75,626,786 | 1 | null | null | 1 | 14 | I am trying to create a secret which needs to get created only if it is not existing, or else assign the existing ones when i do `helm upgrade` . I tried the below code
```
apiVersion: v1
kind: Secret
metadata:
name: "{{.Release.Namespace}}-mongodb-secret"
type: Opaque
data:
{{- $secretObj := (lookup "v1" "Secret... | Create secret only if not exists or else use the existing one - Helm | CC BY-SA 4.0 | null | 2023-03-03T11:58:25.490 | 2023-03-03T11:58:25.490 | null | null | 6,499,252 | [
"kubernetes-helm",
"helm3"
] |
75,626,768 | 2 | null | 70,060,862 | 0 | null | BeautifulSoup has nothing to do with converting price as it only extracts price from HTML when you extract certain bits of HTML with CSS selectors.
You can change the price only by changing the eBay domain to some other one, you can also get prices from several domains at once:
```
# united states, hong kong, spain
dom... | null | CC BY-SA 4.0 | null | 2023-03-03T11:56:23.143 | 2023-03-03T11:56:23.143 | null | null | 19,573,033 | null |
75,626,791 | 2 | null | 75,584,177 | 2 | null | It is a issue.
try to install the latest hotfix version:
```
npm i scrypt-ts@beta
```
after that, you can do this:
```
let tokenid: FixedArray<ByteString,1000> = fill(toByteString(""), 1000);
```
| null | CC BY-SA 4.0 | null | 2023-03-03T11:59:28.263 | 2023-03-03T11:59:28.263 | null | null | 5,152,366 | null |
75,626,785 | 1 | null | null | 1 | 9 | We're developing the app for Android, but we expect it to work in ChromeOS too. And it does work, except one of our latest features brings false negatives.
All `KeyguardManager` methods return `false`. For example [https://developer.android.com/reference/android/app/KeyguardManager#isDeviceSecure()or](https://developer... | KeyguardManager, BiometricManager from Android API in ChromeOS | CC BY-SA 4.0 | null | 2023-03-03T11:58:07.197 | 2023-03-03T11:58:07.197 | null | null | 4,142,087 | [
"android",
"google-chrome-os"
] |
75,626,793 | 1 | null | null | -2 | 9 | I want redirect subdomain `www.abc.example.com` to `abc.example.com`
I tried by adding rules in ".htaccess" file but it is not working.
```
RewriteCond %{HTTP_HOST} ^www\.([^.]+\.mydomain\.com)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
```
| Redirect Sub domain from www to non-www url | CC BY-SA 4.0 | null | 2023-03-03T11:59:57.813 | 2023-03-03T14:53:01.060 | 2023-03-03T14:53:01.060 | 1,248,114 | 19,505,861 | [
".htaccess"
] |
75,626,795 | 1 | null | null | 0 | 34 | For my homework, I need to write a recursive function without any conditional statements, only logical operators and I don't have any idea how to write cond using only logical operators. Can someone help?
For reference I wrote this code for my function using if and cond:
```
(define (is-preferred? pref-list x y)
(if ... | How can cond from Racket be written using only logcal operators? | CC BY-SA 4.0 | null | 2023-03-03T12:00:13.813 | 2023-03-03T13:08:57.647 | 2023-03-03T12:02:25.920 | 21,325,305 | 21,325,305 | [
"racket"
] |
75,626,797 | 2 | null | 42,563,757 | 0 | null | As suggested by others this could happen when you've a firewall with SSL proxy on your system. A quick fix in this case would be to change the conda config to ignore SSL verification by:
```
conda config --set ssl_verify false
```
But doing this exposes you to potential vulnerabilities, hence it is recommended to run ... | null | CC BY-SA 4.0 | null | 2023-03-03T12:00:40.867 | 2023-03-03T12:00:40.867 | null | null | 9,420,717 | null |
75,626,792 | 2 | null | 75,626,239 | 0 | null | Maybe you've created the wrong model.
Try this model and follow this website to create a model. [https://app.quicktype.io/](https://app.quicktype.io/)
```
// MARK: - GETprojects
struct GETprojects: Codable {
let projectGetResult: Bool?
let projectGetProjects: [ProjectGetProject]?
}
// MARK: - ProjectGetProject... | null | CC BY-SA 4.0 | null | 2023-03-03T11:59:44.903 | 2023-03-03T11:59:44.903 | null | null | 12,278,098 | null |
75,626,794 | 2 | null | 58,397,903 | 0 | null | For scraping Google Shopping you can use third party API like [Google Shopping API](https://serpapi.com/google-shopping-api) from SerpApi (paid API with a free plan that handles blocks and parsing on their backend).
Check code in the [online IDE](https://replit.com/@denisskopa/scrape-google-shopping-serpapi#main.py).
`... | null | CC BY-SA 4.0 | null | 2023-03-03T11:59:58.180 | 2023-03-03T11:59:58.180 | null | null | 19,573,033 | null |
75,626,798 | 1 | 75,627,468 | null | 1 | 27 | I have been using below formula which calulcates the Leaves status from the specific range of dates these dates are comes with TEXT or Numeric values and my formula is calculating the results wrong.
I have tried with different formulas like LEN(SUBSTITUTE to count the Line Breaks but nothing is working. I have attached... | Count the TEXT and Numeric Values form specific Range with Line Break | CC BY-SA 4.0 | null | 2023-03-03T12:00:44.263 | 2023-03-03T13:08:09.127 | null | null | 16,968,735 | [
"google-sheets",
"google-sheets-formula"
] |
75,626,801 | 1 | null | null | -1 | 4 | In visual SLAM, we want to use a target detection algorithm based on depth learning to eliminate the feature points on dynamic objects, so as to make the SLAM system more robust.
Based on what you know, give some opinions and suggestions
| At present, in visual SLAM, which target detection algorithm is better for removing dynamic object feature points | CC BY-SA 4.0 | null | 2023-03-03T12:00:57.293 | 2023-03-03T12:00:57.293 | null | null | 20,620,670 | [
"deep-learning",
"object-detection",
"slam"
] |
75,626,780 | 1 | null | null | 1 | 21 | I have created an MVC application that is supposed to join two tables from a Database using LINQ; when the application is run there are no results showing. Additionally, I have viewed the inspect element in my browser, and no tables from my foreach loop are showing?
ViewModel.cs
```
using System;
using System.Collec... | MVC ASP.NET not showing any results from database using join | CC BY-SA 4.0 | null | 2023-03-03T11:57:52.973 | 2023-03-03T12:21:10.140 | null | null | 20,833,030 | [
"c#",
"model-view-controller"
] |
75,626,802 | 1 | 75,626,881 | null | -4 | 32 | I am using Rust with GLib and need to create a [GString](https://docs.gtk.org/glib/struct.String.html). How do I do that?
```
fn example() -> GString {
let hello = "Hello";
// How do I return hello as a GString?
}
```
| How to create a GString from a String? | CC BY-SA 4.0 | null | 2023-03-03T12:00:59.543 | 2023-03-03T12:15:32.393 | null | null | 2,470,524 | [
"rust",
"gtk",
"glib"
] |
75,626,799 | 1 | null | null | 1 | 12 | We are currently using webdriverIO version 7 for our automation. We use cucumber framework with Javascript and use npm.
We use node docker image to run the scripts via Jenkins.
We were thinking of exploring Healenium but there is limited information currently available for the same.
Any idea if Healenium can be used wi... | Healenium Implementation for Javascript WDIO | CC BY-SA 4.0 | null | 2023-03-03T12:00:53.757 | 2023-03-03T12:00:53.757 | null | null | 16,801,970 | [
"node.js",
"selenium-webdriver",
"npm",
"webdriver",
"self-healing"
] |
75,626,790 | 1 | null | null | 1 | 9 | Consider the following Livewire view's blade template code where `$tags` is an array of strings:
```
<div class="box-wrapper">
<ul>
@foreach($tags as $tag)
<li wire:key="tag-{{ $loop->index }}">
{{ $tag }}
</li>
@endforeach
<input
type="te... | Livewire Dom Diffing: Input loses focus. How to fix this? | CC BY-SA 4.0 | null | 2023-03-03T11:59:28.080 | 2023-03-03T11:59:28.080 | null | null | 13,963,216 | [
"dom",
"laravel-livewire"
] |
75,626,800 | 2 | null | 75,626,724 | 0 | null | You could use the [COUNTIF](https://support.microsoft.com/en-us/office/countif-function-e0de10c6-f885-4e71-abb4-1f464816df34) function to do that, in the example below I use it to count the number of times the word "Apple" exists in the table column named "Fruit", in my example the formula ends up as:
```
=COUNTIF(Tabl... | null | CC BY-SA 4.0 | null | 2023-03-03T12:00:54.267 | 2023-03-03T12:00:54.267 | null | null | 111,143 | null |
75,626,796 | 1 | null | null | 0 | 8 | I am trying to execute an automated Azure DevOps TestPlan from C# but I do not find all the documentation to do this.
This is an example of my code:
```
string organizationName = "...";
string projectName = "...";
int planId = ...;
string definitionName = "...";
int definitionId = ...;
string releaseName = ... | How to define a release environment to execute an automated Azure DevOps TestPlan from C#? | CC BY-SA 4.0 | null | 2023-03-03T12:00:38.407 | 2023-03-03T12:00:38.407 | null | null | 4,837,945 | [
"c#",
"azure-devops",
"automated-tests"
] |
75,626,807 | 1 | null | null | -2 | 20 | I want to run two lua file separately, and at the same time make it possible for one of them to read the global variable of the other. Is it possible ?
| Lua reading global variable from external file | CC BY-SA 4.0 | null | 2023-03-03T12:01:21.543 | 2023-03-03T12:01:21.543 | null | null | 20,272,518 | [
"lua",
"global"
] |
75,626,803 | 1 | null | null | 0 | 28 | ```
<div class="children"> Sachin </div>
<div class="children"> Moron</div>
<div class="children"> Peter </div>
```
is it possible to apply color to div with specfic content like below
If div content is sachin then i need to disabled it, other wise it will enable
```
.children sachin {
cursor: not-allowed;
opaci... | Disabled div content using css | CC BY-SA 4.0 | null | 2023-03-03T12:01:08.667 | 2023-03-03T12:33:03.337 | null | null | 795,932 | [
"css"
] |
75,626,812 | 2 | null | 48,178,643 | 1 | null | I ran into the same issue and finally managed to solve it using this answer:
[Custom extension file not opening in iMessage](https://stackoverflow.com/questions/22826978/custom-extension-file-not-opening-in-imessage/51699268#51699268)
So in short, you need to create a Quick Look Preview extension that defines how your ... | null | CC BY-SA 4.0 | null | 2023-03-03T12:01:51.453 | 2023-03-03T12:01:51.453 | null | null | 8,538,539 | null |
75,626,809 | 1 | null | null | 0 | 12 | I'd like to copy an artifact in my pipeline for a project, regardless of the branch. As long as the last job is successful, I'd like to get that artifact from the last branch that had a successful job.
Is it even possible?
Currently it works well using but that only uses the same branch.
If I use the service name like... | Jenkins copyArtifacts from all branches | CC BY-SA 4.0 | null | 2023-03-03T12:01:24.970 | 2023-03-03T12:01:24.970 | null | null | 7,951,621 | [
"jenkins",
"jenkins-pipeline",
"jenkins-plugins"
] |
75,626,804 | 1 | null | null | 1 | 17 | I'm working on a Laravel 10 project. I have a query that has at least 4 or 5 relationships that I need to join. Some of these contain a boolean called `is_enabled`. What's the best way to cascade check each relationship?
For exxample, in this piece of code, I need to check my `pingtree_group` and `pingtree_group_entrie... | Laravel checking common column through lots of nested relationships in query | CC BY-SA 4.0 | null | 2023-03-03T12:01:10.880 | 2023-03-03T12:01:10.880 | null | null | 9,982,090 | [
"laravel",
"eloquent",
"laravel-query-builder"
] |