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
74,959,080
2
null
23,415,847
0
null
First, this in the package manager console. ``` [Net.ServicePointManager]::SecurityProtocol=[Net.ServicePointManager]::SecurityProtocol-bOR [Net.SecurityProtocolType]::Tls12 ``` Now try this version: ``` NuGet\Install-Package AjaxControlToolkit -Version 20.1.0 ```
null
CC BY-SA 4.0
null
2022-12-30T07:21:17.857
2023-01-01T20:36:03.703
2023-01-01T20:36:03.703
2,125,010
20,892,273
null
74,959,164
2
null
74,958,559
1
null
Found the answer, turned out I still have a VPN running and it seems that it prevented me from accessing
null
CC BY-SA 4.0
null
2022-12-30T07:34:09.947
2022-12-30T07:34:09.947
null
null
20,891,478
null
74,959,256
2
null
11,677,012
0
null
If your crystal report data is not refreshed after passing the new dataset to the crystal report setdatasource (`crRpt.SetDataSource(ds)`) method, you are doing a silly mistake. try instead of above setdatasource (`crRpt.SetDataSource(ds.Tables[0])`). Sample Code ``` crReceipt crRpt = new crReceipt(); string qry = ""; DataSet ds = new DataSet(); qry = "SELECT L.LID, L.LName, " + " R.RDate, R.RAmount, R.RRemark " + "FROM (Ledger AS L " + "LEFT OUTER JOIN Receipt AS R ON L.LID = R.LID) " + "WHERE L.LName = 'Pankaj' "; ds = cn.getDataSet(qry); crRpt.SetDataSource(ds.Tables[0]); crv.ReportSource = crRpt; //crv = crystal report viewer ```
null
CC BY-SA 4.0
null
2022-12-30T07:45:39.830
2022-12-30T07:45:39.830
null
null
9,529,653
null
74,959,353
2
null
74,957,732
1
null
I've made the following edits to your code: - `Date`- `Price`- `plt.xlim(0,20)`- [here](https://dataplotplus.com/change-datetime-tick-label-frequency-matplotlib-plots/) Please try the code below: ``` import pandas as pd import matplotlib.pyplot as plt import matplotlib.dates as mdates pd.options.mode.chained_assignment = None Bitcoin_Historical = pd.read_csv('data.csv') train1 = Bitcoin_Historical[['Date','Price']] train1['Date'] = pd.to_datetime(train1['Date'], infer_datetime_format=True, errors='coerce') train1['Price'] = train1['Price'].str.replace(',','').str.replace(' ','').astype(float) train2 = train1.set_index('Date') #Setting the Date as Index train2.sort_index(inplace=True) print (type(train2)) print (train2.head()) ax = train2.plot(figsize=(15, 5)) ax.xaxis.set_major_locator(mdates.MonthLocator(interval=1)) ax.xaxis.set_major_formatter(mdates.DateFormatter('%Y-%b')) plt.xlabel('Date', fontsize=12) plt.ylabel('Price', fontsize=12) plt.title("Closing price distribution of bitcoin", fontsize=15) plt.show() ``` Output [](https://i.stack.imgur.com/Yt3fO.png)
null
CC BY-SA 4.0
null
2022-12-30T07:58:24.760
2022-12-30T08:25:09.307
2022-12-30T08:25:09.307
12,370,687
12,370,687
null
74,959,428
2
null
74,954,114
0
null
You can prevent this by removing the outline when the input is focused `input:focus {outline: 0}`. ``` input:focus {outline: 0} ``` ``` <body style="background-color: black"> <input type="text" /> <span style="color: blue">TESTANDO</span> </body> ``` If you want the outline, add it back with `box-shadow` `box-shadow: 0px 0px 0px 0.5px #fff; border-radius: 3px;`
null
CC BY-SA 4.0
null
2022-12-30T08:08:42.077
2022-12-30T08:46:18.577
2022-12-30T08:46:18.577
12,211,689
12,211,689
null
74,959,518
2
null
74,955,775
0
null
You are missing two variable definitions: ``` Dim Price_row As Long Dim Price_clm As Long ``` And variables for range need to be assigned with `Set` This: `Set rng2 = wb2.Sheets(1).Range("A3:C8")` instead of this `rng2 = wb2.Sheets(1).Range("A3:C8")` Now, vlookup function in vba will throw an error when it doesnt find a value. A workaround for this will be something like this. ``` Private Sub OK_Click() If FileToOpen1 <> False Then Set wb1 = Application.Workbooks.Open(FileToOpen1) End If If FileToOpen2 <> False Then Set wb2 = Application.Workbooks.Open(FileToOpen2) End If Set rng1 = wb1.Sheets(1).Range("B3:B8") Price_row = wb1.Sheets(1).Range("C3").Row Price_clm = wb1.Sheets(1).Range("C3").Column Set rng2 = wb2.Sheets(1).Range("A3:C8") For Each cl In rng1 On Error Resume Next vlResult = "" 'Reset variable vlResult = Application.WorksheetFunction.VLookup(cl, rng2, 2, False) 'Performs vlookup If Not vlResult = "" Then wb1.Sheets(1).Cells(Price_row, Price_clm).Value = vlResult Else wb1.Sheets(1).Cells(Price_row, Price_clm).Value = "N/A" End If Price_row = Price_row + 1 Next cl End Sub ``` *Dont forget to add the variable too. ``` Dim vlResult As String ```
null
CC BY-SA 4.0
null
2022-12-30T08:22:11.873
2022-12-30T08:22:11.873
null
null
19,639,186
null
74,959,663
2
null
74,959,483
1
null
The `Range.protect()` method requires authorization, so you cannot run it from an `onEdit(e)` [simple trigger](https://developers.google.com/apps-script/guides/triggers). Use an [installable trigger](https://developers.google.com/apps-script/guides/triggers/installable) instead.
null
CC BY-SA 4.0
null
2022-12-30T08:42:36.213
2022-12-30T08:42:36.213
null
null
13,045,193
null
74,960,277
2
null
74,959,902
0
null
Your desired format require to handle header, data manually. Use this to append row to the end of the sheet ``` XLSX.utils.sheet_add_aoa(workSheet, [['', 'Your', 'Desired data']], { skipHeader: true, // Won't override headers origin: -1, // Add to the end }); ``` Welcome to Stackoverflow!
null
CC BY-SA 4.0
null
2022-12-30T10:04:13.477
2022-12-30T10:04:13.477
null
null
12,280,326
null
74,960,269
2
null
74,958,315
1
null
Your problem is that you flatten your LUT in the wrong way, PIL want it like this ``` [r0, r1, ..., r255, g0, g1, ..., g255, b0, b1, ..., b255] ``` while you obtained ``` [r0, g0, b0, r1, g1, b1, ..., r255, g255, b255] ``` because when you read and "array" the LUT, the array has shape `(1, 256, 3)`, that is 1 row, 256 columns, and 3 bytes per pixel, and flattening collapse the last dimension first. We want to remove the first dimension, this can be done using `.reshape(-1, 3)` where -1 means collapse all the dimensions that are not explicitly mentioned, so that the array has shape `(256,3)`. Next we want to transpose the array, using `.T`, and now it has shape `(3, 256). Finally we can flatten the array and have the LUT in the correct format. Note that these operations (image to array, reshaping, transposition and flattening) have been chained in my code. Here it is the code ``` from PIL import Image img = Image.open('Figure_4.png') lut = np.array(Image.open('LUT.png')).reshape(-1,3).T.flatten() img = img.convert('L') ; img = img.convert('RGB') img.save('Gray.png') img = img.point(lut) img.save('Converted.png') ``` and here the original image, the gray scale image and the converted image [](https://i.stack.imgur.com/32Meq.png) [](https://i.stack.imgur.com/bh1Iw.png) [](https://i.stack.imgur.com/7a3BD.png)
null
CC BY-SA 4.0
null
2022-12-30T10:02:20.280
2022-12-30T10:02:20.280
null
null
2,749,397
null
74,960,425
2
null
74,950,614
0
null
Decided to append an element to an ion-range parent div and with styles like z-index and position: relative and it worked for me, just overflowed with div possible space on the line except the knobs, added transparent color and working good ``` let elemOverflowDivForScroll = document.createElement('div'); elemOverflowDivForScroll.style.position = 'relative'; elemOverflowDivForScroll.style.zIndex = '999999999'; elemOverflowDivForScroll.id = 'overflowDivForScroll' elemOverflowDivForScroll.style.height = '36px'; elemOverflowDivForScroll.style.bottom = '36px'; elemOverflowDivForScroll.style.backgroundColor = 'transparent'; elemOverflowDivForScroll.style.left = '5px' ``` [Something like this](https://i.stack.imgur.com/JpAWj.png)
null
CC BY-SA 4.0
null
2022-12-30T10:22:04.093
2022-12-30T10:24:12.380
2022-12-30T10:24:12.380
18,173,112
18,173,112
null
74,960,993
2
null
74,960,261
0
null
You must pass the actual file in `uploadBytes()` but `video.tempFilePath` is a string. Try: ``` import fs from 'fs'; export const uploadVideo = async (video: any) => { const file = video.data; // Alternatively, try reading file like this // const file = fs.readFileSync(video.tempFilePath); const storageRef = ref(firebaseStorageConfig, `videos/${v4()}`); await uploadBytes(storageRef, file, { contentType: video.mimetype, }); return await getDownloadURL(storageRef); }; ``` You have not shared complete code so I am not sure where you are calling `uploadVideo()` function from but the file must be saved locally to use the above function.
null
CC BY-SA 4.0
null
2022-12-30T11:25:55.707
2022-12-30T11:25:55.707
null
null
13,130,697
null
74,961,280
2
null
74,961,134
0
null
in `Order` model there should be a field named `shipping` which is require in the `processorder` view. just add below field in `Order` model `shipping = models.BooleanField(default=False)` since you want ot hide it , then a `property` need to be added not the db field so your model should look like this ``` class Order(models.Model): customer = models.ForeignKey(Customer, on_delete=models.SET_NULL, null=True, blank=True) date_ordered = models.DateTimeField(auto_now_add=True) complete = models.BooleanField(default=False) transaction_id = models.CharField(max_length=100, null=True) @property def shipping(self): shipping = False # add shipping logic here return shipping def __str__(self): return str(self.id) @property def get_cart_total(self): orderitems = self.orderitem_set.all() total = sum([item.get_total for item in orderitems]) return total @property def get_cart_items(self): orderitems = self.orderitem_set.all() total = sum([item.quantity for item in orderitems]) return total ``` follow the tutorial a little more, you will be able to grasp the solution.
null
CC BY-SA 4.0
null
2022-12-30T11:59:27.943
2022-12-30T12:55:49.963
2022-12-30T12:55:49.963
5,086,255
5,086,255
null
74,961,294
2
null
74,961,134
1
null
The error is because you didn't declared `shipping` variable in your Orders model. ``` class Order(models.Model): customer = models.ForeignKey(Customer, on_delete=models.SET_NULL, null=True, blank=True) date_ordered = models.DateTimeField(auto_now_add=True) complete = models.BooleanField(default=False) transaction_id = models.CharField(max_length=100, null=True) shipping = models.CharField(max_length=200, null=True) def __str__(self): return str(self.id) @property def get_cart_total(self): orderitems = self.orderitem_set.all() total = sum([item.get_total for item in orderitems]) return total @property def get_cart_items(self): orderitems = self.orderitem_set.all() total = sum([item.quantity for item in orderitems]) return total ``` Go to models file and update the Order class with above code. While making API request set the header `Content-Type` to `text/html`. Because the API is responding HTML file not json. That's why you have an error in browser.
null
CC BY-SA 4.0
null
2022-12-30T12:00:35.313
2022-12-30T12:00:35.313
null
null
20,469,298
null
74,961,315
2
null
74,959,719
0
null
First, could you specify what error do you experience exactly? And I cannot see where you're using web scraping for selecting tag, your code performs simple string replace operation. are you trying to remove logo from a remote webpage or just a local file? For local file your code looks fine (as soon as your `links[0]` string does really exist in a file content), but it's not web scraping. For live web page you'll need to use selenium method `execute_script('javascript snippet here')` to update html DOM. Please update your question properly so you could get more assistance
null
CC BY-SA 4.0
null
2022-12-30T12:02:55.797
2022-12-30T12:02:55.797
null
null
17,128,402
null
74,961,316
2
null
31,224,206
0
null
If you are in VBNET Web, check if you have `global.asax` with the global references like: ``` <%@ Application Language="VB" %> <%@ Import Namespace="System.IO.Compression" %> <%@ Import Namespace="System.IO" %> <%@ Import Namespace="System.Globalization" %> <%@ Import Namespace="System.Threading" %> <script RunAt="server"> </script> ```
null
CC BY-SA 4.0
null
2022-12-30T12:03:09.317
2022-12-30T12:03:09.317
null
null
2,105,796
null
74,961,383
2
null
74,960,153
0
null
From `I need to have a simple appscript function to get the table index to print in googlesheet.`, I understood your goal is as follows. - `http://allqs.saqa.org.za/showUnitStandard.php?id=7743` In this case, how about the following sample script? ### Sample script: Please copy and paste the following script to the script editor of Spreadsheet, and save the script. When you put a custom function of `=SAMPLE("http://allqs.saqa.org.za/showUnitStandard.php?id=7743")`, the script is run and the number of tables is returned. ``` function SAMPLE(url) { const html = UrlFetchApp.fetch(url).getContentText(); const res = [...html.matchAll(/<table/g)]; // or var res = [...html.matchAll(/<table.*>[\s\S\w]*?<\/table>/g)]; return res.length; } ``` - When your URL of `http://allqs.saqa.org.za/showUnitStandard.php?id=7743` is used, `96` is returned.- As another method, when `split` is used, the following sample script might be able to be also used.``` function SAMPLE(url) { return UrlFetchApp.fetch(url).getContentText().split("<table").length - 1; } ``` ### Reference: - [matchAll()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/matchAll)
null
CC BY-SA 4.0
null
2022-12-30T12:09:34.217
2022-12-30T12:09:34.217
null
null
7,108,653
null
74,961,602
2
null
74,949,621
0
null
EC2 instances in an EC2 fleet are launched based on an [allocation strategy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html). The way this works is that you specify launch templates for each instance type you would like to have in your fleet and AWS will determine what types will be launched based on the strategy chosen. There are a few strategy types, such as `price-capacity-optimized`, `lowest-price`, `diversified`, etc. You can read about these on the AWS documentation linked above. The default strategy is `lowest-price`, which means that AWS will try to launch instances from the lowest price pool. This is probably why you get only `t3a.medium` type instances. Having these strategies in place means that you cannot explicitly say that I want one instance from each type I specify in the `launch_template_configs` list. What you can do is to override the default strategy and try to use something like `diversified`, which will try to distribute instances across all Spot capacity pools. You can override the strategy if in the `create_fleet` command: ``` response = ec2.create_fleet( DryRun=False, TargetCapacitySpecification={ 'TotalTargetCapacity': target_capacity, 'OnDemandTargetCapacity': 0, 'SpotTargetCapacity': target_capacity, 'DefaultTargetCapacityType': 'spot' }, LaunchTemplateConfigs=launch_template_configs, SpotOptions={ 'AllocationStrategy': 'diversified', }, ) ```
null
CC BY-SA 4.0
null
2022-12-30T12:34:16.487
2022-12-30T12:34:16.487
null
null
7,661,119
null
74,961,621
2
null
74,959,822
0
null
I have the code here: ``` from turtle import * radius = 20 def t(): x_formation = [((i*25)-115,200) for i in range(10)] y_formation = [(0,(i*25)-50) for i in range(10)] def draw_form(formation): for i in formation: penup() goto(i) pendown() circle(radius) draw_form(x_formation) draw_form(y_formation) ``` [T drawing](https://i.stack.imgur.com/ixWOq.png) The code for drawing an `s` is below: ``` def s(): def draw_semicircle(direction): if direction == 'left': for x in range(9): penup() forward(20) left(-25) pendown() circle(radius) else: for x in range(7): penup() forward(20) right(25) pendown() circle(radius) draw_semicircle('left') penup() goto(40,25) draw_semicircle('right') ``` [S drawing](https://i.stack.imgur.com/q4pTr.png)
null
CC BY-SA 4.0
null
2022-12-30T12:36:37.627
2022-12-30T12:36:37.627
null
null
20,615,590
null
74,961,674
2
null
28,313,372
0
null
For me running nvm install 14.0.0 from PowerShell with admin rights did the job.
null
CC BY-SA 4.0
null
2022-12-30T12:41:10.743
2022-12-30T12:41:10.743
null
null
20,893,990
null
74,961,774
2
null
74,953,491
0
null
I figured it out how to solve this i usually do the code ``` await page.selector("button=class'']"); await page.click("button=class'']"); ``` Now i did this: ``` await page.evaluate(() => document.getElementsByClassName('')[0].click()); ``` And that was the answer to my question. It depends for every computer which command is needed because if it's slow it can have trouble with using my first command and the second might work better.
null
CC BY-SA 4.0
null
2022-12-30T12:52:56.113
2022-12-30T17:06:45.873
2022-12-30T17:06:45.873
20,037,042
20,888,198
null
74,961,939
2
null
74,961,810
1
null
Please search before asking. [Simple pivot examples](https://stackoverflow.com/questions/15931607/convert-rows-to-columns-using-pivot-in-sql-server) are already on this site numerous times. Here's another simple example using PIVOT: ``` CREATE TABLE animals ( ID int , ChildID int , [Name] nvarchar(50) , Age int ); INSERT INTO animals (ID, ChildID, [Name], Age) VALUES (1, 654, 'Cat', 1) , (2, 654, 'Dog', 2) , (5, 655, 'Cat', 4) , (6, 655, 'Dog', 3) ; SELECT ChildID , PivotTable.[Cat] , PivotTable.[Dog] FROM ( SELECT ChildID, [Name], Age From animals ) as sourceTable PIVOT ( SUM([Age]) FOR [Name] IN ([Cat],[Dog]) ) as pivotTable ORDER BY ChildID ; ``` | ChildID | Cat | Dog | | ------- | --- | --- | | 654 | 1 | 2 | | 655 | 4 | 3 | [fiddle](https://dbfiddle.uk/WgfgKfXz)
null
CC BY-SA 4.0
null
2022-12-30T13:11:13.773
2022-12-30T13:11:13.773
null
null
2,452,207
null
74,962,271
2
null
74,883,389
0
null
you can not do that with giving `display:block;` to `<ul>`. You can achieve 1 column centered list with this example; ``` ul{ ... display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); place-items: center; } ```
null
CC BY-SA 4.0
null
2022-12-30T13:50:30.680
2022-12-30T13:50:30.680
null
null
14,098,917
null
74,962,502
2
null
74,878,596
0
null
Ensure that on the PXGrid, you have the property SyncPosition set to True. This would ensure when you click on a grid row, it "selects" it and makes it available using Current/FromCurrent.
null
CC BY-SA 4.0
null
2022-12-30T14:15:00.083
2022-12-30T14:15:00.083
null
null
1,308,083
null
74,962,817
2
null
28,422,812
0
null
adding this code will add 10px of space between images ``` margin-left: 10px; margin-right: 10px; ```
null
CC BY-SA 4.0
null
2022-12-30T14:51:26.237
2022-12-30T14:51:26.237
null
null
20,879,303
null
74,962,901
2
null
74,962,863
1
null
You are inserting SaveButton and DeleteButton objects into the array. Just insert the text property of buttons like below. ``` object[] Data = { ProductList[i].ProductName, ProductList[i].ProductPrice.ToString(), ProductList[i].ProductCreationCost.ToString(), ProductList[i].ProductStock.ToString(), ProductList[i].ProductBarcode.ToString(), ProductList[i].ProductImageLoc.ToString(), SaveButton.Text, DeleteButton.Text, }; ```
null
CC BY-SA 4.0
null
2022-12-30T15:00:47.873
2022-12-30T15:00:47.873
null
null
16,095,166
null
74,962,924
2
null
74,962,784
0
null
If you want your elements inside `.card` to be on bottom left corner, you should: Assign `position: relative;` to `.card` and create a div tag inside `.card` where you put your elements (`h3` and `p`) Assign to the div created - `position: absoloute;`- `bottom: 0;`- `left: 0;` ``` .card { height: 300px; background: silver; display: block; width: 500px; position: relative; } .corner { position: absolute; bottom: 0; left: 0; } ``` ``` <div class="card"> <div class="corner"> <h3>Swiss Bank.</h3> <p>Digital Card.</p> </div> </div> ```
null
CC BY-SA 4.0
null
2022-12-30T15:03:33.720
2022-12-30T15:03:33.720
null
null
10,307,137
null
74,962,949
2
null
74,962,784
0
null
I like a [flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) solution here. It's simpler than absolute positioning in terms of markup and more, er, flexible. ``` .card { width: 500px; height: 300px; background: silver; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; justify-content: end; padding-right: 30%; /* only needed if you want to limit text width */ } ``` ``` <div class="card"> <h3>Swiss Bank.</h3> <p>Digital Card.</p> </div> ```
null
CC BY-SA 4.0
null
2022-12-30T15:06:17.540
2022-12-30T15:06:17.540
null
null
1,264,804
null
74,963,008
2
null
74,962,784
0
null
The issue comes from the `height` property that you used. It's creating the space under the text. If you get rid of it, the box will only be as big as the content. In this case: + . ``` .card { background: silver; display: block; margin-left: auto; margin-right: auto; margin-top: 50px; padding-top: 100px; padding-right: 150px; width: 500px; box-sizing: border-box; } ``` ``` <div class="card"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> </div> ```
null
CC BY-SA 4.0
null
2022-12-30T15:11:44.220
2022-12-30T15:17:38.850
2022-12-30T15:17:38.850
14,897,854
14,897,854
null
74,963,170
2
null
74,962,784
0
null
If you're willing to add a bit more markup in your html, you can reduce the amount of CSS you use with flexbox (there's a good guide at [CSS tricks](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) and this [video](https://youtu.be/u044iM9xsWU) from Kevin Powell and also [flexbox froggy](https://flexboxfroggy.com/) game which is kinda fun. ``` .card { height: 300px; width: 500px; background: silver; display: flex; align-items: flex-end; } ``` ``` <div class="card"> <div><!-- Added this extra container --> <h3>Swiss Bank.</h3> <p>Digital Card.</p> </div> </div> ```
null
CC BY-SA 4.0
null
2022-12-30T15:27:16.920
2022-12-30T15:27:16.920
null
null
12,571,484
null
74,963,335
2
null
7,926,540
1
null
After 2022. Here is your class to center content both vertically and horizontally. ``` .center { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; } ```
null
CC BY-SA 4.0
null
2022-12-30T15:44:26.007
2022-12-30T15:44:26.007
null
null
4,004,831
null
74,963,401
2
null
74,953,754
1
null
[ShellExecute, ShellExecuteEx](https://learn.microsoft.com/en-us/windows/win32/shell/launch) should do what you want, they don't create parent-child relationships between precesses.
null
CC BY-SA 4.0
null
2022-12-30T15:51:06.567
2022-12-30T15:51:06.567
null
null
6,752,050
null
74,963,463
2
null
74,954,184
-1
null
A few items -- 1. Try uninstalling it and doing a clean install. 2. Submit it to Microsoft Report a problem with the Visual Studio product or installer
null
CC BY-SA 4.0
null
2022-12-30T15:58:23.370
2022-12-30T15:58:23.370
null
null
2,578,566
null
74,963,786
2
null
74,962,863
0
null
Your question is about . The `UseColumnTextForButtonValue` and `Text` properties of `DataGridViewButtonColumn` are intended to be used for this purpose. A sample of some initialization code that sets the "" and "" label for the buttons is shown below. `DataSource``DataGridView``Record` [](https://i.stack.imgur.com/CqwFV.png) --- The data source is a `BindingList<Product>` containing objects of a class you have defined to represent a row: ``` // Minimal product class for example class Product { // Read-only cells for this example. public string Name { get; internal set; } public double Price { get; internal set; } public string Barcode { get; internal set; } = $"*{Guid.NewGuid().ToString().Substring(0, 8).ToUpper()}*"; } ``` --- Then in the main form, the `Load` event can be used to set up the columns and formatting, including the . ``` protected override void OnLoad(EventArgs e) { base.OnLoad(e); initBarcodeFont(); dataGridView.AllowUserToAddRows = false; dataGridView.DataSource = Products; dataGridView.RowTemplate.Height = 100; #region F O R M A T C O L U M N S DataGridViewColumn col; Products.Add(new Product()); // Format existing Name column dataGridView.Columns[nameof(Product.Name)].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; // Format existing Barcode column col = dataGridView.Columns[nameof(Product.Barcode)]; col.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells; col.DefaultCellStyle.Font = _barcodeFont; // Format existing Price column col = dataGridView.Columns[nameof(Product.Price)]; col.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells; col.DefaultCellStyle.Format = "N2"; // Add the Save button column and format the button style. col = new DataGridViewButtonColumn{ Text = "Save", UseColumnTextForButtonValue = true, Width = 90, FlatStyle = FlatStyle.Flat }; col.DefaultCellStyle.BackColor = Color.AliceBlue; dataGridView.Columns.Add(col); // Add the Delete button column and format the button style. col = new DataGridViewButtonColumn { Text = "Delete", UseColumnTextForButtonValue = true, Width = 90, FlatStyle = FlatStyle.Flat }; col.DefaultCellStyle.BackColor = Color.AliceBlue; dataGridView.Columns.Add(col); Products.Clear(); #endregion F O R M A T C O L U M N S // Add a few products Products.Add(new Product { Name = "Coffee", Price = 13.99 }); Products.Add(new Product { Name = "Milk", Price = 5.49 }); Products.Add(new Product { Name = "Eggs", Price = 4.29 }); } BindingList<Product> Products = new BindingList<Product>(); ```
null
CC BY-SA 4.0
null
2022-12-30T16:35:37.997
2022-12-30T19:47:13.617
2022-12-30T19:47:13.617
5,438,626
5,438,626
null
74,964,310
2
null
65,828,781
0
null
I know it been a while for this post, I have similar issue where the reason for this issue was the scaling (think about multiple users accessing your app) this could cause unexpected behavior where the global/local variables could contain wrong information or even could be None. so try to host your app first with only 1 instance and see if that issue resolved. if yes then the reason was due the scalability. BTW. The solution for this issue to make your app stateless. so don't use any variables for long time, save your data into another place (e.g. memorystore or any other DB solutions..)
null
CC BY-SA 4.0
null
2022-12-30T17:37:54.867
2022-12-30T17:37:54.867
null
null
9,525,700
null
74,964,623
2
null
18,311,108
0
null
I had to install following packages for Xunit: [](https://i.stack.imgur.com/3JBnT.png)
null
CC BY-SA 4.0
null
2022-12-30T18:16:40.137
2022-12-30T18:16:40.137
null
null
929,902
null
74,964,909
2
null
74,964,208
1
null
I don't think plotly has this particular type of chart, but you can achieve this by adding two `go.Scatter` traces: the first trace with the argument `mode='markers+text'` to add the marker and the text inside, and the second trace with `mode='lines'` to add the line segment on the xaxis. Then to make the plot prettier, you can hide the yaxis and the ticks on the xaxis. For example: ``` import plotly.graph_objects as go fig = go.Figure() fig.add_trace(go.Scatter( x=[0,96], y=[0,0], mode='lines', line=dict( color='blue', width=4, ), showlegend=False )) fig.add_trace(go.Scatter( x=[96], y=[0], text="96", textposition="middle center", mode='markers+text', marker=dict( color='black', size=30, line=dict( color='white', width=1 ) ), textfont=dict( size=12, color="white" ), showlegend=False )) fig.update_xaxes(showgrid=False, showticklabels=False) fig.update_layout(height=300, xaxis_range=[0,100], plot_bgcolor='black') fig.update_yaxes(visible=False) fig.show() ``` [](https://i.stack.imgur.com/ZrJUx.png)
null
CC BY-SA 4.0
null
2022-12-30T18:54:41.200
2022-12-30T19:37:57.197
2022-12-30T19:37:57.197
5,327,068
5,327,068
null
74,965,564
2
null
53,074,484
0
null
All of these answers didn't solve my problem either. I found that I had to move my pdf folder to the public folder to fix. Hopefully that solves your issue too.
null
CC BY-SA 4.0
null
2022-12-30T20:26:38.073
2022-12-30T20:26:38.073
null
null
5,499,173
null
74,965,604
2
null
28,179,780
0
null
Install the nuget package:- Microsoft.ReportingServices.ReportViewerControl.Winforms It will solve the issue
null
CC BY-SA 4.0
null
2022-12-30T20:33:58.350
2022-12-30T20:33:58.350
null
null
892,799
null
74,965,627
2
null
74,962,877
2
null
Starting with Cypress version 12 [Test Isolation](https://docs.cypress.io/guides/core-concepts/test-isolation) was introduced. This now means the Mocha context (aka `this`) is completely cleaned between tests. ### Mocha context It used to be (undocumented) that the Mocha context could be used to preserve variables across tests, for example ``` before(function () { cy.fixture("example.json").as('testdata') // preserved on "this" }) it("check testdata 1", function () { expect(this.testdata).to.not.be.undefined // passes }) it("check testdata 2", function () { expect(this.testdata).to.not.be.undefined // fails in Cypress v12 }) ``` but now that does not work. The use of Mocha context is a bit arbitrary anyway, and requires explicit use of function-style functions which is easy to forget, particularly in places like array method callbacks `Array.forEach(() => {})`. You can still use the Cypress context to store data ``` before(function () { cy.fixture("example").then(function (testdata) { Cypress.testdata = testdata; }) }) it("check testdata 1", function () { expect(Cypress.testdata).to.not.be.undefined // passes }) it("check testdata 2", function () { expect(Cypress.testdata).to.not.be.undefined // passes }) ``` Note this is also undocumented and may change in the future. --- ### Caching methods Technically, the way to do this is to set the alias with `beforeEach()`. The `cy.fixture()` command caches it's value, so you do not get the read overhead for each test (see [Fixture returns outdated/false data #4716](https://github.com/cypress-io/cypress/issues/4716#issuecomment-518528101)) There is also `cy.session()` for more complicated scenarios, which would be officially supported. ``` beforeEach(() => { cy.session('testdata', () => { cy.fixture("example").then(testdata => { sessionStorage.setItem("testdata", testdata) }) }) }) it("check testdata 1", function () { expect(sessionStorage.getItem("testdata")).to.not.be.undefined }) it("check testdata 2", function () { expect(sessionStorage.getItem("testdata")).to.not.be.undefined }) ``` Lastly, [cypress-data-session](https://github.com/bahmutov/cypress-data-session) which fills a gap From the docs | Feature | cy.session | cy.dataSession | | ------- | ---------- | -------------- | | Command is | official ✅ | community | | Can cache | the browser session state | anything | | Stability | experimental !!! not in v12 | production | | Cache across specs | yes | yes | | Access to the cached data | no ??? | yes | | Custom validation | no | yes | | Custom restore | no | yes | | Dependent caching | no | yes | | Static utility methods | limited | all | | GUI integration | yes | no | | Should you use it? | maybe | yes | | Cypress version support | newer versions | all | --- ### Cypress.env() This is another way that is officially supported, ``` before(() => { cy.fixture("example").then(testdata => { Cypress.env("testdata", testdata) }) }) it("log my fixture 1", function () { expect(Cypress.env("testdata")).to.not.be.undefined // passes }) it("log my fixture 2", function () { expect(Cypress.env("testdata")).to.not.be.undefined // passes }) ``` but there are still certain tests scenarios that reset the browser completely where this may not work.
null
CC BY-SA 4.0
null
2022-12-30T20:37:34.337
2022-12-30T20:47:35.307
2022-12-30T20:47:35.307
16,791,505
16,791,505
null
74,965,923
2
null
74,965,111
3
null
You need to specify the edges explicitly. For every point at coordinates `(i, j)`, there is a horizontal edge to the point to its east `(i, j+1)`, a vertical edge to the point to its south `(i+1, j)`, a diagonal edge to the point to its southeast `(i+1, j+1)`, and a diagonal edge to the point to its northeast `(i-1,j+1)`. ``` def grid(h, w): vertices = [(i, j) for i in range(h) for j in range(w)] edges = [((i,j), (i+di, j+dj)) for i in range(h-1) for j in range(w-1) for (di, dj) in ((0, 1), (1, 0), (1, 1))] edges.extend(((i,j), (i-1,j+1)) for i in range(1,h) for j in range(w-1)) edges.extend(((i, w-1), (i+1, w-1)) for i in range(h-1)) edges.extend(((h-1, j), (h-1, j+1)) for j in range(w-1)) return vertices, edges def grid_with_simple_numbers_instead_of_pairs(h, w): vertices, edges = grid(h, w) vertices = [i * w + j for (i, j) in vertices] edges = [((i*w+j), (k*w+l)) for ((i,j), (k,l)) in edges] return vertices, edges ## OR EQUIVALENTLY def grid_with_simple_numbers(h, w): vertices = list(range(h * w)) edges = [(i*w+j, i*w+j+k) for i in range(h-1) for j in range(w-1) for k in (1, w, w+1)] edges.extend((i*w+j, (i-1)*w+j+1) for i in range(1,h) for j in range(w-1)) edges.extend((ij, ij+w) for ij in range(w-1, h*w-1, w)) edges.extend((ij, ij+1) for ij in range((h-1)*w, h*w-1)) return vertices, edges print(grid(2, 2)) # [(0, 0), (0, 1), (1, 0), (1, 1)], # [((0, 0), (0, 1)), ((0, 0), (1, 0)), ((0, 0), (1, 1)), ((1, 0), (0, 1)), ((0, 1), (1, 1)), ((1, 0), (1, 1))] print(grid_with_simple_numbers_instead_of_pairs(2, 2)) # [0, 1, 2, 3], # [(0, 1), (0, 2), (0, 3), (2, 1), (1, 3), (2, 3)] print(grid_with_simple_numbers(2, 2)) # [0, 1, 2, 3], # [(0, 1), (0, 2), (0, 3), (2, 1), (1, 3), (2, 3)] ``` Testing: ``` import networkx as nx import matplotlib.pyplot as plt vertices, edges = grid_with_simple_numbers_instead_of_pairs(4, 3) G = nx.Graph() G.add_nodes_from(vertices) G.add_edges_from(edges) nx.draw(G, with_labels=True) plt.show() ``` [](https://i.stack.imgur.com/4894P.png)
null
CC BY-SA 4.0
null
2022-12-30T21:27:48.757
2022-12-30T21:50:53.337
2022-12-30T21:50:53.337
3,080,723
3,080,723
null
74,966,061
2
null
50,236,128
1
null
as per the [official documentation](https://docs.flutter.dev/get-started/install/linux#get-sdk), use ``` $ which flutter dart ``` command in your terminal
null
CC BY-SA 4.0
null
2022-12-30T21:50:36.240
2022-12-30T21:50:36.240
null
null
8,642,506
null
74,966,111
2
null
74,965,111
0
null
As @luk2302 said, you can iterate through all the points and connect (x,y) to (x+1,y), (x,y+1), (x+1,y+1), and (x+1,y-1). Furthermore, if you want to store a list of connections between points I would suggest using an adjacency list implemented as a dictionary. ``` WIDTH = 2 LENGTH = 3 points = [(0, 0), (0, 1), (1, 0), (1, 1), (2, 0), (2, 1)] connections = {} for p in points: connections[p] = [] for p in points: if p[0] < LENGTH-1: connections[p].append((p[0]+1, p[1])) connections[(p[0]+1, p[1])].append(p) if p[1] < WIDTH-1: connections[p].append((p[0], p[1]+1)) connections[(p[0], p[1]+1)].append(p) if p[0] > 0 and p[1] < WIDTH-1: connections[p].append((p[0]-1, p[1]+1)) connections[(p[0]-1, p[1]+1)].append(p) if p[0] < LENGTH-1 and p[1] < WIDTH-1: connections[p].append((p[0]+1, p[1]+1)) connections[(p[0]+1, p[1]+1)].append(p) ``` What you end up with is a dictionary called `connections`, where `connections[(x,y)]` will return a list of all other tuples the point is connected to. For example, `connections[(0,0)]` would return `[(1,0), (0,1), (1,1)]`. If you just want to draw the grid without doing any operations you can also remove the 2nd line of each 'if' statement.
null
CC BY-SA 4.0
null
2022-12-30T22:00:17.523
2022-12-30T22:00:17.523
null
null
19,954,384
null
74,966,110
2
null
74,965,111
2
null
The answer with explicit edges is already present. On the other hand, you may need to explicitly specify the edges — and nodes for that matter. Consider the following approach. A node is just a pair `(row, col)` with grid coordinates. A connection is not stored anywhere: instead, for every node, its neighbors are generated on the fly. Here is an example for your second picture: ``` deltas = [(-1, -1), (-1, 0), (-1, +1), ( 0, +1), (+1, +1), (+1, 0), (+1, -1), ( 0, -1)] rows = 3 cols = 2 def neighbors (row, col): res = [] for dr, dc in deltas: nr, nc = row + dr, col + dc if 0 <= nr <= rows and 0 <= nc <= cols: res.append ((nr, nc)) return res for row in range (0, rows + 1): for col in range (0, cols + 1): print ((row, col), '->', neighbors (row, col)) ``` And here are the neighbors it prints: ``` (0, 0) -> [(0, 1), (1, 1), (1, 0)] (0, 1) -> [(0, 2), (1, 2), (1, 1), (1, 0), (0, 0)] (0, 2) -> [(1, 2), (1, 1), (0, 1)] (1, 0) -> [(0, 0), (0, 1), (1, 1), (2, 1), (2, 0)] (1, 1) -> [(0, 0), (0, 1), (0, 2), (1, 2), (2, 2), (2, 1), (2, 0), (1, 0)] (1, 2) -> [(0, 1), (0, 2), (2, 2), (2, 1), (1, 1)] (2, 0) -> [(1, 0), (1, 1), (2, 1), (3, 1), (3, 0)] (2, 1) -> [(1, 0), (1, 1), (1, 2), (2, 2), (3, 2), (3, 1), (3, 0), (2, 0)] (2, 2) -> [(1, 1), (1, 2), (3, 2), (3, 1), (2, 1)] (3, 0) -> [(2, 0), (2, 1), (3, 1)] (3, 1) -> [(2, 0), (2, 1), (2, 2), (3, 2), (3, 0)] (3, 2) -> [(2, 1), (2, 2), (3, 1)] ``` The point here is that there is often no need to the connections when we can generate them on the fly every time we need them. The majority of graph algorithms (starting from BFS, DFS, and shortest paths) relies on the basic operation of the form "for every neighbor of this node, do that". This phrase can be replaced, in code, by: ``` ... # "this node" is (row, col) for dr, dc in deltas: nr, nc = row + dr, col + dc if 0 <= nr <= rows and 0 <= nc <= cols: ... # "do that" with node (nr, nc) ```
null
CC BY-SA 4.0
null
2022-12-30T22:00:16.077
2022-12-30T22:00:16.077
null
null
1,488,799
null
74,966,154
2
null
74,964,852
2
null
One possibility is to make up a rule, for instance: > The distance between two adjacent points should be proportional to the sum of their weights. This rule does not seem perfectly consistent with your examples. In your examples, it looks like every point repulses every other point, not just adjacent points. But it has the advantage of being a simple rule. Here is an implementation of this rule in python: ``` from itertools import pairwise, accumulate def place_points(weights): if all(w == 0 for w in weights): return [p / (len(weights)-1) for p in range(0, len(weights))] else: dists = [w1+w2 for w1,w2 in pairwise(weights)] positions = list(accumulate(dists, initial=0)) total_dist = positions[-1] normalised_positions = [p / total_dist for p in positions] return normalised_positions for weights in ([0,0,0,0,0], [1,0,0,0,2], [1,0,10,0,2]): print('weights: ', weights) print('points: ', place_points(weights)) print() # weights: [0, 0, 0, 0, 0] # points: [0.0, 0.25, 0.5, 0.75, 1.0] # weights: [1, 0, 0, 0, 2] # points: [0.0, 0.333, 0.333, 0.333, 1.0] # weights: [1, 0, 10, 0, 2] # points: [0.0, 0.043, 0.478, 0.913, 1.0] ```
null
CC BY-SA 4.0
null
2022-12-30T22:08:51.700
2022-12-30T22:23:27.700
2022-12-30T22:23:27.700
3,080,723
3,080,723
null
74,966,162
2
null
74,957,452
0
null
Found a solution. Added this code to my MainActivity.kt ``` val drawerLayout: DrawerLayout = binding.drawerLayout val navView: NavigationView = binding.navView val navHostFragment = supportFragmentManager.findFragmentById(R.id.nav_host_fragment_content_main) as NavHostFragment val navController = navHostFragment.navController getSupportActionBar()?.setDisplayHomeAsUpEnabled(true) getSupportActionBar()?.setHomeButtonEnabled(true) appBarConfiguration = AppBarConfiguration( setOf( R.id.sc_menu_i_inv_count, R.id.sc_menu_i_work_orders, R.id.sc_menu_i_ins_queue, R.id.sc_menu_i_return_queue, R.id.sc_menu_i_settings, R.id.sc_menu_i_sign_out, R.id.sc_menu_image_list_view ), drawerLayout ) setupActionBarWithNavController(navController, appBarConfiguration) navView.setupWithNavController(navController) actionBarDrawerToggle = ActionBarDrawerToggle(this, drawerLayout, binding.appBarMain.toolbar, R.string.nav_open, R.string.nav_close) drawerLayout.addDrawerListener(actionBarDrawerToggle) actionBarDrawerToggle.syncState() supportActionBar!!.setDisplayHomeAsUpEnabled(true) ```
null
CC BY-SA 4.0
null
2022-12-30T22:09:38.483
2022-12-30T22:09:38.483
null
null
6,002,991
null
74,966,207
2
null
74,964,151
0
null
The code posted above is not adding the extra leaderstats folder and value `mana`. User the search in the explorer to find any scripts in your game. Just type `script` into your search. Then open each file in your game hit `Ctl + F` on your keyboard and find `Mana` in each script. [](https://i.stack.imgur.com/tncpf.png) Why this could happen? There are many assets from the toolbox that come bundled with scripts which could be one cause of your problem, but it can also happen because of plugins you have installed which add leaderstats to your game.
null
CC BY-SA 4.0
null
2022-12-30T22:18:38.960
2022-12-30T22:18:38.960
null
null
11,521,654
null
74,966,219
2
null
57,049,920
0
null
In your build phase, I would recommend the following: ``` export PATH="$PATH:/opt/homebrew/bin" if which swiftlint >/dev/null; then swiftlint --fix && swiftlint else echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint" fi ``` The `swiftlint --fix` is the main component.
null
CC BY-SA 4.0
null
2022-12-30T22:20:37.687
2022-12-30T22:20:37.687
null
null
3,833,666
null
74,966,554
2
null
74,964,852
1
null
Here is a physics model that slowly moves the points around as if they were sliding magnets. At each iteration, the force exerted on each magnet is calculated, and the magnet moves accordingly. The repulsion exerted by a magnet over another magnet is proportional to the inverse of the square of the distance between the two, because that's how it works for actual magnets. ``` import numpy as np #import matplotlib.pyplot as plt ## uncomment those lines for graphics output def move_points(weights, points=None, left=0, right=1, n_iter = 1000, learning_rate = 0.0001): n = weights.shape[0] if not points: points = np.linspace(0, 1, n) assert(points.shape == weights.shape == (n,)) #plt.scatter(points, [0]*n) for t in range(1, n_iter+1): dists = (points - points.reshape((n,1))) coeffs = np.sign(dists) / dists**2 forces = np.nansum(weights*coeffs, axis=1) points = points - learning_rate * forces points[0] = max(left, points[0]) points[-1] = min(points[-1], right) #plt.scatter(points, [t]*n) #plt.show() return points ``` Testing: ``` for weights in map(np.array, ([0,0,0,0,0], [1,0,0,0,2], [1,0,10,0,2])): print('weights: ', weights) print('points: ', move_points(weights, n_iter=100)) print() # weights: [0 0 0 0 0] # points: [0. 0.25 0.5 0.75 1. ] # weights: [1 0 0 0 2] # points: [0. 0.32732937 0.46804381 0.59336546 1. ] # weights: [ 1 0 10 0 2] # points: [0. 0.11141358 0.46804381 0.83729092 1. ] ``` Graphics output of trajectories: [](https://i.stack.imgur.com/IlObZ.png) Weights = [0 0 0 0 0] [](https://i.stack.imgur.com/00ZfL.png) Weights = [1 0 0 0 2] [](https://i.stack.imgur.com/mxCBj.png) Weights = [1 0 10 0 2]
null
CC BY-SA 4.0
null
2022-12-30T23:27:34.463
2022-12-30T23:38:15.217
2022-12-30T23:38:15.217
3,080,723
3,080,723
null
74,966,678
2
null
74,924,558
0
null
If anybody is interested, I have created a custom bottom sheet with simple controls and snap functionality. The bottom sheet has a `zIndex` of `1` so you can easily place views above it with a greater `zIndex`. You can find it here: [AlternativeSheet](https://github.com/JonasHiltl/AlternativeSheet). ![](https://i.stack.imgur.com/vjZ5z.png) Here is the code to achieve the view of the image above. ``` import AlternativeSheet ... ZStack { VStack { Button("Toggle sheet") { isPresentingSheet.toggle() } } .alternativeSheet(isPresented: $isPresentingSheet, snaps: [0.95]) { Text("Im above everything else") } .isDraggable() .dampenDrag() VStack { HStack { Image(systemName: "xclose") Text("I want to be even above the sheet") } .foregroundColor(Color.red) .frame(minWidth: 0, maxWidth: .infinity) .padding(Padding.l) .background(Color.red.opacity(0.3)) .overlay( Rectangle() .frame(height: 1) .foregroundColor(Color.red), alignment: .bottom ) Spacer() } } ```
null
CC BY-SA 4.0
null
2022-12-30T23:54:01.637
2022-12-31T12:44:49.147
2022-12-31T12:44:49.147
14,210,364
14,210,364
null
74,966,863
2
null
74,959,445
0
null
Just in case if anybody needs help for such requirement, there are two options: - Give the app registration "Company Admin (Global Admin as of today)" as described here : [https://konstantinvlasenko.wordpress.com/2016/12/22/microsoft-graph-api-insufficient-privileges-to-delete-a-group/](https://konstantinvlasenko.wordpress.com/2016/12/22/microsoft-graph-api-insufficient-privileges-to-delete-a-group/) But this option will not work later than July 2023 because Microsoft is deprecating MSOL.- App Registration usage is not possible for permanently deleting directory objects : [https://learn.microsoft.com/en-us/graph/api/directory-deleteditems-delete?view=graph-rest-1.0&tabs=http](https://learn.microsoft.com/en-us/graph/api/directory-deleteditems-delete?view=graph-rest-1.0&tabs=http) So you will need to use MSGraph with user authentication. Just fyi, when you try to permanently delete O365 group from Graph Explorer, you will need to consent to Directory.AccessAsUser.All Regards,
null
CC BY-SA 4.0
null
2022-12-31T00:46:02.357
2022-12-31T00:46:02.357
null
null
14,448,408
null
74,966,970
2
null
74,964,539
0
null
You have to link a cell to each optionbutton, open the properties for the button , find the LinkedCell property and input the cell below the optionButton (it can be any other but for simplicity let's use the one located below the option button). Then you use your code with modifications to test the linked cell value ``` Sub ServingSize() Dim rng As Range, cell As Range Set rng = Range("H14:J16") Dim rng1 As Range, cell1 As Range Set rng1 = Range("H14:H16") Dim rng2 As Range, cell2 As Range Set rng2 = Range("I14:I16") Dim rng3 As Range, cell3 As Range Set rng3 = Range("J14:J16") For Each cell In rng If cell = True Then cell.Offset(0, 4).Value = cell.Offset(0, 3).Value * 0.5 end if Next cell 'repeat the loop for each range of linked cells with the particular formula for End Sub ```
null
CC BY-SA 4.0
null
2022-12-31T01:08:50.727
2022-12-31T01:08:50.727
null
null
16,662,333
null
74,966,987
2
null
10,773,979
0
null
My problem was with my VPN. I have to turn off my VPN whenever I use Debug. But apparently, it also needs to be turned off when running JUnit tests, whether in 'Run' or 'Debug' mode.
null
CC BY-SA 4.0
null
2022-12-31T01:15:46.973
2022-12-31T01:15:46.973
null
null
20,897,538
null
74,967,040
2
null
60,186,747
0
null
I found that the easiest way is to set the feature names on the model directly. Obviously, the order needs to be correct. ``` model = XGBClassifier() model.get_booster().feature_names = feature_names # As a list or tuple! ``` Afterwards, the feature names will appear with the plot_tree function.
null
CC BY-SA 4.0
null
2022-12-31T01:34:42.347
2022-12-31T01:34:42.347
null
null
4,162,265
null
74,967,091
2
null
74,967,060
0
null
My first instinct is to make line 1 read `<!DOCTYPE HTML>` to see if that would make your webbrowser read the code as HTML instead of a plain text. Not sure if that would work, but I would try it.
null
CC BY-SA 4.0
null
2022-12-31T01:50:50.393
2022-12-31T01:50:50.393
null
null
15,448,188
null
74,967,093
2
null
74,967,060
-2
null
Are you using any sort of IDE like VS Code, for instance, to write this html? I ask because there are other html elements you are missing which the browser - no matter what browser it is - requires in order to fully render a page. Those details are automatically populated to the minimum extent required to render an html webpage in a browser when you use an [html boilerplate](https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML). That link will give you more info on WHY you need all the stuff in a boilerplate, but basically it's like a pre-fab template for your html page that already comes with all the basics you need there... just start adding content and you're off to the races. On VS Code, you can add boilerplate by typing the ! (exclamation mark) and then enter; VS Code will open a dropdown to autocomplete this line to be boilerplate for html5 and when you hit enter, populate the page with that boilerplate. Then you can simply copy in the content you wrote yourself, remove what is duplicate, and you should be good to go.
null
CC BY-SA 4.0
null
2022-12-31T01:50:56.280
2022-12-31T01:50:56.280
null
null
15,333,095
null
74,967,153
2
null
74,967,060
0
null
The problem must have been with TextEdit, since it worked immediately as expected after I copied the same text to Brackets.
null
CC BY-SA 4.0
null
2022-12-31T02:15:29.690
2022-12-31T02:15:29.690
null
null
20,897,424
null
74,967,133
2
null
74,967,060
0
null
There are a few properties you are missing, which should be included to enable browsers to parse the file correctly. The following is a minimal snippet, passing [https://validator.w3.org/](https://validator.w3.org/) ``` <!doctype html> <html lang=en> <head> <meta charset=utf-8> <title>Your Title</title> </head> <body> <p>Your Content</p> </body> </html> ``` the `doctype` is a declaration informing the browser in which version of html the document is written in, by default html5 head is a container for metadata meta charset=utf-8 specifies the character encoding the rest are html tags you are probably familar with
null
CC BY-SA 4.0
null
2022-12-31T02:06:16.900
2023-01-02T15:14:19.147
2023-01-02T15:14:19.147
8,466,617
7,399,746
null
74,967,279
2
null
74,925,608
0
null
thanks you @Suhaib Illyas, i fixed it, just need to add `Cart = Cart(request)` and context `{'cart': cart}` to another funtion in store.
null
CC BY-SA 4.0
null
2022-12-31T03:03:24.310
2022-12-31T10:15:03.223
2022-12-31T10:15:03.223
2,347,649
20,868,714
null
74,967,281
2
null
27,407,052
0
null
I had the same problem I resolved by doing the following : 1. Set the field on the migration and the database as dateTime. 2. When inputing the date on the database input with the format including hours and/or minutes (ex.: YYYY-MM-DD hh:mm). 3. On the Calendar set allDay as false.
null
CC BY-SA 4.0
null
2022-12-31T03:03:50.617
2022-12-31T03:03:50.617
null
null
10,763,249
null
74,967,447
2
null
74,967,363
2
null
``` let text = "1.1.1.1"; let address = text.replace(/\./g,"[.]"); document.getElementById("test").innerHTML = address; ``` ``` <p id="test"></p> ```
null
CC BY-SA 4.0
null
2022-12-31T04:06:04.447
2022-12-31T04:23:31.973
2022-12-31T04:23:31.973
19,323,657
19,323,657
null
74,967,528
2
null
71,230,712
0
null
This code demonstrates how to overlay `winA` with `winB`. Replace `canvas.create_text(250,300,text="10kV/35kV")` with this snippet. ``` message = tk.Label(canvas, text = "10kV/35kV", bg = 'blue', fg = 'white') winB = canvas.create_window(80, 21, window = message, anchor = tk.NW) ```
null
CC BY-SA 4.0
null
2022-12-31T04:32:14.417
2022-12-31T04:32:14.417
null
null
15,518,276
null
74,967,972
2
null
74,963,354
2
null
You should rebase your branch on top of `origin/main` ``` git rebase --onto origin/main fistSHA1~ yourBranch git push -f ``` That would be enough to restore your history on top of the remote history.
null
CC BY-SA 4.0
null
2022-12-31T06:47:44.327
2022-12-31T06:47:44.327
null
null
6,309
null
74,968,047
2
null
50,504,352
-1
null
[enter image description here](https://i.stack.imgur.com/Jxtwc.png) If you are trying to add another cpp file in the exitsting file to use the predefined functions from another file then you must use this syntax, in the > #include "filenName.cpp" quotes with respective spaces. that's all.
null
CC BY-SA 4.0
null
2022-12-31T07:05:21.040
2022-12-31T07:05:46.420
2022-12-31T07:05:46.420
19,146,641
19,146,641
null
74,968,146
2
null
74,968,125
-1
null
It's because you used `.=` instead of just `=`. That means the RHS gets appended to the LHS, which means it's expected to have been set before. If you didn't expect `$b` to exist before, then you should have just used `=`.
null
CC BY-SA 4.0
null
2022-12-31T07:29:16.853
2022-12-31T07:29:16.853
null
null
7,509,065
null
74,968,159
2
null
74,963,751
0
null
If I understand you correctly, the code below is to answer your title question. The code ignore all the information in the "body" of the question. Preparation: All cells in the active sheet must be formatted as unlocked. Each checkbox must have a name like this : "cbR02", "cbR03", "cbR04", and so on, where the last two digits of the name is the row where the checkbox reside. So in the example above, cbR02 located at row 2, cbR03 located at row 3 and cbR04 located at row 4. ``` Dim rg As Range: Dim nm As String Private Sub Worksheet_Change(ByVal Target As Range) Set rg = Range("A2:D4") If Not Intersect(Target, rg) Is Nothing Then With ActiveSheet If Target.Value <> "" And IsNumeric(Target.Value) Then .Unprotect Rows(Target.Row).Locked = True .OLEObjects("cbR" & Format(Target.Row, "00")).Enabled = False Target.Locked = False .Protect ElseIf Target.Value = "" Then .Unprotect Rows(Target.Row).Locked = False .OLEObjects("cbR" & Format(Target.Row, "00")).Enabled = True .Protect End If End With End If End Sub Private Sub cbR02_Click() ProtectRow "cbR02" End Sub Private Sub cbR03_Click() ProtectRow "cbR03" End Sub Private Sub cbR04_Click() ProtectRow "cbR04" End Sub Sub ProtectRow(nm As String) r = CInt(Right(nm, 2)) With ActiveSheet If .OLEObjects(nm).Object.Value = True Then .Unprotect .Rows(r).Locked = True .Protect Else .Unprotect .Rows(r).Locked = False .Protect End If End With End Sub Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Count > 1 Then MsgBox "Select one cell only" End Sub ``` In the first sub, it create a range variable (rg) A2:D4, to detect if the value within is changed. If the value within rg is changed : it check if the target cell is not empty and the value is numeric: If yes then it unprotect the sheet, locked the rows of the target's row, disable the checkbox which reside in the target's row, unlock the target cell, protect the sheet. else it check if the target cell is empty - it unprotect the sheet, unlocked the target cell and enable the checkbox reside in the target's row, protect the sheet. The second to the fourth sub is to detect if the checkbox is changed, then it make a string with the name of the checkbox, then call the `ProtectRow()` sub. In the `ProtectRow()` sub, it get's the row number where the changed checkbox reside as r variable. If the checkbox value = true, then it lock the whole r row, else it unlock the whole r row. The last sub is to avoid a user select more than one cell. Example: A user tick the checkbox which located in row 2. The whole row 2 then is locked. User won't be able to type to any column of row 2. If the user want to type to a cell in row 2, he must untick first the checkbox. Then the entire row 2 is unlocked, enabling user to type at row 2. A user type a number in cell D3. Then the entire row 3 but cell D3 is locked, and also the checkbox which is located in row 3 is disabled. User won't be able to type in any column row 3 and he also won't be able to tick the checkbox located in row 3. He must clear what he type before in cell D3 in order he can type to another column row 3 or tick the checkbox located in row 3. Please note, the rg variable must have a total rows the same as many as the checkbox on the sheet and the row number must the same with the name of the checkbox suffix. Example it will throw error if the condition below meet : rg = A2:D7 ---> total rows = 6 but the total of the checkboxes are not 6. rg = A2:D7 ---> total rows = 6 the total of the checkboxes are also 6. but the name of the checkbox is not cbR02 to cbR07 but something else.
null
CC BY-SA 4.0
null
2022-12-31T07:32:45.307
2022-12-31T07:44:21.367
2022-12-31T07:44:21.367
7,756,251
7,756,251
null
74,968,330
2
null
74,967,060
0
null
A ascii-encoded text file is not the same as a TextEdit file. TextEdit will be using by default which is more similar to a Word document type format than raw text. When you save the file, TextEdit is actually saving it to a RTF file containing your HTML text. TextEdit [can edit HTML](https://support.apple.com/en-gb/guide/textedit/txted0b6cd61/mac) but, in default mode, it writes the HTML for you from how you format the text in the editor (You might hear this called ) You can change the TextEdit settings to edit the HTML file as text in but I feel you would be far better to find a more appropriate editor to edit text. On macOS, you have the command line programs installed by default: and or you can install a GUI based editor such as [Sublime Text](https://www.sublimetext.com/)
null
CC BY-SA 4.0
null
2022-12-31T08:10:21.797
2022-12-31T08:10:21.797
null
null
6,151,549
null
74,968,436
2
null
74,968,055
1
null
If it's invalid you cannot format it as a date imho. You can treat it as a string though and knowing that it's `yyyymmdd` format you can just format a string in a custom function and apply it to your column. ``` def format_invalid_date(d: int)->str: d=str(d) return f"{d[:4]}/{d[4:6]}/{d[6:]}" df['charge_off_date']=df['charge_off_date'].apply(format_invalid_date) ``` That should convert `19000100` to `1900/01/00`, which is still invalid as a date, but looks like a date format.
null
CC BY-SA 4.0
null
2022-12-31T08:37:29.410
2022-12-31T09:27:26.263
2022-12-31T09:27:26.263
15,923,186
15,923,186
null
74,968,525
2
null
56,326,005
1
null
I ran into the problem that a widget within the sub tree of the `SliverFillRemaining` / `IntrinsicHeight` was using a `LayoutBuilder`. And `LayoutBuilder` cannot be used in any widget tree that calculates its intrinsic dimensions (You will get an error saying that `LayoutBuilder does not support returning intrinsic dimensions`). Since `SliverFillRemaining` with `hasScrollBody: false` also calculates the intrinsic dimensions of its child, it cannot be combined with any descendant widget that uses `LayoutBuilder`. It is therefore not possible to combine both options in the same widget sub tree. If your layout, however, does not use `LayoutBuilder` as a descendant of the `SliverFillRemaining` / `IntrinsicHeight` widget, but somewhere else in the scroll view, you can simply put it in a different sliver. Example reusing tanghao's code could look like this: ``` CustomScrollView( slivers: [ // Use SliverList or any different sliver to display the children that use LayoutBuilder SliverList( delegate: SliverChildListDelegate(childrenContainingLayoutBuilder), ), // Use the SliverFillRemaining for the sub tree that uses Expanded / Flexible / Spacer etc. SliverFillRemaining( hasScrollBody: false, child: Column( children: <Widget>[ const Text('Header'), Expanded(child: Container(color: Colors.red)), const Text('Footer'), ], ), ), ], ) ```
null
CC BY-SA 4.0
null
2022-12-31T08:57:55.500
2022-12-31T08:57:55.500
null
null
12,393,365
null
74,968,738
2
null
74,960,029
0
null
You create geometry for the circumference and render it ... so shorten the rectangle lines by radius from all sides and add circular arc using circle parametric equation ... (~36 lines per whole circle is usually enough), another option is use shaders and compute the distance to rounded rectangle in fragment shader and simply `discard;` pixels outside... I do not code in JAVA but C++ is close enough so here C++/old api GL example: ``` void drawRectWithRoundedCorners(float cx,float cy, float dx, float dy, float r,unsigned __int32 rgba) { int i; float x0,y0,x,y,a=0.0; const int n=9; const float da=1.5707963267948966192313216916398/float(n); dx-=r+r; dy-=r+r; glColor4ubv((unsigned __int8*)(&rgba)); glBegin(GL_TRIANGLE_FAN); glVertex2f(cx,cy); x0=cx+(0.5*dx); y0=cy+(0.5*dy); for (i=0;i<n;i++,a+=da) { x=x0+(r*cos(a)); y=y0+(r*sin(a)); glVertex2f(x,y); } x0-=dx; for (i=0;i<n;i++,a+=da) { x=x0+(r*cos(a)); y=y0+(r*sin(a)); glVertex2f(x,y); } y0-=dy; for (i=0;i<n;i++,a+=da) { x=x0+(r*cos(a)); y=y0+(r*sin(a)); glVertex2f(x,y); } x0+=dx; for (i=0;i<n;i++,a+=da) { x=x0+(r*cos(a)); y=y0+(r*sin(a)); glVertex2f(x,y); } glVertex2f(x,cy+(0.5*dy)); glEnd(); } ``` to improve speed you could have the 36 `cos` and `sin` values hardcoded in a table and as `cos` is just shifted `sin` you can do this: ``` void drawRectWithRoundedCorners(float cx,float cy, float dx, float dy, float r,unsigned __int32 rgba) { int i; float x0,y0,x,y; static const float sina[45]={0,0.1736482,0.3420201,0.5,0.6427876,0.7660444,0.8660254,0.9396926,0.9848077,1,0.9848078,0.9396927,0.8660255,0.7660446,0.6427878,0.5000002,0.3420205,0.1736485,3.894144E-07,-0.1736478,-0.3420197,-0.4999996,-0.6427872,-0.7660443,-0.8660252,-0.9396925,-0.9848077,-1,-0.9848078,-0.9396928,-0.8660257,-0.7660449,-0.6427881,-0.5000006,-0.3420208,-0.1736489,0,0.1736482,0.3420201,0.5,0.6427876,0.7660444,0.8660254,0.9396926,0.9848077}; static const float *cosa=sina+9; dx-=r+r; dy-=r+r; glColor4ubv((unsigned __int8*)(&rgba)); glBegin(GL_TRIANGLE_FAN); glVertex2f(cx,cy); x0=cx+(0.5*dx); y0=cy+(0.5*dy); for (i=0;i<9;i++) { x=x0+(r*cosa[i]); y=y0+(r*sina[i]); glVertex2f(x,y); } x0-=dx; for (;i<18;i++) { x=x0+(r*cosa[i]); y=y0+(r*sina[i]); glVertex2f(x,y); } y0-=dy; for (;i<27;i++) { x=x0+(r*cosa[i]); y=y0+(r*sina[i]); glVertex2f(x,y); } x0+=dx; for (;i<36;i++) { x=x0+(r*cosa[i]); y=y0+(r*sina[i]); glVertex2f(x,y); } glVertex2f(x,cy+(0.5*dy)); glEnd(); } ``` This is preview of `drawRectWithRoundedCorners(200,200,100,50,10,0x00204080);`: [](https://i.stack.imgur.com/kwdK7.png)
null
CC BY-SA 4.0
null
2022-12-31T09:46:53.037
2022-12-31T10:08:12.430
2022-12-31T10:08:12.430
2,521,214
2,521,214
null
74,968,901
2
null
74,906,140
0
null
So the issue was that I was using ObjectKey instead of ValueKey. The difference between those two is that ObjectKey checks if the identity (the instance) is the same. ValueKey checks the underlying value with the == operator. My guess here is that by using ObjectKey in my case, flutter is not able to properly replace the old widget with the new one, since the new widget always have a different key. By using ValueKey flutter can distinguish between old and new widgets. Widgets will be in my case replaced after I switch between the lists, because the row widget won't be visible and therefor disposed. Because the widgets were not properly replaced, somehow the old widgets are still being rendered, but all gesture listeners were already disposed. Therefor no interaction was possible anymore. These are just my assumption, let me know if I am completely wrong here.
null
CC BY-SA 4.0
null
2022-12-31T10:21:39.653
2022-12-31T10:37:23.427
2022-12-31T10:37:23.427
5,833,548
5,833,548
null
74,969,258
2
null
74,969,228
1
null
The column `Area square miles` contains strings, so you can't compare them to `500` ``` TypeError: '>' not supported between instances of 'str' and 'int' ``` comes from the tries of ``` "1000" > 500 ``` --- Fix that either - in `cities` use int and float type, not strings- in the df``` df["Area square miles"] = df["Area square miles"].astype(int) ```
null
CC BY-SA 4.0
null
2022-12-31T11:39:09.247
2022-12-31T11:39:09.247
null
null
7,212,686
null
74,969,318
2
null
74,969,245
0
null
I think you are asking why the dash breaks the line. In order to force a non-breaking hyphen, replace the normal "-" with this HTML entity: ``` &#8209; ``` That is also displayed as a hyphen, but it will not cause a line break.
null
CC BY-SA 4.0
null
2022-12-31T11:50:37.210
2022-12-31T11:50:37.210
null
null
20,824,776
null
74,969,527
2
null
74,969,310
2
null
Putting comma-separated values into a SQL column is a misuse of SQL, and that's why you can't find any clean way to do this. If you do things this way, try this. ``` UPDATE user SET access = CASE WHEN access IS NULL OR access = '' THEN $id WHEN FIND_IN_SET($id,access) IS NOT NULL THEN access ELSE CONCAT_WS(',',access,$id) END WHERE whatever; ``` The first WHEN handles the situation where `access` doesn't contain anything. The second handles the case where your `$id` value is already in `access`. And the ELSE appends your `$id` value. But if you can, do this the SQL way instead. Try creating a separate table called `user_access`. Give it a `user` and an `access` column. Then INSERT a row to the table to add an `$id`, and DELETE one to remove. Why? You have a many::one relationship between access $id values and users, and that's done with a table.
null
CC BY-SA 4.0
null
2022-12-31T12:29:02.710
2022-12-31T12:29:02.710
null
null
205,608
null
74,970,149
2
null
74,942,770
0
null
Working with timezones on is documented [here](https://docs.streamlit.io/library/advanced-features/timezone-handling). The code snippet `st.global_settings.timezone = "America/New_York"` is however not valid. You can add timezone information to the start and end date,which you pass to `yf.download()`. To change the timezone to "America/New_York" you could do: ``` from datetime import datetime as dt import pytz import streamlit as st import yfinance as yf tz = pytz.timezone("America/New_York") start = tz.localize(dt(2013,1,1)) end = tz.localize(dt.today()) tickers = "MA,V,AMZN,JPM,BA".split(",") df = yf.download(tickers,start, end, auto_adjust=True)['Close'] st.table(df.head()) ``` with `requirements.txt`: ``` pandas>=1.5.2 yfinance==0.2.3 streamlit==1.16.0 ``` Access [app](https://karelze-streamlit-test-myapp-y5p1kv.streamlit.app/) and [code](https://github.com/KarelZe/streamlit-test). [](https://i.stack.imgur.com/7FjUZ.png)
null
CC BY-SA 4.0
null
2022-12-31T14:26:37.820
2022-12-31T14:26:37.820
null
null
5,755,604
null
74,970,173
2
null
74,969,786
0
null
Hibernate 6 expects implicit SELECT clause in front now, however the old query still compiles, it is recommended now to add SELECT as well. `SELECT e FROM Employee e` EntityManager autowiring error is most likely only because of IntelliJ cannot find the correct configuration for this bean, but should work fine at runtime.
null
CC BY-SA 4.0
null
2022-12-31T14:32:12.523
2022-12-31T14:39:47.007
2022-12-31T14:39:47.007
3,102,098
3,102,098
null
74,970,258
2
null
74,876,421
0
null
If you want to use RDDs and that you don't have millions of distinct products, you can combine a `reduceByKey` to count sales per product per year, and a `groupByKey` to build a list of sales count per year. Then you can just use python code to compute what you want: ``` # this function basically computes the cumulated sum of sales counts # then, we find the number of products needed to achieve more than 65% of the sales def percentageOfProducts(product_sales, sales_per=0.65): number_of_products = len(product_sales) number_of_sales = sum(product_sales) cumulated_sales = accumulate(sorted(product_sales, reverse=True)) index = next(s[0] for s in enumerate(cumulated_sales) if s[1] / number_of_sales >= sales_per) return (index + 1) / number_of_products result = data_rdd\ .map(lambda x: ((x.year, x.asin),1))\ .reduceByKey(lambda a, b : a+b)\ .map(lambda x: (x[0][0], x[1]))\ .groupByKey()\ .mapValues(percentageOfProducts) ```
null
CC BY-SA 4.0
null
2022-12-31T14:45:14.303
2022-12-31T14:45:14.303
null
null
8,893,686
null
74,970,314
2
null
74,969,786
0
null
This error is coming from your IDE, or more precisely from some IDE plugin. I don't know what plugin you're using, but I imagine that the plugin is validating that the query is syntactically correct , and is not accepting one of HQL's extensions to the syntax of JPQL. Your query is perfectly legal , for the record.
null
CC BY-SA 4.0
null
2022-12-31T14:51:49.070
2022-12-31T14:51:49.070
null
null
2,889,760
null
74,970,600
2
null
29,869,508
0
null
Considering the number of views on this topic, I thought it might help others in giving some further examples of which the option you chose depends on the desired contents of the select list. I usually prefer to keep the assignment of select dropdown options in a seperate class which is more manageble when creating longer lists, it's also handy to use the same class of optons for more common applications across the app. C# Class ``` public class CustomFormsSelectDropdownParams { public static IEnumerable<SelectListItem> Example1ItemWidth { get; private set; } public static IEnumerable<SelectListItem> Example2ItemWidth { get; private set; } public static List<SelectListItem> Example3ItemWidth { get; private set; } static CustomFormsSelectDropdownParams() { // --------- // Exmaple 1 // --------- // This is OK if you only have a // relatively small amount of options to write. Example1ItemWidth = new SelectListItem[] { // First item different to the remaining range. new SelectListItem ("100%", "100%"), new SelectListItem ("5em", "5em"), new SelectListItem ("6em", "6em"), new SelectListItem ("7em", "7em"), new SelectListItem ("8em", "8em"), new SelectListItem ("9em", "9em"), new SelectListItem ("10em", "10em") }; // --------- // Exmaple 2 // --------- // This is more practical if you have a large amount of options. // NOTE: using this example doesnt allow us to insert any options // that are different from the rest, so limited use cases may apply. Example2ItemWidth = Enumerable.Range(1, 200).Select(x => new SelectListItem { Value = x.ToString() + "em", Text = x.ToString() + "em", }); // --------- // Exmaple 3 // --------- // This is more practical if you have a large amount of options. // This example also allows us to add an option that is a different // to the remaining options in the loop. // Our first item is bespoke so created seperately. var firstDefaultItem = new SelectListItem("100%", "100%"); // Provides a range between 10 --> 200em var remainingItems = Enumerable.Range(10, 191).Select(x => new SelectListItem { Value = x.ToString() + "em", Text = x.ToString() + "em", }); Example3ItemWidth = new List<SelectListItem>(); // Add out first bespoke item. Example3ItemWidth!.Add(firstDefaultItem); // Add the remaining items in a loop. foreach (var item in remainingItems) { Example3ItemWidth.Add(new SelectListItem(item.Text, item.Value)); } } } ``` Sample HTML Code: ``` <div class="container-fluid"> <div class="row"> <div class="mb-3 col-3" > <label class="form-label">Example 1</label> <select class="form-select" asp-items="Classes.CustomForms.CustomFormsSelectDropdownParams.Example1ItemWidth"></select> </div> </div> <div class="row"> <div class="mb-3 col-3" > <label class="form-label">Example 2</label> <select class="form-select" asp-items="Classes.CustomForms.CustomFormsSelectDropdownParams.Example2ItemWidth"></select> </div> </div> <div class="row"> <div class="mb-3 col-3" > <label class="form-label">Example 3</label> <select class="form-select" asp-items="Classes.CustomForms.CustomFormsSelectDropdownParams.Example3ItemWidth"></select> </div> </div> </div> ``` All three select dropdowns on the page: [](https://i.stack.imgur.com/yljne.png) Example 1: [](https://i.stack.imgur.com/Y4auV.png) Example 2: [](https://i.stack.imgur.com/PVV4q.png) Example 3: [](https://i.stack.imgur.com/caID9.png) Example 3 was the one that had niggled me for a while, I wasnt sure how to create an select options list as well as adding some other bespoke options at the same time. If i need to to add some more additional besoke options then I would simply add them in what ever order I need, either before the loop, after or in between multiple loops.
null
CC BY-SA 4.0
null
2022-12-31T15:49:37.253
2022-12-31T15:49:37.253
null
null
11,039,549
null
74,971,029
2
null
74,970,966
0
null
You might want to take a look at this: ``` function download(filename, text) { var element = document.createElement('a'); element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text)); element.setAttribute('download', filename); element.style.display = 'none'; document.body.appendChild(element); element.click(); document.body.removeChild(element); } // Start file download. document.getElementById("dwn-btn").addEventListener("click", function(){ // Generate download of hello.txt file with some content var text = document.getElementById("text-val").value; var filename = "hello.txt"; download(filename, text); }, false); ``` [https://jsfiddle.net/ourcodeworld/rce6nn3z/2/](https://jsfiddle.net/ourcodeworld/rce6nn3z/2/) Source: [https://ourcodeworld.com/articles/read/189/how-to-create-a-file-and-generate-a-download-with-javascript-in-the-browser-without-a-server](https://ourcodeworld.com/articles/read/189/how-to-create-a-file-and-generate-a-download-with-javascript-in-the-browser-without-a-server)
null
CC BY-SA 4.0
null
2022-12-31T17:09:37.440
2022-12-31T17:09:37.440
null
null
3,035,394
null
74,971,058
2
null
74,970,970
1
null
I think you need this: Basically we bring data in long format and plot with `ggplot2` package: ``` library(scales) library(ggplot2) library(dplyr) library(tidyr) df %>% pivot_longer(-fuel_typ) %>% ggplot(aes(x=fuel_typ, y=value, fill=name)) + geom_col(position = position_dodge())+ scale_fill_manual(values = c("red", "blue")) + scale_y_continuous(labels = label_comma())+ theme_bw() ``` [](https://i.stack.imgur.com/Prqe1.png) data: ``` structure(list(fuel_typ = c("DIESEL", "DIESEL/ELECTRIC", "LPG", "PETROL", "PETROL/ELECTRIC"), no_car_18 = c(47817L, 14L, 904L, 333872L, 3653L), no_car_21 = c(3992L, 199L, 2224L, 215199L, 30550L )), class = "data.frame", row.names = c("1", "2", "3", "4", "5")) ```
null
CC BY-SA 4.0
null
2022-12-31T17:14:08.163
2023-01-03T16:35:05.600
2023-01-03T16:35:05.600
13,321,647
13,321,647
null
74,971,060
2
null
74,970,966
1
null
You can use the `fetch` api to read the file and the callback to parse and process the csv data. The callback here uses much of the original code ``` window.onload=()=>{ const callback=(r)=>{ let rows=r.split('\r\n'); rows.forEach( ( row, index )=>{ if( index > 0 ){ let [ id, title, oms, pla, bij ] =row.split(';'); console.log( id, title, oms, pla, bij ); } }) }; fetch('ventilatie.csv') .then(r=>r.text()) .then(callback) .catch(alert) }; ```
null
CC BY-SA 4.0
null
2022-12-31T17:14:33.223
2022-12-31T17:41:59.170
2022-12-31T17:41:59.170
3,603,681
3,603,681
null
74,971,126
2
null
74,970,966
0
null
Here is my version. You can swap the file input for a fetch ``` // https://stackoverflow.com/a/14991797/295783 const parseCsv = str => { let arr = [], quote = false; for (let row = 0, col = 0, c = 0; c < str.length; c++) { let cc = str[c], nc = str[c + 1]; arr[row] = arr[row] || []; arr[row][col] = arr[row][col] || ''; if (cc == '"' && quote && nc == '"') { arr[row][col] += cc; ++c; continue; } if (cc == '"') { quote = !quote; continue; } if (cc == ';' && !quote) { ++col; continue; } if (cc == '\r' && nc == '\n' && !quote) { ++row; col = 0; ++c; continue; } if (cc == '\n' && !quote) { ++row; col = 0; continue; } if (cc == '\r' && !quote) { ++row; col = 0; continue; } arr[row][col] += cc.trim(); } return arr; }; const format = csv => { // let rows = parseCsv(csv); // remove the comment let rows = parseCsv(testCsv); // delete the line const headerRow = rows.splice(0,1).flat(); const [cell0,cell1,cell2,cell3,cell4] = headerRow; // seems not to be of use document.getElementById("tb").innerHTML = rows.map(row => `<tr> <td> <h2 id="koptekst">${row[1]}</h2> </td> <td><button onclick="history.back()" style="float:right">Terug</button></td> </tr> <tr> <td> <p id="uitleg">${row[2]}</p> </td> <td> <p><img id="plaatje" src="${row[3]}" style="width:180px"></p> <p id="bijschrift">${row[4]}</p> </td></tr>`).join(''); }; window.addEventListener("DOMContentLoaded", () => { // or fetch const fileInput = document.getElementById("picker"); fileInput.addEventListener("change", () => { const [file] = fileInput.files; if (file) { const reader = new FileReader(); reader.addEventListener("load", format) reader.readAsText(file); } }) }) ``` ``` <input type="file" id="picker" /> <table> <thead id="th"></thead> <tbody id="tb"></tbody> </table> <script> // test data const testCsv = `Nr; Titel; Omschrijving; Plaatje; Bijschrift 1.; Ventilatierooster; uitleg 1; plaatje 1;bijschrift 1 2.; Toevoerrooster; uitleg 2; plaatje 2;bijschrift 2 3.; Overstroomvoorziening; uitleg 3; Deurrooster.jpg; Deurrooster 4.; Afvoerrooster; uitleg 4;plaatje 4;bijschrift 4 5.; Ventilatiekanaal; uitleg 5;plaatje 5;bijschrift 5 6.; Toevoerventilator; uitleg 6;plaatje 6;bijschrift 6 7.; Afvoerventilator;uitleg 7;plaatje 7;bijschrift 7 8.; Balansventilatie-unit; uitleg 8;plaatje 8;bijschrift 8` </script> ```
null
CC BY-SA 4.0
null
2022-12-31T17:26:12.710
2022-12-31T20:05:03.097
2022-12-31T20:05:03.097
295,783
295,783
null
74,971,403
2
null
64,112,178
0
null
There are few things you need to ensure are set. The main important one is adding the following env flags before your run your application. In your `.env` add: ``` SILKY_PYTHON_PROFILER=True ``` If you do have `SILKY_INTERCEPT_FUNC` method in your `settings.py` ensure it returns the correct boolean value based on the request e.g. ``` def SILKY_INTERCEPT_FUNC(request): """log only session has recording enabled.""" return 'record_requests' in request.session ``` In addition, ensure you add the silk middleware in the correct order In `settings.py` add the following: ``` MIDDLEWARE = [ ... 'silk.middleware.SilkyMiddleware', ... ] INSTALLED_APPS = ( ... 'silk' ) ``` > Note: The middleware placement is sensitive. If the middleware before silk.middleware.SilkyMiddleware returns from process_request then SilkyMiddleware will never get the chance to execute. Therefore you must ensure that any middleware placed before never returns anything from process_request. See the [django docs](https://docs.djangoproject.com/en/dev/topics/http/middleware/#process-request) for more information on this. Ref: [https://github.com/jazzband/django-silk#installation](https://github.com/jazzband/django-silk#installation)
null
CC BY-SA 4.0
null
2022-12-31T18:23:49.740
2022-12-31T18:31:34.013
2022-12-31T18:31:34.013
3,105,145
3,105,145
null
74,971,502
2
null
74,969,604
0
null
``` @echo off echo. echo 1. Add echo 2. Remove echo. set /p var= Type option number here - if %var%==1 (goto :add) if %var%==2 (goto :remove) if else (goto :EOF) :add reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\ /v RestoreConnection /d 0 echo. echo SUCESSFULLY ADDED! timeout /t 2 /nobreak >nul &exit :remove reg delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\ /v RestoreConnection echo. echo SUCESSFULLY REMOVED! timeout /t 2 /nobreak >nul &exit ``` This .bat script could come handy btw. Atleast it's easier than changing the registry manually. You can add and delete the value any time you want, so its convenient. Save this as a (.bat) file and use it... Thanks @FiddlingAway for giving reference for the script : )
null
CC BY-SA 4.0
null
2022-12-31T18:46:08.437
2022-12-31T18:46:08.437
null
null
19,921,214
null
74,971,788
2
null
74,971,340
1
null
## Single-Column Unique Values ``` Option Explicit Sub RetrieveUniqueValues() Dim wb As Workbook: Set wb = ThisWorkbook ' workbook containing this code Dim dict As Object: Set dict = CreateObject("Scripting.Dictionary") dict.CompareMode = vbTextCompare Dim ws As Worksheet, rg As Range, cell As Range, Data(), rKey Dim r As Long, rCount As Long, rString As String For Each ws In wb.Worksheets ' Reference the last source cell. Set cell = ws.Cells(ws.Rows.Count, "A").End(xlUp) If cell.Row > 1 Then ' Reference the source range. Set rg = ws.Range("A2", cell) rCount = rg.Rows.Count ' Write the values from the source range to an array. If rCount = 1 Then ReDim Data(1 To 1, 1 To 1): Data(1, 1) = rg.Value Else Data = rg.Value End If ' Write the unique values from the array to a dictionary. For r = 1 To rCount rString = CStr(Data(r, 1)) If Len(rString) > 0 Then dict(rString) = Empty End If Next r rCount = dict.Count If rCount > 0 Then ' Write the values from the dictionary to the array. r = 0 ReDim Data(1 To rCount, 1 To 1) For Each rKey In dict.Keys r = r + 1 Data(r, 1) = rKey Next rKey End If End If dict.RemoveAll ' Reference the first destination cell. Set cell = ws.Range("I2") ' Reference the destination range. Set rg = cell.Resize(rCount) ' Write the values from the array to the destination range. rg.Value = Data ' Clear below. rg.Resize(ws.Rows.Count - rg.Row - r + 1).Offset(r).ClearContents Next ws MsgBox "Unique values retrieved.", vbInformation End Sub ``` - `Unique`- ``` Sub RetrieveUniqueValues365() Dim wb As Workbook: Set wb = ThisWorkbook ' workbook containing this code Dim ws As Worksheet, rg As Range, cell As Range, Data(), r As Long For Each ws In wb.Worksheets ' Reference the last source cell. Set cell = ws.Cells(ws.Rows.Count, "A").End(xlUp) If cell.Row > 1 Then ' Reference the source range. Set rg = ws.Range("A2", cell) r = rg.Rows.Count ' Write the unique values from the source range to an array. If r = 1 Then ReDim Data(1 To 1, 1 To 1): Data(1, 1) = rg.Value Else Data = Application.Unique(rg) End If r = UBound(Data, 1) ' Reference the first destination cell. Set cell = ws.Range("I2") ' Reference the destination range. Set rg = cell.Resize(r) ' Write the values from the array to the destination range. rg.Value = Data ' Clear below. rg.Resize(ws.Rows.Count - rg.Row - r + 1).Offset(r).ClearContents End If Next ws MsgBox "Unique values retrieved.", vbInformation End Sub ``` - ``` Sub RetrieveUniqueValuesLoop() Dim wb As Workbook: Set wb = ThisWorkbook ' workbook containing this code Dim ws As Worksheet, rg As Range, sCell As Range, dCell As Range Dim oStr As String, nStr As String For Each ws In wb.Worksheets ' Reference the last source cell. Set sCell = ws.Cells(ws.Rows.Count, "A").End(xlUp) If sCell.Row > 1 Then ' Reference the source range. Set rg = ws.Range("A2", sCell) ' Reference the first destination cell. Set dCell = ws.Range("I2") ' Loop through the source cells. For Each sCell In rg.Cells nStr = CStr(sCell.Value) If Len(nStr) > 0 Then ' is not blank If nStr <> oStr Then ' new group dCell.Value = nStr ' write Set dCell = dCell.Offset(1) ' next destination cell oStr = nStr ' new becomes old End If 'Else ' is blank; do nothing End If Next sCell ' Clear below. dCell.Resize(ws.Rows.Count - dCell.Row + 1).ClearContents oStr = vbNullString ' reset for the next iteration (worksheet) 'Else ' no data; do nothing End If Next ws MsgBox "Unique values retrieved.", vbInformation End Sub ```
null
CC BY-SA 4.0
null
2022-12-31T19:50:43.193
2022-12-31T20:42:01.283
2022-12-31T20:42:01.283
9,814,069
9,814,069
null
74,971,901
2
null
74,971,441
0
null
The procedure you're following is not the actual way to do it. Reasons: 1. AlertDialogue and the other dialogues you show are not a part of your main screen widget. It's a totally different widget. So you can't actually setState() of your widget from here. 2. Now you're trying to set the state of the dialogue widget which is already being removed when you say Navigator.pop();. Which is not possible. Cz that widget doesn't exist anymore. In normal situations that controller would get destroyed too with the alert widget. But it's a good practice to manually destroy it. So, to do it the right way these are the steps you should follow -> 1. First return the controller value to the main widget by passing it to the Navigator.pop(); function. In your case, just pass it for the save button value. Like this: Navigator.pop(context, controller.text); 2. Now await on the showDialogue() method. And receive the value to the main widget. Something like this. String? data = await showDialog( context: context, builder: (context) => AlertDialog()); Now in the main widget check if the dialogue returns a string or not. If it does, then set the state with the data you just received. And if it doesn't. In your case, when the cancel button is clicked. It will return null. Then don't do anything. And finally, if you want to clear the controller for some reason. Then clear it before popping. And if you want to dispose it. Just dispose it inside the `dispose` method of your stateful widget.
null
CC BY-SA 4.0
null
2022-12-31T20:14:50.040
2022-12-31T20:19:53.707
2022-12-31T20:19:53.707
17,198,705
17,198,705
null
74,972,125
2
null
74,971,922
1
null
The issue is in this line `start_pause = 0, end_pause = 72,`. Remove or adapt it: ``` anim <- ggplot(df, aes(Day, Accidents, group= State, color = State)) + geom_line() + transition_reveal(Day) + ease_aes('cubic-in-out') animate(anim, fps = 24, duration = 5, height = 4, width = 7, units = "in", res = 150) ``` [](https://i.stack.imgur.com/1mRxn.gif)
null
CC BY-SA 4.0
null
2022-12-31T21:21:18.300
2022-12-31T21:21:18.300
null
null
13,321,647
null
74,972,132
2
null
74,971,851
2
null
## Copy Unique Values (2 columns) ``` Option Explicit Sub CopyUniqueValues() ' Write the values from the source to an array. Dim sws As Worksheet: Set sws = Workbooks("Bookcopy.xlsm").Worksheets("copy") Dim Data(), srCount As Long, cCount As Long With sws.Range("A1").CurrentRegion srCount = .Rows.Count - 1 If srCount = 0 Then Exit Sub ' no data cCount = .Columns.Count Data = .Resize(srCount).Offset(1).Value End With ' Write the unique values from the array to the 'keys' of a dictionary ' and their rows of the values' first occurrences to the 'items'. Dim dict As Object: Set dict = CreateObject("Scripting.Dictionary") dict.CompareMode = vbTextCompare Dim sr As Long, sString As String For sr = 1 To srCount sString = Data(sr, 4) & "@" & Int(Data(sr, 3)) If Not dict.Exists(sString) Then dict(sString) = sr Next sr ' Using the rows from the 'items' of the dictionary, write the unique rows ' to the top of the array. Dim sKey, tr As Long, c As Long For Each sKey In dict.Keys sr = dict(sKey) tr = tr + 1 For c = 1 To cCount Data(tr, c) = Data(sr, c) Next c Next sKey ' Reference the target range. Dim tws As Worksheet: Set tws = Workbooks("Bookpaste.xlsm").Worksheets("paste") Dim tCell As Range: Set tCell = tws.Cells(tws.Rows.Count, "A").End(xlUp).Offset(1) Dim trg As Range: Set trg = tCell.Resize(tr, cCount) ' Write the top rows from the array to the target range. trg.Value = Data ' Clear below. trg.Resize(tws.Rows.Count - trg.Row - tr + 1).Offset(tr).ClearContents ' Inform. MsgBox "Unique values copied.", vbInformation End Sub ```
null
CC BY-SA 4.0
null
2022-12-31T21:22:25.087
2022-12-31T21:22:25.087
null
null
9,814,069
null
74,972,529
2
null
40,878,670
0
null
Table example, using [Ofer Skulsky](https://stackoverflow.com/users/8118052/ofer-skulsky) answer suggestion: ``` <table style="width: 100%; border: none;" cellspacing="0" cellpadding="0" border="0"> <tr> <td>1</td> <td rowspan="3">2</td> </tr> <tr> <td>3</td> </tr> <tr> <td>4</td> </tr> </table> ``` - Here is what it looks like on a GitHub README.md: [](https://i.stack.imgur.com/uKEDt.png)
null
CC BY-SA 4.0
null
2022-12-31T23:37:00.943
2022-12-31T23:37:00.943
null
null
4,934,640
null
74,972,825
2
null
68,982,423
0
null
I had a same problem and finally found the solution here : [update button not work](https://elementor.com/help/publish-update-button-not-work/)
null
CC BY-SA 4.0
null
2023-01-01T01:58:15.927
2023-01-01T01:58:15.927
null
null
20,853,766
null
74,972,871
2
null
74,972,742
0
null
Try installing from source ``` git clone cd ipykernel pip install -e ".[test]" ```
null
CC BY-SA 4.0
null
2023-01-01T02:24:54.123
2023-01-01T02:31:53.787
2023-01-01T02:31:53.787
12,439,119
7,050,233
null
74,973,044
2
null
74,969,522
0
null
You do not need to use an Area2D to detect collision between two KinematicBodies. Use [get_slide_collision](https://docs.godotengine.org/en/stable/classes/class_kinematicbody2d.html#class-kinematicbody2d-method-get-slide-collision) instead: ``` for i in get_slide_count(): var collision = get_slide_collision(i) print("Collided with: ", collision.collider.name) ```
null
CC BY-SA 4.0
null
2023-01-01T03:58:35.550
2023-01-01T03:58:35.550
null
null
20,829,099
null
74,973,053
2
null
74,972,171
0
null
Not sure if this is what you are after, but look at colorlist example here ([http://www.graphviz.org/docs/attrs/color/](http://www.graphviz.org/docs/attrs/color/)) ``` graph K5 { graph [splines = false, layout=circo]; edge [penwidth=3]; node [shape=circle]; A; B; C; D; E; { edge [color="red"]; A -- B; A -- C; C -- D; B -- D; C -- E; } { edge [color="blue"]; node [comment="Wildcard node added automatic in EG."]; D -- E; A -- E; B -- C; B -- E; A -- D; } { // see color/colorlist http://www.graphviz.org/docs/attrs/color/ edge [color="lightpink:red:orange:orange:red:lightpink" penwidth=1]; node [comment="Wildcard node added automatic in EG."]; E -- D; } } ``` Giving: [](https://i.stack.imgur.com/xUoia.png)
null
CC BY-SA 4.0
null
2023-01-01T04:02:17.083
2023-01-01T04:02:17.083
null
null
12,317,235
null
74,973,071
2
null
38,104,560
1
null
I've managed to register new App in PC under VPN (IP with another country that same with my registered number origin country) with following form details: ``` App title: TestApp1 Short name: testapp1 URL: N/A (Fill nothings here) Platform: Desktop Description: N/A (Fill nothings here) ``` OS: Windows 11 Browser: Microsoft Edge (InPrivate mode without any plugins installed) Hope this helps!
null
CC BY-SA 4.0
null
2023-01-01T04:10:53.193
2023-01-01T04:10:53.193
null
null
5,918,539
null
74,973,074
2
null
74,967,999
2
null
The top bar is called [Command Center](https://code.visualstudio.com/updates/v1_69#_command-center). To hide it: 1. Open VS Code settings with Ctrl+, (or ⌘+, for MacOS) 2. Search for "Window: Command Center" and turn the settings off [](https://i.stack.imgur.com/P9PKD.png)
null
CC BY-SA 4.0
null
2023-01-01T04:12:46.140
2023-01-01T04:12:46.140
null
null
11,067,496
null
74,973,431
2
null
74,973,350
1
null
To learn how to add items to and remove items from an array, see the Firebase documentation on [updating an array](https://firebase.google.com/docs/firestore/manage-data/add-data#update_elements_in_an_array). To learn how to update all documents that match a query, see [How to get the document ref to a where clause firestore?](https://stackoverflow.com/questions/63007692/how-to-get-the-document-ref-to-a-where-clause-firestore/63025542#63025542)
null
CC BY-SA 4.0
null
2023-01-01T06:52:28.530
2023-01-01T06:52:28.530
null
null
209,103
null
74,973,468
2
null
74,973,307
0
null
Your code working good on my end. It would be better if you share line where the error occur
null
CC BY-SA 4.0
null
2023-01-01T07:08:32.267
2023-01-01T07:08:32.267
null
null
16,755,402
null
74,973,527
2
null
74,972,474
1
null
See if this works after logging into SQL Server database: ``` select schema_name(t.schema_id) as schema_name, t.name as table_name, t.create_date, t.modify_date from sys.tables t order by schema_name, table_name; ``` If you can get it working to produce the fields you want, then you just need to write the code to do it in C#.
null
CC BY-SA 4.0
null
2023-01-01T07:32:17.767
2023-01-01T08:41:36.543
2023-01-01T08:41:36.543
13,302
9,427,160
null
74,973,588
2
null
74,973,505
0
null
you can multiply every dimension in your GUI by the ratio between the current resolution and the original resolution, but that would result in very ugly look, instead of manually setting the sizes of each object you should let tkinter size your objects. for grid layout (similar to yours) you have. [Tk Geometry manager](https://tkdocs.com/tutorial/grid.html) ``` widget1.grid(row=0,column=0,rowspan=2,sticky="NWSE") widget2.grid(row=0,column=1,sticky="NWSE") widget3.grid(row=1,column=1,sticky="NWSE") parent_widget.rowconfigure((0,1),weight=1,minsize=200) parent_widget.columnconfigure((0,1),weight=1,minsize=200) ``` to set your widgets to grow to fill all its master space, with a minimum size of 400x400. for widgets that you `pack` you should use ``` widget.pack(expand=True,fill="both") ``` which will also make the child grow to fill its parent space, the size system may look intimidating at first, but once you start using it you can get any shape you want with it that scales the way you want. avoid using `place` as you have to manually manage its size (unless you have an object that must be of fixed size and position like a logo or floating widget), and avoid filling numbers for sizes yourself, things that you can fill yourself are probably padding, buttons size (sometimes), and font size (under different dpi), you should have tkinter manage other dimensions in your GUI otherwise your GUI won't scale well.
null
CC BY-SA 4.0
null
2023-01-01T07:50:55.957
2023-01-01T08:14:16.647
2023-01-01T08:14:16.647
15,649,230
15,649,230
null
74,973,708
2
null
74,973,307
-1
null
image of JS fiddle compiler for your question ![](https://i.stack.imgur.com/Y8spl.png) I tried your js code with your HTML template in JS Fiddle (a javascript, HTML, CSS online compiler). But it is giving the desired output. I have attached a picture of it. Generally, if an element is not found in the document then the querySelector returns null. So, maybe querySelector is not able to find your button element with class. Please try something like : ``` const btn = document.querySelector('input[type=submit]'); ``` or some other way like giving an 'id' attribute to your button and then trying to get the button with an id. Hope this helps!
null
CC BY-SA 4.0
null
2023-01-01T08:29:26.330
2023-01-01T09:14:33.350
2023-01-01T09:14:33.350
295,783
20,164,739
null