Id
int64
1.68k
75.6M
PostTypeId
int64
1
2
AcceptedAnswerId
int64
1.7k
75.6M
ParentId
int64
1.68k
75.6M
Score
int64
-60
3.16k
ViewCount
int64
8
2.68M
Body
stringlengths
1
41.1k
Title
stringlengths
14
150
ContentLicense
stringclasses
3 values
FavoriteCount
int64
0
1
CreationDate
stringlengths
23
23
LastActivityDate
stringlengths
23
23
LastEditDate
stringlengths
23
23
LastEditorUserId
int64
-1
21.3M
OwnerUserId
int64
1
21.3M
Tags
sequence
75,580,509
2
null
75,573,757
1
null
In the information you have given, you have used: 1. the type SETST_TYPE_TABLE for passing data to the parameter table_bin, which is a table of lines of type 70 characters, 2. and you tried to initialize it with the variable pdf_stream_tab which is a table of structured lines of type RSPOLPBI which is a DDIC Structure with 1 component of type 128 bytes. As explained in the documentation below (I just indicate what is relevant to your case), this is not permitted, because the line types of the 2 tables are not convertible (the line types are respectively a field which is character-like and a structure which is not character-like). Instead, as a PDF is made of bytes, not characters, you should always use variables "byte-like". NB: 1. ABAP Documentation - Assignment and Conversion Rules Conversion Rules for Internal Tables "Internal tables can be assigned to each other if their line types are compatible or convertible" Conversion Rules for Structures Conversion between flat structures and single fields "If a structure is purely character-like, ..." "If the structure is not completely character-like, the single field must have the type c and the structure must begin with a character-like fragment ..." "No conversion rule is defined for any other cases, and assignments are not possible." 2. Here are the definitions of the above types SETST_TYPE_TABLE in the type group SETST (transaction code SE11 for instance): Structure RSPOLPBI in SE11
null
CC BY-SA 4.0
null
2023-02-27T12:29:32.130
2023-02-27T12:29:32.130
null
null
9,150,270
null
75,580,736
2
null
75,580,473
0
null
I don't think you can achieve this using [CSV Data Set Config](https://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config), you will have to switch to [__CSVRead() function](https://jmeter.apache.org/usermanual/functions.html#__CSVRead) where you have more control regarding when to proceed to the next line. Amend your body to look like ``` { "Claims" : [ { "Type": "${__CSVRead(test.csv,0)}${__CSVRead(test.csv,next)}" }, { "Type": "${__CSVRead(test.csv,0)}${__CSVRead(test.csv,next)}" } ] } ``` and you should get what you want. More information: [Apache JMeter Functions - An Introduction](https://www.blazemeter.com/blog/jmeter-functions)
null
CC BY-SA 4.0
null
2023-02-27T12:53:14.500
2023-02-27T12:53:14.500
null
null
2,897,748
null
75,581,404
2
null
75,570,638
1
null
The problem is not with Angular, this problem occurred because my webstorm version was old. after upgrading to 2022.3.2 problem solved
null
CC BY-SA 4.0
null
2023-02-27T13:57:31.013
2023-02-27T15:11:05.430
2023-02-27T15:11:05.430
5,892,896
12,892,225
null
75,581,418
2
null
75,581,306
1
null
It looks like `progress.value` is a known, dynamic value, so you can use it to set the width of a rectangle. Update your `drawWithContent` section with something like this: ``` .drawWithContent { val width = size.width val height = size.height drawRect( color = Color(0xFF634EFB).copy(alpha = 0.38F), size = Size(width * progress.value, height) ) drawContent() } ```
null
CC BY-SA 4.0
null
2023-02-27T13:58:46.530
2023-02-27T13:58:46.530
null
null
1,034,951
null
75,581,520
2
null
75,581,306
3
null
You can apply a different [blendMode](https://developer.android.com/reference/android/graphics/BlendMode) in the `drawRoundRect` method: ``` .drawWithContent { val w = size.width val h = size.height drawContent() clipRect(right = w * progress.value) { drawRoundRect( color = Color(0xFF634EFB).apply { this.copy(alpha = 0.38F) }, cornerRadius = CornerRadius(x = 100.dp.toPx(), 100.dp.toPx()), size = Size(width = w, height = h), topLeft = Offset(0f, 0f), blendMode = BlendMode.Plus ) } } ``` [](https://i.stack.imgur.com/0zZlK.png)
null
CC BY-SA 4.0
null
2023-02-27T14:08:35.903
2023-02-27T15:37:15.893
2023-02-27T15:37:15.893
2,016,562
2,016,562
null
75,581,666
2
null
75,581,310
1
null
Please, use the next function: ``` Function isOptBChecked(grp As String) As Boolean Dim ctrl As MSForms.Control For Each ctrl In Me.Controls If TypeName(ctrl) = "OptionButton" Then If ctrl.groupName = grp And ctrl.Value = True Then isOptBChecked = True: Exit For End If End If Next End Function ``` It should be called (from a button, or from an event) in the next way: ``` Const groupName As String = "status" If Not isOptBChecked(groupName) Then MsgBox "There must be one checked Option button in group " & groupName, vbCritical, _ "One checked Option button needed" Else 'do what you need... End If ```
null
CC BY-SA 4.0
null
2023-02-27T14:21:55.903
2023-02-27T14:21:55.903
null
null
2,233,308
null
75,581,792
2
null
75,522,351
0
null
like said the user Alexander Drogin, there's some issues with your code. In a "best practice" way and a logic way; the most important is the logic way. In you case you're trying to do the comparison with a null value inside the Record variable RecL950."No.". You have to filter this variable and do the find function in base to your requirements. Please check this article directly from Microsoft! [https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-findfirst-method](https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-findfirst-method) (I've attached to you the case of the findfirst, please check also the other ones.)
null
CC BY-SA 4.0
null
2023-02-27T14:31:32.557
2023-02-27T14:31:32.557
null
null
18,416,801
null
75,581,802
2
null
75,581,454
0
null
You can add a Display Order field to your Questionnaire class and ``` public class Questionnaire { public int? Questionid { get; set; } public string? Topic { get; set; } public string? Question { get; set; } public int? DisplayOrder { get; set; } } ``` use it to list your questions. So, this can set a new value on input to index element's DisplayOrder field and update your list.
null
CC BY-SA 4.0
null
2023-02-27T14:32:18.653
2023-02-27T15:12:34.830
2023-02-27T15:12:34.830
21,297,840
21,297,840
null
75,581,844
2
null
75,581,672
2
null
Firstly, I would recommend you to split the input string to separate numbers. You can do it by using `System.Linq`: ``` int[] splitNums = inputString.Split(' ').Select(int.Parse).ToArray(); ``` After that you will be able to check if `splitNums` contains your `counter` value and handle the needed scenario: ``` if (splitNums.Contains(counter)) { // delete your file } ``` Here is the simple example: [https://dotnetfiddle.net/2G9QAo](https://dotnetfiddle.net/2G9QAo)
null
CC BY-SA 4.0
null
2023-02-27T14:37:43.130
2023-02-27T15:19:45.453
2023-02-27T15:19:45.453
21,278,191
21,278,191
null
75,581,914
2
null
75,577,950
0
null
Graphviz does support user-defined node coordinates, but only with the (`neato -n`) layout engine. ``` graph O { // produce this graph with: // neato -n -Tpng mygraph.gv >mygraph.png // or // neato -n2 -Tpng mygraph.gv >mygraph.png // // remember, sizes are in inches, pos is in points (1/72 inch) // // see also: // http://www.graphviz.org/faq/#FaqDotWithNodeCoords // http://www.graphviz.org/faq/#FaqDottyWithCoords big [ shape=square width=3. height=3. fixedsize=true pos="216,216" label=""] small_a [ shape=square width=.3 height=.3 fixedsize=true pos="144,108" style=filled fillcolor=white label=""] small_b [ shape=square width=.3 height=.3 fixedsize=true pos="244,324" style=filled fillcolor=white label=""] } ``` Gives: [](https://i.stack.imgur.com/h6ZFH.png)
null
CC BY-SA 4.0
null
2023-02-27T14:43:04.577
2023-02-27T14:43:04.577
null
null
12,317,235
null
75,582,071
2
null
75,581,672
0
null
The problem is this line: ``` if (keyin.Contains(counter.ToString())) ``` The `keyin` a simple string variable with the value of `1 20`. It's not an array or a set of numbers: it's . We also see that `counter` is an incrementing integer, but is converted a string for each comparison. This means we're doing simple string `.Contains()` checks, with no regard for any numeric meaning of the original inputs. Therefore the `1 20` string value does indeed contain a `0` string. It's right there as the last character. It also contains a `1` (first character), a `2` (3rd character), and a `20` (last two). To fix this, you probably want to do more work on the `keyin` variable so you a have a set of integers, and then change the comparison to check the set. There are many ways to do this, including one other answer, but you're probably best served in this case to make your own attempt first. --- Finally, the initial `if(cfm)` check is missing the curly braces, which might be why you felt the need for an ugly `goto` line. Add in the correct bracing and the second conditional `if(cfm)` check can probably be removed.
null
CC BY-SA 4.0
null
2023-02-27T14:59:55.727
2023-03-01T22:50:23.367
2023-03-01T22:50:23.367
3,043
3,043
null
75,582,100
2
null
75,580,386
0
null
The problem is here: ``` value.data()!["followedSites"] ``` As the error message says, the `value.data()!` here is an `Object` and you can call `["followedSites"]` on an object. You know that `value.data()!` is a `Map`, so you should tell the compiler that with: ``` var values = value.data()! as Map; var followedSitesList = values["followedSites"] ``` Also see: - [The operator '[]' isn't defined for the class 'Object'. Dart](https://stackoverflow.com/questions/60245865/the-operator-isnt-defined-for-the-class-object-dart)- [Dart: The operator '[]' isn't defined for the type 'Object? Function()'. Try defining the operator '[]'](https://stackoverflow.com/questions/72157400/dart-the-operator-isnt-defined-for-the-type-object-function-try-def)- [FLUTTER The operator '[]' isn't defined for the type 'Object'](https://stackoverflow.com/questions/72547592/flutter-the-operator-isnt-defined-for-the-type-object)
null
CC BY-SA 4.0
null
2023-02-27T15:02:22.900
2023-02-27T15:02:22.900
null
null
209,103
null
75,582,177
2
null
75,581,292
1
null
Why are you creating a database per table? Your syntax for `IF NOT EXISTS` is incorrect: ``` CREATE DATABASE UserCredentialsADVHproject IF NOT EXISTS UserCredentialsADVHproject; ``` should be: ``` CREATE DATABASE IF NOT EXISTS UserCredentialsADVHproject; ``` There's no `LEN()` function and you should get a 1406 error if the data you are inserting is too long: ``` CREATE TABLE Credentials( Username varchar(16) NOT NULL UNIQUE PRIMARY KEY CHECK (LEN(Username)<=16), Password varchar(16) NOT NULL CHECK (LEN(Password)<=16)); ``` should be: ``` CREATE TABLE Credentials( Username varchar(16) NOT NULL PRIMARY KEY, Password varchar(16) NOT NULL ); ``` The use of `IN()` to check specific values in your `VARCHAR` is causing an error due to the quoting `“”`: ``` Position varchar(8) NOT NULL CHECK(Type IN(“Seated”, ”Standing”, “Lying”, “Kneeling”)), ``` should be: ``` Position varchar(8) NOT NULL CHECK(Position IN('Seated', 'Standing', 'Lying', 'Kneeling')), ``` or maybe switch to an ENUM which will provide the constraint on values and use less space: ``` Position ENUM('Seated', 'Standing', 'Lying', 'Kneeling') NOT NULL, ```
null
CC BY-SA 4.0
null
2023-02-27T15:08:31.713
2023-02-27T15:08:31.713
null
null
1,191,247
null
75,582,409
2
null
75,546,590
0
null
just for the record, I used the following to fix the Issue. ``` iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1380 ``` I found it on [https://libreswan.org/wiki/FAQ#My_ssh_sessions_hang_or_connectivity_is_very_slow](https://libreswan.org/wiki/FAQ#My_ssh_sessions_hang_or_connectivity_is_very_slow) it fixed the problem....
null
CC BY-SA 4.0
null
2023-02-27T15:28:18.450
2023-03-03T14:52:37.913
2023-03-03T14:52:37.913
14,015,737
2,566,942
null
75,583,063
2
null
75,582,414
3
null
It is never a good idea to hard-code sizes in JavaFX (or, indeed, in any responsive UI toolkit). Let the layout panes size the components accordingly, and use the API for the layout panes to control how that is done, if needed. In your case you make the minimum width of the `ListView` 926 pixels: ``` <ListView id="theList" fx:id="theList" minHeight="100.0" minWidth="926.0" prefHeight="893.0" prefWidth="926.0"> ``` but you create a `Scene` which is only 640 pixels wide: ``` scene = new Scene(new FXMLLoader(App.class.getResource("primary.fxml")).load(), 640, 480); ``` The `ListView` is therefore wider than the scene, so not all of it can be displayed. Since you tell the `VBox` containing the `ListView` to center its content: ``` <VBox id="primary" alignment="TOP_CENTER" ...> ``` the text in the cells in the list view, which is left-aligned by default in those cells, is off-screen to the left. If you expand the window (stretching the scene) you will actually see it is working just fine: [](https://i.stack.imgur.com/1PFkW.png) As mentioned: it is never a good idea to hard-code sizes. Just remove all those hard-coded sizes from the FXML: ``` <?xml version="1.0" encoding="UTF-8"?> <?import javafx.geometry.Insets?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ListView?> <?import javafx.scene.layout.VBox?> <VBox id="primary" alignment="TOP_CENTER" spacing="20.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jamesd.examples.list.PrimaryController"> <children> <Label text="Primary View" /> <ListView id="theList" fx:id="theList"> <VBox.margin> <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" /> </VBox.margin> <padding> <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" /> </padding> </ListView> </children> <padding> <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" /> </padding> </VBox> ```
null
CC BY-SA 4.0
null
2023-02-27T16:26:58.153
2023-02-27T16:26:58.153
null
null
2,189,127
null
75,583,275
2
null
75,572,477
0
null
Let me put that unlucky formatted output into a [hex dump](https://en.wikipedia.org/wiki/Hex_dump) that is uninterpreted by HTML (not losing multiple spaces) and cut aligned to 16 bytes; I've inserted slashes to mark where line parts begin and end: > ``` position 0x0 (256 bytes follow): 33 37 30/31 38/30/34 39 30 31 30 37 30 31 32 35 [3701804901070125] 36 31 36/e3 82 b7 e3 83 a3 e3 83 ab e3 83 80 e3 [616.............] prod_nm = 26 chars in 78 bytes 83 b3 e3 80 80 e3 82 b9 e3 83 86 e3 82 ad e3 83 [................] 97 e3 83 a9 e3 82 b9 e3 82 af e3 83 ab e3 83 9e [................] e5 b0 82 e7 94 a8 e3 80 80 e3 82 b8 e3 83 a3 e3 [................] 82 b9 e3 83 9f e3 83 b3 e3 83 9e e3 83 aa e3 82 [................] a2/ef bd bc ef bd ac ef be 99 ef be 80 ef be 9e [................] prod_kn = 20 chars ef be 9d 20 ef bd bd ef be 83 ef bd b7 ef be 8c [... ............] ef be 9f ef be 97 ef bd bd ef bd b8 ef be 99 ef [................] be 8f 20 ef bd bc ef be 9e/32 31 33 31 39 37/30 [.. ......2131970] 30 38/30/20/20 20 20 20 20 20 20 20 20 20 20 20 [080 ] 20 20 20 20/31 36 30 33 33 30 30 31 33 38|33 37 [ 160330013837] 30/31 38/30/34 39 30 32 37 32 30 31 32 33 35 34 [0180490272012354] 39/e6 a3 ae e6 b0 b8 ef bc a9 ef bc b1 e3 82 b5 [9...............] prod_nm = 24 chars in 71 bytes plus 4 spaces e3 83 9d e3 83 bc e3 83 88 e3 80 80 e3 82 82 e3 [................] 82 82 ef bc 86 e3 82 8a e3 82 93 e3 81 94 e3 80 [................] position 0x100 (256 bytes follow): 80 ef bc 91 ef bc 92 ef bc 95 ef bd 8d ef bd 8c [................] c3 97 ef bc 93 e3 80 80 20 20 20 20/ef be 93 ef [........ ....] prod_kn = 20 chars be 98 ef be 85 ef bd b6 ef be 9e 49 51 ef bd bb [...........IQ...] ef be 8e ef be 9f ef bd b0 ef be 84 20 ef be 93 [............ ...] ef be 93 26 ef be 98 ef be 9d ef bd ba ef be 9e/ [...&............] 31 39 30 31 30 33/30 30 38/30/20/20 20 20 20 20 [1901030080 ] 20 20 20 20 20 20 20 20 20 20 20/31 36 30 33 33 [ 16033] 30 30 31 33 38|33 37 30/ 31 38/30/34 39 38 37 30 [0013837018049870] 37 32 30 34 32 35 35 37/ e5 99 9b e3 82 80 e3 83 [72042557........] prod_nm = 18 chars in 54 bytes plus 16 spaces 96 e3 83 ac e3 82 b9 e3 82 b1 e3 82 a2 e3 80 80 [................] e3 83 9e e3 82 b9 e3 82 ab e3 83 83 e3 83 88 e3 [................] 80 80 ef bc 92 ef bc 95 e7 b2 92 e3 80 80 20 20 [.............. ] 20 20 20 20 20 20 20 20 20 20 20 20 20 20/ef be [ ..] prod_kn = 20 chars 8c ef be 9e ef be 9a ef bd bd ef bd b9 ef bd b1 [................] ef bd b6 ef be 91 20 32 35 54 20 ef be 8f ef bd [...... 25T .....] bd ef bd b6 ef bd af ef be 84 20 20/32 31 32 31 [.......... 2121] position 0x200 (33 bytes follow): 30 37/30 30 38/30/20/20 20 20 20 20 20 20 20 20 [070080 ] 20 20 20 20 20 20 20/31 36 30 33 33 30 30 31 33 [ 160330013] 38 [8] ``` What does it tell us? 1. 128 characters need more than 128 bytes: since all your data lines seem to start with 37018049 and end with 1603300138 we can see that the first line needs 11*16 + 14 = 190 bytes (effectivly 102 characters), the second 2 + 11*16 + 5 = 183 bytes (effectively 104 characters) and the third 11 + 10*16 + 1 = 172 bytes (effectively 110 characters). 2. e3 82 b7 and e3 83 a3 and e3 83 ab is clearly UTF-8, needing 3 bytes for Katakanas (シ, ャ and ル). 3. ef bd bc and ef be 9e is also clearly UTF-8 (シ and ゙), but this times it's the halfwidth characters. And so is ef bc 92 and ef bc 95 (2 and 5). So we have no issue any encoding. 4. Multiple variantes of spaces are used: e3 80 80 (idiographic space, CJK) versus 20 (regular/ASCII space) - that's interesting. 5. The product number needs In the first line 26 chars in 78 bytes - that's 3 bytes per character, just as expected. In the second line 24 chars in 71 bytes (those are 23 characters with 3 bytes and 1 character with 2 bytes) plus a padding of 4 (ASCII) spaces. In the third line 18 chars in 54 bytes (3 bytes per character) plus a padding of 16 spaces. 6. Pattern wise it looks like if there are less than 26 characters used, the rest is stuffed with the double amount of (ASCII) spaces needed: first line needs none second needs actually only 2 spaces (instead of 4) third needs actually only 8 spaces (instead of 16). That's clearly not your fault, but someone else is producing it wrongly. Also take note that idiographic CJK spaces are not the issue, only space 20 is. 7. Your graphic/screenshot is misleading: just because we have non-halfwidth Katakanas/Kanjis doesn't mean each grapheme consists of 2 characters - they are still 1 character each, not meaning/measuring "2" in any unit. That's also why you wrongly attempt to read 52 characters instead of only 26. You could adapt to it: read 26 characters, then count backwards how many spaces (`20`) are at the end, to then expect the same amount of spaces to read on, f.e.: ``` $vandataBuf= fgets($fp); // Converting from Shift-JIS to UTF-8 is not needed, when with the following // functions you could also use "Shift-JIS" as parameter instead of "UTF-8". // However, I'll leave it to your old way: $convertBufstring= mb_convert_encoding( $vandataBuf, "UTF-8", "Shift-JIS" ); // Read 26 characters "product number" $prod_nm = mb_substr( $convertBufstring, $i+ 19, 26, "UTF-8" ); // "森永IQサポート もも&りんご 125ml×3  " // Count spaces from the end $spaces= 0; $position= 26; while( $position> 0 // Never beyond the beginning && mb_substr( $prod_num, $position- 1, 1 )== " " // As long as it is an ASCII space ) { $spaces++; $position--; } // Now increase your offset "i" by the same amount of found spaces, because // the spaces occur always twice as often. $i+= $spaces; // Should be 0 for the first line as per example, 2 for second, 8 for third // Read on... $prod_kn = mb_substr( $convertBufstring, $i+ 45, 20, "UTF-8" ); // "モリナガIQサポート モモ&リンゴ" $jicfs_class_cd= mb_substr( $convertBufstring, $i+ 65, 6, "UTF-8" ); // "190103" $prod_tax = mb_substr( $convertBufstring, $i+ 71, 3, "UTF-8" ); // "008" $regi_duty_kbn = mb_substr( $convertBufstring, $i+ 74, 1, "UTF-8" ); // "0" $auto_order_kbn= mb_substr( $convertBufstring, $i+ 75, 1, "UTF-8" ); // " " $spacex16 = mb_substr( $convertBufstring, $i+ 76, 16, "UTF-8" ); // " " $ending = mb_substr( $convertBufstring, $i+ 92, 10, "UTF-8" ); // "1603300138" // ...effectively always expecting 102 characters, not 128 (26 less). ``` However, untested. But I'm very sure this [kludge](https://en.wiktionary.org/wiki/kludge#Noun) works.
null
CC BY-SA 4.0
null
2023-02-27T16:46:22.717
2023-02-27T16:46:22.717
null
null
4,299,358
null
75,583,699
2
null
75,583,112
0
null
you can use this to organize the articles and paragraphs and this should work for large lists of links ``` import requests from bs4 import BeautifulSoup as soup def get_tag(link,tag="p"): page = requests.get(link) b = soup(page.content,features='html.parser') lst2=[] for data in b.find_all(tag): text=data.get_text().replace("\n","") while " " in text: text=text.replace(" "," ") if text.startswith(" "): text=text[1:len(text)] if text.endswith(" "): text=text[0:len(text)-1] lst2.append(text) return lst2 class article_paragraphs: def __init__(self,link): self.link=link self.paragraphs=self.get_paragraphs_from_link() self.indexed_paragraphs=self.get_paragraphs_from_link() self.current_index=0 def index_paragraphs_by_prefix(self,prefix): para={} for i,p in enumerate(self.paragraphs,start=0): para[f"{prefix}{i}"]=p self.indexed_paragraphs=para def index_paragraphs_by_name(self,*names): para={} for i,p in enumerate(self.paragraphs,start=0): para[str(names[i])]=p self.indexed_paragraphs=para def current_paragraph(self): return self.paragraphs[self.current_index] def next_paragraph(self): self.current_index+=1 if self.current_index>len(self.paragraphs): self.current_index=0 def previous_paragraph(self): self.current_index-=1 if self.current_index<0: self.current_index=len(self.paragraphs) def set_paragraph(self,index): self.current_index=index if index>len(self.paragraphs): index=len(self.paragraphs) if index<0: index=0 def get_paragraphs_from_link(self): return get_tag(self.link) class articles: def __init__(self,links): self.articles=self.get_articles_from_link(links) self.indexed_articles=self.articles self.current_index=0 def index_articles_by_prefix(self,prefix): para={} for i,p in enumerate(self.articles,start=0): para[f"{prefix}{i}"]=p self.indexed_articles=para def index_articles_by_name(self,*names): para={} for i,p in enumerate(self.articles,start=0): para[str(names[i])]=p self.indexed_articles=para def current_article(self): return self.articles[self.current_index] def next_article(self): self.current_index+=1 if self.current_index>len(self.articles): self.current_index=0 def previous_article(self): self.current_index-=1 if self.current_index<0: self.current_index=len(self.articles) def set_article(self,index): self.current_index=index if index>len(self.articles): index=len(self.articles) if index<0: index=0 def get_articles_from_link(self,links): return [article_paragraphs(l) for l in links] ```
null
CC BY-SA 4.0
null
2023-02-27T17:27:45.600
2023-02-27T19:17:23.570
2023-02-27T19:17:23.570
19,286,384
19,286,384
null
75,583,883
2
null
75,583,520
0
null
Try to establish your initial matrix correctly: ``` const initialStageCells = Array.from({ length: STAGE_HEIGHT }, () => Array.from({ length: STAGE_WIDTH }, () => [0, 1])); ``` ## Example ``` const { useEffect, useState } = React; const STAGE_WIDTH = 7, STAGE_HEIGHT = 12; const StageGrid = ({ children }) => ( <div className="StageGrid">{children}</div> ); const Cell = ({ color }) => ( <div className="Cell" style={{ background: color }}></div> ); const TetrisApp = () => { const [stageCells, setStageCells] = useState([]); useEffect(() => { const initialStageCells = Array.from({ length: STAGE_HEIGHT }, () => Array.from({ length: STAGE_WIDTH }, () => [0, 1])); setStageCells(initialStageCells); // After 1 second, set position of first Tetromino setTimeout(() => { setStageCells((currStageCells) => { const copy = currStageCells.map(rows => [ ...rows ]); currStageCells[0][0].color = 'cyan'; currStageCells[1][0].color = 'cyan'; currStageCells[2][0].color = 'cyan'; currStageCells[3][0].color = 'cyan'; return copy; }); }, 1000); // After 2 seconds, move first Tetromino down by 1 setTimeout(() => { setStageCells((currStageCells) => { const copy = currStageCells.map(rows => [ ...rows ]); currStageCells[0][0].color = undefined; currStageCells[1][0].color = 'cyan'; currStageCells[2][0].color = 'cyan'; currStageCells[3][0].color = 'cyan'; currStageCells[4][0].color = 'cyan'; return copy; }); }, 2000); }, []); return ( <StageGrid> {stageCells.map((row, rowIndex) => ( <div key={`row-${rowIndex}`}> {row.map((cell, key) => <Cell key={key} color={cell.color} /> )} </div> ))} </StageGrid> ) }; ReactDOM .createRoot(document.getElementById('root')) .render(<TetrisApp />); ``` ``` *, *::before, *::after { box-sizing: border-box; } html, body, #root { width: 100%; height: 100%; margin: 0; padding: 0; } #root { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #222; } .StageGrid { display: flex; flex-direction: column; background: #000; grid-row-gap: 1px; } .StageGrid div { display: flex; grid-column-gap: 1px; } .Cell { width: 12px; height: 12px; display: inline-flex; } ``` ``` <div id="root"></div> <script src="https://cdnjs.cloudflare.com/ajax/libs/react/18.2.0/umd/react.development.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.2.0/umd/react-dom.development.js"></script> ```
null
CC BY-SA 4.0
null
2023-02-27T17:47:38.993
2023-02-27T17:47:38.993
null
null
1,762,224
null
75,584,015
2
null
71,513,187
0
null
this is not actually a problem by firebase or facebook. if the identifier was just a "-", it means that the facebook account used for registration does not have an email (facebook account created with a phone number).
null
CC BY-SA 4.0
null
2023-02-27T18:03:06.690
2023-02-27T18:03:06.690
null
null
9,545,156
null
75,584,125
2
null
29,130,082
0
null
Remote MySQL connections are disabled for security and server performance reasons. However remote MySQL connections will be enabled if you upgrade your account to our premium hosting service at [https://www.hostinger.com/special/000webhost](https://www.hostinger.com/special/000webhost)
null
CC BY-SA 4.0
null
2023-02-27T18:16:39.237
2023-02-27T18:16:39.237
null
null
5,575,221
null
75,584,406
2
null
75,379,625
0
null
As mentioned in the previous answer `rehype-inline-svg` plugin looks for a path relative to the root of the project. However, for some reason plugin's working directory is `src/pages`. So this should work for your case: ``` ![image-1](../../public/assets/images/image-1.svg) ```
null
CC BY-SA 4.0
null
2023-02-27T18:46:27.953
2023-02-27T18:46:27.953
null
null
5,942,933
null
75,584,667
2
null
75,550,720
0
null
After Some Days Of Trying To Fix It. The Error just Disapperd After I Unstalled json mason plugin for lsp. I don't know why is the plugin do this but if you have the same problem just uninstall the json plugin lsp.
null
CC BY-SA 4.0
null
2023-02-27T19:14:05.027
2023-02-27T19:14:05.027
null
null
21,276,218
null
75,584,665
2
null
75,544,911
0
null
This seems to be a bug in Doxygen 1.9.6. Different HTML tags are generated when `IMAGE_PATH` from topic is used. Below is my *.md file for test case only. You'll find a solution using a table in this markdown code (Credits to Bilal Gultekin: [https://stackoverflow.com/a/45191209/1981088](https://stackoverflow.com/a/45191209/1981088)). ``` This is a regular paragraph. ![test for image 1](images/help-info_helpware_artLogo.png "Tool Tip Title Caption 1") ![test for image 2][2] This is another regular paragraph. ## HTMLHelp ### Information about Microsoft HTMLHelp HTMLHelp, developed by Microsoft, is a help system used to create locally stored technical documentation and help for application software based on Hypertext Markup Language (HTML). The HTMLHelp Workshop is used to compile the content into a compressed help file with the file extension CHM. This is a regular paragraph. | ![HTMLHelp Workshop - steps to set default page][1] | |:--:| | *HTMLHelp Workshop - steps to set default page* | This is another regular paragraph. ``` ### IMAGE_PATH NOT in use However, this has the disadvantage that the image files have to be copied manually into the target folder of the HTML output from Doxygen. This is resulting in (): [](https://i.stack.imgur.com/5lc7R.png) from this generated HTML: ``` <p>This is a regular paragraph.</p> <p><img src="images/help-info_helpware_artLogo.png" alt="test for image 1" title="Tool Tip Title Caption 1" class="inline"/></p> <p><img src="images/help-info_helpware_artLogo.png" alt="test for image 2" title="Tool Tip Title Caption 2" class="inline"/></p> <p>This is another regular paragraph.</p> ``` ### IMAGE_PATH in use [](https://i.stack.imgur.com/Id0M3.png) from this generated HTML: ``` <p>This is a regular paragraph.</p> <div class="image"> <img src="help-info_helpware_artLogo.png" alt=""/> <div class="caption"> Tool Tip Title Caption 1</div></div> <div class="image"> <img src="help-info_helpware_artLogo.png" alt=""/> <div class="caption"> test for image 2</div></div> <p>This is another regular paragraph.</p> ``` You'll need to decide what you want to try for your needs. My images reside in a subfolder `images` of Doxygens's destination folder.
null
CC BY-SA 4.0
null
2023-02-27T19:13:55.007
2023-02-27T19:13:55.007
null
null
1,981,088
null
75,585,752
2
null
75,538,896
0
null
Something like: ``` \documentclass[border=5mm]{standalone} \begin{document} \renewcommand{\arraystretch}{2} \begin{tabular}{l|p{2in}|l|p{1in}|l|p{.5in}|} \cline{2-2}\cline{4-4}\cline{6-6} Name: & & Date: & & Section: & \\ \cline{2-2}\cline{4-4}\cline{6-6} \end{tabular} \end{document} ``` [](https://i.stack.imgur.com/nBpjH.png) Then you can tune the widths in inches (`in`) as you prefer.
null
CC BY-SA 4.0
null
2023-02-27T21:30:03.793
2023-02-27T21:30:03.793
null
null
3,543,233
null
75,585,809
2
null
75,585,353
2
null
The source code for pages can be found at the github, for example the [Login.cshtml](https://github.com/dotnet/aspnetcore/blob/main/src/Identity/UI/src/Areas/Identity/Pages/V5/Account/Login.cshtml) (or the account management in [Account/Manage/Index.cshtml](https://github.com/dotnet/aspnetcore/blob/main/src/Identity/UI/src/Areas/Identity/Pages/V5/Account/Manage/Index.cshtml)). From the code (see the usage of `IdentityDefaultUIAttribute` for example on [LoginModel in Login.cshtml.cs](https://github.com/dotnet/aspnetcore/blob/main/src/Identity/UI/src/Areas/Identity/Pages/V5/Account/Login.cshtml.cs)) and [.csproj file](https://github.com/dotnet/aspnetcore/blob/main/src/Identity/UI/src/Microsoft.AspNetCore.Identity.UI.csproj) (see the `RazorGenerate` tags) it seems that the Razor templates are actually compiled and distributed as part of the assembly (you can view the C# classes with decompiler).
null
CC BY-SA 4.0
null
2023-02-27T21:37:38.287
2023-02-27T21:43:49.000
2023-02-27T21:43:49.000
2,501,279
2,501,279
null
75,585,812
2
null
75,579,225
0
null
This error message... ![Cannot recover from stack overflow](https://i.stack.imgur.com/YRcjQ.png) ...indicates that [ChromeDriverManager](https://stackoverflow.com/a/62742262/7429447) is initiating multiple threads while trying to download the [ChromeDriver](https://stackoverflow.com/a/59927747/7429447) and is reaching the limit of the interpreter stack during that infinite recursive `loop`. --- ## This usecase I don't see any significant error in your code block as I was able to execute similar lines of code on my [windows-10](/questions/tagged/windows-10) box perfecto: - Code block:``` from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.chrome.service import Service as ChromeService from webdriver_manager.chrome import ChromeDriverManager options = Options() options.add_argument("start-maximized") driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()), options=options) driver.get('https://pypi.org/') ``` - Console output:``` ====== WebDriver manager ====== Current google-chrome version is 110.0.5481 Get LATEST chromedriver version for 110.0.5481 google-chrome Trying to download new driver from https://chromedriver.storage.googleapis.com/110.0.5481.77/chromedriver_win32.zip Driver has been saved in cache [C:\Users\debanjan.bhattacharj\.wdm\drivers\chromedriver\win32\110.0.5481.77] ``` --- ## Solution As a preventive measure you can: - [requests](https://stackoverflow.com/a/73199422/7429447)- [WebDriver manager](https://stackoverflow.com/q/63421086/7429447)- [Selenium-Python](https://stackoverflow.com/a/48269228/7429447) --- ## References A few helpful documentations: - [Fatal Python error: Cannot recover from stack overflow](https://github.com/tiangolo/fastapi/issues/4391)- [How do I get the current depth of the Python interpreter stack?](https://stackoverflow.com/q/34115298/7429447)- [Fatal Python error: Cannot recover from stack overflow](https://stackoverflow.com/q/50508591/7429447)
null
CC BY-SA 4.0
null
2023-02-27T21:37:48.250
2023-02-27T21:56:36.780
2023-02-27T21:56:36.780
7,429,447
7,429,447
null
75,585,961
2
null
17,375,893
0
null
You can add a style to the app.xaml Under <Application.Resources> for all of your ribbon items. See the example below. ``` <Application.Resources> <ContextMenu x:Key="HiddenContextMenu" Visibility="Hidden"/> <Style TargetType="Ribbon"> <Setter Property="Ribbon.ContextMenu" Value="{StaticResource HiddenContextMenu}"/> </Style> <Style TargetType="RibbonTab"> <Setter Property="RibbonTab.ContextMenu" Value="{StaticResource HiddenContextMenu}"/> </Style> <Style TargetType="RibbonGroup"> <Setter Property="RibbonGroup.ContextMenu" Value="{StaticResource HiddenContextMenu}"/> </Style> <Style TargetType="RibbonButton"> <Setter Property="RibbonButton.ContextMenu" Value="{StaticResource HiddenContextMenu}"/> </Style> <Style TargetType="RibbonRadioButton"> <Setter Property="RibbonRadioButton.ContextMenu" Value="{StaticResource HiddenContextMenu}"/> </Style> <Style TargetType="RibbonTextBox"> <Setter Property="RibbonTextBox.ContextMenu" Value="{StaticResource HiddenContextMenu}"/> </Style> <Style TargetType="RibbonComboBox"> <Setter Property="RibbonComboBox.ContextMenu" Value="{StaticResource HiddenContextMenu}"/> </Style> </Application.Resources> ```
null
CC BY-SA 4.0
null
2023-02-27T22:01:52.217
2023-02-27T22:07:29.887
2023-02-27T22:07:29.887
1,229,358
1,229,358
null
75,586,039
2
null
75,536,845
0
null
If you want get specific data from a HTMLDocument/XMLDocument you need to manage like that. Code patterns and scripts to get values of textNodes and Document elements you found in the Document and save it on objects you can manipulate after recollect all the information you need. ``` tbody = document.getElementsByClassName("bolt-table bolt-table-show-lines bolt-list body-m relative scroll-hidden")[0]; tbody.childNodes.forEach(e => { if( e.childNodes.length > 1){ console.log(e.childNodes[1].tagName); } }); ``` Something like the code above in which we found a pattern to access the needed data and create a script to get them and output in some way. NOTE: code is just an example to show what kind of thing we can do to get the data, you should to create specific code based on HTMLDocument/XMLDocument structure you have. You might need to use extra APIs or js tools to manipulate the Document elements.
null
CC BY-SA 4.0
null
2023-02-27T22:11:04.337
2023-02-27T22:11:04.337
null
null
5,667,488
null
75,586,347
2
null
75,586,283
-2
null
Try pointing it to a specific directory were to drop the file: `git clone git@github:payfy/admin-tools.git /path/to/directory` If you'd like it to drop at the current directory, a dot (.) will suffice.
null
CC BY-SA 4.0
null
2023-02-27T22:56:42.733
2023-02-27T22:56:42.733
null
null
21,299,193
null
75,586,477
2
null
75,585,594
0
null
Close. Merge "Student Type" into Enrolment, adding the StudentType, Campus, ... into the Enrollment table. Those two tables have the same grain (Semester Code, Student ID), so they should be one table. Enrollment becomes your fact table, and the other tables are dimensions.
null
CC BY-SA 4.0
null
2023-02-27T23:19:28.740
2023-02-28T00:10:36.003
2023-02-28T00:10:36.003
7,297,700
7,297,700
null
75,587,015
2
null
75,586,781
0
null
> What am I doing wrong? Or am I using the wrong approach? How do I create a recipe-Ingredient. Absolutely, you are getting the expected result as you are doing incorrect way. You should move your `ViewBag.listRecipes` and `ViewBag.listIngredients` inside your Create [HttpGet] method if you would like to load your dropdown while the page load. As its inside your [HttpPost] Create method, consequently you are not getting any value into it because it has not called yet. > It shows the dropdown, but there is nothing inside; it's empty, with no data to choose from. I tried using viewBag to pass data from the controller to the view. To populate your dropdown value within create [HttpGet] you have to move your following two dropdown from create [HttpPost] to create [HttpGet]: ``` IEnumerable<SelectListItem> listRecipes = _context.Recipes.Select(u => new SelectListItem { Text = u.Name, Value = u.Id.ToString() }); IEnumerable<SelectListItem> listIngredients =_context.Ingredients.Select(u=> new SelectListItem { Text = u.Name, Value =u.Id.ToString() }); ``` Correct way: ``` [HttpGet] public IActionResult Create() { IEnumerable<SelectListItem> listRecipes = _context.Recipes.Select(u => new SelectListItem { Text = u.Name, Value = u.Id.ToString() }); IEnumerable<SelectListItem> listIngredients =_context.Ingredients.Select(u=> new SelectListItem { Text = u.Name, Value =u.Id.ToString() }); ViewBag.listRecipes = listRecipes; ViewBag.listIngredients =listIngredients; return View(); } ``` You can do as followiwng: Controller: ``` [HttpGet] public IActionResult Create() { List<SelectListItem> ingredientList = new List<SelectListItem>(); ingredientList.Add(new SelectListItem { Text = "Ingredient-A", Value = "Ingredient-A" }); ingredientList.Add(new SelectListItem { Text = "Ingredient-B", Value = "Ingredient-B" }); ingredientList.Add(new SelectListItem { Text = "Ingredient-C", Value = "Ingredient-C" }); ViewBag.listIngredients = ingredientList; return View(); } ``` I am creating a conceeptual list to show you where to define the dropdown list if you want to visualize that when the create page loads. View: ``` @model DotNet6MVCWebApp.Models.Ingredient <form asp-action="Create"> <div> @Html.DropDownList("Id",(IEnumerable<SelectListItem>)ViewBag.listIngredients , "Select Ingredients") @Html.ValidationMessageFor(model => model.Id) </div> <div class="form-group"> <input type="submit" value="Create" class="btn btn-primary" /> </div> </form> ``` Output: [](https://i.stack.imgur.com/B47EN.gif) In addition to above examplee, I would like to inform you that you could implement dropdown by using [Select Tag Helper](https://learn.microsoft.com/en-us/aspnet/core/mvc/views/working-with-forms?view=aspnetcore-7.0#the-select-tag-helper) which is recommended more robust and less problematic [check our official document here for more details.](https://learn.microsoft.com/en-us/aspnet/core/mvc/views/working-with-forms?view=aspnetcore-7.0#the-select-tag-helper)
null
CC BY-SA 4.0
null
2023-02-28T01:07:36.177
2023-02-28T01:59:38.733
2023-02-28T01:59:38.733
9,663,070
9,663,070
null
75,587,058
2
null
75,584,621
0
null
I had a different answer up, until I realised you were doing this inside the "TREATMENT" variable(column). The `PPP*PCP` confused me. You can't cross levels within a variable, you can only cross variables within a formula You can only use your data column headings inside a `glmer()` formula. If you need to only run your model on certain levels you need to remove the ones you don't want from your data first. ``` library(dplyr) MotherPExpNew <- filter(MotherPExp, TREATMENT == "PCP" | TREATMENT == "PPP" | TREATMENT == "CCP" | TREATMENT == "CPP") # only these levels used ``` The vertical line is an `OR` symbol. So this saying, where TREATMENT is equal to this value OR this value etc, put it in the new dataframe. Then your model formula will work with the new dataframe/tibble using only those lines of data i.e. those levels. `fit <-glmer(Proportion_S~TREATMENT + (1|HOUR), control = glmerControl(optimizer="bobyqa"), data = MotherPExpNew, family = poisson)` --- IF, however you need to "program" your formulae with variables/columns, then my old answer will help: For formulas to work in `library(lme4)` using variables (not in your `data =`) you need to use `as.formula()` and `paste()` to turn the formula "text" into something it can read. Inside `paste` anything that is defined outside of your `data=` should be outside of the quotes. Using what you have supplied (though it is hard to test without a proper set of data being supplied), I would attempt something like this: `fit <-glmer(as.formula(paste("Proportion_S~", x1, "*", x2, "+", x3, "+ (1|HOUR)", control=glmer(Controloptimizer="bobyqa"), data = MotherPExp, family = poisson)))` you don't need these in a data frame `data.frame(x1 = c("PCP"), x2 = c("PPP*PCP"), x3 = c("CCP"), x4=("CPP"))` This will suffice: ``` x1 = "PCP" x2 = "PPP*PCP" x3 = "CCP" x4 = "CPP" ```
null
CC BY-SA 4.0
null
2023-02-28T01:17:23.853
2023-02-28T02:31:56.293
2023-02-28T02:31:56.293
14,732,712
14,732,712
null
75,587,226
2
null
75,579,299
0
null
You need to have indexes created on: `receipt_no` It will do single index scan on each table, but the IN has a Merge Join and the INNER JOIN has a Hash Match. Try this ``` SELECT s.receipt_no, s.waiter, s.date, s.total FROM sales AS s LEFT JOIN bill_payments AS b WHERE s.receipt_no IS NULL AND s.date = '"+date+"' ```
null
CC BY-SA 4.0
null
2023-02-28T01:59:23.497
2023-02-28T01:59:23.497
null
null
8,550,543
null
75,587,338
2
null
15,139,527
0
null
If anyone comes across this with a newer version of fullcalendar, you can use the slotWidth setting in v4, and slotMinWidth in v5/6. If you want to override it per-view you can do it in the views property. In the following example all views will share the same slotMinWidth, except for resourceTimelineDay (a standard included view) which has an override. ``` slotMinWidth: 100, views: { resourceTimelineDay: { slowMinWidth: 50 } } ```
null
CC BY-SA 4.0
null
2023-02-28T02:27:20.020
2023-02-28T02:27:20.020
null
null
5,907,930
null
75,587,594
2
null
67,937,942
0
null
Go to `C:\Program Files\Android\Android Studio`, then copy the contents of jbr and paste the contents into the jre folder. It solve both problem - -
null
CC BY-SA 4.0
null
2023-02-28T03:25:00.030
2023-02-28T03:25:00.030
null
null
16,205,603
null
75,587,687
2
null
75,517,530
0
null
I managed to find the answer for this question. I need to give an id to the positions array and use an increment for the id in the `addEmployeePosition()` method. in-memory-data.service.ts ``` positions: [ { id: 1, position: 'Manager'}, { id: 2, position: 'Developer'}, { id: 3, position: 'Consultant'}, { id: 4, position: 'IT Intern'} ] ``` employeePosition.service.ts ``` addEmployeePosition(position: employeePosition): Observable<employeePosition> { position.id = position.id + 1; return this.http.post<employeePosition>(this.positionsUrl, position, this.httpOptions).pipe( tap((newPosition: employeePosition) => this.log(`added position with id=${newPosition}`)), catchError(this.handleError<employeePosition>('addEmployeePosition')) ); } ```
null
CC BY-SA 4.0
null
2023-02-28T03:46:27.843
2023-03-03T15:45:12.203
2023-03-03T15:45:12.203
6,584,878
19,413,962
null
75,587,858
2
null
59,156,203
0
null
'try this simple code ``` Sub getXMLTagValue() Dim xmlDoc As New MSXML2.DOMDocument60 Dim xmlNode As MSXML2.IXMLDOMNode Dim xmlNodeList As MSXML2.IXMLDOMNodeList Dim fso As Object Dim folder As Object Dim file As Object Dim xmlTagName As String Dim xmlTagValue As String Dim xmlLogs As String Dim i As Integer Dim fileName As String Set fso = CreateObject("Scripting.FileSystemObject") Set folder = fso.GetFolder("C:\D_Drive\Many\Files") i = 2 For Each file In folder.Files xmlLogs = "" xmlDoc.Load "C:\D_Drive\Many\Files\" & file.Name Set xmlNodeList = xmlDoc.SelectNodes("//*") For Each xmlNode In xmlNodeList xmlTagName = xmlNode.nodeName xmlTagValue = xmlNode.Text If xmlTagName = "name" Then xmlLogs = xmlLogs & "<name>" & xmlTagValue & "</name>" & vbCrLf ElseIf xmlTagName = "id" Then xmlLogs = xmlLogs & "<id>" & xmlTagValue & "</id> " & vbCrLf Exit For End If Next xmlNode Cells(i, 1).Value = file.Name Cells(i, 2).Value = xmlLogs i = i + 1 Next file End Sub ```
null
CC BY-SA 4.0
null
2023-02-28T04:23:54.797
2023-03-04T08:47:16.493
2023-03-04T08:47:16.493
1,981,088
5,303,674
null
75,587,982
2
null
75,394,081
0
null
I think I may have found a solution although may not have been the most efficient. I simply made a custom web view where the HTML code is displaying the website. it was much easier to customize it that way.
null
CC BY-SA 4.0
null
2023-02-28T04:50:08.787
2023-02-28T04:50:08.787
null
null
21,177,136
null
75,588,206
2
null
28,385,172
0
null
1. goto android studio terminal and paste flutter packages get 2. goto Files->Repair IDE if your problem goes away then select the option 'Everything ok or works for me' like option otherwise select other option and the problem goes away 3. The IDE will restart in the step2 but still if it does not restart then manually restart IDE
null
CC BY-SA 4.0
null
2023-02-28T05:34:31.647
2023-02-28T05:41:06.383
2023-02-28T05:41:06.383
4,826,457
21,301,953
null
75,588,220
2
null
75,536,265
0
null
Try this: ``` from pyspark.sql.functions import * df_new=df.filter(df['Desc_info']!='').groupBy('Layer','Process','Subprocess').pivot('Desc_Info').agg(first('Raw Info')) ```
null
CC BY-SA 4.0
null
2023-02-28T05:38:34.283
2023-02-28T21:17:49.113
2023-02-28T21:17:49.113
15,982,771
7,905,704
null
75,588,432
2
null
75,588,107
0
null
At the time of this writing, this is not currently possible. In particular, see the following issue tickets: - [Notifications: allow to control location of notification toasts #80604](https://github.com/microsoft/vscode/issues/80604) Closed for not geting enough support from the community reaction votes.- [Explore alternate locations for the notifications center #144330](https://github.com/microsoft/vscode/issues/144330) Not primarily about the location of the toast notifications, but the feature-request includes a suggestion to move toast notifications to the top-right to be consistent with other proposed changes.- [Allow to change positions of notifications #53600](https://github.com/Microsoft/vscode/issues/53600) Still open. . Some peoples' use-cases include that when they dock their terminal panel to the right of the workbench, their terminal prompt gets obscured by toast notifications. (I wonder if that's your use-case too?) I'll update this post if it eventually gets implemented. For your learning purposes / reference, I found the above by googling "`github vscode issues change position of toast notifications`". Note: The UI originally wasn't like this- perhaps it was even worse. See [Add an option to display popup "toast" at the bottom of the screen #41975](https://github.com/microsoft/vscode/issues/41975), which got closed as completed by [Implement new notifications UX #43770](https://github.com/microsoft/vscode/pull/43770).
null
CC BY-SA 4.0
null
2023-02-28T06:13:36.260
2023-02-28T06:35:39.307
2023-02-28T06:35:39.307
11,107,541
11,107,541
null
75,588,737
2
null
75,587,941
0
null
I've solved the issue. thanks to similar post I found : [33284967](https://stackoverflow.com/questions/33284967/inline-editing-with-laravel-5-and-bootstrap-editable-405-method-not-allowed?rq=1) This is what I did : adding data-url to the input field. ``` <table class="table table-hover table-bordered" id="table-parts"> <thead> <tr> <td><b>Part Number</b></td> <td><b>Part Description</b></td> <td><b>Qty</b></td> </tr> </thead> <tbody> @foreach (SiteHelpers::get_recommendation_parts($data->id) as $part) <tr> <td>{{ $part->part_number }}</td> <td>{{ $part->part_description }}</td> <td data-name='qty'><a href="javascript:;" class="parts_qty" data-url="/service/service-report/update-parts/{{$part->id}}" data-pk="{{ $part->id }}">{{ $part->parts_qty }}</a></td> </tr> @endforeach </tbody> </table> ``` adding ajaxOptions to the javascript ``` $(document).ready(function() { $.fn.editable.defaults.mode = 'inline'; $.fn.editable.defaults.inputclass = 'form-control input-sm'; $('.parts_qty').editable({ type: 'number', title: 'Enter parts qty', send: 'always', ajaxOptions: { type: 'post' }, params: function(params) { params._token = $('meta[name="csrf-token"]').attr('content'); params.id = $(this).data('pk'); params.qty = params.value; return params; }, success: function(response, newValue) { if (response.success) { alert('Data changed succesfully!'); } }, error: function(response, newValue) { alert('Woops something wrong!'); }, }); }); ``` adding ID to the route ``` Route::post('service-report/update-parts/{id}', 'Service\ServiceReportController@updateParts')->name('service-report/update-parts'); ``` Thank you stackoverflow!
null
CC BY-SA 4.0
null
2023-02-28T06:55:13.793
2023-02-28T06:55:13.793
null
null
19,983,324
null
75,588,937
2
null
18,696,122
1
null
When `extent=` is set to some list, the image is stretched individually along x- and y-axes to fill the box. But sometimes, it's still better to set the tick labels explicitly (imo) using `ax.set` or `plt.xticks`/`plt.yticks`: ``` fig, ax = plt.subplots(figsize=(6,6)) ax.imshow(hist, cmap='Reds', interpolation='none', extent=[80, 120, 32, 0], aspect=2) ax.set(xticks=np.arange(80, 122)[::10], xticklabels=np.arange(80, 122)[::10]); ``` Since `extent=` sets the image size, using it to set tick labels is sometimes not ideal. For example, say, we want to display an image that is long relatively tall but with small tick labels, such as the following: [](https://i.stack.imgur.com/o1oKH.png) Then, ``` fig, ax = plt.subplots(1, figsize=(6, 6)) ax.imshow(np.arange(120)[None, :], cmap='Reds', extent=[0, 120, 1, 0]); ``` produces [](https://i.stack.imgur.com/PA0Dg.png) but ``` fig, ax = plt.subplots(1, figsize=(6, 6)) ax.imshow(np.arange(120)[None, :], cmap='Reds', extent=[0, 120, 10, 0]); ax.set(xticks=np.linspace(0, 120, 7), xticklabels=np.arange(0, 121, 20), yticks=[0, 10], yticklabels=[0, 1]); ``` produces the correct output. That's because `extent=` was set to large values but the tick labels where set to smaller values so that the image has the desired labels. N.B. `ax.get_xticks()` and `ax.get_yticks()` are useful methods to understand the default (or otherwise) tick locations and `ax.get_xlim()` and `ax.get_ylim()` are useful methods to understand the axes limits. --- Even in the method used by OP, without any `extent=`, `ax.get_xlim()` returns `(-1.0, 19.5)`. Since the x-tick location range is already set as such, it could be used to set x-tick labels to something else; simply set xticks to be some values within this range and assign whatever values to xticklabels. So the following renders the desired image. ``` fig, ax = plt.subplots(figsize=(6,6)) ax.imshow(hist, cmap='Reds', interpolation='none', aspect=2) ax.set(xticks=np.arange(-1, 20, 5), xticklabels=np.arange(80, 122, 10)); ```
null
CC BY-SA 4.0
null
2023-02-28T07:20:46.820
2023-02-28T07:45:57.860
2023-02-28T07:45:57.860
19,123,103
19,123,103
null
75,589,071
2
null
75,576,050
0
null
example: in sheet 2 resize all cells to have a width of 27 and height of 150 or whatever size you are comfortable, list is in sheet 1 ``` Sub Insert_Picture() Dim myPicture As Variant Dim lLoop As Long Dim PlaceAtCell As Range Dim lRow As Long lRow = 1 i = 1 myPicture = Application.GetOpenFilename _ ("Pictures (*.gif; *.jpg; *.bmp; *.tif; *.png),*.gif; *.jpg; *.bmp; *.tif *.png", , "SELECT FILE(S) TO IMPORT", MultiSelect:=True) If VarType(myPicture) = vbBoolean Then MsgBox "NO FILES SELECTED" Exit Sub End If If IsArray(myPicture) Then For lLoop = LBound(myPicture) To UBound(myPicture) Set PlaceAtCell = Sheets("Sheet2").Cells(lRow, 1) With ActiveSheet.Shapes.AddPicture( _ filename:=myPicture(lLoop), _ LinkToFile:=msoFalse, _ SaveWithDocument:=msoTrue, _ Left:=PlaceAtCell.Left, _ Width:=PlaceAtCell.Width, _ Top:=PlaceAtCell.Top, _ Height:=PlaceAtCell.Height) .Name = Sheets("Sheet1").Cells(i + 1, 1).Value .LockAspectRatio = msoFalse End With i = i + 1 lRow = lRow + 1 Next lLoop End If MsgBox "Picture(s) inserted!" End Sub ```
null
CC BY-SA 4.0
null
2023-02-28T07:37:25.473
2023-02-28T07:37:25.473
null
null
16,220,410
null
75,589,120
2
null
75,582,716
0
null
Without seeing any configuration codes it's impossible to determine the problem, but I would suggest trying running without reload maybe it would help to debug the problem.You can turn off the auto-reload process. When running try this --noreload option like that: ``` python manage.py runserver --noreload ```
null
CC BY-SA 4.0
null
2023-02-28T07:42:55.480
2023-02-28T07:42:55.480
null
null
16,184,054
null
75,589,214
2
null
75,587,438
0
null
I don't think that's something very special. You can achieve the same by, 1. From VS Code window title bar, click "Toggle Secondary Side Bar" to show the right hand side bar. 2. As it asks you to "Drag a view here to display", you can drag the OUTLINE view from the primary side bar onto this secondary bar. Then it looks like, [](https://i.stack.imgur.com/0TB1X.jpg)
null
CC BY-SA 4.0
null
2023-02-28T07:53:20.883
2023-02-28T07:53:20.883
null
null
11,182
null
75,589,292
2
null
73,431,182
0
null
I simply installed the package using `npm install --save-dev @nomicfoundation/hardhat-toolbox` and then tried compiling and it worked for me.
null
CC BY-SA 4.0
null
2023-02-28T08:01:49.893
2023-02-28T08:01:49.893
null
null
13,912,211
null
75,589,526
2
null
55,265,313
0
null
``` ListTile( dense: true, visualDensity: VisualDensity(horizontal: 0, vertical: -4), contentPadding: EdgeInsets.only(left: 0.0,right: 0.0, top: 0.0), title: LabelText( labelText: "Cara", fontSize: 14, fontWeight: FontWeight.w600, color: AppColor.txtColor, textAlign: TextAlign.center), subtitle: LabelText( labelText: "Patient #1", fontSize: 12, fontWeight: FontWeight.normal, color: AppColor.inactive, textAlign: TextAlign.center), ), ```
null
CC BY-SA 4.0
null
2023-02-28T08:27:01.923
2023-02-28T08:27:01.923
null
null
21,103,955
null
75,589,792
2
null
30,173,854
1
null
If you're using Delphi 11.3 and later then this feature is enabled and built-in by default as can be seen by the bottom screenshots: [](https://i.stack.imgur.com/lQmUD.png) [](https://i.stack.imgur.com/GAkPg.png) [](https://i.stack.imgur.com/O0xIT.png) With older versions of Delphi, you can install [CnPack](https://github.com/cnpack/cnwizards) and as @Ken stated in the comments, you can enable it as so: "You'll find the setting in IDE Enhancement Settings->Source Highlight Settings->Code Structure Highlights->Enable Background Highlight Current Identifier at Cursor."
null
CC BY-SA 4.0
null
2023-02-28T08:56:56.377
2023-02-28T08:56:56.377
null
null
2,908,017
null
75,590,074
2
null
75,589,221
4
null
You could create them yourself, and then position them absolutely inside a relative container. This code should get you started, and it can easily be converted to react code if you want. This creates a set of hexagon using clipping paths, and then apply a SVG filter to round the edges. ``` .container { position: relative; width: 300px; height: 300px; } .hex { display: inline-block; filter: url('#goo'); color: darkBlue; width: 35%; position: absolute; } .hex::before { content: ""; display: block; background: currentColor; padding-top: 86.6%; /* 100%*cos(30) */ clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); } .pos0 { top: 0%; left: 30%; } .pos1 { top: 17%; left: 0%; } .pos2 { top: 17%; left: 60%; } .pos3 { top: 34%; left: 30%; } .pos4 { top: 51%; left: 0%; } .pos5 { top: 68%; left: 30%; } .pos6 { top: 51%; left: 60%; } ``` ``` <div class="container"> <div class="hex pos0"></div> <div class="hex pos1"></div> <div class="hex pos2"></div> <div class="hex pos3"></div> <div class="hex pos4"></div> <div class="hex pos5"></div> <div class="hex pos6"></div> </div> <svg style="visibility: hidden; position: absolute;" width="0" height="0" xmlns="http://www.w3.org/2000/svg" version="1.1"> <defs> <filter id="goo"><feGaussianBlur in="SourceGraphic" stdDeviation="4" result="blur" /> <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 19 -9" result="goo" /> <feComposite in="SourceGraphic" in2="goo" operator="atop"/> </filter> </defs> </svg> ``` This hexagon cluster is placed within a responsive container, change the `.container` width and height to change the size.
null
CC BY-SA 4.0
null
2023-02-28T09:24:13.060
2023-02-28T19:35:27.870
2023-02-28T19:35:27.870
1,112,631
1,112,631
null
75,590,097
2
null
63,189,602
0
null
This was an issue in earlier versions of Delphi. It's been fixed in `Delphi 10.4` and newer versions. Embarcadero has done extensive work in terms of scaling and HighDPI for the latest `Delphi 11` and newer versions. --- Just for some added information regarding scaling and HighDPI support. Make sure your project always have `Per Monitor v2` set for `DPI Awareness`: [](https://i.stack.imgur.com/AeNfT.png) This can be set in the Application Manifest options: [](https://i.stack.imgur.com/AcFNr.png) Per Monitor v2 DPI Awareness is a feature introduced in Windows 10 Creators Update (version 1703) that allows an application to be aware of the DPI scaling of each individual monitor it is displayed on. This is in contrast to the previous version of DPI Awareness, which was referred to as "System DPI Awareness", where an application would only be aware of a single DPI scaling across all displays in the system. With Per Monitor v2 DPI Awareness, an application can adjust its layout and rendering based on the DPI scaling of each monitor it is displayed on, resulting in a more consistent and optimal user experience. For example, an application may display larger UI elements on a high-DPI monitor while keeping them smaller on a lower-DPI monitor.
null
CC BY-SA 4.0
null
2023-02-28T09:26:26.883
2023-02-28T09:26:26.883
null
null
2,908,017
null
75,590,113
2
null
75,589,913
-2
null
use this function ``` function total_amount(){ var table = document.getElementById('line_item'); let qty = document.getElementById('quantity').value; let unit = document.getElementById('unit').value; var cellCount = table.rows[0].cells.length; total =0 for(var i=0;i<table.rows.length;i++){ if (qty[i] && unit[i] && !isNaN(Number(qty[i])) && !isNaN(Number(unit[i])) ){ let total = Number(qty[i]) * Number(unit[i]); document.getElementById('amount').value = total; } } } ```
null
CC BY-SA 4.0
null
2023-02-28T09:27:47.720
2023-02-28T09:27:47.720
null
null
10,857,116
null
75,590,175
2
null
75,585,490
1
null
You can achieve that by calling directly telegram api `.setMyCommands`: ``` const { Telegraf } = require('telegraf'); const bot = new Telegraf(process.env.BOT_TOKEN); bot.telegram.setMyCommands([ { name: 'test', description: 'Test command', }, { name: 'greetings', description: 'Greetings command', } ]); bot.command('greetings', (ctx) => ctx.reply('Hello!!!')); bot.launch(); process.once('SIGINT', () => bot.stop('SIGINT')); process.once('SIGTERM', () => bot.stop('SIGTERM')); ``` or You can do it using telegram app: 1. Talk to BotFather 2. Send him /setcommands 3. Pick the bot which You want to set command menu. [](https://i.stack.imgur.com/buHq0.jpg) [](https://i.stack.imgur.com/o9SV9.jpg)
null
CC BY-SA 4.0
null
2023-02-28T09:33:48.847
2023-02-28T09:54:05.067
2023-02-28T09:54:05.067
3,706,693
3,706,693
null
75,590,308
2
null
75,589,913
-1
null
good morning. First of all, in your HTML code you have only one tr and if your app can have more than one td (I think that is in the most cases) you have to create a class instead an id that can iterate in the elements (have one id for more than one element it's a bad practice). In this case I think you have to detect changes in both inputs, validate the inputs and finally do the calc. I provide a example for you: [https://jsfiddle.net/wngshzrv/23/](https://jsfiddle.net/wngshzrv/23/) ``` <table class="table table-striped" id="line_item" data-togle="table" data-sort-stable="true"> <thead> <tr> <th> Product </th> <th> Quantity </th> <th> Price Unit </th> <th> Amount </th> </tr> </thead> <tbody> <tr class="product"> <td class="col0"> <input class="form-control" type="text" placeholder="Product" > </td> <td class="col1"> <input class="form-control quantity" type="number" placeholder="Quantity" > </td> <td class="col2"> <input class="form-control unit" type="number" placeholder="Price Unit" > </td> <td class="col3"> <input class="form-control amount" type="number" placeholder="Amount" readonly> </td> <td class="col4"> <button class="btn btn-danger btn-sm" aria-label="Delete" id="delete" onclick="delete_item()"> <i class="fas fa-trash"></i> </button> </td> </tr> <tr class="product"> <td class="col0"> <input class="form-control" type="text" placeholder="Product" > </td> <td class="col1"> <input class="form-control quantity" type="number" placeholder="Quantity"> </td> <td class="col2"> <input class="form-control unit" type="number" placeholder="Price Unit" > </td> <td class="col3"> <input class="form-control amount" type="number" placeholder="Amount" readonly> </td> <td class="col4"> <button class="btn btn-danger btn-sm" aria-label="Delete" id="delete" onclick="delete_item()"> <i class="fas fa-trash"></i> </button> </td> </tr> </tbody> </table> <script> var products = document.querySelectorAll(".product") products.forEach(x=>{ var quantity = x.querySelector(".col1 .quantity") var priceUnit = x.querySelector(".col2 .unit") var amount = x.querySelector(".col3 .amount") priceUnit.addEventListener('blur',()=>{ amount.value = quantity.value*priceUnit.value }) }) </script> ``` You only have to validate the numbers. I hope this can help you.
null
CC BY-SA 4.0
null
2023-02-28T09:46:53.420
2023-02-28T10:02:11.073
2023-02-28T10:02:11.073
21,302,902
21,302,902
null
75,590,441
2
null
75,588,032
0
null
AFAIK, this is not a problem of VisualSVN Server, but a problem in Chromium. See [https://security.stackexchange.com/q/155414](https://security.stackexchange.com/q/155414) Chromium had an open ticket for several years [Issue 395050: HTTPS connection details not exposed in HTTP Auth dialog](https://bugs.chromium.org/p/chromium/issues/detail?id=395050) which they decided to close as WontFix.
null
CC BY-SA 4.0
null
2023-02-28T10:00:51.337
2023-02-28T10:00:51.337
null
null
761,095
null
75,590,515
2
null
24,783,761
0
null
Use the following as one of the parameters in seaborn.heatmap() - annot_kws={'size':12}
null
CC BY-SA 4.0
null
2023-02-28T10:09:29.140
2023-02-28T10:09:29.140
null
null
20,615,754
null
75,590,567
2
null
14,353,502
0
null
Fixed it by changing config line from ``` string executingAssemblyFile = new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase).LocalPath; executingDirectory = Path.GetDirectoryName(executingAssemblyFile); ``` to ``` executingDirectory = Directory.GetCurrentDirectory(); ```
null
CC BY-SA 4.0
null
2023-02-28T10:12:45.260
2023-02-28T10:12:45.260
null
null
9,630,578
null
75,590,743
2
null
75,589,913
0
null
This should work for you ``` function total_amount(){ var table = document.getElementById('line_item'); for(var i=1;i<table.rows.length;i++){ qty = table.rows[i].cells[1].getElementsByTagName("input")[0].value unit = table.rows[i].cells[2].getElementsByTagName("input")[0].value table.rows[i].cells[3].getElementsByTagName("input")[0].value = qty * unit; } } ```
null
CC BY-SA 4.0
null
2023-02-28T10:27:42.447
2023-02-28T10:27:42.447
null
null
21,232,051
null
75,590,744
2
null
10,542,313
0
null
The command line help already provides the solution: ``` schtasks /create /? ``` > ``` ==> Spaces in file paths can be used by using two sets of quotes, one set for CMD.EXE and one for SchTasks.exe. The outer quotes for CMD need to be double quotes; the inner quotes can be single quotes or escaped double quotes: SCHTASKS /Create /tr "'c:\program files\internet explorer\iexplorer.exe' \"c:\log data\today.xml\"" ... ```
null
CC BY-SA 4.0
null
2023-02-28T10:27:47.927
2023-03-04T14:29:43.593
2023-03-04T14:29:43.593
11,942,268
14,262,196
null
75,590,759
2
null
75,589,913
0
null
You say you are move rows, that means you most likely have multiple elements with the same id. You can do it like this: ``` function total_amount(ele) { var tr = ele.parentNode.parentNode; let qty = tr.querySelector('.quantity').value; let unit = tr.querySelector('.unit').value; let total = qty * unit; tr.querySelector('.amount').value = total; } ``` Then on your input's I've added `this` to the function and remove the id to the class ``` <input class="form-control quantity" type="number" placeholder="Quantity" id="" onblur="total_amount(this)"> ``` ``` function total_amount(ele) { var tr = ele.parentNode.parentNode; let qty = tr.querySelector('.quantity').value; let unit = tr.querySelector('.unit').value; let total = qty * unit; tr.querySelector('.amount').value = total; } ``` ``` <table class="table table-striped" id="line_item" data-togle="table" data-sort-stable="true"> <thead> <tr> <th> Product </th> <th> Quantity </th> <th> Price Unit </th> <th> Amount </th> </tr> </thead> <tbody> <tr> <td id="col0"> <input class="form-control" type="text" placeholder="Product"> </td> <td id="col1"> <input class="form-control quantity" type="number" placeholder="Quantity" id="" onblur="total_amount(this)"> </td> <td id="col2"> <input class="form-control unit" type="number" placeholder="Price Unit" id="" onblur="total_amount(this)"> </td> <td id="col3"> <input class="form-control amount" type="number" placeholder="Amount" id="" readonly> </td> <td id="col4"> <button class="btn btn-danger btn-sm" aria-label="Delete" id="delete" onclick="delete_item()"> <i class="fas fa-trash"></i> </button> </td> </tr> <tr> <td id="col0"> <input class="form-control" type="text" placeholder="Product"> </td> <td id="col1"> <input class="form-control quantity" type="number" placeholder="Quantity" id="" onblur="total_amount(this)"> </td> <td id="col2"> <input class="form-control unit" type="number" placeholder="Price Unit" id="" onblur="total_amount(this)"> </td> <td id="col3"> <input class="form-control amount" type="number" placeholder="Amount" id="" readonly> </td> <td id="col4"> <button class="btn btn-danger btn-sm" aria-label="Delete" id="delete" onclick="delete_item()"> <i class="fas fa-trash"></i> </button> </td> </tr> </tbody> </table> ```
null
CC BY-SA 4.0
null
2023-02-28T10:29:00.103
2023-02-28T10:29:00.103
null
null
2,943,218
null
75,591,124
2
null
75,590,686
0
null
Check the article: [here](https://dev.to/jovialcore/how-to-display-laravel-validation-errors-in-vuejs-2g3c) If you use bootstrap-vue, I will also recommend you to use the bootstrap-vue validation to your Laravel & VueJs application. Docs- [https://bootstrap-vue.org/docs/reference/validation](https://bootstrap-vue.org/docs/reference/validation)
null
CC BY-SA 4.0
null
2023-02-28T11:01:23.707
2023-02-28T11:01:23.707
null
null
21,294,952
null
75,591,488
2
null
36,019,444
0
null
To use the step you don't need to check the option . I had a similar problem with Pentaho Server 8.0. It was a simple job with 2 transformations. The first one with a at the end and the second one starting with a . I used a step to help me debug things and was geting nothing from output. My specific problem was that I was declaring some Parameters on the properties of the second transformation, and with that specific version of Pentaho this was messing with the metadata. When I cleared the parameters, the started to show all the output I was expecting. I tested that same job on Pentaho 9.4 and that problem didn't happened.
null
CC BY-SA 4.0
null
2023-02-28T11:33:18.007
2023-02-28T11:33:18.007
null
null
2,796,008
null
75,591,506
2
null
75,583,443
0
null
Webdriverio has the method `driver.acceptAlert()`. And that's it. ``` await driver.executeScript("mobile: alert", [{action: "accept"}]); ``` Don't forget to check your Appium version - use Appium 2.
null
CC BY-SA 4.0
null
2023-02-28T11:34:42.507
2023-03-02T17:05:31.837
2023-03-02T17:05:31.837
1,337,352
1,337,352
null
75,591,602
2
null
75,589,755
0
null
It's not a matter of sorting. It's a matter of properly applying the ISO week calendar logic, see [Wikipedia](https://en.wikipedia.org/wiki/ISO_week_date). Your formula for needs to consider that belongs to the ISO week year and here's how to calculate it: ``` Year Week Column = IF ( WEEKNUM ( [Date], 21 ) = 1 && MONTH ( [Date] ) = 12, YEAR ( [Date] ) + 1, IF ( WEEKNUM ( [Date], 21 ) >= 52 && MONTH ( [Date] ) = 1, YEAR ( [Date] ) - 1, YEAR ( [Date] ) ) ) & "-W" & FORMAT ( WEEKNUM ( [Date], 21 ), "0#" ) ``` [](https://i.stack.imgur.com/v6GZI.png) With a correct you don't have any issues with sorting!
null
CC BY-SA 4.0
null
2023-02-28T11:42:55.747
2023-03-01T20:44:56.157
2023-03-01T20:44:56.157
7,108,589
7,108,589
null
75,592,153
2
null
75,536,265
0
null
[](https://i.stack.imgur.com/juI8G.png) Thats becouse of this columns that I want to repeat the data from and
null
CC BY-SA 4.0
null
2023-02-28T12:35:54.787
2023-02-28T12:35:54.787
null
null
19,014,055
null
75,592,222
2
null
75,592,039
-1
null
For the 1 & 2 warnings: You are trying to access "searchref" & "searchapp" array key which are not exists. So you could have a check with this function `isset()` to eliminate the warnings. For the third warning: You have not defined the variable `$no_record` anywhere in your code. So define `$no_record` as an empty variable at the top and it should fix this issue.
null
CC BY-SA 4.0
null
2023-02-28T12:42:24.313
2023-02-28T12:42:24.313
null
null
4,081,913
null
75,592,400
2
null
46,882,034
0
null
Still facing this issue in 2023, this is how I solved: 1- On my rewrite template resources/views/vendor/voyager/formfields/timestamp.blade.php I've changed the class of the input to:      class="form-control custom-datepicker" 2- Added custom js as explained here: https://voyager-docs.devdojo.com/customization/additional-css-js with:
null
CC BY-SA 4.0
null
2023-02-28T12:58:34.977
2023-02-28T12:58:34.977
null
null
6,800,917
null
75,592,422
2
null
18,436,524
0
null
For Kotlin (current version `1.8.0`), I had to pass the appropriate FragmentManager object from the Fragment class to the associated Adapter class. In the `onBindViewHolder()` method, I retrieved the desired Fragment from the `fragments` method of the passed FragmentManager object, which returns a list of Fragments managed by that FragmentManager object. ``` class StockRecyclerViewAdapter(private val fragmentManager: FragmentManager) : RecyclerView.Adapter<StockHistoryItemViewHolder>() { /* . ....more code . */ override fun onBindViewHolder(holder: StockHistoryItemViewHolder, position: Int) { val stockHomeFragment = fragmentManager.fragments[0] /* . ...some more code . */ stockHomeFragment.findNavController().navigate(FragmentDirectionsObject) ``` To understand the appropriate FragmentManager object to use, study the FragmentManager docs in the official Android Developer documentation [here](https://developer.android.com/guide/fragments/fragmentmanager). Its a long read but worth the hassle. Happy coding!
null
CC BY-SA 4.0
null
2023-02-28T13:00:59.920
2023-02-28T13:00:59.920
null
null
9,663,684
null
75,592,928
2
null
75,592,247
0
null
Yeah I got this. It tried to show the text in my native language which is not English. I fixed it by typing `en` after the `vimtutor` command so it opens the file in English.
null
CC BY-SA 4.0
null
2023-02-28T13:47:01.653
2023-02-28T13:48:07.073
2023-02-28T13:48:07.073
21,304,095
21,304,095
null
75,593,486
2
null
28,950,134
0
null
If you manage your transaction manually, you join the transaction via `joinTransaction()` ``` entityManager.joinTransaction(); entityManager.persist(); entityManager.flush(); ``` That works for me.
null
CC BY-SA 4.0
null
2023-02-28T14:36:54.450
2023-02-28T14:36:54.450
null
null
13,087,712
null
75,593,609
2
null
38,953,938
0
null
following Nico's Answer, this is how it can look like. ``` import math def orthogonal_point(ax, ay, bx, by, amp): dir_x = bx - ax dir_y = by - ay ortho_x = ay - by ortho_y = bx - ax mid_x = (ax + bx) * 0.5 mid_y = (ay + by) * 0.5 len = math.sqrt(dir_x**2 + dir_y**2) factor = amp / len return mid_x + (ortho_x * factor), mid_y + (dir_x * factor) ``` or shortened ``` def orthogonal_point(ax, ay, bx, by, amp): dir_x = bx - ax dir_y = by - ay amplify = amp / math.sqrt(dir_x**2 + dir_y**2) mid_x = (ax + bx) * 0.5 mid_y = (ay + by) * 0.5 return mid_x + ((ay - by) * amplify), mid_y + (dir_x * amplify) ``` positive or negative amplification `amp` declares if you get point above or below the vector defined by `ax,ay` to `bx,by`
null
CC BY-SA 4.0
null
2023-02-28T14:48:36.560
2023-02-28T14:48:36.560
null
null
1,443,038
null
75,593,642
2
null
75,550,075
0
null
I have created an example for you at the following [link](https://jsfiddle.net/cemfirat/t7ajycq8/2/). Maybe it will help you. Code snippet from the link: ``` .level { display: inline-block; min-width: 1vw; } .vertical_line { border-right: 1px solid black; } ``` ``` <div> &nbsp<span class="line_nummber">2</span> <span class="level">&nbsp</span> <p class="inline_block">&#60;html&#62;</p> </div> ``` Alternatively, you can put this together in table - perhaps the disadvantage of responsive design. If I were you, I would use a framework like: - [Bootstrap CSS-Framework](https://getbootstrap.com/)- [Materialize CSS](https://materializecss.com/)- [Tailwind CSS Framework](https://tailwindcss.com/)
null
CC BY-SA 4.0
null
2023-02-28T14:51:33.327
2023-02-28T14:51:33.327
null
null
9,050,912
null
75,593,803
2
null
52,982,028
0
null
i was facing the same problem, SAP Fiori Client need a valid certificate to connect. You can't bypass it.
null
CC BY-SA 4.0
null
2023-02-28T15:06:38.317
2023-02-28T15:06:38.317
null
null
4,715,658
null
75,594,220
2
null
13,480,880
0
null
If you are using [T-SQL](https://en.wikipedia.org/wiki/Transact-SQL), it is directly possible to use a window function by using `APPROX_COUNT_DISTINCT`, so for example: ``` APPROX_COUNT_DISTINCT(rx.drugClass) OVER(PARTITION BY rx.patid, rx.drugclass, rx.drugname) AS drugCountsInFamilies ``` You can find more information here: [https://learn.microsoft.com/en-us/sql/t-sql/functions/approx-count-distinct-transact-sql?view=sql-server-ver16](https://learn.microsoft.com/en-us/sql/t-sql/functions/approx-count-distinct-transact-sql?view=sql-server-ver16)
null
CC BY-SA 4.0
null
2023-02-28T15:39:56.417
2023-02-28T15:39:56.417
null
null
13,934,361
null
75,594,593
2
null
25,494,182
0
null
Another source of this problem can be due to "untrusted" notebooks. In my case, I downloaded source files from GitHub and when execute the cells, no output was shown. It turns out that the notebook was not trusted. So, I clicked on the menu `File`, then `Trust Notebook`. This security check by Jupyter is to avoid executing malicious code chunks hidden in the cells.
null
CC BY-SA 4.0
null
2023-02-28T16:11:04.577
2023-02-28T16:11:04.577
null
null
4,956,603
null
75,594,706
2
null
68,603,866
0
null
To run @media query in your spring boot css file you should use min-width replace of max-width then it will run good
null
CC BY-SA 4.0
null
2023-02-28T16:22:01.957
2023-02-28T16:22:01.957
null
null
21,305,888
null
75,594,724
2
null
75,594,025
0
null
Hovering over `useBoundStore` gives me this: [](https://i.stack.imgur.com/JCCNJ.png) and luckily zustand does export these two types, so we can use them in the JSDoc: ``` /** * @type {import("zustand").UseBoundStore<import("zustand").StoreApi<unknown>>} */ export const useBoundStore = create((...a) => ({ ...createBearSlice(...a), ...createFishSlice(...a), })); ```
null
CC BY-SA 4.0
null
2023-02-28T16:23:16.483
2023-02-28T16:23:16.483
null
null
18,244,921
null
75,594,830
2
null
75,593,015
0
null
The mechanism to call a controller is a [javascript fetch()](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch). You need to change the Submit button type to not be submit and add an onClick handler as follows: ``` <button onclick="callController()">Submit</button> ``` Give each on the form fields an id (in addition to the name): ``` <input id="population" type="number" name="population"/> ``` Then you need to write the js for the `callController()` function triggered by clicking Submit: ``` <script> function callController() { fetch("/simulation?population=" + document.getElementById('population') + "&infectionRate" + document.getElementById('infectionRate') +"&recoveryRate" + document.getElementById('recoveryRate') +"&days" + document.getElementById('days'), { method: "POST", headers: { "Content-Type": "application/json" } }) .then((response) => response.json()) .then((data) => { // data contains your list for(var i = 0; i < data.length; i++) { var splitData = data[i].split(","); // splitData[0] is day, // splitData[1] is numSusceptible, // splitData[2] is numInfected, // splitData[3] is numRecovered // update xValues & yValues // call the Chart render renderChart(); } }); } </script> ``` The chart rendering js needs to change as follows: ``` <script> //Übergebene Daten für die X- und Y-Achse var xValues = [50,60,70,80,90,100,110,120,130,140,150]; var yValues = [7,8,8,9,9,9,10,11,14,14,15]; function renderChart() { //Erstellung eines neuen Graphen new Chart("graph", { ``` and a } to close off `renderChart()` before
null
CC BY-SA 4.0
null
2023-02-28T16:33:30.273
2023-02-28T16:33:30.273
null
null
8,041,003
null
75,595,511
2
null
75,594,470
-1
null
you are using three dots ``` <script src=".../simple.js" defer></script> ``` i think it should be: ``` <script src="../simple.js" defer></script> ``` --- EDIT --- is the `simple.js` outside the public ? ``` <script src="../../simple.js" defer></script> ```
null
CC BY-SA 4.0
null
2023-02-28T17:37:29.280
2023-02-28T17:37:29.280
null
null
12,249,422
null
75,595,587
2
null
75,414,392
0
null
Someone from our team tried to replicate the same config in thier own TF project, and it works totally fine, they have defined the exact same TF & NR. Please check your provider versions, so your environment should be close to identical of of each other. We don't see anything clearly wrong with your configuration.
null
CC BY-SA 4.0
null
2023-02-28T17:45:57.537
2023-02-28T17:45:57.537
null
null
17,204,784
null
75,595,629
2
null
75,593,120
0
null
[](https://i.stack.imgur.com/Kwkx7.jpg) The values in cells are strings. So they can't SUM. Format the cells D8 and D9 and E9 as DATE with format dd hh:mm:ss After set: D8 = C8-B8, D9 = C9-B9, E9 = D8+D9
null
CC BY-SA 4.0
null
2023-02-28T17:50:33.923
2023-02-28T17:50:33.923
null
null
15,794,828
null
75,595,706
2
null
75,593,120
1
null
You're going about this all wrong. Your column D is a string representation, but you don't need to add the strings to get column E. Columns B and C are already in date formats, which are really just float variables. You can do the math directly with this formula in the cell: ``` =SUM(C8-B8,C9-B9) ``` Once you know the value, you can just reapply your VBA script to pretty print it.
null
CC BY-SA 4.0
null
2023-02-28T17:58:58.650
2023-02-28T17:58:58.650
null
null
6,186,333
null
75,596,130
2
null
75,592,709
1
null
You have brought up two problems: the background coloring of the tr does not color the bits in between the td cells and there isn't enough spacing between the cells. This snippet has the simplest possible table as an example and does two things: sets border setting to collapse and adds padding left and right to each of the cells. ``` table { border-collapse: collapse } tr { background: yellow; } td { padding: 0 10px; } ``` ``` <table> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> </table> ```
null
CC BY-SA 4.0
null
2023-02-28T18:45:29.350
2023-02-28T18:45:29.350
null
null
10,867,454
null
75,596,378
2
null
75,573,468
0
null
Thanks for the image fix link. @ asiqur Rahman It works wowww. This technique allow me to develop in a more extended way my plugin.
null
CC BY-SA 4.0
null
2023-02-28T19:14:30.623
2023-02-28T19:14:30.623
null
null
8,024,264
null
75,596,624
2
null
74,344,645
0
null
In order to show binary data on an `img` tag you could use `URL.createObjectURL` in your FE code to display the image ``` const imageSrc = URL.createObjectURL(res.data); <img src=`${imageSrc}` /> ```
null
CC BY-SA 4.0
null
2023-02-28T19:46:02.393
2023-02-28T19:51:33.090
2023-02-28T19:51:33.090
8,814,620
8,814,620
null
75,596,657
2
null
18,247,934
0
null
version of @Dustin code: : ``` class VerticallyAlignedUILabel: UILabel { enum Alignment { case top case bottom } var alignment: Alignment = .top override func drawText(in rect: CGRect) { var rect = rect if alignment == .top { rect.size.height = sizeThatFits(rect.size).height } else if alignment == .bottom { let height = sizeThatFits(rect.size).height rect.origin.y += rect.size.height - height rect.size.height = height } super.drawText(in: rect) } } ``` : ``` let myLabel = VerticallyAlignedUILabel() myLabel.text = "vertically aligned text" myLabel.alignment = .bottom ```
null
CC BY-SA 4.0
null
2023-02-28T19:50:12.043
2023-02-28T19:50:12.043
null
null
6,855,056
null
75,596,668
2
null
75,595,781
0
null
It seems that `import.meta.url` returns the path of the current script of a module. Using this command it's possible to get the path of something else related to this script. The URL API is really usefull for that: ``` new URL("../Shader/someShader.frag", import.meta.url).pathname; ``` this returns the path of the ressource I was looking for ! Sources : 1. Get URL of current module script 2. https://developer.mozilla.org/en-US/docs/Web/API/URL
null
CC BY-SA 4.0
null
2023-02-28T19:51:10.127
2023-02-28T19:51:10.127
null
null
18,938,036
null
75,596,822
2
null
75,596,582
0
null
Your min and max values seem to be almost the same for your xyz axes ``` print(min(x_in_sphere), max(x_in_sphere)) print(min(y_in_sphere), max(y_in_sphere)) print(min(z_in_sphere), max(z_in_sphere)) -0.9799174154721233 0.9854060288509665 -0.9960657675761417 0.9877950419993617 -0.9945133729449587 0.9934754901005494 ``` This means your axes of your plot dont have the same scale. To rescale them you can use the code from this Stackoverflow Question: [matplotlib (equal unit length): with 'equal' aspect ratio z-axis is not equal to x- and y-](https://stackoverflow.com/questions/13685386/matplotlib-equal-unit-length-with-equal-aspect-ratio-z-axis-is-not-equal-to) smth like: ``` import numpy as np import numpy.random as rand import matplotlib.pyplot as plt N = 10000 def sample_cube(number_of_trials): """ This function receives an integer and returns a uniform sample of points in a square. The return object is a list of lists, which consists of three entries, each is a list of the copordinates of a point in the space. """ cube = rand.uniform(low = -1, high = 1, size = (number_of_trials, 3)) x_cube = cube[:,0] y_cube = cube[:,1] z_cube = cube[:,2] return [x_cube, y_cube, z_cube] def sample_sphere(cube): """ This function takes a list on the form [x_cube, y_cube, z_cube] and then sample an spherical distribution of points. """ in_sphere = np.where(np.sqrt(cube[0]**2 + cube[1]**2 + cube[2]**2) <= 1) return in_sphere """ Main Code """ cube = sample_cube(N) sphere = sample_sphere(cube) print(sphere[0]) print(cube) print(cube[0][sphere[0]]) x_in_sphere = cube[0][sphere[0]] y_in_sphere = cube[1][sphere[0]] z_in_sphere = cube[2][sphere[0]] fig = plt.figure() ax = plt.axes(projection = "3d") ax.scatter(x_in_sphere, y_in_sphere, z_in_sphere, s = 1, color = "black") ax.set_aspect('equal') print(min(x_in_sphere), max(x_in_sphere)) print(min(y_in_sphere), max(y_in_sphere)) print(min(z_in_sphere), max(z_in_sphere)) x_limits = ax.get_xlim3d() y_limits = ax.get_ylim3d() z_limits = ax.get_zlim3d() x_range = abs(x_limits[1] - x_limits[0]) x_middle = np.mean(x_limits) y_range = abs(y_limits[1] - y_limits[0]) y_middle = np.mean(y_limits) z_range = abs(z_limits[1] - z_limits[0]) z_middle = np.mean(z_limits) # The plot bounding box is a sphere in the sense of the infinity # norm, hence I call half the max range the plot radius. plot_radius = 0.5 * max([x_range, y_range, z_range]) ax.set_xlim3d([x_middle - plot_radius, x_middle + plot_radius]) ax.set_ylim3d([y_middle - plot_radius, y_middle + plot_radius]) ax.set_zlim3d([z_middle - plot_radius, z_middle + plot_radius]) plt.show() ```
null
CC BY-SA 4.0
null
2023-02-28T20:09:02.390
2023-02-28T20:09:02.390
null
null
21,046,803
null
75,596,970
2
null
75,592,330
0
null
You can set the collider shapes in the sprite editor using [Custom Physics Shape](https://docs.unity3d.com/Manual/CustomPhysicsShape.html)
null
CC BY-SA 4.0
null
2023-02-28T20:27:20.870
2023-02-28T20:27:20.870
null
null
4,195,783
null
75,597,497
2
null
75,596,957
0
null
To click on the element related to you need to induce [WebDriverWait](https://stackoverflow.com/a/59130336/7429447) for the [element_to_be_clickable()](https://stackoverflow.com/a/54194511/7429447) and you can use either of the following [locator strategies](https://stackoverflow.com/a/48056120/7429447): - Using :``` driver.get('https://www.trendyol.com/uyelik') WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CSS_SELECTOR, "button#onetrust-accept-btn-handler"))).click() driver.find_element(By.CSS_SELECTOR, "div[name='marketing-email'] +svg.ty-check").click() ``` - Using :``` driver.get('https://www.trendyol.com/uyelik') WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//button[@id='onetrust-accept-btn-handler']"))).click() driver.find_element(By.XPATH, "//div[@name='marketing-email']//following::*[local-name()='svg' and @class='ty-check']").click() ``` - : You have to add the following imports :``` from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC ``` - Browser snapshot: ![marketing-email](https://i.stack.imgur.com/vYg25.png)
null
CC BY-SA 4.0
null
2023-02-28T21:31:47.077
2023-02-28T21:37:46.387
2023-02-28T21:37:46.387
7,429,447
7,429,447
null
75,597,615
2
null
56,823,513
0
null
I had similar issues and all answers here didn't work. I was getting a `403` on in my C# client but it was working well in Postman. After a few hours, and following @JsAndDotNet advice to use fiddler, I found out the server was bouncing all requests without User-Agent. One way to be sure is to check the response. In my case, the response was supposed to be in json, but I was getting a text/html which indicates that the server was seeing my request as emanating from a browser and hence blocking it. Specifying my own User-Agent (any random string really) fixed the problem
null
CC BY-SA 4.0
null
2023-02-28T21:45:28.707
2023-02-28T21:45:28.707
null
null
2,929,906
null
75,597,676
2
null
75,596,109
0
null
It's to clear where the camera is in this scenario. I like my cameras behind the car. Presumably, you have a value for the red vector. If this is the case you can add it to the position of the car to get a world position. ``` Vector3 worldPos = redvector + car.transform.position ``` You can then use ``` camera.transform.rotation = Quaternion.LookRotation(worldPos - camera.transform.position); ``` to point the camera. If the camera is at the position of the car it's even easier. ``` camera.transform.rotation=Quaternion.LookRotation(redvector); ```
null
CC BY-SA 4.0
null
2023-02-28T21:53:35.120
2023-02-28T21:53:35.120
null
null
1,508,627
null
75,597,771
2
null
75,596,643
0
null
Your Route points to a Service („gateway-api-service“). This Service will then automatically load balance to any Pod it selects. In the OpenShift Console, open the Service and look at the „Pods“ tab to see which Pods the traffic is load balanced to. Typically, you can then scale the target Pods by increasing the number of replicas in a specific Deployment.
null
CC BY-SA 4.0
null
2023-02-28T22:07:27.487
2023-02-28T22:07:27.487
null
null
280,473
null
75,598,143
2
null
75,597,957
0
null
You might be interested in the `geom_encircle()` geometry from the `ggalt` R package: ``` library(ggplot2) library(ggalt) data("iris") ggplot(iris, aes(x = Sepal.Length, y = Sepal.Width, color = Species, fill = Species)) + geom_point(alpha = .5) + geom_encircle(alpha = .5) + scale_fill_viridis_d() + scale_color_viridis_d() + theme_minimal() ``` [](https://i.stack.imgur.com/Sw8Mr.png)
null
CC BY-SA 4.0
null
2023-02-28T23:03:05.327
2023-02-28T23:03:05.327
null
null
21,243,518
null
75,598,298
2
null
75,571,951
0
null
Padding pushes content away from the edges because that's how the box model works. Padding controls edge spacing inside the box, margin controls edge spacing outside the box. [https://www.w3schools.com/css/css_boxmodel.asp](https://www.w3schools.com/css/css_boxmodel.asp) If you have the flexibility to place your image as a background image in a div, this workaround can help you. If not, I'll keep working. :o) ``` <!-- css --> #contain { width: 250px; height: 250px; border-radius: 30px; padding: 50px; object-fit: cover; border: 1px solid #03C; background-image: url(https://i.pinimg.com/564x/da/f8/77/daf8770e27db98bad904b66d48168a39.jpg); background-position: center;} .text { font-family: Arial, Helvetica, sans-serif; color: #ffffff;} <!-- html --> <div id="contain"> <p class="text">Here are some words that show the padding</p> </div> ``` [https://jsfiddle.net/jasonbruce/8y3b1s2d/1/](https://jsfiddle.net/jasonbruce/8y3b1s2d/1/)
null
CC BY-SA 4.0
null
2023-02-28T23:32:34.777
2023-02-28T23:32:34.777
null
null
11,887,641
null
75,598,424
2
null
75,598,282
1
null
### If there is a "bigger" subscript, it seems to work better ``` import matplotlib.pyplot as plt plt.rc("axes", labelsize=22) plt.plot([0,1],[0,1]) plt.ylabel(r"$\alpha_{x}$") plt.show() ``` [](https://i.stack.imgur.com/JbIPw.png) ### It's when the subscript is "-" that we get problems [](https://i.stack.imgur.com/9LCsI.png) ### If you become desperate, here is a hack that makes the whole alpha visible ``` plt.ylabel(r"$\alpha_{-_{_{_{.}}}}$") ``` [](https://i.stack.imgur.com/IF3Yf.png) Only if you look very closely do you see the tiny "."! If that is still too large, you could add more layers of `_{}`. Or you could find a character that appears blank. However the space charactor does not work for this purpose - I guess TeX is clever enough to know that it doesn't print any pixels. ### One-off workaround With your character being a minus, it does like an underscore. So why not print it as a (non-subscripted) underscore? Would that make you feel dirty? If not: ``` import matplotlib.pyplot as plt plt.rc("axes", labelsize=22) plt.plot([0,1],[0,1]) plt.ylabel(r"$\alpha\_$") plt.show() ``` [](https://i.stack.imgur.com/3u2gR.png)
null
CC BY-SA 4.0
null
2023-02-28T23:58:40.917
2023-03-02T10:27:20.187
2023-03-02T10:27:20.187
7,549,483
7,549,483
null
75,598,880
2
null
75,598,210
0
null
Here's an example with a dataset from `dplyr`. In this case I put the `fill` aesthetic into only the `geom_bar` layer, and use `y = after_stat(count)/1000` to bring the range of the 2nd layer (max value 684) into the range 0:1 that the "fill" bars will necessarily cover. Here I add a secondary axis label to show how the step line should be interpreted. ``` ggplot(dplyr::storms, aes(day)) + geom_bar(aes(fill = status), position = "fill") + stat_bin(geom = "step", binwidth = 1, aes(y = after_stat(count)/1000)) + scale_y_continuous(sec.axis = sec_axis(~ . *1000)) ``` [](https://i.stack.imgur.com/lZcfB.png)
null
CC BY-SA 4.0
null
2023-03-01T01:44:40.990
2023-03-01T01:50:00.053
2023-03-01T01:50:00.053
6,851,825
6,851,825
null
75,599,249
2
null
75,362,235
0
null
I had the same problem when sending TEXT instead of JSON [enter image description here](https://i.stack.imgur.com/ZqwEZ.png)
null
CC BY-SA 4.0
null
2023-03-01T03:09:31.920
2023-03-01T03:09:31.920
null
null
10,685,376
null
75,599,237
2
null
54,262,245
1
null
I ran into this problem today so I looked where the error was being thrown. “Cannot delete branch '<bname>' checked out at '<worktree>'” ([builtin/branch.c](https://github.com/git/git/blob/v2.39.2/builtin/branch.c#L251-L257)) is caused by one of the reasons in ([branch.c](https://github.com/git/git/blob/v2.39.2/branch.c#L388-L438)). Basically you should run `git status` to find out what applies to you. 1. Are you trying to delete your current branch? git status will show “On branch <name>”. If so, you have to switch to a different branch first (git switch <other>), or even switch to a detached HEAD commit. 2. Are you rebasing the branch that you tried to delete? git status will show something about “rebase in progress”. If so, finish rebasing or git rebase --abort. 3. Are you trying to delete a branch from which you started a git bisect? git status will show “You are currently bisecting, started from branch '<BISECT_START>'.” If so, run git bisect reset. 4. Are you rebasing with --update-refs? If so, then all the other branches that were checked out in other worktrees when you started rebasing which use any of the rebasing commits cannot be deleted until you finish or abort the git rebase. Again, git status will tell you if you are rebasing, but it does not tell you which other branches update-refs applies to. If you are rebasing, you can find out which branches will be update-refs’d by reading .git/rebase-merge/update-refs (or .git/worktrees/<worktree>/rebase-merge/update-refs). 5. Repeat steps 1-4 in all your other worktrees (git worktree list) to see why you can’t delete your branch.
null
CC BY-SA 4.0
null
2023-03-01T03:06:57.720
2023-03-01T03:06:57.720
null
null
471,341
null
75,599,517
2
null
75,596,441
0
null
Cypress does not support multiple tabs. A workaround for this would be to opt to visit to the page taking the content from href. Please check the answer in [this question](https://stackoverflow.com/questions/75472140/cypress-check-if-a-newly-opened-tab-has-the-correct-url/75474403#75474403).
null
CC BY-SA 4.0
null
2023-03-01T04:16:02.990
2023-03-01T04:16:02.990
null
null
20,155,450
null