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,637,344 | 2 | null | 75,637,139 | 0 | null | yes, `pack_forget` only works with `pack`. For `place` you can use `place_forget`.
| null | CC BY-SA 4.0 | null | 2023-03-04T17:22:24.617 | 2023-03-04T17:22:24.617 | null | null | 7,432 | null |
75,637,343 | 1 | null | null | 0 | 11 | In the current scenario,
1. Caching is implemented using Redis as datastore. Now the cached data size that is causing issue is about 200-300KB.
2. the cache hits mostly happen in a 4 hour window.
3. the number of hits count is high. (atleast 1000 hits per sec).
Due to high hit count, AWS elastic cache throughput lim... | Can application level cache be used along with a in-memory cache like redis in Spring Boot | CC BY-SA 4.0 | null | 2023-03-04T17:22:16.123 | 2023-03-04T17:22:16.123 | null | null | 21,332,595 | [
"spring-boot",
"java-8"
] |
75,637,346 | 2 | null | 54,314,284 | 0 | null | Well in my case I realized that several of my SVG converted to components had within the same SVG Fill-Rule, Stroke-Width label and more properties inside that the browser was throwing error, well simply delete the line of each one Of the properties and gave him a camelcase writing, that is to say the first word begins... | null | CC BY-SA 4.0 | null | 2023-03-04T17:22:32.023 | 2023-03-04T17:22:32.023 | null | null | 21,112,704 | null |
75,637,345 | 2 | null | 75,636,067 | 0 | null | `node-querybuilder` [default values](https://kylefarris.github.io/node-querybuilder/#connecting-to-your-database) for the host field is `localhost` and for password is `''`, that's why your code works when you just set `database` and `user` manually.
Environment variables set in a `.env` file aren't loaded by default. ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:22:29.020 | 2023-03-04T17:22:29.020 | null | null | 13,624,009 | null |
75,637,340 | 2 | null | 75,597,874 | 0 | null | Hey @HarrisonJones thank you so much -- great suggestion!
I realized I was being a dummy and mutate can do it all in one line just fine - I got hung up on trying to use square brackets indexing, where with Tibbles you need to use $ indexing because they return tibbles even for one column - thus mean gives an error if y... | null | CC BY-SA 4.0 | null | 2023-03-04T17:22:07.777 | 2023-03-04T17:22:07.777 | null | null | 6,608,610 | null |
75,637,347 | 2 | null | 75,637,264 | 0 | null | > `RUN yes '' | ...`
That invocation of `yes` produces empty strings.
```
% yes '' | head -n 1
```
You want it to say 'yes' so you should actually specify that.
```
% yes 'yes' | head -n 1 ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:22:42.097 | 2023-03-04T17:22:42.097 | null | null | 1,726,083 | null |
75,637,342 | 1 | null | null | 0 | 21 | I just want to read data from my api, but I can't get to the structure, only observable or promise. My service:
```
@Injectable({
providedIn: 'root'
})
export class AttractionService {
constructor(private http: HttpClient) { }
async getAtttractions(): Promise<Observable<any>> {
return this.http.get<any>("ht... | Simple reading async api request in angular app not working | CC BY-SA 4.0 | null | 2023-03-04T17:22:14.607 | 2023-03-04T17:52:00.947 | null | null | 7,156,513 | [
"angular",
"api",
"observable"
] |
75,637,322 | 1 | null | null | 0 | 18 | I'm making a basic zelda like game (NES) to sharpen up on my coding skills. I just made it so that you can move around. The only thing is that whenever you do move it just draws a line. I know that I need to clear the canvas and have it redraw to update the frame (yes i use a canvas for the game screen) but I can't fig... | Can't figure out how to clear canvas | CC BY-SA 4.0 | null | 2023-03-04T17:18:55.587 | 2023-03-05T00:24:00.897 | null | null | 21,332,541 | [
"javascript",
"html",
"canvas"
] |
75,637,349 | 2 | null | 75,637,300 | 0 | null | ```
expression = readline(prompt = "Enter the expression : ")
exp = eval(parse(text=expression))
```
- `system('del important_file.txt')`- `exp``expression`
| null | CC BY-SA 4.0 | null | 2023-03-04T17:22:51.070 | 2023-03-04T18:06:52.800 | 2023-03-04T18:06:52.800 | 190,277 | 190,277 | null |
75,637,355 | 2 | null | 75,637,187 | 0 | null | The problem you have is caused because the content of your website is lower than browser's window height.
Check this topic, there is an image that helps you to visualize this issue:
[Forcing footer to bottom of page, if document height is smaller than window height](https://stackoverflow.com/questions/23095645/forcing-... | null | CC BY-SA 4.0 | null | 2023-03-04T17:23:47.413 | 2023-03-04T17:23:47.413 | null | null | 7,251,995 | null |
75,637,351 | 1 | null | null | 0 | 19 | I've written many VBA macros over the use but this my first foray into modifying the ribbon with XML and running a macro with ribbon callback. I have followed the instructions for a simple example on Ron de Bruin's webpage precisely, but when I click on the newly created button I get -
'Cannot run the macro "Macro1". T... | Microsoft Excel Ribbon Cannot run callback macro | CC BY-SA 4.0 | null | 2023-03-04T17:23:05.267 | 2023-03-04T18:36:18.523 | 2023-03-04T18:36:18.523 | 8,422,953 | 21,332,291 | [
"excel",
"vba",
"callback",
"ms-office",
"ribbon-control"
] |
75,637,354 | 1 | null | null | -1 | 19 | I am making discord.py bot, that sending you info about online on your Minecraft server. Earlier I used input field in a terminal, but now I want to rewrite it to write IP address by the command /ip. I don't know how to use variable from the command in the another event.
```
from discord import app_commands
from discor... | How to use a variable from arguments in discord.py | CC BY-SA 4.0 | null | 2023-03-04T17:23:46.060 | 2023-03-04T17:27:29.840 | null | null | 21,332,660 | [
"python",
"discord",
"discord.py"
] |
75,637,350 | 1 | 75,637,599 | null | 1 | 17 | I have a Pandas Dataframe with datetimes across multiple months:
```
datetime count
40722 2022-07-21 13:30:00 1
40809 2022-07-21 20:30:00 1
40822 2022-07-21 21:30:00 1
40948 2022-07-22 07:42:15 1
40954 2022-07-22 08:05:17 1
... ... ...
40431 2023-03-02 19:59:13 1
4046... | Multi date timestamps binned in 15 minute intervals in Pandas | CC BY-SA 4.0 | null | 2023-03-04T17:23:00.190 | 2023-03-04T19:12:55.287 | null | null | 7,448,604 | [
"python",
"pandas",
"dataframe",
"datetime"
] |
75,637,360 | 2 | null | 75,636,579 | 1 | null | The spread operator syntax is incorrect in this case. You should pass the object data directly to the Item component without using the spread operator. Try changing your code to the following:
```
<div className="products">
{products &&
products?.products?.map((data) => (
<div key={data.id}>
<Item d... | null | CC BY-SA 4.0 | null | 2023-03-04T17:24:41.823 | 2023-03-04T17:24:41.823 | null | null | 14,177,060 | null |
75,637,359 | 2 | null | 75,637,001 | 0 | null | Everything will work fine, exactly in that order. You're watching the condition and then reading it. So the `countNotifier` will always have the current value.
However, it is better to take advantage of it:
```
Widget build(BuildContext context, WidgetRef ref) {
final countProvider = ref.watch(countProvider);
f... | null | CC BY-SA 4.0 | null | 2023-03-04T17:24:35.367 | 2023-03-04T17:24:35.367 | null | null | 17,991,131 | null |
75,637,352 | 1 | null | null | 0 | 23 | This is the log I got from `adb logcat` when the TV is at sleep mode:
```
03-05 00:50:40.242 9534 9647 I uicksetsdk.son: Starting a blocking GC Alloc
03-05 00:50:40.242 9534 9647 I uicksetsdk.son: Starting a blocking GC Alloc
03-05 00:50:40.271 9534 9647 I uicksetsdk.son: Alloc concurrent copying GC freed 19943(1... | My Android TV seems to be rebooting frequently in sleep mode and causing ADB to be disconnected, why? | CC BY-SA 4.0 | null | 2023-03-04T17:23:18.347 | 2023-03-05T04:27:25.690 | 2023-03-05T04:27:25.690 | 13,180,236 | 13,180,236 | [
"android",
"linux",
"television"
] |
75,637,361 | 2 | null | 75,592,484 | 0 | null | Have you tried to use explicitly the path in your code like:
```
pytesseract.pytesseract.tesseract_cmd = "C:\\Program Files\\Tesseract-OCR\\tesseract.exe"
```
| null | CC BY-SA 4.0 | null | 2023-03-04T17:24:46.077 | 2023-03-04T17:24:46.077 | null | null | 12,621,346 | null |
75,637,362 | 2 | null | 75,637,335 | 0 | null | Basically that's what we called in Python "Hints". As you don't need to specify the type in Python, this will help you to know which type is the upcoming value to the function.
To know more about Typing Hints, I recommend you to check out [this](https://coderslegacy.com/python/union-in-typing/)
| null | CC BY-SA 4.0 | null | 2023-03-04T17:25:05.020 | 2023-03-04T17:25:05.020 | null | null | 19,392,194 | null |
75,637,366 | 2 | null | 75,637,211 | 1 | null | Directly invoke the function before using `schedule`:
```
call_me()
schedule.every(1).seconds.do(call_me)
# ...
```
| null | CC BY-SA 4.0 | null | 2023-03-04T17:25:45.827 | 2023-03-04T17:25:45.827 | null | null | 9,513,184 | null |
75,637,364 | 2 | null | 75,637,014 | 1 | null | You need to use the [user insert](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/insert) method.
```
//create user
$user = new Google_Service_Directory_User();
$name = new Google_Service_Directory_UserName();
// SET THE ATTRIBUTES
$name->setGivenName('John');
$name->setFamilyName('Smith');
$u... | null | CC BY-SA 4.0 | null | 2023-03-04T17:25:22.387 | 2023-03-04T17:25:22.387 | null | null | 1,841,839 | null |
75,637,353 | 1 | null | null | 0 | 7 | I'm just new to renv and tried to find something similar to Pythons virtualenv. So renv seems to offer what I need. I also tried packrat, but renv can load the library when one is not in that project folder.
- `rasterVis_0.51.5`
```
Project '/gpfs0/home/user/venv/modelling' loaded. [renv 0.15.5]
>.libPaths()
[1] "/gpfs... | Using renv but still system library active | CC BY-SA 4.0 | null | 2023-03-04T17:23:40.787 | 2023-03-04T19:54:02.900 | null | null | 4,277,981 | [
"renv"
] |
75,637,358 | 2 | null | 75,637,335 | 1 | null | Annotations can be added to Python functions to provide additional information about the function's arguments and return value. Annotations are optional, but they can help you understand the purpose of a function, document its behavior, and spot potential errors.
The function solution in your code takes one argument, n... | null | CC BY-SA 4.0 | null | 2023-03-04T17:24:23.737 | 2023-03-04T17:31:27.227 | 2023-03-04T17:31:27.227 | 1,126,841 | 16,127,735 | null |
75,637,367 | 1 | null | null | 0 | 5 | I have been trying to set background image for my website using bootstrap 5 but it is not showing
I use external CSS to set the background image but it is not working
The code is
body {background-image:url(images/bgr.jpeg);}
I will like to know what I can do to set the background image for my website correctly. Thanks
| How to set background image using bootstrap 5 | CC BY-SA 4.0 | null | 2023-03-04T17:25:47.000 | 2023-03-04T17:25:47.000 | null | null | 21,332,489 | [
"image",
"background",
"background-image"
] |
75,637,368 | 2 | null | 75,616,357 | 0 | null | In your case I would use [CLI-version of SonarScanner](https://docs.sonarqube.org/latest/analyzing-source-code/scanners/sonarscanner/) on a separate stage (with different Java version) of your CI pipeline
| null | CC BY-SA 4.0 | null | 2023-03-04T17:26:11.913 | 2023-03-04T17:26:11.913 | null | null | 3,581,539 | null |
75,637,370 | 1 | null | null | -2 | 25 | there is[enter image description here](https://i.stack.imgur.com/knCzv.png) some errors that I don't understand. What means the red cyrcles in this github project?
I tried find solution in google but can't find anything. even ChatGPT didn't understand me
| I want to create github page for my reactjs project but my project is not working because of this | CC BY-SA 4.0 | null | 2023-03-04T17:26:32.353 | 2023-03-04T18:07:58.997 | null | null | 20,992,470 | [
"javascript",
"reactjs"
] |
75,637,372 | 1 | null | null | 0 | 14 | I have the following table
```
CREATE TABLE message (
message_id serial PRIMARY KEY,
total int,
reply_count int,
reply_rate float
);
```
The table has over 1mln records and I need to run a query and filter results by `reply_rate`
What would be more efficient option:
- `reply_rate`- `total``reply_count``reply_rate`-
| PostgreSQL - optimizing select query with int/float indexes | CC BY-SA 4.0 | null | 2023-03-04T17:26:36.403 | 2023-03-04T17:26:36.403 | null | null | 2,363,857 | [
"database",
"postgresql"
] |
75,637,369 | 1 | null | null | -1 | 43 | I am working on a C++ ref counting objects implementation without using std::shared_ptr<> and without C++ exceptions. So, there is a C++ template object that holds a pointer to your actual object, similar to shared_ptr<>, and implements the ref counting semantics.
I am trying to figure out the best design to handle a ... | Ref counting and null reference design | CC BY-SA 4.0 | null | 2023-03-04T17:26:15.233 | 2023-03-04T20:44:52.370 | 2023-03-04T20:44:52.370 | 1,625,187 | 2,473,607 | [
"c++",
"null",
"counting",
"ref"
] |
75,637,363 | 1 | null | null | -3 | 21 | Here is the question I have to answer:
Create a function `Eplot( X, Y, Xerrors, Yerrors, Xlabel, Ylabel)`
(arguments in that order) that returns a scatter plot of the data with `x` and `y` values given by the lists `X` and `Y` respectively, `x` and `y` error bars given by the lists `Xerrors` and `Yerrors` respectively ... | Create function for plotting graphs | CC BY-SA 4.0 | null | 2023-03-04T17:25:06.767 | 2023-03-04T20:13:08.487 | 2023-03-04T20:13:08.487 | 12,572,405 | 21,292,261 | [
"python"
] |
75,637,376 | 1 | null | null | 0 | 12 | I want to add Button onclick event in kotlin fragment, and onclick start recording.
onclick event:
startRecord()
| How to add Button event in Kotlin fragment | CC BY-SA 4.0 | null | 2023-03-04T17:27:00.157 | 2023-03-04T17:27:00.157 | null | null | 21,297,121 | [
"kotlin",
"fragment"
] |
75,637,365 | 1 | 75,637,498 | null | 1 | 20 | I have a problem, i need to create form like scheme, i have my models and created forms.py.When i add my forms into the HTML, i have only 2 of all fields in my forms.What it can be?
This is my models.py
```
class Post(models.Model):
full_name = models.CharField(max_length=60, verbose_name='Full name'),
name_sch... | Django form is not displaying all fields | CC BY-SA 4.0 | null | 2023-03-04T17:25:35.140 | 2023-03-04T17:54:31.090 | 2023-03-04T17:52:49.780 | 17,562,044 | 20,003,374 | [
"python",
"django",
"django-views",
"django-forms",
"django-templates"
] |
75,637,373 | 1 | 75,638,116 | null | 0 | 18 | I'm trying to make a game map move like google maps.
I can't understand why I don't drag to the bottom or up, but only to the left or right, where you can read information about it or see formulas, but please don't throw off links to complex and cumbersome code that I can't even figure out.
My attempt
```
const canvas ... | How to make a draggable canvas using the translate method? | CC BY-SA 4.0 | null | 2023-03-04T17:26:47.567 | 2023-03-04T19:45:59.503 | null | null | 20,478,727 | [
"javascript",
"canvas"
] |
75,637,378 | 2 | null | 75,637,069 | 0 | null | You forgot to add # in your selector
```
$("deleteNotepad").on("click", function () {
```
Should be
```
$("#deleteNotepad").on("click", function () {
```
| null | CC BY-SA 4.0 | null | 2023-03-04T17:27:04.997 | 2023-03-04T17:27:04.997 | null | null | 4,342,075 | null |
75,637,379 | 2 | null | 75,635,123 | 0 | null | I have defined "alias" Property like :-
Public string alias{get;set;}
I have created a result filter where I got also model "valid" state true. When I am changing in project file to change nullable is "disable".
I have issue, when I updated the file to change nullable to " Disable", no fluentvalidation works. Always I ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:27:08.443 | 2023-03-04T17:28:37.487 | 2023-03-04T17:28:37.487 | 19,413,779 | 19,413,779 | null |
75,637,382 | 2 | null | 75,515,845 | 0 | null | After some testing it appears that this Firebase library does not work in the Edge runtime.
Either it should be avoided or you should use the Firebase REST API.
| null | CC BY-SA 4.0 | null | 2023-03-04T17:27:49.683 | 2023-03-04T17:27:49.683 | null | null | 17,137,694 | null |
75,637,383 | 1 | null | null | 0 | 37 | Is there a way to convert below time difference in terms of years and months?
```
as.Date(Sys.Date()) - as.Date("2015-08-20")
Time difference of 2753 days
```
Expected output (Since it app.. around 7 years and 5 months?
```
7.5
```
| Is there a way to convert time difference in terms of years and months | CC BY-SA 4.0 | null | 2023-03-04T17:28:10.223 | 2023-03-04T18:15:43.140 | null | null | 16,935,119 | [
"r"
] |
75,637,381 | 2 | null | 74,484,464 | 0 | null | There are several reasons why the code above does not work from what I can tell.
1. counter += 1 needs to be indented
2. counter += 1 is known to fail in Python so it is safer to use counter=counter+1
3. yfinance seems to be having problems in accessing Yahoo Finance data [OutputFromYourCode][1] [1]: https://i.stack.i... | null | CC BY-SA 4.0 | null | 2023-03-04T17:27:34.970 | 2023-03-04T17:31:41.433 | 2023-03-04T17:31:41.433 | 15,525,019 | 15,525,019 | null |
75,637,374 | 1 | null | null | 1 | 9 | For developing a control program i need a rt system. I decided to use Ubuntu with Preempt rt patch. I tried out different kernels (Versions 5.19, 6.0 and 6.2) and patched with the corresponding patch.
I do have two monitors connected to my pc via a nvidia gtx 980 ti. When i start the system with the patched rt kernel, ... | Problem with two displays on a system running Ubuntu with Preempt_RT patch | CC BY-SA 4.0 | null | 2023-03-04T17:26:48.597 | 2023-03-04T17:26:48.597 | null | null | 19,256,846 | [
"linux",
"driver",
"nvidia",
"multiple-monitors",
"preempt-rt"
] |
75,637,384 | 2 | null | 75,636,837 | 2 | null | The following query associates the campaign and question IDs by generating the campaign IDs prior to performing the insert:
```
WITH id_pairs AS
(SELECT uuid_generate_v4() AS campaign_id,
id AS question_id
FROM questions),
campaign_inserts AS
(INSERT INTO camp... | null | CC BY-SA 4.0 | null | 2023-03-04T17:28:14.893 | 2023-03-04T17:28:14.893 | null | null | 20,151,367 | null |
75,637,380 | 2 | null | 75,637,354 | 0 | null | To use the ip variable from the /ip command in the on_ready() event, you need to make sure that the server variable is defined after the ip variable has been set. In your current code, the server variable is defined at the top of the file, before the ip command has been executed.
To fix this, you can define the server ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:27:29.840 | 2023-03-04T17:27:29.840 | null | null | 17,890,217 | null |
75,637,386 | 1 | null | null | -1 | 17 | Hi:I need to programmatically populate image `Title`, `Subject`, `Tags` and `Authors` for millions of TIFFs. The goal is to make the detail tab of the property dialog to be populated.
[](https://i.stack.imgur.com/3sHNZ.png)
I've tried the GDI+ method from [this](https://learn.microsoft.com/en-us/windows/win32/gdiplus/-... | Populating image property values from code | CC BY-SA 4.0 | null | 2023-03-04T17:28:41.237 | 2023-03-04T17:28:41.237 | null | null | 339,392 | [
"c++",
"winapi",
"gdi+",
"leadtools-sdk"
] |
75,637,375 | 1 | null | null | 0 | 21 | I'm building the microservices system using Spring 3.0 and I want to setup Eureka with Docker.
I have 2 services called "AA service" and "Order service", and "Eureka server".
Setting for Eureka server is below:
```
spring.application.name=eureka-server
server.port=8761
eureka.client.registerWithEureka=false
eureka.c... | Cannot connect to Eureka server - Spring Boot | Eureka | Docker | CC BY-SA 4.0 | null | 2023-03-04T17:26:53.637 | 2023-03-05T02:32:50.840 | 2023-03-05T02:32:50.840 | 7,857,701 | 12,484,317 | [
"spring-boot",
"docker-compose",
"docker-networking",
"docker-network"
] |
75,637,385 | 2 | null | 75,636,076 | 0 | null | To disable reCAPTCHA during Firebase phone login, you need to follow different steps for Android and iOS.
## For Android devices
Check out the answers in this thread:
[How to disable reCaptcha in firebase phone-auth (OTP) android?](https://stackoverflow.com/questions/64999106/how-to-disable-recaptcha-in-firebase-pho... | null | CC BY-SA 4.0 | null | 2023-03-04T17:28:20.120 | 2023-03-04T17:28:20.120 | null | null | 21,332,367 | null |
75,637,387 | 2 | null | 23,977,872 | 0 | null | I was having similar trouble because I had used capital letters in my gem name. There's some great documentation about how to name gems [here](https://guides.rubygems.org/name-your-gem/), but the most relevant bit:
> - OS X and Windows have case-insensitive filesystems by default. Users may mistakenly require files fr... | null | CC BY-SA 4.0 | null | 2023-03-04T17:28:46.240 | 2023-03-04T17:28:46.240 | null | null | 5,783,745 | null |
75,637,391 | 2 | null | 75,637,335 | 1 | null | `nums` is the name of the parameter (this is the name that the argument value will be bound to inside your function), and `Union[List[int], Tuple[int, ...]]` is a saying that `nums` is expected to be either a list or a tuple of ints. (A better/simpler way to write this would be `Sequence[int]`, although that's not s... | null | CC BY-SA 4.0 | null | 2023-03-04T17:29:33.957 | 2023-03-04T17:29:33.957 | null | null | 3,799,759 | null |
75,637,306 | 1 | null | null | -1 | 15 | I am trying to build a Spring Application for a school project and I am facing a few problems configuring Spring Security.
In fact, I have configured Spring Security so that I have two types of users : Employee and "Commercant" (Merchant in French). When I try to log in using the nav bar of my browser, everything goes ... | Authentification and redirection problem in Spring Security | CC BY-SA 4.0 | null | 2023-03-04T17:15:40.763 | 2023-03-04T18:01:29.150 | null | null | 20,468,426 | [
"javascript",
"java",
"spring",
"redirect",
"spring-security"
] |
75,637,396 | 1 | 75,637,748 | null | 0 | 12 | i have recently made account on hacker earth and wanted to upload my projects on it however, it is asking to upload a url for my code. i dont know how do i create a url for my c code. can anyone help me with it?
i tried searching on google but could not find anything
| how to create a url link for a c code file to upload on hacker earth projects | CC BY-SA 4.0 | null | 2023-03-04T17:31:13.533 | 2023-03-04T18:24:18.410 | null | null | 21,232,911 | [
"visual-studio-code",
"url"
] |
75,637,388 | 2 | null | 75,637,210 | 0 | null | `a` is an instance of `type`. Like any other class, an instance of `type` is callable because `type.__call__` is defined, so `a()` is equivalent to `type.__call__(a)`.
You can imagine the definition of `__call__` looks something like this, if it were written in pure Python:
```
class type:
def __call__(self, *args... | null | CC BY-SA 4.0 | null | 2023-03-04T17:28:47.677 | 2023-03-04T17:28:47.677 | null | null | 1,126,841 | null |
75,637,392 | 1 | null | null | 0 | 7 | I am trying to create a dashboard widget with feed from a custom plugin's changelog. On the Plugins page of the WP dashboard, one cabn already click on `View Details` and then `Changelog` as per [](https://i.stack.imgur.com/FBxCn.jpg) I would like to show the 3 most recent items in a widget on my dashboard.
My setup
- ... | How do I create a Wordpress Dashboard widget to show a plugin's changelog | CC BY-SA 4.0 | null | 2023-03-04T17:30:05.820 | 2023-03-05T05:24:55.817 | 2023-03-05T05:24:55.817 | 1,664,798 | 1,664,798 | [
"wordpress",
"github",
"widget",
"dashboard",
"feed"
] |
75,637,389 | 2 | null | 75,637,311 | 2 | null | No, it is not linear because you are making a copy of the line string everytime you call those functions -> quadratic. Use `const std::string& line` to avoid the copy. Then I think it is linear.
Some thoughts:
- `letterArray`- `new``std::vector``std::array`- `isAnagram``std::vector``==``std::equal`- `line1.length() || ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:29:17.197 | 2023-03-04T17:34:26.343 | 2023-03-04T17:34:26.343 | 7,691,729 | 7,691,729 | null |
75,637,356 | 1 | null | null | 0 | 34 | The program works as a console-based application, where a user can add loyalty cards to a database.
There is a menu (in a separate file) that is connected to the main application. What I want to allow is whenever the user inputs/presses "X", it will exit out of whatever function it is executing and go back to the menu.... | How to return to the menu when the user enters a key at any point in the program in python? | CC BY-SA 4.0 | null | 2023-03-04T17:24:07.217 | 2023-03-04T17:47:22.710 | 2023-03-04T17:47:22.710 | 12,572,405 | 14,378,007 | [
"python",
"function",
"sqlite"
] |
75,637,393 | 1 | null | null | -1 | 16 | I get a strange error with the following code
```
function HeadLit($ST) {
global $inHead,$HeadP,$Head_C,$H_parts,$H,$B_parts,$B,$inHead,$M_parts,$M;
while (true) {
$t=strpos($ST,"/t');
if ($t===false) {
$B_parts[++$B]=$ST; // mainline in error
break; }
if ... | Strange PHP parseer error with ++ increment | CC BY-SA 4.0 | null | 2023-03-04T17:31:07.193 | 2023-03-04T17:31:07.193 | null | null | 16,674,594 | [
"php",
"arrays",
"parsing",
"assignment-operator",
"pre-increment"
] |
75,637,397 | 2 | null | 75,637,352 | 1 | null | See that bug is already fixed: [here](https://android.googlesource.com/device/mediatek/wembley-sepolicy/) also note that you shouldn't have the security settings and/or automatic shutdown configured.
| null | CC BY-SA 4.0 | null | 2023-03-04T17:31:22.857 | 2023-03-04T17:31:22.857 | null | null | 20,816,962 | null |
75,637,399 | 2 | null | 74,854,128 | 0 | null | Just use them normally as you would use any from a global styleSheet(like utility classes)!
```
<Title className={classes.title} order={2}>
A little bit <span className='text-blue'>about us</span>
</Title>
```
| null | CC BY-SA 4.0 | null | 2023-03-04T17:31:32.987 | 2023-03-04T17:31:32.987 | null | null | 21,104,297 | null |
75,637,401 | 2 | null | 75,636,548 | 0 | null | ```
import matplotlib.pyplot as plt
import numpy as np
X_LIM = 300
# Sample Data
y1 = np.random.randint(12, 260, size=800)
y2 = np.random.randint(12, 260, size=800)
# Add this
x = np.arange(0,X_LIM,X_LIM/len(y1)) # Assumes both y1 and y2 are same len.
plt.figure(figsize=(9,5))
plt.title("Title", fontsize=16)
plt.x... | null | CC BY-SA 4.0 | null | 2023-03-04T17:31:48.823 | 2023-03-04T19:33:34.923 | 2023-03-04T19:33:34.923 | 10,777,363 | 10,777,363 | null |
75,637,404 | 1 | null | null | -4 | 15 | Hello Stack Overflow community,
I am currently working on a project where I need to optimize the transition of a bus network to electric buses using CPLEX in Python. I have developed an optimization model based on the technical feasibility of each bus line and the total consumption of each technology. The objective is ... | Implementing optimization model for electric bus transition using CPLEX in Python | CC BY-SA 4.0 | null | 2023-03-04T17:32:08.510 | 2023-03-04T17:32:08.510 | null | null | 21,332,523 | [
"python",
"optimization",
"linear-programming",
"cplex"
] |
75,637,395 | 2 | null | 75,634,462 | 1 | null | > Isn't `input_user` same as `* input_user` due to as I declared it?
No. `* input_user` only references the first `char` of the allocated memory - a `char`, something suitable for `switch`. `input_user` is a pointer - not suitable for `switch`.
---
- `sizeof(char)``sizeof(char) *`
```
// char * input_user;
// input... | null | CC BY-SA 4.0 | null | 2023-03-04T17:31:11.320 | 2023-03-04T17:37:55.953 | 2023-03-04T17:37:55.953 | 2,410,359 | 2,410,359 | null |
75,637,400 | 2 | null | 75,633,821 | 0 | null | If you are using [Auth Code Grant](https://developers.docusign.com/platform/auth/authcode/authcode-get-token/) with [Postman](https://www.youtube.com/watch?v=LmiQ8zVJ1Co), you'll need the following
- - -
These must be configured on the [App and Keys page](https://admindemo.docusign.com/authenticate?goTo=appsAndKeys&_g... | null | CC BY-SA 4.0 | null | 2023-03-04T17:31:38.117 | 2023-03-04T17:31:38.117 | null | null | 3,255,871 | null |
75,637,408 | 1 | null | null | -2 | 11 | How to pass data from react native to node.js and vice versa using axios?
How to pass data from react native to node.js using axios?
I'm working on react native and nodejs (express). I can't figure out how to pass data from react native to node.js using axios and vice versa?
| How to pass data from react native to node.js using axios? | CC BY-SA 4.0 | null | 2023-03-04T17:32:15.623 | 2023-03-04T17:32:15.623 | null | null | 20,757,018 | [
"node.js",
"react-native",
"express"
] |
75,637,407 | 1 | null | null | 0 | 10 | Can You help me ?
I have latest PIP command. I tried to import pygame to VScode but it didnt happend
(i dont have installed pygame, and I can install pygame into pycharm)
At CMD this shows me
[CMD](https://i.stack.imgur.com/mCBlv.png)
| cant import pygame into Visual Studio Code | CC BY-SA 4.0 | null | 2023-03-04T17:32:11.873 | 2023-03-04T17:36:59.593 | 2023-03-04T17:33:34.173 | 18,739,582 | 18,739,582 | [
"python",
"import",
"cmd",
"pip",
"pygame"
] |
75,637,405 | 2 | null | 40,876,078 | 0 | null | Above are not solving the memory issue.
If you load entire Excel and or Array in memory it can get take up a lot of memory, often more then 1gb.
The way to deal with extremely large datasets (1 million+) and not crash your server is not load things in the memory and use streams:
```
import Excel from 'exceljs';
... | null | CC BY-SA 4.0 | null | 2023-03-04T17:32:11.767 | 2023-03-04T17:32:11.767 | null | null | 924,339 | null |
75,637,411 | 2 | null | 40,323,326 | 0 | null | I resolved this here:
I was able to resolve this error by opening the xcworkspace file and then dragging my xcodeproj file into the left panel. After doing this I selected the project container folder and was able to build my project correctly. The pod installation didn't complete correctly and I needed to manually do ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:32:26.880 | 2023-03-04T17:32:26.880 | null | null | 9,372,032 | null |
75,637,403 | 1 | null | null | -2 | 27 | Literally need correction in only one line of the code below. Everything in the code works fine except for line: `dwarfs.sort(key=lambda x:-x.physics)` which is incomplete.
After creating the objects and appending them in the list `dwarfs` and keeping track of the colors in the `colors` dictionary I want to sort the ob... | Python - sort list of objects by one of the obj attributes and then by dict value | CC BY-SA 4.0 | null | 2023-03-04T17:31:55.720 | 2023-03-04T21:19:36.383 | null | null | 19,971,042 | [
"python",
"list",
"dictionary",
"sorting",
"object"
] |
75,637,412 | 2 | null | 75,636,847 | 0 | null | I think you use 2.19 .net driver. See release [notes](https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0) with the description of your issue.
> The ObjectSerializer has been changed to only allow deserialization of types that are considered safe.
What types are considered safe is determined by a new co... | null | CC BY-SA 4.0 | null | 2023-03-04T17:32:44.177 | 2023-03-04T17:32:44.177 | null | null | 9,492,730 | null |
75,637,410 | 1 | null | null | 0 | 14 | ```
<b-form-file
@change="onFileChange"
class="formFile"
accept="audio/wav|.wav"
v-model="audioWav"
:state="Boolean(audioWav)"
placeholder="Wähle eine Audio .wav Datei aus ziehe sie hier rein..."
drop-placeholder="Lass sie fallen..."
></b-form-file>
onFileCha... | Firefox doesn‘t accept .wav with bootstrap b-form-file | CC BY-SA 4.0 | null | 2023-03-04T17:32:18.283 | 2023-03-04T17:32:18.283 | null | null | 21,331,889 | [
"javascript",
"html",
"vue.js",
"input"
] |
75,637,414 | 1 | null | null | 0 | 35 | I am creating a very large WorkBook, utilizing the same WorkSheet format several times. I have created the WorkSheet and then I just duplicate it over and over. I will have more than 20 WorkSheets. Each WorkSheet requires a minimum of 50 or more macros performing different routines on each WorkSheet. The example below ... | Using Same Macro on Different Worksheet Without Changing Sub Name | CC BY-SA 4.0 | null | 2023-03-04T17:33:41.297 | 2023-03-04T18:35:55.083 | 2023-03-04T18:35:55.083 | 8,422,953 | 20,192,340 | [
"excel",
"vba"
] |
75,637,418 | 2 | null | 75,636,401 | 1 | null | The below query does the trick, however, if we use the parameter name 'value', cosmos db is getting confused with VALUE keyword we use in queries. So I have changed the parameter name from 'value' to 'val', and it worked.
```
select * from c where EXISTS(SELECT VALUE n
FROM n IN c.items
WHERE IS_DEFINED(n.deletedAt)=fa... | null | CC BY-SA 4.0 | null | 2023-03-04T17:34:28.293 | 2023-03-04T17:34:28.293 | null | null | 6,374,720 | null |
75,637,419 | 1 | null | null | 0 | 19 | I have a Spring-Boot-Application, that I deploy with Helm to an Openshift Kubernetes Cluster.
We are using an SSL-secured database, that needs passwords from key-and truststore.
The only way this works is by adding it to the JVM arguments like
> -Djavax.net.ssl.trustStorePassword=XXX and -Djava.net.ssl.keyStorePassword... | Spring-Boot-Application on Kubernetes - how to pass passwords to JVM? | CC BY-SA 4.0 | null | 2023-03-04T17:34:33.017 | 2023-03-04T17:53:00.130 | 2023-03-04T17:40:24.530 | 17,059,658 | 17,059,658 | [
"spring-boot",
"kubernetes",
"jvm",
"passwords",
"openshift"
] |
75,637,417 | 2 | null | 75,633,781 | 0 | null | @Nick - thank you for pointing out the post about adding the ? to the .* to make it none greedy. Using that info, I came up with a way to delete the entire block in one step. The regex I used to delete the following block of text:
```
<div class="navigation">
<div class="alignleft">« <a href="/2008/11/28/107/... | null | CC BY-SA 4.0 | null | 2023-03-04T17:34:10.377 | 2023-03-04T17:34:10.377 | null | null | 5,491,559 | null |
75,637,422 | 2 | null | 75,392,887 | 0 | null | Sounds like the main project needs to reference those dependencies. Otherwise, as others have said, it is a versioning issue.
| null | CC BY-SA 4.0 | null | 2023-03-04T17:35:13.527 | 2023-03-04T17:35:13.527 | null | null | 7,426,654 | null |
75,637,406 | 1 | null | null | 0 | 31 | I'm currently trying to find ranges of values given list of bounds.
Here is some example data:
| # | Low | High |
| - | --- | ---- |
| 1 | 3 | 8 |
| 2 | 3 | 8.1 |
| 3 | 3.2 | 8 |
| 4 | 3.1 | 8.2 |
| 5 | 3.4 | 5 |
| 6 | 3.3 | 5 |
| 7 | 3.2 | 5.2 |
| 8 | 3.4 | 5.1 |
| 9 | 3.6 | 5 |
| 10 | 3.5 | 5.7 |
| 11 | ... | How can I find ranges of values out of low and high bounds? | CC BY-SA 4.0 | null | 2023-03-04T17:32:11.720 | 2023-03-05T00:28:37.530 | 2023-03-05T00:28:37.530 | 1,422,451 | 12,134,355 | [
"sql",
"database"
] |
75,637,421 | 2 | null | 75,482,878 | 0 | null | ```
expandableListView.setOnChildClickListener { parent, v, groupPosition, childPosition, id ->
var intent: Intent? = null
when (childPosition) {
0 -> intent = Intent(this, FirstActivity::class.java)
1 -> intent = Intent(this, SecondActivity::class.java)
2 -> intent = Intent(this, ThirdActivity::class.java)... | null | CC BY-SA 4.0 | null | 2023-03-04T17:34:57.310 | 2023-03-04T17:34:57.310 | null | null | 21,020,308 | null |
75,637,424 | 1 | null | null | -1 | 13 | hi guys Im trying to `push` my changes in GitHub as same as I pushed it before but it takes too long to `push` here is my terminal image
[](https://i.stack.imgur.com/DyxfG.png)
I also trying this:
```
git config --global http.postBuffer 524288000
```
but not works
could you pls help me ?
| push commands take too long to push data on Github repository | CC BY-SA 4.0 | null | 2023-03-04T17:35:42.027 | 2023-03-04T17:35:42.027 | null | null | 13,231,610 | [
"git",
"github",
"push",
"git-push"
] |
75,637,415 | 1 | null | null | 0 | 28 | How do I write the html to create a sitemap using SVG like the image given?
[diagram svg](https://i.stack.imgur.com/XCMI1.png)
This is what I have so far
```
<svg width="400" height="200">
<rect x="0" y="0" width="100" height="100" style="fill:lightblue;stroke-width:2;stroke:black" onclick=""/>
... | HTML for SVG diagram | CC BY-SA 4.0 | null | 2023-03-04T17:33:48.737 | 2023-03-04T18:17:05.550 | 2023-03-04T17:54:43.843 | 616,443 | 20,750,037 | [
"html",
"css",
"svg"
] |
75,637,420 | 2 | null | 75,637,321 | 0 | null | The `rstrip()` method is called on name to remove any trailing whitespace from the file name. However, the `os.DirEntry` class doesn't have a `rstrip()` method, so Python raises an `AttributeError`.
What you can do is in you `def check_Audio_Files()` function add this line in the starting of it before the :
```
name = ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:34:52.547 | 2023-03-04T17:34:52.547 | null | null | 14,324,683 | null |
75,637,423 | 2 | null | 75,636,368 | 1 | null | At the time of this writing, changing the background colours of editors is not supported.
This was previously brought up as a feature-request, but it didn't receive enough community support, so that feature-request was closed: [Support color customizations for currently "active" editor or "focused" editor group #87083]... | null | CC BY-SA 4.0 | null | 2023-03-04T17:35:36.707 | 2023-03-04T17:35:36.707 | null | null | 11,107,541 | null |
75,637,429 | 2 | null | 75,484,165 | 0 | null | Another alternative to Rainforest is [Canopy](https://www.canopyapi.co/). It scrapes Amazon data and provides a GraphQL API for Amazon product data, search results, and categories.
| null | CC BY-SA 4.0 | null | 2023-03-04T17:36:18.887 | 2023-03-04T17:36:18.887 | null | null | 526,074 | null |
75,637,428 | 1 | null | null | -1 | 6 | Currently I am working on building a resume parser for tunisian resumes which will be in english and french I started researching i found too many Models, now I narrowed the scope to use SpaCy custom NER pretrained Model or Train a BILSTM_CNN_CRF model for sequence labeling.
I am thinking to manually annotate around 40... | Best Model For Resume Parsing with Medium training data Size | CC BY-SA 4.0 | null | 2023-03-04T17:36:12.810 | 2023-03-04T17:36:12.810 | null | null | 21,332,509 | [
"deep-learning",
"nlp",
"named-entity-recognition",
"information-retrieval",
"resume"
] |
75,637,409 | 1 | null | null | 1 | 13 | path="/" works perfectly in local but when i have hosted it with the github pages.While visitig the site through the link it only shows the navigation and footer.
This is the code of my App.jsx
```
import React from 'react'
import Nav from './components/Nav'
import Footer from './components/Footer'
import Hero from './... | default landing page is not showing in react.js | CC BY-SA 4.0 | null | 2023-03-04T17:32:15.697 | 2023-03-04T18:03:58.827 | null | null | 21,330,881 | [
"reactjs",
"github-pages"
] |
75,637,433 | 2 | null | 75,609,949 | 0 | null | Apparently, this is a bug from the latest version of Visual Studio as stated [here](https://developercommunity.visualstudio.com/t/Event-handlers-disconnect-from-the-objec/10291096) . The Event handlers disconnect from the object code. The bug is on status "Fixed - Pending Release".
To work around the problem, try closi... | null | CC BY-SA 4.0 | null | 2023-03-04T17:36:41.913 | 2023-03-04T17:36:41.913 | null | null | 2,497,570 | null |
75,637,427 | 2 | null | 75,637,087 | 3 | null | > There is a similar question for C, but the solution doesn't seem to transfer to Rust: How to determine if a file descriptor is seekable? - or is this effectively what file.rewind() does under the hood?
`rewind` actually performs a `lseek(fd, 0, SEEK_SET)`, so it'll have the side-effect of, well, rewinding (hence the ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:36:07.607 | 2023-03-04T17:53:10.503 | 2023-03-04T17:53:10.503 | 8,182,118 | 8,182,118 | null |
75,637,432 | 1 | 75,637,444 | null | 0 | 15 | I have been having this issue with all my modules and as a beginner its frustrating. I downloaded beautiful soup using: pip install bs4 and it was successful. When I then try to import the module into my program it says No module named 'bs4'. My beautifulsoup files are located in site-packages so they are installed.
Iv... | Pip Installs successfully, but when importing to program the module cannot be found (Pycharm). How do I fix this? | CC BY-SA 4.0 | null | 2023-03-04T17:36:40.920 | 2023-03-04T17:39:12.697 | null | null | 21,289,390 | [
"python",
"beautifulsoup",
"pip",
"module",
"pycharm"
] |
75,637,435 | 2 | null | 75,636,996 | 0 | null | OK, I found another way around
Here is how to find your last file, I based it on a Rename, So this will track your last txt file in your folder and it will rename it to what ever you want it to be
and then I made a move script to move the new filename.txt to the required folder
```
pushd Folder1
for /f "tokens=*" %%a i... | null | CC BY-SA 4.0 | null | 2023-03-04T17:37:13.860 | 2023-03-04T17:37:13.860 | null | null | 21,307,808 | null |
75,637,434 | 1 | null | null | 0 | 4 | I am trying to generate a simple robo script for my app in order to run it on Firebase׳s Tast-Lab.
While following the instructions: In Android Studio click -> Tools -> Firebase -> Test Lab -> Record Robo script. The app is being built, but the UI of the test lab never showed up.
Here is an example i saw on some guide:... | Recording Robo-Script From Android Studio Failed | CC BY-SA 4.0 | null | 2023-03-04T17:37:07.167 | 2023-03-04T17:37:07.167 | null | null | 923,290 | [
"firebase",
"android-studio",
"firebase-test-lab"
] |
75,637,437 | 1 | null | null | 0 | 13 | I have created a function to dislpay the objects in an Array.
```
let shownObjects = myArray;
function showTheObjects(displayedObjects) {
document.getElementByID('divToDisplayObjects').innerHTML = "";
for (let i of shownObjects) {
// Code to display the objects
}
}
```
This code works as expected.
... | Sort and display an Array of Objects JavaScript | CC BY-SA 4.0 | null | 2023-03-04T17:37:20.220 | 2023-03-04T17:41:58.037 | null | null | 21,194,080 | [
"javascript",
"arrays",
"function",
"object",
"drop-down-menu"
] |
75,637,440 | 1 | null | null | -3 | 10 | i was working on a project and it is wanted that there are some texts ( actually so many texts) which should be converted into an image or multiple images for each text and after that classify documents which are in same class. Is there any suggestion? For example, should i convert these texts into one image or multipl... | Is it possible to convert texts into an image or multiple images in Python for document classification | CC BY-SA 4.0 | null | 2023-03-04T17:38:31.837 | 2023-03-04T17:38:31.837 | null | null | 18,720,491 | [
"opencv",
"machine-learning",
"deep-learning",
"computer-vision",
"document-classification"
] |
75,637,444 | 2 | null | 75,637,432 | 0 | null | PyCharm creates an virtual-environment for your project, so you have to run the pip command inside of this environment.
| null | CC BY-SA 4.0 | null | 2023-03-04T17:39:12.697 | 2023-03-04T17:39:12.697 | null | null | 17,413,308 | null |
75,637,436 | 2 | null | 75,637,342 | 0 | null | The Angular http library uses [Observables](https://angular.io/guide/observables), which is a different pattern than promises/await. Your code should be:
```
this.attractionService.getAttractions()
.subscribe(x => {
y = x;
console.log(y);
});
```
EDIT:
If you absolutely need to `await`, [then c... | null | CC BY-SA 4.0 | null | 2023-03-04T17:37:15.233 | 2023-03-04T17:52:00.947 | 2023-03-04T17:52:00.947 | 13,289,884 | 13,289,884 | null |
75,637,425 | 2 | null | 75,637,247 | 1 | null | The usual way to do this is to put your class(es) in a package. Base R infrastructure knows nothing about R6, so you'll definitely want to use `roxygen2` to handle the documentation for the classes and methods.
The package always defines a namespace, and you can refer to objects exported from it as `pkgname::objectnam... | null | CC BY-SA 4.0 | null | 2023-03-04T17:35:46.260 | 2023-03-04T20:27:13.133 | 2023-03-04T20:27:13.133 | 2,554,330 | 2,554,330 | null |
75,637,446 | 1 | 75,637,790 | null | -2 | 35 | I'm trying to change the written scala code to sql code, now I got it, which I think is not entirely correct, since there are two window functions in the scale code and I combined them into one. I also need this code to be in the form of a cte table(Hive sql version).
Scala code:
```
val window1 = Window.partitionBy("r... | Change code window function from scala to sql | CC BY-SA 4.0 | null | 2023-03-04T17:39:23.323 | 2023-03-04T22:12:03.480 | 2023-03-04T22:12:03.480 | 21,309,701 | 21,205,882 | [
"sql",
"scala",
"apache-spark",
"hive"
] |
75,637,447 | 2 | null | 75,637,369 | 0 | null | > Obviously, derefrencing that will cause an exception which I am trying to avoid.
That's incorrect. Dereferencing a null pointer does not cause an exception to be thrown. It causes undefined behavior.
So just using a null pointer value for the object pointer is a sufficient approach. If the user of your smart pointer ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:39:23.973 | 2023-03-04T17:39:23.973 | null | null | 17,732,522 | null |
75,637,445 | 1 | null | null | 0 | 18 | this codes output different days i.e. mon, tue and etc. in the week. For example the output could be mon only, or mon, tue, wed, thu and fri
```
school_days AS
(
SELECT to_char(trunc(sysdate ,'D') + LEVEL - sw.LEV_1, 'dy') as school_day
FROM SCHOOL_WEEKS sw
CONNECT BY LEVEL <= sw.LEV_2
),
```
this ... | How to print selected (output) days only between two dates | CC BY-SA 4.0 | null | 2023-03-04T17:39:13.390 | 2023-03-04T17:50:21.620 | 2023-03-04T17:44:36.360 | 2,142,028 | 20,834,985 | [
"sql",
"oracle"
] |
75,637,426 | 1 | null | null | 0 | 10 | I updated VS 2022 to the latest version and upgraded my Azure functions project to .Net7. I get error message when running the app from visual studio "There is no Functions runtime available that matches the version specified in the project.". How do I fix this issue? Note that it runs fine in Azure.
csproj file:
```
... | .Net7 upgrade of Azure Function project fails to run locally | CC BY-SA 4.0 | null | 2023-03-04T17:35:56.757 | 2023-03-04T17:47:37.673 | 2023-03-04T17:47:37.673 | 2,720,421 | 2,720,421 | [
"visual-studio",
"azure-functions"
] |
75,637,455 | 2 | null | 75,636,971 | 0 | null | This is very likely an issue that happens when you're exporting the file to csv on your computer. Can you confirm that when you read your csv before importing with a plain text reader the numbers are still unchanged?
| null | CC BY-SA 4.0 | null | 2023-03-04T17:40:09.967 | 2023-03-04T17:40:09.967 | null | null | 5,605,605 | null |
75,637,453 | 2 | null | 75,637,246 | 2 | null | For the `NUMERIC(9,4)` data type you need the function `VARCHAR_FORMAT()` with the format `'99990.9999'`:
```
SELECT NBUN62,
VARCHAR_FORMAT(NBUN62, '99990.9999') AS ADD_LEADING_ZERO
FROM Cost_File;
```
See the [demo](https://dbfiddle.uk/ckdomrzI).
| null | CC BY-SA 4.0 | null | 2023-03-04T17:40:01.653 | 2023-03-04T17:40:01.653 | null | null | 10,498,828 | null |
75,637,451 | 1 | null | null | -1 | 15 | I am using vuejs. I am having difficulty displaying the default image if the two properties (selImage and imageData are empty). Is there a better way to write this. I can achieve it if its only one, but not both. I would prefer not to use computed in this case. any help. Thanks
```
new Vue({
el: "#app",
data: {
... | vuejs show default image if no imagedata is found for 2 properties | CC BY-SA 4.0 | null | 2023-03-04T17:39:46.610 | 2023-03-04T20:40:47.997 | 2023-03-04T17:58:32.540 | 4,570,185 | 4,570,185 | [
"vue.js"
] |
75,637,454 | 1 | null | null | -10 | 27 | When I run java program in edit plus software and execute through command prompt it show this error refer image for understand.
My drive path is correct however it shows error
[](https://i.stack.imgur.com/EUZYk.jpg)
| ommand Prompt Er | CC BY-SA 4.0 | null | 2023-03-04T17:40:04.210 | 2023-03-04T17:43:49.927 | 2023-03-04T17:43:49.927 | 4,420,967 | 21,309,886 | [
"java",
"editplus"
] |
75,637,457 | 1 | null | null | -3 | 19 | Write a python program to input name and marks of 5 students and make two list 1 for name and second for marks.
Write a program to input name and marks of 5 students and make two list 1 for name and second for marks.
| Write a program to input name and marks of 5 students and make two list 1 for name and second for marks | CC BY-SA 4.0 | null | 2023-03-04T17:40:18.640 | 2023-03-04T17:40:18.640 | null | null | 21,332,745 | [
"python",
"windows",
"dictionary"
] |
75,637,458 | 1 | null | null | 0 | 12 | I am new to the Google Cloud.
A colleague has created a GCP mssql instance in the region europe-west6 (Zurich) which makes a daily backup.
Now I have to create an hourly backup of a GCP mssql instance in region europe-west3 (Frankfurt) and region europe-west6 (Zurich).
With the Cloud Scheduler I can only backup the DB ... | Google Cloud hourly SQL Instance backup from one region to another region | CC BY-SA 4.0 | null | 2023-03-04T17:40:32.720 | 2023-03-04T17:40:32.720 | null | null | 21,332,714 | [
"google-cloud-platform"
] |
75,637,456 | 1 | null | null | 0 | 9 | ```
# LIBRAIRIES
import requests
from bs4 import BeautifulSoup
import csv
# SEARCH URL
url = 'https://www.atlas-monde.net/tous-les-pays/'
response = requests.get(url)
# EXTRACT DATAS
if response.ok:
soup = BeautifulSoup(response.text, 'html.parser')
# items = soup.find_all(class_="sidebar")
items = so... | TypeError: a bytes-like object is required, not 'str' PYTHON 3 BS4 | CC BY-SA 4.0 | null | 2023-03-04T17:40:13.423 | 2023-03-04T17:44:37.120 | null | null | 21,332,715 | [
"python-3.x",
"csv",
"web-scraping"
] |
75,637,459 | 1 | null | null | -1 | 9 | I have gotten this error when downloading a project and trying to set it up with mongodb. Anyone know why I get this error? If anymore code is needed let me know and I will edit this post! Appreciate the feedback.
FAILURE: Build failed with an exception.
```
* What went wrong:
Could not resolve all files for configurat... | Compile error after downloading a project | CC BY-SA 4.0 | null | 2023-03-04T17:40:35.420 | 2023-03-04T17:40:35.420 | null | null | 18,906,612 | [
"android",
"mongodb",
"compiler-errors"
] |