Id
int64
1.68k
75.6M
PostTypeId
int64
1
2
AcceptedAnswerId
int64
1.7k
75.6M
ParentId
int64
1.68k
75.6M
Score
int64
-60
3.16k
ViewCount
int64
8
2.68M
Body
stringlengths
1
41.1k
Title
stringlengths
14
150
ContentLicense
stringclasses
3 values
FavoriteCount
int64
0
1
CreationDate
stringlengths
23
23
LastActivityDate
stringlengths
23
23
LastEditDate
stringlengths
23
23
LastEditorUserId
int64
-1
21.3M
OwnerUserId
int64
1
21.3M
Tags
sequence
75,564,094
2
null
75,549,750
0
null
Since the input to the runbook is coming through request body you need to do below changes in your script to get the desired output. ``` param ( [Parameter (Mandatory = $false)] [object] $WebHookData ) write Hello $WebHookData.RequestBody ``` ![enter image description here](https://i.imgur.com/0BnwAz0.png) Below is the sample request that I'm sending through my logic apps. ``` "Rambo" ``` ![enter image description here](https://i.imgur.com/NxuLeeA.png) Results: In Runbook: ![enter image description here](https://i.imgur.com/HEquobB.png) In LogicApp: ![enter image description here](https://i.imgur.com/PSXx8ys.png)
null
CC BY-SA 4.0
null
2023-02-25T08:07:49.507
2023-02-25T08:07:49.507
null
null
15,969,981
null
75,564,139
2
null
75,563,903
3
null
To resolve promises in a specific order, you need to chain them accordingly. Following is a breakdown of one of the ways it can be done: 1. As A and D can start immediately, we call the timeoutPromise function and save the returned promises in variables so we can reference them later. 2. As we need to start B as soon as A resolves, we can save a reference to the A promise in a variable so that we can start B when A completes. 3. We can use Promise.all to wait for both A and D to resolve before we start C. The resulting promise is again stored into a variable. 4. Promise.all is used to wait for B and C promises to settle to ensure that both promises have settled before we end the execution. ``` const timeoutPromise = (seconds, intervalName) => { return new Promise((resolve, reject) => { setTimeout(function () { console.log( `Executed ${intervalName} at: ${new Date().toString()} with interval of ${seconds} seconds` ); resolve(); }, seconds * 1000); }); }; let main = () => { console.log('Starting at:', new Date().toString()); const promiseA = timeoutPromise(1, 'A'); const promiseAandD = Promise.all([promiseA, timeoutPromise(4, 'D')]); const promiseBThen = promiseA.then(() => timeoutPromise(1, 'B')); const promiseCThen = promiseAandD.then(() => timeoutPromise(1, 'C')); Promise.all([promiseCThen, promiseBThen]).then( () => { console.log('Completed at:', new Date().toString()); } ); }; main(); ```
null
CC BY-SA 4.0
null
2023-02-25T08:21:46.537
2023-02-25T09:32:50.850
2023-02-25T09:32:50.850
1,048,572
6,094,348
null
75,564,158
2
null
75,563,936
0
null
Locate the App_Start folder in your project, then open BundleConfig.cs and edit the ~/bundles/bootstrap to reference the updated Bootstrap files instead of your original references. You're getting the null reference because it's still pointing towards the old Bootstrap files which was removed during the update.
null
CC BY-SA 4.0
null
2023-02-25T08:25:00.533
2023-02-25T08:25:00.533
null
null
4,716,275
null
75,564,186
2
null
75,547,227
0
null
Finally I got the solution of this problem. If anyone has the same problem, try this solution. It may work for you. First thing I download extension called (MASM/TASM) [](https://i.stack.imgur.com/3awM1.jpg) Finally, Right-Click in your code then click (Run ASM code) as shown in the image below: [](https://i.stack.imgur.com/BHrwf.png) I hope this solution helped you
null
CC BY-SA 4.0
null
2023-02-25T08:31:40.053
2023-02-25T08:31:40.053
null
null
16,073,543
null
75,564,280
2
null
63,441,227
0
null
``` php artisan optimize php artisan optimize:clear ``` It works for me
null
CC BY-SA 4.0
null
2023-02-25T08:50:18.383
2023-02-25T08:50:18.383
null
null
13,227,609
null
75,564,291
2
null
75,563,762
0
null
Built target java % might have been reported incorrectly. Try running the same command again and check if results are the same.
null
CC BY-SA 4.0
null
2023-02-25T08:53:16.823
2023-02-25T08:53:16.823
null
null
1,940,850
null
75,564,341
2
null
75,159,719
0
null
Channels 4.0.0 does not start the ASGI server by default. If you look at your logs of the server starting you are probably seeing: ``` Starting development server at http://0.0.0.0:8000/ ``` Try adding 'daphne' to your INSTALLED_APPS in settings.py. Now when your server starts you should see something like: ``` Starting ASGI/Daphne version 4.0.0 development server at http://0.0.0.0:8000/ ``` See the Channels 4.0.0 release notes for more info - [https://channels.readthedocs.io/en/stable/releases/4.0.0.html?highlight=INSTALLED_APPS#release-notes](https://channels.readthedocs.io/en/stable/releases/4.0.0.html?highlight=INSTALLED_APPS#release-notes) This worked for me and means you don't need to go to an old version of Channels.
null
CC BY-SA 4.0
null
2023-02-25T09:03:27.443
2023-02-25T09:03:27.443
null
null
13,986,990
null
75,564,557
2
null
75,442,270
0
null
I ended up having the recording settings set up improperly, so as a result the files were getting messed up. --- [edit](https://stackoverflow.com/revisions/75442270/3)[Wav file forming large amounts of noise at the end of the file](https://stackoverflow.com/questions/75442270/solved-wav-file-forming-large-amounts-of-noise-at-the-end-of-the-file)[elloiguess](https://stackoverflow.com/users/20151871/elloiguess)
null
CC BY-SA 4.0
null
2023-02-25T09:49:22.673
2023-02-25T09:49:22.673
null
null
5,446,749
null
75,564,606
2
null
75,563,496
0
null
It's unclear what you're trying to do with the collected information, however below is an example on how you could collect the data. Firstly, you need to create a bot using the [Discord developer portal](https://discord.com/developers/applications). Secondly, you need to install required packages (ensure that you have node.js installed): ``` npm i --save discord.js ``` Here is an example of the code: ``` const { Client } = require("discord.js"); const client = new Client({ fetchAllMembers: true, intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildVoiceStates ] }); // Listen for new messages client.on("messageCreate", function(message) { // Ignore bot messages if (message.author.bot) return; // Get the current date and time let date = new Date().toString(); // Log the event to the console console.log(`${message.author.username} has sent a message at ${date}`); }); client.on("voiceStateUpdate", function(oldState, newState) { // Get the date and time of the event let date = new Date().toString(); // Collect information }); // Login client.login("your-token here"); ```
null
CC BY-SA 4.0
null
2023-02-25T09:57:24.003
2023-02-25T09:57:24.003
null
null
14,267,427
null
75,564,905
2
null
75,564,609
1
null
There are multiple problems in your code: - `h``do``while``do``while`- `printf``sleep()` Here is a modified version using an ancillary function to avoid redundant code: ``` #include <stdio.h> #include <stdlib.h> #include <windows.h> /* read and discard the current input line. return EOF at end of file */ int flush_stdin(void) { int c; while ((c = getchar()) != EOF && c != '\n') continue; return c; } /* read an integer in a given range */ int get_integer(const char *prompt, int min, int max) { int n = 0; for (;;) { printf("%s", prompt); if (scanf("%d", &n) == 1) { /* silently consume the rest of the input line */ flush_stdin(); if (n >= min && n <= max) break; printf("ERROR! Please enter an integer ranging from %d to %d.\n", min, max); } else { /* invalid input: read and discard the input line */ if (flush_stdin() == EOF) { printf("unexpected end of file\n"); exit(EXIT_FAILURE); } printf("Please insert a positive integer.\n"); } } return n; } int main(void) { int h, m, s, i; printf("Set time:\n"); h = get_integer("Hours:", 0, 23); m = get_integer("Minutes:", 0, 59); s = get_integer("Seconds:", 0, 59); /* run for 2 minutes */ for (i = 0; i < 120; i++) { printf("Clock: %02d:%02d:%02d\n", h, m, s); sleep(1); /* wait for 1 second */ /* if running on Windows, you might want to use Sleep(1000) instead */ s++; if (s > 59) { m++; s = 0; } if (m > 59) { h++; m = 0; } if (h > 23) { h = 0; } } /* clear the screen */ system("cls"); return 0; } ```
null
CC BY-SA 4.0
null
2023-02-25T10:56:09.703
2023-02-25T11:32:12.653
2023-02-25T11:32:12.653
4,593,267
4,593,267
null
75,564,959
2
null
75,564,590
0
null
The `ControlBox` doesn't remove the title bar from the window. Instead, you need to use the following code: ``` public Form1() { InitializeComponent(); FormBorderStyle = FormBorderStyle.None; } ``` The border style of the form determines how the outer edge of the form appears. In addition to changing the border display for a form, certain border styles prevent the form from being sized. For example, the `FormBorderStyle.FixedDialog` border style changes the border of the form to that of a dialog box and prevents the form from being resized. The border style can also affect the size or availability of the caption bar section of a form. If that solution doesn't suit your needs you may consider using Windows API functions such as [SetWindowLong](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowlonga) which changes an attribute of the specified window. See [Opening a window that has no title bar with Win32](https://stackoverflow.com/questions/7442939/opening-a-window-that-has-no-title-bar-with-win32) for more information.
null
CC BY-SA 4.0
null
2023-02-25T11:08:09.310
2023-02-25T14:37:14.047
2023-02-25T14:37:14.047
1,603,351
1,603,351
null
75,565,018
2
null
15,336,345
0
null
pyPdf is now renamed to `pypdf` and a couple of other classes / methods were renamed. I'm the maintainer of pypdf and PyPDF2. Another change was that we dropped using `decimal`. Instead, we now use the built-in `float`. Hence this error will not occur in later versions of `pypdf`.
null
CC BY-SA 4.0
null
2023-02-25T11:18:57.123
2023-02-25T11:18:57.123
null
null
562,769
null
75,565,031
2
null
55,549,511
0
null
You have to create a android notification channel and set the configuration you want it to have such as, ``` { channelId: "general-or-something", channelName: "General or Something", channelDescription: "Description for general or something", playSound: true, importance: "High", vibrate: true, } ``` Since you already have installed `react-native-push-notification`, you can use the method `PushNotification.createChannel()` to create the channel, which will look like this, ``` PushNotification.createChannel( { channelId: Channels.GENERAL.channelId, channelName: Channels.GENERAL.channelName, channelDescription: Channels.GENERAL.channelDescription, playSound: true, importance: Importance.HIGH, vibrate: true, }, () => null, ); ``` and on your `firebase.json` file add a new prop as `messaging_android_notification_channel_id` which will help you override the default channel firebase has created and let you use your config on top of it.
null
CC BY-SA 4.0
null
2023-02-25T11:20:22.957
2023-02-25T14:26:44.567
2023-02-25T14:26:44.567
8,372,853
7,865,141
null
75,565,078
2
null
54,617,432
0
null
calling Navigator.pop(context) at the beginning of async function worked for me.
null
CC BY-SA 4.0
null
2023-02-25T11:28:41.490
2023-02-25T11:28:41.490
null
null
20,876,566
null
75,565,166
2
null
75,499,736
0
null
I found the solution. Instead of modifying view.frame it worked by modifying superview.frame. Apparently this is necessary for the higher models of iPads and iPhones. ``` // animate the gamescene to view of close the mainmenu. UIView.animate(withDuration: 0.5, animations: ({ self.gameBackgroundView?.superview?.frame = CGRect(x:slideToXPosition, y:0, width: frameSize!.width, height: frameSize!.height) })) { _ in completion?() } ```
null
CC BY-SA 4.0
null
2023-02-25T11:44:54.367
2023-02-25T11:44:54.367
null
null
17,594,561
null
75,565,332
2
null
39,408,764
0
null
Seems like we'll have to wait until DOMPDF fully supports the Devanagari/Hindi/Nepali Conversion as it is a [feature they're working on right now](https://github.com/dompdf/dompdf/issues/2619).
null
CC BY-SA 4.0
null
2023-02-25T12:13:48.323
2023-02-25T12:13:48.323
null
null
5,057,757
null
75,565,360
2
null
75,565,164
0
null
Tailwind uses regex to find class names, and because of this they need to exist as unbroken strings in your source code. A consequence of this is [you cannot use string interpolation the way you're trying to do](https://tailwindcss.com/docs/content-configuration#dynamic-class-names), as Tailwind will not be able to find the class name. What you can do instead is map your props to static class names: ``` import { FC } from 'react'; const randomWidthArray = ["110", "94", "123", "87", "93", "113", "125", "120"] const CategorySkeleton: FC = () => { const widthVariants = { "110": "w-[110px]", "94": "w-[94px]", // ... } return ( <div className="flex flex-col w-[300px] border-r border-r-[#D5D5D5] gap-y-[8px]"> <div className="w-[150px] h-[28px] mb-[14px] bg-[#D5D5D5]"></div> {randomWidthArray.map((width: string, idx: number) => { const widthStyle = widthVariants[width]; return <div key={idx} className={`h-[19px] bg-[#D5D5D5] ${widthStyle}`}></div>; })} </div> ); }; ```
null
CC BY-SA 4.0
null
2023-02-25T12:17:25.587
2023-02-25T12:17:25.587
null
null
16,646,078
null
75,565,375
2
null
75,562,287
0
null
> I found the issue: I investigated the Bucket Policy to see if there were any sort of access restrictions and sure enough I discovered that the Sid had a `DelegateS3Access` policy on the bucket and the AWS for the Principal was set to a specific Secret Access Key for some user (Whom I am still looking for in IAM). Thus what was happening is that whenever I wrote to the desires S3 Bucket and its prefix, . > This means that for bucket `dev-cog-cne-mass` I had 2 prefixes of: ``` data/refined/prospect-api/enrollment/ ``` I was only aware of at the time. So, my code was functioning fine but the bucket permissions were causing an issue which I was not aware of. Once I deploy this to Stage and Production I may not have these RW restrictions.
null
CC BY-SA 4.0
null
2023-02-25T12:21:35.117
2023-02-25T12:21:35.117
null
null
15,848,586
null
75,565,584
2
null
75,549,475
0
null
Finally fixed it Solution: Change the `socket_io_Client` to `1.0.0` and `socket_io_Server` to `2.4.1`
null
CC BY-SA 4.0
null
2023-02-25T12:58:31.933
2023-03-03T16:22:23.073
2023-03-03T16:22:23.073
14,267,427
21,275,513
null
75,565,651
2
null
75,564,896
-1
null
If the value was incorrect at one point and the routes are cached. If you dont have access to the terminal due to shared hosting. Could you not go into /bootstrap/cache/routes and delete that file. This should then no longer have the file cached.
null
CC BY-SA 4.0
null
2023-02-25T13:11:32.553
2023-02-25T13:11:32.553
null
null
11,840,310
null
75,565,686
2
null
75,563,116
0
null
It seems a timezone issue between workers machines, you need to set the timezone as a property ``` spark.conf.set('spark.sql.session.timeZone', 'UTC') ```
null
CC BY-SA 4.0
null
2023-02-25T13:20:18.747
2023-02-25T13:20:18.747
null
null
1,477,418
null
75,565,682
2
null
55,549,511
0
null
You want to make the remote notification looks like local notification created in library? When the app is quite or in background status it's hard to manage that remote notification. You can't disable it (except in phone notification setting) and asset setting (such as notification icon, image, sound and so on) is different for every platform. There are 3 types of messages in Firebase. - - - [https://rnfirebase.io/messaging/usage#notifications](https://rnfirebase.io/messaging/usage#notifications) On Firebase condole you can only send notification type message. It's impossible to customize how it looks like. In my experience, it's best to use data type firebase message. You should create your own server app in where you can send data type message without notification by using firebase-admin. You will get messages even when app is on background, but remote notification will not show. Then you can create local notification by using as you wanted.
null
CC BY-SA 4.0
null
2023-02-25T13:18:45.053
2023-02-25T13:18:45.053
null
null
21,194,253
null
75,565,845
2
null
74,950,614
0
null
This one works perfectly for me. Just add to css: ``` ion-range { pointer-events: none; } ion-range::part(knob) { pointer-events: auto; } ``` Seems to work on most browsers. Have a look here: [https://caniuse.com/pointer-events](https://caniuse.com/pointer-events)
null
CC BY-SA 4.0
null
2023-02-25T13:48:42.490
2023-02-25T13:48:42.490
null
null
21,286,110
null
75,565,983
2
null
75,402,196
0
null
You need to install `CUDA 11.2` and `cuDNN 8.1` for for GPU support with `TensorFlow 2.10` as per this [build configuration](https://www.tensorflow.org/install/source_windows#gpu). Please check the mentioned in this [link](https://www.tensorflow.org/install/pip#step-by-step_instructions) to install tensorflow with GPU setup in the Anaconda environment. Also, make sure all the are fulfilled given in the link and set the [path](https://www.tensorflow.org/install/source_windows#set_your_path) to bin directory after downloading these software.
null
CC BY-SA 4.0
null
2023-02-25T14:14:12.923
2023-02-25T14:14:12.923
null
null
14,290,681
null
75,566,009
2
null
75,563,903
-1
null
In addition to Yousaf's answer, here is an attempt at generalization. Let the term "task" denote a function that returns a promise. ``` class Task { constructor(task) { this.task = task; this.prereqs = []; this.succcnt = 0; } after(p) { this.prereqs.push(p); p.succcnt++; } } class Tasks { tasks = []; add(task) { var p = new Task(task); this.tasks.push(p); return p; } execute() { var tasks = []; while (tasks.length < this.tasks.length) { var l = tasks.length; this.tasks.filter(q => q.succcnt === 0).forEach(function(p) { tasks.unshift(p); for (var q of p.prereqs) q.succcnt--; p.succcnt = -1; }); if (tasks.length === l) return Promise.reject("cyclic dependencies"); } for (var p of tasks) p.task = Promise.all(p.prereqs.map(q => q.task)).then(p.task); return Promise.all(this.tasks.map(q => q.task)); } } ``` Individual tasks can be `add`ed to a `Tasks` instance and their `after` methods are called for every other task on which they depend. Then, the `execute` method of the `Tasks` instance executes them all in the necessary order (if it can find one, that is, unless there are cyclic dependencies). ``` function makePromise(x) { return new Promise(function(resolve, reject) { console.log(x, "starts"); setTimeout(function() { console.log(x, "ends"); resolve(x); }, 1000); }); } var p = new Tasks(); var A = p.add(() => makePromise("A")); var B = p.add(() => makePromise("B")); var C = p.add(() => makePromise("C")); var D = p.add(() => makePromise("D")); B.after(A); C.after(A); C.after(D); p.execute().then(console.log); ```
null
CC BY-SA 4.0
null
2023-02-25T14:18:37.253
2023-02-27T10:28:55.520
2023-02-27T10:28:55.520
16,462,950
16,462,950
null
75,566,111
2
null
75,566,086
0
null
It looks like you're having the same issue as [this Intellij user](https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000037590-Disable-pop-up-that-prevents-typing-). The response to fix it is: `Disable the Show Parameter info option in Editor > General > Code Completion` by [Awalvie](https://intellij-support.jetbrains.com/hc/en-us/profiles/360145857324-Awalvie) Looking at Android Studio for a similar state I believe it might be named `Show parameter name hints` now instead. There are a few options for this.
null
CC BY-SA 4.0
null
2023-02-25T14:35:47.247
2023-02-25T14:35:47.247
null
null
3,547,515
null
75,566,146
2
null
75,566,036
0
null
Your asset folder name should be as `2.0x` and `3.0x` ``` - assets - 2.0x - home_screen_image.png - 3.0x - home_screen_image.png - home_screen_image.png ``` In `pubspec.yaml`, just mention the root folder. No need to mention specified folder `n.0x`. ``` assets: - assets/locales/ - assets/images/ ```
null
CC BY-SA 4.0
null
2023-02-25T14:41:16.177
2023-02-27T12:36:14.517
2023-02-27T12:36:14.517
11,992,780
11,992,780
null
75,566,270
2
null
75,199,232
0
null
They can be enabled but you have to add on top of the page 'use client'. Then page will become client side not server side.
null
CC BY-SA 4.0
null
2023-02-25T15:00:54.660
2023-02-25T15:00:54.660
null
null
15,927,574
null
75,566,570
2
null
75,566,456
0
null
You can `clipBehavior: Clip.hardEdge,` But based on your UI, you should use different approach with Row. and the issue is occurring because on emulator -38px ok and your device isnt. ``` child: Container( // .... child: Row( children: <Widget>[ ConstrainedBox( constraints: BoxConstraints(maxHeight: 135, maxWidth: 240), child: ClipRRect( borderRadius: BorderRadius.circular(20), child: SizedBox.fromSize( size: Size.fromRadius(70), child: SafeArea( top: true, bottom: true, left: true, right: true, child: CachedNetworkImage( imageUrl: newsTextsList[index].img), ), ))), Expanded( child: Text( /// wrap with Padding if needed newsTextsList[index].paragraph, textAlign: TextAlign.justify, softWrap: true, ), ), ], ), ), ```
null
CC BY-SA 4.0
null
2023-02-25T15:44:07.483
2023-02-25T15:44:07.483
null
null
10,157,127
null
75,567,504
2
null
75,567,448
0
null
This error message... ``` ChromeDriver was started successfully. [1677347917.891\]\[WARNING\]: virtual void DevToolsClientImpl::AddListener(DevToolsEventListener \*) subscribing a listener to the already connected DevToolsClient. Connection notification will not arrive. ``` ...implies that [ChromeDriver](https://stackoverflow.com/a/59927747/7429447) was successfull initiated. The you observe is a related error and it won't effect your tests. hence you can ignore for the time being.
null
CC BY-SA 4.0
null
2023-02-25T18:22:03.603
2023-02-25T18:22:03.603
null
null
7,429,447
null
75,567,512
2
null
65,695,772
0
null
and upon searching I found this post, `:set paste` for this particular issue. #### Specifically the problem occurs when an .exe file is executed in Neovim terminal(not sure if it happens for other possible things too) it seems to concatenate multiple lines into a single line as you pointed out thereby merging last char of previous line and 1st character of next line into a single word causing erroneous input. ## Upon doing some more research I found nothing but an alternative could be to write copied text into a input file and then pass it to .exe file. The below codes provided are in . First create a code block in lua which creates a file according to user input name or by default assumes the current file name being user by user in neovim to be the input file name with .in extension. ``` function CreateInputFile(filename) filename = filename or vim.fn.expand("%:r") -- use current file name if no filename provided local dir = vim.fn.expand("%:p:h") local input_file = dir .. "/" .. filename .. ".in" -- Prompt the user to enter input local input = vim.fn.input("Enter input:\n") -- Write input to the input file local file = io.open(input_file, "w") file:write(input) file:close() -- Show a message indicating the input file has been created vim.api.nvim_out_write("Created input file: " .. input_file .. "\n") end ``` assume a file you are working on as `cpcode.cpp` and the above code is called via neovim command line as ``` :lua CreateInputFile() ``` Now you may enter anything and then press enter twice, you will then notice that a file is created in same directory with the name `cpcode.in` with data you just typed. Now assume i want to compile a C++ code by remapping to first enter copied text from clipboard as input and then display corresponding output in Neovim terminal. The below code was made keeping `command prompt` into consideration , things will change a little for powershell if set to default terminal for neovim and other terminals too. ``` -- C++ code runner using std=c++20 with input file containing latest copied data in register !!! vim.api.nvim_create_autocmd("Filetype", { pattern = {"cpp","CPP","cxx","CXX","hpp","hxx","Hxx","HXX"}, command = "nnoremap <F5> :lua CreateInputFile() <CR> <C-r>+ <CR> <CR> :w <bar> :split<CR> :term g++ % -std=c++20 -pipe -Wall -Wextra -Wshadow -Og -o %:r && %:r < %:r.in <CR> i" }) ``` Please remember to copy the thing you want to pass to the input in .exe file just before pressing so that its the latest one in the system clipboard since in the above code loads data from system clipboard, read more [here](https://stackoverflow.com/questions/3997078/how-to-paste-yanked-text-into-the-vim-command-line). The which will be more convenient to compare code with output in Competitive programming, but it's up to personal preference and it can modified or removed as one chooses to. Simply the above code does something similar to after having performed creating input file cpcode.in as I mentioned earlier. `g++ cpcode.cpp -std=c++20 -pipe -Wall -Wextra -Wshadow -Og -o cpcode && cpcode < cpcode.in` Hope this code helps you with the problem you faced. I have made a [complete Neovim config in LUA](https://github.com/JoydeepMallick/My-Neovim-config-in-LUA), do check it out if it helps you with your problem any better.
null
CC BY-SA 4.0
null
2023-02-25T18:22:38.033
2023-02-25T18:22:38.033
null
null
21,287,199
null
75,567,549
2
null
75,567,515
3
null
You should not name the struct `"ScrollView"` the same name as the built-in struct.
null
CC BY-SA 4.0
null
2023-02-25T18:32:14.727
2023-02-26T08:12:31.820
2023-02-26T08:12:31.820
17,562,044
21,287,613
null
75,567,740
2
null
75,563,986
0
null
VBA code recognizes as objects the CodeNames of the actual book... So the "Text = Workbooks("Book4").Sheet1.Range("A2").Value" must be done by generating equivalent code: in a module: ``` Public Function getWbook(wbName As String) As Workbook Dim w As Workbook For Each w In Workbooks If w.Name = wbName Then Set getWbook = w Exit Function End If Next Set w = Nothing End Function 'Public Function getSheetOfCodeName(wb As Workbook, codeName As String) As Worksheet ' Dim sh As Worksheet ' For Each sh In wb.Worksheets ' If sh.codeName = codeName Then ' Set getSheetOfCodeName = sh ' Exit Function ' End If ' Next 'End Function Public Function getCellValue(wb As Workbook, codeName As String, sRange As String) As Variant Dim sh As Worksheet For Each sh In wb.Worksheets If sh.codeName = codeName Then getCellValue = sh.Range(sRange).Value Exit Function End If Next End Function Private Sub example() 'The "SHEETA" is the CodeName of the sheet... Debug.Print getCellValue(getWbook("test-31.xlsm"), "SHEETA", "A1") End Sub ``` and finally a version to use as formula in cells: ``` Public Function getCellValueFormula(wbookName As String, sheetCodeName As String, sRange As String) As Variant Dim sh As Worksheet, wb As Workbook Set wb = getWbook(wbookName) If wb Is Nothing Then Exit Function For Each sh In wb.Worksheets If sh.codeName = sheetCodeName Then getCellValueFormula = sh.Range(sRange).Value Exit Function End If Next End Function ```
null
CC BY-SA 4.0
null
2023-02-25T19:02:28.263
2023-02-25T19:23:15.090
2023-02-25T19:23:15.090
15,794,828
15,794,828
null
75,567,879
2
null
75,566,781
1
null
There is nothing you need to do or can do in your code for this. The in app purchase process is handled by iOS once you submit the purchase request. The purchase process will prompt the user to authenticate with biometrics if this option is available based on the user's settings and the device capabilities. You will never get a biometric authentication for a sandbox purchase.
null
CC BY-SA 4.0
null
2023-02-25T19:27:55.847
2023-02-25T19:27:55.847
null
null
3,418,066
null
75,567,929
2
null
75,567,566
2
null
Well, assuming you have this code: ``` Response.Redirect("~/CORView.aspx?fname=" + firstname + "&lname=" + surname + "&idnumber=" + userid); ``` If those values "firstname", surname, userid? Are those variables, or controls? If they are controls, then you can't pass the WHOLE control, but only the .Text property of such controls. Thus, you would need something like this: ``` Response.Redirect("~/CORView.aspx?fname=" + firstname.Text + "&lname=" + surname.Text + "&idnumber=" + userid.Text); ``` Now, in above I would guess that firstnme.Text, and surname.Text are from controls, and the 3rd userid???? If that is a plain jane c# variable, then you might well need this: ``` Response.Redirect("~/CORView.aspx?fname=" + firstname.Text + "&lname=" + surname.Text + "&idnumber=" + userid.ToString()); ``` So, you can't in a simple web URL pass the "text box" object! (boy, would not that be cool or nice??? - but, you can only pass text strings in the URL, and you can't just "pass" the WHOLE text box as a object. Thus, as a result, you need to pass the .Text properity of those controls in question. In fact, what you seeing is this: ``` Label1.Text = "hello world"; Debug.Print(Label1.Text); Debug.Print(Label1.ToString()); ``` output: ``` hello world System.Web.UI.WebControls.Label ``` So, if we try to display a label, say in above, then we can't use Label1, but we have to use Label1.Text. this suggests the compiler should have caught this error, but perhaps someone where in code, you are assigning the variables (as objects) the control object, and not the control.Text value.
null
CC BY-SA 4.0
null
2023-02-25T19:36:29.913
2023-02-25T19:56:51.700
2023-02-25T19:56:51.700
10,527
10,527
null
75,568,266
2
null
75,568,197
0
null
Auto layout needs some flexibility to adapt the layout to different screen sizes and orientations. If you have too few or too many constraints then it can't do this. In your case you have too many constraints. You are setting the width of the buttons and you have a complete series of horizontal constraints `|-A-B-|`. Now if the screen isn't exactly as wide as you have specified (10+75+244+75+10), which it won't be in landscape (or even in portrait on a different device) then something has to change, but there is no flexibility in your layout. This means that auto layout has to break one of your constraints; you will be getting an error in the console when you run your app regarding conflicting constraints. You need to decide what needs to remain fixed in your layout and where you can introduce flexibility. What do you want to remain fixed? - - - They can't all be fixed. For example if the size and leading/trailing edge is to remain fixed then you get rid the 244 horizontal space between the buttons. Or, you could allow the buttons to grow. Change their size constraints to be >=75.
null
CC BY-SA 4.0
null
2023-02-25T20:38:06.790
2023-02-25T20:38:06.790
null
null
3,418,066
null
75,568,323
2
null
75,568,152
0
null
instead of `data.map` try `data.data.map` because your data seems to be an object not an array. Or change ``` const data = await response.json() ``` To ``` const res = await response.json() ``` So you have something like ``` const res = await response.json() const mappedData = res.data.map(({ id, device_name, OEM, sdk_version, deviceKey, valid_upto }) => createData(id, device_name, OEM, sdk_version, deviceKey, valid_upto) ); ```
null
CC BY-SA 4.0
null
2023-02-25T20:47:04.773
2023-02-25T20:47:04.773
null
null
20,826,013
null
75,568,339
2
null
75,567,564
0
null
If you decide to not change the data structure, you can still walk through the tree as follows: ``` void walk(List<List<List<string>>> a, int[] indices, int distance) { while (indices[0] < a.Count) { List<List<string>> b = a[indices[0]]; while (indices[1] < b.Count) { List<string> c = b[indices[1]]; while (indices[2] < c.Count) { if (distance-- <= 0) return; // Found target indices[2]++; } indices[1]++; indices[2] = 0; } indices[0]++; indices[1] = 0; } // Out of range. Caller could check if `indices[0]` is within range } ``` Example call: ``` // Example input given in the question List<List<List<string>>> elements = new() { new() { new List<string>() { "E0", "E1" }, new List<string>() { "E2" } }, new() { new List<string>() { "E3" }, new List<string>() { "E4", "E5" }, new List<string>() { "E6", "E7", "E8" } }, new() { new List<string>() { "E9" } } }; int[] indices = {0, 1, 0}; // Starting point walk(elements, indices, 5); // Walk 5 steps System.Console.WriteLine(string.Join(", ", indices)); // 1, 2, 1 ```
null
CC BY-SA 4.0
null
2023-02-25T20:50:25.067
2023-02-25T20:50:25.067
null
null
5,459,839
null
75,568,399
2
null
75,568,209
0
null
The desired element is a dynamic element, so to click on the [Make a payment](https://i.stack.imgur.com/juzI7.png) element you need to induce [WebDriverWait](https://stackoverflow.com/a/59130336/7429447) for the [element_to_be_clickable()](https://stackoverflow.com/a/54194511/7429447) and you can use either of the following [locator strategies](https://stackoverflow.com/a/48056120/7429447): - Using :``` WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CSS_SELECTOR, "button.appmagic-button-container.no-focus-outline[title='Click here to make a payment']"))).click() ``` - Using :``` WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//button[@class='appmagic-button-container no-focus-outline' and @title='Click here to make a payment']"))).click() ``` - : You have to add the following imports :``` from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC ```
null
CC BY-SA 4.0
null
2023-02-25T21:00:26.613
2023-02-25T21:00:26.613
null
null
7,429,447
null
75,568,490
2
null
67,568,292
0
null
If you use Eclipse or IntelliJ IDEA as IDE . It is not possible to add VM Arguments to jar file from IDE . To do that manually follow these steps: - Create .jar file from IDE.- Create .bat file on windows and add VM Arguments likejava --module-path MyPath\javafx-sdk-18.0.2\lib --add-modules javafx.controls,javafx.fxml -jar MyApp.jar- Change MyPath\javafx-sdk-18.0.2\lib by your javaFx sdk path and also change MyApp.jar to your jar name file- Save, and execute the .bat file .
null
CC BY-SA 4.0
null
2023-02-25T21:17:38.253
2023-03-01T22:58:20.527
2023-03-01T22:58:20.527
905,640
4,308,635
null
75,568,493
2
null
75,567,565
0
null
The element with text as [Export to CSV](https://i.stack.imgur.com/Nc16I.png) is with an [<iframe>](https://stackoverflow.com/a/53276478/7429447) so you have to: - Induce [WebDriverWait](https://stackoverflow.com/a/57554488/7429447) for the desired .- Induce [WebDriverWait](https://stackoverflow.com/a/57554488/7429447) for the desired [ElementToBeClickable()](https://stackoverflow.com/a/62451578/7429447).- You can use either of the following [Locator Strategies](https://stackoverflow.com/questions/48369043/official-locator-strategies-for-the-webdriver/48376890#48376890):- Using :``` new WebDriverWait(driver, TimeSpan.FromSeconds(20)).Until(ExpectedConditions.FrameToBeAvailableAndSwitchToIt(By.CssSelector("iframeCssSelector]")); new WebDriverWait(driver, TimeSpan.FromSeconds(20)).Until(ExpectedConditions.ElementToBeClickable(By.CssSelector("body > section > div:nth-child(1) > ul > li:nth-child(1) > button"))).Click(); ``` - Using :``` new WebDriverWait(driver, TimeSpan.FromSeconds(20)).Until(ExpectedConditions.FrameToBeAvailableAndSwitchToIt(By.XPath("iframeXPath")); new WebDriverWait(driver, TimeSpan.FromSeconds(20)).Until(ExpectedConditions.ElementToBeClickable(By.XPath("//html/body/section/div[1]/ul/li[1]/button"))).Click(); ```
null
CC BY-SA 4.0
null
2023-02-25T21:18:20.537
2023-02-25T21:18:20.537
null
null
7,429,447
null
75,568,611
2
null
74,763,436
0
null
Ran into the same problem today, eventually figured out double-clicking on a query in the History tab opens the Results tab. [](https://i.stack.imgur.com/UTYq8.jpg)
null
CC BY-SA 4.0
null
2023-02-25T21:38:00.243
2023-02-25T21:38:00.243
null
null
3,325,453
null
75,568,881
2
null
75,563,038
0
null
With Jekyll, if you are trying to add the link to a single page generated from a markdown file, you can add `[Text to display for link](URL for link to direct to)` which is the markdown way to code the link. If you want to add a link to an HTML template such as the HTML file of the landing page, then you can use an anchor tag like `<a href="URL for link to direct to">Text to display</a>` and this will add the link to the template. With Jekyll Liquid templating, you can also reference values from the front matter but the effect is the same e.g. if you have `title` defined in your `_config.yml` then you can reference it in the template with `{{ site.title }}` and very similar for values defined specific to a page/post.
null
CC BY-SA 4.0
null
2023-02-25T22:39:20.170
2023-02-25T22:39:20.170
null
null
21,288,384
null
75,568,979
2
null
75,560,313
0
null
`This will assign pickup as desired: ``` Public Sub Orders() pos = Cells(Rows.Count, 1).End(xlUp).Row - 1 'Subtract the header line If pos <= 4 Then Range("B2:B" & pos + 1).Value = "4AM" ElseIf pos <= 10 Then Range("B2:B5").Value = "4AM" Range("B6:B" & pos + 1).Value = "6PM" Else Dim ordersPerRange As Long: ordersPerRange = Int(pos / 3) Range("B2:B" & (ordersPerRange + 1)).Value = "4AM" Range("B" & (ordersPerRange + 2) & ":B" & (ordersPerRange * 2 + 1)).Value = "12PM" Range("B" & (ordersPerRange * 2 + 2) & ":B" & (pos + 1)).Value = "6PM" End If End Sub ```
null
CC BY-SA 4.0
null
2023-02-25T23:02:06.433
2023-02-25T23:02:06.433
null
null
16,662,333
null
75,569,082
2
null
75,568,825
0
null
Browsers represent colors as they see best. And whether you use HEX representation or RGBA the result would be the same. When you set your background color, it will be computed by the browser and then displayed, what you see in the DevTools window is the [the computed CSS value](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle), which is represented in RGB in this case. However, you can see other color representations if you wish by + on the color box in your DevTools: [](https://i.stack.imgur.com/5mH7Z.png) There was another way to display colors as they were specified ([Chrome DevTools converts all HEX Colors to RGB](https://stackoverflow.com/questions/29869426/chrome-devtools-converts-all-hex-colors-to-rgb)) but it's deprecated now. --- Also, notice that you might have an issue with this function: ``` function changeColor() { document.body.style.background = getRandomHexColor(); nameColor.textContent = getRandomHexColor(); } ``` You are calling `getRandomHexColor()` twice, which will return a new result every time, this means that the color in `nameColor.textContent` is different than `document.body.style.background` To fix this, you may set your function output to a variable then use it: ``` function changeColor() { const myColor = getRandomHexColor(); document.body.style.background = myColor; nameColor.textContent = myColor; } ``` ``` function getRandomHexColor() { return `#${Math.floor(Math.random() * 16777215).toString(16)}`; } const btn = document.querySelector(".change-color"); const nameColor = document.querySelector(".color"); btn.addEventListener("click", changeColor); function changeColor() { const myColor = getRandomHexColor(); nameColor.style.background = myColor; compotedColor = window.getComputedStyle(nameColor).getPropertyValue('background-color'); nameColor.textContent = `Generated: ${myColor}, and computed: ${compotedColor}`; } ``` ``` .color { min-height: 200px; } ``` ``` <button class="change-color">change</button> <div class="color"> </div> ```
null
CC BY-SA 4.0
null
2023-02-25T23:30:03.517
2023-02-25T23:36:19.817
2023-02-25T23:36:19.817
5,078,746
5,078,746
null
75,569,103
2
null
70,876,161
0
null
``` using namespace.for.Book; ``` Instead of automatically assuming a broken installation, lets start with something incredibly basic. Book is probably a custom class you've created that you've not imported. Tertiary to this, I've noticed that autocomplete doesn't work for List objects unless I have "using System.Collections.Generic;" as part of my imports. Why? I've honestly no clue why it will allow my to use a List without erroring but then be completely unable to find the inferred types for autocomplete, most likely a performance based (intentional) limitation to the autocomplete to reduce the amount of data it has to pull up. Hope this helps because I certainly couldn't find this solution, just blundered my way into it. (This is an educated guess based on the fact that the portion of text in your code that can bring up another class that's not built-in is Book)
null
CC BY-SA 4.0
null
2023-02-25T23:34:21.837
2023-02-25T23:34:21.837
null
null
8,440,698
null
75,569,404
2
null
75,553,168
0
null
Congrats on your first question. Airflow in ADF is a new feature as it is currently in preview, and as with every new feature you might sometimes run into errors. For this problem I think more backend information is required why they get stuck in running state, so the best action to take is to create a support ticket with ADF and see what they can provide from the backend.
null
CC BY-SA 4.0
null
2023-02-26T01:02:38.393
2023-02-26T01:02:38.393
null
null
11,677,472
null
75,569,621
2
null
75,568,209
1
null
The problem with the XPath you are using is that it's looking for a BUTTON that's a *descendant* of a DIV but that DIV is actually a sibling of the desired BUTTON. Given the HTML you posted, if you just remove the DIV portion of the XPath, the rest should work. ``` driver.find_element(By.XPATH, "//button[@class='appmagic-button-container no-focus-outline' and @title='Click here to make a payment']").click() ``` Having said that, there's an issue with XPaths like this. Your @class has to be an exact string match so if a different class gets added to that element or the order of the classes is changed, the XPath will no longer find the element. You'd be better off in this case using a CSS selector like ``` driver.find_element(By.CSS_SELECTOR, "button.appmagic-button-container.no-focus-outline[title='Click here to make a payment']").click() ``` or you can likely simplify it even more to ``` driver.find_element(By.CSS_SELECTOR, "button[title='Click here to make a payment']").click() ```
null
CC BY-SA 4.0
null
2023-02-26T02:12:08.740
2023-02-26T02:12:08.740
null
null
2,386,774
null
75,569,750
2
null
48,016,660
0
null
Create a dummy instance to spoof the binding of a generic method ``` public IEnumerable<T> GetEntity<T>() where T : class { Type type = typeof(T); Type spoofedType = typeof(InternalDbSet<>).MakeGenericType(type); //instance is only used to spoof the binding dynamic instance = Activator.CreateInstance(spoofedType, context, spoofedType.Name); return SpoofedMethod(instance); } public IEnumerable<T> SpoofedMethod<T>(DbSet<T> _) where T : class { return context.Set<T>().Select(e => e); } ``` Activator.CreateInstance takes the type and passes the remaining parameters into the Type's constructor. InternalDbSet<> takes 2 parameters: DbContext and EntityTypeName. DbSet itself is an abstract, so you can't create an instance of it. If you check the type of a DbSet at runtime, then you'll see it is InternalDbSet.
null
CC BY-SA 4.0
null
2023-02-26T02:57:41.253
2023-02-26T02:57:41.253
null
null
9,422,922
null
75,569,948
2
null
75,331,441
1
null
Only just came across the question. I haven't used streamlit. But given pandas, the short answer should be: ``` st.dataframe(df[['FATURAMENTO', 'VENDAS']].describe().style.format( formatter=lambda x: f'{locale.format_string("%.2f", x, grouping=True)}'), use_container_width=True) ``` The `df.describe().style.format(formatter=lambda x: f'{locale.format_string("%.2f", x, grouping=True)}')` syntax works on my systems. I used `locale.format_string()` to format the number to a string based on current locale for LC_NUMERIC. Handling decimal precision is via "%.2f", i.e. formatting floating point numbers to two decimal places. Different libc implementations (and versions) can have differing locale data, which means results will differ in certain aspects across platforms. I don't have pt_BR.UTF8 locale on my macOS, so I will illustrate with de_DE.UTF-8. On Linux: ``` import locale number = 12546.78 locale.setlocale(locale.LC_ALL, "de_DE.UTF-8") print(number) # 12546.78 print(locale.format_string("%.2f", number, grouping=True)) # 12.546,78 ``` The locale formatted number, using glibc, is 12.546,78 For macOS: ``` import locale number = 12546.78 locale.setlocale(locale.LC_ALL, "de_DE.UTF-8") print(number) # 12546.78 print(locale.format_string("%.2f", number, grouping=True)) # 12546,78 ``` The locale formatted number using BSD libc is 12546,78. On BSD and BSD derived systems, grouping separators are null for numbers (although currency formatting often includes grouping separators) in some locales. If you want a cross-platform solution, I would be inclined to use icu4c and PyICU: ``` import icu loc = icu.Locale("pt_BR") formatter = icu.LocalizedNumberFormatter(loc).precision(icu.Precision.minMaxFraction(2,2)) st.dataframe(df[['FATURAMENTO', 'VENDAS']].describe().style.format( formatter=lambda x: f'{f.formatDouble(x)}'), use_container_width=True) ```
null
CC BY-SA 4.0
null
2023-02-26T04:05:28.617
2023-02-27T10:35:11.687
2023-02-27T10:35:11.687
4,872,676
4,872,676
null
75,570,146
2
null
75,569,893
1
null
WHen you create an emulator, each level has 2 versions- one with Play Services, one without. You used one without. YOu need to use one with to use the emulator and maps together. (Please note that you will also need Google Play Services on the device to run properly in production. If you want to avoid that dependency, you'd need to use a 3rd party map library).
null
CC BY-SA 4.0
null
2023-02-26T05:27:42.180
2023-02-26T05:27:42.180
null
null
1,631,193
null
75,570,205
2
null
75,570,093
1
null
I have figured out the answer to my own question. Adding `spacing:` arguments to the `LazyVGrid` and the `GridItem`s allowed me to control both the horizontal and vertical spacings of each `CardView`. ``` LazyVGrid(columns: [GridItem(.adaptive(minimum: 65), spacing: 8)], spacing: 8) { ForEach(contents[0..<contentCount], id: \.self) { content in CardView(content: content).aspectRatio(2/3, contentMode: .fit) } ``` I'm not sure if this is the ideal way, but it certainly seems like a good solution. It does seem like the horizontal spacing of the `GridItem` had a default value that didn't change in this scenario, but I'm not sure how to get the vertical spacing to be the same default as whatever that value is, but 8 for both seemed good.
null
CC BY-SA 4.0
null
2023-02-26T05:48:20.780
2023-02-26T05:48:20.780
null
null
19,408,419
null
75,570,208
2
null
75,569,699
2
null
## Semantic markup with reusable styling Your HTML markup consists entirely of series of `<div />` elements in a big single `grid` container. I'd suggest you break down into multiple semantic areas (e.g. `<header>`, `<nav>`, `<main>`, etc) and only style the `<main>` as a grid container. In this case, I don't see much benefit of treating the entire layout as one big grid area. See the code snippet below, which achieves the same layout structure with less lines of code for both HTML and CSS. ``` body { background-color: gainsboro; } header, nav, .grid-item, footer { background-color: darkseagreen; padding: 10px; } header+nav, nav+main, main+footer { margin-top: 10px; } main { display: grid; grid-template-columns: 1fr 2fr; grid-gap: 10px; } .grid-item { padding: 10px; } ``` ``` <header> <h1>Header</h1> </header> <nav> LINK LINK LINK LINK </nav> <main> <div class="grid-item side">Image goes here</div> <div class="grid-item main">Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga placeat quaerat dolore soluta distinctio earum totam dolorum reprehenderit nulla. Consectetur, fugiat. Excepturi praesentium molestias odio?</div> <div class="grid-item side">Image goes here</div> <div class="grid-item main">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Incidunt recusandae iure fugit molestiae earum nesciunt ex accusamus quas distinctio blanditiis!</div> <div class="grid-item side">Image goes here</div> <div class="grid-item main">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quo, ducimus.</div> <div class="grid-item side">Image goes here</div> <div class="grid-item main">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Enim quae magni saepe voluptate repellendus ex modi nam exercitationem quisquam blanditiis. Facere mollitia voluptate, nobis explicabo nam fuga enim eos temporibus ipsum. Deserunt sunt voluptates facilis unde, cumque esse commodi quisquam illo dolores accusantium dolor, tenetur ad delectus quam incidunt amet cum maiores corporis quasi repellendus dicta! Aliquam, eum eaque fuga cupiditate dolores molestiae nam dicta, tempora earum dolorum id nemo. </div> </main> <footer> My Footer </footer> ```
null
CC BY-SA 4.0
null
2023-02-26T05:49:36.157
2023-02-26T05:49:36.157
null
null
7,216,508
null
75,570,367
2
null
75,570,290
1
null
Please press the `Insert` key again. [Wikipedia: Insert key](https://en.wikipedia.org/wiki/Insert_key) The Insert key Insert (often abbreviated Ins) is a key commonly found on computer keyboards. It is primarily used to switch between the two text-entering modes on a personal computer (PC) or word processor. - -
null
CC BY-SA 4.0
null
2023-02-26T06:38:56.617
2023-02-26T06:38:56.617
null
null
6,886,501
null
75,570,379
2
null
75,570,235
1
null
your syntax is not true. use this : ``` {products.map((product) => ( <h1 key={product.id}>{product.title}</h1> ))} ```
null
CC BY-SA 4.0
null
2023-02-26T06:41:31.960
2023-02-26T08:12:36.767
2023-02-26T08:12:36.767
19,929,359
19,929,359
null
75,570,559
2
null
75,570,235
0
null
[](https://i.stack.imgur.com/lCM6W.png) If your error is the same as the image above, try using key in each child (Product Element) and it's going to work! Like as follow: ``` products.map((product,index) => <h1 key={index}>{product.title}</h1>)) ``` To use index as a key is not appreciated in react so use id of product as a key. [Documentation](https://reactjs.org/docs/lists-and-keys.html)
null
CC BY-SA 4.0
null
2023-02-26T07:31:05.217
2023-03-03T18:29:13.800
2023-03-03T18:29:13.800
12,368,797
18,312,535
null
75,570,752
2
null
75,343,721
0
null
One reason for this warning is the usage of Google Mobile Ads (GMA) SDK. [https://play.google.com/sdks/details/com-google-android-gms-play-services-ads](https://play.google.com/sdks/details/com-google-android-gms-play-services-ads)
null
CC BY-SA 4.0
null
2023-02-26T08:18:00.960
2023-02-26T08:18:00.960
null
null
1,262,761
null
75,570,935
2
null
75,570,849
1
null
Because DontDestroyOnLoad only works for root GameObjects or components on root GameObjects, in your screenshot these objects are under the NavigationNames object that make the method not take effect, you can find the document from [https://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html](https://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html).
null
CC BY-SA 4.0
null
2023-02-26T08:56:45.367
2023-02-26T08:56:45.367
null
null
6,196,568
null
75,571,050
2
null
30,789,367
0
null
I believe this can be more efficient method to get blurred background with no need to blur high res images like in other answers: ``` ffmpeg -i <input_file> -vf 'scale=1280:720:force_original_aspect_ratio=decrease:flags=fast_bilinear,split[original][copy];[copy]scale=32:18:force_original_aspect_ratio=increase:flags= fast_bilinear,gblur=sigma=2,scale=1280:720:flags=fast_bilinear[blurred];[blurred][original]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2,setsar=1' <output_file> ``` [](https://i.stack.imgur.com/USAto.jpg) My point is to resize original image to smallest possible size (32x18px to get best results) and apply `gblur` with really small `sigma`. You can adjust blur amount and [scale algorithms](https://cdn.write.corbpie.com/wp-content/uploads/2021/02/video-interpolation-outcomes.jpg) any time.
null
CC BY-SA 4.0
null
2023-02-26T09:24:03.577
2023-02-26T09:24:03.577
null
null
819,764
null
75,571,056
2
null
75,571,012
0
null
The registers `$t1` and `$t2` are , so you have to save their values (on the stack) before calling functions inside functions not to lose the values. Saving may be done like this: ``` sw $t1,12($sp) # save $t1 sw $t2,16($sp) # save $t2 jal catalan_recur lw $t1,12($sp) # restore $t1 lw $t2,16($sp) # restore $t2 ``` Also don't forget to allocate the space to save on the stack (add/subtract `20` instead of `12` from the stack pointer)
null
CC BY-SA 4.0
null
2023-02-26T09:24:48.317
2023-02-26T09:24:48.317
null
null
4,062,354
null
75,571,280
2
null
29,229,713
0
null
Using HSV instead of RGB makes iterating over the color wheel as simple as looping from 0 to 360 with the H value (Hue). HSV is an alternative color represenation to RGB, which stands for "Hue, Saturation, Value (or Lightless / Brightness in HSL / HSB). . Hue units are degrees on the color wheel, as shown in the reference image. Hue starts at 0 and goes until 360, both of which are red. After red, Hue 60 is Yellow. The color wheel ends after Hue 300, Magenta.
null
CC BY-SA 4.0
null
2023-02-26T10:11:36.773
2023-02-26T10:11:36.773
null
null
1,424,828
null
75,571,691
2
null
75,558,060
0
null
Got it... add event to a form and type in: ``` Dim SQL As String SQL = "SELECT * FROM YourTableName IN '" & CurrentProject.Path & "\" & CurrentProject.Name & "'" Me.RecordSource = SQL ``` Just to understand the static code would look like these: ``` Me.RecordSource = "SELECT * FROM Galaxy_dokument IN 'C:\WorkingDirectory\Your_AccessFile.accdb';" ```
null
CC BY-SA 4.0
null
2023-02-26T11:33:56.677
2023-02-26T11:33:56.677
null
null
17,767,529
null
75,571,766
2
null
75,567,155
0
null
It looks like Netbeans 16 and 17 together with JakartaEE 10 and Payara 6 is not ready :-( I have to manually change the javax package to jakarta after I have created sessionbeans and that is OK but there are a lot of other issues that are not solved yet like the possibility to deploy from Netbeans. To get rid of the creation of bean b I had to make a jar-file containing only the remote interface and use that as an library. I wrote a 2-line cmd-file to fix that. I am now up and running and can continue my experiments with JakartaEE 10.
null
CC BY-SA 4.0
null
2023-02-26T11:48:39.867
2023-02-26T11:48:39.867
null
null
16,414,836
null
75,572,033
2
null
11,234,399
0
null
I had the same issue but it turned out was I accidentally closed the Package Explorer and was looking at the Navigator (Deprecated) menu instead. If you close your Package Explorer you can bring it back from Window -> Show View -> Package Explorer From the Package Explorer menu, after right-clicking on a project, I can now see the Build Path option, whereas if you right-click on a project in the Navigator menu, you don't see the Build Path option. I guess this is more of an amateur error.
null
CC BY-SA 4.0
null
2023-02-26T12:40:24.373
2023-02-26T12:40:24.373
null
null
10,583,447
null
75,572,586
2
null
71,633,188
0
null
In [this article](https://protocoderspoint.com/flutter-textfield-credit-card-number-input-format/) I found a simple solution, all what you need to do is create the class below and assign it to your `TextField` widget: ``` class CreditCardNumberFormatter extends TextInputFormatter { @override TextEditingValue formatEditUpdate(TextEditingValue oldValue, TextEditingValue newValue) { if(newValue.selection.baseOffset == 0) { return newValue; } String enteredData = newValue.text; // get data enter by used in textField StringBuffer buffer = StringBuffer(); for (int i = 0;i < enteredData.length;i++) { // add each character into String buffer buffer.write(enteredData[i]); int index = i + 1; if(index % 4 == 0 && enteredData.length != index) { // add space after 4th digit buffer.write(' '); } } return TextEditingValue( text: buffer.toString(), // final generated credit card number selection: TextSelection.collapsed(offset: buffer.toString().length) // keep the cursor at end ); } } ``` ``` TextField( // .. inputFormatters: [ LengthLimitingTextInputFormatter(16), CreditCardNumberFormatter() ], // .. ), ```
null
CC BY-SA 4.0
null
2023-02-26T14:15:50.710
2023-02-26T14:15:50.710
null
null
7,360,275
null
75,572,633
2
null
75,572,191
1
null
you can use `as const` on the parameter: ``` const b = pickRename({ a: 'c' } as const) ``` or declare the variable `as const` ``` const obj = { a: 'c' } as const const b = pickRename(obj) ``` and for the upcoming typescript 5.0 (still in beta at this moment), there is a new const generic type, so you can delare the function like this: ``` function pickRename<const F extends {}>(p: F): PickRename<A, F> ```
null
CC BY-SA 4.0
null
2023-02-26T14:23:56.980
2023-02-26T14:23:56.980
null
null
19,870,522
null
75,572,859
2
null
75,572,716
1
null
Your query is ordering the documents by the value of their `tarih` field. But looking at the screenshot you shared there is no `tarih` field in the root of the document. Instead there is an `gunlukDers` array field, where each individual array element has a `tarih` value. But you want query for such a subfield. The solution is to add a top-level field that indicates the date to each of your documents, and then query on that. An alternative would be to give each of the documents you show now a `gunlukDers` with the data you now store in the array and then query .
null
CC BY-SA 4.0
null
2023-02-26T15:03:05.373
2023-02-26T15:03:05.373
null
null
209,103
null
75,573,410
2
null
75,563,903
-1
null
Some scary posts here Below `work` is a generic function to produce promised values. Replace `work` with any promise-producing function. `run` encodes the dependency graph - ``` const work = value => new Promise(r => setTimeout(r, 1000, value)) async function run() { const [a,d] = await Promise.all([work("A"), work("D")]) const ctask = work(a + d + "->C") const btask = work(a + "->B") return Promise.all([ctask, btask]) } run().then(console.log).catch(console.error) ```
null
CC BY-SA 4.0
null
2023-02-26T16:31:25.063
2023-02-26T16:37:06.893
2023-02-26T16:37:06.893
633,183
633,183
null
75,573,705
2
null
75,571,012
0
null
That function is saving and restoring `s0` for the benefit of the caller, `ra` for the benefit itself - so it knows where to return to, but saving `a0` and restoring it isn't benefitting anyone. Like `ra`, `a0` belongs to the called function, the caller has no expectations on them, unlike with `s` registers. You have correctly determined that an `s` register can be used to preserve a return value from one call that is needed after another call, however, `n` initially in `a0`, `i`, and `res`, each also merit their own `s` registers. For `n`, initially in a0, copy it to an `s` register in prologue, of course, after preseving the original value in that `s` register.
null
CC BY-SA 4.0
null
2023-02-26T17:15:22.973
2023-02-26T17:51:06.797
2023-02-26T17:51:06.797
471,129
471,129
null
75,573,989
2
null
75,573,949
0
null
I see several mistakes ### 1. You use "ctx" by mistake instead of "circle" I have corrected this. ### 2. You have filed to draw the biggest item first. As a result the bigger items overwrite the smaller ones. I have re-ordered them so the biggest goes first. ``` function drawRedCircle() { var canvas = document.getElementById("Circle"); if (canvas.getContext) { var circle = canvas.getContext("2d"); circle.beginPath(); circle.arc(250, 250, 160, 0, Math.PI * 2, ); circle.fillStyle = "yellow"; circle.fill(); circle.stroke(); circle.closePath(); circle.beginPath(); circle.arc(250, 250, 70, 0, Math.PI * 2, ); circle.fillStyle = "red"; circle.fill(); circle.stroke(); circle.closePath(); circle.beginPath(); circle.arc(250, 250, 20, 0, Math.PI * 2, ); circle.strokeStyle = "blue"; circle.lineWidth = 25; circle.fill(); circle.stroke(); circle.closePath(); } } ``` ``` <body onload="drawRedCircle()"> <h1> Draw A Red Circle Using The Canvas Element </h1> <canvas id="Circle" width="500" height="500" style="border: 1px solid black;"> Your browser does not support the Canvas tag. </canvas> </body> ```
null
CC BY-SA 4.0
null
2023-02-26T18:00:05.823
2023-02-26T18:00:05.823
null
null
7,549,483
null
75,574,066
2
null
71,769,575
0
null
I have scratched my head around `TabBarView` many times with a question 'How to put dynamic-height content inside `TabBarView` while it is inside a scrollable container?' The answer was quite straightforward - . It is broken for such use cases. Flutter devs did not care much about it. And that seems to be quite common use case. The solution is like this - just don't do any optimisations, use `tabController` to get a `Widget` from your widget list. Create the UI: ``` // STATEFUL WIDGET: late TabController tabController; @override void initState() { tabController = TabController( initialIndex: 0, length: 3, // adjust your length vsync: this, ); super.initState(); } @override Widget build(BuildContext context) { return Scaffold( appBar: // some app bar body: SingleChildScrollView( Column( children: [ TabBar(controller: tabController), _getTabAtIndex(tabContoller.index), ] ) ) ); } Widget _getTabAtIndex(int index) { var list = [ Container(), // FIRST ITEM Container(), // SECOND ITEM Container(), // THIRD ITEM ]; return list[index]; } ```
null
CC BY-SA 4.0
null
2023-02-26T18:14:38.620
2023-02-26T18:14:38.620
null
null
4,150,337
null
75,574,711
2
null
72,522,986
0
null
For me it was in pending state, because Google Play services were upgrading in the background. Check the notifications at the top to make sure there are no in progress updates.
null
CC BY-SA 4.0
null
2023-02-26T20:05:27.710
2023-02-26T20:05:27.710
null
null
10,140,162
null
75,574,787
2
null
7,778,954
0
null
This has gotten simpler in more recent versions of Matplotlib. Now, to color ticks, tick labels, and spines, in the style OP was after: ``` for ax, color in zip([ax1, ax2, ax3, ax4], ['green', 'green', 'blue', 'blue']): ax.tick_params(color=color, labelcolor=color) ax.spines[:].set_color(color) ```
null
CC BY-SA 4.0
null
2023-02-26T20:19:56.387
2023-02-26T20:19:56.387
null
null
1,976,597
null
75,574,842
2
null
75,574,386
0
null
If you want to [update a document](https://firebase.google.com/docs/firestore/manage-data/add-data#web-version-9_9), the API call to make is `updateDoc` and not `addDoc` (which adds a document to a collection).
null
CC BY-SA 4.0
null
2023-02-26T20:30:20.510
2023-02-26T20:30:20.510
null
null
209,103
null
75,575,380
2
null
75,574,912
0
null
This might explain the behaviour of DNS Name assignment to your instance: From [DNS attributes for your VPC - Amazon Virtual Private Cloud](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html#vpc-dns-support): > The following VPC attributes determine the DNS support provided for your VPC. If both attributes are enabled, an instance launched into the VPC receives a public DNS hostname if it is assigned a public IPv4 address or an Elastic IP address at creation. If you enable both attributes for a VPC that didn't previously have them both enabled, instances that were already launched into that VPC receive public DNS hostnames if they have a public IPv4 address or an Elastic IP address.- `enableDnsHostnames``false`- `enableDnsSupport``true``true`
null
CC BY-SA 4.0
null
2023-02-26T22:26:38.707
2023-02-26T22:26:38.707
null
null
174,777
null
75,575,538
2
null
38,188,449
3
null
In general you would need to write your own hardware VM Sandbox, as whatever you do to open one folder or file in Windows will allow to break free into parents or children or sideways. How else do exploits rapidly consume your data locations ? Even open readme.txt in NotePad allows the user to circumnavigate their Hello World of folders and files. Hence MS keep trying to lockdown Printing Problems, but offer save as or print to folder. For example with a common everyday file like a PDF, is it needs to shout out its location, to the system or it cannot be able to navigate its referenced locations, classic case yesterday somebody did a bad download.re.name.pdf and the file could not find links to page 3 onwards, because its own filename was not found. So most files types opened by defaults, need to be able to navigate any other location in that same system, for saving temporary work files as they are viewed e.g. a DocX will need to keep a temp file or 3 open. IF you use a containerised application like Sandie or Windows Own Sandbox then there is no navigation outside the root.
null
CC BY-SA 4.0
null
2023-02-26T23:05:21.103
2023-02-26T23:22:38.873
2023-02-26T23:22:38.873
10,802,527
10,802,527
null
75,575,669
2
null
75,574,324
1
null
You're importing Springdoc 1, which is only compatible with Spring Boot 2. For Spring Boot 3, you need to use [Springdoc 2](https://springdoc.org/v2/). The correct gradle import is: ``` implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2") ```
null
CC BY-SA 4.0
null
2023-02-26T23:34:37.380
2023-02-26T23:34:37.380
null
null
15,496,965
null
75,575,925
2
null
75,575,894
1
null
Two ways to do this: One way is to create an array and index into that instead ``` var controls = new Control[] { soldOutPB1, soldOutPB2, soldOutPB3 }; controls[index].Visible = true; ``` Another way is to use the controls collection and specify the control name as a string: ``` var control = this.Controls[$"soldOutPB1{index}"].Visible = true; ```
null
CC BY-SA 4.0
null
2023-02-27T00:36:35.403
2023-02-27T00:42:08.763
2023-02-27T00:42:08.763
584,183
2,791,540
null
75,576,111
2
null
75,515,852
0
null
Thanks! Manually importing the auth module using hidden import solved this issue
null
CC BY-SA 4.0
null
2023-02-27T01:29:42.027
2023-02-27T01:29:42.027
null
null
21,254,689
null
75,576,178
2
null
75,568,257
0
null
If you just want to simply run a script and the content can be displayed in the OUTPUT taB, you can use the [code-runner extension](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner) and click "Run Code" to run python scripts. [](https://i.stack.imgur.com/pdC9J.png) [](https://i.stack.imgur.com/nEqKm.png) Another way is to use debug mode and then set the console configuration to internalConsole in the `launch.json` file: ``` "console": "internalConsole" ``` That would display the output in the Debug Console tab rather than the Terminal tab.
null
CC BY-SA 4.0
null
2023-02-27T01:50:19.867
2023-02-27T01:50:19.867
null
null
18,359,438
null
75,576,285
2
null
69,747,980
0
null
``` df1.compare(df2).groupby(level=0,axis=1).apply(lambda dd:dd.agg(tuple,axis=1)) ``` Output: ``` A B 0 (1, 7) (4, 10) 1 (2, 8) (5, 11) 2 (3, 9) (6, 12) ```
null
CC BY-SA 4.0
null
2023-02-27T02:17:54.617
2023-02-27T02:17:54.617
null
null
20,284,103
null
75,576,799
2
null
75,175,242
0
null
please try ``` import {defineField, defineType} from 'sanity/lib/exports' import {defineConfig} from 'sanity/lib/exports' ```
null
CC BY-SA 4.0
null
2023-02-27T04:31:47.617
2023-02-27T04:32:25.540
2023-02-27T04:32:25.540
4,826,457
21,294,480
null
75,576,814
2
null
73,431,182
0
null
Remove the ethers dependency with `yarn remove ethers` than you can install and add hardhat again, that worked for me You have to do this because hardhat has it's own ethers module, otherwise the two would get in each other's way
null
CC BY-SA 4.0
null
2023-02-27T04:36:05.593
2023-02-27T04:45:27.087
2023-02-27T04:45:27.087
17,348,849
17,348,849
null
75,576,836
2
null
75,576,539
0
null
The problem is solved. I installed the latest version of @chainlink and also updated my compiler version. And instead of importing from v6.0. I am importing from v8.0
null
CC BY-SA 4.0
null
2023-02-27T04:42:52.437
2023-02-27T04:42:52.437
null
null
16,477,533
null
75,577,239
2
null
30,495,631
0
null
Assuming we have used Auto Layout to fully constrain our content we can calculate the fitting size and use that to size the popover. In the viewDidLoad method of my content view controller: ``` preferredContentSize = view.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize) ``` Using systemLayoutSizeFitting on the root view of the view controller asks the Auto Layout engine to calculate the smallest (layoutFittingCompressedSize) size that will fit the layout: Ref: [https://useyourloaf.com/blog/self-sizing-popovers](https://useyourloaf.com/blog/self-sizing-popovers)
null
CC BY-SA 4.0
null
2023-02-27T06:09:58.820
2023-02-27T06:09:58.820
null
null
4,510,873
null
75,577,267
2
null
75,576,783
2
null
So, to bind the results of one combo box to another in VS, you can use the `SelectedIndexChanged` event of the first combo box in order to filter the data that is shown in the 2nd box reliant on the item in the first. For the purpose of your question, I will be using naming conventions of my own. Feel free to replace appropriately and let me know if you receive any syntax errors, please. You can create a data source for your second data combo box that includes all of the car info, such as the owner ID in your case-scenario. Then set a `DisplayMember` property of the second of your combo boxes (if you have MSAccess, you can do this fairly quickly and easily), property of the second combo box to the car make/model or whichever you desire. Once you do that, you could also set a `ValueMember` property of the second combo box to the car ID or as long as it is a separate unique identifier. Using the `SelectedIndexChanged` event of the first box, write your code so that it filters the data in the second combo box based on the selected item in your first combo box. You can do this in MSAccess via setting the `DataSource` property of the 2nd combo box to a filtered data view or data table that only will include the cars with the appropriately selected owner ID. Example (Raw): ``` // Assuming 2 boxes named ownerComboBox and carComboBox // Setup the data source for the 2nd carComboBox.DisplayMember = "MakeModelYear"; carComboBox.ValueMember = "CarID"; carComboBox.Datasource = carTable // Setup the event handler private void ownerCombobox_SelectedIndexChanged(object, sender EventArgs, e) { int selectOwnerID = (int)ownerComboBox.SelectedValue; // Filtering out the data in in the carComboBox based on selected owner's ID DataView carView = new DataView(carTable); carView.RowFilter = $"OwnerID = {selectedOwnerID}"; carComboBox.DataSource = carView; ``` In the above example, `carTable` is a Data Table that will contain all of the car data as well as owner ID. The `MakeModelYear` field will concatenate the string of the car's make, model, and year, then use it as the display value for the second combo box. The `ownerComboBox_SelectedIndexChanged` is an event handler that filters the data from `carTable` based on owner's ID then sets the `DataSource` property of the other combo box (2nd), to a `DataView` that will only include those filtered cars. Will also update the 2nd box as well based on your selected item in the first combo box.
null
CC BY-SA 4.0
null
2023-02-27T06:14:32.190
2023-03-02T18:25:21.667
2023-03-02T18:25:21.667
10,871,073
18,313,198
null
75,577,463
2
null
73,138,361
0
null
``` val isRefreshing = lazyPagintItems.loadState.refresh is LoadState.Loading LaunchedEffect(isRefreshing) { if (!isRefreshing) { lazyListState.scrollToItem(0) } } ```
null
CC BY-SA 4.0
null
2023-02-27T06:51:44.287
2023-02-27T06:51:44.287
null
null
7,067,392
null
75,577,625
2
null
75,229,604
0
null
> The multi-level transactions have some restrictions when the Work With (mobile) pattern is applied to them. The recommendation is to use one-level transactions for each level and apply the pattern for each one. It is not necessary to remove the original two-level transaction, you can create parallel transactions (with the same key) and apply the pattern to them. Here is the response received from Genexus support which may be useful.
null
CC BY-SA 4.0
null
2023-02-27T07:14:16.477
2023-03-03T17:52:02.823
2023-03-03T17:52:02.823
7,325,599
7,495,905
null
75,578,095
2
null
75,571,060
0
null
The `launchSettings.json` is basically used by IDE (Visual Studio 2022 or other version), not really by the runtime itself. When you double click the `.exe` file or use `dotnet <project_name>.dll` command, it will use the default port 5000. And you also can use command below to start the application. ``` --urls=https://localhost:5002 ``` [](https://i.stack.imgur.com/23Hbj.png)
null
CC BY-SA 4.0
null
2023-02-27T08:13:41.643
2023-02-27T08:40:28.280
2023-02-27T08:40:28.280
7,687,666
7,687,666
null
75,578,128
2
null
75,577,923
0
null
Since your tags values aren't json, you need to remake it a bit: ``` DECLARE @json_string NVARCHAR(MAX) = N' {"Tags":"\"Cost Center\": \"009649\",\"Security Level\": \"High\",\"Status\": \"Active\",\"Title\" : \"DRAIM\""}'; SELECT JSON_VALUE('{' + JSON_VALUE(@json_string, '$.Tags') + '}', '$."Cost Center"') ``` Basicly, you extract the Tags string first, then convert it to json by appending {} around it, and finally, you get the value by using JSON_VALUE
null
CC BY-SA 4.0
null
2023-02-27T08:18:06.443
2023-02-27T08:18:06.443
null
null
13,061,224
null
75,578,269
2
null
75,577,923
0
null
In SQL Server you can use the `PIVOT` function to transform rows to columns: This will return all the data from your json. ``` DECLARE @json_string NVARCHAR(MAX) = N' {"Tags":{"Cost Center": "009649","Security Level": "High", "Status": "Active","Title": "DRAIM"}}'; WITH cte as ( SELECT * FROM OPENJSON(@json_string, '$.Tags') ) select [Cost Center], [Security Level], Status, Title from cte pivot ( max(value) for [key] in ([Cost Center], [Security Level], Status, Title) ) piv; ```
null
CC BY-SA 4.0
null
2023-02-27T08:34:15.137
2023-02-27T08:34:15.137
null
null
4,286,884
null
75,578,738
2
null
33,381,708
0
null
Woe from the mind, everything is much simpler ``` .select2-container--open .select2-dropdown--below { position: relative; } .select2-container--default .select2-search--dropdown .select2-search__field { position: absolute; top: -27px; border: 0px !important; width: 94%; } .select2-container--default .select2-search--dropdown .select2-search__field:focus-visible { outline: -webkit-focus-ring-color auto 0px; } ```
null
CC BY-SA 4.0
null
2023-02-27T09:32:48.550
2023-02-27T09:32:48.550
null
null
12,085,653
null
75,579,084
2
null
75,554,574
0
null
You still need to install the aws command line utility on the jenkins node executing the pipeline. This is not done with the CloudBees plugin. You can use the Jenkins Tool installation to do that, or install it any other way that fits your environment.
null
CC BY-SA 4.0
null
2023-02-27T10:06:55.363
2023-02-27T10:06:55.363
null
null
127,400
null
75,579,092
2
null
75,579,004
0
null
Here is just a small piece of code. Look into it Add to show in the very beginning. note: I had added the icon, you can add any widget instead of that. ``` AppBar( leading: IconButton( icon: Icon(Icons.menu), onPressed: () {}, ), title: Text("Customize App"), ), actions: [ IconButton( icon: Icon(Icons.settings), onPressed: () {}, ), IconButton( icon: Icon(Icons.search), onPressed: () {}, ), ], ``` This how you can do. Cheers flutter!
null
CC BY-SA 4.0
null
2023-02-27T10:07:34.667
2023-02-27T10:07:34.667
null
null
5,130,015
null
75,579,274
2
null
75,579,004
2
null
I'm try To Solve Your Problem ``` import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; class MyWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Colors.transparent, title: TextButton( style: TextButton.styleFrom( backgroundColor: Colors.purple, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(999), ), ), onPressed: () { }, child: Text('1644 \$', style: TextStyle(color: Colors.white)) ), elevation: 0, actions: [ Row( children: [ Text("Aujourd'Hui", style: TextStyle(color: Colors.black,fontSize: 19,fontWeight: FontWeight.bold),), SizedBox( width: 60, ), const SizedBox(width: 10), Icon(Icons.contact_mail, color: Colors.black), const SizedBox(width: 10), Icon(Icons.settings, color: Colors.black), SizedBox( width: 23, ), ], ), ], ), // body: SafeArea( // child: Container( // padding: const EdgeInsets.symmetric(horizontal: 10), // child: Row( // children: [ // Expanded(child: Text("Username", style: TextStyle(color: Colors.black),)), // const SizedBox(width: 10), // Icon(Icons.message, color: Colors.black), // const SizedBox(width: 10), // TextButton( // style: TextButton.styleFrom( // backgroundColor: Colors.purple, // shape: RoundedRectangleBorder( // borderRadius: BorderRadius.circular(999), // ), // ), // onPressed: () { }, // child: Text('Edit', style: TextStyle(color: Colors.white)) // ), // ], // ), // height: kToolbarHeight, // ), // )); ); } } ``` [](https://i.stack.imgur.com/24RsO.jpg)
null
CC BY-SA 4.0
null
2023-02-27T10:27:20.143
2023-02-27T10:27:20.143
null
null
18,492,410
null
75,579,338
2
null
30,960,338
1
null
With the function `pivot` you translate a single cell (`baz`) in the original table into a single cell in the result table. However, if you have repeating index-column (`foo` & `bar`) combinations, as in the second example, you need to aggregate the cells of the original table to get a single cell in the result table. `pivot` fails in this case, and `pivot_table` will do the work. Note that the default aggregation function of `pivot_table` is `"mean"` and you can apply `pivot_table` to both cases and get the same result. [pivot](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.pivot.html) [](https://i.stack.imgur.com/yByy4.png) [pivot_table](https://pandas.pydata.org/docs/reference/api/pandas.pivot_table.html) [](https://i.stack.imgur.com/JbXQR.png)
null
CC BY-SA 4.0
null
2023-02-27T10:33:51.167
2023-02-27T10:55:45.960
2023-02-27T10:55:45.960
8,973,620
8,973,620
null
75,579,715
2
null
75,557,459
0
null
Modifying the "linear" parameter in our Texture2D call to false fixed the issue for us: ``` Texture2D texture = new Texture2D(width, height, TextureFormat.ARGB32, false, false); ```
null
CC BY-SA 4.0
null
2023-02-27T11:11:39.727
2023-02-27T11:11:39.727
null
null
21,280,622
null
75,579,837
2
null
73,278,939
0
null
Assuming you are using a virtual environment with the usual jupyter packages installed, you can do this: 1. Open a terminal, ensure your virtual environment is activated 2. Change directory to where your jupyter notebook is saved 3. Run command jupyter notebook This starts a local notebook server and normally opens a browser to your current terminal directory. From there, you can open, create, edit and save notebooks. The terminal window displays a link to the notebook server which is useful if you close your browser. `Quit` in the original browser window to shutdown the server/stop the jupyter kernel. Technically speaking, this is not running in PyCharm and certainly does not give access to PyCharm's debugging tools, but it does allow you to play with a notebook and keep changes under source control. Tested with PyCharm 2022.2.1 (Community Edition).
null
CC BY-SA 4.0
null
2023-02-27T11:24:10.307
2023-02-27T11:24:10.307
null
null
1,731,328
null
75,579,890
2
null
75,479,432
0
null
You need to get the value from `chartInstance.data.datasets` instead of `chartInstance.datasets` then it works just fine: ``` const ctx = document.getElementById("myChart"); const myChart = new Chart(ctx, { type: 'line', data: { labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"], datasets: [{ label: '# of Votes', data: [12, 19, 3, 5, 2, 3] }] }, options: { } }); console.log(myChart.data.datasets[0].borderColor) ``` ``` <script src="https://npmcdn.com/chart.js@4.2.1/dist/chart.umd.js"></script> <div class="myChartDiv"> <canvas id="myChart" width="600" height="400"></canvas> </div> ``` In your case that would become `chart.chart.data.datasets[0].borderColor`
null
CC BY-SA 4.0
null
2023-02-27T11:29:24.857
2023-02-27T11:56:44.163
2023-02-27T11:56:44.163
8,682,983
8,682,983
null
75,579,925
2
null
75,579,846
0
null
Tried ClipRRect Widget? ClipRRect Widget prevents overflows in Container.
null
CC BY-SA 4.0
null
2023-02-27T11:32:15.580
2023-02-27T11:32:15.580
null
null
19,640,782
null