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,618,014 | 2 | null | 75,541,668 | 0 | null | Above solution works for only one sheet if you want more sheet then this the simplest solution I got so far
```
var App = new Microsoft.Office.Interop.Excel.Application();
Workbook book1 = App.Workbooks.Open(@"path");
Worksheet sheet1 = book1.Worksheets\[1\];
Workbook book2 = App.Workbooks.Open(@"path");
Worksheet ... | null | CC BY-SA 4.0 | null | 2023-03-02T16:08:37.427 | 2023-03-02T16:08:37.427 | null | null | 18,991,885 | null |
75,618,017 | 1 | 75,618,140 | null | 0 | 44 | I have two strings like below -
```
1)500 Rahway Avenue, Westfield, NJ 07090
2)910 N Harbor Drive, San Diego CA 92101
```
Want to get 2 Expected output-
```
1)Westfield
2)San Diego
```
And
```
1)NJ
2)CA
```
I tried below approach for output NJ and CA -
```
s1.rsplit(" ")[-2]
```
But this is not the right approach.
... | extract substring from a string in python? | CC BY-SA 4.0 | null | 2023-03-02T16:08:42.437 | 2023-03-02T16:28:55.563 | 2023-03-02T16:12:51.917 | 494,134 | 21,320,366 | [
"python",
"substring"
] |
75,618,015 | 2 | null | 75,617,706 | 4 | null | First, modern computers use virtual memory. In a virtual memory system, the pointer value of an address in memory space has an offset into a page and a page index in it. (Typically pages are 4k in size, so 12 bits of page offset).
The physical location of the page in physical memory may not exist, or it might exist a... | null | CC BY-SA 4.0 | null | 2023-03-02T16:08:38.190 | 2023-03-02T16:08:38.190 | null | null | 1,774,667 | null |
75,618,020 | 2 | null | 65,516,731 | 0 | null | You can also delete these through the Azure portal
AAD > app registrations > Deleted applications
Select the app that has that URI associated with it and select 'delete permanently'
| null | CC BY-SA 4.0 | null | 2023-03-02T16:08:52.427 | 2023-03-02T16:08:52.427 | null | null | 14,315,890 | null |
75,617,987 | 1 | null | null | 0 | 12 | I'm new to programming and going through the normal challenges. I'm trying to register a new user but I'm always seeing this error
> Possible Unhandled Promise Rejection (id: 1):
[AxiosError: Network Error]
Though my back-end is working perfectly but I can't work with it from my front-end.
My front-end code
```
import ... | How to register a new user in react native using mongoDb as Back-end | CC BY-SA 4.0 | null | 2023-03-02T16:06:18.580 | 2023-03-02T17:39:55.980 | 2023-03-02T17:39:55.980 | 4,420,967 | 21,320,211 | [
"mongodb",
"react-native",
"authentication"
] |
75,618,018 | 1 | null | null | 0 | 19 | I'm learning Django framework and having troubles with models relationship.
I can't understand where should I use ManytoOne, OneToMany and ManyToMany relationships. And it's getting even worse when I try to imagine it.
For example I have simple Product and each Product should have 1 category
```
class Product(models.Mo... | Django models relationship confusions between ManytoOne, OneToMany and ManyToMany relationships | CC BY-SA 4.0 | null | 2023-03-02T16:08:47.290 | 2023-03-02T16:39:08.337 | 2023-03-02T16:39:08.337 | 19,216,175 | 19,216,175 | [
"python",
"django-models"
] |
75,618,019 | 2 | null | 75,617,720 | -1 | null |
# Implementing a custom value Converter
First, add a class which is capable to read the raw value and convert to the target type:
```
using System.Numerics;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
public class BigIntegerConverter : JsonConverter<BigInteger>
{
/// <summar... | null | CC BY-SA 4.0 | null | 2023-03-02T16:08:47.973 | 2023-03-02T16:08:47.973 | null | null | 8,695,110 | null |
75,618,025 | 2 | null | 74,296,657 | 0 | null | I had my BannerAd(unitID:"ca-app-pub ...") inside a ScrollView. When I moved it to a ZStack, it worked.
| null | CC BY-SA 4.0 | null | 2023-03-02T16:09:18.807 | 2023-03-02T16:09:18.807 | null | null | 16,680,905 | null |
75,618,021 | 1 | null | null | 1 | 17 | I'm running a feedforward classifier neural network in PyTorch, in what should be a really simple test case to provide a baseline against which to evaluate more complex techniques, and puzzled by an aspect of the output, specifically that BCELoss goes to zero while accuracy on the training set remains considerably shor... | How should BCELoss relate to accuracy? | CC BY-SA 4.0 | null | 2023-03-02T16:09:05.647 | 2023-03-02T16:09:05.647 | null | null | 45,843 | [
"machine-learning",
"pytorch",
"neural-network",
"torch",
"loss"
] |
75,618,013 | 1 | null | null | 0 | 27 | I've always used programming languages to work with combinations, but since latest project has more than 40 tables,
I was wondering if better result can be achieved via TSQL, although there is always the DB bottleneck to consider:
I understand that this kind of question is probably OT but..
Anyway, problem is quite sim... | T-SQL Efficiently assign Tables to group according to Table seats and group Persons | CC BY-SA 4.0 | null | 2023-03-02T16:08:25.767 | 2023-03-02T16:08:25.767 | null | null | 2,946,783 | [
"sql-server",
"combinations",
"sql-server-2019"
] |
75,618,022 | 2 | null | 75,614,067 | 2 | null | You can create a Lambda function that implements RequestHandler<S3Event, String> interface.
This gives you access to the S3 object and bucket where an update occurred. Then you can get the ZIP file and pass it to a method that can unzipped the file and get the files.
For example, if I were to write the Lambda handler u... | null | CC BY-SA 4.0 | null | 2023-03-02T16:09:07.870 | 2023-03-02T16:39:59.713 | 2023-03-02T16:39:59.713 | 21,318,419 | 1,435,543 | null |
75,618,026 | 2 | null | 75,613,852 | 0 | null | If you set the wrapper to `display: grid`, the default behavior is for the grid children to stretch along both axes.
```
* {
box-sizing: border-box;
}
body {
font-family: Roboto, sans-serif;
}
.wrapper {
display: grid;
max-width: 25rem;
position: relative;
}
.wrapper textarea {
background-color: white;
... | null | CC BY-SA 4.0 | null | 2023-03-02T16:09:23.170 | 2023-03-02T16:09:23.170 | null | null | 3,577,849 | null |
75,618,030 | 2 | null | 75,617,753 | 0 | null | Alternatively,
```
np.stack(np.array_split(a, [3,6], axis=1))
```
Output:
```
array([[[ 1, 1, 1],
[ 0, 0, 1]],
[[40, 40, 40],
[ 0, 1, 1]],
[[80, 80, 80],
[ 0, 1, 1]]])
```
| null | CC BY-SA 4.0 | null | 2023-03-02T16:09:34.240 | 2023-03-02T16:36:23.223 | 2023-03-02T16:36:23.223 | 11,564,487 | 11,564,487 | null |
75,618,023 | 2 | null | 70,293,925 | 0 | null | I've been having my own issues with `ijson` reading large files. I think that you are on the right track here, but if you use the `ijson.items()` method, then it is going to read the whole file just for those items and then stop, hence your need for the `f.seek(0)` calls (I think that you know this, but just for clari... | null | CC BY-SA 4.0 | null | 2023-03-02T16:09:10.210 | 2023-03-02T16:09:10.210 | null | null | 3,654,730 | null |
75,618,028 | 2 | null | 75,617,578 | 0 | null | This is a bad practice. You should seperate your services and you should not have an Optional at this step. You can use Optional extracting data from your database because you're not sure to have what you expect but with your client, you should respect some contract and just return an exception 4xx if the client doesn'... | null | CC BY-SA 4.0 | null | 2023-03-02T16:09:27.843 | 2023-03-02T16:28:38.403 | 2023-03-02T16:28:38.403 | 4,479,402 | 4,479,402 | null |
75,618,035 | 1 | null | null | -5 | 28 |  This is my error message: 'Input string was not in a correct format.'
I am going by exactly what my book says to do, and I went over all my work. I keep coming back to this error.
| Do I have incorrect format in my Display() method? | CC BY-SA 4.0 | null | 2023-03-02T16:10:26.090 | 2023-03-02T16:15:23.353 | 2023-03-02T16:15:23.353 | 1,084,168 | 21,320,398 | [
"c#",
"methods"
] |
75,618,032 | 2 | null | 75,617,422 | 1 | null | You can use barstate.isconfirmed and it won't paint until the bar actually closes
```
if (longCondition or ta.crossover(secondlongentryprice, sstoploss)) and inDateRange and is_entry_session and barstate.isconfirmed
```
or
```
if barstate.isconfirmed
secondlongentryprice := close
```
| null | CC BY-SA 4.0 | null | 2023-03-02T16:10:07.783 | 2023-03-02T16:57:33.667 | 2023-03-02T16:57:33.667 | 21,214,111 | 21,214,111 | null |
75,618,029 | 1 | null | null | 0 | 15 | I have a Spring repository that uses pessimistic locking for writing purposes:
```
public interface UserRepository extends JpaRepository<User, Long> {
@Lock(PESSIMISTIC_WRITE)
@Query("SELECT u from User u WHERE u.id = :id")
Optional<User> findBySpecialIdForUpdate(Long id);
}
```
The `findBySpecialIdForUpd... | Spring Boot Test uses Repository method with @Lock | CC BY-SA 4.0 | null | 2023-03-02T16:09:28.390 | 2023-03-02T16:09:28.390 | null | null | 21,320,374 | [
"spring",
"jpa",
"spring-data-jpa",
"transactions"
] |
75,618,031 | 2 | null | 75,607,481 | 1 | null | I am struggling with the same issue. I got it working as expected with that:
First try to load the current values from database in "existingParentEntity" while having a object from the client (clientParentEntity):
```
var existingParentEntity = await db.ParentEntity
.Where(e => e.Id == clientParentEntity.Id)
.I... | null | CC BY-SA 4.0 | null | 2023-03-02T16:09:52.720 | 2023-03-02T16:09:52.720 | null | null | 14,669,244 | null |
75,618,039 | 2 | null | 75,441,776 | 0 | null | This is not a direct answer but I ended up just sending the json object with the data to the frontend and using a pdf creator library on the frontend.
| null | CC BY-SA 4.0 | null | 2023-03-02T16:11:00.960 | 2023-03-02T16:11:00.960 | null | null | 21,207,014 | null |
75,618,037 | 1 | null | null | 0 | 9 | This is my code,
```
const express = require("express");
const serverless = require("serverless-http");
import axios from 'axios'
const app = express();
.....
module.exports = app;
module.exports.handler = serverless(app);
```
I'm getting,
> Function invocation failed: TypeError: Cannot assign to read only
property... | Function invocation failed: TypeError: Cannot assign to read only property 'exports' of object '#' | CC BY-SA 4.0 | null | 2023-03-02T16:10:43.517 | 2023-03-02T16:10:43.517 | null | null | 2,395,282 | [
"node.js"
] |
75,618,040 | 1 | 75,618,105 | null | 0 | 11 | I am having a nest.js DTO field contains array of ObjectId's:
```
@IsNotEmpty()
@IsMongoId({each: true})
@ApiProperty({
example: ['63e0ec1d6eae1c8888445efb', '63e0ec1d6eae1c8888445efb'],
description: 'List of students',
})
public students: ObjectIdType[];
```
and my Nest.js Schema looks like:
```
export class Stud... | nest.js dto and schema for array of objectId's | CC BY-SA 4.0 | null | 2023-03-02T16:11:09.287 | 2023-03-02T16:15:56.820 | null | null | 11,100,887 | [
"mongodb",
"nestjs",
"schema"
] |
75,618,038 | 2 | null | 75,436,712 | 0 | null | You could implement the `unstable_useBlocker` hook, to check current and nextLocation before blocking the user
First of all create your function that will be use by the `unstable_useBlocker` hook
```
const blocker = (currentLocation: Location, nextLocation: Location) => {
if (
yourCondition &&
nextLocation.pa... | null | CC BY-SA 4.0 | null | 2023-03-02T16:10:48.417 | 2023-03-02T16:10:48.417 | null | null | 18,050,757 | null |
75,618,042 | 2 | null | 75,616,813 | 0 | null | Try this:
```
var ret = db.Collection1.deleteMany({})
print(ret)
// or
print(tojsononeline(ret))
var c = db.Collection1.find({}).count()
print(c)
```
If you use the new `mongosh` then you need to load [mongocompat](https://github.com/mongodb-labs/mongosh-snippets/tree/main/snippets/mongocompat) or use `print(EJSON.s... | null | CC BY-SA 4.0 | null | 2023-03-02T16:11:16.213 | 2023-03-02T16:11:16.213 | null | null | 3,027,266 | null |
75,618,033 | 1 | null | null | 0 | 14 | I have a (Bitnami helm chart) deployed in my with as proxy. This is the following architecture:
[](https://i.stack.imgur.com/95w1W.png)
- - `StorageClass`
When I access to the Wordpress page ([https://example.com](https://example.com)) for the first time, some images are broken:
[](https://i.stack.imgur.com/HbtDr.pn... | Wordpress in AKS with Nginx - Not loading images first time | CC BY-SA 4.0 | null | 2023-03-02T16:10:12.273 | 2023-03-02T16:10:12.273 | null | null | 3,022,264 | [
"wordpress",
"performance",
"kubernetes",
"nginx",
"azure-file-share"
] |
75,618,044 | 2 | null | 28,664,655 | 0 | null | Had similar issue, fixed by disabling vsync
```
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.vSyncEnabled = false;
```
| null | CC BY-SA 4.0 | null | 2023-03-02T16:11:26.437 | 2023-03-02T16:11:26.437 | null | null | 4,874,408 | null |
75,618,027 | 2 | null | 75,614,339 | -1 | null | Thanks to the answer of Anthony Sottile we can say that:
1- [Black wants extra space for “complex expressions” as foo1 = foo2[len(foo3) :] and this behaviour may raise E203 whitespace before ':' warnings in style guide enforcement tools like Flake8. Since E203 is not PEP 8 compliant, we should tell Flake8 to ignore the... | null | CC BY-SA 4.0 | null | 2023-03-02T16:09:23.327 | 2023-03-02T16:09:23.327 | null | null | 4,391,360 | null |
75,618,048 | 2 | null | 75,617,857 | 1 | null | If you want the sex ratio for women per species, according to the species of the mother:
```
df %>%
mutate(SpeciesMother = df$Species[match(df$DamAnonID, df$AnonID)],
SpeciesMother = replace_na(SpeciesMother, "A")) %>%
group_by(SpeciesMother) %>%
summarise(SexRatio = mean(Sex == "F"))
# A tibble: 3 ×... | null | CC BY-SA 4.0 | null | 2023-03-02T16:11:40.357 | 2023-03-02T16:22:38.850 | 2023-03-02T16:22:38.850 | 13,460,602 | 13,460,602 | null |
75,618,046 | 2 | null | 75,617,995 | 2 | null | I think you need to explicitly pass the scattered objects into the `map` call so that dask knows to include them as dependencies in the graph. So change the last line to:
```
b1 = b.map(get_features, img=scattered_img, segments=scattered_segments).compute()
```
As @mdurant suggested in the comments it is better not to... | null | CC BY-SA 4.0 | null | 2023-03-02T16:11:30.827 | 2023-03-02T18:52:56.497 | 2023-03-02T18:52:56.497 | 4,021,797 | 4,021,797 | null |
75,618,043 | 1 | null | null | 0 | 19 | I would like to apply SpellChecker function to identify all misspelled words in each sentence, then create a list of those misspelled words in a new dataframe column.
For example, Input:
| ColumnA |
| ------- |
| I tried many times to iddentify misspelled words |
| I trried many timees to identtify misspelled words... | Identify and create a list of all the misspelled words in new column | CC BY-SA 4.0 | null | 2023-03-02T16:11:20.410 | 2023-03-02T16:14:41.760 | 2023-03-02T16:14:41.760 | 21,320,297 | 21,320,297 | [
"python",
"spell-checking"
] |
75,618,050 | 1 | null | null | 0 | 14 | Can we run React native app on Iphone locally without using Expo App ? In android native app development ,we can create .apk file and run locally on every android device using it. Is there any way to create such file in react native to install locally on iPhone
| How to install React native app on iPhone locally without using Expo app? | CC BY-SA 4.0 | null | 2023-03-02T16:11:51.370 | 2023-03-02T16:11:51.370 | null | null | 15,114,844 | [
"react-native"
] |
75,618,052 | 1 | null | null | 0 | 5 | I created a form in acrobat for work, and what I am trying to do is a document level javascript, that when you click in the signature box of the form it opens the fill& sign option, so that a person can sign the form. I am needing to avoid the digital signature way of doing it because the company has 60,000 employees,... | Adobe Acrobat javascript mouse up even for signature fill & sign | CC BY-SA 4.0 | null | 2023-03-02T16:11:54.870 | 2023-03-02T16:11:54.870 | null | null | 21,320,407 | [
"javascript",
"adobe",
"acrobat"
] |
75,618,041 | 1 | null | null | 0 | 17 | I'm currently working on a real-time metrics dashboard with an AgGrid table to display the data. To keep the data up-to-date, I would like to reload it automatically every 15 seconds. I've tried using `st_autorefresh` to accomplish this, but I'm facing an issue where the AgGrid table loses the selected rows after each ... | How to keep streamlit ag-grid selected rows after page update? | CC BY-SA 4.0 | null | 2023-03-02T16:11:16.070 | 2023-03-02T20:06:57.463 | 2023-03-02T20:06:57.463 | 2,415,071 | 2,415,071 | [
"python",
"pandas",
"ag-grid",
"streamlit"
] |
75,618,045 | 1 | null | null | 0 | 30 | Assuming a mapping including this for `events`:
```
"events" : {
"properties": {
"type": {
"type": "text"
},
"user": {
"type": "text"
}
}
},
```
I have seen a lot of information on how to filter on objects within an array, but everything I've seen has bee... | elasticsearch – how to filter term on an object inside an object inside an array? | CC BY-SA 4.0 | null | 2023-03-02T16:11:29.317 | 2023-03-02T16:11:29.317 | null | null | 2,773,445 | [
"elasticsearch",
"search",
"opensearch"
] |
75,618,055 | 2 | null | 75,499,012 | 0 | null | woke up late but you need to use the public key not the private one.
| null | CC BY-SA 4.0 | null | 2023-03-02T16:12:07.970 | 2023-03-02T16:12:07.970 | null | null | 1,047,956 | null |
75,618,049 | 2 | null | 75,617,684 | 3 | null | You can use the preprocessor's `##` token concatenation operator to join the `5000` and `ms` tokens, eg:
```
#include <cstdio>
#include <chrono>
#define CONFIG_FADE_DELAY_MS 5000
#define CONCAT2(a, b) a ## b
#define CONCAT(a, b) CONCAT2(a, b)
using namespace std::chrono_literals;
int main()
{
// Works, translat... | null | CC BY-SA 4.0 | null | 2023-03-02T16:11:44.323 | 2023-03-02T16:29:42.820 | 2023-03-02T16:29:42.820 | 65,863 | 65,863 | null |
75,618,056 | 1 | null | null | 0 | 15 | I need to automate Dial a call from MS teams to 3rd party IP phone. I am searching for APIs to automate the same. I tried to use Gaph API but not able to generate accees token.
Can any one help here please.
Thank you so much.
Regards,
-kranti
| MS Teams Automation : Make a call from MS Teams | CC BY-SA 4.0 | null | 2023-03-02T16:12:13.180 | 2023-03-02T16:12:13.180 | null | null | 5,089,527 | [
"python-3.x",
"robotframework",
"microsoft-teams"
] |
75,618,051 | 2 | null | 75,602,249 | 0 | null | I ended up encoding the key-value pairs on the `value` attribute of the `<input type="checkbox">` and hard-coding the keys and values on the backend.
Frontend:
```
<input type="checkbox" name="schedule" value="monday-7" />
<input type="checkbox" name="schedule" value="monday-8" />
<input type="checkbox" name="schedule"... | null | CC BY-SA 4.0 | null | 2023-03-02T16:11:52.540 | 2023-03-02T16:11:52.540 | null | null | 2,051,323 | null |
75,618,007 | 2 | null | 75,476,282 | 0 | null | When dealing with multiple threads/process, you must use a queue data structure, which is thread safe. Here is my rewrite of your code:
```
import math
import queue
from concurrent.futures import ThreadPoolExecutor
import h3
dummy_results = {
"85489e37fffffff": {"total": 1001},
"85489e27fffffff": {"total": 99... | null | CC BY-SA 4.0 | null | 2023-03-02T16:07:48.647 | 2023-03-03T19:24:32.240 | 2023-03-03T19:24:32.240 | 459,745 | 459,745 | null |
75,618,059 | 1 | null | null | 0 | 5 | I am trying to install dependecies but one package name swiper wont install and I get following error
```
npm ERR! path C:\<pathname>
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c
C:\Users\<user>\AppData\Local\Temp\postinstall-44397e4b.cmd
npm ERR! "Love Swiper? Support Vladimir's work ... | Unable to install a package normally and force | CC BY-SA 4.0 | null | 2023-03-02T16:12:34.450 | 2023-03-02T16:12:34.450 | null | null | 1,532,800 | [
"node-modules",
"swiper.js"
] |
75,618,054 | 1 | 75,622,516 | null | 1 | 13 | I'm trying to perform a full text search. On the [Elastic docs](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/query-dsl-match-query.html) it says "Returns documents that match a provided text, number, date or boolean value. The provided text is analyzed before matching." But this is not happening on my e... | Searching using Match with NEST does not return results | CC BY-SA 4.0 | null | 2023-03-02T16:12:00.093 | 2023-03-03T01:54:29.147 | 2023-03-03T01:48:12.190 | 7,687,666 | 15,183,608 | [
"c#",
".net",
"asp.net-core",
"elasticsearch",
"nest"
] |
75,618,053 | 2 | null | 75,617,929 | 0 | null | Use an IDE which has a debugger, e.g. [PyCharm Community edition](https://www.jetbrains.com/pycharm/download/). It's free and everyone who is programming needs to know [how to debug small programs](https://ericlippert.com/2014/03/05/how-to-debug-small-programs/).
A debugger allows you to step through your code line by ... | null | CC BY-SA 4.0 | null | 2023-03-02T16:11:55.193 | 2023-03-02T16:19:18.197 | 2023-03-02T16:19:18.197 | 480,982 | 480,982 | null |
75,618,063 | 2 | null | 75,595,699 | 0 | null | Turns out, the log message about `BertTokenizerFast` had nothing to do with the progress bar that appeared right after, which I thought was the tokenization progress bar but was in fact the training progress bar. The actual problem was that the model was training on CPU instead of GPU. I thought I had ruled this out be... | null | CC BY-SA 4.0 | null | 2023-03-02T16:12:48.817 | 2023-03-02T16:12:48.817 | null | null | 2,980,717 | null |
75,618,058 | 1 | null | null | 0 | 14 | The file load error keeps popping up after I added contents to the file by using commands.
I was working on Windows PowerShell on JupyterLab. Firstly, I created a new file using the following command:
```
New-Item -Path "test.txt"
```
I managed to open the file and type down a few lines directly into it.
However, afte... | Fix file load error in PowerShell: 'file is not utf-8 coded' | CC BY-SA 4.0 | null | 2023-03-02T16:12:24.523 | 2023-03-02T16:24:01.240 | null | null | 19,343,130 | [
"file",
"jupyter-lab",
"powershell-remoting",
"powershell-cmdlet",
"windows-terminal"
] |
75,618,010 | 2 | null | 75,597,310 | 0 | null |


```
{
"properties": {
"tables": {
"items": {
"properties": {
"columns": {
"items": {
... | null | CC BY-SA 4.0 | null | 2023-03-02T16:08:08.347 | 2023-03-02T16:20:13.790 | 2023-03-02T16:20:13.790 | 17,623,802 | 17,623,802 | null |
75,618,060 | 1 | null | null | 1 | 18 | I am working with Jenkis [DSL]
Do you know a Jenkins API to get all the logs of the JOB?
For example, there is a method to get console output:
```
def x = currentBuild.getRawBuild().getLog()
```
If there is an API, is it possible to convert the stage lofs to a list and see and print the error log where the stage fail... | Jenkins DSL, Get "stage logs" as list and print the failures | CC BY-SA 4.0 | null | 2023-03-02T16:12:44.933 | 2023-03-02T16:15:25.103 | 2023-03-02T16:15:25.103 | 21,320,334 | 21,320,334 | [
"jenkins",
"jenkins-pipeline",
"jenkins-plugins",
"jenkins-groovy"
] |
75,618,066 | 1 | null | null | -1 | 9 | I would like to know if there is any way of making a Gantt diagram in Python marked only starts and end of an activity (not in date or time format, only integers), using a library like Plotly.
These examples have the duration in date format, but this does not help me.
[https://partly.com/python/gantt/](https://partly.c... | Gantt Chart in an integer scale | CC BY-SA 4.0 | null | 2023-03-02T16:13:13.760 | 2023-03-02T16:13:13.760 | null | null | 21,314,414 | [
"python",
"scheduling",
"gantt-chart"
] |
75,618,065 | 1 | null | null | -1 | 24 | Translate the hexfile to readable text
I used the usb programmer to extract the hexfile so if anyway to translate to readable text from the heck file
24cxx eeprom
```
```
| How can I translate Hex file of eeporom 24cxx to readable text using arduino | CC BY-SA 4.0 | null | 2023-03-02T16:13:09.510 | 2023-03-02T16:13:09.510 | null | null | 21,320,372 | [
"arduino",
"i2c",
"eeprom"
] |
75,618,068 | 1 | null | null | 0 | 9 | I am making a tab layout in android using java.
```
vpAdapter = new VPAdapter(getChildFragmentManager(), FragmentPagerAdapter.BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT);
add_tab_button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
vpAdapt... | How to add new tab in android java tab layout using viewpager without clearing older tabs? | CC BY-SA 4.0 | null | 2023-03-02T16:13:17.423 | 2023-03-02T17:41:59.543 | 2023-03-02T17:41:59.543 | 4,420,967 | 21,320,389 | [
"java",
"android"
] |
75,618,071 | 1 | null | null | 0 | 19 | I want to use the following code so that when I run the `exe` file in CMD, I enter the name of my program, for example the number 2 or 3, and my code creates a file, otherwise it gives me the value "no" no no" but every time I run it, it gives me the following error
```
import sys
def test(numder):
x =numder
i... | how to use sys.argv in python for exe file? | CC BY-SA 4.0 | null | 2023-03-02T16:13:32.433 | 2023-03-02T16:38:20.443 | null | null | 21,258,315 | [
"python",
"argv"
] |
75,618,064 | 2 | null | 51,946,976 | 0 | null |
I'm studying API platform since 2 weeks but I think I've got the point [digging into the CollectionProvider](https://github.com/api-platform/core/blob/main/src/Doctrine/Orm/State/CollectionProvider.php).
My need is a showing carts metadata (total number, total amount, etc.) (i.e. a date filter).
First of all, your c... | null | CC BY-SA 4.0 | null | 2023-03-02T16:13:09.407 | 2023-03-02T16:13:09.407 | null | null | 220,180 | null |
75,618,057 | 2 | null | 69,084,418 | 0 | null | `.idata` is the import data section: [https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#the-idata-section](https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#the-idata-section). It specifies the functions from dynamic libraries (DLLs) that your program uses.
With FASM, you specify entries in ... | null | CC BY-SA 4.0 | null | 2023-03-02T16:12:21.803 | 2023-03-03T23:44:02.783 | 2023-03-03T23:44:02.783 | 4,454,665 | 4,454,665 | null |
75,618,070 | 1 | null | null | 0 | 28 | I have one main API project (called CustomerLayer) that contains only one controller with one endpoint (UserController/GetAll). The controller inherits from ControllerBase and has all DataAnnotations in place (Route, HttpGet, etc).
This project has imported onto the solution another API project (called ImporterLayer).
... | Why is Swagger showing endpoints of imported project, instead of main/startup project | CC BY-SA 4.0 | null | 2023-03-02T16:13:25.897 | 2023-03-02T19:58:51.433 | 2023-03-02T19:58:51.433 | 9,219,508 | 9,219,508 | [
"c#",
"api",
"swagger",
"swagger-ui",
"asp.net-core-6.0"
] |
75,618,074 | 2 | null | 75,617,804 | 1 | null | The problem is that you call `Sort` twice:
After this call:
```
Array.Sort(shapeArea);
```
`shapeArea` will be sorted, i.e.: `{4, 5, 20)`.
Then the call:
```
Array.Sort(shapeArea, shapeTypes);
```
Will not change anything because `shapeArea` is already sorted.
Instead you should use to sort both `shapeArea` and `s... | null | CC BY-SA 4.0 | null | 2023-03-02T16:13:39.713 | 2023-03-02T16:22:12.377 | 2023-03-02T16:22:12.377 | 18,519,921 | 18,519,921 | null |
75,618,075 | 1 | null | null | 0 | 37 | Let's say I have some table like this:
```
CREATE TABLE test ( id INT, usr CHAR, age INT );
INSERT INTO test (id, usr, age) VALUES (1, "a", 10);
INSERT INTO test (id, usr, age) VALUES (2, "a", 29);
INSERT INTO test (id, usr, age) VALUES (3, "a", 12);
INSERT INTO test (id, usr, age) VALUES (4, "b", 6);
INSERT INTO t... | How to efficiently return rows belonging to the top N most frequent elements | CC BY-SA 4.0 | null | 2023-03-02T16:13:41.610 | 2023-03-03T05:19:36.300 | null | null | 14,307,057 | [
"sql",
"google-bigquery",
"partition"
] |
75,618,080 | 2 | null | 75,617,541 | -1 | null | The query will be like
```
SELECT t1.column1, t1.column2, t1.column3, t2.column4
FROM my_table t1
JOIN my_table t2
ON t1.id = t2.id
WHERE t1.id = 1
```
[W3 School Joins](https://www.w3schools.com/sql/sql_join.asp)
| null | CC BY-SA 4.0 | null | 2023-03-02T16:14:07.720 | 2023-03-03T04:40:29.397 | 2023-03-03T04:40:29.397 | 3,404,097 | 16,851,207 | null |
75,618,079 | 2 | null | 75,606,014 | 1 | null | You can use the [set:html](https://docs.astro.build/en/reference/directives-reference/#sethtml) directive on a `<style>` tag like this:
```
<style set:html={fonts}/>
```
| null | CC BY-SA 4.0 | null | 2023-03-02T16:13:55.817 | 2023-03-02T16:13:55.817 | null | null | 6,909,829 | null |
75,618,073 | 2 | null | 75,566,650 | 0 | null | So there are few things we have to investigate as we will not be able to troubleshoot the entire issue offline..
First, we have to make sure to update our IoT Device Firmware!
Update the firmware of your Raspberry Pi: `sudo rpi-update`
1. Try to deploy the out-of-the-box TemperatureSensor module provided by Microsoft ... | null | CC BY-SA 4.0 | null | 2023-03-02T16:13:38.030 | 2023-03-02T16:13:38.030 | null | null | 13,174,899 | null |
75,618,076 | 1 | null | null | 0 | 19 | I've this simple app where `'/personas'` shows a list of `Persona` objects. There is also a button to add another person, which send to you to `/personas/agregar`. There you can create a new object and send it to firebase. Once you do it, the server should take you to `/personas` again and you should see all objects, h... | ngOnInit don't execute when using router.navigate | CC BY-SA 4.0 | null | 2023-03-02T16:13:45.897 | 2023-03-02T16:13:45.897 | null | null | 20,014,595 | [
"angular",
"refresh",
"router",
"ngoninit"
] |
75,618,081 | 2 | null | 75,617,981 | 0 | null | Using `mutate_if(is.character, ...)` will change all of your character columns. It looks like the only column you are trying to change is "Filovirus (MOD) PCR". So you could change the command to
```
viral %>%
dplyr::select(-matches(c('Performed by ()', 'performed by', 'Date of', '1Performed by', 'Performed by', "Da... | null | CC BY-SA 4.0 | null | 2023-03-02T16:14:10.130 | 2023-03-02T16:14:10.130 | null | null | 2,372,064 | null |
75,618,087 | 2 | null | 75,617,994 | 3 | null | Yes it's possible:
```
fn concat(a: u8, b: [u8; 32], c: u8) -> [u8; 34] {
let mut res = [0; 34];
res[0] = a;
res[1..33].copy_from_slice(&b);
res[33] = c;
res
}
```
| null | CC BY-SA 4.0 | null | 2023-03-02T16:14:20.260 | 2023-03-02T16:21:22.453 | 2023-03-02T16:21:22.453 | 442,760 | 442,760 | null |
75,618,067 | 1 | null | null | 0 | 8 | I' am trying to install `mmh3` python package on Windows Server 2019. Below are the steps i followed.
1. Open cmd prompt with Administrator privilege
2. Then run pip install mmh3
I get the below error during the installation
```
Collecting mmh3
Using cached mmh3-3.0.0.tar.gz (10 kB)
Preparing metadata (setup.py)... | Facing issues with mmh3 package installation for Python 3.11.1 in Windows Server 2019 | CC BY-SA 4.0 | null | 2023-03-02T16:13:14.760 | 2023-03-02T16:13:14.760 | null | null | 7,055,898 | [
"python",
"visual-c++",
"pip",
"python-3.9",
"python-3.11"
] |
75,618,086 | 1 | null | null | 0 | 22 | Hi I have dataframe with column date which is an object type, with the format dd/mm/yy. I need to extract only month and year. How to do it
```
Date
01/01/2022
12/11/2021
19/11/2021
31/12/2021
21/05/2022
```
Required Output:
```
Date
202201
202111
202111
202112
202205
```
Code so far:
```
df['Date'] = ... | How to extract Year and Month from the object Date in the format "dd/mm/yy" in pandas | CC BY-SA 4.0 | null | 2023-03-02T16:14:17.347 | 2023-03-02T16:14:17.347 | null | null | 7,905,329 | [
"python-3.x",
"pandas",
"dataframe",
"date",
"datetime"
] |
75,618,088 | 2 | null | 75,608,188 | 0 | null | So there's probably other ways to do this if you spend enough time, but this solution was by far the easiest/quickest for me.
From c#:
`wb.Application.Run(Macro: "vbProjMyProject.modMyModeule.Insert3D", Arg1: sName, Arg2: sPath);`
Where Insert3D is a VBA procedure I created in that location. Downside of this is that yo... | null | CC BY-SA 4.0 | null | 2023-03-02T16:14:43.373 | 2023-03-02T16:14:43.373 | null | null | 9,661,897 | null |
75,618,084 | 1 | null | null | 1 | 39 | I ran a socket.io client code using the liveserver extension on vscode and because i am using the version 2.5.0 i had to make use of [socket.io wildcard](https://github.com/hden/socketio-wildcard) I then ran the code and got 2 errors in the console[](https://i.stack.imgur.com/N1J1W.png) from the first error there's a... | Is there a way of solving Uncaught Reference error and stating correct ORIGIN of a socket.io server on the client side when using vscode live server | CC BY-SA 4.0 | null | 2023-03-02T16:14:17.027 | 2023-03-03T05:44:15.433 | 2023-03-03T05:44:15.433 | 19,332,439 | 19,332,439 | [
"javascript",
"liveserver",
"socket.io-client"
] |
75,618,078 | 1 | null | null | 0 | 16 | I am working on collecting nice looking and accurate logs from ssh sessions by expect.
A part of my code is such loop which connects to list of hosts and runes some commands.
```
foreach host $hosts {
spawn ssh user@$host
sleep 1
expect {
"yes/no" {
send "yes\r"
... | expect log_file how to put empty line and omit command in a log_file | CC BY-SA 4.0 | null | 2023-03-02T16:13:51.083 | 2023-03-02T16:15:05.090 | 2023-03-02T16:15:05.090 | 7,366,551 | 7,366,551 | [
"formatting",
"expect",
"logfile"
] |
75,618,091 | 2 | null | 75,616,673 | 2 | null | Yes, this should just work, here's what it looks like for me in an IJulia Jupyter notebook (screenshot taken mid exectution):
[](https://i.stack.imgur.com/36Du4.png)
and at the end:
[](https://i.stack.imgur.com/5utZP.png)
| null | CC BY-SA 4.0 | null | 2023-03-02T16:14:54.207 | 2023-03-02T16:14:54.207 | null | null | 2,499,892 | null |
75,618,090 | 1 | 75,618,260 | null | 1 | 29 | I am new to Snowflake and I have created a table(123) on top of a view(123Dummy) with the following codes
```
create or replace table 123 as select * from 123Dummy;
```
The view has 10 records and by default, the table also has 10 records. The problem is, how do I get an updated version of the view in the table when a... | How to refresh a table created on top of a view | CC BY-SA 4.0 | null | 2023-03-02T16:14:51.717 | 2023-03-02T16:41:50.107 | null | null | 1,592,334 | [
"sql",
"snowflake-cloud-data-platform"
] |
75,618,093 | 2 | null | 75,607,338 | 0 | null | When using ABAC, the principal tag condition will reference the tags on the Lambda function's execution role, not the function itself. Tags are not dynamic as you describe.
My recommendation is to create a unique execution role per Lambda function. Frameworks like AWS SAM, Serverless Framework, and AWS CDK make this fa... | null | CC BY-SA 4.0 | null | 2023-03-02T16:15:12.200 | 2023-03-02T16:15:12.200 | null | null | 21,003,266 | null |
75,618,082 | 1 | null | null | 0 | 26 | im programming net core web app. And i try to publish the app on an other machine. Im programming on Visual studio 2019 and i want to use the site in local on a windows 7 machine.
I have of course download the Net core Bundle 5.0.17 to make the web app work. and by the way it work perfectly fine on my personnal windows... | Http 500.19 0x8007000d error on IIS hosting. (windows 7) | CC BY-SA 4.0 | null | 2023-03-02T16:14:14.303 | 2023-03-03T08:11:58.503 | 2023-03-03T08:11:58.503 | 21,303,101 | 21,303,101 | [
"asp.net-core",
"iis-7",
"visual-studio-2019"
] |
75,618,095 | 1 | null | null | 0 | 13 | I need to run the command udisksctl inside a podman container.
podman run --cap-add SYS_ADMIN --device /dev/fuse -ti localhost/yogi-img:0.4
testuser@2a7dceff581b:/app$ udisksctl loop-setup -f ${efiboot_img} --no-user-interaction
Error connecting to the udisks daemon: Could not connect: No such file or directory
testuse... | Error connecting to the udisks daemon issue inside the container | CC BY-SA 4.0 | null | 2023-03-02T16:15:39.780 | 2023-03-02T16:15:39.780 | null | null | 21,320,222 | [
"ubuntu",
"containers",
"podman"
] |
75,618,097 | 2 | null | 75,613,514 | 0 | null | In addition to [@Droid](https://stackoverflow.com/users/4105440/droid) answer, note that you can directly set the `zorder` of the legend to a high value (to be drawn over the plots) with `plt.legend().set_zorder(X)` (or `.set(zorder=X)`). The default legend `zorder` is `5`.
| null | CC BY-SA 4.0 | null | 2023-03-02T16:15:42.217 | 2023-03-02T16:15:42.217 | null | null | 11,080,037 | null |
75,618,094 | 2 | null | 75,617,265 | 1 | null | Alternatively, you can use [jquery attribute contains selector](https://api.jquery.com/attribute-contains-selector/) to only return anchors with the matching value.
In your example it would look like this
```
cy.get('a[href*="/example"]')
.should('have.length.gte', 1)
// map out only hrefs
.then(h => Cypress._.ma... | null | CC BY-SA 4.0 | null | 2023-03-02T16:15:19.727 | 2023-03-02T16:15:19.727 | null | null | 17,917,809 | null |
75,618,100 | 2 | null | 58,320,567 | 0 | null |
Add this line to suppress all that garbage from `matplotlib.font_manager`:
```
logging.getLogger('matplotlib.font_manager').disabled = True
```
| null | CC BY-SA 4.0 | null | 2023-03-02T16:15:52.250 | 2023-03-02T16:15:52.250 | null | null | 1,832,942 | null |
75,618,092 | 1 | null | null | 0 | 27 | There are a few other posts related, but they didn't help solve my problem.
I have the script below that has an optional parameter for an aws profile `-p` What I would like to do is save the profile configurations into environmental variables in the current shell.
```
#!/bin/bash
# This script is used to set an AWS pr... | Set AWS environment variables in bash script | CC BY-SA 4.0 | null | 2023-03-02T16:15:02.020 | 2023-03-02T16:15:02.020 | null | null | 8,537,770 | [
"bash",
"amazon-web-services",
"aws-cli"
] |
75,618,099 | 2 | null | 75,617,335 | 0 | null | up
```
val list = listOf("I'm happy", "https:are you happy?", "no one is")
list.first { item -> item.lowercase().contains("https") }.apply {
doSomething(this)
}
```
for open link inside Chrome just follow the answer here -> [How can I open a URL in Android's web browser from my application?](https://stack... | null | CC BY-SA 4.0 | null | 2023-03-02T16:15:46.387 | 2023-03-03T08:59:53.723 | 2023-03-03T08:59:53.723 | 21,320,400 | 21,320,400 | null |
75,618,096 | 1 | null | null | 0 | 4 | ```
node:internal/modules/cjs/loader:959 throw err; ^
Error: Cannot find module '../controllers/coursecontrollers'
Require stack:
- /project/E_Learning_Backend/routes/CourseRoute.js
- /project/E_Learning_Backend/app.js
- /project/E_Learning_Backend/server.js
at Function.Module._resolveFilename (node:internal/m... | node:internal/modules/cjs/loader:959 throw err; ^ Error: Cannot find module | CC BY-SA 4.0 | null | 2023-03-02T16:15:41.320 | 2023-03-02T16:15:41.320 | null | null | 20,697,371 | [
"node.js",
"express",
"backend"
] |
75,618,089 | 1 | null | null | 0 | 42 | ```
<div class='container'>
<a class='back-link' href=" {% url 'supplyshop:catalog' %}"> Back to Catalog</a>
<h1 class='cart-h1'>Cart </h1>
<div class='cart'>
<div class='cart-items'>
<div class='cartItem' id='cartDiv'>
<div class='cart' id='cart-item'>
... | Why is my event listener only triggering after the second button click? | CC BY-SA 4.0 | null | 2023-03-02T16:14:47.117 | 2023-03-02T17:41:06.117 | 2023-03-02T17:41:06.117 | 21,237,030 | 21,237,030 | [
"javascript",
"html"
] |
75,618,101 | 1 | null | null | 1 | 16 | Im trying to skip cloudflare/datadome with undetected_chromedriver but ended up with their captcha page
tried with proxy as well and add other chrome options to look like a normal browser
```
import undetected_chromedriver as uc
chrome_options = uc.ChromeOptions()
chrome_options.add_argument('--blink-settings=imagesEna... | How to bypass cloudflare/datadome with undetected_chromedriver not able to bypass it | CC BY-SA 4.0 | null | 2023-03-02T16:15:54.323 | 2023-03-03T10:11:12.400 | 2023-03-03T10:11:12.400 | 10,206,788 | 10,206,788 | [
"python",
"selenium-webdriver",
"web-scraping",
"selenium-chromedriver",
"cloudflare"
] |
75,618,105 | 2 | null | 75,618,040 | 1 | null | To do an array of type you need to use `type: [mongoose.Schema.Types.ObjectId]`. This is so that when Nest reads the type it sees that it is an array and knows to tell that to Mongoose. The same kind of approach is used for `@nestjs/swagger` and `@nestjs/graphql`
| null | CC BY-SA 4.0 | null | 2023-03-02T16:15:56.820 | 2023-03-02T16:15:56.820 | null | null | 9,576,186 | null |
75,618,106 | 1 | null | null | 0 | 9 | I have an azure devops release (legacy interface, not yaml), where I need to transform 5 different config files corresponding to 5 different published artifacts. Can this be done with a single transformation, I am currently using 5 different qetza.xdttransform.xdttransform-task.xdttransform tasks to transform each fil... | How to transform multiple config files using multiple tokenize.config files using qetza.xdttransform.xdttransform-task.xdttransform | CC BY-SA 4.0 | null | 2023-03-02T16:16:04.247 | 2023-03-02T16:16:04.247 | null | null | 234,954 | [
"azure-devops",
"azure-pipelines-release-pipeline"
] |
75,618,108 | 1 | null | null | 0 | 7 | I have a folders with files like:
`/?id=10/index.html /?id=11/index.html /?id=12/index.html /?id=13/index.html`
How can I setup nginx location config to get /?id=10/index.html file for requested URL that is site.com/?id=10 ?
I tried
`try_files $uri?$args /$uri?$args $uri?$args/index.html /$uri?$args/index.html $uri$is_... | Nginx configuration to open files like /?id=10/index.html | CC BY-SA 4.0 | null | 2023-03-02T16:16:10.323 | 2023-03-02T16:16:10.323 | null | null | 7,814,246 | [
"nginx"
] |
75,618,109 | 1 | null | null | 1 | 18 | In my infinite quest of teaching myself program, I have come to find that the easiest questions to ask about doing something is the HARDEST to grasp (programming-wise).
Case in point:
Let's say I have an output from printing out a data frame:
```
Work Date Sequence Numbers
01/01/2023 01 02 03 04 05 06
02/01/... | Data extraction from existing series in pandas | CC BY-SA 4.0 | null | 2023-03-02T16:16:13.163 | 2023-03-02T16:36:11.360 | 2023-03-02T16:19:36.207 | 6,509,519 | 967,459 | [
"pandas",
"extract",
"cell"
] |
75,618,107 | 2 | null | 75,617,032 | 0 | null | You did not specify the language you are working with. Depending on what regex facilities the language supports it might be doable. In Python, for example, it can be done with:
```
import re
text = 'John Paul ...'
def do_replacement(m):
global match_number
match_number += 1
return f'Name{match_number}'
... | null | CC BY-SA 4.0 | null | 2023-03-02T16:16:04.487 | 2023-03-02T16:16:04.487 | null | null | 2,823,719 | null |
75,618,114 | 1 | null | null | 0 | 27 | I have a postgres database with the two columns
Chatroomid, userid
There are usually at least 2 people inside a chatroomid, but if a user leaves the chatroom, then there's only 1 row containing a specific chatroomid.
How can I delete a row if only 1 row returns from a query?
| How to delete row if only one returns? | CC BY-SA 4.0 | null | 2023-03-02T16:16:40.927 | 2023-03-02T21:09:30.230 | null | null | 4,310,761 | [
"postgresql"
] |
75,618,113 | 2 | null | 75,617,754 | 0 | null | You would need to `pivot_wider` after `pivot_longer` (and introduce labels before or after first pivot):
```
library(tidyverse)
cheeses<-tribble(
~Cheddar, ~Brie, ~Stilton,
1, 4, 2,
2, 4, 1,
1, 1, 3,
4, 1, 5,
3, 2, 4,
5, 3, 1,
1, 5, 2
)
cheeseslikert <- cheeses |>
mutate(across(
everything(),
... | null | CC BY-SA 4.0 | null | 2023-03-02T16:16:34.913 | 2023-03-02T16:16:34.913 | null | null | 10,744,082 | null |
75,618,112 | 1 | null | null | 0 | 9 | I am trying to display the string that the user defined with html tagging. Is that possible?
Here is the sample string:
```
"<h2>Introduction</h2><p>This document provides a guide to help with the important task of choosing the correct Apple.</p>"
```
When passing it to dash, I want dash to display/treat it as html ta... | How to treat strings as html tags in dash framework? | CC BY-SA 4.0 | null | 2023-03-02T16:16:34.487 | 2023-03-02T18:49:18.530 | null | null | 3,067,802 | [
"plotly-dash"
] |
75,618,110 | 2 | null | 75,615,281 | 1 | null | I don't follow why you put your style in a resource separate from the checkbox. I would lose the togglebutton.
I suggest you try:
```
<DataGridTemplateColumn Header="Selected" ClipboardContentBinding="{Binding Selected}">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<CheckBo... | null | CC BY-SA 4.0 | null | 2023-03-02T16:16:13.333 | 2023-03-02T16:16:13.333 | null | null | 426,185 | null |
75,618,115 | 2 | null | 39,414,973 | 0 | null | here is my answer
```
env | while IFS= read -r line; do key=$(echo $line | cut -d'=' -f1); value=$(echo $line | cut -d'=' -f2-); eb setenv $key="$value"; done
```
| null | CC BY-SA 4.0 | null | 2023-03-02T16:16:45.557 | 2023-03-02T16:16:45.557 | null | null | 5,908,768 | null |
75,618,117 | 1 | null | null | 0 | 8 | Im here to talk about a lost of a server by SSH so i'm using IPMI to get back to it.
Right now, when i'm logging into ipmi i have a SOL Session and then i try my login but it said "LOGIC INCORRECT" and i don't really know why.
As you can see my user list :
[](https://i.stack.imgur.com/HHBbx.png)
[SOL Session operationa... | IPMI Reset login/password by default with IPMITOOL | CC BY-SA 4.0 | null | 2023-03-02T16:16:53.500 | 2023-03-02T16:16:53.500 | null | null | 12,169,459 | [
"ssh",
"architecture",
"operating-system",
"ipmi",
"ipmitool"
] |
75,618,111 | 1 | null | null | 0 | 19 | I'm having trouble creating the unit test for my "homepage" component.
I want to test the function loadNews().
This is the error: Error: Cannot make XHRs from within a fake async test. Request URL: [https://hacker-news.firebaseio.com/v0/item/4657586786.json](https://hacker-news.firebaseio.com/v0/item/4657586786.json)
I... | Unit Test Angular ----> Error: Cannot make XHRs from within a fake async test | CC BY-SA 4.0 | null | 2023-03-02T16:16:18.720 | 2023-03-03T21:44:56.457 | 2023-03-03T13:52:48.340 | 21,249,931 | 21,249,931 | [
"angular",
"unit-testing",
"jasmine",
"karma-runner"
] |
75,618,122 | 1 | null | null | 1 | 36 | I am trying to access .env variables in PHP but whenever I try to echo these variables I get a value of `\n`
This is an example of what I have in my .env:
```
PARTNER_NAME=testing
PARTNER_PASSWORD=testing123
```
To setup being able to access .env variables I ran this command:
`composer require vlucas/phpdotenv`
And in... | Getting \n when trying to access .env variables using phpdotenv | CC BY-SA 4.0 | null | 2023-03-02T16:17:08.277 | 2023-03-03T15:33:26.713 | 2023-03-02T16:20:31.400 | 7,158,458 | 7,158,458 | [
"php"
] |
75,618,124 | 2 | null | 75,572,403 | 1 | null | ```
aspect-ratio: {video_width}/{video_height} !important;
```
This is not a valid CSS syntax. I think you should transpile this to valid CSS before use minimizer.
| null | CC BY-SA 4.0 | null | 2023-03-02T16:17:24.537 | 2023-03-02T16:19:54.483 | 2023-03-02T16:19:54.483 | 1,264,804 | 8,764,162 | null |
75,618,118 | 1 | null | null | 0 | 25 | I'm trying to understand how I can download a file if the url have a redirect before download it
```
const test = http.get(`https://www.google.com/reporting/downloadFile?id=${report_id}:${file_id}`, {
'headers': {
'Authorization': `Bearer ${session.accessToken}`,
'Content-Type': 'application/json',
}
}
```
res... | Download file after url redirect in NodeJS | CC BY-SA 4.0 | null | 2023-03-02T16:16:53.473 | 2023-03-02T16:26:29.927 | 2023-03-02T16:26:29.927 | 8,030,423 | 8,030,423 | [
"javascript",
"node.js",
"google-oauth",
"httprequest",
"http-redirect"
] |
75,618,120 | 1 | 75,618,791 | null | 0 | 26 | -> First of all I try to this in the axios request interceptor; if the parameter is then use token if the parameter is not uber I mean don't use token.
->After that how can I give as a parameter in the requsts in project file? When work in the project I want to set Authorization according to that uber parameter. Be... | How to send the parameter defined in the interceptor in the post request? | CC BY-SA 4.0 | null | 2023-03-02T16:16:57.953 | 2023-03-02T17:18:05.497 | 2023-03-02T16:57:49.730 | 20,863,358 | 20,863,358 | [
"javascript",
"node.js",
"typescript",
"rest",
"axios"
] |
75,618,123 | 1 | null | null | 0 | 18 | I want to create a json from scala to send that data in a POST method. I have this code below:
```
case class Project(key: String)
case class Priority(id: String)
case class Customfield(id: Array[String])
case class Fields(
summary:String,
project: Project,
priority: Priority,
description: String,
c... | Array of objects for a json format to send a POST method in Scala | CC BY-SA 4.0 | null | 2023-03-02T16:17:09.840 | 2023-03-02T16:17:09.840 | null | null | 20,340,091 | [
"arrays",
"json",
"scala",
"case"
] |
75,618,125 | 1 | null | null | 0 | 9 | We have changed the Viewer option from {env: 'AutodeskProduction', API: 'derivativeV2' } to {env: 'AutodeskProduction2', API: 'streamingV2' } to load dbIds which will match with model derivative API ObjectId. It was working fine with the previous viewer options.
But with this new change, we are facing a bug that only ... | How to load two viewers on a single page while using API as streamingV2 | CC BY-SA 4.0 | null | 2023-03-02T16:17:32.427 | 2023-03-02T16:17:32.427 | null | null | 21,320,387 | [
"autodesk-forge",
"autodesk-viewer",
"autodesk",
"autodesk-model-derivative",
"autodesk-bim360"
] |
75,618,131 | 1 | null | null | 0 | 5 | I can't delete my lost device from gmail and someone is using it on my gmail account,what should i do
[enter image description here](https://i.stack.imgur.com/36ric.png)
| my program is giving an error:urllib error in urllib.py line 436 | CC BY-SA 4.0 | null | 2023-03-02T16:18:26.023 | 2023-03-02T16:18:26.023 | null | null | 21,312,280 | [
"android",
"find",
"gmail"
] |
75,618,129 | 2 | null | 75,616,571 | 0 | null | So to give you general overview, main api subdomain in your example would be api.website.tld.
On this subdomain, you can have different api endpoints on different routes. For example:
```
/login
/cart
/item
```
On each of these route you would have some unique business logic.
Otherwise you are pretty on point, you wou... | null | CC BY-SA 4.0 | null | 2023-03-02T16:17:56.143 | 2023-03-02T16:17:56.143 | null | null | 14,868,388 | null |
75,618,119 | 1 | null | null | 0 | 15 | I am running a containerized application with the standard Python `logger` on aCOS on GCE. I followed the [official documentation](https://cloud.google.com/container-optimized-os/docs/how-to/logging#gcloud) and connected my logger to Cloud Logging via `--metadata google-logging-enabled=true` option used during the crea... | Passing log metadata and log severity levels from Container Optimized OS to Cloud Logging | CC BY-SA 4.0 | null | 2023-03-02T16:16:55.280 | 2023-03-02T16:16:55.280 | null | null | 6,347,091 | [
"python",
"google-cloud-platform",
"google-compute-engine",
"google-cloud-logging",
"google-container-optimized-os"
] |