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,469
1
null
null
0
32
Our SQL script gets failed in Liquibase if the SQL script contains a "GO" statement. We deploy 30 to 50 SQL scripts on every release. How does everyone check the preconditions of the sql file before submitting it for the Liquibase build? I am getting error like this below when sql script has "GO" statement in it. ``` 2...
How to validate precondition of sql before submit for liquibase
CC BY-SA 4.0
null
2023-03-02T16:47:51.947
2023-03-02T17:42:09.343
2023-03-02T17:42:09.343
21,268,976
21,268,976
[ "sql", "sql-server", "jenkins", "liquibase", "liquibase-sql" ]
75,618,472
1
null
null
0
7
I am pretty new to superset dashboards and I have a requirement in chart where user can enter comments in a text box and write back the comments to database table ? Is this feature can be achieved in superset ,Thanks
Superset dashboard -Write back to DB
CC BY-SA 4.0
null
2023-03-02T16:48:10.123
2023-03-03T20:55:24.093
2023-03-02T19:35:43.507
13,447
9,148,719
[ "database", "charts", "dashboard", "apache-superset" ]
75,618,462
1
75,618,694
null
-1
99
``` #include <fstream> #include <vector> ``` ``` // this one does not work // error: use of deleted function ‘O::O(const O&)’ class O { std::fstream f; }; ``` ``` // works class O { O(std::fstream fs) : f(fs) {} std::fstream &f; public: O() : O(std::fstream()) {} }; ``` ``` // also works class O { ...
where do default arguments "live"?
CC BY-SA 4.0
null
2023-03-02T16:47:31.303
2023-03-02T17:26:49.663
2023-03-02T16:50:27.570
3,381,816
3,381,816
[ "c++" ]
75,618,471
2
null
75,618,171
1
null
You you can conditionally log events based on the LogLevel and eventId, eg ``` optionsBuilder.UseSqlServer("Server=(LocalDb)\\MSSQLLocalDB;Database=EfCore7Test;TrustServerCertificate=true;Integrated Security=true", o => { o.UseRelationalNulls(); }) .LogTo(m => Console.WriteLi...
null
CC BY-SA 4.0
null
2023-03-02T16:48:09.953
2023-03-02T16:48:09.953
null
null
7,297,700
null
75,618,477
1
null
null
-1
45
Example: When the user is filling the field, I want that the user should not be able to clear or delete the value i.e "Friend". Is it possible to achieve this using CSS or JavaScript?
How to make the value attribute of an input element unclearable?
CC BY-SA 4.0
null
2023-03-02T16:48:28.093
2023-03-03T14:40:03.440
null
null
21,250,036
[ "javascript", "html", "css", "attributes" ]
75,618,474
1
null
null
0
8
Even if the amount is superior at 1€ the error is still displaying. ``` export const infosFormValidationSchema = Yup.object().shape({ [InfosFormKeys.PaymentLinkType]: Yup.string().required(), [InfosFormKeys.Amount]: Yup.number().when([InfosFormKeys.PaymentLinkType], { is: (paymentLinkType: PaymentLinkTypes) => ...
React Yup schema validation (is & then)
CC BY-SA 4.0
null
2023-03-02T16:48:19.343
2023-03-02T16:48:19.343
null
null
6,453,696
[ "reactjs", "yup" ]
75,618,467
1
null
null
0
27
My Flutter app shows the following : > E/flutter (13058): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: The method '[]' was called on null. E/flutter (13058): Receiver: null E/flutter (13058): Tried calling: This points to different pieces of code which will be listed bel...
Flutter error: NoSuchMethodError: The method '[]' was called on null
CC BY-SA 4.0
null
2023-03-02T16:47:44.723
2023-03-02T17:46:33.057
2023-03-02T17:41:10.807
11,992,780
19,757,192
[ "android", "flutter", "dart" ]
75,618,478
1
null
null
-1
15
What will be time complexity for insertion and space complexity of below HashMap? ``` Map<Integer,List<Integers>> numMap = new HashMap(); ``` When calculating time and space complexity, do we need to take consideration of values in hashmap? I mean will time complexity for insertion be O(1), as that of a hashmap or do ...
Time and Space Complexity Calculation
CC BY-SA 4.0
null
2023-03-02T16:48:41.490
2023-03-03T09:32:35.417
2023-03-03T09:32:35.417
12,511,231
12,511,231
[ "java", "list", "hashmap", "time-complexity", "space-complexity" ]
75,618,481
2
null
75,294,484
-1
null
Do you mean [vertex_scalar_array()](https://pymeshlab.readthedocs.io/en/latest/classes/mesh.html#pmeshlab.Mesh.vertex_scalar_array) ?
null
CC BY-SA 4.0
null
2023-03-02T16:48:49.623
2023-03-02T16:48:49.623
null
null
3,715,819
null
75,618,476
1
75,622,015
null
0
43
How to properly call React component again? There are Parent component and Child component. There is a code that Child component doesn't render until `showResults` is true `{showResults && <Child arr={animals} />}`. It renders only when I click on `Load` button. ``` Parent.tsx const [animals, setAnimals] = useStat...
How to properly call React component again?
CC BY-SA 4.0
null
2023-03-02T16:48:22.337
2023-03-03T00:07:20.163
null
null
10,331,051
[ "reactjs" ]
75,618,484
2
null
75,617,979
0
null
I've found out this (just copying only the relevant code): ``` entry: { counters: ['./blocks/counters/counters.js', './blocks/counters/block.json', './blocks/counters/counters.css', './blocks/counters/counters.php'], }, ``` Then: ``` module: { rules: [ { test: /\.json|\.css|\.php/, type...
null
CC BY-SA 4.0
null
2023-03-02T16:49:10.477
2023-03-02T16:49:10.477
null
null
551,357
null
75,618,482
1
75,618,790
null
0
29
I'm implementing a note card, each card can have different background color and I want the content color to change corresponding to the given background color ``` Card( modifier = modifier, colors = CardDefaults.cardColors( containerColor = Color(note.color), contentColorFor(back...
Set ContentColor for a card depending on the current containerColor
CC BY-SA 4.0
null
2023-03-02T16:48:58.257
2023-03-02T17:25:37.180
null
null
13,915,923
[ "android", "android-jetpack-compose", "card" ]
75,618,479
2
null
75,615,698
1
null
``` @ECHO Off SETLOCAL enabledelayedexpansion rem The following settings for the directories and filenames are names rem that I use for testing and deliberately includes spaces to make sure rem that the process works using such names. These will need to be changed to suit your situation. SET "sourcedir=u:\your files" ...
null
CC BY-SA 4.0
null
2023-03-02T16:48:42.210
2023-03-02T16:48:42.210
null
null
2,128,947
null
75,618,483
1
75,618,651
null
-1
22
My data consists of a date column, which looks like - | Date | | ---- | | 20221201 | | 20221202 | | 20221203 | | 20221101 | | 20221102 | I need to filter the dataframe only for the month of december, I tried something like - `df = df[df['Date'][4:6] == 12]` its not working
Check the presence of a number after nth digit and then filter your dataframe in Python
CC BY-SA 4.0
null
2023-03-02T16:49:00.657
2023-03-02T17:15:26.567
2023-03-02T16:50:30.553
21,279,334
21,279,334
[ "python" ]
75,618,489
1
null
null
0
13
I'm trying to design a system that makes multiple external API calls. I need the response from all of them to make a certain calculation. In addition, some of these APIs could take a significant amount of time to return a response. What are the best practices to design this system? Any specific AWS technologies I could...
System that calls multiple external API calls and waits on them
CC BY-SA 4.0
null
2023-03-02T16:49:25.373
2023-03-02T16:49:25.373
null
null
21,320,601
[ "api", "request", "queue" ]
75,618,488
2
null
75,616,153
0
null
> I'm probably scratching the possibilities of C++ a bit here Yes you are. Currently, C++ only enable us to define a concept constraining a type (with the `template<Concept T>` syntax). You need it to constrain a template (see [related](https://stackoverflow.com/a/69496604/5470596)) so your function `F` does not restri...
null
CC BY-SA 4.0
null
2023-03-02T16:49:24.203
2023-03-02T16:49:24.203
null
null
5,470,596
null
75,618,487
2
null
75,617,639
0
null
You can use `.map` method with destructuring syntax and spread operator `...` to extract `costBreakdowns` value and the rest of your object. Inside the map funtion , a new object is created using the `...rest` props and results of `costBreakdowns` after running `filter` method. ``` const a = { "activeBookingsCostBre...
null
CC BY-SA 4.0
null
2023-03-02T16:49:23.230
2023-03-02T16:49:23.230
null
null
13,161,150
null
75,618,485
2
null
75,617,588
0
null
You are quite unclear with what output you desire. However, based on my understandings, I think that your aim is to center the `links-container` vertically and horizontally on the page. You told that you tried changing the `display` to `flex`, and also worked around with `position` to get it centered. But I don't think...
null
CC BY-SA 4.0
null
2023-03-02T16:49:18.533
2023-03-02T16:49:18.533
null
null
17,881,188
null
75,618,490
2
null
75,618,003
0
null
I finally found the article, "Fixing an untrusted code signing certificate" by Quinn “The Eskimo!” @ Developer Technical Support @ Apple: [https://developer.apple.com/forums/thread/712043](https://developer.apple.com/forums/thread/712043) Somewhere along the line in all of my attempts to resolve this issue, I had set t...
null
CC BY-SA 4.0
null
2023-03-02T16:49:27.953
2023-03-02T16:49:27.953
null
null
21,045,834
null
75,618,480
1
75,618,607
null
1
20
I have the following data structure for n firms. Date, firm id, and some variable. The column cycle is what I expect. Note that always you have a positive number (could be negative), followed by some unknown amount of zeroes. The idea is to assign cycles (desired output) as shown in the table. | DATE | firm | var | cy...
cycle identification for groups depending on column in data frame
CC BY-SA 4.0
null
2023-03-02T16:48:45.353
2023-03-02T18:09:06.107
2023-03-02T18:09:06.107
6,461,462
6,124,811
[ "r", "dataframe", "dplyr" ]
75,618,492
2
null
75,618,286
1
null
I created a custom function which compares a value and it's `lag` to a number and returns a logical. Then used that function to check if two consecutive rows have the condition you described in each `ID`. ``` library(dplyr) lag_comp <- function(xcol, n){xcol >= n & lag(xcol, default = 0) >= n} DF1 %>% group_by(ID)...
null
CC BY-SA 4.0
null
2023-03-02T16:49:34.103
2023-03-02T16:49:34.103
null
null
6,461,462
null
75,618,496
2
null
53,992,440
0
null
With OpenSSL you need to init the gost engine: $ openssl dgst -engine gost -md_gost12_256 test.txt With LibreSSL: $ libressl dgst -streebog256 test.txt
null
CC BY-SA 4.0
null
2023-03-02T16:50:15.747
2023-03-02T20:14:14.803
2023-03-02T20:14:14.803
15,131,240
15,131,240
null
75,618,494
1
null
null
-1
12
There are many algorithms for string matching problem. Two of them are `Rabin-Karp` Algorithm and `kmp` algorithm. Both are used to reduce time coplexity of string matching problems. For a specific problem of string matching, which one is better than other for reducing time complexity? Is there any better algorithm wit...
Rabin-Karp and kmp algorithm for solving string matching problems
CC BY-SA 4.0
null
2023-03-02T16:49:57.977
2023-03-02T17:03:52.633
2023-03-02T17:03:52.633
19,773,380
19,773,380
[ "c++" ]
75,618,486
1
75,618,747
null
0
8
Given the following data from the `Surv` function, and trying to fit a model using `flexsurvreg` I'm getting an error stating: > Error in `[.default`(Y, , "time") : subscript out of bounds I'm not sure why this error is occurring. I must be something to do with the data in my `Surv` object `Y` but I can't figure out wh...
flexsurvreg Error in `[.default`(Y, , "time") : subscript out of bounds
CC BY-SA 4.0
null
2023-03-02T16:49:18.787
2023-03-02T17:13:45.213
null
null
4,425,323
[ "r", "survival-analysis", "survival" ]
75,618,497
2
null
75,618,398
0
null
You can use "multer" (npm package) to save photo on the same server which you are using to host your node.js application and save the link to that image as text in mongodb. You can find the documentation on "multer" on [https://github.com/expressjs/multer](https://github.com/expressjs/multer).
null
CC BY-SA 4.0
null
2023-03-02T16:50:22.250
2023-03-02T16:50:22.250
null
null
21,238,673
null
75,618,498
1
75,618,971
null
-2
68
The rows of this matrix are linearly independent, as the first two rows can be added (or XORed) to produce the third: ``` matrix = [ [ 1, 0, 0, 1 ], [ 0, 0, 1, 0 ], [ 1, 0, 1, 1 ], [ 1, 1, 0, 1 ] ] ``` One could do brute-force reduction of the rows, with deeply nested loops and conditions and testin...
How to test linear independence of boolean array in python?
CC BY-SA 4.0
null
2023-03-02T16:50:25.123
2023-03-03T14:50:20.070
2023-03-03T14:50:20.070
8,953,248
8,953,248
[ "python", "algorithm", "matrix", "independent-set" ]
75,618,495
2
null
75,618,373
2
null
No, Swift does not support functions with multiple return types. But there are a few possible ways to handle this. An enum with associated values is one way. ``` enum DifferentTypes { case string(String) case int(Int) } func dataChange(type: String) -> DifferentTypes { if type == "string" { return ...
null
CC BY-SA 4.0
null
2023-03-02T16:50:12.927
2023-03-02T16:50:12.927
null
null
20,287,183
null
75,618,491
1
null
null
0
19
I think I have been going round and round with the whole setup. I am able to get the fleet connection working when working with ECK on cloud. Since it's a managed instance it comes prebuilt with fleet server installed. while installing agents on my OTHER Kubernetes cluster I can just use the fleet URL provided by manag...
how to install elastic search fleet agent on Kubernetes
CC BY-SA 4.0
null
2023-03-02T16:49:28.030
2023-03-02T16:49:28.030
null
null
2,223,459
[ "elasticsearch", "kubernetes", "elasticsearch-fleet" ]
75,618,501
1
75,618,955
null
0
17
I´ve got a running Wordpress Multisite where I want to change the Permalinks and 301 redirect with htaccess. Changing the permalinks in Wordpress isn´t a problem but all the Links that are around to my site would be broken so I want to fix this with 301. I´m trying to redirect `https://subsite.example.com/blog/%postnam...
Wordpress Multisite, htaccess 301 redirect for permalink change
CC BY-SA 4.0
null
2023-03-02T16:50:54.477
2023-03-02T19:10:56.467
null
null
21,320,486
[ "wordpress", ".htaccess", "mod-rewrite", "multisite" ]
75,618,499
2
null
75,618,231
1
null
When you create an instance of the Simple class, you no longer pass any arguments to the init method. Instead, the init method prompts the user for input to initialize the object's attributes. While this modification works, it means that you can no longer initialize the object's attributes with specific values when you...
null
CC BY-SA 4.0
null
2023-03-02T16:50:31.400
2023-03-02T16:50:31.400
null
null
2,959,717
null
75,618,502
2
null
75,616,323
0
null
the Translate API bills per number of chars (as you can see [here](https://cloud.google.com/translate/pricing)), so one alternative is to send multiple payloads instead of just a single and big one. another recommendation is to extract only the data to be translate, instead of all HTML tags -- it will reduce the amount...
null
CC BY-SA 4.0
null
2023-03-02T16:50:54.980
2023-03-02T16:50:54.980
null
null
18,227,814
null
75,618,500
2
null
75,617,801
0
null
You can create a factory for `QueryFactory` that will dynamically return you an instance with dynamically injected `ConnectionString`: ``` public class QueryFactoryFactory : IQueryFactoryFactory { public QueryFactory CreateQueryFactory(string connectionString) { var connection = new SqlConnection(connec...
null
CC BY-SA 4.0
null
2023-03-02T16:50:42.303
2023-03-02T18:10:34.470
2023-03-02T18:10:34.470
21,278,191
21,278,191
null
75,618,503
1
null
null
0
8
I am trying to access a subpage of [https://termmasterschedule.drexel.edu/](https://termmasterschedule.drexel.edu/), an example would be [https://termmasterschedule.drexel.edu/webtms_du/courseList/ANIM](https://termmasterschedule.drexel.edu/webtms_du/courseList/ANIM). I need to get the cookies from the homepage, includ...
Using cookies from homepage to access subpage on Axios (JS)
CC BY-SA 4.0
null
2023-03-02T16:51:03.177
2023-03-02T16:51:03.177
null
null
21,320,678
[ "javascript", "http", "axios" ]
75,618,505
1
null
null
0
5
I'm running MacOS 13.2.1 and started getting long periods of beach balling that seemed related to Finder activity. I found my console with dozens of consecutive Finder errors: ``` TCFURLInfo::OSStatusFromCFErrorShallow CFError = Error Domain=NSCocoaErrorDomain Code=4 Reported as Finder(DesktopServicesPriv) Subsystem: ...
MacOS Finder Error Domain=NSCocoaErrorDomain Code=4
CC BY-SA 4.0
null
2023-03-02T16:51:15.970
2023-03-02T16:56:24.607
2023-03-02T16:56:24.607
1,541,893
1,541,893
[ "macos", "console", "finder" ]
75,618,508
1
null
null
0
8
I've developped for my company multiple VB macro interacting with IBM Personnal Communication but I'd like to switch all those macro to Java for various reasons (mostly because I really hate working with VB and it is extremely slow) While searching for solutions I've found many : JACOB.dll, x3270, f3270 and HACL. I hav...
Where to find the Java PComm HACL library
CC BY-SA 4.0
null
2023-03-02T16:51:17.580
2023-03-02T16:51:17.580
null
null
21,318,123
[ "java", "automation", "ibm-pcomm", "hacl" ]
75,618,509
1
null
null
0
10
I've searched for an out-of-the-box solution to monitor a , but it resulted in monitoring systems just sending the alerts Telegram. However, my use case is different: I want to monitor a bot itself and check periodically whether it responds to messages. Are there any monitoring solutions supporting this feature? (Alth...
Is there a monitoring system for health-checking a Telegram bot?
CC BY-SA 4.0
null
2023-03-02T16:51:23.717
2023-03-02T16:51:23.717
null
null
1,655,335
[ "monitoring", "telegram-bot", "health-check" ]
75,618,511
1
null
null
0
15
I have a Kentico 7 website I need to know the trafic and from where . I've enabled Web Analytics, it's recording page views. It is recording entry and exit pages, and visitors in general, but I noticed in visitiors - - countries a trafic visitors from country I don't sell my website there. Is there a way to know a spec...
Kentico web analytics - countries
CC BY-SA 4.0
null
2023-03-02T16:51:47.593
2023-03-02T16:51:47.593
null
null
459,205
[ "kentico", "web-analytics" ]
75,618,506
2
null
75,618,417
0
null
Try this Code: ``` const out = Object.values(data.reduce((acc, current) => { // Destructure the properties from the current object const { categoryId, subCategoryId, subCategory, sellItem, sellItemId, ...rest } = current; // Create a new object with the "sellItem" and "sellItemId" properties const sellItemObj...
null
CC BY-SA 4.0
null
2023-03-02T16:51:16.423
2023-03-02T16:51:16.423
null
null
19,576,691
null
75,618,465
1
null
null
0
21
Trying to figure out why 3 powershell cmdlets are not working when using AWS SM Automation inputs Script, but they do work when running them in a local script directly on my Windows instances. The cmdlets: `get-ciminstance` and `rename-computer` work in Powershell 7, but `add-computer` requires importing the module `Mi...
PowerShell 7 Cmdlets not recognized when using AWS SSM Automation document script
CC BY-SA 4.0
null
2023-03-02T16:47:41.300
2023-03-02T17:33:32.813
2023-03-02T17:33:32.813
6,901,136
6,901,136
[ "powershell", "aws-ssm", "powershell-7.0", "aws-automation" ]
75,618,510
2
null
75,617,632
0
null
The problem is here ``` ->leftJoin('ratings as r2', function ($join) { $join->on('exercises.id', '=', 'r2.exercise_id') ->where('r1.id', '<', 'r2.id'); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ }) ``` `where()` doesn't compare two columns. It compares a column to a value. Meaning this `LEFT JOIN` will transl...
null
CC BY-SA 4.0
null
2023-03-02T16:51:26.107
2023-03-02T16:51:26.107
null
null
4,339,402
null
75,618,513
1
null
null
0
12
I can read a parquet-file that contains a column of type time[us] with python: ``` from icecream import ic import pyarrow.parquet as pq tpq = pq.read_table(pq_file1, columns=['Col_time']) ic(tpq) ``` Output: ic| tpq: pyarrow.Table Col_time: time64[us] ---- Col_time: [[23:55:00.123456,23:57:00.123456,23:55:00.123456,...
Spark reading parquet-file with time[us] fails with Illegal Parquet type: INT64 (TIME(MICROS,false))
CC BY-SA 4.0
null
2023-03-02T16:51:54.803
2023-03-02T16:51:54.803
null
null
19,524,817
[ "apache-spark", "parquet" ]
75,618,507
1
null
null
0
25
new to the rasa framework. I've been trying to make a simple bot that would simply recognize the intent of me providing my name and then rasa responding with a phrase including my name. The problem is that it does seem to recognize the intent but if the name I give it is not included in one of the examples then the res...
Rasa will not save slot from entity of intent
CC BY-SA 4.0
null
2023-03-02T16:51:17.100
2023-03-03T14:11:59.373
null
null
9,612,664
[ "tensorflow", "chatbot", "rasa", "rasa-nlu" ]
75,618,514
1
75,620,805
null
1
60
I'm working in a JavaScript codebase with Sequelize models that have types documented using TypeScript declaration files (`.d.ts`). I'm using `mode.update()` to update some properties on the object: This problem can be reproduced as follows: ``` import { Model } from "sequelize"; let model: Model<{foo:number,bar:string...
Why aren't I getting suggestions for fields of a function argument with other overloads?
CC BY-SA 4.0
null
2023-03-02T16:52:12.657
2023-03-03T12:02:37.577
2023-03-02T21:30:38.080
11,107,541
6,911,703
[ "javascript", "typescript", "visual-studio-code", "sequelize.js", "intellisense" ]
75,618,519
2
null
75,618,426
0
null
Instead of using a `href`, just use an `onclick` ``` <a onclick="JavascriptFunction(item.tostring())" class="solutions-grid__card"> Title </a> ```
null
CC BY-SA 4.0
null
2023-03-02T16:52:18.760
2023-03-02T16:52:18.760
null
null
9,177,810
null
75,618,516
2
null
75,595,975
1
null
outlook.office365.com server expects that each command ends with CRLF [as required by SMTP standard](https://www.rfc-editor.org/rfc/rfc5321.html#section-2.3.8) and not just LF. This is in contrast to [Postfix](https://www.postfix.org/) and some other servers which are fine with just LF. I have quickly checked that send...
null
CC BY-SA 4.0
null
2023-03-02T16:52:13.827
2023-03-02T17:48:22.423
2023-03-02T17:48:22.423
21,313,424
21,313,424
null
75,618,504
2
null
75,618,320
0
null
There are multiple solutions for this problem: # Solution 1 `#sort-by-buttons` ``` <div id="buttons"> <select name="sort-by" id="sort-by"> <option value="all">All</option> <option value="name">Name</option> <option value="price">Price</option> </select> <button class="button-value" onclick="filterP...
null
CC BY-SA 4.0
null
2023-03-02T16:51:14.480
2023-03-02T16:51:14.480
null
null
19,926,805
null
75,618,515
1
null
null
0
19
I am trying to print to the console all the products on the page and i have made this JavaScript code snippet. only it seems i have a problem when scrolling and loading new products on the page feed, it kinda bugs or does not print at all the new products to the console. can anyone please help ? This is the webpage i a...
JavaScript code snippet to print products to console
CC BY-SA 4.0
null
2023-03-02T16:52:12.980
2023-03-03T06:04:31.860
2023-03-03T06:04:31.860
11,107,541
12,761,641
[ "javascript", "console" ]
75,618,520
2
null
75,617,979
0
null
You can use CopyWebpackPlugin [https://webpack.js.org/plugins/copy-webpack-plugin/] Example: ``` plugins: [ new CopyWebpackPlugin([ { from: path.resolve(__dirname, './counters/filename'), to: path.resolve(__dirname, './output') } ]) ], ```
null
CC BY-SA 4.0
null
2023-03-02T16:52:24.193
2023-03-02T16:52:24.193
null
null
19,108,217
null
75,618,524
2
null
64,178,792
0
null
A workaround is to build the tag into the key. Since the key is included in the inventory report (obviously), you can get the tag by splitting the key later.
null
CC BY-SA 4.0
null
2023-03-02T16:52:37.637
2023-03-02T16:52:37.637
null
null
10,692,493
null
75,618,517
2
null
75,617,811
0
null
From the above comments ... > `'a'.charCodeAt(0) - 'b'.charCodeAt(0)``-1``'a'.charCodeAt(0) - 'c'.charCodeAt(0)``-2``'aBc'.toLowerCase().split('')``['a', 'b', 'c']` – Peter Seliger > > – Vladyslav Akopov > > > – Peter Seliger The next following (and commented) code example does prove the above claim. ``` function isS...
null
CC BY-SA 4.0
null
2023-03-02T16:52:17.147
2023-03-02T17:22:43.403
2023-03-02T17:22:43.403
2,627,243
2,627,243
null
75,618,522
1
null
null
-1
4
I was told by HighLevel (aka LeadConnector) to create a Twilio account but after entering my existing virtual phone number (originally bought from Vumber, transferred to Dialpad, transferred to OpenPhone), I received a message saying a Twilio number cannot be used. All I really need is to port my existing business tele...
Port from OpenPhone to HighLevel (LeadConnector)
CC BY-SA 4.0
null
2023-03-02T16:52:32.940
2023-03-02T16:52:32.940
null
null
21,320,675
[ "porting" ]
75,618,518
1
null
null
-1
27
I would like to create a repository for pre-commit.com hook with a hook that runs an entry located within this repository. I have created a repository with a hook: ``` my-pre-commit-hook> ls -a .pre-commit-hooks.yaml my-script.py ``` with `.pre-commit-hooks.yaml`: ``` - id: my-check name: my-check entry: python ...
How to create a pre-commit.com hook that runs an entry which is located in the same repository
CC BY-SA 4.0
null
2023-03-02T16:52:18.690
2023-03-02T23:26:28.987
2023-03-02T23:26:28.987
366,634
366,634
[ "pre-commit.com" ]
75,618,528
2
null
41,189,398
0
null
I just have the same problem : no project template shown on project creation ... My initial install was without .net product: only C++ and Python. I tried to repair, remove and reinstall, add new components ... with no success. My last attempt was to remove all workload and to install the .net one and it works: the pro...
null
CC BY-SA 4.0
null
2023-03-02T16:53:12.637
2023-03-02T16:53:12.637
null
null
12,214,811
null
75,618,529
2
null
75,618,303
1
null
``` * Example generated by -dataex-. For more info, type help dataex clear input int id str6 country int(year y1) float(y2 x2002 x2010) 7 "France" 2002 7 1.8628873 10 200 5 "France" 2002 2 19.52281 10 200 6 "France" 2010 7 14.80233 15 500 8 "France" 2010 9 15.173367 15 500 3 "USA" 2002 8 2.2806208 5 100 1 "USA" ...
null
CC BY-SA 4.0
null
2023-03-02T16:53:12.660
2023-03-02T16:53:12.660
null
null
1,820,446
null
75,618,523
2
null
75,614,828
0
null
## Solution I have found a way around my problem. If using `join` is not a viable option, then perhaps I can use another construct. This is the case for `where`. By changing the list List of metadata items to just the ids: ``` [%{id: "id1"}, %{id: "id2"}, %{id: "id3"}] # becomes ["id1", "id2", "id3"] ``` I can the...
null
CC BY-SA 4.0
null
2023-03-02T16:52:35.883
2023-03-02T16:52:35.883
null
null
1,337,392
null
75,618,530
1
null
null
0
8
This is via cloud formation Spark UI template for a glue job. The unique thing about this spark ui file was it was >100mb. Others lower in size run ok. Is there a --conf that can be set to negate this issue in a way that doesn't limit driver's memory too much? `SPARK_DAEMON_MEMORY=2g` is what i found online, but can th...
Spark UI history server - OOM
CC BY-SA 4.0
null
2023-03-02T16:53:17.253
2023-03-02T16:53:17.253
null
null
14,491,360
[ "amazon-web-services", "apache-spark", "pyspark", "apache-spark-sql", "aws-glue" ]
75,618,526
1
null
null
0
17
I am trying to access a database I have recently developed remotely from another computer but on the same network. However, I always get the same error when trying to connect the database to the system built from C#: > System.Data.SqlClient.SqlException: 'Network-related or instance-specific error while establishing a ...
Error trying to access a remote database in SQL Server with C#
CC BY-SA 4.0
null
2023-03-02T16:53:02.560
2023-03-02T17:00:24.297
2023-03-02T17:00:24.297
3,043
20,285,080
[ "c#", "sql-server", "database", "remote-access", "sql-server-2019-express" ]
75,618,533
2
null
55,819,966
0
null
There's an undocumented option :skip-whitespace to all the parsers available in clojure.data.xml. ``` (clojure.xml/parse-str whitespacey-str :skip-whitespace true) ;; => :content without spurious "\n"s ``` Documentation bug is here [https://clojure.atlassian.net/browse/DXML-63](https://clojure.atlassian.net/browse/DXM...
null
CC BY-SA 4.0
null
2023-03-02T16:53:22.640
2023-03-02T16:53:22.640
null
null
190,499
null
75,618,512
1
null
null
0
5
this question might asked before but the sulotions sugested did not solve my problem. I'm using Vue2 inside Laravel 7, in Live vps server when I run `npm run prod` I get below error. ``` FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory ``` and this here is the fu...
Vuejs with Laravel production: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
CC BY-SA 4.0
null
2023-03-02T16:51:53.357
2023-03-02T16:51:53.357
null
null
8,936,389
[ "laravel", "vuejs2", "production-environment", "webpack-production" ]
75,618,538
1
null
null
0
16
I am trying to get the termination of a process with ptrace. I've already tried PTRACE_O_TRACEEXIT, but the process could end also with a return and the event will not be caught. What can I do? I would like a ptrace solution only, without waitpid
Get termination event with ptrace
CC BY-SA 4.0
null
2023-03-02T16:53:37.750
2023-03-02T16:53:37.750
null
null
9,377,890
[ "linux", "ptrace" ]
75,618,537
2
null
75,617,680
1
null
This is a namespace URI, not a URL. No-one ever fetches anything at that location. The namespace is defined in the specs as `http://www.w3.org/2001/XMLSchema` and you can't change it. If someone is reporting a security problem with this, they are mistaken and need to refine their rules.
null
CC BY-SA 4.0
null
2023-03-02T16:53:37.327
2023-03-02T16:53:37.327
null
null
415,448
null
75,618,531
2
null
75,613,514
0
null
The lines and legend all have the same zorder. So, they are rendered in the order which the code is written. The way to get the right effect is to set the zorder for the `ax1` higher (say 1). But this will push the `pH` line behind and makes is invisible. So, next turn frame off for `ax2`, so that you can see the line....
null
CC BY-SA 4.0
null
2023-03-02T16:53:21.640
2023-03-02T16:53:21.640
null
null
16,404,872
null
75,618,532
2
null
75,605,343
0
null
Fixed the problem in [https://github.com/CodingSpiderFox/nx-neste2e-mcve/commit/511766b195e850c427114ef1d39310a597143e91](https://github.com/CodingSpiderFox/nx-neste2e-mcve/commit/511766b195e850c427114ef1d39310a597143e91) It seems that the problem was that the connection was not using the logical "api" db. However, I h...
null
CC BY-SA 4.0
null
2023-03-02T16:53:21.857
2023-03-02T16:53:21.857
null
null
4,397,899
null
75,618,536
1
null
null
0
4
So I have a data includes huge amounts of stock information during 2010 to 2020. However, I only want data from 2015 to 2019. After ``` df= pd.read_csv('equity_2010_2020', parse_dates=['DATE']) df.sort_values('DATE', inplace=True) df.set_index('DATE', inplace=True) ``` I tried a lot of methods to keep just a time zone...
how to select and save time period after setting index
CC BY-SA 4.0
null
2023-03-02T16:53:32.147
2023-03-02T16:53:32.147
null
null
21,320,614
[ "filter", "time" ]
75,618,539
2
null
4,994,707
1
null
When checking for "" in `ASP.NET CORE 7`, you should also check if the model is like so: ``` if(ViewData.ModelState.IsValid && Context.Request.Method == "POST") { <p><strong>Yes I am Postback and Valid!</strong></p> } ```
null
CC BY-SA 4.0
null
2023-03-02T16:53:42.710
2023-03-02T16:53:42.710
null
null
5,555,938
null
75,618,542
1
null
null
0
6
I need to ingest data with airbyte from a mongodb collection into bigquery. The documents contain hundreds of fields, some of which we would prefer not to ingest for security reasons. Is there an easy way to collect only specific fields from the mongo collection? Ideally without having to modify the underlying airbyte ...
Only pick selected fields when ingesting mongodb data with airbyte
CC BY-SA 4.0
null
2023-03-02T16:53:54.737
2023-03-02T16:53:54.737
null
null
5,872,695
[ "mongodb", "google-bigquery", "airbyte" ]
75,618,541
2
null
75,618,540
0
null
The answer is that I needed to get out of python land and define a typed list with `[String!]!`: ``` from gql import gql, Client from gql.transport.aiohttp import AIOHTTPTransport # Select your transport with a defined url endpoint transport = AIOHTTPTransport(url="https://data.rcsb.org/graphql") # Create a GraphQL c...
null
CC BY-SA 4.0
null
2023-03-02T16:53:50.553
2023-03-02T16:53:50.553
null
null
4,176,019
null
75,618,534
2
null
75,607,624
0
null
Join the two tables by `matchdayid`. Then loop through the results, creating the nested arrays and objects. Whenever the `matchdayid` changes, start a new object in the result array, and push the scores onto its `scores` array. ``` db.query(`SELECT m.matchdayid, m.matchdaydate, s.name, s.legs_won, s.average FRO...
null
CC BY-SA 4.0
null
2023-03-02T16:53:24.677
2023-03-02T16:53:24.677
null
null
1,491,895
null
75,618,543
1
75,620,573
null
0
38
I am trying to write a custom data loader for a dataset where the directory structures is as follows: ``` All_data | ->Numpy_dat | | | -> dat_0 | -> dat_{0}_{0}.npy | . | . | -> dat_1 | -> dat_{0}_{0}.npy | -> dat_{0}_{1}.npy | . | . |->mask_numpy | -> mask_0 -> mask_{0}_{0}...
Pytorch DataLoader for custom dataset
CC BY-SA 4.0
null
2023-03-02T16:54:11.640
2023-03-02T20:48:42.653
2023-03-02T19:01:11.723
10,977,868
10,977,868
[ "python", "pytorch", "dataloader", "pytorch-dataloader" ]
75,618,549
1
null
null
-3
16
how can I fix warnings when embedding OpenStreetMap into static site: [](https://i.stack.imgur.com/pFkTO.jpg)
OpenStreetMap Warnings
CC BY-SA 4.0
null
2023-03-02T16:54:58.537
2023-03-02T16:54:58.537
null
null
9,417,660
[ "openstreetmap" ]
75,618,547
2
null
75,618,134
0
null
You can use [the row_number() windowing function](https://dev.mysql.com/doc/refman/8.0/en/window-function-descriptions.html#function_row-number) to do this. The trick with windowing functions is you need to nest them in subquery in order to target the results. This means I need to show more of the query to demonstrate ...
null
CC BY-SA 4.0
null
2023-03-02T16:54:45.303
2023-03-02T16:54:45.303
null
null
3,043
null
75,618,540
1
null
null
0
9
Based on the example from [the gql documentation](https://gql.readthedocs.io/en/stable/usage/basic_usage.html), I have the below, working query: ``` from gql import gql, Client from gql.transport.aiohttp import AIOHTTPTransport # Select your transport with a defined url endpoint transport = AIOHTTPTransport(url="https...
How might I pass a list as a variable in a python gql query?
CC BY-SA 4.0
null
2023-03-02T16:53:50.553
2023-03-02T16:53:50.553
null
null
4,176,019
[ "python", "graphql", "gql", "graphql-python" ]
75,618,551
2
null
72,112,904
0
null
Late to the party but this worked for me ``` let task = Task { sut.submitButtonPressed() } await task.value XCTAssertTrue(mockInteractor.fetchSectionsWasCalled) ```
null
CC BY-SA 4.0
null
2023-03-02T16:55:08.767
2023-03-02T16:55:08.767
null
null
7,536,328
null
75,618,545
2
null
75,617,365
1
null
You can iterate through the unique schools and students values. I have sorted the df by distance as a heuristic to get the minumum distance (but this could also be an optimization problem and so require other technique to solve this, e.g., linear optimization) Using the data you provided, I have first merged to consoli...
null
CC BY-SA 4.0
null
2023-03-02T16:54:19.497
2023-03-02T16:54:19.497
null
null
15,283,859
null
75,618,546
1
75,619,175
null
1
25
I cannot use Go nor Python etcd APIs to perform interaction with etcd. I need to query: ``` env ETCDCTL_API=3 etcdctl --endpoints=server:2379 --cert ca.pem --key ca.key --cacert cacert.pem --command-timeout=60s get $(echo L3ZvdGUvADHd0kmW58d9JqTD8whMYS9vY3Nw | base64 -d) ``` This will return: ``` -bash: warning: comma...
Etcdctl to GET key that contains bash invalid symbols
CC BY-SA 4.0
null
2023-03-02T16:54:24.500
2023-03-02T17:54:37.207
null
null
20,671,772
[ "bash", "shell", "etcd", "etcdctl" ]
75,618,548
2
null
75,593,945
0
null
This is my approach with annotations: ``` with parms as ( -- CTE for your input parameters select '2023-02-01'::date as start_date, '2023-02-28'::date as end_date ), area_weeks as( -- Create pigeonholes for all weeks select gs.bow, count(*) over () as num_weeks from parms cross join l...
null
CC BY-SA 4.0
null
2023-03-02T16:54:57.477
2023-03-02T16:54:57.477
null
null
13,808,319
null
75,618,544
1
null
null
0
6
so am trying to use ffi-napi to import Go HTTP client that send valid TLS check it out [here](https://github.com/bogdanfinn/tls-client) so my problem is that am always getting this error when running the exe ``` No native build was found for platform=win32 arch=x64 runtime=node abi=93 uv=1 libc=glibc node=16.16.0 webpa...
failing to use ffi-napi with webpack to ship to users
CC BY-SA 4.0
null
2023-03-02T16:54:17.957
2023-03-02T16:54:17.957
null
null
13,918,557
[ "javascript", "node.js", "typescript", "webpack", "ffi" ]
75,618,553
2
null
75,616,588
0
null
Most likely you want to replace/mock the Stripe element and fire the event manually to test the handler & loader behaviour: [https://testing-library.com/docs/react-testing-library/faq](https://testing-library.com/docs/react-testing-library/faq) -> "How do I test input onChange handlers?" [https://testing-library.com/do...
null
CC BY-SA 4.0
null
2023-03-02T16:55:35.367
2023-03-02T16:55:35.367
null
null
12,474,862
null
75,618,558
2
null
75,583,262
0
null
My connection host was playing. Fixing it rectified the problem.
null
CC BY-SA 4.0
null
2023-03-02T16:56:17.193
2023-03-02T16:56:17.193
null
null
18,372,975
null
75,618,552
1
null
null
0
15
In Laravel how do I remove from memory a Dispatchable object after it has been constructed and serialized to the jobs table? I'm sending a long list of large email messages, and my ProcessEmail class (it implements ShouldQueue and uses Dispatchable) has a private field that stores the body of the email. Now this objec...
In Laravel, how do I destroy a dispatchable object after it has been dispatched to a job?
CC BY-SA 4.0
null
2023-03-02T16:55:22.217
2023-03-03T15:28:53.493
2023-03-03T15:28:53.493
650,004
650,004
[ "php", "laravel" ]
75,618,563
2
null
75,617,386
1
null
The characters 28, 29, and 30 are not valid in XML 1.0, and this is the case whether they are represented directly or as character references (`&#28;`, etc). In XML 1.1 you can use these characters provided you write them as character references. But not many people support XML 1.1. So your problem is that the data you...
null
CC BY-SA 4.0
null
2023-03-02T16:56:34.937
2023-03-02T16:56:34.937
null
null
415,448
null
75,618,550
1
null
null
0
42
I have virtual environment package structured as following: ``` apps/ __init__.py main_app.py (storing the execution function) st/ speedtest.py __init__.py quota/ quota.py __init__.py main.py ``` In some cases I will the program from `apps/main_app.py` or `main.py` which...
packages / import statment
CC BY-SA 4.0
null
2023-03-02T16:55:01.147
2023-03-03T18:24:33.200
2023-03-03T18:24:33.200
11,082,165
7,379,539
[ "python", "python-module" ]
75,618,559
1
null
null
0
7
As described here - [https://developers.google.com/ad-manager/mobile-ads-sdk/android/banner#multiple_ad_sizes](https://developers.google.com/ad-manager/mobile-ads-sdk/android/banner#multiple_ad_sizes) there is an option to set multiple sizes for the ad, however, my question is which way it is going to be used. Because ...
I am not sure I got an idea of to set a range of sizes for the GoogleAds
CC BY-SA 4.0
null
2023-03-02T16:56:23.607
2023-03-02T16:56:23.607
null
null
5,709,159
[ "java", "android", "kotlin", "google-ads-api" ]
75,618,557
2
null
75,617,162
0
null
I am going to assume that you meant to say that `T(n)=2T(n/2)+nlog(n)`. Apologies for the ugly formatting, this site doesn't have MathJax Because `n\log(n)` is not strictly polynomial, we can't use the Master Theorem, rather we need [Akra-Bazzi](https://en.wikipedia.org/wiki/Akra%E2%80%93Bazzi_method). In this case we ...
null
CC BY-SA 4.0
null
2023-03-02T16:56:16.407
2023-03-02T16:56:16.407
null
null
7,059,087
null
75,618,560
1
null
null
0
13
We are trying to locally scan a .net6 webapi solution using the Nexus IQ CLI (sonatype cli scan). When we try to scan a .csproj file, its perfectly scanning the dependent packages and generating the report. But we could not find a support document to do the same scanning for a solution file (.sln) which contains multip...
How to scan a C# solution using the SonaType CLI (Nexus IQ CLI) command
CC BY-SA 4.0
null
2023-03-02T16:56:23.953
2023-03-03T04:26:29.023
2023-03-03T04:26:29.023
3,778,913
3,778,913
[ "sonatype", "nexus-iq" ]
75,618,562
2
null
75,616,877
2
null
None of JAX's loop-like constructs (`vmap`, `lax.map`, `lax.scan`, etc.) is built for iterating over values of different shapes. The one thing you could use is `tree_map`: ``` from jax.tree_util import tree_map out = tree_map(f, xs, ys) ``` but computationally, this will basically be equivalent to a Python list compre...
null
CC BY-SA 4.0
null
2023-03-02T16:56:30.237
2023-03-02T16:56:30.237
null
null
2,937,831
null
75,618,413
1
null
null
1
14
I'm trying to convert a MathJax formula into png (base64) format. Below is the code and HTML i'm using. ``` <html lang="en" xmlns="http://www.w3.org/1999/xhtml\"><head> <meta charset="utf-8"> <title></title> </head> <body> <p d...
Convert MathJax formula to image in base64 format
CC BY-SA 4.0
null
2023-03-02T16:42:47.617
2023-03-02T16:42:47.617
null
null
15,016,314
[ "javascript", "c#", "base64", "mathjax" ]
75,618,571
2
null
75,464,455
0
null
Found it here... ``` Dim pT As PivotTable Dim pF As PivotField Set pT = ActiveWorkbook.Worksheets("WorksheetName").PivotTables(1) With pT For Each pF In pT.RowFields pF.DrillTo pF.Name Next pF End With ```
null
CC BY-SA 4.0
null
2023-03-02T16:57:27.880
2023-03-02T16:57:27.880
null
null
15,109,775
null
75,618,565
2
null
75,618,348
0
null
You should use an appropriate [type guard](https://basarat.gitbook.io/typescript/type-system/typeguard). For example, I changed a bit of your function typings: ``` function treatment<Type>(input: Type | Array<Type>): Type { if (input instanceof Array) { return /* some code using treatment recursive call which ret...
null
CC BY-SA 4.0
null
2023-03-02T16:56:44.553
2023-03-02T17:06:10.253
2023-03-02T17:06:10.253
3,639,375
3,639,375
null
75,618,564
2
null
75,618,177
1
null
The [standard format](https://en.cppreference.com/w/cpp/utility/format/formatter#Standard_format_specification) used for standard types, like integers and floating-point types, has an `L` option to enable locale-specific formatting: > The option causes the locale-specific form to be used. This option is only valid for...
null
CC BY-SA 4.0
null
2023-03-02T16:56:38.900
2023-03-02T17:08:20.580
2023-03-02T17:08:20.580
65,863
65,863
null
75,618,574
1
null
null
0
24
i'm trying to install packages in PyCharm and I get this error: ERROR: Could not install packages due to an OSError: Failed to parse: http://proxy-XX:XXX WARNING: There was an error checking the latest version of pip. my interpreter is python 3.10 the same error appears also when I try to install through the terminal a...
Can't install packages in PyCharm
CC BY-SA 4.0
null
2023-03-02T16:57:36.780
2023-03-02T16:57:36.780
null
null
21,320,682
[ "pycharm" ]
75,618,567
2
null
75,618,215
1
null
What you call the "output of a call to `JSON.stringify`" is actually a of the output. When you want to feed this string into `JSON.parse`, you must double all backslashes: ``` document.querySelector("textarea").textContent = JSON.parse('"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<html>\\n <head>\\n <meta ch...
null
CC BY-SA 4.0
null
2023-03-02T16:56:56.013
2023-03-02T16:56:56.013
null
null
16,462,950
null
75,618,573
1
null
null
0
21
I'm trying to run this code > ``` cmake_minimum_required(VERSION 3.25) project(exampleHowToPybind) set(PY_EXE "C:/Program Files/Python37") set(Python3_ROOT_DIR "C:/Program Files/Python37") set(PYTHON_EXECUTABLE "${Python3_ROOT_DIR}/python_d.exe" CACHE FILEPATH "Path to the Python executable") set(CMAKE_FIND_DEBUG_MODE...
Visual Studio 2022 how to disable vcpkg injection?
CC BY-SA 4.0
null
2023-03-02T16:57:34.557
2023-03-02T16:57:34.557
null
null
1,873,108
[ "python", "c++", "visual-studio", "vcpkg" ]
75,618,566
1
null
null
0
45
I've been searching StackOverflow most of the day and can't seem to find a regular expression in C# that will allow me to accomplish what I want. Here is the gist of it: Match a string of characters `[a-z\-]+` but don't let that string start or end with a list of strings (under|over|between), because I want to match t...
C# regular expression to match all words except exclude list w/external match
CC BY-SA 4.0
null
2023-03-02T16:56:50.770
2023-03-02T17:12:41.100
2023-03-02T17:12:41.100
3,832,970
9,564,338
[ "c#", "regex" ]
75,618,569
1
null
null
0
7
I have moved my code successfully into libraries in my NX workspace. However, I have some libraries that are rather large (utilities) with a number of small functions. As such, I would like to be able to break the import into smaller modules, similar to @angular/material which has an import for each component (button...
Create sub modules for importing from libraries in NX similar to @angular/material
CC BY-SA 4.0
null
2023-03-02T16:57:20.427
2023-03-02T16:57:20.427
null
null
755,666
[ "typescript", "nomachine-nx" ]
75,618,575
1
null
null
0
28
So as the title says, I want to check the LastWriteTime of a specific file (always have same name), and if that file is older than 50 days, i want to delete the content of a folder (which is next to it). There can be 2 type of paths, here is the structure : ``` D:\Server\Azerty\BAL\*\CE D:\Server\WARRIOR\*\Azerty\BAL\*...
POWERSHELL - Check lastwritetime of FileA and delete content of a folder if FileA older 50 days
CC BY-SA 4.0
null
2023-03-02T16:57:40.157
2023-03-02T19:53:06.247
2023-03-02T17:22:04.730
3,439,404
21,320,639
[ "windows", "powershell", "comparison" ]
75,618,577
1
null
null
1
12
I have this procedure in SQL Server where functions are executed, and I want to collect the output in PHP. The problem is that the first result that it returns is the "result" and then it returns another one with the outputs. How can I collect these outputs? Thank you ``` DECLARE @NETO FLOAT DECLARE @DTO1 FLOAT ...
Retrieve output message from sqlserver procedure in php
CC BY-SA 4.0
null
2023-03-02T16:57:43.720
2023-03-02T16:57:43.720
null
null
21,320,712
[ "php", "sqlsrv" ]
75,618,572
2
null
36,434,905
0
null
With `numpy` vectorization, the implementation can be made much faster. Consider the following code that compares the `numpy`'s vectorized implementation with `PIL`'s loopy one, both of them producing the same output image (using the same turtle input image by @Trect). As can be seen from the below output, the `numpy`...
null
CC BY-SA 4.0
null
2023-03-02T16:57:28.020
2023-03-03T13:59:25.620
2023-03-03T13:59:25.620
4,706,171
4,706,171
null
75,618,581
1
null
null
0
21
In my iOS project I have a pod dependency which I am specifying like so: ``` pod 'PromisesSwift' ``` For some reason, the dependency `PromisesObjC` is appearing twice in the Podfile.lock, even when I delete this file and the `Pods` directory before running `pod install` and `pod update`. ``` - PromisesObjC (2.2.0) -...
iOS build cannot resolve two Cocoapod dependencies with the same version
CC BY-SA 4.0
null
2023-03-02T16:58:06.247
2023-03-03T08:04:52.277
2023-03-02T17:07:13.540
20,287,183
2,344,998
[ "ios", "cocoapods" ]
75,618,583
1
75,619,621
null
2
112
I have many large numbers which are several hundred bytes long. How can I efficiently transform these from base-256 into base-255, such that the numbers become up to one byte longer but don't use the value (or digit) 0xFF in any output byte? (I have coded a general solution, but it's complexity O(n*n), as each input di...
Is there a shortcut or special-case when transforming long numbers from base-256 to base-255 and back?
CC BY-SA 4.0
null
2023-03-02T16:58:19.030
2023-03-03T02:40:07.313
null
null
129,805
[ "c", "optimization", "rust", "radix" ]