Id
int64
1.68k
75.6M
PostTypeId
int64
1
2
AcceptedAnswerId
int64
1.7k
75.6M
ParentId
int64
1.68k
75.6M
Score
int64
-60
3.16k
ViewCount
int64
8
2.68M
Body
stringlengths
1
41.1k
Title
stringlengths
14
150
ContentLicense
stringclasses
3 values
FavoriteCount
int64
0
1
CreationDate
stringlengths
23
23
LastActivityDate
stringlengths
23
23
LastEditDate
stringlengths
23
23
LastEditorUserId
int64
-1
21.3M
OwnerUserId
int64
1
21.3M
Tags
sequence
74,836,749
2
null
74,637,341
1
null
`/` is valid according to [https://www.postgresql.org/docs/current/sql-syntax-lexical.html](https://www.postgresql.org/docs/current/sql-syntax-lexical.html) but not all clients properly escape these characters. The error provided is a known issue with Intellij. According to [https://youtrack.jetbrains.com/issue/DBE-15968/Support-postgres-databases-with-slash-in-database-name](https://youtrack.jetbrains.com/issue/DBE-15968/Support-postgres-databases-with-slash-in-database-name) it has been resolved and will hopefully be released soon. In the meantime, per [https://docs.bit.io/docs/trouble-shooting-common-connection-issues#database-name-separator](https://docs.bit.io/docs/trouble-shooting-common-connection-issues#database-name-separator) you may want to try replacing `/` with a `.`.
null
CC BY-SA 4.0
null
2022-12-17T19:08:30.350
2022-12-17T19:08:30.350
null
null
20,803,598
null
74,836,767
2
null
6,837,531
0
null
Maybe should use instead of px. It will adapt according to resolution. And if you want to optimize your page for all resolutions you should use . For ex. navlinks should have max-width 70% and float left and searchbar max-width 30% and fliat right. Or modern approach is to use for outter div.
null
CC BY-SA 4.0
null
2022-12-17T19:11:12.127
2022-12-17T19:19:21.183
2022-12-17T19:19:21.183
2,623,507
2,623,507
null
74,836,849
2
null
73,718,259
0
null
You can do this with `echarts4r`. There are two methods that I know of that work, one uses `e_list`. I think that method would make this more complicated than it needs to be, though. > It might be useful to know that `e_facet`, `e_arrange`, and `e_grid` all fall under `echarts` `grid` functionality—you know, sort of like everything that `ggplot2` does falls under base R's `grid`. I used `group_split` from `dplyr` and `imap` from `purrr` to create the faceted graph. You'll notice that I didn't use `e_facet` due to its constraints. `group_split` is interchangeable with base R's `split` and either could have been used. I used `imap` so I could map over the groups and have the benefit of using an index. If you're familiar with the use of `enumerate` in a Python `for` statement or a `forEach` in Javascript, this sort of works the same way. In the map call, `j` is a data frame; `k` is an index value. I appended the additional arguments needed for `e_arrange`, then made the plot. ``` library(tidyverse) # has both dplyr and purrrrrr (how many r's?) library(echarts4r) data %>% group_split(dose) %>% imap(function(j, k) { j %>% group_by(id) %>% e_charts(time, name = paste0("chart_", k)) %>% e_line(y, name = paste0("Dose ", k)) %>% e_color(color = "black") }) %>% append(c(rows = 1, cols = 3)) %>% do.call(e_arrange, .) ``` [](https://i.stack.imgur.com/uElfA.png)
null
CC BY-SA 4.0
null
2022-12-17T19:21:14.070
2022-12-17T19:21:14.070
null
null
5,329,073
null
74,836,951
2
null
74,835,112
0
null
Not a Mac user, but you may be able to make use of `asdf-vm`. 1. Follow the step over here to install asdf. Make sure to add them to the config file (in your case, .zshrc). 2. Head over to asdf-ruby and install the Ruby plugin. Before that, make sure that you have the required dependencies (check here). 3. Optionally, you may also choose to install asdf-nodejs and follow the steps below for the same. Again, make sure to install the required dependencies (check here). 4. Install the required version using asdf install <plugin> <version>, eg: $ asdf install ruby 3.1.1 5. After installing, you may want to run asdf reshim. 6. To set the plugin version globally, run asdf global <plugin> <version>, eg: $ asdf global ruby 3.1.1 OR To set the version locally (that is, for a particular directory), run asdf local <plugin> <version>, eg: $ asdf local ruby 3.1.1 7. Check all the version installed using asdf list. Check your active versions using asdf current.
null
CC BY-SA 4.0
null
2022-12-17T19:35:33.863
2022-12-17T19:35:33.863
null
null
16,300,383
null
74,837,021
2
null
74,720,306
0
null
## approach 1 I can sort of understand plotting the predicted values as points, although it might make more sense to show either the original data points or the (e.g. the [remef package on GitHub](https://github.com/hohenstein/remef)). Plotting a Poisson GLM through the predicted values is a little bit weird: while the GLM fit through the predicted values might be approximately the same as the predictions of the full model (although I'd have trouble proving it), but the confidence intervals are not the same as the confidence intervals on the predictions from the averaged model. ## approach 2 The prediction from a fitted log-link (Poisson) model is `y = exp(a + b*x)`, not `y=exp(a) + b*x` (which looks like what you're doing here). ## approach 3 This looks OK, although it will only give sensible predictions if all of your other covariates are zero-centred. (And you don't get confidence intervals, and there are easier ways to do this.) You can use the `ggeffects` package to get predictions and confidence intervals, with the caveat that the confidence intervals don't incorporate any uncertainty in the random effects (and the caveat that I haven't looked into how these are computed, so I'm not sure how they propagate the model-averaging uncertainty). ## example ### set up data and model I used an interaction term in the model: as far as I can tell you set up explicit dummy variables for the interaction. ``` set.seed(101) n <- 1000 ng <- 20 dd <- data.frame(x = rnorm(n), y = rnorm(n), sex = factor(rep(c("F","M"), length.out = n)), f = factor(rep(1:ng, length.out = n))) library(lme4) library(MuMIn) dd$resp <- simulate(~ x*sex + y + (1|f), newdata = dd, newparams = list(beta = rep(1,5), theta = 1), family = poisson)[[1]] full_model <- glmer(resp ~ x*sex + y + (1|f), data = dd, family = poisson, na.action = na.fail) dr <- dredge(full_model) avg_model <- model.avg(dr, fit = TRUE) ``` ## predictions and plot I tried the `sjPlot` and `ggeffects` packages but in the end found it easier to do what I wanted with `emmeans`. ``` library(emmeans) g1 <- emmeans(avg_model, specs = ~x*sex, type = "response", data = dd, at = list(x = seq(-4, 4, length.out = 101))) g2 <- as.data.frame(g1) library(ggplot2); theme_set(theme_bw()) gg0 <- ggplot(dd, aes(x, resp, colour = sex)) + ## scale_y_log10(limits = c(0.1, 1e4)) + geom_point() + geom_line(data = g2, aes(y = rate)) + geom_ribbon(data = g2, aes( y = rate, ymin = lower.CL, ymax = upper.CL, fill = sex), colour = NA, alpha = 0.3) print(gg0) print(gg0 + scale_y_log10(limits=c(0.1, 1e4), oob = scales::squish)) ```
null
CC BY-SA 4.0
null
2022-12-17T19:46:27.600
2022-12-17T19:46:27.600
null
null
190,277
null
74,837,443
2
null
70,740,045
0
null
Update: looks like its still can behave strangely on older Android versions The dialog lives in a different Window than the activity, so you'll need to call rememberSystemUiController from within the Dialog content to do so. ``` @Composable fun TutorialDialog( tutorial: Tutorial, onAck: () -> Unit ) { Dialog( properties = DialogProperties( dismissOnBackPress = false, dismissOnClickOutside = false, usePlatformDefaultWidth = false ), onDismissRequest = { } ) { TutorialView( tutorial = tutorial, onAck = onAck ) } } @Composable private fun TutorialView(tutorial: Tutorial, onAck: () -> Unit) { val systemUIController = rememberSystemUiController() systemUIController.isNavigationBarVisible = false systemUIController.isStatusBarVisible = false // composable code here } ```
null
CC BY-SA 4.0
null
2022-12-17T21:01:28.963
2022-12-17T22:05:23.550
2022-12-17T22:05:23.550
3,299,066
3,299,066
null
74,837,905
2
null
28,010,156
0
null
May be use setTimeout. Try use this ``` function ReadServer() { handleTimeInfo = setTimeout(function run() { /*You function pennding server*/ TimerInfo(); }, 60*1000); function TimerInfo(){ handleTimeInfo = setTimeout(function run() {ReadServer();}, 60*1000); } ```
null
CC BY-SA 4.0
null
2022-12-17T22:28:09.710
2022-12-17T22:28:09.710
null
null
9,860,761
null
74,838,008
2
null
74,836,041
0
null
The field names are 'sunday', 'monday', and so on. Each of these fields has an array of [todaysMeal] jsons, in a manner of speaking. What you are trying to access are the fields inside each array element. So what's happening is: you are looking for json keys 'title', 'image', 'daytime', and 'time', but the document snapshot has these keys: 'sunday', 'monday', etc. I don't think I worded this answer very well, but I hope this was enough to clear up your confusion. --- I am replying to your comments here. Here are the code changes that you can try. ``` // First of all change the don't use the CollectionReference for 'messdiary'. // final CollectionReference _collectData = FirebaseFirestore.instance.collection('messdiary'); // Use the DocumentReference for 'days'. final DocumentReference _daysData = FirebaseFirestore.instance.collection('messdiary').doc('days'); ``` Then:- ``` // Change the following statement. // List<DocumentSnapshot> snaps = snapshot.data!.docs; // to this: final daysObj = snapshot.data()!; final sundayMeals = daysObj["sunday"] .map((e)=>todaysMeal(itemName: e['title'], itemImage: e['image'], time: e['time'], dayTime: e['daytime'])) .toList(); final mondayMeals = ... ... final saturdayMeals = ... final mealsData = [...sundayMeals, ...mondayMeals, ....... , ...saturdayMeals]; // Now use mealsData for your carousel. ``` This code might not work entirely as you expected. You have to do any further debugging. And if you need further help, I might have to charge you .
null
CC BY-SA 4.0
null
2022-12-17T22:52:00.943
2022-12-19T21:41:40.813
2022-12-19T21:41:40.813
18,448,760
18,448,760
null
74,838,600
2
null
24,709,944
0
null
x-access-token on headers works for me. ``` key: x-access-token value: token ```
null
CC BY-SA 4.0
null
2022-12-18T01:35:43.400
2022-12-18T01:37:35.347
2022-12-18T01:37:35.347
965,146
3,932,162
null
74,838,637
2
null
74,835,392
0
null
So Like I said in my comment the issue ended up being my terser minifier. The version I posted is the latest version as of this post and apparently will not work on safari once minified as when I built the code without the minfier it worked fine on safari. The version of Terser plugin I rolled back to is `"terser-webpack-plugin": "4.2.3"`. There maybe other version that works but this is the version that worked for me and fixed my issue
null
CC BY-SA 4.0
null
2022-12-18T01:44:52.160
2022-12-18T01:44:52.160
null
null
3,448,008
null
74,838,798
2
null
74,822,720
0
null
You can set the data-member of an object you have access to. Note that due to the [event loop](https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop) the event is not being executed right-away, so the value will only be available once the event has successfully been executed. See: ``` window.addEventListener('DOMContentLoaded', (event) => { window.foo = "bar"; }); setTimeout(function() {console.log(window.foo);}, 100); ```
null
CC BY-SA 4.0
null
2022-12-18T02:36:24.820
2022-12-18T02:36:24.820
null
null
436,560
null
74,838,838
2
null
74,838,820
0
null
You can use regex to find all the numbers: ``` import re def split_scores(s): # regex to find all numbers scores = re.findall(r'\d+', s) # if s = "(5) 12-6 (1)" scores will be ['5', '12', '6', '1'] # if s = "2-5", scores will be ['2', '5'] # add penalty 0 if no penalty if len(scores) == 2: scores = ['0'] + scores + ['0'] # convert to int scores = [int(x) for x in scores] return scores df['team1_penalty'], df['team1_score'], df['team2_score'], df['team2_penalty'] = \ zip(*df['Score'].map(split_scores)) ```
null
CC BY-SA 4.0
null
2022-12-18T02:53:36.240
2022-12-18T03:08:38.217
2022-12-18T03:08:38.217
12,915,862
12,915,862
null
74,839,282
2
null
74,832,327
0
null
Can you check the `height` of your `ul`? Most probably, height of your `ul` is same as that of the `nav`, due to which it is already centered vertically! If that's the case (as it's not clear in your description), you can do two things: 1. Reduce the height of ul to the height of your list items (means no spacing between list items and ul vertically, or 2. use items-center for ul separately to center the items inside ul as well! Hope that helps!
null
CC BY-SA 4.0
null
2022-12-18T05:26:15.337
2022-12-18T05:26:15.337
null
null
8,198,332
null
74,839,420
2
null
24,771,828
0
null
This is a bit of a deviation from the other answers but it's also a lot simpler. We'll deal with angles a lot so a lot of arctan2 to calculate the angles with tolerances, so know how to use that. You could also do the determinate since near 0 the lines are near parallel. Find the angles you want to simplify, say any beyond a given threshold of some angle. Perform the following three operations. 1. Segmentize: Divide the two segments that connect this angle into arbitrarily 50 small lines. You could also just segmentize the part near the sharp angle. 2. Smooth: Repeatedly apply smooth to control the amount of smoothing you want of for this sharp angle. Take each series of 3 points. And move the middle-point closer to the midpoint of the first-point and the last-point. Note: closer means towards not to. So amount * (p1 - p2) + p2 where amount is adjustable. 3. Simplify: Find any points whose angles have not exceeded some threshold let's say 1% and go ahead and delete those points (you can also check the deviation of the midpoint from middle-point). This would typically undo segmentize but we smoothed it and the original sharp angle propagated into a curve. You can note that the number of times you apply smooth will propagate the angle only that many segments. So If you segmentize to 50. If you only apply smooth 10 times then only the 10 lines closest to the corner could have a modified angle. So you just pick some values, how many lines do you segment into? How much smoothing do you apply? How many times do you apply the smoothing? And how much deviation is enough to preserve the angle when you're simplifying things back down.
null
CC BY-SA 4.0
null
2022-12-18T06:07:54.663
2022-12-18T06:07:54.663
null
null
631,911
null
74,839,468
2
null
74,837,903
0
null
create variable `bool isLoading = false;` which will contain when to show the indicator in `httpRequestAPI()` before the request starts, set to `true` to start showing the indicator, when the response comes, then set to `false` I shortened the code for clarity ``` Future<String> httpRequestAPI() async { //Show indicator setState(() { isLoading = true; }); //simulation of waiting for a request, just a random pause within 5000 milliseconds, when it ends, then the answer has come and the indicator needs to be hidden await Future.delayed(Duration(milliseconds: Random().nextInt(5000)), () { setState(() { isLoading = false; }); }); return "RESPONSE JSON STRING"; } //if isLoading == true show indicator else hide appBar: AppBar( title: isLoading ? const LinearProgressIndicator(color: Colors.deepOrange) : null, ), ``` complete code ``` class MyHomePage extends StatefulWidget { const MyHomePage({super.key}); @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { bool isLoading = false; Future<String> httpRequestAPI() async { setState(() { isLoading = true; }); await Future.delayed(Duration(milliseconds: Random().nextInt(5000)), () { setState(() { isLoading = false; }); }); return "RESPONSE JSON STRING"; } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: isLoading ? const LinearProgressIndicator(color: Colors.deepOrange,) : null, ), body: ElevatedButton(onPressed: () async { await httpRequestAPI(); },child: const Text('API CALL'),) ); } } ```
null
CC BY-SA 4.0
null
2022-12-18T06:22:05.113
2022-12-18T06:22:05.113
null
null
9,587,132
null
74,839,503
2
null
74,822,253
0
null
This will probably require two temp tables and two sorts: ``` GROUP BY ilanlar.id ORDER BY guncellemetarihi DESC ``` Assuming that `guncellemetarihi` is `update_date`, this is not identical, but probably gives you what you want, but with only one temp table and sort: ``` GROUP BY guncellemetarihi, id ORDER BY guncellemetarihi DESC, id DESC ``` `COUNT(x)` checks `x` for being `NOT NULL`. If that is not necessary, simply do `COUNT(*)`. ``` SELECT COUNT(hid), hid ``` does not make sense. The `COUNT` implies that there may be multiple "hids", but `hid` implies that there is only one. (Since I don't understand to objective, I cannot advise which direction to change things.) This composite INDEX may help: ``` ilanlar: INDEX(kategori, yayin, ilansahibi, id) ``` You should switch from ENGINE=MyISAM to ENGINE=InnoDB. More on making indexes: [Index Cookbook](http://mysql.rjweb.org/doc.php/index_cookbook_mysql) To discuss further, please provide `SHOW CREATE TABLE` and `EXPLAIN SELECT ...`
null
CC BY-SA 4.0
null
2022-12-18T06:30:40.763
2022-12-18T06:30:40.763
null
null
1,766,831
null
74,839,697
2
null
70,147,826
2
null
You can use `FixedExtentScrollController()` along with `FixedExtentScrollPhysics()` ``` ListWheelScrollView( physics: const FixedExtentScrollPhysics(), controller: FixedExtentScrollController(initialItem:_yourInitialItemIndex), ), ```
null
CC BY-SA 4.0
null
2022-12-18T07:16:03.257
2022-12-18T07:32:14.497
2022-12-18T07:32:14.497
11,979,146
12,393,145
null
74,839,921
2
null
74,823,774
0
null
This is one more answer without conditional if: ``` import random ### number of overs overs = 20 bowlers = ['Wasim','Hasan','Fazal','Rumman','Abrar','Shadab'] lineup = [] curr_bowler = random.choice(bowlers) for i in range(overs): lineup.append(curr_bowler) bowlers.remove(curr_bowler) last_bowler = curr_bowler curr_bowler = random.choice(bowlers) bowlers.append(last_bowler) ```
null
CC BY-SA 4.0
null
2022-12-18T08:08:31.080
2022-12-18T08:08:31.080
null
null
11,600,358
null
74,839,931
2
null
74,833,041
0
null
You did not given any example of your doing. so can not understand what kind of variable you are talking about. If your variable in integer then try '${var}.toString()' for display ``` int intValue = 1; String stringValue = intValue.toString(); ```
null
CC BY-SA 4.0
null
2022-12-18T08:11:06.843
2022-12-18T08:11:06.843
null
null
7,704,131
null
74,840,225
2
null
74,182,109
1
null
The [Booky](https://github.com/mralexhay/Booky) example project turned out to be very useful for implementing AppIntents. You can find an example of what you want to do here: [Booky at AddBook.swift (L43-L48)](https://github.com/mralexhay/Booky/blob/c2f85f52640257754b2297b2753d870f42a598e4/Shortcuts/Actions/AddBook.swift#L43-L48) So what you need is to turn that `ParameterSummary` into a `ParameterSummaryBuilder` by adding parameter keypaths inside the brackets: ``` static var parameterSummary: some ParameterSummary { Summary("Open \(\.$scope)") { \.$publication // you can add as many as you want } } ``` Another good way of implementing your filtering is through an [EntityPropertyQuery](https://github.com/mralexhay/Booky/blob/17c24ab0b41ba7f6f796fd97976dc5f2c08a56dd/Shortcuts/ShortcutsBookEntity.swift#L76-L172). That will automatically create a Shortcut with the name `Find <entity name>` that can apply all those filters and ordering and return a list of AppEntities which you can act on. If you want to see an example used in production, in [Lunar](https://lunar.fyi/) I implemented a more complex query for screens which you can find here: [alin23/Lunar at LunarShortcuts.swift (L150-L385)](https://github.com/alin23/Lunar/blob/master/LunarShortcuts/LunarShortcuts.swift#L150-L385) Here's a screenshot of what that generates in Shortcuts.app: [](https://i.stack.imgur.com/H87or.jpg)
null
CC BY-SA 4.0
null
2022-12-18T09:16:20.363
2022-12-18T09:16:20.363
null
null
6,199,261
null
74,840,361
2
null
42,117,385
0
null
Setting up GPG keys with Git on Windows can be more difficult to configure than on Mac OS or Linux. Here’s how to set it up. 1. Download and install GPG4Win 2. Create a GPG key using this GitHub guide. 3. Next, open up a new Powershell window and run where.exe gpg to get the exact location of the GPG program installed withGPG4Win. 4. Take the output from the previous command and put it into: git config --global gpg.program [PATH_HERE], (Make sure to replace ”PATH_HERE” with output from previous command). Great! Now you have configured your GPG key and told Git what program to use to open it. Before you can commit, you need to tell Git that this project uses a GPG key for code signing. 1. First, force Git to sign all commits in this project: git config --local commit.gpgsign true 2. Then, get the ID of your GPG key: gpg --list-secret-keys --keyid-format LONG. 3. Add that ID from above to your Git config: git config --local user.signingkey "[GPG_KEY]", (Make sure to replace “GPG_KEY” with the ID from your GPG key in the previous command) Now that the project is configured to use GPG keys to sign code, you can commit code like normal!
null
CC BY-SA 4.0
null
2022-12-18T09:42:03.760
2022-12-18T09:42:39.360
2022-12-18T09:42:39.360
null
null
null
74,840,493
2
null
74,833,745
1
null
I do not think that you have additional surfaces in the sense of gmsh.model.occ surfaces. To me this looks like your volume mesh is sticking out of your surface mesh, i.e. volume and surface mesh do not fit together. Here is what I did to check your case: First I added the following lines at the beginning of our code to get a minimum working example: ``` import gmsh import sys import numpy as np inner_cyl_tag = 1 outer_cyl_tag = 2 core_height = 1 core_inner_radius = 0.1 core_outer_radius = 0.2 number_of_hp = 5 hp_radial_position = 0.1 hp_outer_radius = 0.05 ``` What I get with this code is the following: [](https://i.stack.imgur.com/YzREU.png) To visualize it like this go to "Tools"-->"Options"-->"Mesh" and check "2D element faces", "3D element edges" and "3D element faces". You can see that there are some purple triangles sticking out of the green/yellowish surfaces triangles of the inner surfaces. You could try to visualize your case the same way and check <--> uncheck the "3D element faces" a few times. So here is the solution for this behaviour, I did not know that gmsh behaves like this myself. It seems that when you create your mesh and refine it the refinement will be applied on the 2D surface mesh and the 3D volume mesh seperately, which means that those two meshes are not connected after the refinement anymore. What I did next was to try what happens if you create the 2D mesh only, refine it, and then create the 3D mesh, i.e.: replace: ``` gmsh.model.mesh.generate(3) gmsh.model.mesh.refine() gmsh.model.mesh.refine() ``` by: ``` gmsh.model.mesh.generate(2) gmsh.model.mesh.refine() gmsh.model.mesh.refine() gmsh.model.mesh.generate(3) ``` The result then looks like this: [](https://i.stack.imgur.com/ZIFWA.png) I hope that this was actually your problem. But in future it would be good if you could provide us a minimum working example of code that we can copy-paste and get the same visualization you showed us in your image.
null
CC BY-SA 4.0
null
2022-12-18T10:06:25.260
2022-12-18T10:06:25.260
null
null
11,586,057
null
74,840,528
2
null
74,840,480
1
null
A line loop is an endless primitive. It behaves differently from `GL_QUADS` or `GL_TRIANGLES` (see [OpenGL - Primitive](https://www.khronos.org/opengl/wiki/Primitive)). Therefore, you must draw 6 separate line loops (or at least 4). One for each side: ``` //Face1 glColor3f(1.0, 0.0, 0.0); glBegin(GL_LINE_LOOP); glVertex3f(-0.1, 0, 0); glVertex3f(0.4, 0, 0); glVertex3f(0.4, -0.3, 0); glVertex3f(-0.1, -0.3, 0); glEnd(); //Face2 glColor3f(1.0, 1.0, 0.0); glBegin(GL_LINE_LOOP); glVertex3f(-0.1, -0.3, 0); glVertex3f(-0.1, -0.3, 1); glVertex3f(-0.1, 0, 1); glVertex3f(-0.1, 0, 0); glEnd(); // [...] ```
null
CC BY-SA 4.0
null
2022-12-18T10:12:38.297
2022-12-18T10:12:38.297
null
null
5,577,765
null
74,840,543
2
null
74,840,171
0
null
You can use Stack widget and use `Positioned` widget to place circle. ``` final double circleRadius = 100; final circle = Container( height: circleRadius * 2, width: circleRadius * 2, decoration: ShapeDecoration( shape: const CircleBorder(), color: Colors.blue.withOpacity(.3), ), ); ``` And using with Stack ``` SizedBox( width: circleRadius * 2, height: circleRadius * 1.5, child: Stack( children: [ Positioned( top: -circleRadius * .5, left: -circleRadius, child: circle, ), Positioned( top: -circleRadius, child: circle, ), // circle ], ), ), ``` Will give you [](https://i.stack.imgur.com/Gn8b0.png) Tweak the size & color.
null
CC BY-SA 4.0
null
2022-12-18T10:15:05.713
2022-12-18T10:15:05.713
null
null
10,157,127
null
74,840,573
2
null
69,709,251
1
null
I faced the same problem. In my case, algorithm of solution was as follows: 1. Check PyCharm Log (Help > Show Log in Explorer) 2. According to the log the problem was: > 2022-12-18 19:20:04,774 [1212498] WARN - #c.j.p.s.PySdkUtil - Charset x-windows-950 is not UTF-8, which is likely lead to troubles 1. In my Win10 Administrative panel I enabled UTF-8: Region and Language > Administrative > Change system locale... > Check the checkbox Beta: Use Unicode UTF-8 for worldwide language support. 2. Restart Windows. In my case problem was solved.
null
CC BY-SA 4.0
null
2022-12-18T10:21:57.277
2023-01-04T05:24:35.827
2023-01-04T05:24:35.827
19,270,718
19,270,718
null
74,840,670
2
null
74,837,593
0
null
Here's a couple of proposals. The first one based on `groupsummary` and `rowfun`. Please, note that: 1. res tables are printed at every iteration, just because the provided sample data allows for it. It's easy (and better) to modify the code so that the summary tables are stored in, say, a cell array for subsequent access/manipulation. 2. I've reordered the elements in each condition just for convenience when writing down the anonymous function crit ``` Data = readtable(path2table); Data = convertvars(Data,["subject_type","stimulus_age", "stimulus_response","congruency"],"categorical"); % Define conditions conditions = { {'mother', 'baby', 'smile', 'congr'}, {'mother', 'baby', 'smile', 'incongr'}, {'mother', 'baby', 'frown', 'congr'}, {'mother', 'baby', 'frown', 'incongr'} }; % loop over conditions for idx = 1:numel(conditions) cond = conditions{idx}; % Anonymous function to check whether conditions are met crit = @(x,y,z,t) ismember(x, cond{1}) & ismember(y, cond{2}) & ismember(z, cond{3}) & ismember(t, cond{4}); % use rowfun to filter out rows that don't satisfy crit t = Data( rowfun(crit, Data(:,["subject_type","stimulus_age","stimulus_response","congruency"]),'OutputFormat','unif'), :); % summary (i.e. mean) by group res = groupsummary(t, "ID", @mean, "amplitude") end ``` As mentioned above, it's probably better to store the summaries in a cell array. So, I've split the code into two functions taking advantage of `cellfun` to create the final cell array. ``` function out = so_data(path2data) Data = readtable(path2data); Data = convertvars(Data, ["subject_type","stimulus_age","stimulus_response","congruency"],"categorical"); % Define conditions conditions = { {'mother', 'baby', 'smile', 'congr'}, {'mother', 'baby', 'smile', 'incongr'}, {'mother', 'baby', 'frown', 'congr'}, {'mother', 'baby', 'frown', 'incongr'} }; out = cellfun(@(x) summarize(Data, x), conditions, 'Unif', 0); % loops over conditions end %so_data function res = summarize(main_table, cond) crit = @(x,y,z,t) ismember(x, cond{1}) & ismember(y, cond{2}) & ismember(z, cond{3}) & ismember(t, cond{4}); t = main_table( rowfun(crit, main_table(:,["subject_type","stimulus_age","stimulus_response","congruency"]),'OutputFormat','unif'), :); res = groupsummary(t, "ID", @mean, "amplitude"); end % summarize ```
null
CC BY-SA 4.0
null
2022-12-18T10:35:12.773
2022-12-18T13:41:40.193
2022-12-18T13:41:40.193
11,334,020
11,334,020
null
74,840,837
2
null
74,840,758
2
null
The easiest way to remove the subcaption letters is to not use subfigures, they are not necessary for your case. ``` \documentclass{article} \usepackage{graphicx} \usepackage[export]{adjustbox} \begin{document} \begin{figure}[htbp] \centering \begin{tabular}{ccccc} \includegraphics[width=30mm,valign=c]{example-image-duck}& +& \includegraphics[width=30mm,valign=c]{example-image-duck}& =& \includegraphics[width=30mm,valign=c]{example-image-duck}\\[6ex] Image A && Image B && Image C\\ \end{tabular} \caption{Multi-focus image fusion} \end{figure} \end{document} ``` [](https://i.stack.imgur.com/RNIqT.png)
null
CC BY-SA 4.0
null
2022-12-18T11:08:06.493
2022-12-18T11:08:06.493
null
null
2,777,074
null
74,841,558
2
null
74,841,450
0
null
Have you tried using general CSS selector? Unsure why your Xpath selector doesn't work, and assuming there's a specific reason you are using xpaths, but by default I usually use general CSS selectors rather than xpaths if I can. Right click the element and Copy > Selector. From your pic it looks like it will be "#jrhFRM:barFiltro:filtros:cursoPesquisa" Thus ``` pagina.locator("#jrhFRM:barFiltro:filtros:cursoPesquisa").click() ``` Hope this works. Also, check that you have copied the correct xpath, as the id in your error message... ``` "jrhFrm:barFiltro:filtros:nomeDoCurso_hinput" ``` ...does not look like it matches the id in your screenshot... ``` "#jrhFRM:barFiltro:filtros:cursoPesquisa" ``` Let us know.
null
CC BY-SA 4.0
null
2022-12-18T13:03:01.363
2022-12-18T13:07:21.990
2022-12-18T13:07:21.990
14,048,246
14,048,246
null
74,841,810
2
null
7,606,954
0
null
By default popups were designed to behaves as you comment, to be topmost always. Altering this behavior using hacks or things like that will complicate your life since you will have to lead with some other problems that for sure will arise. Anyway, too late, but may be this can help you or others: [https://chriscavanagh.wordpress.com/2008/08/13/non-topmost-wpf-popup/](https://chriscavanagh.wordpress.com/2008/08/13/non-topmost-wpf-popup/) Note that this has some issues.... read all the comments published there. Among other issues, it makes all childs to be non-topmost so comboboxes are affected. Comboboxes will have problems with it as they rely on having a topmost popup for when they are drop down, so if you have any combobox inside your popup it will break. Also there are other problems related to the popup position, when you resize and then move the main window where the popup is it, popup remains in the same position. People there are proposing some approaches for these issues. I don't know if all are resolved but you can give it a try or try to resolve them if it is up to you. Other people trying to face with this are explaining their proposals here also (although none of them seems to be the perfect solution, it looks like there is not a perfect one, all of them have drawnbacks, but again as I have said, trying to alter the default behavior for which a thing was designed for will lead into continuous problems) : [WPF Popup ZOrder](https://stackoverflow.com/questions/1267349/wpf-popup-zorder)
null
CC BY-SA 4.0
null
2022-12-18T13:41:41.053
2022-12-18T14:13:32.203
2022-12-18T14:13:32.203
1,624,552
1,624,552
null
74,841,922
2
null
74,825,311
1
null
use this library from google, click [Here](https://developer.android.com/reference/androidx/palette/graphics/Palette) to read more about it ``` implementation 'androidx.palette:palette:1.0.0' ``` Example of usage ``` Palette.from(bitmap).generate(palette -> { //There is alot of methods you can use whatever wherever you want int rgb = palette.getMutedSwatch().getRgb(); int vibrant = palette.getVibrantSwatch().getRgb(); int vibrantDark = palette.getDarkVibrantSwatch().getRgb(); int vibrantLight = palette.getLightVibrantSwatch().getRgb(); int muted = palette.getMutedSwatch().getRgb(); int mutedDark = palette.getDarkMutedSwatch().getRgb(); int mutedLight = palette.getLightMutedSwatch().getRgb() }); ``` and this method is useful if you want hex color ``` private String rgbToHex(int rgb) { return String.format("%06x", 0xFFFFFF & rgb); } ```
null
CC BY-SA 4.0
null
2022-12-18T13:55:49.013
2022-12-20T22:11:27.063
2022-12-20T22:11:27.063
13,849,761
13,849,761
null
74,842,033
2
null
70,728,929
0
null
Try setting `android:layout_height="0dp"` and `app:layout_constrainedHeight="true"`for the recycler view
null
CC BY-SA 4.0
null
2022-12-18T14:13:46.070
2022-12-24T00:53:47.280
2022-12-24T00:53:47.280
15,749,574
9,701,462
null
74,842,083
2
null
74,841,901
0
null
Importing `random` will not get you the numpy module but the Python [random](https://docs.python.org/3/library/random.html) module. `random.choice` only accepts a sequence as argument. Your import should be as follows: ``` from numpy import random def probs(throws, lis): dice=[1,2,3,4,5,6] x = random.choice(dice, throws, p=lis) ``` Now you are using `choice` from numpy as expected.
null
CC BY-SA 4.0
null
2022-12-18T14:20:16.407
2022-12-18T14:20:16.407
null
null
20,163,209
null
74,842,106
2
null
5,199,911
2
null
Ten years later, all previous answers are either out-of-date or are too complicated. | Before | After | | ------ | ----- | | | | Please follow the steps below: 1. Unlock custom CSS as mentioned in this post: Goto Tools > Settings > General > Config Editor..., and set toolkit.legacyUserProfileCustomizations.stylesheets to true. 2. Locate your profile folder as mentioned in this post: Windows: %APPDATA%\Thunderbird\Profiles\xxxxxxxx.default\ Linux: ~/.thunderbird/profiles/xxxxxxxx.default/ Mac: ~/Library/Thunderbird/Profiles/xxxxxxxx.default/ Create chrome/userChrome.css under the profile folder. For example, the full path for Windows will look like: %APPDATA%\Thunderbird\Profiles\xxxxxxxx.default\chrome\userChrome.css Modify chrome/userChrome.css to contain the following CSS: .calendar-category-box { width: 100% !important; } 3. Restart Thunderbird 4. Change the calendar color to white for better visuals: 5. (Optional) Customize the category colors: Goto Tools > Settings > Calendar > Categories and set custom category colors. 6. All done! In the future, if Thunderbird introduce breaking changes, you may need to slightly modify the CSS based on the inspection results in `Tools > Developer Tools > Developer Toolbox`.
null
CC BY-SA 4.0
null
2022-12-18T14:23:13.333
2022-12-18T14:23:13.333
null
null
3,917,161
null
74,842,232
2
null
74,842,129
3
null
You have a `module-info.java` so you are using Java modules. Consequently you need to say that you are using the `jdk.httpserver` module which contains `com.sun.net.httpserver.HttpServer`. You do that by adding the line: ``` requires jdk.httpserver; ``` to your module-info.java. So something like: ``` module modulename { requires jdk.httpserver; } ``` where `modulename` is the name of your module. Alternatively delete the `module-info.java` file to stop using the module system.
null
CC BY-SA 4.0
null
2022-12-18T14:40:58.397
2022-12-18T17:11:48.253
2022-12-18T17:11:48.253
2,670,892
2,670,892
null
74,842,945
2
null
74,807,318
0
null
If you are using AGP 7.2 or newer and want to opt-out of the generation of archived APKs, you can modify the build.gradle file of the project: ``` android { bundle { storeArchive { enable = false } } } ``` [https://android-developers.googleblog.com/2022/03/freeing-up-60-of-storage-for-apps.html](https://android-developers.googleblog.com/2022/03/freeing-up-60-of-storage-for-apps.html)
null
CC BY-SA 4.0
null
2022-12-18T16:37:01.683
2022-12-18T16:37:01.683
null
null
5,699,349
null
74,843,111
2
null
74,833,827
0
null
CDP1802 is correct in saying you're trying to return a string-type variable when you have explicitly stated it must return a Boolean. That being said, I'll go ahead and share a function from utilities I've created for this type of problem: ``` Public Function InArray(theValue As Variant, theArray) As Boolean '________________________________________________________________________________________________ ' Purpose: ' -> to assess if a value is in an array '________________________________________________________________________________________________ ' Parameters: ' - theValue, any type ' -----> the value to search for in the array ' - theArray, Array ' -----> The array to search for the value in '________________________________________________________________________________________________ ' Returns: ' - Boolean ' -----> Boolean is True if value is in array, False if not '________________________________________________________________________________________________ On Error GoTo Err Dim iter As Long For iter = LBound(theArray) To UBound(theArray) If theArray(iter) = theValue Then InArray = True Exit Function End If Next iter InArray = False Exit Function Err: ' on error, tell the user the error and stop the code for debugging Call MsgBox("An error occurred in the Public Function InArray. The code will stop:" _ & vbCrLf & vbCrLf & Err.Description, vbCritical) Stop End Function ```
null
CC BY-SA 4.0
null
2022-12-18T17:06:18.347
2022-12-18T17:06:18.347
null
null
20,758,333
null
74,843,156
2
null
74,841,597
0
null
The 1st day of a month can be obtained by `date_trunc(orderdate,month)` For the inner `SELECT`, I do not know what you want to archive. The total number can be obtained by a window function `count(...) over()`. ``` Select date_trunc(orderdate,month), TerritoryID, COUNT(DISTINCT CustomerID) as SalesPersonID, SUM(totaldue) as totaldue, COUNT(SalesOrderID) over () as totalsalesorder_of_whole_table FROM adwentureworks_db.salesorderheader GROUP BY 1,2 ```
null
CC BY-SA 4.0
null
2022-12-18T17:16:08.140
2022-12-18T17:16:08.140
null
null
16,529,576
null
74,843,235
2
null
74,839,131
1
null
Bilinear interpolation might be twisted. ``` var Sx = ease_curve(world_coordx - top_L_x); var a = s + Sx * (t - s); //var b = u + Sx * (v - u); var b = v + Sx * (u - v); var Sy = ease_curve(world_coordy - top_L_y); //var final_val = a + Sy * (b - a); var final_val = b + Sy * (a - b); ```
null
CC BY-SA 4.0
null
2022-12-18T17:33:18.063
2022-12-18T17:33:18.063
null
null
12,793,185
null
74,843,319
2
null
31,414,531
0
null
[Swift Compiler Performance](https://github.com/apple/swift/blob/main/docs/CompilerPerformance.md) Measure and Tools You should clean and build your project to have a better results for comparing. 1. Xcode Build time output. ``` //Terminal command defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES ``` Output: [](https://i.stack.imgur.com/UwsUs.png) 1. Build With Timing Summary. ``` //Xcode Product -> Perform Action -> Build With Timing Summary ``` Output: ``` Report Navigator -> <build> -> Recent ``` [](https://i.stack.imgur.com/y5V0j.png) 1. Type check warnings Trigger a warning in Xcode for any function/expressions which is more than a user-defined limit to type-check ``` Build Settings -> Other Swift Flags(OTHER_SWIFT_FLAGS) -Xfrontend -warn-long-function-bodies=200 -Xfrontend -warn-long-expression-type-checking=200 ``` Output: ``` Instance method 'foo()' took 200ms to type-check (limit: 200ms) ``` [](https://i.stack.imgur.com/tZj10.png) 1. Record a time which is taken to compile every function/expression ``` Build Settings -> Other Swift Flags(OTHER_SWIFT_FLAGS) -Xfrontend -debug-time-function-bodies -Xfrontend -debug-time-expression-type-checking ``` Output: ``` Report Navigator -> <build> -> Expand All Transcripts ``` `-Xfrontend -debug-time-function-bodies` [](https://i.stack.imgur.com/adHoz.png) `-Xfrontend -debug-time-expression-type-checking` [](https://i.stack.imgur.com/AVUqZ.png) [BuildTimeAnalyzer-for-Xcode](https://github.com/RobertGummesson/BuildTimeAnalyzer-for-Xcode) is based on this flag. Also it has interesting column which is called `Occurrences` - how many times compiler is type checking it(e.g. lazy properties, closures) [](https://i.stack.imgur.com/kJOBA.png) [XCLogParser](https://github.com/MobileNativeFoundation/XCLogParser) analize logs ``` xclogparser parse --project Experiments2 --reporter html --rootOutput "/Users/User/Desktop/temp" ``` [](https://i.stack.imgur.com/NF2sW.png) You are able to open Xcodelog with `.xcactivitylog` extension by changing to `.zip` and unzip it. After it you can open it as a text file ``` /Users/User/Library/Developer/Xcode/DerivedData/Experiments2-fejelsaznlrfewdtvyfyhhbgxlwl/Logs/Build/00D3B76E-B61B-4FB8-AE0B-1FAD5AF3F452.xcactivitylog ``` [XCMetrics](https://github.com/spotify/XCMetrics)(by Spotify) as a next step of collecting log data [-debug-time-compilation was removed](https://github.com/apple/swift/commit/2198d7174c5857a92e42c5e76e1c1bb9a78db772) Experiments were made on Xcode v13.3.1. Do not forget to clean project before measure You are able to set flag for specyfic target(e.g. in modularized project)
null
CC BY-SA 4.0
null
2022-12-18T17:51:19.547
2022-12-20T13:50:51.387
2022-12-20T13:50:51.387
4,770,877
4,770,877
null
74,843,752
2
null
74,843,061
0
null
When using Visual Studio Code's [PowerShell extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell), there is no point in using the DEBUG CONSOLE tab - , where the PIC (PowerShell Integrated Console) runs, and where you can interactively evaluate arbitrary expressions when stopped at a break point during debugging. (When you do use the DEBUG CONSOLE, the result of what you submit actually prints in the TERMINAL tab, surprisingly.)
null
CC BY-SA 4.0
null
2022-12-18T19:15:19.487
2022-12-18T19:15:19.487
null
null
45,375
null
74,843,762
2
null
57,132,555
0
null
We express values in dB in order to say something like: it's n times as large. A dB quantity is the log10 of a ratio, it is used to make a comparison between two measurements, for example output vs. input. Sometimes there is a single measurement compared with a fixed value. In that case we do not use the dB unit but some variants, e.g. if the reference is 1mW, we use dBm. The logarithmic scale facilitates calculations of attenuation and gain along a processing chain. A negative value indicates the ratio is less than 1, and the signal is attenuated (or less than the other), conversely a positive value indicates the signal is amplified (or greater than the other). A dB (deci+Bel) is 0.1 B, so -60.1dB is -6.01B. Originally the dB scale is related to power. Assuming the value is a power, you have to find the number which log10 is -6.01, a matter of taking the exponential of both sides: log(x) = -6.01 (after conversion to B) 10^(log(x)) = 10^-6.01 x = 9.7e-07 ≈ 1/1,000,00 So your measurement is a power 1e6 times smaller than another power. Which one? It's not told, but it's likely the spectral line with the maximum value. When dB relate to a ratio of voltages, the number is doubled for the same ratio. The reason is: - It is assumed power is increased (or decreased) by managing to increase (decrease) some voltage. A change in the same proportion occurs for the current according to Ohm's law.- Power is voltage x current, therefore to change the power in the ratio k, it's sufficient to change the voltage in the ratio sqrt(k). Log (sqrt(k)) = 1/2*log(k). E.g. - - The rule actually separates power quantities (like power, energy or acoustic intensity) and root-power quantity (like voltage, sound pressure and electric field).
null
CC BY-SA 4.0
null
2022-12-18T19:16:48.543
2022-12-18T19:32:53.130
2022-12-18T19:32:53.130
774,575
774,575
null
74,844,149
2
null
74,844,033
2
null
Since you are looking for numerical solutions, you probably don't need SymPy. Here I'm going to use scipy's `fsolve` to solve your system of non-linear equations: ``` from scipy.optimize import fsolve # convert your equations to numerical functions eqns = [lambdify([z1, z2, w1, w2], eq.rewrite(Add)) for eq in [eq1, eq2, eq3, eq4]] def func(p): # p contains the current iteration parameters: z1, z2, w1, w2 return [eq(*p) for eq in eqns] sol = fsolve(func, (1, 1, 1, 1)) print(sol) # [0.62070297 0.95797446 3.38936579 3.02326494] ``` Note that you can also use Sympy's `nsolve` to solve a system of equations for numerical values, but you need to provide some good initial guess, which for your case might not be trivial: ``` nsolve([eq1, eq2, eq3, eq4], [z1, z2, w1, w2], [0.5, 1, 3, 3]) ```
null
CC BY-SA 4.0
null
2022-12-18T20:24:25.830
2022-12-18T20:24:25.830
null
null
2,329,968
null
74,844,175
2
null
74,460,500
1
null
I had similar questions in my mind a few weeks ago until I started to code my own Automatic Differentiation package [tensortrax](https://github.com/adtzlr/tensortrax) in Python. It uses forward-mode AD with a hyper-dual number approach. I wrote a Readme (landing page of the repository, section ) with an example which could be of interest for you.
null
CC BY-SA 4.0
null
2022-12-18T20:28:43.850
2022-12-18T20:29:42.080
2022-12-18T20:29:42.080
17,105,447
17,105,447
null
74,844,286
2
null
74,844,205
1
null
You need the xend and yend values for each segment. Since your data frame is in order, the xend and yend value for each segment is just the next row's x and y values. You can get these by using `dplyr::lead` on the x and y aesthetics. ``` library(ggplot2) library(dplyr) ggplot(df, aes(x = x_axis_values, y = y_axis_values)) + geom_point(color = "#69b3a2") + geom_segment(aes(xend = after_stat(lead(x)), yend = after_stat(lead(y))), arrow = arrow(length = unit(3, "mm")), color = "#69b3a2") + geom_text(aes(label = year), size = 5, fontface = 2, data = . %>% filter(year %in% c(1935, 1937, 1939, 1942, 1945, 1946, 1953, 1957, 1960, 1961)), nudge_x = c(-3, -2, 4, 0, 0, -2, -5, 0, 3, 5), nudge_y = c(30, -30, 10, -30, -40, -40, 0, -50, 30, 0)) + labs(x = "partic", y = "tfr") + theme_bw(base_size = 16) ``` [](https://i.stack.imgur.com/P28q2.png)
null
CC BY-SA 4.0
null
2022-12-18T20:46:08.877
2022-12-18T21:15:39.043
2022-12-18T21:15:39.043
12,500,315
12,500,315
null
74,844,458
2
null
74,076,140
0
null
Quick fix: Copy and paste the project, then run the copy. This issue has occurred for me a few times when running Scripts that others have created.
null
CC BY-SA 4.0
null
2022-12-18T21:14:05.900
2022-12-18T21:14:05.900
null
null
15,080,699
null
74,844,471
2
null
74,839,937
0
null
Use `Sheet.getRangeList()` and `Array` methods, like this: ``` let firstCellA1 = 'B7'; ['D7', 'C7', 'B7',].some(rangeA1 => { if (shUserForm.getRange(rangeA1).getDisplayValue()) { firstCellA1 = rangeA1; return true; } }); const data = shUserForm .getRangeList([firstCellA1, 'E7', 'F7', 'F3', 'B3', 'D3', 'F4',]) .getRanges() .map(range => range.getValue()); datasheet.appendRow([new Date()].concat(data)); ```
null
CC BY-SA 4.0
null
2022-12-18T21:15:38.263
2022-12-18T21:15:38.263
null
null
13,045,193
null
74,844,587
2
null
27,658,409
0
null
An easy(hard) way to get over this error is to do the process manually. Just go to the website `https://www.nltk.org/nltk_data/` and download the required zip file and extract the contents. In Windows, go to `user/AppData/local/Programs/Python/Python(version)/lib` and create a folder nltk_data. Then create the respective folder. As an example, for 'punkt' create the folder `tokenizers` and add the folder 'punkt' inside the extracted folder to it. This info is mostly given by the terminal itself. Run your program. Cheers! : Of course, downloading all files can be time-consuming, but it's the only option if the "urlopen error" persists. It is also mostly your router or network at fault that you are not able to download nltk files. Try changing your network and that should help.
null
CC BY-SA 4.0
null
2022-12-18T21:35:37.367
2022-12-18T21:37:18.697
2022-12-18T21:37:18.697
20,448,451
20,448,451
null
74,844,717
2
null
25,836,628
0
null
## 100% MIX-BLEND-MODE ``` red ========================================= | cat ======= ==== Blending (luminosity) | | ==== Blending (multiply) === | white ========= ``` ``` <div style=" position:relative; background-color: rgb(255,255,255); height: 316px; width: 450px;"> <div style=" background-image: url('http://4.bp.blogspot.com/_BSmKs8FzkfI/SCi18Kth3oI/AAAAAAAAACA/BzWFAOZXu3U/s1600/kitteh_puddle.jpg'); height: 316px; width: 450px; position:relative; left:0px; top:0px; mix-blend-mode: luminosity;"> </div> <div style=" background: rgba(190, 50, 50, 0.65); height: 316px; width: 450px; position:absolute; left:0px; top:0px; mix-blend-mode: multiply;"> </div> </div> ```
null
CC BY-SA 4.0
null
2022-12-18T22:06:11.323
2022-12-19T06:18:06.970
2022-12-19T06:18:06.970
6,143,315
6,143,315
null
74,844,724
2
null
74,844,198
2
null
``` smoking_status_by_per %>% # generate counts janitor::tabyl(cigarettes_smoking_status, sex) %>% # add total row/column janitor::adorn_totals(where = c('row', 'col')) %>% # convert counts to percentages janitor::adorn_percentages() %>% janitor::adorn_pct_formatting() cigarettes_smoking_status Female Male Total Non-smoker 75.0% 25.0% 100.0% Regular Smoker 0.0% 100.0% 100.0% Total 66.7% 33.3% 100.0% ``` This does convert the totals to percentages. You can use `janitor::adorn_ns` to add back counts to the percentages as well. Or save the totals after calculating the totals and add them back to the table afterwards (rbind the last row and cbind the Totals column with the counts).
null
CC BY-SA 4.0
null
2022-12-18T22:07:48.343
2022-12-18T22:07:48.343
null
null
15,221,658
null
74,844,960
2
null
73,949,221
0
null
Yes paragraph is often the default but clicking on the '+' button highlighted there, you could access the search bar and choose whichever type of block you'd like. [Example of search bar](https://i.stack.imgur.com/kVmQF.png) It's also possible to create reusable blocks by right clicking and saving it. Makes things faster. [Creating reusable blocks](https://i.stack.imgur.com/qhBrx.jpg) I found this helpful with learning WordPress. [LinkedIn Learning WordPress Essential Training](https://www.linkedin.com/learning/wordpress-5-essential-training) Hope that helps.
null
CC BY-SA 4.0
null
2022-12-18T22:57:09.210
2022-12-18T22:57:09.210
null
null
20,799,072
null
74,845,140
2
null
74,844,605
0
null
Rigidbody should be able to do the trick. You said that it did not work, so here are a few things you need to make sure you have done for the Rigidbody collisions to work properly: - - - - `Rigidbody.MovePosition(newPos)``Rigidbody.velocity = new Vector3(newVelocity)`-
null
CC BY-SA 4.0
null
2022-12-18T23:41:38.127
2022-12-18T23:41:38.127
null
null
19,504,921
null
74,845,857
2
null
74,844,198
0
null
We can use `proportions` and some binding to get what you have in the example. Starting with enough data to fill out the matrix, ``` set.seed(42) quux <- data.frame(response = sample(c("Non-smoker", "Occasional smoker", "Prefer not to say", "Regular smoker"), size=5000, replace=TRUE), gender = sample(c("Male", "Female", "Prefer not to say", "Unknown"), size=5000, replace=TRUE)) head(quux) # response gender # 1 Non-smoker Unknown # 2 Non-smoker Prefer not to say # 3 Non-smoker Female # 4 Non-smoker Unknown # 5 Occasional smoker Female # 6 Regular smoker Unknown ``` # base R We can look at a simple table with: ``` table(quux) # gender # response Female Male Prefer not to say Unknown # Non-smoker 330 294 323 312 # Occasional smoker 308 344 287 325 # Prefer not to say 292 337 310 304 # Regular smoker 309 308 311 306 ``` For future verification, the sum of the first column (`Female`) is 1239, and the expected column-wise percentages for that are ``` c(330, 308, 292, 309) / 1239 # [1] 0.2663438 0.2485876 0.2356739 0.2493947 ``` We can get the percentages with ``` round(100 * proportions(table(quux), margin = 2), 2) # gender # response Female Male Prefer not to say Unknown # Non-smoker 26.63 22.92 26.24 25.02 # Occasional smoker 24.86 26.81 23.31 26.06 # Prefer not to say 23.57 26.27 25.18 24.38 # Regular smoker 24.94 24.01 25.26 24.54 ``` Do get the right-most (Total) and bottom summary, we'll need to bind things. ``` tbl1 <- do.call(table, quux) tbl2 <- 100 * proportions(tbl1, margin = 2) tbl3 <- rbind(tbl2, `Number of Respondents` = colSums(tbl1)) tbl3 # Female Male Prefer not to say Unknown # Non-smoker 26.63438 22.91504 26.23883 25.02005 # Occasional smoker 24.85876 26.81216 23.31438 26.06255 # Prefer not to say 23.56739 26.26656 25.18278 24.37851 # Regular smoker 24.93947 24.00624 25.26401 24.53889 # Number of Respondents 1239.00000 1283.00000 1231.00000 1247.00000 tbl4 <- cbind(tbl3, `Total %` = c(100 * proportions(rowSums(tbl1)), sum(tbl1))) tbl4 # Female Male Prefer not to say Unknown Total % # Non-smoker 26.63438 22.91504 26.23883 25.02005 25.18 # Occasional smoker 24.85876 26.81216 23.31438 26.06255 25.28 # Prefer not to say 23.56739 26.26656 25.18278 24.37851 24.86 # Regular smoker 24.93947 24.00624 25.26401 24.53889 24.68 # Number of Respondents 1239.00000 1283.00000 1231.00000 1247.00000 5000.00 ``` And we can round the numbers: ``` round(tbl4, 1) # Female Male Prefer not to say Unknown Total % # Non-smoker 26.6 22.9 26.2 25.0 25.2 # Occasional smoker 24.9 26.8 23.3 26.1 25.3 # Prefer not to say 23.6 26.3 25.2 24.4 24.9 # Regular smoker 24.9 24.0 25.3 24.5 24.7 # Number of Respondents 1239.0 1283.0 1231.0 1247.0 5000.0 ``` # dplyr ``` library(dplyr) library(tidyr) # pivot_wider tbl1 <- tibble(quux) %>% count(response, gender) %>% pivot_wider(response, names_from = gender, values_from = n) tbl1 # # A tibble: 4 × 5 # response Female Male `Prefer not to say` Unknown # <chr> <int> <int> <int> <int> # 1 Non-smoker 330 294 323 312 # 2 Occasional smoker 308 344 287 325 # 3 Prefer not to say 292 337 310 304 # 4 Regular smoker 309 308 311 306 tbl2 <- tbl1 %>% summarize( response = "Number of Respondents", across(-response, ~ sum(.)), `Total %` = sum(tbl1[,-1]) ) tbl2 # # A tibble: 1 × 6 # response Female Male `Prefer not to say` Unknown `Total %` # <chr> <int> <int> <int> <int> <int> # 1 Number of Respondents 1239 1283 1231 1247 5000 tbl1 %>% mutate( across(Female:Unknown, ~ 100 * . / sum(.)), `Total %` = rowSums(tbl1[,-1]), `Total %` = 100 * `Total %` / sum(`Total %`) ) %>% bind_rows(tbl2) # # A tibble: 5 × 6 # response Female Male `Prefer not to say` Unknown `Total %` # <chr> <dbl> <dbl> <dbl> <dbl> <dbl> # 1 Non-smoker 26.6 22.9 26.2 25.0 25.2 # 2 Occasional smoker 24.9 26.8 23.3 26.1 25.3 # 3 Prefer not to say 23.6 26.3 25.2 24.4 24.9 # 4 Regular smoker 24.9 24.0 25.3 24.5 24.7 # 5 Number of Respondents 1239 1283 1231 1247 5000 ```
null
CC BY-SA 4.0
null
2022-12-19T02:37:21.210
2022-12-19T02:46:14.373
2022-12-19T02:46:14.373
3,358,272
3,358,272
null
74,845,914
2
null
74,845,884
0
null
You need to get the `current` from the reference. Please try: ``` console.log(myFormRef?.current?.submit()); ```
null
CC BY-SA 4.0
null
2022-12-19T02:54:14.417
2022-12-19T02:54:14.417
null
null
5,948,056
null
74,846,112
2
null
74,760,543
2
null
I checked the source code of `create()` method. It indeed only saves the first error and not all the errors. However, since the `create()` method will send one request for each item anyway, you can implement your own logic where you will wrap all the items with `Promise.allSettled()` and use the `create()` method for each item. That way, you will know exactly which item was successfully added, and which threw an error: ``` app.post('/users', async (req, res, next) => { try { const items = req.body; const results = await Promise.allSettled( items.map((item) => User.create(item)) ); constole.log(results.map((result) => result.status); // Items that were successfully created will have the status "fulfilled", // and items that were not successfully created will have the status "rejected". return res.status(200).json({ message: 'success', results }) } catch (error) { console.log(error) return res.status(400).json({ message: 'an error', data: error }) } }) ```
null
CC BY-SA 4.0
null
2022-12-19T03:45:13.637
2022-12-19T07:54:58.153
2022-12-19T07:54:58.153
14,389,830
14,389,830
null
74,846,136
2
null
74,846,027
1
null
Create a database object and store all the data in such a format that it can be retrieved based on the input property. use this analogy: ``` const database = { "type1": { "20ft": { "method1": { "150mm": "125$", "200mm": "132$", "250mm": "142$" }, "method2": { ... }, "method3": { ... } }, "21ft": { ... } }, "type2": { ... } } // When you want to fetch the answer use call the variable like this const answer = database?.["type1"]?.["20ft"]?.["method1"]?.["150mm"] || null; ```
null
CC BY-SA 4.0
null
2022-12-19T03:50:46.310
2022-12-19T03:50:46.310
null
null
13,704,371
null
74,846,236
2
null
74,846,027
1
null
This method is possible using array filter and map save as `get-price.js` ``` const data = [ { "type": "type1", "size": "20ft", "length": "150mm", "method": "method1", "price": "125$" }, { "type": "type1", "size": "20ft", "length": "150mm", "method": "method2", "price": "152$" }, { "type": "type1", "size": "20ft", "length": "150mm", "method": "method3", "price": "170$" }, { "type": "type1", "size": "20ft", "length": "200mm", "method": "method1", "price": "132$" }, { "type": "type1", "size": "20ft", "length": "200mm", "method": "method2", "price": "152$" }, { "type": "type1", "size": "20ft", "length": "200mm", "method": "method3", "price": "212$" }, { "type": "type1", "size": "20ft", "length": "250mm", "method": "method1", "price": "142$" }, { "type": "type1", "size": "20ft", "length": "250mm", "method": "method2", "price": "182$" }, { "type": "type1", "size": "20ft", "length": "250mm", "method": "method3", "price": "112$" } ] const getPrice = (type, size, length, method) => { return (data // filter matched condition .filter(el => { return el.type == type && el.size == size && el.length == length && el.method == method }) // map return price and first item of array .map (el => { return el.price })[0]) } console.log(getPrice('type1', '20ft', '150mm', 'method3')) console.log(getPrice('type1', '20ft', '150mm', 'method1')) console.log(getPrice('type1', '20ft', '250mm', 'method2')) ``` Result ``` $node get-price.js 170$ 125$ 182$ ```
null
CC BY-SA 4.0
null
2022-12-19T04:15:05.123
2022-12-19T05:01:27.380
2022-12-19T05:01:27.380
8,054,998
8,054,998
null
74,846,359
2
null
74,843,479
0
null
You could do this several different ways. If you're not having any luck with advanced Webpack config options, a little Node script should do the trick: ``` const fs = require('fs') const bundleContents = fs.readFileSync('./path/to/bundle.js', 'utf8') const fileToModify = fs.readFileSync('./path/to/file-to-modify.js', 'utf8').split('\n') const lineToModify = fileToModify.findIndex((l) => l.includes('INSERT HERE WEBPACK OUTPUT')) fileToModify[lineToModify] = bundleContents fs.writeFileSync('./path/to-destination-file.js', fileToModify.join('\n')) ``` Note that this is not robust, with hardcoded paths and lines to look for, though it is probably safer than using a shell script with sed et al. A better option might be to use a codemod or some other tool that understands ASTs, or to keep trying with compiler hooks as in the answer you linked.
null
CC BY-SA 4.0
null
2022-12-19T04:43:37.233
2022-12-19T04:43:37.233
null
null
5,774,952
null
74,846,649
2
null
35,746,695
0
null
[](https://i.stack.imgur.com/6AE13.png) [](https://i.stack.imgur.com/8NJ8P.png) Remove unwanted supported destinations in XCode and upload a new build to App Store Connect. Upon removing iPad destination, iPad images become optional fields.
null
CC BY-SA 4.0
null
2022-12-19T05:43:22.947
2022-12-19T05:43:22.947
null
null
13,416,191
null
74,846,707
2
null
63,290,763
0
null
Rename your application name from 'bloc' to 'anythingYouPrefer', the reason for your problem is contradiction with the package and your application name
null
CC BY-SA 4.0
null
2022-12-19T05:54:01.537
2022-12-19T05:54:01.537
null
null
12,067,286
null
74,846,857
2
null
27,356,464
0
null
It's not a perfect answer to your specific question, but it an answer to the question itself of "How can I map up the ColumnHeaders with the DataRow's ItemArray Values. For me, this is the basic solution. ``` private void UpdateButton_Click(object sender, EventArgs e) { DataRow[] modifiedRows = _dataTable.Select("", "", DataViewRowState.ModifiedCurrent); foreach (var row in modifiedRows) { for (var i = 0; i < row.Table.Columns.Count; i++) { var ColumnName = row.Table.Columns[i].ColumnName; var ColumnValue = row.ItemArray[i]; } //... build objects now that we can map the property names and new values... } } ```
null
CC BY-SA 4.0
null
2022-12-19T06:20:13.323
2022-12-19T06:20:13.323
null
null
10,257,200
null
74,846,955
2
null
74,846,916
0
null
In your html .box is inside .card element. You're using adjacent sibling selector (+). just use descendant selector. `.card:hover .box` ``` .card:hover .box { display: inline-block; position: absolute; height: 30px; width: 40px; background-color: blue; top: 114px; right: 94px; border-radius: 0px 0px 99px 99px; } ```
null
CC BY-SA 4.0
null
2022-12-19T06:34:33.400
2022-12-19T06:34:33.400
null
null
4,536,882
null
74,846,962
2
null
74,846,916
1
null
``` .box { display: none; } .card:hover .box { display: inline-block; position: absolute; height: 30px; width: 40px; background-color: blue; top: 114px; right: 94px; border-radius: 0px 0px 99px 99px; } ```
null
CC BY-SA 4.0
null
2022-12-19T06:35:06.087
2022-12-19T06:35:06.087
null
null
19,067,773
null
74,846,965
2
null
74,844,403
1
null
What is input to your shaders what are you rendering a single triangle? placed where in respect to sphere? what exactly is in `gl_TessCoord` ? I asume output from tesselation shader however you shared only vertex shaders ... Looks like you are offsetting the octant instead of mirroring! What you should do is just negate the coordinates (all 7 combinations so to get one octant you just multiply the position by `(-1,+1,+1)` ... another octant is multiplied by `(+1,-1,+1)` and so on until last octant is multiplied by `(-1,-1,-1)` no offsetting at all if you have integer number of octant `i` then its lowest 3 bits represent which axis to negate ... putting all together: ``` #version 460 core // Triangles layout (triangles, equal_spacing , ccw) in; layout(location = 0) uniform mat4 modelMatrix; layout(location = 1) uniform mat4 camMatrix; layout(location = 2) uniform int octant; void main() { vec3 pos = normalize(gl_TessCoord); if ((octant&1)!=0) pos.x=-pos.x; if ((octant&2)!=0) pos.y=-pos.y; if ((octant&4)!=0) pos.z=-pos.z; gl_Position = camMatrix * modelMatrix * vec4(pos, 1.f); } ``` Beware did not test this and not sure if bit operations like this are allowed in GLSL however to do this branchlessly you could simply pass the multiplication `vec3` as uniform holding these values for the original octant and its 7 mirrors: ``` octant0:(+1.0,+1.0,+1.0) octant1:(-1.0,+1.0,+1.0) octant2:(+1.0,-1.0,+1.0) octant3:(-1.0,-1.0,+1.0) octant4:(+1.0,+1.0,-1.0) octant5:(-1.0,+1.0,-1.0) octant6:(+1.0,-1.0,-1.0) octant7:(-1.0,-1.0,-1.0) ``` and just multilply the `pos` with it instead of those 3 `if` expressions ...
null
CC BY-SA 4.0
null
2022-12-19T06:35:19.287
2022-12-19T06:35:19.287
null
null
2,521,214
null
74,847,001
2
null
74,846,916
0
null
Just remove the plus. Plus target its same sibling element. The box element is the child of the card. So it would be best if you targeted like this. ``` .card:hover .box { display: inline-block; position: absolute; height: 30px; width: 40px; background-color: blue; top: 114px; right: 94px; border-radius: 0px 0px 99px 99px; } ```
null
CC BY-SA 4.0
null
2022-12-19T06:38:50.950
2022-12-19T06:38:50.950
null
null
9,651,093
null
74,847,149
2
null
74,847,126
-3
null
It looks like the findClosest function is defined as an arrow function and is not returning a value. Arrow functions implicitly return the value of the expression on the right side of the =>, so you will need to explicitly return the value you want to store in the closest variable. ``` const findClosest = (arr, num) => { return arr.sort((a, b) => Math.abs(a - num) - Math.abs(b - num)).filter((a, i) => i < 5); } ```
null
CC BY-SA 4.0
null
2022-12-19T07:00:58.947
2022-12-19T07:00:58.947
null
null
16,322,034
null
74,847,294
2
null
74,844,785
0
null
In `settings.py` include your static file details: ``` STATIC_URL = '/static/'` STATICFILES_DIRS=[os.path.join(BASE_DIR, 'static'),]` ``` Then run collect the static file. ``` ➜ python manage.py collectstatic ``` Then load the below statement in `base.html` file: ``` {% load static %} ``` Hope this will help
null
CC BY-SA 4.0
null
2022-12-19T07:19:22.660
2022-12-21T08:40:17.430
2022-12-21T08:40:17.430
11,833,435
15,227,618
null
74,847,383
2
null
74,846,995
1
null
The problem is probably because it is not a good idea to have a space in the path to a flutter project ie. 'HP PC' would be better named with an underscore instead of the space character. The flutter documentation warns you of this here [https://docs.flutter.dev/get-started/install/windows](https://docs.flutter.dev/get-started/install/windows)
null
CC BY-SA 4.0
null
2022-12-19T07:30:49.557
2022-12-19T07:30:49.557
null
null
10,376,604
null
74,847,512
2
null
74,847,199
0
null
You are missing a service resource. Otherwise you will not be able to access a cluster service. Something like this will give you access to node-red at: http://IP_of_cluster:30000 ``` apiVersion: v1 kind: Service metadata: name: node-red-service spec: type: NodePort selector: app: nodered ports: - port: 1880 targetPort: 1880 nodePort: 30000 ``` If you want something more production-ready, you should think of using an ingress resource: [https://kubernetes.io/docs/concepts/services-networking/ingress/](https://kubernetes.io/docs/concepts/services-networking/ingress/)
null
CC BY-SA 4.0
null
2022-12-19T07:44:26.620
2022-12-19T07:44:26.620
null
null
12,089,615
null
74,847,535
2
null
30,737,329
1
null
Run this 1. heroku login 2. git add . 3. git commit -m "..." 4. git push heroku main This is going to work
null
CC BY-SA 4.0
null
2022-12-19T07:46:49.720
2022-12-19T07:46:49.720
null
null
16,979,498
null
74,847,631
2
null
74,847,235
2
null
We could modify the `glmnet:::plot.multnet` method for this and add a `which=` option similar to that in `stats:::plot.lm`. ``` plot.multnet <- function(x, xvar=c("norm", "lambda", "dev"), label=FALSE, type.coef=c("coef", "2norm"), which=x$classnames, ...) { xvar <- match.arg(xvar) type.coef <- match.arg(type.coef) if (!all(which %in% x$classnames)) { warning(sprintf('`which="%s"` not in classnames, defaulting to all', which)) which <- x$classnames } beta <- x$beta if (xvar == "norm") { cnorm1 <- function(beta) { whichnz <- nonzeroCoef(beta) beta <- as.matrix(beta[whichnz, ]) apply(abs(beta), 2, sum) } norm <- apply(sapply(x$beta, cnorm1), 1, sum) } else { norm <- NULL } dfmat <- x$dfmat if (type.coef == "coef") { ncl <- nrow(dfmat) clnames <- rownames(dfmat) lapply(which, function(z) glmnet:::plotCoef(beta[[z]], norm, x$lambda, dfmat[z, ], x$dev.ratio, label=label, xvar=xvar, ylab=paste("Coefficients: Response", grep(z, clnames, value=TRUE)))) } else { dfseq <- round(apply(dfmat, 2, mean), 1) glmnet:::plotCoef(coefnorm(beta, 2), norm, x$lambda, dfseq, x$dev.ratio, label=label, xvar=xvar, ylab="Coefficient 2Norms", ...) } } ``` ## Usage ``` fit1 <- glmnet::glmnet(x, y, family="multinomial") plot(fit1, xvar='lambda', which='c') ``` [](https://i.stack.imgur.com/nncns.png) I implemented a warning if a certain layer is not present, then by default all layers are plotted as before. ``` plot(fit1, xvar='lambda', which='foo') # Warning message: # In plot.multnet(fit1, xvar = "lambda", which = 1) : # `which="foo"` not in classnames, defaulting to all ``` --- ``` set.seed(42) x <- matrix(rnorm(100 * 20), 100, 20) y <- sample(letters[1:3], 100, replace=TRUE) ```
null
CC BY-SA 4.0
null
2022-12-19T07:58:24.173
2022-12-19T14:28:09.903
2022-12-19T14:28:09.903
6,574,038
6,574,038
null
74,847,768
2
null
74,847,235
1
null
Here is a way, hacking the code of `plot.multnet`, like in [jay.sf's answer](https://stackoverflow.com/a/74847631/8245406). The hacking is different, though. It doesn't throw a warning when asked to plot all levels. See the code comments on what is done. The data set and fit example is taken from the documentation of `plot.multnet`, see, for instance, [here](https://glmnet.stanford.edu/reference/plot.glmnet.html). ``` library(glmnet) #> Loading required package: Matrix #> Loaded glmnet 4.1-4 plot.multnet <- function (x, xvar = c("norm", "lambda", "dev"), label = FALSE, type.coef = c("coef", "2norm"), which = NULL, ...) { xvar = match.arg(xvar) type.coef = match.arg(type.coef) beta = x$beta if (xvar == "norm") { cnorm1 = function(beta) { which = glmnet:::nonzeroCoef(beta) beta = as.matrix(beta[which, ]) apply(abs(beta), 2, sum) } norm = apply(sapply(x$beta, cnorm1), 1, sum) } else norm = NULL dfmat = x$dfmat if (type.coef == "coef") { ncl = nrow(dfmat) clnames = rownames(dfmat) # if(is.null(which)) { # if all response values are to be plotted seq_ncl <- seq(ncl) # use the package's loop control variable } else { seq_ncl <- which # if not, only the wanted values } # for (i in seq_ncl) { glmnet:::plotCoef(beta[[i]], norm, x$lambda, dfmat[i, ], x$dev.ratio, label = label, xvar = xvar, ylab = paste("Coefficients: Response", clnames[i]), ...) } } else { dfseq = round(apply(dfmat, 2, mean), 1) glmnet:::plotCoef(coefnorm(beta, 2), norm, x$lambda, dfseq, x$dev.ratio, label = label, xvar = xvar, ylab = "Coefficient 2Norms", ...) } } set.seed(2022) x <- matrix(rnorm(100*20), 100, 20) g4 <- sample(4, 100, replace = TRUE) fit3 <- glmnet(x, g4, family = "multinomial") op <- par(mfrow = c(2, 2)) plot(fit3) ``` ![](https://i.imgur.com/qw6nCFO.png) ``` par(op) plot(fit3, which = 2) ``` ![](https://i.imgur.com/gMuw5Yk.png) [reprex v2.0.2](https://reprex.tidyverse.org)
null
CC BY-SA 4.0
null
2022-12-19T08:15:11.583
2022-12-19T08:20:13.083
2022-12-19T08:20:13.083
8,245,406
8,245,406
null
74,847,891
2
null
74,846,300
0
null
This is because you have connect that library locally only. One way is to upload on bin the dlls that connected with SqlClient, but its better to go to your project, right click on the project, open the "Manage NuGet Package..." and include the "System.Data.SqlClient" package. Then compile and upload again the result to your server. [](https://i.stack.imgur.com/JUoEr.jpg)
null
CC BY-SA 4.0
null
2022-12-19T08:31:07.790
2022-12-19T08:31:07.790
null
null
159,270
null
74,847,930
2
null
23,183,343
0
null
just add `col-12` to the class. `btn-block` doesn't work with bootstrap5 ---
null
CC BY-SA 4.0
null
2022-12-19T08:35:24.063
2022-12-19T08:41:00.150
2022-12-19T08:41:00.150
4,826,457
17,899,573
null
74,847,948
2
null
74,847,692
0
null
Add below code in your main() function and import below library ``` import 'package:flutter/services.dart'; ``` ``` SystemChrome.setSystemUIOverlayStyle( const SystemUiOverlayStyle( statusBarColor: Colors.transparent, ), ); ```
null
CC BY-SA 4.0
null
2022-12-19T08:36:49.700
2022-12-19T08:36:49.700
null
null
13,997,210
null
74,848,219
2
null
28,634,289
0
null
Newer versions of Visual Studio have a drop down menu that can be opened to view and select different versions of a package [](https://i.stack.imgur.com/siyWK.png)
null
CC BY-SA 4.0
null
2022-12-19T09:01:27.150
2022-12-19T09:01:27.150
null
null
2,843,065
null
74,848,361
2
null
74,848,098
0
null
You will have to filter the original list (i.e. `UserTypes`) before iterating it with `*ngFor`, so the first step is to identify how to remove duplicates from this array. You will need to decide what is considered a duplicate, i.e. which key in the object will be checked for uniqueness. For the purposes of this example I will consider that you have a property `name` in your object which needs to be unique. The downstream logic will therefore delete any object which contains a `name` value that has already been encountered earlier in the list. There are plenty of examples of how to do this in [other SO answers](https://stackoverflow.com/questions/2218999/how-to-remove-all-duplicates-from-an-array-of-objects). Function copied from answer: [https://stackoverflow.com/a/56768137/9987590](https://stackoverflow.com/a/56768137/9987590) `utils.ts` ``` function getUniqueListBy(arr, key) { return [...new Map(arr.map(item => [item[key], item])).values()] } ``` You could either: --- - `.ts``filteredUserTypes``*ngFor` `component.ts` ``` ngOnInit() { // Place this inside your .subscribe() block instead of ngOnInit() if you are fetching data asynchronously/from an API this.filteredUserTypes = getUniqueListBy(this.UserTypes, 'name') } ``` `component.html` ``` <option *ngFor="let type of filteredUserTypes" [ngValue]="type.id"> <span>{{type.name}}</span> </option> ``` --- - `FilterPipe` `pipe.ts` ``` import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'filter' }) export class FilterPipe<T extends {}> implements PipeTransform { transform(items: T[], key: keyof T): T[] { return items.length ? getUniqueListBy(items, key) : [] } } ``` `component.html` ``` <option *ngFor="let type of UserTypes | filter : 'name'" [ngValue]="type.id"> <span>{{type.name}}</span> </option> ```
null
CC BY-SA 4.0
null
2022-12-19T09:14:24.873
2022-12-19T09:27:34.703
2022-12-19T09:27:34.703
9,987,590
9,987,590
null
74,848,664
2
null
74,841,041
1
null
To get all the styles use this Action Manager function: ``` var allStyles = get_styles() alert(allStyles); // ALLL the styles! //alert(allStyles[22]); // Sunspots (texture) function get_styles() { var ref = new ActionReference(); ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") ); var appDesc = executeActionGet(ref); var List = appDesc.getList(stringIDToTypeID('presetManager')); var list = List.getObjectValue(3).getList(charIDToTypeID('Nm ')); var styleNames=[]; for (var i = 0; i < list.count; i++) { var str = list.getString(i); styleNames.push(str); } return styleNames; } ```
null
CC BY-SA 4.0
null
2022-12-19T09:40:19.970
2022-12-19T15:54:52.483
2022-12-19T15:54:52.483
1,654,143
1,654,143
null
74,848,818
2
null
74,797,833
0
null
According to the leaflet documentation [on markers](https://leafletjs.com/reference.html#marker), the markers use the urls of images set in the icon variable for the marker and its shadow. It seems that somehow the url for the shadow image is the same as the one from your marker. The only way I managed to get the same image was by explicitly setting it: ``` // define the icon var myIcon = L.icon({ iconUrl: 'http://cdn.leafletjs.com/leaflet-0.7.3/images/marker-icon.png', //url of your marker. I think this one is the one you have shadowUrl: 'http://cdn.leafletjs.com/leaflet-0.7.3/images/marker-icon.png', iconSize: [38, 30], iconAnchor: [22, 94], // location of icon popupAnchor: [-3, -76], //location of your pop-up shadowSize: [50, 20], shadowAnchor: [20, 90] // location of shadow }); // create the marker using the 'MyIcon' defined above: L.marker([51.715019, 8.751960],{icon: myIcon}).addTo(this.map).bindPopup('Machine 102').openPopup(); ``` [double shadow](https://i.stack.imgur.com/HhfEB.png) If you remove the shadow properties, then it shouldn't appear: ``` var myIcon = L.icon({ iconUrl: 'http://cdn.leafletjs.com/leaflet-0.7.3/images/marker-icon.png', iconSize: [38, 38], iconAnchor: [22, 94], popupAnchor: [-3, -76], }); ``` You can also try to set the `shadowUrl` to false, to make sure it overrides any inherited shadow location you might have: ``` shadowUrl:false ```
null
CC BY-SA 4.0
null
2022-12-19T09:54:12.850
2022-12-19T09:54:58.123
2022-12-19T09:54:58.123
19,885,851
19,885,851
null
74,848,950
2
null
74,846,224
5
null
I think this is a grey area, somewhere between DIHWIDT (Docter, It Hurts When I Do This) and an oversight in implementation. Thing is, you can create your own class and use that in the `is` trait. Basically, that overrides the type with which the object will be created from the default `Hash` (for `%`) and `Array` (for `@` sigils). As long as you provide the interface methods, it (currently) works. For example: ``` class Foo { method AT-KEY($) { 42 } } my %h is Foo; say %h<a>; # 42 ``` However, if you want to pass such an object as an argument to a sub with a `%` sigil in the signature, it will fail because the class did not consume the `Associatve` role: ``` sub bar(%) { 666 } say bar(%h); ===SORRY!=== Error while compiling -e Calling bar(A) will never work with declared signature (%) ``` I'm not sure why the test for `Associative` (for the `%` sigil) and `Positional` (for `@`) is not enforced at compile time with the `is` trait. I would assume it was an oversight, maybe something to be fixed in 6.e.
null
CC BY-SA 4.0
null
2022-12-19T10:06:49.523
2022-12-19T10:06:49.523
null
null
7,424,470
null
74,849,070
2
null
74,846,995
0
null
Give it a try it worked for me. run command in vs code or android studio terminal ``` flutter clean flutter pub get ``` repeat this 5-7 times restart whole project,PC and reinstall the build in your mobile if you still have any error you poke me out here I will leave my linkedin
null
CC BY-SA 4.0
null
2022-12-19T10:16:01.737
2022-12-19T10:16:01.737
null
null
20,367,275
null
74,849,101
2
null
26,416,972
0
null
For iOS 16 and upper try this: ``` searchController.scopeBarActivation = .onSearchActivation ```
null
CC BY-SA 4.0
null
2022-12-19T10:19:28.617
2022-12-19T10:19:28.617
null
null
7,618,147
null
74,849,274
2
null
24,372,387
1
null
Indeed, the word "back" in the term "backtracking" could sometimes be confusing when a backtracking solution "keeps going forward" as in my solution of the classic N queens problem: ``` /** * Given *starting* row, try all columns. * Recurse into subsequent rows if can put. * When reached last row (stopper), increment count if put successfully. * * By recursing into all rows (of a given single column), an entire placement is tried. * Backtracking is the avoidance of recursion as soon as "cannot put"... * (eliminating current col's placement and proceeding to the next col). */ int countQueenPlacements(int row) { // queen# is also queen's row (y axis) int count = 0; for (int col=1; col<=N; col++) { // try all columns for each row if (canPutQueen(col, row)) { putQueen(col, row); count += (row == N) ? print(board, ++solutionNum) : countQueenPlacements(row+1); } } return count; } ``` Note that my comment defines Backtracking as the avoidance of recursion as soon as "cannot put" -- but this is not entirely full. Backtracking in this solution could also mean that once a proper placement is found, the recursion stack unwinds (or backtracks).
null
CC BY-SA 4.0
null
2022-12-19T10:33:17.313
2022-12-19T12:07:43.353
2022-12-19T12:07:43.353
2,597,758
2,597,758
null
74,849,285
2
null
74,849,216
1
null
Use nested `FILTER()` function like- ``` =FILTER(B1:G1,FILTER(B2:G11,A2:A11=J1)="x") ``` [](https://i.stack.imgur.com/5Ul5u.png)
null
CC BY-SA 4.0
null
2022-12-19T10:34:15.763
2022-12-19T10:34:15.763
null
null
5,514,747
null
74,849,363
2
null
74,848,591
1
null
In the properties of the Hold block you must select Manual mode. Opening and closing the block using the `block()` and `unblock()` functions. Under the `On enter` event of your Club block, you close when there are 99 people in the system ahead of you `if (self.capacity == 99) hold.block();` And under the `On exit` event of your Club block, you unlock when you leave 90 people behind `if (self.capacity == 90) hold.unblock();` Check if the number is 90 or 91 (I'm not sure if in this event he already missed the specific agent)
null
CC BY-SA 4.0
null
2022-12-19T10:41:40.210
2022-12-19T10:41:40.210
null
null
18,366,972
null
74,849,664
2
null
74,849,605
-1
null
Try to wrap the `Row` inside the `LinkText` with a `SizedBox`. Like this: ``` class LinkText extends StatelessWidget { const LinkText({Key? key, required this.normal, required this.link}) : super(key: key); final String normal; final String link; @override Widget build(BuildContext context) { return SizedBox( height: 20, //change this value how you like it child: Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Text("Don't have an Account?", style: TextStyle(fontSize: 16), ), GestureDetector( onTap: () { }, child: Text("Sign up", style: TextStyle(fontSize: 16, color: Colors.red[400]), ), ), ], ), ); } } ```
null
CC BY-SA 4.0
null
2022-12-19T11:09:28.127
2022-12-19T11:09:28.127
null
null
1,514,861
null
74,849,694
2
null
74,849,693
0
null
The refers to the . You can use any instance starting with the letters (provided you stay within your limit of vCPU >=244)
null
CC BY-SA 4.0
null
2022-12-19T11:12:27.833
2022-12-19T11:12:27.833
null
null
13,814,371
null
74,849,959
2
null
74,846,993
0
null
You'll need to store it as a String and upload it to Firestore (Firestore doesn't have a DateTime type Object) ``` late String _date; . . . //onPressed DatePicker.showTime12hPicker( context, theme: const DatePickerTheme( containerHeight: 210.0, ).then((newDate){ _date = DateFormat.yMd().format(newDate);}, //in the constructor change the date from DateTime to DateTime ```
null
CC BY-SA 4.0
null
2022-12-19T11:37:18.527
2022-12-19T11:37:18.527
null
null
16,758,647
null
74,850,010
2
null
74,849,693
1
null
The letters `A`, `C`, `D`, `H`, `I`, `M`, `R`, `T`, `Z` refers to the instance family name, i.e. the first letter of the corresponding [EC2 instance type](https://aws.amazon.com/ec2/instance-types/). For example, `C` represent the `Compute Optimized` family, `R` refers to `Memory Optimized` and so on. Please note that AWS offers more instance types that were not covered by your limit increase request, e.g. `G` (`Accelerated Computing`), `H` (`HPC` / `High Performance Computing`) etc.
null
CC BY-SA 4.0
null
2022-12-19T11:41:48.423
2022-12-19T11:41:48.423
null
null
303,598
null
74,850,207
2
null
74,796,457
2
null
The answer by Hans Olsson was fine originally, but meanwhile the question got more precise and `exportDiagram` is of no use any more. Apparently the exported model diagram is created from the Modelica code, so animations and hence simulation results are not visible. I guess your only solution is to use an external program which takes screenshots. Windows lacks support for that, but there are multiple tools. See the answers to [this question](https://superuser.com/questions/75614/take-a-screen-shot-from-command-line-in-windows) for details. I picked nircmd.exe, which allows us to create a screenshot after a wait time. With the Modelica function below you can simulate a model and it will automatically capture a screenshot of your whole screen when the simulation has finished. The screenshot should include Dymola and your model in the diagram layer. I had to trick a bit to make sure that no black cmd window is on the screenshot. Check the code for details. ``` function simshot "Simulate given model and take a screenshot of the diagram layer" input String mdl="MyExample" "Simulation model"; input Real t_stop=10 "Simulation stop time"; input String out_dir = "." "Output directory for screenshot. Default is working directory."; protected final parameter String png = out_dir + "/" + mdl + ".png"; Boolean _ "Dummy variable for return values of no interest"; Boolean ok; algorithm _ :=instantiateModel(mdl); // Make sure that the model is the currently displayed model ok := simulateModel(mdl, stopTime=t_stop); // simulate if not ok then Modelica.Utilities.Streams.error("Simulation failed"); end if; _ :=switchToModelingMode(); // Go to modeling moode _ :=switchLayer(2); // and to the diagram layer of the model _ :=animationTime(t_stop); // make sure the animation displays the value of simulation end // The "command" call spawns a cmd window, which is visible on the screenshot // Hence we use start to launch a separate process and wait a little, to make sure that // the cmd window is closed. Modelica.Utilities.System.command("start nircmd.exe cmdwait 500 savescreenshot " + png); annotation(__Dymola_interactive=true); end simshot ; ```
null
CC BY-SA 4.0
null
2022-12-19T11:58:21.510
2022-12-19T11:58:21.510
null
null
8,725,275
null
74,850,242
2
null
74,838,774
1
null
You appear to be using DataStax Astra DB. DataStax Astra DB does not connect on the Cassandra default 9042 port, but rather on 29042. However, even with that correct, you'll still have to pass along the SSL info, which is tricky to get correct manually. That's why the recommendation of referencing the secure connect bundle is the easy path. You're right in that there don't appear to be any examples of using Astra DB with Express Cassandra. The good news, is that Express Cassandra looks like it uses the Cassandra nodejs driver underneath. That means that the client options are likely to be the same/similar. Try something like this: ``` export const cassandraOptions: ExpressCassandraModuleOptions = { clientOptions: { cloud: { secureConnectBundle: 'path/to/secure-connect-bundle.zip' }, credentials: { username: 'clientid', password: 'secret' } }, ormOptions: { createKeyspace: false, defaultReplicationStrategy: { class: 'SimpleStrategy', replication_factor: 1, }, migration: 'safe', }, }; ``` And if that doesn't work, maybe swap out the `credentials` line with `authProvider` you're using above.
null
CC BY-SA 4.0
null
2022-12-19T12:00:33.823
2022-12-19T12:00:33.823
null
null
1,054,558
null
74,850,299
2
null
31,892,554
0
null
If you stumble upon this (in 2022) use action instead of browserAction: ``` chrome.action.setBadgeText({text: ""}); ``` as seen [in the API documentation](https://developer.chrome.com/docs/extensions/reference/action/#method-setBadgeText). If you are also wondering where you should place the function call to trigger the badge text going away when opening the popup, just put in your popup.js (or however your content script is named). If you want to trigger some extra logic in your background script when removing the badge text you could send a message from your popup.js via ``` chrome.runtime.sendMessage("clearBadge", (response) => console.log("Badge cleared")); ``` and in your backgroundworker.js ``` chrome.runtime.onMessage.addListener((message, sender, sendResponse) => { if(message === "clearBadge"){ chrome.action.setBadgeText({text: ""}); //do something else } }); ```
null
CC BY-SA 4.0
null
2022-12-19T12:07:23.890
2022-12-19T12:07:23.890
null
null
20,337,820
null
74,850,337
2
null
74,850,082
0
null
## EDIT One approach could therefore be to extend the previous one and look for differences or partial similarities and use these for the replacement. #### Example ``` import pandas as pd from difflib import SequenceMatcher def longestSubstring(row): str1 = row.A str2 = row.B seqMatch = SequenceMatcher(None,str1,str2) match = seqMatch.find_longest_match(0, len(str1), 0, len(str2)) if (match.size>1): return str1.replace(str1[match.a: match.a + match.size],'') else: return str1 df = pd.DataFrame({ 'A':['A - some B text','A - some other B text', 'A - just A','A - some other B text'], 'B':['B text','other B text','no matching','something and other B text'] }) df['C'] = df.apply(lambda row: longestSubstring(row), axis=1) df ``` #### Output | | A | B | C | | | - | - | - | | 0 | A - some B text | B text | A - some | | 1 | A - some other B text | other B text | A - some | | 2 | A - just A | no matching | A - just A | | 3 | A - some other B text | something and other B text | A - some | --- You could `apply()` a `replace()` to each row of dataframe. #### Example ``` import pandas as pd df = pd.DataFrame({ 'A':['A - some B text','A - some other B text', 'A - just A'], 'B':['B text','other B text','no matching'] }) df['C'] = df.apply(lambda row: row.A.replace(row.B,''), axis=1) df ``` #### Output | | A | B | C | | | - | - | - | | 0 | A - some B text | B text | A - some | | 1 | A - some other B text | other B text | A - some | | 2 | A - just A | no matching | A - just A |
null
CC BY-SA 4.0
null
2022-12-19T12:11:20.833
2022-12-25T17:23:03.673
2022-12-25T17:23:03.673
14,460,824
14,460,824
null
74,850,441
2
null
24,909,498
0
null
``` // you should have Barchart component import HighchartsReact from "highcharts-react-official"; import Highcharts from "highcharts"; import HC_ExportData from "highcharts/modules/export-data"; import HC_Exporting from "highcharts/modules/exporting"; import HC_ExportingOffline from "highcharts/modules/offline-exporting"; import HC_More from "highcharts/highcharts-more"; const BarChart = ({ title, subtitle, data, Xtitle, Ytitle, plotLines }) => { HC_Exporting(Highcharts); HC_ExportingOffline(Highcharts); HC_ExportData(Highcharts); HC_More(Highcharts); // configChart const chartOptions = { chart: { height: 500, type: "column", }, title: { text: title, }, subtitle: { text: subtitle, }, plotOptions: { series: { allowPointSelect: true, marker: { enabled: true, }, dataLabels: { enabled: true, color: "blue", crop: false, overflow: "none", }, }, column: { // stacking: 'percent', // stacking: 'normal', grouping: true, shadow: true, borderRadius: 5, // borderWidth: 0 }, }, series: data ? .series, xAxis: { title: { text: Xtitle, }, categories: data ? .category, crosshair: true, }, yAxis: { title: { text: Ytitle }, plotLines: plotLines, }, legend: { rtl: false, }, credits: { enabled: false, }, exporting: { allowHTML: true, csv: { fallbackToExportServer: false, // useMultiLevelHeaders: true, columnHeaderFormatter: function(series) { if (series.name !== "DateTime" && series.name !== undefined && Ytitle) { return Ytitle + "(" + series.name + ")"; } return false; }, dateFormat: "%Y-%m-%d %H:%M:%S", }, chartOptions: { // specific options for the exported image plotOptions: { series: { dataLabels: { enabled: true, }, }, }, menuItemDefinitions: { // Custom definition label: { onclick: function() { this.renderer .label("You just clicked a custom menu item", 100, 100) .attr({ fill: "#a4edba", r: 5, padding: 10, zIndex: 10, }) .css({ fontSize: "1.5em", }) .add(); }, text: "Show label", }, }, }, buttons: { contextButton: { menuItems: [ "viewFullscreen", "printChart", "separator", "downloadPDF", // "downloadPNG", "downloadJPEG", // "downloadSVG", "downloadCSV", // "viewData", ], }, }, fallbackToExportServer: false, }, responsive: { rules: [{ condition: { maxWidth: 500, }, chartOptions: { legend: { layout: "horizontal", align: "center", verticalAlign: "bottom", }, }, }, ], }, }; return ( < div className = "ltr chart-container" > < HighchartsReact highcharts = { Highcharts } options = { chartOptions } immutable = { false } /> < /div> ); }; export default BarChart; // and in parent component call it const ChartData = { category: cat, series: [{ name: name1, data: firstData, }, { name: name2, data: secondData, }, ], }; < BarChart data = ChartData / > ```
null
CC BY-SA 4.0
null
2022-12-19T12:19:38.223
2022-12-19T12:19:38.223
null
null
17,408,221
null
74,850,473
2
null
74,850,082
0
null
Use apply and replace function from pandas. ``` import pandas as pd import numpy as np import os File = pd.read_excel("Test_data_for_script.xlsx") File1 = File.copy() File1["CLEANSE_NAME"] = File1.apply( lambda row: row["Account Name"].replace(row["Billing Street"], ""), axis=1 ) print(File1) ```
null
CC BY-SA 4.0
null
2022-12-19T12:22:39.790
2022-12-19T12:22:39.790
null
null
5,235,168
null
74,850,660
2
null
74,850,045
0
null
You can use and group by id and take the max(seq_no). I repro'd the same. Below are the steps. - | id | seq_no | mark | | -- | ------ | ---- | | 1000 | 1 | 10 | | 1001 | 1 | 10 | | 1001 | 2 | 20 | | 1002 | 1 | 30 | | 1002 | 2 | 20 | | 1002 | 3 | 10 | ![enter image description here](https://i.imgur.com/t1al8Hr.png) img:1 Source Transformation data preview - `id``seq_no``max(seq_no)` ![gif111](https://user-images.githubusercontent.com/113445679/208426498-0c8f691b-0e61-481e-8e96-20aee2ddba91.gif) - ![enter image description here](https://i.imgur.com/buu6sa3.png) img:2 Data preview of Aggregate transform. - `seq_no` ``` Left stream: aggregate1 Right stream: source1 Join Type:Inner Join conditions: source1@id==source2@id source1@seq_no==source2@seq_no ``` ![enter image description here](https://i.imgur.com/Pi8TkIn.png) img:3 Join Transformation settings ![enter image description here](https://i.imgur.com/SV2o7He.png) img:4 Join transformation data preview - ![gif112](https://user-images.githubusercontent.com/113445679/208584333-e23ee8df-1d8f-46ea-bd5c-d37757ac414a.gif)
null
CC BY-SA 4.0
null
2022-12-19T12:38:56.327
2022-12-20T04:37:04.753
2022-12-20T04:37:04.753
19,986,107
19,986,107
null
74,850,736
2
null
74,838,774
1
null
You can only create a keyspace via the [DevOps API](https://docs.datastax.com/en/astra-serverless/docs/_attachments/devopsv2.html#tag/Database-Operations/operation/addKeyspace) or via the [GUI](https://docs.datastax.com/en/astra-serverless/docs/manage/db/manage-keyspaces.html). You may want to follow the examples provided [here](https://www.datastax.com/examples/astra-next.js-starter).
null
CC BY-SA 4.0
null
2022-12-19T12:46:39.093
2022-12-19T12:46:39.093
null
null
10,410,162
null
74,850,813
2
null
28,451,159
0
null
``` export const data = { labels: ['a', 'b', 'c', 'd'], datasets: [ { label: 'Label', data: [1298, 1798, 2500, 2200], backgroundColor: [ '#687EEB', '#FF4B5F', '#AA71F2', '#F29741', ], borderColor: [ '#687EEB', '#FF4B5F', '#AA71F2', '#F29741', ], borderRadius: [ 10, 10, 10, 10, ], spacing: 20, // i think, this is what you need borderWidth: 0, cutout: '80%', borderAlign: "inner" }, ], }; ```
null
CC BY-SA 4.0
null
2022-12-19T12:53:11.820
2022-12-23T05:01:07.977
2022-12-23T05:01:07.977
20,814,974
20,814,974
null
74,851,542
2
null
74,851,477
0
null
In this line: ``` import pandas as pd df_input=pd.read_excel(excel_path,sheet_name,dtype={'Column E':str} ``` You are mentioning 'Column E' as a . But I see that you are reading from a float, change it to `{'Column E':float}`. I hope that this fixes it. You can also use the function in python to round off to specific digits if the above doesn't fix the issue: [here](https://www.programiz.com/python-programming/methods/built-in/round)
null
CC BY-SA 4.0
null
2022-12-19T14:01:07.170
2022-12-19T14:01:07.170
null
null
14,911,206
null
74,851,750
2
null
74,841,231
0
null
if you installed the streamlit & you are in the correct env but these error lingers, you can use `py -m streamlit run app.py` or `python -m streamlit run app.py` I hope it helps, if you have another question feel free to ask
null
CC BY-SA 4.0
null
2022-12-19T14:20:17.110
2022-12-19T14:20:17.110
null
null
19,828,119
null
74,851,837
2
null
74,847,367
0
null
It is possible to concatenate cell values, is this what you want? [](https://i.stack.imgur.com/xYImD.png) In order to do this, I have put the Excel formula `=B2 & " - " & C2` in cell "F2". Obviously, you don't need to parse that result for checking if a value is within that range, as you can see in following screenshot, based on the formula `=AND(E2>=B$2,E2<=C$2)`: [](https://i.stack.imgur.com/BMXT8.png)
null
CC BY-SA 4.0
null
2022-12-19T14:28:01.933
2022-12-20T15:58:06.623
2022-12-20T15:58:06.623
4,279,155
4,279,155
null