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,614,334 | 1 | null | null | 1 | 86 | I wrote a C++ code snippet to test which copy constructor will be called during object slicing. The code is as follows:
```
#include <iostream>
using namespace std;
class pet
{
public:
pet ()
{
cout << "pet default constructor" << '\n';
}
pet (pet & p)
{
cout << "pet copy constructor" << '\n';
}
... | C++ copy constructor calling with object slicing | CC BY-SA 4.0 | null | 2023-03-02T10:42:57.877 | 2023-03-03T02:15:48.653 | 2023-03-03T02:15:48.653 | 18,960,490 | 18,960,490 | [
"c++",
"inheritance",
"object-slicing"
] |
75,614,341 | 2 | null | 73,718,171 | 0 | null | Please check the routes of src/app/homepage/homepage-component/homepage.module or post the code here.
I am pretty sure you have invalid routes there.
| null | CC BY-SA 4.0 | null | 2023-03-02T10:43:19.733 | 2023-03-02T10:43:19.733 | null | null | 3,424,426 | null |
75,614,339 | 1 | 75,618,027 | null | -1 | 19 | Black fail and reformat the following
```
foo1 = foo2[len(foo3):]
```
to
```
foo1 = foo2[len(foo3) :]
```
But Flake8 fails with
```
foo1 = foo2[len(foo3) :]
```
and wants
```
foo1 = foo2[len(foo3):]
```
Unless I am mistaken, in this case Flake8 is right.
How to make a pre-commit that doesn't fail with black and fla... | black and flake8 hooks conflicts | CC BY-SA 4.0 | null | 2023-03-02T10:43:11.973 | 2023-03-02T16:09:23.327 | null | null | 4,391,360 | [
"pre-commit-hook",
"flake8"
] |
75,614,331 | 1 | null | null | -3 | 10 | at decodeURI ()
at viteTransformMiddleware (file:///C:/Users/Ashutosh%20yadav/Desktop/complete%20web%20dev%20bootcamp/React%20js%20course/internship/classroom%20observation%20tool/node_modules/vite/dist/node/chunks/dep-ca21228b.js:60600:19)
at call (file:///C:/Users/Ashutosh%20yadav/Desktop/complete%20web%20dev%20bootc... | I am getting vite.js error this error shows me on local host | CC BY-SA 4.0 | null | 2023-03-02T10:42:39.810 | 2023-03-02T10:42:39.810 | null | null | 19,934,744 | [
"reactjs",
"vite"
] |
75,614,344 | 1 | null | null | -1 | 5 | So the issue is I installed Unsplash WordPress plugin to automatically use images in my blog posts but the issue is that that plugin doesn't show the scroll and load more options properly in the media popup box. If someone can fix it that would be a big help I am attaching the link to the support thread and also postin... | Unsplash wordpress plugin not having scroll or load more option working properly | CC BY-SA 4.0 | null | 2023-03-02T10:43:35.160 | 2023-03-02T10:45:26.773 | 2023-03-02T10:45:26.773 | 21,318,207 | 21,318,207 | [
"wordpress",
"web",
"plugins",
"wordpress-theming",
"wordpress-plugin-creation"
] |
75,614,335 | 1 | null | null | -1 | 17 | I am faced with a complex physical model involving five fitting parameters. I wrote a program from the mathematical model in Matlab that fits my experimental data. The optimization function I use is Fminsearch. It takes time, but fits pretty well. Now, my question is, how can I find the errors on my five fitting parame... | How to find the errors on fitting parameters during optimization | CC BY-SA 4.0 | null | 2023-03-02T10:43:03.017 | 2023-03-03T16:35:54.640 | 2023-03-03T16:35:54.640 | 5,211,833 | 21,318,178 | [
"matlab",
"fminsearch"
] |
75,614,338 | 1 | null | null | 1 | 32 | I am trying to calculate
1. No of HTTP request made by cURL to example.com
2. Total time taken for cURL to get string from example.com
3. No of Redirect count.
Code :
```
function file_get_contents_curl($url) {
$agent = $_SERVER['HTTP_USER_AGENT'];
$ch = curl_init();
curl_setopt($ch, CURLOPT_AUTOREFERER... | How to get PHP cURL info such as execute time and number of HTTP request made | CC BY-SA 4.0 | null | 2023-03-02T10:43:08.003 | 2023-03-02T12:27:09.220 | 2023-03-02T12:27:09.220 | 4,361,999 | 20,776,947 | [
"php",
"curl",
"httprequest",
"php-curl",
"time-estimation"
] |
75,614,342 | 2 | null | 75,609,221 | 1 | null | Those are the CSS selector to directly customize every part of the new Angular Material 15 Slider:
```
/* Change style of active track */
.mat-primary .mdc-slider__track--active_fill {
background-color: #00a716;
border: 0px solid #FFFFFF !important; /* Removes border from active track */
border-radius: 3px;... | null | CC BY-SA 4.0 | null | 2023-03-02T10:43:31.037 | 2023-03-02T10:43:31.037 | null | null | 2,893,733 | null |
75,614,347 | 2 | null | 75,173,678 | 0 | null | I encountered the same problem when defining web components in IFrame. If can, switch TinyMCE to inline mode to solve it.
| null | CC BY-SA 4.0 | null | 2023-03-02T10:44:11.037 | 2023-03-02T10:57:13.323 | 2023-03-02T10:57:13.323 | 5,211,833 | 7,276,841 | null |
75,614,343 | 1 | null | null | 0 | 15 | In a current project I work with the fatfreeframwork PHP Microframework. The pages contain recurring sections on multiple pages that only differ in the data displayed. Each of this sections is associated with a plain javascript file to handle interactions.
So far so good, everything works just fine. As I am now delving... | Using vuejs 3 and modules with DOM prerendered by PHP without compilation | CC BY-SA 4.0 | null | 2023-03-02T10:43:31.527 | 2023-03-02T10:43:31.527 | null | null | 685,683 | [
"javascript",
"php",
"vuejs3"
] |
75,614,345 | 1 | 75,615,335 | null | 1 | 21 | I have this object structure `SomeParamList`, where the key is a string and the values may be undefined or a on object of arbitrary key value pairs.
I want to specify a union type of the object keys that only include the ones where the value has at least `{ password: string }` in it.
```
type SomeParamList = {
FirstS... | Create union type for keys of properties with specific shape | CC BY-SA 4.0 | null | 2023-03-02T10:43:52.280 | 2023-03-02T12:20:39.987 | 2023-03-02T11:08:17.260 | 2,889,642 | 2,889,642 | [
"typescript",
"types",
"typescript-typings",
"type-narrowing"
] |
75,614,351 | 2 | null | 75,614,212 | 1 | null | `dotnet publish` is for .NET Core, to publish .NET Framework app you can use MSBuild directly. For example from Visual Studio Developer Command Prompt:
```
msbuild path_to_sln_file /p:DeployOnBuild=true /p:PublishProfile=<profile-name>
```
[Read more](https://learn.microsoft.com/en-us/aspnet/web-forms/overview/deploym... | null | CC BY-SA 4.0 | null | 2023-03-02T10:44:25.133 | 2023-03-02T10:44:25.133 | null | null | 2,501,279 | null |
75,614,352 | 1 | null | null | 0 | 24 | Hy,
how to hide powershell script window in windows 10 task scheduler application?
This is how I try:
-executionpolicy bypass "c:\script\teszt.ps1" - windowstyle hidden
but this doesn't work
the program starts, the powershell window remains on the screen in the foreground
| PowerShell use for windowstyle hidden parameter | CC BY-SA 4.0 | null | 2023-03-02T10:44:29.487 | 2023-03-02T10:44:29.487 | null | null | 15,028,673 | [
"powershell"
] |
75,614,346 | 1 | null | null | 0 | 25 | i have a table with time slots, one column with start time, one colun with end time, 12 slots time per day, example :
| start | end | value |
| ----- | --- | ----- |
| 101 | 230 | 10 |
| 231 | 400 | 11 |
| 401 | 500 | 12 |
| 2216 | 100 | 9 |
integer in column 'start' and column 'end' are time in 24h format. ex... | mysql select row between 2 time | CC BY-SA 4.0 | null | 2023-03-02T10:44:06.940 | 2023-03-02T17:55:55.817 | null | null | 7,801,415 | [
"mysql",
"time"
] |
75,614,354 | 1 | null | null | -1 | 17 | I need your help. How can i read a cell in pdf?
[enter image description here](https://i.stack.imgur.com/cISmi.png)
I need to get all the text in the cell.
| How can i read a cell pdf? | CC BY-SA 4.0 | null | 2023-03-02T10:44:35.943 | 2023-03-02T10:47:24.127 | 2023-03-02T10:47:24.127 | 7,329,832 | 19,641,034 | [
"c#",
".net",
"pdf"
] |
75,614,348 | 1 | null | null | 2 | 39 | Building a malware classifier for a class and I am just trying to implement a loop that goes through every file in a folder using os.listdir() and I specified that the folder is the given argv. I have been stuck on this problem for hours but I can't seem to figure out what the issue is.
The idea of my code is to "train... | Python FileNotFoundError with os.listdir(sys.argv[1]) | CC BY-SA 4.0 | null | 2023-03-02T10:44:16.377 | 2023-03-02T11:30:04.503 | 2023-03-02T11:29:01.607 | 51,685 | 21,318,197 | [
"python",
"classification",
"file-not-found",
"malware-detection"
] |
75,614,353 | 2 | null | 75,614,274 | 1 | null | You can just search the two properties only. This works:
```
const onSearchF = (keyword) => {
filtered = data.filter((entry) => (
entry.day.toLowerCase().includes(keyword.toLowerCase()) ||
entry.name.toLowerCase().includes(keyword.toLowerCase())
));
};
```
If you want to be fancier and not repe... | null | CC BY-SA 4.0 | null | 2023-03-02T10:44:32.593 | 2023-03-02T10:44:32.593 | null | null | 14,467,132 | null |
75,614,356 | 2 | null | 75,613,455 | 0 | null | When an option is selected from the datalist, it will trigger a `change` event in the input element. You can change your code to `hx-trigger="change"`.
```
<input list="users_list" type="text" name="name" placeholder="Username"
id="user_search_bar"
value=""
hx-trigger="change"
hx-headers='{"X-CSRFToken": "{... | null | CC BY-SA 4.0 | null | 2023-03-02T10:44:43.270 | 2023-03-02T10:44:43.270 | null | null | 6,905,499 | null |
75,614,350 | 1 | null | null | 0 | 11 | I am trying to locally install all the gems for a rails project.
I have an issue with mysql2. When I try to install it, I have the following error:
```
Fetching mysql2-0.5.5.gem
Temporarily enhancing PATH for MSYS/MINGW...
Installing required msys2 packages: mingw-w64-x86_64-libmariadbclient
error: mingw32: key "5F944B... | PGP key issue while trying to install mysql2 in rails project | CC BY-SA 4.0 | null | 2023-03-02T10:44:22.937 | 2023-03-02T21:37:12.443 | null | null | 5,295,849 | [
"mysql",
"ruby-on-rails",
"windows",
"pgp",
"pacman-package-manager"
] |
75,614,355 | 2 | null | 75,611,416 | 0 | null | That error indicates that that the `@name` parameter is null, and so Npgsql doesn't know which type to send. If the intention really is to insert null names, then you can set NpgsqlDbType on NpgsqlParameter.
Note that the following won't work: `encode(E'@passwordhash'::bytea, 'escape')`; you can't put a parameter place... | null | CC BY-SA 4.0 | null | 2023-03-02T10:44:39.760 | 2023-03-02T10:44:39.760 | null | null | 640,325 | null |
75,614,358 | 1 | null | null | -1 | 9 | Can someone please help to find the protocol used by the Azure portal to perform file operations in Azure Storage File based on SMB,FileREST
| Protocol used by the Azure portal to upload files to Azure storage Files | CC BY-SA 4.0 | null | 2023-03-02T10:44:59.220 | 2023-03-02T10:44:59.220 | null | null | 11,562,724 | [
"azure",
"azure-storage",
"azureportal",
"azure-storage-files"
] |
75,614,360 | 1 | null | null | 0 | 6 | My question is very similar to [https://groups.google.com/g/grpc-io/c/Yruej18KJ_M/m/oGp5vYocCgAJ](https://groups.google.com/g/grpc-io/c/Yruej18KJ_M/m/oGp5vYocCgAJ)
I want to implement a service agnostic gRPC proxy in C++, which forwards the request from the Client to the Server and forwards the response back from the s... | how to proxy grpcs messages in C++ in a stateless manner | CC BY-SA 4.0 | null | 2023-03-02T10:45:04.913 | 2023-03-02T10:45:04.913 | null | null | 21,257,490 | [
"grpc-c++"
] |
75,614,362 | 2 | null | 75,614,300 | 2 | null | As far as I can see, [the internal TclStringCmp function](https://github.com/tcltk/tcl/blob/e3e5fcc0a8a3786dfa4a405e91610fc3c8d6c2e8/generic/tclStringObj.c#L3468-L3476) basically does the same thing: calls `Tcl_GetUnicodeFromObj` or `Tcl_GetStringFromObj` on the objects and `memcmp`s them.
| null | CC BY-SA 4.0 | null | 2023-03-02T10:45:12.547 | 2023-03-02T10:45:12.547 | null | null | 51,685 | null |
75,614,361 | 1 | null | null | 0 | 14 | I am working on an application which is composed of multiple Lit components. To do this, I have used the @open-wc generator to scaffold the application and managed to create the functionality I wanted.
However, I would like to extract the CSS from the tagged template literal and have separate less files. The idea is ... | Using Less with Lit Components | CC BY-SA 4.0 | null | 2023-03-02T10:45:08.077 | 2023-03-02T10:45:08.077 | null | null | 1,809,790 | [
"less",
"rollupjs",
"lit"
] |
75,614,365 | 2 | null | 34,119,793 | 0 | null | After login Success Message,Just One line Code Just Add your page Link to redirect
alert("Login Successfully");
| null | CC BY-SA 4.0 | null | 2023-03-02T10:45:17.407 | 2023-03-02T10:45:42.233 | 2023-03-02T10:45:42.233 | 16,044,794 | 16,044,794 | null |
75,614,364 | 1 | null | null | 0 | 21 | In my Angular 14 project is not working.
It's showing this error:
> declare (property) TimepickerDirective.timepicker:
NgxMaterialTimepickerComponent Type 'MatDatepicker' is missing
the following properties from type 'NgxMaterialTimepickerComponent':
eventService, domService, timeUpdated, cancelBtnTmpl, and 32
more.ng... | Cannot get ngx-material-timepicker to work in my Angular Project | CC BY-SA 4.0 | null | 2023-03-02T10:45:15.977 | 2023-03-02T14:14:00.313 | 2023-03-02T14:14:00.313 | 884,123 | 19,585,696 | [
"angular",
"npm-install",
"timepicker"
] |
75,614,363 | 2 | null | 75,602,230 | 0 | null | If you don't want to create wrappers a solution could be to register a delegate in the dependency injection.
You start by defining a delegate that returns a ServiceBusReceiver based on a name :
```
public delegate ServiceBusReceiver ServiceBusReceiverResolver(string name);
```
Then you can register an implementation ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:45:15.893 | 2023-03-02T10:45:15.893 | null | null | 9,428,912 | null |
75,614,357 | 1 | null | null | -2 | 20 | Why i cant acess the $INI array inside the DB Class? I get always an null value.
php/db.php
```
<?php
class DB
{
static function connection()
{
//mysqli_report(MYSQLI_REPORT_OFF);
$mysqli = @new mysqli($INI["db_host"],
$INI["db_user"],
$INI["db_pass"],
$INI["d... | array outside of the class, can't access | CC BY-SA 4.0 | null | 2023-03-02T10:44:51.020 | 2023-03-02T10:46:15.960 | 2023-03-02T10:46:15.960 | 21,318,205 | 21,318,205 | [
"php",
"mysqli",
"mariadb",
"wamp64"
] |
75,614,368 | 1 | null | null | 0 | 7 | I'm using `split_on_silence` to split a mp3 file to multiple segments:
```
sound = AudioSegment.from_mp3(TEST_FILE)
audio_chunks = split_on_silence(sound, min_silence_len=300, keep_silence=50, silence_thresh=-40 )
```
Is it possible (How can I do it) to get the origin start-stop times for each chunk?
| How to get the chunk times from pydub split_on_silence? | CC BY-SA 4.0 | null | 2023-03-02T10:45:25.000 | 2023-03-02T10:45:25.000 | null | null | 3,668,129 | [
"python",
"pydub"
] |
75,614,366 | 2 | null | 75,614,324 | 2 | null | The innermost `friend` object has no `friend` property, so accessing it gives you `undefined`. But you're testing for `null`, not `undefiend`. With `===` and `!==`, `null` and `undefined` are distinct. With `==` and `!=`, they're treated as though they were the same.
In this particular case, since you're expecting `cur... | null | CC BY-SA 4.0 | null | 2023-03-02T10:45:18.427 | 2023-03-02T11:03:40.110 | 2023-03-02T11:03:40.110 | 157,247 | 157,247 | null |
75,614,367 | 1 | null | null | 0 | 20 | I'm trying to create this table, but I can't identify where the error is. Please help me, the error message doesn't seem clear to me.
Is there a comma or other character wrong?
This is the message:
This is the code:
```
CREATE EXTERNAL TABLE IF NOT EXISTS default.credito (
`idade` int,
`sexo` string,
`dependent... | mismatched input 'EXTERNAL'. Expecting: 'MATERIALIZED', 'OR', 'ROLE', 'SCHEMA', 'TABLE', 'VIEW' | CC BY-SA 4.0 | null | 2023-03-02T10:45:20.107 | 2023-03-02T12:32:20.700 | 2023-03-02T11:45:35.250 | 21,318,191 | 21,318,191 | [
"sql",
"amazon-s3",
"syntax-error",
"amazon-athena"
] |
75,614,369 | 1 | null | null | -1 | 17 | I have a string in QT that is represented as given below. The exact matching text "$steepAxis " has to be replaced with the value "1.4 mm"
```
QString str = "$steepAxisLable $steepAxis";
```
The final value of the string after replacing the text to be `"$steepAxisLable 1.4 mm"`
I tried the following options that did n... | Replace an exact matching string that starts with $ | CC BY-SA 4.0 | null | 2023-03-02T10:45:25.480 | 2023-03-02T10:45:25.480 | null | null | 382,485 | [
"c++",
"regex",
"qt",
"qregularexpression"
] |
75,614,370 | 1 | 75,617,434 | null | 0 | 19 | I get a weird artifact when using a border-radius and ring-offset on a button. You can see in the image there's a small artifact on the corner. Is there any way to fix this?
[](https://i.stack.imgur.com/jTxpK.png)
```
<button type="button" class="flex items-center rounded-md text-xs text-gray-500 underline outline-none... | tailwindcss ring-offset has an artifact | CC BY-SA 4.0 | null | 2023-03-02T10:45:27.660 | 2023-03-02T15:18:10.263 | 2023-03-02T10:51:25.900 | 20,618,764 | 20,618,764 | [
"tailwind-css"
] |
75,614,301 | 1 | null | null | -1 | 31 | Here are my 4 codes that I worked on in English, this question is related to my previous one, there are small changes, but very few, the biggest changes are only that it is written in Serbian there and in English here, I hope you will understand a little better and manage to solve it, if someone is free we can contact ... | Unity quiz game, problem to make three attempts for each question again | CC BY-SA 4.0 | null | 2023-03-02T10:39:35.850 | 2023-03-02T12:24:10.487 | 2023-03-02T12:24:10.487 | 224,734 | 21,304,857 | [
"c#",
"visual-studio",
"unity3d"
] |
75,614,340 | 1 | null | null | 0 | 4 | I am trying to print this svg into pdf document, using tcpdf library. But its giving error "Warning: Undefined array key "SVGID_00000134227412453953976130000002686031199923870850_""
Note: I am able to print many other SVGs without issues, but this one seems to using some code which is not read by tcpdf or it doesn't su... | svg image in TCPDF giving error "undefined array key" | CC BY-SA 4.0 | null | 2023-03-02T10:43:16.477 | 2023-03-02T10:43:16.477 | null | null | 11,345,850 | [
"tcpdf"
] |
75,614,359 | 2 | null | 75,614,007 | 2 | null | You can try Regex(@"(\w+)\s*=\s*([^,]*)") to split like this
```
tag_id: 0x534D43010005600803251100
type: ISOC
antenna: 1
frequency: 919000
rssi: -451
tx_power: 280
tid: 0xE2003412012DF30009DA43851F0E0074300541FBFFFFDC50
```
Full sample:
```
public static void Main()
{
string input = "event.tag.report tag_id=0x534... | null | CC BY-SA 4.0 | null | 2023-03-02T10:45:02.673 | 2023-03-03T03:52:22.740 | 2023-03-03T03:52:22.740 | 10,293,903 | 10,293,903 | null |
75,614,373 | 2 | null | 75,614,324 | 1 | null |
### It is because you are advancing to a .friend that doesn't exist
On the final step, you are expecting this to yield `undefined`:
```
currentFrench = currentFrench.friend
```
That happens, but then the while criterion is not met: currentFrency (undefined) really is exactly equal to `null`, so the `while` continu... | null | CC BY-SA 4.0 | null | 2023-03-02T10:45:39.630 | 2023-03-02T10:51:56.643 | 2023-03-02T10:51:56.643 | 7,549,483 | 7,549,483 | null |
75,614,375 | 2 | null | 50,236,117 | 0 | null | I had the problem that python somehow was trying to use a `cert.pem` file that didn't exist. This can be seen by running:
```
import ssl
paths = ssl.get_default_verify_paths()
```
The `openssl_cafile` pointed to `/etc/ssl/cert.pem` which did not exist under that path.
Setting `SSL_CERT_FILE` to a path that does exist ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:45:46.603 | 2023-03-02T10:45:46.603 | null | null | 577,179 | null |
75,614,381 | 2 | null | 73,663,641 | 0 | null | This is happening because all the templates reference the React Native dependency by range, like `implementation 'com.facebook.react:react-native:+'.` Usually this dependency gets resolved from the local Maven repo in ./node_modules/react-native/android but since it has been published to Maven Central it's now grabbing... | null | CC BY-SA 4.0 | null | 2023-03-02T10:46:10.327 | 2023-03-02T10:46:10.327 | null | null | 12,278,890 | null |
75,614,378 | 2 | null | 13,250,180 | 0 | null | My solution:
```
lock="/tmp/name_of_lockfile.lck"
echo "Lockfile $lock"
exec 200>$lock
/usr/bin/flock -n --verbose 200 || exit 1
```
So when running succesfull
```
Lockfile /tmp/name_of_lockfile.lck
flock: getting lock took 0.000006 seconds
```
and not succesfull
```
Lockfile /tmp/name_of_lockfile.lck
flock: failed t... | null | CC BY-SA 4.0 | null | 2023-03-02T10:45:53.043 | 2023-03-02T10:45:53.043 | null | null | 4,027,355 | null |
75,614,376 | 2 | null | 75,612,087 | 0 | null | Discord wants every interaction being replied, otherwise it says that the interaction has failed.
In your code, you are editing the message, not replying to the button interaction. So Discord thinks you didn't complete anything when your button was called, so it says the interaction has failed.
Therefore, to fix this, ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:45:47.243 | 2023-03-02T10:51:12.360 | 2023-03-02T10:51:12.360 | 17,936,954 | 17,936,954 | null |
75,614,377 | 2 | null | 75,613,052 | -1 | null | I ended up making a bash script. It first check if you execute it at the root project, move all .env* to ., build, move back all .env* to initial location and push.
```
#!/bin/bash
# Check if correct execution path
cando=$(ls pyproject.toml)
if [ $? -ne 0 ]; then
echo "Wrong execution path"
exit
fi
# List all .en... | null | CC BY-SA 4.0 | null | 2023-03-02T10:45:51.550 | 2023-03-02T10:45:51.550 | null | null | 16,399,600 | null |
75,614,383 | 1 | 75,617,163 | null | 0 | 22 | when I create a window and set the skipTaskbar directly in the configurations, it works:
```
mainWindow = new BrowserWindow({
autoHideMenuBar: true,
frame: false,
webPreferences: {
contextIsolation: false,
nodeIntegration: true,
enableRemoteModule: true,
preload: path.join(__dirname,... | mainWindow.skipTaskbar has no effect | CC BY-SA 4.0 | null | 2023-03-02T10:46:32.093 | 2023-03-02T14:54:07.753 | 2023-03-02T10:57:28.770 | 17,518,287 | 17,518,287 | [
"javascript",
"electron"
] |
75,614,380 | 2 | null | 75,613,887 | 1 | null | I assume, you have a string of html elements and not the actual `DOM elements`, You can try the below snippet:
```
const htmlString = `<html>
<body>
<form class="class1">
<input id="hello" type="text"/>
</form>
<form id="form2" class="class1">
<input id="hi" type="text"/>
</form>
<form class="... | null | CC BY-SA 4.0 | null | 2023-03-02T10:46:04.053 | 2023-03-02T10:46:04.053 | null | null | 9,015,828 | null |
75,614,374 | 1 | null | null | 0 | 46 | I am unable to change the checkbox value when I click on it. But when I save it and re-call the API I am getting the expected value.
```
{state?.skuModifierList?.map((item) => {
return (
<Panel
header={item?.name}
key={item.id}
className="panel-styles"
extra=... | Why doesn't my checkbox change when I click on it | CC BY-SA 4.0 | null | 2023-03-02T10:45:43.677 | 2023-03-02T17:29:05.897 | 2023-03-02T16:30:07.943 | 3,209,880 | 20,372,760 | [
"javascript",
"reactjs",
"arrays",
"checkbox",
"antd"
] |
75,614,384 | 2 | null | 75,614,088 | 0 | null | Taken from the [express API docs](https://expressjs.com/en/api.html), `express()` creates an express application, while `http.createServer()` actually returns an HTTP Server.
We would pass the express application as a parameter into the `createServer` method to create an express server.
Check out the `createServer` [do... | null | CC BY-SA 4.0 | null | 2023-03-02T10:46:42.983 | 2023-03-02T10:46:42.983 | null | null | 3,053,927 | null |
75,614,389 | 1 | null | null | 1 | 21 | I have list of customer Accounts, by using iterate mediator iterating over customer ID, with this ID calling one HTTP endpoint through call mediator finally using aggregate mediator Iam combining all the result payload and I want to store the result payload in property mediator for further use case.. Thanks
| can we store aggregate mediator result payload into a property mediator in wso2? | CC BY-SA 4.0 | null | 2023-03-02T10:47:05.993 | 2023-03-02T12:09:00.343 | null | null | 20,974,055 | [
"wso2",
"wso2-esb",
"wso2-enterprise-integrator"
] |
75,614,387 | 2 | null | 62,860,726 | 0 | null | We implemented a similar retry functionality over the Azure Service Bus using the "Azure.Messaging.ServiceBus" library.
What worked for us was using the ProcessMessageEventArgs.DeadLetterMessageAsync(ServiceBusReceivedMessage )
```
{
var sbClient = new ServiceBusClient($"{servicebusNamespace}.servicebus.windows.net", t... | null | CC BY-SA 4.0 | null | 2023-03-02T10:47:02.867 | 2023-03-02T10:47:02.867 | null | null | 10,133,003 | null |
75,614,385 | 2 | null | 26,515,058 | 0 | null | I have my apps theme derived from `Theme.Material3.DayNight.NoActionBar` which has `<item name="windowActionBar">false</item>` and it works fine on all activities.
But as soon as I switch the device to dark mode I get the error.
I have to apply
```
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">f... | null | CC BY-SA 4.0 | null | 2023-03-02T10:46:54.203 | 2023-03-02T10:46:54.203 | null | null | 5,564,358 | null |
75,614,388 | 2 | null | 75,613,994 | 0 | null | ```
'mysql_testing' => [
'driver' => 'mysql',
'database' => "testing_db",
'host' => env('DB_HOST', '127.0.0.1'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
],
```
i want to the database.php file and set up the mysq... | null | CC BY-SA 4.0 | null | 2023-03-02T10:47:04.967 | 2023-03-02T10:47:04.967 | null | null | 17,381,186 | null |
75,614,391 | 1 | null | null | 1 | 41 | I am trying to upgrade some of my projects from Java 11 to Java 17. I upgraded my Gradle version to 7.3.3 and Lombok to 1.18.22. Despite that, when I change the project SDK to Java 17, I get the IllegalAccessError that was supposed to be fixed by upgrading Lombok to 1.18.22.
Java version: 17
Gradle version: 7.3.3
Lombo... | Lombok illegal access error when upgrading to Java 17 | CC BY-SA 4.0 | null | 2023-03-02T10:47:12.137 | 2023-03-02T20:56:14.750 | 2023-03-02T20:56:14.750 | 13,927,534 | 21,317,916 | [
"java",
"gradle",
"lombok"
] |
75,614,393 | 1 | null | null | -2 | 23 | I'm trying to clone my repo from github by writing in the git bash " git clone " and I copied the https and pasted it in the terminal and it says :
Cloning into 'ziadAhmed19'...
fatal: curl_global_init failed
and i tried specifying my name before github and it did not work so is there something im missing ?
| I Have A Problem Cloning with Git using https | CC BY-SA 4.0 | null | 2023-03-02T10:47:19.997 | 2023-03-04T00:35:40.593 | 2023-03-02T11:05:01.840 | 736,079 | 21,318,218 | [
"git",
"github"
] |
75,614,382 | 1 | null | null | 0 | 27 | ```
package com.example.Assessment.models;
import jakarta.persistence.*;
import lombok.*;
import java.util.Date;
import java.util.Optional;
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString
@Entity
@Table(name = "assessment")
public class Assessment {
@Id
@GeneratedValue(strategy = Ge... | How to have a Optional type in an entity springboot | CC BY-SA 4.0 | null | 2023-03-02T10:46:15.757 | 2023-03-02T13:06:42.210 | 2023-03-02T11:56:33.657 | 20,571,491 | 20,571,491 | [
"spring",
"spring-boot",
"hibernate",
"jpa"
] |
75,614,392 | 2 | null | 75,614,037 | 2 | null | If you are on Enterprise (or developer) then use a `DEFAULT` `CONSTRAINT` at the time you create the column will likely be the better choice (especially if you're unlikely to need to `UPDATE` the existing rows in the future), as this change is performed online (see this [answer](https://stackoverflow.com/a/39005281/202... | null | CC BY-SA 4.0 | null | 2023-03-02T10:47:19.227 | 2023-03-02T10:47:19.227 | null | null | 2,029,983 | null |
75,614,397 | 2 | null | 36,552,950 | 0 | null | I'm encountering a similar issue and found two solutions that work as far as viewing the application directly in a browser
ngrok http 8080 --host-header="localhost:8080"
ngrok http --host-header=rewrite 8080
obviously, replace 8080 with whatever port you're running on
this solution still raises an error when I use this... | null | CC BY-SA 4.0 | null | 2023-03-02T10:47:29.197 | 2023-03-02T10:47:29.197 | null | null | 21,317,378 | null |
75,614,396 | 1 | null | null | 1 | 26 | I would like to see the name of all deleted `.scss` files in a release branch `release/1.0` compared to master branch `master`.
I tried
```
git checkout release/1.0
git diff --name-only master
```
But i can see other files than `.scss` and i can not see if the file is deleted, added or modified.
| See deleted files between two git branches of specific file type | CC BY-SA 4.0 | null | 2023-03-02T10:47:27.453 | 2023-03-03T05:45:43.250 | null | null | 5,279,274 | [
"git",
"diff",
"delete-file",
"git-diff"
] |
75,614,398 | 2 | null | 22,765,648 | 0 | null | Based on @Aaron's answer, the trick is to provide `-SSLFlags 1` to the New-Item command:
```
New-Item -Path "IIS:\SslBindings\!443!www.site.com -SslFlags 1
```
| null | CC BY-SA 4.0 | null | 2023-03-02T10:47:32.320 | 2023-03-02T10:47:32.320 | null | null | 11,425,799 | null |
75,614,390 | 1 | null | null | 0 | 17 | I am trying to do the followings:
- - -
Here is an example of my code:
```
async function updatezipfile(){
var zip = await JSZip.loadAsync('oldfile.zip');
zip.forEach(function (relativePath, zipEntry) {
if (zipEntry.name.indexOf('abc') > -1) {
//update the file
zip.file(relativePath, updatedcontent);
... | JSZip - how to download the updated file after I change the files inside the zip file | CC BY-SA 4.0 | null | 2023-03-02T10:47:06.477 | 2023-03-02T10:49:18.020 | 2023-03-02T10:49:18.020 | 19,724,768 | 19,724,768 | [
"javascript",
"foreach",
"promise",
"callback",
"jszip"
] |
75,614,400 | 2 | null | 75,614,274 | 2 | null | ```
const data =[
{
name: 'name',
day: 'monday',
year: '2023',
user:'user13421'
},
{
name: 'name1',
day: 'monday1',
year: '20231',
user:'user134211'
}
]
const filterKeys = ['name', 'day'];
let filtered;
const onSearchF = (keyword) => {
const lowerKeyword = keyword.toLowerCase();
filtere... | null | CC BY-SA 4.0 | null | 2023-03-02T10:47:47.330 | 2023-03-02T10:47:47.330 | null | null | 11,140,468 | null |
75,614,402 | 1 | null | null | -2 | 18 | I have a list `A`. I am dividing each element of this list but whenever `0` is encountered in `A`, I want to insert `0` in `B1`. But I am getting an error. I present the expected output.
```
A=[0.0, 1, 0.0, 2, 3, 4, 5]
B1=[]
for i in range(0,len(A)):
B=1/A[i]
B1.append(B)
print(B1)
```
The error is
```
in <mo... | Division by zero in Python | CC BY-SA 4.0 | null | 2023-03-02T10:47:55.823 | 2023-03-02T10:47:55.823 | null | null | 21,318,122 | [
"python",
"list"
] |
75,614,379 | 1 | null | null | 0 | 30 | I recently added dagger to my Java android project and ever since I added the dependency, all the activities in the manifest start showing error stated as:
(instead of AppCompatActivity)
Whereas in the activity java files no methods (onCreate, for example) can be overridden anymore with the error:
Code for reference:... | Dagger Hilt having issues with AppCompatActivity | CC BY-SA 4.0 | null | 2023-03-02T10:45:54.483 | 2023-03-03T08:20:42.507 | 2023-03-03T08:20:42.507 | 557,179 | 13,554,261 | [
"java",
"android",
"android-activity",
"manifest",
"dagger"
] |
75,614,403 | 1 | null | null | -2 | 32 | I have a problem with my MYSQL QUERY.
It's a nested Query with a few joins...
I already tryed it with the `WHERE IN` Clause but i get always a syntax error and i don't know why the eroro is always throwed. Also tryed to make a `WHERE` clause and followed with many `OR`'s.
```
SELECT DISTINCT *
FROM posts
INNER JO... | MYSQl Syntax error (1064) on WHERE ... IN (..., ..., ...) | CC BY-SA 4.0 | null | 2023-03-02T10:48:01.957 | 2023-03-02T11:26:50.027 | 2023-03-02T11:18:18.510 | 2,310,830 | 19,949,752 | [
"mysql",
"database",
"join",
"where-clause",
"where-in"
] |
75,614,405 | 1 | null | null | 1 | 21 |
#### The issue
Mypy gives no overload variant of `__getitem__` of "DataFrame" matches argument type "MyEnum" error. In this case the argument type is an Enum but the issue would occur for any other custom type. Here is the signature of `__get_item__` below.
```
def __getitem__(self, Union[str, bytes, date, datetime,... | mypy indexing pd.DataFrame with an Enum raises no overload variant error | CC BY-SA 4.0 | null | 2023-03-02T10:48:09.893 | 2023-03-02T10:48:09.893 | null | null | 1,935,611 | [
"python",
"pandas",
"mypy"
] |
75,614,395 | 2 | null | 75,614,007 | 2 | null | One way to potentially improve the speed of the parsing process is to use a compiled regular expression to extract the property values from the input string, rather than splitting the string and extracting values by index. But [regex is slower in many cases](https://stackoverflow.com/questions/16638637/whats-faster-reg... | null | CC BY-SA 4.0 | null | 2023-03-02T10:47:27.013 | 2023-03-02T12:23:44.073 | 2023-03-02T12:23:44.073 | 5,649,561 | 5,649,561 | null |
75,614,406 | 2 | null | 75,614,346 | 1 | null | ```
SELECT value FROM table WHERE start < 2 AND end > 2
```
| null | CC BY-SA 4.0 | null | 2023-03-02T10:48:20.340 | 2023-03-02T10:48:20.340 | null | null | 4,506,612 | null |
75,614,410 | 1 | null | null | 0 | 25 | for example
say you had
```
public abstract class class1 {
}
public class2 extends class1 {
String id = "id_for_class2"
}
public class3 extends class1 {
String id = "id_for_class3"
}
public class4 extends class1 {
String id = "id_for_class4"}
```
And you want to use reflection to get a specific class based on the ... | is there a way to use java reflection to find a class using the classes variable? | CC BY-SA 4.0 | null | 2023-03-02T10:48:40.263 | 2023-03-02T14:20:42.897 | null | null | 10,675,304 | [
"java",
"reflection"
] |
75,614,404 | 1 | 75,617,898 | null | 0 | 52 | I'd like to achieve a sort of "defaults" for Ansible a dictionary of dictionaries within my inventory variables.
I understand that filters may be used to achieve something along these lines, but I cannot figure out the exact incantation to make this happen.
With a single-dimension dictionary a `combine` filter can be u... | Combine each element in a dictionary with a default set of parameters | CC BY-SA 4.0 | null | 2023-03-02T10:48:06.667 | 2023-03-03T00:05:18.063 | 2023-03-03T00:05:18.063 | 6,482,561 | 21,318,106 | [
"ansible",
"ansible-template"
] |
75,614,407 | 1 | null | null | 0 | 26 | There is an Oracle 11g RAC database in our system.
The server has 2 E5-2403 CPUs and a total of 8 cores.
There is the config in the database:
num_cpu: 8
num_cpu_cores: 3
num_cpu_sockets: 1
sessions_current: 88
sessions_highwater: 112
---
I hound this log in the orcl_lmhb_xxxx.trc file:
```
*** 2022-11-13 03:45:09.81... | Found 'CPU is high' in Oracle's trc log file, but CPU usage is less than 25% indeed | CC BY-SA 4.0 | null | 2023-03-02T10:48:31.917 | 2023-03-02T12:14:46.817 | 2023-03-02T10:54:21.260 | 6,513,828 | 6,513,828 | [
"oracle"
] |
75,614,412 | 2 | null | 74,937,191 | 0 | null | Seems that Micrometer 1.10.x has done it for httpclient5 but not released yet in 1.10.4 :(
[https://github.com/micrometer-metrics/micrometer/blob/main/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/httpcomponents/hc5/PoolingHttpClientConnectionManagerMetricsBinder.java](https://github.com/micrometer... | null | CC BY-SA 4.0 | null | 2023-03-02T10:48:43.433 | 2023-03-02T10:48:43.433 | null | null | 10,811,927 | null |
75,614,413 | 2 | null | 75,614,263 | 1 | null | There's an [open issue on Pillow](https://github.com/python-pillow/Pillow/issues/5877) regarding this behaviour, with a [pull request](https://github.com/python-pillow/Pillow/pull/5879/commits) that truncates the palette on `quantize()`.
You can truncate the palette yourself:
```
from PIL import Image, ImagePalette
te... | null | CC BY-SA 4.0 | null | 2023-03-02T10:48:43.633 | 2023-03-02T10:48:43.633 | null | null | 21,146,235 | null |
75,614,408 | 1 | null | null | 0 | 22 | I'm working on a fullstack project I'm using Jakarta rest service for server side & vuejs for client side.
This is the Java Ressource class:
```
@Path("/test")
public class HelloResource {
@GET
@Produces("application/json")
public Response hello() {
JSONPObject jsonpObject = new JSONPObject("callbac... | Fixing CORS error in Jakarta EE rest service | CC BY-SA 4.0 | null | 2023-03-02T10:48:33.083 | 2023-03-02T10:48:33.083 | null | null | 19,355,123 | [
"jakarta-ee",
"axios",
"cors",
"jax-rs"
] |
75,614,401 | 1 | null | null | 0 | 33 | Can't figure out what I am doing wrong. When passing the correct Bearer token everything works fine. But, when trying to invoke an "Unauthorized" by passing the wrong token I get :
`JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.`
My code:
```
import i... | JWT signature does not match locally computed signature - only happens when bearer token is incorrect | CC BY-SA 4.0 | null | 2023-03-02T10:47:48.057 | 2023-03-02T11:04:04.673 | 2023-03-02T11:04:04.673 | 14,960,124 | 14,960,124 | [
"java",
"kotlin",
"authentication",
"spring-security",
"jwt"
] |
75,614,417 | 2 | null | 20,592,808 | 0 | null |
# performance comparison: list.extend() is the best
```
In [1]: it1 = [1, 2, 3]
In [2]: it2 = (4, 5)
In [3]: %timeit -n 1000000 it1 + list(it2)
146 ns ± 0.475 ns per loop (mean ± std. dev. of 7 runs, 1,000,000 loops each)
In [4]: %timeit -n 1000000 it1 + [el for el in it2]
221 ns ± 0.368 ns per loop (mean ± std. ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:49:07.437 | 2023-03-02T10:49:07.437 | null | null | 7,128,154 | null |
75,614,415 | 2 | null | 74,253,343 | 0 | null | Not sure if this is still an issue for you but I was experiencing this issue as well. For context I was embedding react-select dropdowns into a custom header component for react-datepicker. The dropowns control the year and month selection.
On desktop everything worked but on mobile/responsive screen I was experiencing... | null | CC BY-SA 4.0 | null | 2023-03-02T10:48:58.640 | 2023-03-02T10:48:58.640 | null | null | 21,318,190 | null |
75,614,419 | 1 | 75,633,336 | null | 0 | 17 | We have a requirement to use signed helm chart and I am trying to push the helm chart and provenance file to ECR but it seems I am always getting error.
```
helm --debug push mychart-0.1.0.tgz.prov oci://<account_id>.dkr.ecr.<region>.amazonaws.com/mychart
Error: file 'mychart-0.1.0.tgz.prov' does not appear to be a gzi... | How to push the helm provenance file to ECR | CC BY-SA 4.0 | null | 2023-03-02T10:49:08.393 | 2023-03-04T02:43:42.940 | null | null | 2,598,351 | [
"amazon-web-services",
"docker-registry",
"amazon-ecr"
] |
75,614,420 | 1 | null | null | 0 | 31 | I have a series of values that I need to rank by a previously set number of ranks. In this particular case, I need to rank the values in 8 different grades/ranks/categories. There are 56 values, so every rank would have 7 values (56/8=7). I need to assign with formula number 1 to the lowest 7 values, number 2 to the ne... | Assign rank to cell values based on defined number of ranks | CC BY-SA 4.0 | null | 2023-03-02T10:49:17.183 | 2023-03-02T11:14:17.357 | 2023-03-02T10:55:48.303 | 21,064,495 | 21,064,495 | [
"excel",
"excel-formula"
] |
75,614,418 | 1 | 75,614,773 | null | 0 | 42 | I have 2 services which both have a observable, and a component that get the last emitted value of both observables but the `combineLast` already fires when 1 observable changes, not both:
```
export class CreateSessionComponent {
constructor(
private sessionService: SessionService,
private userService: User... | combineLatest doesn't wait for observable to emit value | CC BY-SA 4.0 | null | 2023-03-02T10:49:07.960 | 2023-03-02T12:54:49.853 | 2023-03-02T12:08:41.470 | 310,726 | 848,706 | [
"angular",
"typescript",
"rxjs"
] |
75,614,411 | 1 | null | null | -3 | 18 | Everything works perfect, just require to access only rear camera instead of onchange.
This is working on IOS and other browsers. require to click and save.
I am able to do it via jQuery, but that won't give me proper result as expected by this script.
please help me out to resolve the issue.
thanks
```
'use strict';
... | Accessing rear facing camera in Javascript | CC BY-SA 4.0 | null | 2023-03-02T10:48:40.680 | 2023-03-02T10:52:03.303 | 2023-03-02T10:52:03.303 | 1,529,409 | 1,529,409 | [
"javascript",
"html5-canvas",
"html5-video"
] |
75,614,422 | 2 | null | 75,604,975 | 0 | null | Same observation here, apart from the fact it is "31 files to analyze" in my case. Interestingly, though, it occurs in two independent workspaces with the exact same number of files (31).
| null | CC BY-SA 4.0 | null | 2023-03-02T10:49:31.573 | 2023-03-02T10:49:31.573 | null | null | 15,356,452 | null |
75,614,423 | 2 | null | 75,614,151 | 0 | null | There may be a more convenient way but using `eval(parse(text=...))` will convert the characters into an expression, i.e. your variable :
```
temp = subset(df, eval(parse(text=paste0("Diag",i))) %in% code_list,
select = c("id", paste0("Diag",i), paste0("Date",i)))
```
| null | CC BY-SA 4.0 | null | 2023-03-02T10:49:39.377 | 2023-03-02T10:49:39.377 | null | null | 15,368,235 | null |
75,614,414 | 1 | null | null | -3 | 21 | I'm using spring security.
when I send a wrong password to authentication, and I debug the spring security,
1. then AuthenticationEntryPoint (Http403ForbiddenEntryPoint) will send an error response (403).
[](https://i.stack.imgur.com/3vVwQ.png)
1. But I find an /error is requested again.
I wonder why this `/error... | spring security: why /error is request again when authentication failed | CC BY-SA 4.0 | null | 2023-03-02T10:48:48.337 | 2023-03-03T02:19:13.520 | 2023-03-03T02:19:13.520 | 9,087,528 | 9,087,528 | [
"spring-boot",
"spring-security"
] |
75,614,421 | 1 | 75,614,746 | null | 1 | 22 | I have a dialog window (with `CDialogEx` based class) containing a single list control (report view, with `CListCtrl` attached as a control variable). I want to check which line of the displayed list was double clicked.
I thought it will be just a matter of adding `OnNotify` and converting the double click coordinates ... | getting doubleclick position from CListCtrl in dialog's OnNotify | CC BY-SA 4.0 | null | 2023-03-02T10:49:27.980 | 2023-03-02T12:04:02.780 | 2023-03-02T12:04:02.780 | 1,889,329 | 2,355,048 | [
"mfc",
"windows-10",
"visual-studio-2019",
"clistctrl"
] |
75,614,429 | 2 | null | 27,757,437 | 0 | null | This issue in the official codelab points the right solution: [https://github.com/googlecodelabs/activity_transitionapi-codelab/issues/26](https://github.com/googlecodelabs/activity_transitionapi-codelab/issues/26)
You need to specify the `PendingIntent.FLAG_MUTABLE` when creating the Pendint intent.
Note that once you... | null | CC BY-SA 4.0 | null | 2023-03-02T10:50:15.270 | 2023-03-02T10:50:15.270 | null | null | 1,265,056 | null |
75,614,428 | 1 | 75,614,801 | null | 0 | 54 | I am working on a basic Java program, whereby the user is prompted to enter it details.
After entering it details, it ask the user if the entered details are correct.
If yes, the user details get printed out, if not the user has to re-enter it details again.
Now the issue is, if the user entered it detail for the secon... | Prompt user input, getting multiple values | CC BY-SA 4.0 | null | 2023-03-02T10:50:06.270 | 2023-03-02T13:07:32.167 | 2023-03-02T11:20:10.643 | 2,353,403 | 17,441,457 | [
"java"
] |
75,614,432 | 1 | null | null | 0 | 3 |
, I've just added the:
```
- { path: ^/admin/login, roles: PUBLIC_ACCESS }
```
and now it works.
---
I have an issue with login page, it gaves me too many redirects. I saw a lot of posts about it, but I can not found out what could be the problem.
Here is my `security.yaml`
```
security:
enable_authenticator_man... | Symfony users in memory authentication leads me too many redirects | CC BY-SA 4.0 | null | 2023-03-02T10:50:31.870 | 2023-03-02T10:50:31.870 | null | null | 1,087,195 | [
"symfony5.4"
] |
75,614,426 | 1 | null | null | 0 | 16 | I have a unix machine where is configured snmptrapd.
The configuration on /etc/snmp/snmptrapd.conf is the following
```
createUser -e 0x8000000001020304 USRSNMPV3NET SHA "mypwd" AES "mypwd2"
authUser log,execute,net USRSNMPV3NET
# Format logs for collection by Azure Monitor Agent
format2 snmptrap %a %B %y/%m/%l %h:%j:%... | Issue on receiving trapv3 on snmptrapd | CC BY-SA 4.0 | null | 2023-03-02T10:49:56.087 | 2023-03-02T10:50:33.607 | 2023-03-02T10:50:33.607 | 4,811,840 | 4,811,840 | [
"snmp",
"snmptrapd"
] |
75,614,436 | 1 | null | null | 1 | 26 | I have a simple component with the job of sliding in as an overlay from the right side and covering 40% of the screen. How do I make it disappear when the user clicks outside of it?
```
<div class="sidebar-layout sidebar" [class.open]="open">
<ng-content />
</div>
```
```
@Component({
selector: 'datona-side-... | Angular Close Slide in Panel When Click Outside | CC BY-SA 4.0 | null | 2023-03-02T10:50:43.017 | 2023-03-02T11:18:59.533 | null | null | 5,203,853 | [
"angular"
] |
75,614,435 | 1 | null | null | 0 | 10 | I have the following setup:
```
@Mock
lateinit var dialogEventObserver: Observer<DialogEvent>
@Mock
lateinit var detailsObserver: Observer<DetailsEvent>
private fun setup() {
MockitoAnnotations.openMocks(this)
viewModel = MyViewModel(
interactor = interactor
)
viewModel.dialogEve... | Kotlin - android - MockitoAnnotations.openMocks() throws an exception related to matchers | CC BY-SA 4.0 | null | 2023-03-02T10:50:38.067 | 2023-03-02T10:50:38.067 | null | null | 3,301,828 | [
"android",
"mockito",
"mockito-kotlin"
] |
75,614,430 | 1 | 75,615,005 | null | 0 | 15 | I have been trying to custom my Tab widget with css_class overriding with it with a style.css as I used to do without previous bokeh versions, although since the 3.0. the same approach does not work. I tried to use css_classes, styles, stylesheet and the only one that worked well was styles which I can pass a dictionar... | Override DOM style for Tabs, header level | CC BY-SA 4.0 | null | 2023-03-02T10:50:19.110 | 2023-03-02T11:47:52.017 | null | null | 11,130,088 | [
"python",
"css",
"tabs",
"bokeh"
] |
75,614,434 | 1 | null | null | 0 | 7 | App crashes only with (internal) android build (not with expo, not with standalone internal ios build)
App.json (extract) ...
```
"android": {
"googleServicesFile": "./google-services.json",
"adaptiveIcon": {
"foregroundImage": "./src/assets/",
"backgroundColor": "#FFFFFF"
},
"package": ,
"versionCode": 12,
"softwareKe... | EXPO android build crash on camera launch | CC BY-SA 4.0 | null | 2023-03-02T10:50:35.973 | 2023-03-02T10:50:35.973 | null | null | 15,327,894 | [
"android",
"expo",
"eas",
"expo-camera"
] |
75,614,441 | 2 | null | 75,538,545 | 0 | null | As @yrodiere commented and provided documentation link, it is needed to update both sides of a relationship.
It is now working with create method like this:
```
public TableRow create(TableRow tableRow) {
TableDoc tableDoc = tableDocRepository.findById(tableRow.getTableDoc().getId())
.orElseThrow(() -> new ... | null | CC BY-SA 4.0 | null | 2023-03-02T10:50:59.793 | 2023-03-02T10:50:59.793 | null | null | 12,794,090 | null |
75,614,399 | 1 | null | null | 0 | 17 | I am building an app in Flutter in which I will need to Drag an Drop between multiple Listviews in Flutter. The Listviews will also scroll when an Item is hovered over the boundaries of the ListViews. This will be an implementation of something resembling a Kanban Board but not exactly. I have tried Boardview found [Bo... | Drag and Drop between multiple Listviews in Flutter | CC BY-SA 4.0 | null | 2023-03-02T10:47:46.170 | 2023-03-02T10:47:46.170 | null | null | 3,558,851 | [
"flutter",
"scroll",
"drag-and-drop",
"autoscroll",
"flutter-key"
] |
75,614,442 | 2 | null | 75,614,334 | 0 | null | Well your expected behavior is pretty strange: it implies, that you construct object of type A, yet destruct different object B in its place somehow.
In your code temporary object `pet` is constructed from `cat`, hence its copy constructor is called.
| null | CC BY-SA 4.0 | null | 2023-03-02T10:51:12.010 | 2023-03-02T10:51:12.010 | null | null | 1,609,614 | null |
75,614,439 | 1 | 75,614,864 | null | 0 | 23 | I create a simple select component to emit option value to parent component, like this
```
<template>
<select
@change="change($event)"
class="shadow mb-3 appearance-none border rounded w-full py-2 px-4 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
>
<option hidden selected>Select... | Vue3 emit return event | CC BY-SA 4.0 | null | 2023-03-02T10:50:56.760 | 2023-03-02T12:28:31.853 | null | null | 4,827,274 | [
"vuejs3",
"vue-composition-api"
] |
75,614,445 | 2 | null | 75,612,259 | 0 | null | I ended up taking the ContentPage.BindingContext out of xaml and adding it with parameters after the initialiseComponent. Seems like a roundabout way of doing it but it seems to work. Now to make it proper MVVM :-(
```
<!--<ContentPage.BindingContext>
<local:AnimalDataViewModel/>
</ContentPage.BindingContext>-->
... | null | CC BY-SA 4.0 | null | 2023-03-02T10:51:41.973 | 2023-03-02T10:51:41.973 | null | null | 21,215,809 | null |
75,614,443 | 1 | null | null | 0 | 36 | I am trying to send the content of a variable to a different component, so I can use that value in the other component (both components are a different page and not related to eachother, but I don't need to display the variable content on any page, I just need to use the variable content on the other typescript compone... | Send variable content to other (unrelated) component Angular | CC BY-SA 4.0 | null | 2023-03-02T10:51:26.180 | 2023-03-03T07:26:57.153 | 2023-03-02T10:56:54.937 | 21,318,204 | 21,318,204 | [
"angular",
"typescript",
"angular-components",
"angular15"
] |
75,614,446 | 1 | null | null | -2 | 25 | I want to print the result of the Python code to a text file. How can I do that? I want to write print output to text file. Can you help me please?
```
import requests
from bs4 import BeautifulSoup
import re
query = "data science"
search = query.replace(' ', '+')
results = 10
url = (f"https://www.google.com/search?q={... | Printing Python result to text file | CC BY-SA 4.0 | null | 2023-03-02T10:51:42.413 | 2023-03-02T10:57:32.073 | null | null | 19,806,680 | [
"python"
] |
75,614,440 | 1 | null | null | 1 | 14 | I want to make a menu dynamically and when click on menuItem should open a dialog
sample of data that I get from the server side:
```
[
{
"text": "Product",
"icon": "",
"dialog": "ProductDialog",
"children": []
},
{
"text": "Orders",
"icon": "",... | is Angular support Reflection | CC BY-SA 4.0 | null | 2023-03-02T10:50:58.187 | 2023-03-02T10:50:58.187 | null | null | 11,886,531 | [
"angular",
"typescript"
] |
75,614,447 | 2 | null | 75,614,007 | -1 | null | i would do something like
```
private Data ParseIntoDataClass(string eventInfo)
{
var pair = eventInfo.Split(',');
var keyandValueDic = new Dictionary<string, string>();
foreaach(var item in pair)
{
var keyandValue = eventInfo.Split('=');
var key = keyandValue[0];
var value = key... | null | CC BY-SA 4.0 | null | 2023-03-02T10:51:48.170 | 2023-03-02T10:51:48.170 | null | null | 1,262,541 | null |
75,614,444 | 1 | 75,615,117 | null | 0 | 208 | I am trying to carry out API calls to the newly release `gpt-3.5-turbo` model and have the following code, which should send a query (via the `$query` variable) to the API and then extract the content of a responding message from the API.
But I am getting null responses on each call.
Any ideas what I have done incorrec... | OpenAI ChatGPT (gpt-3.5-turbo) API: Why am I getting NULL response? | CC BY-SA 4.0 | null | 2023-03-02T10:51:41.770 | 2023-03-02T12:32:05.873 | 2023-03-02T12:01:35.910 | 10,347,145 | 2,686,197 | [
"php",
"curl",
"openai-api",
"chatgpt-api"
] |