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,089,377
2
null
75,089,322
1
null
The `PermanentEmployee` should not have `empId, name` attributs, there are in its parent class `Employee` ``` class PermanentEmployee extends Employee { private double basicPay; private double hra; private float experience; PermanentEmployee(int empId, String name, double basicPay, double hra, float experience) { super(empId, name); this.basicPay = basicPay; this.hra = hra; this.experience = experience; } } class ContractEmployee extends Employee { private double wage; private float hoursWorked; ContractEmployee(int empId, String name, double wage, float hoursWorked) { super(empId, name); this.wage = wage; this.hoursWorked = hoursWorked; } } ```
null
CC BY-SA 4.0
null
2023-01-11T21:52:10.847
2023-01-11T21:52:10.847
null
null
7,212,686
null
75,089,437
2
null
74,964,151
0
null
If you can't find the script that creates the `leaderstat` you could use script like the following to delete the extra `leaderstats` folder containing the `Mana value`. I would recommend this because the extra `leaderstat` has to be generated somewhere and it's best to just get rid of the script creating it. Anyway you could try this: Add the following code to the `ServerScriptService` ``` game.Players.OnPlayerAdded:Connect(function(player) wait(5) -- to wait for the script that adds the leaderstats to run for _, child in ipairs(player:GetChildren()) do if child.Name == "leaderstats" then for _, value in ipairs(child:GetChildren()) do if value.Name == "Mana" then child:Destroy() end end end end end) ``` What the above script does is it checks if a `leaderstats` folder inside the player exists with the value `Mana`, if it does, it will destroy the `leaderstats` folder.
null
CC BY-SA 4.0
null
2023-01-11T21:59:46.370
2023-01-12T20:05:43.627
2023-01-12T20:05:43.627
11,521,654
11,521,654
null
75,089,895
2
null
58,344,994
0
null
You can create multiple release pipeline, one for each environnement, with the same tasks and stages but different branch selections and deploy filters (prod release pipeline with prods branchs). But it's not easy to maintain after. I'ved also tried to use $(Build.SourceBranchName) as source branch with no luck [capture](https://i.stack.imgur.com/HBHye.png) Even with a custom variable, pre setuped. [capture2](https://i.stack.imgur.com/PuMfn.png)
null
CC BY-SA 4.0
null
2023-01-11T22:59:59.163
2023-01-11T22:59:59.163
null
null
7,292,036
null
75,089,978
2
null
75,089,925
0
null
It seems like you want a [ListTile](https://api.flutter.dev/flutter/material/ListTile-class.html) widget, as it has `leading`/`trailing` properties: [](https://i.stack.imgur.com/cjrk1.png) ``` Container( margin: const EdgeInsets.all(10), decoration: BoxDecoration( border: Border.all( color: Colors.black, width: 1, ), ), child: const ListTile( leading: Icon(Icons.mail), trailing: Icon(Icons.arrow_forward_ios), title: Text('Change Email Address'), ), ) ``` You can also use `IconButton` instead of a regular `Icon` in this example.
null
CC BY-SA 4.0
null
2023-01-11T23:12:02.370
2023-01-11T23:17:09.200
2023-01-11T23:17:09.200
12,349,734
12,349,734
null
75,090,087
2
null
68,400,529
2
null
Firefox rejected your font file because it didn't recognise the TTC font collection format. It appears Firefox [doesn't yet support font collections in @font-face](https://bugzilla.mozilla.org/show_bug.cgi?id=1529652). For browsers that do support collections, you'll need to use a fragment identifier to select a specific font from the TTC collection. The [CSS3 Font specification](https://w3c.github.io/csswg-drafts/css-fonts/#font-face-src-loading) states the fragment identifier should be the PostScript name; use the `fc-scan` command-line tool from the `fontconfig` package to get the postscript names from a TTC file: ``` $ fc-scan filename.ttc | grep postscriptname ``` `fontconfig` is [Open Source software from freedesktop.org](https://www.freedesktop.org/wiki/Software/fontconfig/), find it in your Linux package manager, or, on MacOS use homebrew to install it. You may want to tell browsers that the URL points to a font collection by adding `format(collection)` after the URL, in which case Firefox won't even download the file as it knows, without downloading, that it won't be able to use the fonts from the collection. Not that Firefox [yet supports the format() tag](https://caniuse.com/mdn-css_at-rules_font-face_src_format_keyword) on URLs, but we can hope. So, for any browsers that do support font collections in TTC files, the syntax is: ``` @font-face { font-family: Avenir Next; // assumption: the PostScript name for the specific font to pick is // Avenir-Next-Regular. Use fc-scan to find the correct fragment ID here. src: url('{{ asset("fonts/Avenir Next.ttc") }}#Avenir-Next-Regular') format(collection); } ``` Since Firefox doesn't yet support this, you are better off converting the TTC collection to individual fonts; preferably WOFF and WOFF2 for the broadest support. There are online tools that can do this for you; you should get fonts, and you'll need to select the one with the right weight from this to use. The `src:` property is a of options, the browser will pick the first supported. So you could keep the TTC file for browsers that support collections; these will download a single collection that can be shared between `@font-face` definitions, and then list WOFF2 and WOFF urls after that: ``` @font-face { font-family: Avenir Next; src: url('{{ asset("fonts/Avenir Next.ttc") }}#Avenir-Next-Regular') format(collection), url('{{ asset("fonts/Avenir Next Regular.woff2" }}') format(woff2), url('{{ asset("fonts/Avenir Next Regular.woff" }}') format(woff); } ``` If there are browsers that support font collections, using a TTF collection would have the benefit of limiting the number of requests you'd need to support multiple fonts, plus the combined fonts can be stored more efficiently if they share glyph information. The final caveat is that I don't know what browsers do support this; there is no information on this on CanIUse.com. I have [suggested CanIUse could provide this info](https://github.com/Fyrd/caniuse/issues/6566).
null
CC BY-SA 4.0
null
2023-01-11T23:31:18.047
2023-01-12T09:21:30.293
2023-01-12T09:21:30.293
100,297
100,297
null
75,090,390
2
null
75,090,246
4
null
The `VALUES` clause essentially represents a table, that is, all values in each column must be of the same type - the one that covers the widest of the provided values. The type of `CHAR(10) + CHAR(32) + CHAR(13)` [is CHAR(3)](https://dbfiddle.uk/Xsfta2x2). It is the widest of the provided values, thus, the entire column is typed as `char(3)`. `char`, unlike `varchar`, requires padding with spaces, so your first `VALUES` clause inserts the second and the third delimiters padded with a space to the length of 3. `TRIM()`, on the other hand, [returns a varchar](https://dbfiddle.uk/ygU9IQUQ), which does not require padding with spaces. So including the `TRIM` in the `VALUES` makes the entire column `varchar(3)`, and no spaces are added to the end of the last two lines.
null
CC BY-SA 4.0
null
2023-01-12T00:30:42.307
2023-01-12T00:40:51.833
2023-01-12T00:40:51.833
11,683
11,683
null
75,090,438
2
null
75,079,315
1
null
## Handling Dates - `IsDate`- ``` Option Explicit Sub ExportData() Dim dNames(): dNames = Array("Book1.xlsx", "Book2.xlsx") Dim sDateCols(): sDateCols = Array("AT", "AN") Dim sCols(): sCols = Array("AT:AC", "AN:AP") Dim swb As Workbook: Set swb = ThisWorkbook Dim sws As Worksheet: Set sws = swb.Sheets("Sales") Dim srg1 As Range: Set srg1 = sws.Columns("B:D") Dim slRow As Long: slRow = sws.Cells(sws.Rows.Count, "A").End(xlUp).Row Dim dwb As Workbook, dws As Worksheet, drg As Range Dim srg2 As Range, sr As Long, n As Long, sdCol As String For n = LBound(dNames) To UBound(dNames) Set dwb = Workbooks.Open("C:\Users\ignatevaeg\Excel\VBA\" & dNames(n)) Set dws = dwb.Sheets("Sales") Set drg = dws.Range("A1:C1") Set srg2 = sws.Columns(sCols) sdCol = sDateCols(n) For sr = 4 To slRow If IsDate(sws.Cells(sr, sdCol).Value) Then drg.Value = srg1.Rows(sr).Value drg.Offset(, 3).Value = srg2.Rows(sr).Value Set drg = drg.Offset(1) End If Next sr 'dwb.Close SaveChanges:=True Next n MsgBox "Data exported.", vbInformation End Sub ```
null
CC BY-SA 4.0
null
2023-01-12T00:40:47.123
2023-01-12T01:23:10.277
2023-01-12T01:23:10.277
9,814,069
9,814,069
null
75,090,839
2
null
75,085,563
0
null
The "pulse generator" in the diagram is merely a description of how the event generation hardware works. It is not a user accessible function. The difference between an interrupt and an event is not clear in ST's manuals, but an interrupt signals the NVIC, and will result in the associated handler code being executed, while an is used to directly signal a peripheral device. So here if the configured EXTI edge occurs, and the corresponding event mask bit is set, a pulse is generated signalling some other on-chip peripheral. > there any way to detect the generated pulse Not in the context of that diagram. It is probably irrelevant to whatever it is you are trying to do. > how should I do to achieve that way with std library? Classic X-Y problem, you have fixated a solution and are asking questions about the solution. You need to ask about the problem. Unfortunately it is entirely unclear what that problem is. Moreover what ""? Are you using the older "standard peripheral library" or the abysmal CubeMX library? If you want to simply generate an output pulse in response to an edge in an input, then most of the timer peripherals support that with zero software overhead. Search your parts reference manual for in relation to any of the available timer peripherals.
null
CC BY-SA 4.0
null
2023-01-12T02:03:19.013
2023-01-12T02:03:19.013
null
null
168,986
null
75,091,630
2
null
71,628,242
0
null
In settings section make sure build command is "npm run build" and not "npm build"
null
CC BY-SA 4.0
null
2023-01-12T04:30:10.350
2023-01-12T04:30:10.350
null
null
11,433,251
null
75,091,916
2
null
75,089,221
0
null
You can try this measure- ``` M = var current_quarter = min(your_table[Full_Quarter]) var current_time = min(your_table[Time_Def]) var prev_time = CALCULATE( MAX(your_table[Time_Def]), FILTER( ALL(your_table), your_table[Full_Quarter] = current_quarter && your_table[Time_Def] < current_time ) ) return current_time - prev_time ``` And set the measure type as marked in the below image- [](https://i.stack.imgur.com/AT3Yn.png)
null
CC BY-SA 4.0
null
2023-01-12T05:18:48.410
2023-01-12T05:18:48.410
null
null
3,652,345
null
75,091,944
2
null
75,089,925
0
null
To add two icons to an elevated button, just wrap your child widget with a row widget. See implementation below: ``` ElevatedButton( onPressed: () {}, child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: const [ Icon(Icons.home), Text('Home'), Icon(Icons.navigate_next) ], ), ), ``` [](https://i.stack.imgur.com/HTZZJ.jpg)
null
CC BY-SA 4.0
null
2023-01-12T05:24:53.163
2023-01-12T05:24:53.163
null
null
6,067,774
null
75,092,008
2
null
75,089,925
1
null
As per your shared Image I have try same design in Various ways choice is yours which way you want to try. ### Using ElevatedButton.icon ``` ElevatedButton.icon( icon: const Icon( Icons.mail, color: Colors.green, size: 30.0, ), label: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: const [ Text('Change Email Address'), Icon(Icons.arrow_forward_ios) ], ), onPressed: () { print('Button Pressed'); }, style: ElevatedButton.styleFrom( backgroundColor: Colors.white, foregroundColor: Colors.black, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(10.0), side: const BorderSide(color: Colors.black), ), fixedSize: const Size(double.infinity, 40), ), ), ``` Result Using [ElevatedButton.icon](https://api.flutter.dev/flutter/material/ElevatedButton/ElevatedButton.icon.html) -> [](https://i.stack.imgur.com/naaNz.png) ### Using OutlinedButton.icon ``` OutlinedButton.icon( icon: const Icon( Icons.mail, color: Colors.green, size: 30.0, ), label: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: const [ Text( 'Change Email Address', style: TextStyle( color: Colors.black, ), ), Icon( Icons.arrow_forward_ios, color: Colors.grey, ) ], ), onPressed: () { print('Button Pressed'); }, style: ElevatedButton.styleFrom( side: const BorderSide(color: Colors.black,), fixedSize: const Size(double.infinity, 40), ), ), ``` Result Using [OutlinedButton.icon](https://api.flutter.dev/flutter/material/OutlinedButton/OutlinedButton.icon.html) -> [](https://i.stack.imgur.com/7rSNs.png) ### Using ListTile ``` ListTile( onTap: () { print('Button Pressed'); }, visualDensity: const VisualDensity(horizontal: -4,vertical: -4), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(10.0), side: const BorderSide(color: Colors.black), ), leading: const Icon(Icons.mail,color: Colors.green), trailing: const Icon(Icons.arrow_forward_ios), title: const Text('Change Email Address'), ), ``` Result Using [ListTile](https://api.flutter.dev/flutter/material/ListTile-class.html) -> [](https://i.stack.imgur.com/bZJ37.png) ### Using GestureDetector ``` GestureDetector( onTap: () { print('Button Pressed'); }, child: Container( padding:const EdgeInsets.all(10), decoration: BoxDecoration( border: Border.all( color: Colors.black, width: 1, ), borderRadius: BorderRadius.circular(10),), child: Row( children: const [ Icon(Icons.mail, color: Colors.green), SizedBox(width: 10,), Text('Change Email Address'), Spacer(), Icon(Icons.arrow_forward_ios), ], ), ), ), ``` Result Using [GestureDetector](https://api.flutter.dev/flutter/widgets/GestureDetector-class.html) -> [](https://i.stack.imgur.com/tjxqy.png) ### Using InkWell ``` InkWell( onTap: () { print('Button Pressed'); }, child: Container( padding:const EdgeInsets.all(10), decoration: BoxDecoration( border: Border.all( color: Colors.black, width: 1, ), borderRadius: BorderRadius.circular(10),), child: Row( children: const [ Icon(Icons.mail, color: Colors.green), SizedBox(width: 10,), Text('Change Email Address'), Spacer(), Icon(Icons.arrow_forward_ios), ], ), ), ), ``` Result Using [InkWell](https://api.flutter.dev/flutter/material/InkWell-class.html)-> [](https://i.stack.imgur.com/3M3ER.png)
null
CC BY-SA 4.0
null
2023-01-12T05:35:10.207
2023-01-12T05:35:10.207
null
null
13,997,210
null
75,092,167
2
null
67,705,738
0
null
in my case, I was using a Source Download which I was : `kafka-3.3.1-src.tgz` `Scala 2.13 - kafka_2.13-3.3.1.tgz` you can download it from [https://kafka.apache.org/downloads](https://kafka.apache.org/downloads)
null
CC BY-SA 4.0
null
2023-01-12T06:00:13.980
2023-01-12T06:00:13.980
null
null
6,839,331
null
75,092,329
2
null
74,745,255
6
null
If anyone else encountered this issue - the reason lies in the CSS property "position: absolute". If your code posseses "position: absolute" you may want to change it to "fixed" or "relative", depending on your needs. My code needed 2 changes. One required massive refactoring since changing the position property enforced me to recalculate lots of other elements. The second took only 3 lines of code but alot longer to find since it made me override "Charts.js" internal CSS styling and implemented the "!important" flag, like so (my app uses chartjs version 2.9.4): ``` .chartjs-size-monitor-expand > div { position: fixed !important; // cannot stay "absolute" } ``` The "position: absolute" property appears in 3 other classes, so if the above suggestion does not suffice - you may want to try the following (or locate other places containing absolute position): ``` .chartjs-size-monitor, .chartjs-size-monitor-shrink, .chartjs-size-monitor-expand, .chartjs-size-monitor-expand > div { position: fixed !important; // cannot stay "absolute" } ``` Hope this helps. Good luck.
null
CC BY-SA 4.0
null
2023-01-12T06:23:15.193
2023-01-12T06:23:15.193
null
null
14,357,380
null
75,092,754
2
null
25,994,057
0
null
Here's a focused answer with some comments. This works for `UITextView` and `UILabel` on iOS 16. ``` let rubyAttributes: [CFString : Any] = [ kCTRubyAnnotationSizeFactorAttributeName : 0.5, kCTRubyAnnotationScaleToFitAttributeName : 0.5, ] let annotation = CTRubyAnnotationCreateWithAttributes( .center, // Alignment relative to base text .auto, // Overhang for adjacent characters .before, // `before` = above, `after` = below, `inline` = after the base text (for horizontal text) "Ruby!" as CFString, rubyAttributes as CFDictionary ) let stringAttributes = [kCTRubyAnnotationAttributeName as NSAttributedString.Key : annotation] NSAttributedString(string: "Base Text!", attributes: stringAttributes) ``` Note, you may want to `UITextView.textContainerInset.top` to something larger than the default to avoid having the ruby clipped by the scrollview. [](https://i.stack.imgur.com/nhsQr.png)
null
CC BY-SA 4.0
null
2023-01-12T07:16:21.187
2023-01-12T07:16:21.187
null
null
467,209
null
75,092,798
2
null
75,083,719
0
null
``` final View view1 = findViewById(R.id.view1); final Rect rectOfView1 = new Rect(); view1.post(() -> view1.getGlobalVisibleRect(rectOfView1)); // populating the rectOfView1 after the view1 is inflated final View view2 = findViewById(R.id.view2); view2.setOnTouchListener((v, event) -> { if (rectOfView1.contains((int) event.getRawX(), (int) event.getRawY())) { Log.d("view1 event", "triggered"); return true; } Log.d("view2 event", "triggered"); return true; }); ```
null
CC BY-SA 4.0
null
2023-01-12T07:22:21.150
2023-01-12T07:22:21.150
null
null
6,733,315
null
75,092,832
2
null
75,090,973
-2
null
yes, you can definitely do this. First, you need to track the `GameObject` or `Transform` of the letters, for example: `Transform[] letters` Then, you need to set their position, for example: ``` int width = 100; for(int i = 0; i < letters.Length; i++) { letters[i].position = new Vector3(i*width, 0): } ``` Another thing that you can do is, have a prefab of each letter then instantiate the letters based on the word and place them in order. A final idea, is to Instantiate your letters into an object with a Horizontal Layout Group.
null
CC BY-SA 4.0
null
2023-01-12T07:26:33.713
2023-01-12T07:26:33.713
null
null
17,795,208
null
75,093,001
2
null
74,764,368
-1
null
> Version: 4.17.0.RELEASE : I also had the same problem of multiple Language Server Background Job (Loading rewrite recipes). When we click `Window` Menu > `Preferences` > `Langauge Server` > `Spring Langauge Server` > `Spring Boot Langauge Server` > [Spring Boot Langauge Server](https://i.stack.imgur.com/IyY1p.png) When we click `Window` Menu > `Preferences` > `Langauge Server` > `Spring Langauge Server` > `Spring Boot Langauge Server` > `Open Rewrite` > [Open Rewrite](https://i.stack.imgur.com/Gpe8X.png) Click on `Apply and Close` button Restart your IDE I hope this answer will help. Thanks
null
CC BY-SA 4.0
null
2023-01-12T07:43:11.353
2023-01-12T07:43:11.353
null
null
20,892,206
null
75,093,012
2
null
43,415,452
0
null
All the answers here are mentioning online converter tools. You can also use Excel's built-in data importer. I found it useful when I have to export it in a excel table. Say I have the following data: [](https://i.stack.imgur.com/cP27v.png) Similar like other answers, click the triple dot > Export JSON.. Then, open Excel. Go to Data > Get Data > From File... > From JSON [](https://i.stack.imgur.com/L3omu.png) Then, click on [](https://i.stack.imgur.com/obsCr.png) Click, [](https://i.stack.imgur.com/tZ4IQ.png) Result: [](https://i.stack.imgur.com/PuzCN.png)
null
CC BY-SA 4.0
null
2023-01-12T07:45:05.583
2023-01-12T07:45:05.583
null
null
13,617,136
null
75,093,174
2
null
75,089,026
0
null
Seems there are two parts: One is the undefined error, the other is your get element. For the first, I believe kellermat's comment is probably right: Your `getElementById('#lastVote')` shouldn't have the `#` in it. It's not a css selector - at which point you would be right to use a `#`. It's already expecting an id, so it doesn't need or want the `#` to identify it as being such. Just `getElementById('lastVote')` should do it. Secondly, the actual error which is above that line anyway - the error says it all: `component.voterTestComponent` is undefined. Given the error is not `(reading 'voterTestComponent')`, it means that `component` is filled, but there is no value to the `voterTestComponent` on that `component` object. Presumably your other tests (that we get a peek at) are passing? They are making use of, e.g., `component.voterTestComponent.yesAnswer` and so must be properly populated. What is different between those tests and this one such that it wouldn't be properly populated?
null
CC BY-SA 4.0
null
2023-01-12T08:04:11.520
2023-01-12T08:04:11.520
null
null
1,585,218
null
75,093,459
2
null
47,559,916
0
null
Bootstrap adds an automatic horizontal spacing to row classes. So override it by setting the horizontal space (i.e. margin) to 0, just like; ``` <div class="row mx-0"> .... </div> ```
null
CC BY-SA 4.0
null
2023-01-12T08:34:02.127
2023-01-12T08:37:38.953
2023-01-12T08:37:38.953
20,989,822
20,989,822
null
75,093,681
2
null
75,092,252
0
null
There is no error in your code. It's like inline and external css in html. Here is an example : ``` Text( 'Hello World', style: Theme.of(context).textTheme.subtitle1!.copyWith( fontFamily: 'Helvetica', ), ) ``` Since the changing fontfamily process here is more specific than the process in theme so the font will be Raleway for other texts and Helvetica for this text. In summary, the order is as follows : theme > text theme > text style ..
null
CC BY-SA 4.0
null
2023-01-12T08:53:57.340
2023-01-12T08:53:57.340
null
null
15,144,818
null
75,093,800
2
null
75,092,819
0
null
Looks like your column is set as a text or other non-numeric datatype. Check in the Power Query editor the column datatype [](https://i.stack.imgur.com/n8o2I.png) Column1, is set at Text, and will only allow counts, Column2 is set as an Numeric Integer and will allow sum/min/max aggregations Also you can check in the column tools in the report designer, and see what the data type is set there, you can have in the Power Query editor it set as an numeric, but set here as a text, which can also affect the aggregation types. [](https://i.stack.imgur.com/oDLMX.png)
null
CC BY-SA 4.0
null
2023-01-12T09:03:21.560
2023-01-12T09:03:21.560
null
null
9,468,455
null
75,094,321
2
null
74,455,801
0
null
Im using this way to do it. thank you for your recommendation... ``` 'COPY DATA DARI SHEET KASIR KE SHEET DAFTAR TRANSAKSI Sub SimpanDafta() 'PILIH SHEET YANG AKAN DICOPY, YAITU SHEET : KASIR ActiveSheet.ListObjects("tblkasir").ListColumns(2).DataBodyRange.Resize(, 9).Select Selection.Copy 'PILIH SHEET YANG AKAN DIPASTE, YAITU SHEET : DAFTAR TRANSAKSI Sheets("daftar transaksi").Select Do If IsEmpty(ActiveCell) = False Then ActiveCell.Offset(1, 0).Select End If Loop Until IsEmpty(ActiveCell) = True ActiveSheet.Paste End Sub ```
null
CC BY-SA 4.0
null
2023-01-12T09:46:10.643
2023-01-13T06:56:45.037
2023-01-13T06:56:45.037
3,219,613
20,516,547
null
75,094,517
2
null
74,744,561
1
null
``` Try this. import AsyncStorage from '@react-native-async-storage/async-storage'; export default function App() { const [aldreadyLaunched, setaldreadyLaunched] = useState(true) useEffect(() => { AsyncStorage.getItem("alreadyLaunched").then((value) => { if (value == "false") { let parsedValue = JSON.parse(value) setaldreadyLaunched(parsedValue) } }) },[]) return (<> display introductory screen when the already launched state is true and when the false display login or directly main screen </>) } ```
null
CC BY-SA 4.0
null
2023-01-12T10:01:41.183
2023-01-12T10:01:41.183
null
null
20,990,371
null
75,094,694
2
null
75,091,880
1
null
You forgot to put `-` before `time`. ``` def dif_f0_b(time, tau, b): return (-1)*math.exp(time/tau) + 1 ``` must be ``` def dif_f0_b(time, tau, b): return (-1)*math.exp(-time/tau) + 1 ```
null
CC BY-SA 4.0
null
2023-01-12T10:15:08.260
2023-01-12T10:15:08.260
null
null
20,990,398
null
75,094,732
2
null
75,090,462
0
null
Description displayed on google results can be different from the meta description of your website for multiples reasons. Google crawlers doesn't crawl websites everytime, there may be a delay of few hours to few days between your meta description modification and the moment when google update the description displayed on search results. As we can see and your page, the meta description seems correct. It 's possible that you already fixed your problem but you'll have to wait for Google to update it on their side. You can check google search console to force a new indexation of your page, or (re)send your xml sitemap. It can accelerate the process. Also, keep in mind that Google can use an excerpt of your page content instead of your meta description if Google decides that the excerpt he found on your page is more relevant than your meta description, depending on keyword searched by the user. Example : You have a page talking about cars, and the user search for "engine" in google. If your meta description does not contain the word "engine" but your page content has a text containing it, there is high probability that Google display a description with an excerpt of that content instead of your meta description. It can be confusing
null
CC BY-SA 4.0
null
2023-01-12T10:18:36.320
2023-01-12T10:18:36.320
null
null
15,424,776
null
75,094,872
2
null
75,090,194
1
null
According to [https://spring.io/projects/spring-cloud](https://spring.io/projects/spring-cloud) Spring Cloud 2022.0.x aka Kilburn is compatible with Spring Boot 3.0.x But: > Spring Cloud GCP is no longer part of the Spring Cloud release train. The new repository location is [https://github.com/GoogleCloudPlatform/spring-cloud-gcp](https://github.com/GoogleCloudPlatform/spring-cloud-gcp). If you are upgrading from version 1.x, take a look at the migration guide to upgrade from version 1.x to 2.0.0 (or later). And according to [https://github.com/GoogleCloudPlatform/spring-cloud-gcp](https://github.com/GoogleCloudPlatform/spring-cloud-gcp) there is no Spring Boot 3 version available.
null
CC BY-SA 4.0
null
2023-01-12T10:29:53.607
2023-01-12T10:29:53.607
null
null
1,045,142
null
75,095,033
2
null
30,615,067
0
null
In my case, I have maven runner and importer set to use Project JDK, but I managed to solve this problem by changing JDK from OpenJDK to Liberica JDK (same Java version) and it magically started working. So for anyone with similar problem, try to change JDK to different implementation.
null
CC BY-SA 4.0
null
2023-01-12T10:41:12.957
2023-01-12T10:41:12.957
null
null
2,678,458
null
75,095,339
2
null
75,095,242
-1
null
With C# .NET 7.0 you have a Location property you can access like this ``` var location = responsee.Headers.Location; ```
null
CC BY-SA 4.0
null
2023-01-12T11:04:45.383
2023-01-12T11:37:44.543
2023-01-12T11:37:44.543
2,501,279
10,753,712
null
75,095,427
2
null
75,095,303
0
null
you just need to change "flex-direction: row;" property in the class ".login-form-footer" in your sandbox.
null
CC BY-SA 4.0
null
2023-01-12T11:10:49.540
2023-01-12T11:10:49.540
null
null
4,401,310
null
75,095,433
2
null
45,559,610
0
null
Check the error logs: <postgresql_path>\data\log In my case, it was a simple syntax error after adding a conf in pg_hba.conf
null
CC BY-SA 4.0
null
2023-01-12T11:11:08.553
2023-01-12T11:11:08.553
null
null
4,808,346
null
75,095,625
2
null
75,082,108
0
null
Got the rights answer thank you so much guys ``` =ARRAYFORMULA(IF((Y2:Y="VUL")*(L2:L="ANNUAL"),V2:V*0.03, IF((Y2:Y="VUL")*(L2:L="QUARTERLY")*(V2:V>0), V2:V*AB2:AB, IF((Y2:Y="VUL")*(L2:L="SEMI ANNUAL")*(V2:V>0), V2:V*AB2:AB, "0")))) ```
null
CC BY-SA 4.0
null
2023-01-12T11:26:54.500
2023-01-12T11:27:25.403
2023-01-12T11:27:25.403
20,982,250
20,982,250
null
75,095,726
2
null
74,744,561
1
null
Try this ..... ``` const [loading, setLoading] = useState(true); const [isFirstTimeLoad, setIsFirstTimeLoad] = useState(false); const checkForFirstTimeLoaded = async () => { const result = await AsyncStorage.getItem('isFirstTimeOpen'); console.log('result:', result); if (result == null) { setIsFirstTimeLoad(true); setLoading(false); } else { setIsFirstTimeLoad(false); setLoading(false); } }; if (loading) return ( <View style={{flex:1,justifyContent:'center',alignItems:'center'}}> <ActivityIndicator size={'large'} color={'black'}/> </View> ); if (isFirstTimeLoad) return ( <NavigationContainer> <Stack.Navigator initialRouteName="OnboardingScreen" screenOptions={{ headerShown: false, // header: () => <MainHeader />, }}> <Stack.Screen name="OnboardingScreen" component={OnBoardingScreen} /> <Stack.Screen name="login" component={Login} /> <Stack.Screen name="home" component={Home} /> <Stack.Screen name="register" component={Register} /> <Stack.Screen name="mobileverify" component={MobileVerify} /> <Stack.Screen name="listscreen" component={ListData} /> </Stack.Navigator> </NavigationContainer> ); if (!isFirstTimeLoad) return <Login />; ```
null
CC BY-SA 4.0
null
2023-01-12T11:33:51.437
2023-01-12T11:33:51.437
null
null
20,039,543
null
75,095,824
2
null
75,084,750
0
null
As answer to this issue, I found out that you should restart your serve after declaring ENV variables - didn't knew this..
null
CC BY-SA 4.0
null
2023-01-12T11:43:33.123
2023-01-12T11:43:33.123
null
null
17,919,103
null
75,096,127
2
null
75,091,940
2
null
## Insert Split Cell Values - `.Rows(r).Insert``.Cells(r, "O").Insert`- `.Rows(r).Copy` ``` Option Explicit Sub SplitDescriptions() With ThisWorkbook.Sheets("Sheet1") Dim Descriptions() As String, dUpper As Long, d As Long Dim r As Long, rString As String For r = .Cells(.Rows.Count, "O").End(xlUp).Row To 3 Step -1 rString = CStr(.Cells(r, "O").Value) If InStr(rString, ",") > 0 Then Descriptions = Split(rString, ",") dUpper = UBound(Descriptions) For d = 0 To dUpper .Cells(r, "O").Value = Descriptions(d) If d < dUpper Then .Rows(r).Insert Next d End If Next r End With End Sub ``` - ``` For d = dUpper To 0 Step -1 .Cells(r, "O").Value = Descriptions(d) If d > 0 Then .Rows(r).Insert Next d ```
null
CC BY-SA 4.0
null
2023-01-12T12:09:00.810
2023-01-12T12:40:35.417
2023-01-12T12:40:35.417
9,814,069
9,814,069
null
75,096,576
2
null
75,084,551
1
null
When using `%1`, the shell tries to guess if the target supports long filenames. If you use `%L`, the shell always uses the long filename if the target is 32 or 64-bit. 16-bit applications presumably still get the short name? `%L` is not officially documented anywhere but a Microsoft employee listed them in a [comment here](https://web.archive.org/web/20111002101214/http://msdn.microsoft.com/en-us/library/windows/desktop/cc144101(v=vs.85).aspx#)...
null
CC BY-SA 4.0
null
2023-01-12T12:49:41.203
2023-01-12T12:49:41.203
null
null
3,501
null
75,096,753
2
null
75,066,325
0
null
I got the solution. Even it is java script, it is working with the below code ``` For Each Element In MyHTML_Element.Links If InStr(MyHTML_Element.innerText, "Login") Then Call MyHTML_Element.Click Application.Wait (Now() + TimeValue("00:00:3")) End If Next ```
null
CC BY-SA 4.0
null
2023-01-12T13:03:58.507
2023-01-12T13:03:58.507
null
null
20,971,498
null
75,096,787
2
null
74,894,455
12
null
I had the same issue on windows 10 with Rstudio 2022.12.0 Build 353 with R 4.2.2 (2022-10-31 ucrt), and I solved it by unticking the "Automatically activate project-local Python environments" option that can be found by going to Tools > Global options... > Python". [](https://i.stack.imgur.com/LOz7t.png) --- you may also add your favorite python interpreter, which, as expected, is also another way to solve this error. I still have to test and play around to see if this will be useful for me, but you can even select a python from a specific conda environment as your default interpreter. [](https://i.stack.imgur.com/SQd3h.png) I won't get into what seems to be the recommended practices, but I found this [blog post by Posit on how to set and use Python in Rstudio](https://support.posit.co/hc/en-us/articles/1500007929061-Using-Python-with-the-RStudio-IDE)
null
CC BY-SA 4.0
null
2023-01-12T13:07:39.180
2023-01-26T15:48:54.847
2023-01-26T15:48:54.847
2,116,422
2,116,422
null
75,097,244
2
null
75,096,009
0
null
If you need discrete colors, I believe you can change the `colorscale` to: ``` color_continuous_scale=[(0.0, "red"), (3.0, "red"), (3.0, "yellow"), (8.0, "Yellow"), (8.0, "green"), (15.0, "gree")]) ```
null
CC BY-SA 4.0
null
2023-01-12T13:44:21.373
2023-01-12T13:44:21.373
null
null
14,649,447
null
75,097,311
2
null
75,094,621
0
null
You can use `defineSecret()` function as mentioned in the [documentation](https://firebase.google.com/docs/functions/config-env#secret_parameters). Try: ``` let nodemailer = require('nodemailer'); var smtpTransport = require('nodemailer-smtp-transport'); const secretName = defineSecret('SECRET_NAME'); const transporter = nodemailer.createTransport( smtpTransport({ service: 'gmail', auth: { user: '[email protected]', pass: secretName.value() }, }) ); ```
null
CC BY-SA 4.0
null
2023-01-12T13:49:00.803
2023-01-12T13:49:00.803
null
null
13,130,697
null
75,097,345
2
null
75,097,299
0
null
You need to change 1 line in your model class... ``` List<ProductCategory> categoryController; ``` TO ``` List<ProductCategory?> categoryController; ``` Add question mark after ProductCategory will make that list item nullable.
null
CC BY-SA 4.0
null
2023-01-12T13:51:09.477
2023-01-12T13:51:09.477
null
null
13,954,519
null
75,097,383
2
null
75,097,251
0
null
I think what you need is `public TMP_Text dialogueText`
null
CC BY-SA 4.0
null
2023-01-12T13:54:20.757
2023-01-12T13:54:20.757
null
null
19,043,015
null
75,097,483
2
null
75,097,299
0
null
try to make your list like this ``` List< yourObject ? > categoryController; ```
null
CC BY-SA 4.0
null
2023-01-12T14:02:40.197
2023-01-12T14:02:40.197
null
null
15,383,394
null
75,097,547
2
null
75,097,299
0
null
You need to make `StreamController`'s dataType nullable, to add null. ``` final StreamController<List<ProductCategory>?> categoriesController; ``` Find more about [understanding-null-safety](https://dart.dev/null-safety/understanding-null-safety).
null
CC BY-SA 4.0
null
2023-01-12T14:07:19.743
2023-01-12T14:07:19.743
null
null
10,157,127
null
75,097,796
2
null
52,046,815
0
null
@butterwagon: I tested your work around and found that it fails for expressions like `x + 1`, where it returns just `x`. To solve that I'd recommend to change the line > additive_terms = expr.as_coeff_add()[-1] to ``` const, additive_terms = expr.as_coeff_add() ``` and add `const` to the final result: ``` new_expr += const ```
null
CC BY-SA 4.0
null
2023-01-12T14:24:46.640
2023-01-12T14:24:46.640
null
null
19,145,751
null
75,097,919
2
null
75,097,457
0
null
The file cannot be played in Android Studio, Because it does not contain multimedia player. Go to the file path and run it externally.
null
CC BY-SA 4.0
null
2023-01-12T14:33:26.047
2023-01-12T14:33:26.047
null
null
20,992,325
null
75,097,931
2
null
75,097,840
2
null
`Double` comes from dart ffi, > Represents a native 64 bit double in C. Double is not constructible in the Dart code and serves purely as marker in type signatures. you mostly don't want it, use `double` instead. Find more about [numbers in dart](https://dart.dev/guides/language/numbers) and [dart-ffi/Double](https://api.dart.dev/stable/2.18.6/dart-ffi/Double-class.html)
null
CC BY-SA 4.0
null
2023-01-12T14:34:10.540
2023-01-12T14:34:10.540
null
null
10,157,127
null
75,098,315
2
null
42,890,538
0
null
As comment suggests, use a `twoways` effect as option of the `plm` command. This accounts for unit and time fixed effects and `stargazer` can handle it. ``` data("Produc", package="plm") fe <- plm(pcap ~ hwy + water + unemp, data=Produc, index=c("state", "year"), model = "within", effect = "twoways") stargazer(fe, type="text") ======================================== Dependent variable: --------------------------- pcap ---------------------------------------- hwy 1.960*** (0.059) water 1.970*** (0.049) unemp -42.600 (27.300) ---------------------------------------- Observations 816 R2 0.818 Adjusted R2 0.802 F Statistic 1,123.000*** (df = 3; 749) ======================================== Note: *p<0.1; **p<0.05; ***p<0.01 ```
null
CC BY-SA 4.0
null
2023-01-12T15:01:11.067
2023-01-12T15:01:11.067
null
null
8,833,311
null
75,098,540
2
null
17,997,128
0
null
## 2023 | KOTLIN ## The element to be scrolled must be added to the stage or group before passing it to the ScrollPane 1. Create the necessary actor and add it to the stage or group val actor = Actor() [Stage/Group].addActor(actor) 2. Create a ScrollPane and place an actor in it val scrollPane = ScrollPane(actor) 3. Set the position and dimensions for the actor and the ScrollPane actor.setBounds(x,y,w,h) | scrollPane.setBounds(x,y,w,h) --- ## PS. Vel_daN: Love what You DO . ---
null
CC BY-SA 4.0
null
2023-01-12T15:16:47.793
2023-01-12T15:16:47.793
null
null
14,510,925
null
75,098,582
2
null
75,098,090
0
null
In your RSLinx Classic screenshot, you are seeing the PLC using a driver named "AB_ETH-1_ERHWSC". However, in your Studio5000 Who Active screenshot, the driver you are looking at is named "AB-ETHIP-1". In addition, Studio5000 is not currently using RSLinx Classic, but instead is using FactoryTalk Linx. You can switch Studio5000 to use RSLinx Classic by going to the Communications menu and selecting "Select Communications Software..." After you do that, go into Who Active, find the "AB_ETH-1_ERHWSC" driver, and you should be able to see the PLC there.
null
CC BY-SA 4.0
null
2023-01-12T15:19:37.183
2023-01-12T15:19:37.183
null
null
2,600,278
null
75,098,646
2
null
75,095,650
1
null
There are many aspects to consider when selecting an approach, so basically answering your question will mostly be giving you pointers that you can research deeper on. Here are some approaches you should review that will greatly depend on your service: - - - The most common auth method in REST based microservices is [OAuth](https://en.wikipedia.org/wiki/OAuth), with JWT tokens. I recommend that you look deeper into that. Taking OAuth and looking at your question, you still have different flows in OAuth that you will use according to the use case. For example, generating tokens for users will be different than for services. Then you still need to decide which token to use in each service: will the services behind the gateway accept user tokens, or only service-to-service tokens? This has implications to the architecture that you need to evaluate. When using user tokens you can encode the user ID in the token, and extract it from there. But if you use user tokens everywhere, then it assumes services only talk to each other as part of a user flow, and you are enforcing that through the use of a user token. If you go with service-to-service tokens (a more common approach, I'd say) you need to pass the user ID some other way (again, this depends your chosen architecture). Thinking of REST, you can use the Headers, Request Params, Request Path, Request Body. You need to evaluate the trade-offs for each depending on the business domain of each service, which influences the API design. If you don't use tokens at all because all your services are inside a secured network, then you still have to use some aspect of your protocol to pass the user ID (headers, parameters, etc...)
null
CC BY-SA 4.0
null
2023-01-12T15:24:44.447
2023-01-12T15:24:44.447
null
null
3,639,962
null
75,098,667
2
null
21,369,368
0
null
Using adb > adb shell am start -n com.android.systemui/.Somnambulator
null
CC BY-SA 4.0
null
2023-01-12T15:26:22.160
2023-01-12T15:26:22.160
null
null
14,879,253
null
75,098,693
2
null
24,492,901
0
null
You can disable the default port forwarding completely by adding the following to the Homestead.yaml: ``` default_ports: false ``` Or configure however you like by adding something like: ``` ports: - send: 80 to: 80 ```
null
CC BY-SA 4.0
null
2023-01-12T15:28:24.070
2023-01-12T15:45:11.897
2023-01-12T15:45:11.897
2,279,210
2,279,210
null
75,098,878
2
null
75,098,666
0
null
I miss the `%`. Correct code: ``` magick .\base.jpg .\logo.png -resize %[fx:t?u.w*0.1:u.w]x%[fx:t?u.h*0.1:u.h] -gravity northeast -geometry +%[fx:t?u.w*0.03:u.w]+%[fx:t?u.w*0.03:u.w] -composite output.png ``` See [Format and Print Image Properties](https://imagemagick.org/script/escape.php) # The reasoning behind the %[fx:t?u.w*0.9:u.w] From [The FX Special Effects Image Operator](https://imagemagick.org/script/fx.php): ``` u: first image in list v: second image in list t: index of current image (s) in list w: width of this image ``` So in plain language, it means that if the image in question is the second image, whose index is one, of which the ternary conditional operator also read as true, then resize it to 90% width of the first image, else do no resize. Or else `-resize` option will [apply to each images in an image sequence](https://imagemagick.org/script/command-line-processing.php#operator) (i.e. all input images before it, but not after it).
null
CC BY-SA 4.0
null
2023-01-12T15:43:36.473
2023-01-13T10:24:59.717
2023-01-13T10:24:59.717
3,416,774
3,416,774
null
75,098,991
2
null
73,222,347
0
null
The other packages in your image are in fact not the `lodash` package, but other individual packaged lodash functions. See: [https://www.npmjs.com/package/lodash.debounce](https://www.npmjs.com/package/lodash.debounce) If you haven't added them to your package.json, then it is likely that your dependencies did and they are bundled alongside `lodash`. I personally would recommend not to optimize these imports, since they are quite small in comparison, but attempt to use tree-shakeable lodash imports, which would help much more. i.e. Do not ``` import {keyBy} from 'lodash' // Bundled as lodash.js. Though there are babel plugins that would convert this to imports below. ``` Do ``` import keyBy from 'lodash/keyBy' // Bundled as keyBy.js. One of the small squares next to lodash.js ``` Doing so would eliminate bundling the complete lodash.js, which your application very likely doesn't completely utilize.
null
CC BY-SA 4.0
null
2023-01-12T15:52:08.067
2023-01-12T15:52:08.067
null
null
1,993,909
null
75,099,025
2
null
74,835,726
-1
null
Just run `bundle install` in you app's root folder
null
CC BY-SA 4.0
null
2023-01-12T15:55:00.317
2023-01-12T15:55:00.317
null
null
11,520,840
null
75,099,127
2
null
75,094,231
1
null
A for loop using an anchor (`ilast`): ``` v <- c(100, 102, 102, 90, 99, 99, 96, 96, 94, 94, 96, 96, 97, 97) d <- diff(v) out <- vector("list", length(d)%/%2) io <- 0L fall <- FALSE for (i in 1:length(d)) { if (d[i] < 0) { ilast <- i fall <- TRUE } else if (d[i] > 0) { if (fall) out[[io <- io + 1L]] <- ilast:(i + 2L) ilast <- i fall <- FALSE } } out <- out[1:io] out #> [[1]] #> [1] 3 4 5 6 #> #> [[2]] #> [1] 8 9 10 11 12 ```
null
CC BY-SA 4.0
null
2023-01-12T16:02:41.640
2023-01-12T16:02:41.640
null
null
9,463,489
null
75,099,187
2
null
14,474,452
0
null
I added a style, then color of your choice and make sure to make it bold
null
CC BY-SA 4.0
null
2023-01-12T16:08:11.267
2023-01-12T16:09:47.207
2023-01-12T16:09:47.207
20,993,411
20,993,411
null
75,099,191
2
null
67,359,377
0
null
I was facing this same issue and solved it later by updating my Vivo phone to android 12 and connecting to Android Studio with wireless debug (wireless debug in Android Studio: [https://developer.android.com/studio/command-line/adb](https://developer.android.com/studio/command-line/adb)) it worked for me very well.
null
CC BY-SA 4.0
null
2023-01-12T16:08:27.107
2023-01-12T16:12:28.290
2023-01-12T16:12:28.290
15,593,880
15,593,880
null
75,099,208
2
null
75,095,442
0
null
As you have mentioned in your question, you will need to use a 2D array or otherwise you can use the `malloc()` function. In your code you have a array with `1000 * sizeof(char)` bytes. So bassically you have 1000 uninitialised pointers. But there are no pointers allocated that are able to store the lines of the file.
null
CC BY-SA 4.0
null
2023-01-12T16:09:30.733
2023-01-12T16:09:30.733
null
null
15,387,728
null
75,099,248
2
null
75,092,083
0
null
Have you tried using [mplfinance](https://github.com/matplotlib/mplfinance#contents-and-tutorials) ? Using the data you posted: ``` import mplfinance as mpf import pandas as pd df = pd.read_csv('sbin.csv', index_col=0, parse_dates=True) mpf.plot(df, type='candle', ema=(10,50), style='yahoo') ``` The result: [](https://i.stack.imgur.com/2AaZD.png)
null
CC BY-SA 4.0
null
2023-01-12T16:12:20.270
2023-01-12T16:12:20.270
null
null
1,639,359
null
75,099,427
2
null
75,065,570
0
null
Not sure if this is what you are looking for: Like Amir said lots of information on using divs,flex,grid in css. I feel like the classless link is making your inputs do that everytime I link to it, it puts everything in columns. ``` <!DOCTYPE html> <html> <head> <title>Equipments</title> <meta charset="utf-8"> <link rel="stylesheet" a href="./css/main.css"> <!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.min.css"> --> </head> <body> <div class="nav"> <h2>List Of Equipments</h2> <div class="navs"> <!-- Search Bar Name--> <form action="search.php" method="GET"> <label for="Search">Search Equipment</label> <input type="text" name="query" placeholder="Search Equipment"><br> <input id="Sbutton" type="submit" value="Go"> </form> </div> <!-- Search Bar Price--> <div class="navs"> <form action="searchprice.php" method="post"> <label for="min_price">Minimum price:</label> <input type="text" name="min_price" id="min_price"><br> <label for="max_price">Maximum price:</label> <input type="text" name="max_price" id="max_price"><br> <input id="Sbutton2" type="submit" name="submit" value="Search"> <button id="Sbutton3" onclick="window.location='add_equipment.php'">Add Equipment</button> </form> </div> </div> </body> </html> ``` Here is the CSS when I am styling I like to change background of each div class so I can get a visual of what is happening as I change code. ``` .nav{ display: flex; flex-direction: column; margin: 10px; margin-left: 15%; margin-right: 15%; padding-bottom: 20px; background-color: rgb(77, 76, 76); } h2{ text-align: center; font-size: 24px; font-weight:bolder; } .navs { width: 50%; background-color: rgb(108, 109, 109); height: 150px; text-align: center; margin-left: 25%; margin-top: 20px; padding-top: 10px; } #Sbutton{ font-size: 16px; height: 150%; width: 15%; margin-left: 15%; margin-top: 10px; } #Sbutton2{ font-size: 16px; height: 150%; width: 15%; margin-left: 15%; margin-top: 10px; } #Sbutton3{ font-size: 16px; height: 150%; width: 25%; margin-top: 10px; } table{ border:3px solid gray; border-collapse: collapse; } th{ border: 2px solid gray; padding: 6px; } td{ border: 2px solid gray; text-align: center; } ``` Hope this helps.
null
CC BY-SA 4.0
null
2023-01-12T16:27:25.277
2023-01-12T16:27:25.277
null
null
20,811,635
null
75,099,996
2
null
49,334,843
0
null
Based on the solution from @deoKasuhal I developed the following approach to scale an image so that the bigger size (width or height) don't exceeds a defined maximum size, defined by the parameter 'base'. Example: if the original size is width = 4000 and height = 3000 and the parameter 'base' is set to 200 the returned image has the size 200 x 150 (or vice versa if height is bigger than width): ``` extension UIImage { func resize(toBase base: CGFloat) -> UIImage { guard base > 0 else { return self } let widthRatio = base / max(self.size.width, 1) let heightRatio = base / max(self.size.height, 1) var updateSize = CGSize() if (widthRatio > heightRatio) { updateSize = CGSize(width:self.size.width * heightRatio, height:self.size.height * heightRatio) } else { updateSize = CGSize(width:self.size.width * widthRatio, height:self.size.height * widthRatio) } UIGraphicsBeginImageContextWithOptions(updateSize, false, UIScreen.main.scale) self.draw(in: CGRect(origin: .zero, size: updateSize)) if let newImage = UIGraphicsGetImageFromCurrentImageContext() { UIGraphicsEndImageContext() return newImage } else { UIGraphicsEndImageContext() return self } } ``` }
null
CC BY-SA 4.0
null
2023-01-12T17:13:40.090
2023-01-12T17:13:40.090
null
null
13,662,648
null
75,100,503
2
null
75,079,789
0
null
You can add `\scriptstyle` to each inner component of `\splitfrac` to decrease font in that three part fraction. I also added another example of your table with the straight fraction. IMO it looks much clearer. Besides, can the first terms be reduced? As a side note, If you add something larger than one line to `array` or `tabular` with rules, it is almost always required to provide extra vertical spacing. Otherwise, the content "hugs" both top and the bottom rules. `mathtools` provides a macro `\xmathstrut[]{}` which helps with that. [](https://i.stack.imgur.com/561DA.png) ``` \documentclass{article} \usepackage{array} \usepackage{booktabs} \usepackage{float} \usepackage{mathtools} \NewExpandableDocumentCommand{\spr}{m}{\specialrule{#1}{0pt}{0pt}} \begin{document} \begin{table}[H] \renewcommand*{\arraystretch}{1.25} \DeclareDocumentCommand{\heavyrulewidth}{}{2pt} \DeclareDocumentCommand{\lightrulewidth}{}{2pt} \[ \begin{array}{l@{\hspace{0.5em}}l|c} \spr{\heavyrulewidth} \mathrlap{Case} & & \beta_H^{*} \\ \spr{\lightrulewidth} (1) & I & p(-p-q_I+1) \\ \spr{0.4pt} (2) & I+H+L & \frac{ \splitfrac{ \scriptstyle 2q_I\gamma_H(\gamma_H - \gamma_L) }{\splitfrac{ \scriptstyle -(2p\gamma_H - 2p + q_I\gamma_H) }{ \scriptstyle (3\gamma_H\gamma_L - 4\gamma_H + \gamma_L) } } }{4q_I\gamma_H(\gamma_H - \gamma_L)}\xmathstrut[0.75]{2.5} \\ \spr{\heavyrulewidth} \end{array} \] \end{table} \begin{table}[H] \renewcommand*{\arraystretch}{2} \DeclareDocumentCommand{\heavyrulewidth}{}{1.2pt} \DeclareDocumentCommand{\lightrulewidth}{}{0.8pt} \setlength\extrarowheight{-2pt} \[ \begin{array}{l@{\hspace{0.5em}}l|c} \spr{\heavyrulewidth} \mathrlap{Case} & & \beta_H^{*} \\ \spr{\lightrulewidth} (1) & I & p(-p-q_I+1) \\ \spr{0.4pt} (2) & I+H+L & \dfrac{1}{2} - \dfrac{ (2p\gamma_H - 2p + q_I\gamma_H)(3\gamma_H\gamma_L - 4\gamma_H + \gamma_L) }{ 4q_I\gamma_H(\gamma_H - \gamma_L) }\xmathstrut{1.25}\\ \spr{\heavyrulewidth} \end{array} \] \end{table} \end{document} ```
null
CC BY-SA 4.0
null
2023-01-12T17:58:38.650
2023-01-12T17:58:38.650
null
null
1,612,369
null
75,100,569
2
null
75,098,019
0
null
There should not be any issue with recording the applications which are being the VPN because Java relies on operating system [routing mechanisms](https://en.wikipedia.org/wiki/Routing) in order to find the best way to the system under test. Just make sure to start the [HTTP(S) Test Script Recorder](https://jmeter.apache.org/usermanual/component_reference.html#HTTP(S)_Test_Script_Recorder) after connecting to the VPN and don't forget to import JMeter's certificate into your browser. In case of any problems check what's in [jmeter.log file](https://jmeter.apache.org/usermanual/get-started.html#logging) - it should contain the failure reason. Also be aware of an alternative way of recording a JMeter test: [JMeter Chrome Extension](https://guide.blazemeter.com/hc/en-us/articles/206732579-The-BlazeMeter-Chrome-Extension-Record-JMeter-Selenium-or-Synchronized-JMeter-and-Selenium), in that case you won't have to worry about proxies, certificates and VPNs.
null
CC BY-SA 4.0
null
2023-01-12T18:05:26.800
2023-01-12T18:05:26.800
null
null
2,897,748
null
75,100,661
2
null
75,097,317
1
null
Thank you for the feedback. This is a known problem, please follow the [RUBY-30140/False-positive-found-extra-argument-warning-with-Faraday.get](https://youtrack.jetbrains.com/issue/RUBY-30140/False-positive-found-extra-argument-warning-with-Faraday.get)(see [help](https://intellij-support.jetbrains.com/hc/en-us/articles/206827497-How-to-follow-YouTrack-issues-and-receive-notifications%C2%A0) if you are not familiar with YouTrack). I've requested this issue to include in one of our nearest maintenance sprint. Sorry for inconveniences:( Best regards Anna Kutarba. JetBrains [https://jetbrains.com](https://jetbrains.com) The Drive to Develop
null
CC BY-SA 4.0
null
2023-01-12T18:13:57.500
2023-01-12T18:13:57.500
null
null
2,770,611
null
75,100,749
2
null
75,100,645
2
null
You could use `ggplot_build` to manually modify the point layer `[[1]]` to specify the sizes of your points like this: ``` #plot p <- ggplot(test_df_long, aes(x = str_to_title(category), y = str_to_title(names), colour = str_to_title(names), size = value)) + geom_point() + geom_text(aes(label = value), colour = "white", size = 3) + scale_x_discrete(position = "top") + scale_color_manual(values = c("blue", "red", "orange")) + labs(x = NULL, y = NULL) + theme(legend.position = "none", panel.background = element_blank(), panel.grid = element_blank(), axis.ticks = element_blank()) q <- ggplot_build(p) q$data[[1]]$size <- c(7,4,1,8,5,2,9,6,3)*5 q <- ggplot_gtable(q) plot(q) ``` Output: [](https://i.stack.imgur.com/x3XYV.png) --- You could use `scale_size` with a `log10` scale to make the difference more visuable like this: ``` #plot ggplot(test_df_long, aes(x = str_to_title(category), y = str_to_title(names), colour = str_to_title(names), size = value)) + geom_point() + geom_text(aes(label = value), colour = "white", size = 3) + scale_size(trans="log10", range = c(10, 50)) + scale_x_discrete(position = "top") + scale_color_manual(values = c("blue", "red", "orange")) + labs(x = NULL, y = NULL) + theme(legend.position = "none", panel.background = element_blank(), panel.grid = element_blank(), axis.ticks = element_blank()) ``` Output: [](https://i.stack.imgur.com/6XKAH.png)
null
CC BY-SA 4.0
null
2023-01-12T18:23:23.607
2023-01-12T22:06:58.220
2023-01-12T22:06:58.220
14,282,714
14,282,714
null
75,101,249
2
null
75,101,192
0
null
Not sure but try this and I request please write your question clearly ``` mask-image: linear-gradient(to top, transparent, black); ```
null
CC BY-SA 4.0
null
2023-01-12T19:13:16.250
2023-01-12T19:13:16.250
null
null
20,921,755
null
75,101,246
2
null
75,077,184
0
null
This can be done in many ways: 1. Animated Vector Drawable as the android:background 2. Animated Gif 3. Object Animators 4. MotionLayout 1 There is many ways to create this. The most elegant and efficient solution is an an animated vector drawable. But it is also difficult to get all the information together to do it. 2 This Gif will be big or blurry and a resource hog. but simple to implement 3 ObjectAnimator straightforward create a collect of (about 6)black views , rotate 45 degrees and use a series of ObjectAnimators to translateX/Y 4 MotionLayout would allow this without code and mostly in studio 1. Create A Constraint Layout 2. drag 6 black views, rotate and Position them using the Attributes 3. Convert to MotionLayout 4. In the "End" ConstraintSet Modify TranslationX & TranslationY 5. Set Transition to AutoStart 6. Create A Transition to AutoJump back to the end.
null
CC BY-SA 4.0
null
2023-01-12T19:13:07.387
2023-01-12T19:13:07.387
null
null
2,558,442
null
75,101,516
2
null
74,989,204
0
null
From your comments, it sounds like you’re looking for the that contain at least two parent nodes, and at least one of those parents has a colored edge. With that in mind, you can do something like the following: ``` import numpy as np import networkx as nx import pandas as pd data = { 'Parent': list("EEABEHDILGKCDBLLFBCCJ"), 'Child': ["X1","X2","Y1","Y1","Y1","M1","N3","N4","N5","N7","N8","M1","M2", "M3","M4","M5","M6","M7","M8","M9","P7"], 'Colour': list("NNNNYYNYNNNYNNNNYNNNN") } df = pd.DataFrame(data) G = nx.from_pandas_edgelist(df, source = 'Parent', target = 'Child') parent_set = set(df['Parent']) colored_parent_set = set(df.loc[df['Colour']=='Y','Parent']) node_set = set() for comp in nx.connected_components(G): if (len(comp & parent_set) >= 2 and comp & colored_parent_set): node_set |= comp H = G.subgraph(node_set) colors = ['limegreen']*len(H) for i,n in enumerate(H.nodes): if n in colored_parent_set: colors[i] = "red" elif n in parent_set: colors[i] = "deepskyblue" nx.draw(H, node_color = colors, with_labels = True) ``` Here's the result that I get: [](https://i.stack.imgur.com/sT8yq.png)
null
CC BY-SA 4.0
null
2023-01-12T19:41:50.017
2023-02-03T13:12:38.520
2023-02-03T13:12:38.520
2,476,977
2,476,977
null
75,101,718
2
null
75,095,964
0
null
Here's one way: ``` Availablilty = CALCULATE( MIN('Table'[Available Stock]), Filter('Table','Table'[Week no] >= EARLIEST('Table'[Week no]))) ```
null
CC BY-SA 4.0
null
2023-01-12T20:03:05.720
2023-01-12T20:03:05.720
null
null
2,872,922
null
75,101,762
2
null
3,325,625
0
null
Since there were no maintained extensions available for recent Visual Studio versions for quite some time now that implement syntax highlighting of Doxygen comments, I wrote one: VSDoxyHighlighter is available on the [Visual Studio marketplace](https://marketplace.visualstudio.com/items?itemName=Sedenion.VSDoxyHighlighter) and on [github](https://github.com/Sedeniono/VSDoxyHighlighter). The extension currently supports Visual Studio 2022 and the highlighting can be enabled/disabled separately for `//`, `///`, `//!`, `/*`, `/**` and `/*!` comments. It also comes with two default color sets, one for dark and one for light VS themes: [](https://i.stack.imgur.com/g9gjt.png)
null
CC BY-SA 4.0
null
2023-01-12T20:07:35.243
2023-01-12T20:07:35.243
null
null
3,740,047
null
75,101,994
2
null
75,059,144
0
null
``` $filenames = @(Get-Item "C:\Users\username\Desktop\FIX\sending-target-FIX_4_4_202212052245000551.summary") $CR = "$([char]1)" foreach ($file in $filenames) {$outfile = "$file" + ".txt" Get-Content $file | Foreach-object { $_ -replace $CR,"`r`n" ` -replace [char]1,"|" ` } | Set-Content -encoding "UTF8" $outfile} ```
null
CC BY-SA 4.0
null
2023-01-12T20:30:37.483
2023-01-14T14:41:13.220
2023-01-14T14:41:13.220
366,904
20,965,562
null
75,102,364
2
null
75,100,575
0
null
Try replacing this line in `Code.gs`: ``` var rows = values.slice(1); ``` ...with: ``` var rows = values.slice(1).map(row => row.map(value => value === 'Done' ? '<span style="color:green;">Done</span>' : value));; ``` And this line in `emailTemplate.html`: ``` <td style="text-align:center"><?= cell ?></td> ``` ...with: ``` <td style="text-align:center"><?!= cell ?></td> ```
null
CC BY-SA 4.0
null
2023-01-12T21:14:51.940
2023-01-12T21:14:51.940
null
null
13,045,193
null
75,102,510
2
null
75,101,129
0
null
I don't you will be able to do this using dataset filters using a multi-value parameter. However, you should be able to change your dataset query to handle this. ``` CREATE PROC myProc (@myParameter varchar(1000)) AS SELECT * FROM myTable t JOIN string_split(@myParameter, ',') p on t.myColumn like '%' + p.value + '%' ``` When you pass the parameter to the stored proc you can use the following expression ``` =JOIN(Parameters!myParameter.Value, ",") ``` This will simply join each of your parameter values into a single comma separated string string ready to pass to the procedure. --- If you do not have a version of SQL Server that support string_split --- Hers's the code to create one. There are smaller versions around on the internet but this one was designed to handle special cases as well as the typical single character delimiters. ``` SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE FUNCTION [Split](@sText varchar(8000), @sDelim varchar(20) = ' ') RETURNS @retArray TABLE (idx smallint Primary Key, value varchar(8000)) AS BEGIN DECLARE @idx smallint, @value varchar(8000), @bcontinue bit, @iStrike smallint, @iDelimlength tinyint IF @sDelim = 'Space' BEGIN SET @sDelim = ' ' END SET @idx = 0 SET @sText = LTrim(RTrim(@sText)) SET @iDelimlength = DATALENGTH(@sDelim) SET @bcontinue = 1 IF NOT ((@iDelimlength = 0) or (@sDelim = 'Empty')) BEGIN WHILE @bcontinue = 1 BEGIN --If you can find the delimiter in the text, retrieve the first element and --insert it with its index into the return table. IF CHARINDEX(@sDelim, @sText)>0 BEGIN SET @value = SUBSTRING(@sText,1, CHARINDEX(@sDelim,@sText)-1) BEGIN INSERT @retArray (idx, value) VALUES (@idx, @value) END --Trim the element and its delimiter from the front of the string. --Increment the index and loop. SET @iStrike = DATALENGTH(@value) + @iDelimlength SET @idx = @idx + 1 SET @sText = LTrim(Right(@sText,DATALENGTH(@sText) - @iStrike)) END ELSE BEGIN --If you can't find the delimiter in the text, @sText is the last value in --@retArray. SET @value = @sText BEGIN INSERT @retArray (idx, value) VALUES (@idx, @value) END --Exit the WHILE loop. SET @bcontinue = 0 END END END ELSE BEGIN WHILE @bcontinue=1 BEGIN --If the delimiter is an empty string, check for remaining text --instead of a delimiter. Insert the first character into the --retArray table. Trim the character from the front of the string. --Increment the index and loop. IF DATALENGTH(@sText)>1 BEGIN SET @value = SUBSTRING(@sText,1,1) BEGIN INSERT @retArray (idx, value) VALUES (@idx, @value) END SET @idx = @idx+1 SET @sText = SUBSTRING(@sText,2,DATALENGTH(@sText)-1) END ELSE BEGIN --One character remains. --Insert the character, and exit the WHILE loop. INSERT @retArray (idx, value) VALUES (@idx, @sText) SET @bcontinue = 0 END END END RETURN END GO ``` To test this try something like ``` select * from Split('abc,def,ghi', ',') ``` which will return [](https://i.stack.imgur.com/QfYIO.png)
null
CC BY-SA 4.0
null
2023-01-12T21:31:59.403
2023-01-13T17:58:44.863
2023-01-13T17:58:44.863
1,775,389
1,775,389
null
75,102,641
2
null
10,110,130
0
null
Try using margin-top instead of padding top, I've had this issue recently and that seemed to fix it.
null
CC BY-SA 4.0
null
2023-01-12T21:47:16.743
2023-01-12T21:47:16.743
null
null
20,995,550
null
75,102,739
2
null
31,178,681
0
null
Not a direct answer but just another workaround that can be ok in some cases. If that's just one checkbox like launch app/readme/whatever - then it can be placed to the buttons panel which has the same background: [](https://i.stack.imgur.com/3TDWU.png)
null
CC BY-SA 4.0
null
2023-01-12T22:00:43.463
2023-01-12T22:00:43.463
null
null
282,694
null
75,102,749
2
null
27,569,796
0
null
Create a User Variable instead. They are located under the unintelligible eraser looking box top right of package editor. The tooltip just says “Variables” but they are stored in User namespace instead of $Package, so you can access them as User::varname within the project for parameter mapping, and as @[User::varname] in expressions, and finally as (Case Sensitive) \Package.Variables[User::varname].Properties[Value] from sqlagent job step Set Values tab. The XML is even different from the above. However it’s easier to generate a Package Configuration file using Visual Studio where you can select the variable overrides. If you need the path for a hand crafted command line, it will be there for you in the dtsConfig file.
null
CC BY-SA 4.0
null
2023-01-12T22:01:49.017
2023-01-12T22:01:49.017
null
null
7,291,891
null
75,103,243
2
null
70,947,176
0
null
I already had proxy settings in my 'gradle.properties' (global properties) file. But currently, I am not using a proxy. When I removed the lines of the proxy settings it worked fine for me.
null
CC BY-SA 4.0
null
2023-01-12T23:09:19.593
2023-01-12T23:09:19.593
null
null
6,302,875
null
75,103,506
2
null
74,739,713
0
null
I don't believe a custom button is supported in the new api [see Google's docs](https://developers.google.com/identity/gsi/web/guides/offerings#sign_in_with_google_button) > Warning: Using your own button is not supported, since there is no API to initiate the button flow when your button is clicked.
null
CC BY-SA 4.0
null
2023-01-12T23:53:00.747
2023-01-12T23:53:00.747
null
null
5,829,137
null
75,103,649
2
null
26,913,388
0
null
Be careful, if `'surname'` is not assigned to [list_display](https://docs.djangoproject.com/en/4.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display) but assigned to [list_display_links](https://docs.djangoproject.com/en/4.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display_links) as shown below: ``` class ApplicantsAdmin(admin.ModelAdmin): list_display = ( 'id', 'first_name', # 'surname', # Here 'location', 'job' ) # Here list_display_links = ('surname',) ``` You will get the error below: > ERRORS: <class 'xxx.admin.Applicant'>: (admin.E111) The value of 'list_display_links[2]' refers to 'surname', which is not defined in 'list_display'. So, `'surname'` must be assigned to both `list_display` and `list_display_links` as shown below: ``` class ApplicantsAdmin(admin.ModelAdmin): list_display = ( 'id', 'first_name', 'surname', # Here 'location', 'job' ) # Here list_display_links = ('surname',) ```
null
CC BY-SA 4.0
null
2023-01-13T00:20:44.657
2023-01-13T00:25:46.617
2023-01-13T00:25:46.617
3,247,006
3,247,006
null
75,103,713
2
null
75,103,684
0
null
This error message "Run time error method failed" is a general error message that can occur for a variety of reasons in VBA. It typically indicates that an operation that the code is trying to perform has failed, but without more information about the error and the specific line of code that is causing the issue, it is difficult to determine the exact cause of the problem. One possible cause of this error in the provided code snippet is that the documents1.item(Right(activeComponentWorksheet.cells(R, tem).Value, nameLength)) method call is returning Nothing. This means that the item being passed as the argument to the method is not found in the documents1 collection. This will cause the subsequent Set part1 = partDocument1.Part and Set body1 = part1.Bodies.item("PartBody") line of code to throw the "Run time error method failed" error. You can try to debug the error by adding some debug information and check if the variable partDocument1 is not equal to nothing before the error is thrown. ``` If partDocument1 Is Nothing Then Debug.Print "partDocument1 is not found" End If ``` You can also try to check if the value of the Right(activeComponentWorksheet.cells(R, tem).Value, nameLength) is matching with the value that you are expecting. It's also possible that the problem is related to the activeComponentWorksheet.cells(R, tem).Value cell value or with the nameLength variable, it may be referencing a non-existent cell or it may contain a value that is not expected. It's also possible that the problem is with the Bodies.item("PartBody") method, it may be that the body is not present or the name passed to the method is not correct. These are some possible causes of the problem, but without more information about the specific environment and configuration of the code, it is difficult to provide a more specific solution.
null
CC BY-SA 4.0
null
2023-01-13T00:35:21.807
2023-01-13T00:35:21.807
null
null
1,550,310
null
75,103,970
2
null
75,103,928
0
null
The outline is coming from the browser defaults that ensure accessibility. Someone who is using a keyboard to navigate uses the `outline` to be able to see what is focused. However, by default in browsers, it also shows if you click and not just if you use keyboard navigation. Many answers will tell you to disable focus outlines altogether but that is bad for accessibility and so a bad idea. You can disable them for mouse users only by adding this to your stylesheet: ``` :focus:not(:focus-visible) { outline: none } ``` This way users tabbing through your elements will still see it, which is necessary for accessibility reasons.
null
CC BY-SA 4.0
null
2023-01-13T01:24:57.993
2023-01-13T01:24:57.993
null
null
1,086,398
null
75,104,036
2
null
75,103,928
0
null
modify your style object in <Button> ``` style={{ marginLeft: 5, borderRadius: '5px', ......, // others style outline: 'none' }} ```
null
CC BY-SA 4.0
null
2023-01-13T01:36:53.923
2023-01-13T01:36:53.923
null
null
20,996,393
null
75,104,112
2
null
74,947,295
0
null
The issue was resolved by delete yarn.lock in project. Beacuse of yarn.lock in my project, so vue-cli will look for yarn runtime environment in server. But i have not install yarn runtime environment on server. The code stop at `hasProjectYarn(api.getCwd())`. If you dont need yarn, Meanwhile yarn.lock file in your project ,you should delete the file!
null
CC BY-SA 4.0
null
2023-01-13T01:53:22.877
2023-01-13T01:53:22.877
null
null
20,884,098
null
75,104,169
2
null
75,091,014
0
null
Asking in another forum, someone suggested to reinstall react globally, which I didn't think it was the problem because I wasn't importing it, but it worked
null
CC BY-SA 4.0
null
2023-01-13T02:03:41.557
2023-01-13T02:03:41.557
null
null
16,985,157
null
75,104,378
2
null
75,098,074
0
null
``` // Here is my code to custom and that works fine //In PCL, I created CustomFrame class: public class CustomFrame : Frame { } // In UWP, I created MyFrameRenderer class: [assembly: ExportRenderer(typeof(CustomFrame), typeof(MyFrameRenderer))] namespace DeliveryApp.UWP \* Your namespace *\ { public class MyFrameRenderer : FrameRenderer { protected override void OnElementChanged(ElementChangedEventArgs<Frame> e) { base.OnElementChanged(e); if (Control != null) { Control.CornerRadius = new Windows.UI.Xaml.CornerRadius(50, 0, 50, 0); } } } } //Then I use MyFrameRenderer in xaml file: <. . xmlns:local="clr-namespace:DeliveryApp.Helper;assembly=DeliveryApp" /> <local:CustomFrame /> ```
null
CC BY-SA 4.0
null
2023-01-13T02:46:20.307
2023-01-13T02:48:38.270
2023-01-13T02:48:38.270
20,992,367
20,992,367
null
75,104,799
2
null
75,102,092
0
null
You could sort it out with hidden columns, and values that expand to the next column in which you'd like to have your result or input your value. Instead a formula: `=B3/B4` you'd have `={",",B3/B4}` So, if you manually insert a value in the right column, the formula in left column won't expand. As an example I've created a very dummy calculator of sides and hypothenuse. In B1 (column B in red would be hidden) I have: ``` ={"","Res: "&(C3^2-C2^2)^(1/2)} ``` And so on in the next rows. In this picture I've inserted manual values in C1 and C2, so C3 has a result: [![enter image description here](https://i.stack.imgur.com/qXdTl.jpg)] [1](https://i.stack.imgur.com/qXdTl.jpg) And another example in another row: [](https://i.stack.imgur.com/XIlbj.jpg) You can test it out here and the extrapolate it to your formulas, (I've erased the part with "Res. " so the result is an actual number, it was just for easier view in my examples): [https://docs.google.com/spreadsheets/d/1ZaEEGWtLU-LXBmg-xy80Ps_biuYhb8WxZBs0g1tGE00/edit?usp=drivesdk](https://docs.google.com/spreadsheets/d/1ZaEEGWtLU-LXBmg-xy80Ps_biuYhb8WxZBs0g1tGE00/edit?usp=drivesdk)
null
CC BY-SA 4.0
null
2023-01-13T04:15:09.737
2023-01-13T04:15:09.737
null
null
20,363,318
null
75,104,828
2
null
22,751,758
0
null
I know it's been years, but to anyone who still deal with this issue, you can just add request params "?v=1234" in the href of <link> Before: ``` <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> ``` After: ``` <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css?v=1234" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> ``` Credits to @animaster for the answer: [https://github.com/FortAwesome/Font-Awesome/issues/7770#issuecomment-346301072](https://github.com/FortAwesome/Font-Awesome/issues/7770#issuecomment-346301072)
null
CC BY-SA 4.0
null
2023-01-13T04:20:35.497
2023-01-13T04:20:35.497
null
null
12,456,968
null
75,104,857
2
null
75,104,738
2
null
The issue with your regex is that you're not testing for things coming before or after the value you want: ``` re.sub(r'.*35b17c4b\-7f41\-4552\-8f9b\-e883ccdc2c00.*', ' ', str) ``` In regular expressions, `.` means any single character and `*` means "any of". So, this code takes any string containing `35b17c4b-7f41-4552-8f9b-e883ccdc2c00` and replaces it with `' '`. You don't have to worry about the newlines as newlines are not included in `.`. However, this doesn't take into account your second usecase, which does not remove the entire string, but just the values between `|` characters. So, we need to modify this regex to handle this case: ``` re.sub(r'[^|\s]*35b17c4b\-7f41\-4552\-8f9b\-e883ccdc2c00[^|\s]*', ' ', str) ``` This regular expression modifies the previous one by replacing `.*` with `[^|\s]*`. Instead of just search for any character, this string searches for any character which is not a `|` or whitespace. We have to include the `\s` because `^|` includes whitespace and newlines, which you want excluded for your usecase.
null
CC BY-SA 4.0
null
2023-01-13T04:28:08.697
2023-01-13T04:34:06.293
2023-01-13T04:34:06.293
3,121,975
3,121,975
null
75,104,896
2
null
75,104,613
1
null
You need to pass file param correctly. It's a bit different from Postman ``` formData.append('files', { uri: file.uri, type: file.type, name: `abc.png`, }) ```
null
CC BY-SA 4.0
null
2023-01-13T04:38:49.663
2023-01-13T04:38:49.663
null
null
9,057,330
null
75,105,049
2
null
74,045,604
0
null
Just need to enter Y in Console and press enter. Refer to snapshot for more details [](https://i.stack.imgur.com/OYj74.png)
null
CC BY-SA 4.0
null
2023-01-13T05:02:56.320
2023-01-17T11:53:02.720
2023-01-17T11:53:02.720
9,569,292
20,997,316
null
75,105,159
2
null
75,105,117
0
null
To fix this error, you should try the following steps: 1. Make sure that you have the latest version of Xcode installed on your computer. 2. Close Xcode and then reopen it. 3. In Xcode, go to File > Swift Packages > Update to Latest Package Versions. 4. If the error persists, try removing the package from your project and then re-adding it. To remove a Swift package from your project, you can use the following steps: 1. Go to the "Project Navigator" in Xcode. 2. Select the package that you want to remove. 3. Press "Delete" on your keyboard. 4. Confirm the deletion. 5. Clean the project (Product > Clean Build Folder) 6. Rebuild the project. ``` If you are still unable to resolve the issue, it is possible that there may be an issue with the package itself. You can try checking the package's GitHub page for any known issues or reaching out to the package maintainer for help. ```
null
CC BY-SA 4.0
null
2023-01-13T05:20:58.790
2023-02-18T14:11:33.660
2023-02-18T14:11:33.660
1,424,883
16,328,598
null
75,105,412
2
null
56,050,904
1
null
``` <Text style={{ color: "#757575", lineHeight: 23 }}> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum {" "} <TouchableOpacity onPress={() => {}}> <Image style={{ height: 18, width: 18 }} source={images.documentLoaded} /> </TouchableOpacity> </Text> ``` [enter image description here](https://i.stack.imgur.com/Zqi5s.png)
null
CC BY-SA 4.0
null
2023-01-13T06:02:13.950
2023-01-13T06:04:44.213
2023-01-13T06:04:44.213
20,997,590
20,997,590
null
75,105,536
2
null
75,101,470
1
null
Depends on your data format a bit but in general you should be able to use something like: ``` = sum( {< Month = {"$(=MonthStart(AddMonths(Today(), - 1)))"} >} Sales) ``` The [set analysis](https://help.qlik.com/en-US/sense/November2022/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-analysis-expressions.htm) will filter the `Sales` and will be sum only values for which `Month` is the month start of the previous month (based on [Today()](https://help.qlik.com/en-US/sense/November2022/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/today.htm) function result)
null
CC BY-SA 4.0
null
2023-01-13T06:21:33.637
2023-01-13T06:21:33.637
null
null
159,365
null
75,105,732
2
null
75,082,850
0
null
I figure it out myself. Note that Qt (as least up to the 5 releases) have a consistent naming of their files, modules and libraries: With or without a suffix. If a DLL have a d suffix (like Qt5Cored.dll) then it's a library for debug builds, make sure you build with the debug libraries for your debug build. So you just add qwtd.lib for debug and qwt.lib for release in Additional Dependencies.
null
CC BY-SA 4.0
null
2023-01-13T06:50:00.943
2023-01-13T06:50:00.943
null
null
19,585,855
null
75,105,749
2
null
75,102,417
1
null
Something to keep in mind with React components is that their render methods are to be considered pure, synchronous functions. The body of a React function component the render "method". Each time `AccountPage` is rendered is declares `therapist = ""`, and then an side-effect to collect the firebase document is kicked off. The `useEffect` hook runs after the component has rendered and tries to read properties of the empty string value that is `therapist` and throws the error. `therapist` should be part of the React state so that it can be updated and trigger a rerender with the fetched data. The firebase document should be fetched as an side-effect via a `useEffect` hook. ``` function AccountPage() { const [{ patients, user }, dispatch] = useStateValue(); const [therapist, setTherapist] = React.useState(); // Fetch therapists document for specific user useEffect(() => { if (user.uid) { db.collection('therapists').doc(user.uid).get() .then((snapshot) => { setTherapist(snapshot.data()); }); } }, [user]); // Compute services and languages when therapist state updates useEffect(() => { console.log(therapist); const allService = therapist?.service?.service .map(({ label }) => label) .join(", "); const allLanguages = therapist?.language?.language .map(({ label }) => label) .join(", "); ... }, [therapist]); ... ```
null
CC BY-SA 4.0
null
2023-01-13T06:51:26.147
2023-01-13T06:51:26.147
null
null
8,690,857
null
75,106,377
2
null
75,105,237
0
null
The issue you're encountering is likely due to the default styling of the `TextField` component in Material-UI. One solution to remove the inner margin of the `TextField` is to use the sx prop to override the default styles. Documentation on how to use sx prop: [https://mui.com/system/getting-started/the-sx-prop/](https://mui.com/system/getting-started/the-sx-prop/) Example below: ``` <TextField multiline sx={{ p: 0, m: 0 }} /> ```
null
CC BY-SA 4.0
null
2023-01-13T08:06:09.577
2023-01-16T11:00:07.650
2023-01-16T11:00:07.650
10,871,073
20,997,476
null
75,106,419
2
null
19,862,887
0
null
To me, I just needed to open the VS solution by double-clicking on the solution in the Windows File Explorer. (I.e. first open Visual Studio, then open the solution from the recent list within Visual Studio).
null
CC BY-SA 4.0
null
2023-01-13T08:12:04.140
2023-01-13T08:12:04.140
null
null
5,924,906
null