Analysis of peewee with the new LS never finishes

Environment data

VS Code version: 1.28.0-insiders
Extension version (available under the Extensions sidebar): 2018.8.1-beta
OS and version: 10.14
Python version (& distribution if applicable, e.g. Anaconda): 3.7.0 (pyenv)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): none
Relevant/affected Python packages and their versions: peewee/master

Actual behavior
I have a local checked out version of peewee. When the new LS tries to analyse the main file, peewee.py, it uses >100% of CPU and the RAM usage increases continuously (over 40GB at some point). This doesn't seem to complete, even after leaving it open and running for an hour. Things like the Go to symbol list never get rendered.
Expected  behavior
Less use of resources.
Steps to reproduce:

Check out peewee
Run the new LS

Can you please verify, @ericsnowcurrently ?

Thanks for letting us know about this problem, @albireox.  I'm having trouble reproducing the behavior that you're reporting.  Here's what I did:

clone the peewee repo locally
open the folder in VS Code
enable the new language server ("python.jediEnabled": false)
open peewee.py

When I did that, everything resolved almost immediately (with no high CPU/RAM usage).  I could tell the language server was done processing because the Outline section in the Explorer side bar was fully populated.
Are there any other details that would help us sort this out?  FYI, I am using Ubuntu linux.  It's possible that the problem is Mac-specific.  Is there any way you could try this out on linux to see if you get the same behavior?  Either way, we'll work on trying it out on Mac.

I tried this on Mac and found that the language server appears to be starting still.  Hover tooltips all show None and the Outline stays empty.  However, I did not see CPU/RAM issues.  We'll investigate further.

Thanks for looking into this @ericsnowcurrently. Unfortunately I don't have a Linux box handy to tests this. The steps you describe is what causes the problem for me. I jus tested it with the latest versions of vscode-insiders, vscode-python, and python-language-server and still get the large usage of resources. The RAM usage in particular never seems to stop growing.
In my case the hover tooltips seem to work, I'm seeing the linter output, but nothing in the outline.

I can confirm that PR201 from python-language-server seems to fix the problem.

@MikhailArkhipov fyi


ListItemText Incorrect Classes Warning

ListItemText throws: Warning: Material-UI: the key 'text' provided to the classes property is not implemented in withStyles(ListItemText). You can only override one of the following: root
Even though text is a valid class. See: https://material-ui-next.com/api/list-item-text/#css-api
Expected Behavior
ListItemText should allow class overrides for:

root
inset
dense
text
textDense

Current Behavior
Throws warning when setting anything but root
Steps to Reproduce (for bugs)
<ListItemText
     classes={{
       text: classNames(classes.someClass)
     }}
     primary="Text"
   />

Context
The class override works as expected, but clutters console logs with many warnings.
Your Environment

Tech
Version

Material-UI
1.0.0-beta.21

React
15.6.1

browser
Chrome 63.0.3239.84 (Official Build) (64-bit)

@afrankel-sfdo I have just tried with 1.0.0-beta.24. I can't see this warning. Given you didn't provide a reproduction example. I'm gonna assume you are using an older version of Material-UI v1-beta that didn't implement this feature yet. Let us know.

@oliviertassinari I am running beta.21, can't move to beta.24 due to a separate issue with JSS expand plugin. I also tried with version beta.24 and see the same problem. I provided sample code above, but copying here for convenience.  In both cases, even though I get the warning, the applied class does change the styling of thetext component within ListItemText as expected.
<ListItemText
     classes={{
       text: classNames(classes.someClass)
     }}
     primary="Text"
   />

@oliviertassinari setup a code sandbox to reproduce the issue. Found one additional factor needed, overriding a default style on the ListItemText component (in this case root). Seems that whatever classes aren't defined in the override throw the error.  See: https://codesandbox.io/s/k3yxk456zv
import React from "react";
import { render } from "react-dom";
import { ListItemText } from 'material-ui/List';
import { withStyles } from 'material-ui';

const overrideStyles = (theme) => ({
  root: {
    padding: 0
  }
})

const ListItemTextOverride = withStyles(overrideStyles)(ListItemText)

let App = ({classes}) => (
  <ListItemTextOverride
    primary="Text"
    classes={{
      text: classes.text
    }}
  />
);

const styles = {
  text: {
    color: 'red'
  }
}

App = withStyles(styles)(App)

render(<App />, document.querySelector("#app"));

...and a hack workaround.
import { styles as listItemTextStyles } from 'material-ui/List/ListItemText';

const ListItemTextStyles = (theme: Object) => ({
  ...listItemTextStyles(theme),
  root: {
    padding: 0
  }
});

@afrankel-sfdo Oh, I think it was solved with :

@oliviertassinari I think part of your message got cut off.

import { styles as listItemTextStyles } from 'material-ui/List/ListItemText';

@rosskevin Oh, look. it's the first time I see someone actually using the styles API.
@afrankel-sfdo Going back to the warning. It's the expected behavior. The withStyles() higher-order component isn't smart enough to know if the classes you provide is going to be used later in the properties flow. You can solve the issue in many ways. Here is a simple one:
const overrideStyles = (theme) => ({
  root: {
    padding: 0
  },
+text: {},
})

Next time, please submit support requests and questions to StackOverflow using the tag material-ui. StackOverflow is better suited for this kind of support. The issue tracker is for bug reports and feature discussions. See also our CONTRIBUTING guidelines.

@shanimal Can you use a different classes property name to avoid the conflict? Otherwise, there is the render prop API: https://material-ui-next.com/customization/css-in-js/#alternative-apis. We might be exposing this API if people start using it with success.


Categorisation section

Not sure if it's useful, but categorising domains using Chameleon may be of interest to some people when reading the Categorisation section...
https://www.mdsec.co.uk/2017/07/categorisation-is-not-a-security-boundary/
https://github.com/mdsecactivebreach/Chameleon

I think it'd be useful! Added Chameleon and the post to the categorization section. Thanks!!


(UFT8) Same issue in latest version.

Same issue in latest version.
I changed the settings.ps1 encoding to "UFT8 with BOM" and now its working!
Maybe you could change this in master.
Originally posted by @ValleBL in https://github.com/EBOOZ/TeamsStatus/issues/7#issuecomment-800421222

Wat did you change, exactly?

I changed the whole file encoding to UTF with BOM with VSCode.
Changing it back broke the UFT 8 encoding too. So this might be the solution. At least for me


Equal height columns with flexbox?

Does materializecss support flexbox?  I needed to set the height of 2 adjacent columns to be an equal height. The flexbox solution works oks. However it doesn't seem to be working when using the materializecss grid. e.g. when a column is set to s12 or m12, it doesn't behave like that anymore on medium and small screens after the flex box implementation.

We do not currently support flexbox but we do want to create an alternative grid system that uses flexbox in the future.

Is there any CSS ways to have 'Equal height' Cards in a single row?

@jasimmk :+1:

For what it's worth I replaced the materialize by removing:
@import "components/_grid";

from sass/materialize.css
Then I added this flexbox grid system:  http://flexboxgrid.com/
And finally I added this to sass/materialize.css:
@import "custom/grid";

The sass/custom/grid.css content is:
.container {
  margin: 0 auto;
  max-width: 1280px;
  width: 90%;
}
@media #{$medium-and-up} {
  .container {
    width: 85%;
  }
}
@media #{$large-and-up} {
  .container {
    width: 70%;
  }
}

.col {
  display: flex;
}

.col .card {
  width: 100%;
}

Now, with this markup I'm getting equal height cards:

				Title
				some text

				some text

				some text

				some text

				some text

				Title

				some text

				some text

				some text

				Title

Should equal height cards not be a standard feature of this library? Do the material guidelines not suggest it as a default as well?

@hir3npatel , Right now they support browser versions that do not fully support flexbox (specifically IE). They'd either have to drop support for those browser versions add an optional second grid system that utilizes flexbox, as @acburst suggested may be part of a future release.

I encountered this very same issue, my first approach was to fix card height and within no time I realize it my card's contents are no longer responsive.
As I was not intending to do it with CSS as suggested by @pollen8, kept on looking and found this StackOverflow post - http://stackoverflow.com/questions/37760307/materializecss-how-can-i-make-row-column-height-the-same
And I ended up using https://github.com/liabru/jquery-match-height to match column heights.
Hope it will help somebody.

Does it has been fixed on the recent version of the Framework?
I have tried to solve it using flexbox but I get an issue, the cards in the last row are aligned to the right as shown in the image below and I can't get it fixed. Here you have my codepen example.

@jasimmk Did you find a solution with CSS?

@AlexVentura  I add margin-left: 0 to the .cell and it looks good: https://codepen.io/minhna/pen/XaXgrW

I am having the same issue. Could you please provide us a solution?
Thank you!

@danieldeicide The solution @minhna provided seems to work altogether with mine. You can check this out at my codepen example.
I hope it could be useful!

@AlexVentura What I am trying to achieve is to have the same height to all items in a row, see my codepen example. Column 4 should have the same height to the highest column.

You can also adjust line height in line. It's crude but effective.

Some of the answers seems pretty accurate but I have a very simple solution for this.
.equal-col {
display: flex;
flex-wrap: wrap;
}

Something

Something
Something
Something


crash reading file with UTF-8 BOM + "# coding: utf-8" (supported since python 2.5)

Reading such a file fails at
https://github.com/mitsuhiko/babel/blob/master/babel/util.py#L81
however, those files seem to be supported since 2.5:
https://bugs.python.org/issue1378022
Would you consider a patch to allow such files in babel?
Thanks!

Sounds great, you plan to do a PR?

Sure. I gave a look at what cpython does now, and it looks like it compares the BOM and the comment, which sounds reasonable to me.
https://github.com/python/cpython/blob/master/Parser/tokenizer.c#L333-L339

Ah note that the code will also be tested against pypy so if they don't support that that will be a problem. We could make an interpreter branch though and only support that for CPython...

I tried, and pypy seems to have the same behavior (crashes only if there is a BOM but the comment says latin1).

Cool :)
2015-08-05 18:48 GMT+02:00 Leonardo Pistone<EMAIL_ADDRESS>
I tried, and pypy seems to have the same behavior (crashes only if there
is a BOM but the comment says latin1).
—
Reply to this email directly or view it on GitHub
https://github.com/mitsuhiko/babel/issues/189#issuecomment-128067650.


Datastore overview page seems to be empty... ?

Page Name: datastore-overview
Release: 0.7.0
https://googlecloudplatform.github.io/gcloud-python/latest/datastore-overview.html
Could we maybe walk users through the typical use cases?

This was kind of resolved in #1025 but in essence #1037 covers what wasn't already done, so "merging" the two together.


Improved string enum typing try 2

Alright, let's try again. This PR reverts most of #4174 and restores most of #4147. I just made 2 changes:

String enum types are only generated when used.
String enum types are never exported.

This ensures that we don't repeat #4163 and puts us in a good position to make a fix for #2153, because we just have to decide when to export the generated type (but this will be its own PR).
Code-wise, not much is different from #4147. The only new part is how usage is detected. I hocked into the function that generates function signatures to keep track of which string enums are referenced. Since we always generate the type definition for exported functions before the type definitions for string enums, this works out beautifully and ensures that we know exactly which string enums are used.

If possible, please merge #4179 before this PR, so I can update this PR and have tests to ensure that #4163 isn't repeated.

Also reverts #4175.


[SPARK-10812] [yarn] Fix shutdown of token renewer.

A recent change to fix the referenced bug caused this exception in
the SparkContext.stop() path:
org.apache.spark.SparkException: YarnSparkHadoopUtil is not available in non-YARN mode!
at org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$.get(YarnSparkHadoopUtil.scala:167)
at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.stop(YarnClientSchedulerBackend.scala:182)
at org.apache.spark.scheduler.TaskSchedulerImpl.stop(TaskSchedulerImpl.scala:440)
at org.apache.spark.scheduler.DAGScheduler.stop(DAGScheduler.scala:1579)
at org.apache.spark.SparkContext$$anonfun$stop$7.apply$mcV$sp(SparkContext.scala:1730)
at org.apache.spark.util.Utils$.tryLogNonFatalError(Utils.scala:1185)
at org.apache.spark.SparkContext.stop(SparkContext.scala:1729)

/cc @holdenk

Merged build triggered.

Merged build started.

LGTM

Test build #43285 has started for   PR 8996 at commit 216099c.

LGTM

+1

Test build #43285 has finished for   PR 8996 at commit 216099c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43285/
Test FAILed.

Failure seems unrelated, but well. retest this please.

Merged build triggered.

Merged build started.

Test build #43300 has started for   PR 8996 at commit 216099c.

Test build #43300 has finished for   PR 8996 at commit 216099c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43300/
Test PASSed.

Merging.


Can't install via composer require....missing requirements

Trying to install on Ubuntu 18.04, php version 7.2.15, composer version 1.8.4
#composer require pvtl/voyager-frontend
Using version ^0.8.5 for pvtl/voyager-frontend
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- teamtnt/tntsearch v1.4.0 requires ext-pdo_sqlite * -> the requested PHP extension pdo_sqlite is missing from your system.
....
- pvtl/voyager-frontend 0.8.5 requires teamtnt/laravel-scout-tntsearch-driver ^3.0 -> satisfiable by teamtnt/laravel-scout-tntsearch-driver[v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.1.0, v3.2.0, v3.2.1, v3.2.2, v3.3.0].
- teamtnt/laravel-scout-tntsearch-driver v3.3.0 requires teamtnt/tntsearch 1.4.* -> satisfiable by teamtnt/tntsearch[v1.4.0]
....

I managed to satisfy the dependency by installing php-sqlite on the machine....however, SQLite isn't running on the machine anywhere....this seems like a potential vulnerability.


Impossible to programmaticaly change the state once a switch is set to readonly

Hello,
See my fiddle.
I have a use case where I have to present data in separate views: one in display only view (readonly) and an editable view (depending to user's permissions).
The editable view is fine, but in readonly mode, I am not able to set programmaticaly the state of the switches... (I am loading data through AJAX async calls, in a SPA web app)
I had a look in the code, but don't catch the way the control is working to make the changes my self.

@chrisdot it is the expected behaviour, readonly can only be toggled programmatically. the solution to you case is disabling and renabling readonly respectively before and after setting the state: http://jsfiddle.net/1yq5wr0w/9/
would there be room for improvement here, in your opinion?

@LostCrew : Thanks for the answer. Yes, my problem is not the fact that readonly can only be toggled programmaticaly, but the fact that in readonly I am not able to change the state.
Even in readonly you might just want (my case) to display the on/off value in a nice way like this control allows us. With server side page generation, I guess this is not a problem. But in single page application (my case) or other AJAX async loading cases (when data gets loaded after the initialization of the control)...
Yes, of course, I thought of the same work around, but it forces me to write extra code, and moreover I get the swip animation which in this case is not suitable....

@chrisdot you can disable and enable animation and readonly respectively before and after setting the state, though it requires even more code. i feel your pain. on the other hand, i would stick to the currently implemented behaviour since i believe the case in question isn't common.

@LostCrew : I also tried this option (deactivate the animation), but there is still the animation.
See my updated fiddle

@chrisdot it's correctly working, see http://jsfiddle.net/1yq5wr0w/11/

@LostCrew  OK, thanks, I see it work in your example,  but did you compare my version and yours? It just differs by the position of the $(..).bootstrapSwitch("animate", false), call... An in my case it animates, and in yours it doesn't (which is the expected beahaviour)... Weird!

@chrisdot i think it's because of the logic of the init functionality. i'll take a look closely.

@chrisdot keep in mind that the best way to set your options would be passing them as init object like this. http://jsfiddle.net/1yq5wr0w/12/
the problem is in fact gone in this way as well.


background-image image-set

Hey! =)
Thanks a lot for your great plugin!
Its not issue its only suggestion to make your blazy plugin better as I see that in 1.6.0 version you already implemented src-set property support.
Take a look plz for backround-image property image-set. Now it works only with -webkit- prefix.
http://caniuse.com/#feat=css-image-set
http://cloudfour.com/examples/image-set/
All the best,
Pavel

Thanks @webkupas
I'll add it to the suggestion list but at the moment I wont implement it due to lack of browser support.
Blazy actually kind of supports the feature in all browsers: http://dinbror.dk/blog/blazy/#Retina
Instead of an image just add it to a div and it will be added as background-image.


keyboard: generalize keymap data

Add a keymap_format field and rename keymap_string to keymap_data.
Depends on: https://github.com/swaywm/wlroots/pull/3092

wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3093


Fail to open NVS for read. (IDFGH-11624)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I call the attached read_device_name_from_flash() function.
The nvs_open() returns: ESP_ERR_NVS_NOT_FOUND
Why?
void read_device_name_from_flash() {     nvs_handle_t my_handle;     esp_err_t ret = nvs_flash_init();     if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND)      {         ESP_ERROR_CHECK(nvs_flash_erase());         ret = nvs_flash_init();     }     ESP_ERROR_CHECK(ret);     esp_err_t err = nvs_open("storage", NVS_READONLY, &my_handle);     if (err != ESP_OK)      {      ESP_LOGE("NVS", "Failed to open NVS handle: %s", esp_err_to_name(err));      return;     }        size_t required_size=30;     err = nvs_get_str(my_handle, "device_name", my_device_name, &required_size);     switch (err) {     case ESP_OK:         printf("NVS: my_device_name = %s\n", my_device_name);         break;     case ESP_ERR_NVS_NOT_FOUND:         printf("NVS: my_device_name is not initialize yet!\n");         break;     default :         printf("NVS: Error (%s) reading!\n", esp_err_to_name(err));     }     nvs_close(my_handle); }

Hi @shlomo-edu!
The code that you attached is not readable, please format it.
Make sure that you use the partition table that has an nvs partition. The NVS doc.
Also, try to run this example - https://github.com/espressif/esp-idf/tree/30870c8/examples/storage/nvs_rw_value.
Additionally, I suggest you erase the flash and flash all again.

Maybe you can also draw inspiration from the Arduino ESP32 implementation of the Preferences class: https://github.com/espressif/arduino-esp32/blob/master/libraries/Preferences/src/Preferences.cpp
This is actually an abstraction of the NVS layer in ESP-IDF.
Maybe this can help you find whether you're missing something.
I can confirm the Preferences class does work, so it is a working example of how to use NVS.

Hi @KonstantinKondrashov
Yes, the erase the flash fixed it.
Thanks.


Added .gitignore

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


phoenix; unify static, buffer based, regular geometry

The render calls were tidied up and unified mostly already, with #321 it'll be further simplified

Having tried a variety of approaches

the amount of changes it incurs for the existing code base is too far off
these changes would establish new patterns of usage that aren't the new (embers) pattern, causing future changes again on the same level

The goal was to unify the code usage patterns as a low hanging fruit bonus, but the divergence is enough for this change to become a significant time sink and adds new patterns. Instead the energy will be spent on embers.


Remove use of trash in Contributing -> Building section

Since we've moved to Go modules, we can remove the reference to trash.
https://rancher.com/docs/rancher/v2.x/en/contributing/#building

Closing this issue because https://github.com/rancher/docs/pull/1844 was merged


MINOR: Move __consumer_offsets records from core to group-coordinator

This patch moves the current __consumer_offsets records from the core module to the new group-coordinator module.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mimaison Could you review this one?

@mimaison Thanks! Created KAFKA-14678.


visualizing results

Setting --visualize to True doesn't appear to do anything.

Do you mean that  the visdom not working?
when you run : python -m visdom.server ???

Setting --visualize to True doesn't appear to do anything.

Do you mean that the visdom not working?
when you run : python -m visdom.server ???

Setting --visualize to True doesn't appear to do anything.

Do you mean that the visdom not working?
when you run : python -m visdom.server ???

Sorry, I mean for running Test_model.py

Oh yes I did not add the visualization code in Test_model.py
You can edit by referring the main.py
like this (line 487)
if args.visualize:
if train_config["loss"] == "Lovasz":
grid_outputs = torchvision.utils.make_grid(color_transform((save_est[0] > 0).cpu().data), nrow=6)
else:
grid_outputs = torchvision.utils.make_grid(color_transform(save_est[0].unsqueeze(0).cpu().max(1)[1].data), nrow=6)
        my_logger.image_summary(torchvision.utils.make_grid(save_input[0], normalize=True),
                         opts = dict(title=f'VAL img (epoch: {epoch})',caption=f'VAL img (epoch: {epoch})'))
        my_logger.image_summary(grid_outputs,
                                  opts=dict(title=f'VAL output (epoch: {epoch}, step: {str(mIOU_val)})',
                                            caption=f'VAL output (epoch: {epoch}, step: {str(mIOU_val)})', ))

        grid_gt = torchvision.utils.make_grid((100 * save_gt[0].cpu()).type('torch.ByteTensor').data,
                                              nrow=6)
        my_logger.image_summary(grid_gt,
                                  opts=dict(title=f'VAL gt (epoch: {epoch}, step: {str(mIOU_val)})',
                                            caption=f'VAL gt (epoch: {epoch}, step: {str(mIOU_val)})', ))

Hi @HYOJINPARK,
Thanks a lot for your impressive work.
What is "save_est" here? I tried your code above but there is a error from "save_est".
Have a nice day!


Update UI Component of Developer Guide

Codecov Report

Merging #101 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #101   +/-   ##
=========================================
  Coverage     46.45%   46.45%
  Complexity      464      464
=========================================
  Files            98       98
  Lines          2075     2075
  Branches        209      209
=========================================
  Hits            964      964
  Misses          994      994
  Partials        117      117

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f77a3e...617bd07. Read the comment docs.

Looks good, merging.


cronjob-logs-db-curator-curator seems to be broken

Describe the bug

2019-12-02T23:01:14Z CRONJOB: /lagoon/cronjob.sh "/usr/bin/curator --config /curator/curator.yml /curator/actions.yml"
--
  | 2019-12-02T23:01:14Z CRONJOB: /usr/bin/curator --config /curator/curator.yml /curator/actions.yml
  | 2019-12-02 23:01:15,347 INFO      Preparing Action ID: 1, "index_settings"
  | Traceback (most recent call last):
  | File "/usr/bin/curator", line 14, in <module>
  | load_entry_point('elasticsearch-curator==5.7.6', 'console_scripts', 'curator')()
  | File "/usr/lib/python2.7/site-packages/click/core.py", line 722, in __call__
  | return self.main(*args, **kwargs)
  | File "/usr/lib/python2.7/site-packages/click/core.py", line 697, in main
  | rv = self.invoke(ctx)
  | File "/usr/lib/python2.7/site-packages/click/core.py", line 895, in invoke
  | return ctx.invoke(self.callback, **ctx.params)
  | File "/usr/lib/python2.7/site-packages/click/core.py", line 535, in invoke
  | return callback(*args, **kwargs)
  | File "/usr/lib/python2.7/site-packages/curator/cli.py", line 218, in cli
  | run(config, action_file, dry_run)
  | File "/usr/lib/python2.7/site-packages/curator/cli.py", line 165, in run
  | client = get_client(**client_args)
  | File "/usr/lib/python2.7/site-packages/curator/utils.py", line 911, in get_client
  | 'Error: {0}'.format(e)
  | elasticsearch.exceptions.ElasticsearchException: Unable to create client connection to Elasticsearch.  Error: AuthenticationException(401, u'Authentication finally failed')

To Reproduce
Steps to reproduce the behavior:

check the curator cronjobs
Expected behavior
Curator runs and curates the ES indexes

This seems to be mainly due to the fact that LOGSDB_ADMIN_PASSWORD isn't added to the cronjob - as we started to move cronjobs into job objects

I think this comes from the automatic switch between running cron jobs in a container or running it in a job object - for this i'd somehow make sure we run it in the container


Move to another CI?

Recently, we have encountered an unexpected build fail issue(https://github.com/line/centraldogma/pull/426).
And Travis CI is slower than other CI.

Appveyor took 24 min 46 sec
Travis took 30 min 58 sec

Travis CI is 25% slower than Appveyor with the same PR.
Related work: I saw an issue which considers moving another CI(Semaphore CI) to reduce build time.

You could use the built in GitHub actions, I use that for all my projects and it works well.

@FultonBrowne Thanks for the suggestion! I've taken a look at GitHub actions and held off on it for now since it doesn't seem to support build caching yet which should come in a month or two.
https://github.community/t5/GitHub-Actions/Caching-files-between-GitHub-Action-executions/m-p/30974/highlight/true#M630
I think we could use some separate storage with manual operations, but probably better for us to wait for that to be implemented in actions.

On the other hand, AppVeyor introduced BYOC jobs which allows us to use our servers for running the builds: https://www.appveyor.com/blog/2019/10/01/self-hosted-jobs-on-your-computer-or-in-cloud-vms/

Now we are using AppVeyor BYOC https://github.com/line/armeria/pull/2157
Special thanks to @trustin 🙇♂🙏

It seems like we are still capped at 5 concurrent self-hosted Linux jobs and 2 concurrent AppVeyor-hosted Windows jobs. Let me contact to AppVeyor support to increase the cap for the self-hosted Linux jobs.
I don't expect them to cost us as much as they require for the AppVeyor-hosted jobs because most computation resources are provided by ourselves in self-hosted jobs. If it turns out to be still too much for us, we may have to switch to an alternative solution again.


zero footprint library

I don't really know where else to put this or where to look for answers but, I have experimented with porting the stm32f4 runtime library (sfp) to an stm32f103 device. By changing various stack sizes I was able to fit it all in the 20KB of RAM. Considering even smaller controllers it seems reasonable to go with the ZFP runtime systems. But i was not able to find any resources on how to implement interrupts with a ZFP rts. Can anyone help me out tackling this or even better provide me sources for study?
Note i've created my ZFP rts from the bb-runtime sources from libreada

On Wed, Feb 10, 2016 at 12:15 AM, huegene<EMAIL_ADDRESS>wrote:

I don't really know where else to put this or where to look for answers
but, I have experimented with porting the stm32f4 runtime library (sfp) to
an stm32f103 device. By changing various stack sizes I was able to fit it
all in the 20KB of RAM. Considering even smaller controllers it seems
reasonable to go with the ZFP runtime systems. But i was not able to find
any resources on how to implement interrupts with a ZFP rts. Can anyone
help me out tackling this or even better provide me sources for study?
Note i've created my ZFP rts from the bb-runtime sources from libreada

By definition with the ZFP you are on your own, so an interrupt is just a
call to a function (more or less). You can have a look at how we do it in
the ravenscar run-time in the handler.S file.
--
Fabien Chouteau

See also Maciej Sobczak’s Ada and SPARK on ARM Cortex-M - chapter 13.

Thanks @simonjwright, that a good pointer indeed.
@huegene I think you have enough info I will close this issue.


Publisher sends double message

Hi,
I am currently facing an issue with the opc publisher located on an IoT edge device that is sending data with almost the same timestamp. I am not sure if it is because I am using the version 2.5.1 (“mcr.microsoft.com/iotedge/opc-publisher:2.5.1”) or is the configuration of the node but it seems that if the value changes during the sampling or publishing intervals, the publisher get both values. I need that every 5 minutes the opc publisher send the value of the tag, and it doesn’t matter if the value change or not but only one message of each 5 minutes.
Example:
"OpcNodes": [
{
"Id": "ns=1;s=tag01
"OpcSamplingInterval": 300000,
"OpcPublishingInterval": 300000,
"HeartbeatInterval": 300
},
]
Results:

Does these three intervals (OpcSamplingInterval, OpcPublishingInterval, HeartbeatInterval) that are configured on the node must be different?
If anyone knows how to avoid receiving this duplicate, would be grate.

Hi, would it be possible for you to try the preview (2.7.xxx) version and check if you see the same behavior?

I will try upgrade the version, is there any version for windows (10 and server) that is recomended and stable enough for production?

We're close to release 2.7.x so preview is stable enough. the windows 10 is fully supported.

I switch to version 2.7.7, then 2.7.1 and 2.7.0 but the publisher from a list of 10 nodes, it only sends one. On the logs it shows that the publisher identifys correctly all the nodes but just send data from the last node. Also, from that same node it sends several message with the same timestamp. I am testing on a windows server.

sorry for misleading note  I meant :preview tag respectively 2.7.161 tag.

Hi,
I switched to version 2.7.161 and the monitored nodes are behaving the same as version 2.5.1 of the publisher (it is good to have a more updated stable version) but the node is now sending the node repeated with the same timestamp. So, I am suspecting it is something with the node configuration and I have a couple of questions:

How does the HeartBeat is correctly configured?
Does the opc sampling, publishing and heartbeat intervals should have different times? If yes, then how much difference?
Also, if you have more ideas to don’t get that repeated row of the same node and timestamp?

What I am trying to do is that every x minutes, the publisher sends data of the node even if the node hasn’t changed.

Hi,
I'm not sure what kind of values make sense for your use-case, so I will explain how this settings work and hopefully we can tune them together accordingly.
In OPC UA, the publishing mechanism is designed to save bandwidth so only the value changes are propagated from the server to the client(publisher in our case). On the monitored item creation the actual value is sent to the client, but afterwards just the  changes in value or status. The changes are are determined considering the sampling interval, so basically the server checks the data source periodically with the sampling interval period, checks if the value has changed since sample and if so it queues into the monitored item queue. Please note that if the source value changes and is reverted within the sample cycle, this change will not be sampled therefore not propagated to the client. The publishing interval refers to the data exchange between the client and the server and is the cycle time when the data queued by the server in the monitored item queues is actually transported to the client. Now the heartbeat interval is something specific to our publisher implementation and is meant to notify the cloud processor that communication is ok also in case of static or rarely changing monitored items. So if the publisher detects that no actual value change was received from the server it will resend the last known value change. the resending is done keeping the original timestamps as well since they are the server timestamps. having this in mind, for dynamic nodes the heartbeat should be configured as 10 or more factor the publishing interval. For static-ish nodes I would say 2 factor the sampling interval should be more relevant. The sampling and publishing setting depends on how fast the data is required. Using the same value would be a good practice for not super sensitive use-cases.
So in your case I would say something like x/2 sampling and publishing and x heartbeat, or if you are really keen on having values exactly at x minutes, publishing interval = heartbeat = x, but I would use x/2 for sampling so that we don't miss or get too delayed value-changes.
Hope this helps

Hi,
Thanks for the explanation, it was useful to clarify some doubts I had. I have tested in two environments (one publisher in windows and the other one in linux) with the version 2.7.161 of the publisher. For windows I notice that for some reason it starts sending the telemetry after a couple of hours.
Then I notice that with this configuration:
"OpcSamplingInterval":300000,
"OpcPublishingInterval": 600000,
"HeartbeatInterval": 600
The timestamp difference of the telemetry where 3 minutes, shouldn’t be 5 minutes?
Also, if in the configuration file I put a second node with different intervals from the first, it only sends one of the nodes and with repeated data, it is related?

Hi,
can you please detail a bit the issue on windows server 2019? this is a totally abnormal situation. Do you use the publisher in standalone mode (using publishednodes.json config file) or orchestrated mode? could it be that there are connectivity issues between the host and the IoTHub?
On the described configuration, the timestamp difference of 3 minutes is strange as well. I will try to replicate this.
Would you be able to share a sample of the configuration file where you experience the third issue?

Hi,
Do you use the publisher in standalone mode (using publishednodes.json config file) or orchestrated mode?
A/ standalone, I use a publishednodes.json config file
could it be that there are connectivity issues between the host and the IoTHub?
A/ seems difficult because the module of the publisher and the server are on the same machine.
Would you be able to share a sample of the configuration file where you experience the third issue?
A/ Sure, in order to help you reproduce the steps, both nodes I am monitoring are generating exactly each minute a new value on the server. These two nodes are simulated.
Case 1 (two nodes configured with different interval):
"OpcNodes": [
{
"Id": "ns=02.;s=test0",
"OpcSamplingInterval":30000,
"OpcPublishingInterval": 60000,
"HeartbeatInterval": 70
},
{
"Id": "ns=02;s=test1",
"OpcSamplingInterval":90000,
"OpcPublishingInterval": 108000,
"HeartbeatInterval": 108
}
]
Result:
Message 1:
{
"TagName": "test0",
"Timestamp": "2020-07-07T22:02:57.3514539Z",
"TagValue": "5",
},
{
"TagName": " test0",
"Timestamp": "2020-07-07T22:02:57.3514539Z",
"TagValue": "5",
}
Message 2:
{
"TagName": " test0",
"Timestamp": "2020-07-07T22:03:57.3516326Z",
"TagValue": "9",
},
{
"TagName": " test0",
"Timestamp": "2020-07-07T22:03:57.3516326Z",
"TagValue": "9",
}
Example of message:

For a more agile and quicker communication, just let me know.

Hi,
I tried to reproduce your issue, but I cannot see the double message.
Could you please try using this server: https://github.com/Azure-Samples/iot-edge-opc-plc ?
Just run it with the following command.
docker run --rm -it -p 50000:50000 -p 8080:8080 --name opcplc mcr.microsoft.com/iotedge/opc-plc:latest --pn=50000 --autoaccept --nospikes --nodips --nopostrend --nonegtrend --nodatavalues --sph --sn=25 --sr=60 --st=uint --fn=5 --fr=1 --ft=uint
The server like in your description generates a new value each minute.
If you need to change the port number change the --pn parameter.
In your publishednodes.json just use the followings node id: ns=2;s=SlowUInt1, ns=2;s=SlowUInt2.
You could also update to the latest publisher version.
Let me know if you still have issue.

Reopen if you still have the issue.


Endpoint controller never deletes an endpoint

So we'll leak them and/or reuse them perhaps inappropriately. I imagine this could be pretty hard on kube-proxy after a while.
Discovered while working on #6518. @bgrant0607 was suggesting implementing a generic delete-when-parent-is-deleted mechanism, so I may not try to fix this 100% with my current work on #6518.

Generic mechanism proposal was here: https://github.com/GoogleCloudPlatform/kubernetes/issues/1535#issuecomment-91413501

I think it should be enough to check if endpoints match services once just after we initialize, right?

@fgrzadkowski Yeah that should be enough to close this. Although the general mechanism would be nice, too.


Status of this project

The latest commit was on May 6
Is it abandoned?

It is active https://github.com/labstack/armor/releases/tag/v0.4.12.


Create COMPATIBILITY.md

First draft of games and their capabilities with OXR Toolkit and OpenComposite ACC, as getting confusing on what supports what. Just a quick first pass, so reorder/add columns etc. If ok with format then I'll PR other games that the community is commenting on testing with e.g. IL-2 BoX, Dirt Rally 2 etc

This was superseded by https://mbucchia.github.io/OpenXR-Toolkit/opencomposite.html


My babel.config.js setting will only transpile but not polyfill my nuxt v2 app

Environment
  System:
    OS: macOS 14.1.2
    CPU: (8) arm64 Apple M2
    Memory: 52.88 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.19.4 - /usr/local/bin/npm
    pnpm: 8.14.0 - /usr/local/bin/pnpm
  Browsers:
    Chrome: 121.0.6167.85
    Safari: 17.1.2
  npmPackages:
    nuxt: ^2.15.8 => 2.17.2

Reproduction

yarn create nuxt-app test
add my babel.config.js
use a package or write some codes that uses es2016+ new api

Describe the bug
My babel.conig.js setting will only transpile but not polyfill my nuxt v2 app (using create-nuxt-app to create). I don't now what I miss here because using the same babel.conig.js for my other webpack projects all work well.
presets: [
    [
        // '@babel/preset-env',
        '@nuxt/babel-preset-app',
        {
            debug: true,
            targets: {
                chrome: '100',
                ie: '10',
                firefox: '100'
            },
            useBuiltIns: 'usage',
            shippedProposals: true,
            modules: "commonjs",
            corejs: '3.25'
        }
    ]
]

For my other webpack project, the only different is I use '@babel/preset-env' instead of '@nuxt/babel-preset-app'.  From the webpack output I can see it will transpile and polyfill my app,
// The transpile part

Using targets:
{
  "chrome": "100",
  "firefox": "100",
  "ie": "10",
}

Using modules transform: commonjs

Using plugins:
  proposal-numeric-separator { ie }
  proposal-logical-assignment-operators { ie }
  ...

// The polyfill part

The corejs3 polyfill added the following polyfills:
  es.array.concat { "ie":"10" }
  es.object.to-string { "ie":"10" }
  es.regexp.to-string { "ie":"10" }
  ...

But for my nuxt app, I only see the transpile part but no polyfill part and IE 11 can't open the page (I add array.concat code to double confirm this.)
@babel/preset-env: DEBUG option

Using targets:
{
  "chrome": "100",
  "firefox": "100",
  "ie": "10"
}

Using modules transform: commonjs

Using plugins:
  transform-unicode-sets-regex { chrome < 112, firefox < 116, ie }
  bugfix/transform-v8-static-class-fields-redefine-readonly { ie }
  proposal-class-static-block { ie }
  syntax-private-property-in-object
  syntax-class-properties
  proposal-numeric-separator { ie }
  ...
  corejs3: DEBUG option

Using targets: {
  "chrome": "100",
  "firefox": "100",
  "ie": "10"
}

Using polyfills with usage-global method:
regenerator: DEBUG option

Using targets: {}

So is it a bug or what I miss here ?
Additional context
No response
Logs
No response

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.
If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.
If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏
Thank you for your understanding and for your contribution to Nuxt. ❤

It's the day, at last. Nuxt 2 is now marked end-of-life.
My apologies we never got round to resolving this bug in the 2.x branch, but we do have to draw a line somewhere. Again, if you think this is still relevant for Nuxt going forward, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏


Support multiple ticket types

Allow restrictions to be placed on tickets.
E.g. some are only for people of a certain membership level

Multiple ticket types are now supported - with different names.
Ticket restrictions has been moved to #92


fix code line numbers and add article analisa fundamental

Codecov Report

Merging #27 (152c89a) into main (d38586c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   32.80%   32.80%
=======================================
  Files          12       12
  Lines         125      125
  Branches       31       31
=======================================
  Hits           41       41
  Misses         79       79
  Partials        5        5

Impacted Files
Coverage Δ

src/components/components.tsx
0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d38586c...152c89a. Read the comment docs.


Print the type of an expression/variable?

Is there any way to print the type of a variable/expression? I couldn't find it in the docs and it's commonly used in REPLs to learn about types of expressions.

:vars will print all currently defined variables and their types. For expressions, there isn't currently a way other than assigning to a variable first. I guess given that some expressions can't be assigned to variables in Evcxr (those that borrow values) it might be useful to add a way. Thanks for the suggestion.

You can define a helper struct to show types:
pub struct ShowType<T: ?Sized>(T);

impl<T: ?Sized> std::fmt::Debug for ShowType<T> {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        f.write_str(std::any::type_name::<T>())
    }
}


StoreVideoOptions Quality Ignored on Android

Bug
Version Number of Plugin: <IP_ADDRESS>-beta
Device Tested On: Nexus 6p
Expected Behavior
Selecting Low quality should create smaller MP4 files when taking videos.
Actual Behavior
The MP4 files produced on Android are quite large; many megabytes for even the shortest video. For example, an 8 second video produces a 17 MB file.
Steps to reproduce the Behavior
Take a short video on Android and examine the size of the file produced. Taking a short video on UWP with Low quality results in a much smaller file.

I pass through the video quality flag: https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_VIDEO_QUALITY
It is up to the camera app to respect it.


Add environment specification

I believe it would be best if we could specify the environment on the
top level of the plan, next to summary and steps.
Environment then would be then available in all steps ...
Resolves #85
Signed-off-by: Miroslav Vadkerti<EMAIL_ADDRESS>

It's a bit confusing with "test" (=L1) environment... Could we maybe name it differently?
(and after this, ppl wil come to ask for different ENV's for every L1 metadata...)

I would not use a different name. It's basically the same thing. I think we only need to clearly define and document that L1 environment variables override L2 environment.

@psss @pvalena thanks for the review.

I would not use a different name. It's basically the same thing. I think we only need to clearly define and document that L1 environment variables override L2 environment.

Interesting, I would think L2 env vars would have higher priority :)

Interesting, I would think L2 env vars would have higher priority :)

Makes sense and after consultation with @lukaszachy it would be more aligned with how currently workflow-tomorrow works. Added mention about priority in 1de0a35 and merged.


JAMES-3775 Rspamd per user reporting

Rebase on master, contribute my work on fixup commits.
Not a code or Rspamd issue, just a Bayes configuration issue.
Result:
  Bob spam score before: 20.825
  Alice spam score before: 20.825
  Bob spam score after: 25.925
  Alice spam score after: 20.825

  Bob ham score before: 0.99
  Alice ham score before: 0.99
  Bob ham score after: 0.374475
  Alice ham score after: 0.99

We have the option to enable per-user in Rspamd mailet but not for listener and tasks (always call use per-user bayes). Maybe we should have a configuration option for them?

We have the option to enable per-user in Rspamd mailet but not for listener and tasks (always call use per-user bayes). Maybe we should have a configuration option for them?

I am thinking about a centralized per-user configuration entry for 3 stuff (mailet, listener, tasks) in rspamd.properties. I think we should have a simple button to unify them. Imagine if our mailet use global Bayes while tasks/listener enrich per-user Bayes => both Bayes are useless.
WDYT?

Listener and task do not need extra conf as they could always tell rspamd which user the message belong to, without it hurting.
Ie no need to change conf. No specific conf for this for the listener or the mailet.
Or did i got smtg wrong?

No specific conf for this for the listener or the mailet.

I tend to simply our per-user Bayes configuration instead.
In rspamd.properties:
# Whether to scan/learn mails using per-user Bayes. Default to false.
perUserBayes=true


Newly-created BNDBs do not save in place until close & restart

Open a binary
Use the "Save" action to save a database
Run the same "Save" action again
Notice you are prompted for a save location again rather than saving in-place

This will occur on every save attempt until the database is closed and reopened.

I'm seeing this behavior as well on this configuration:
Binary Ninja Version: 3.1.3469 Personal, 93650e26
Platform: macOS 12.5

This appears to be fixed on the latest dev build and has probably been fixed for a while. Tried on 3.1.3605-dev.


feat: upgrade to use new Eigen version

Update contracts to use new eigen version that will be released soon
Links & Guides

core-contracts: v0.3.0-rc0-holesky-preprod-payments
middleware-contracts: v0.2.0-rc1-holesky-preprod-payments
smart contract docs: https://github.com/Layr-Labs/eigenlayer-contracts/blob/v0.3.0-rc0-holesky-preprod-payments/docs/core/PaymentCoordinator.md
AVS ServiceManager Upgrade guide: https://hackmd.io/@Un8fEZ9aRy25eV1YL7KHZA/ry-a0w8z0#AVS-Payments-Upgrade-guide

This shouldn't be merged until the new testnet gets upgraded


LandingPagesNavigation undefined style issue

If the style is not set by content author, the Styles is not exist in params, I have created a pr for that. #105

Thanks! Merged.


declName to return Maybe String + comment on what the function does

Looking at the function GHC.Util.declName it seems to only return names for declarations that you would want to report (aka declarations that create new binders, not ones that refer to already existing binders).
What do you think about changing its return type to Maybe String, to make this more explicit, and adding a comment explaining the logic behind the function?
(of course I volunteer to do this if you agree)

If you think its a good idea, go for it. Sounds entirely plausible, and writing a comment is never a bad idea!


mstsc /v:myvmpublic doesn't work, myvmpulic cannot be connected in myvmprivate via rdp

The reference document: https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-create-route-table-portal
Issue Description:
myvmpublic cannot be connected from myprivate vm via RDP, the error is : Remote desktop can't connect to the remote computer ....

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5cc61595-d1ea-d72b-bef8-52e7b7838a14
Version Independent ID: 6df6127e-bf72-eb63-82c2-a132a6576add
Content: Tutorial: Route network traffic with a route table - Azure portal
Content Source: articles/virtual-network/tutorial-create-route-table-portal.md
Service: virtual-network
GitHub Login: @mbender-ms
Microsoft Alias: mbender

@962720900 Thanks for reaching out. Kindly note this channel is mainly for documentation changes, for technical support, do raise your issue in Microsoft Q & A Community Forum.
We will close the issue for now. If there are further questions , please revert and we will be glad to assist you.


Support for JavaScript snippets

Adds support for wasm-bindgen's snippet feature by moving the snippets into the correct directory and then bundling them with SWC.
This PR doesn't strictly require the SWC bundler step, instead of bundling we can rename all of the generated snippets and transform the javascript. But I believe that bundling is the preferred route as it opens up the possibility for us to build bindings around existing JavaScript libraries that aren't in the global scope if we were to allow the bundling of node_modules noted here.
Closes #63

So far so good, just wondering if there is a possible test here that

demonstrates the location of snippets
how to do the bindings
that the interop works

Does this support the inline and "external" path-based snippets?

So far so good, just wondering if there is a possible test here that

demonstrates the location of snippets
how to do the bindings
that the interop works

Does this support the inline and "external" path-based snippets?

This repo should provide a good test, but I also added snippets to worker-build/bindgen-test-subject so that we could run testing on the bundling process.

Currently causes an issue where durable objects aren't exported, please wait for me to fix that before merging.

Nice! LGTM 👍


listDatabases filtering is broken with nameOnly options

What should be done?
We recently broke listDatabases command's filtering when nameOnly parameter is passed. That's because that commit moved if nameOnly check above filtering.
We should fix this method and add a compatibility test to ensure we don't break it again.
Where?
https://github.com/FerretDB/FerretDB/blob/d1aad784a9dbd25ecea41748e8939bfbaa42ecd8/internal/handlers/sqlite/msg_listdatabases.go#L61
Definition of Done

handler updated;
integration/compatibility tests added/updated;
spot refactorings done.

I would like to work on this. I am new contributor

Is this in progress ?

@EraKin575 any news? Anything we could help you with?

@rawatsushil do you want to pick it up?

yup you can assign this to me

it might take me a week to get started on this.
Apologies for this. If this is critical i would request you to assign it to someone else
@AlekSi

Not very critical. I'm going to un-assign you so someone could grab it, but that "someone" could also be you one week later :)


dotnet installation need more documentation

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: macos
I have installed dotnet in macos with the installer. dotnet installed fine but I got "'dotnet' is not recognized as an internal or external command" error even after opening a new terminal instance. This is because I needed to add DOTNET_HOME=/usr/local/share/dotnet in my path variable in my .zshrc or .bashrc or .profile file.
fix-
It would be great if that information is provided in the installation page if the people see the error above.

'dotnet' is not recognized as an internal or external command sounds like a PATH issue, I'm not sure how DOTNET_HOME would be involved. Do you know why setting DOTNET_HOME helped your shell find dotnet?
I'm wondering if you actually ran into this other known issue, where if your profile sets PATH (rather than appending/prepending to it) then the macOS utility path_helper stops working: https://github.com/dotnet/core-setup/issues/6521.

Closing as duplicate of https://github.com/dotnet/core-setup/issues/6521.
Please feel free to re-open if you're still having this problem and have more detail.


No Credential Error: Unable to locate credentials

Hi,
Today I tried to install and run LDAR Sim.  I encountered an issue with the credentials.  I hope you can assist with this issue.
I followed the instructions in the GitHub page. Once the environment was created, I ran the ldar_sim_main.py using Spyder (from Anaconda navigator).  While running the file, I encounter the following error message:

Here is the entire text:
Python 3.7.9 | packaged by conda-forge | (default, Feb 13 2021, 19:28:53) [MSC v.1916 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
IPython 7.21.0 -- An enhanced Interactive Python.
runfile('C:/Users/aesparza/Desktop/Sim/LDAR_Sim-master/LDAR_Sim-master/LDAR_Sim/model_code/ldar_sim_main.py', wdir='C:/Users/aesparza/Desktop/Sim/LDAR_Sim-master/LDAR_Sim-master/LDAR_Sim/model_code')
Weather data not found. Downloading now from AWS you...
Traceback (most recent call last):
File "C:\Users\aesparza\Desktop\Sim\LDAR_Sim-master\LDAR_Sim-master\LDAR_Sim\model_code\ldar_sim_main.py", line 61, in
check_ERA5_file(wd, programs[0]['weather_file'])
File "C:\Users\aesparza\Desktop\Sim\LDAR_Sim-master\LDAR_Sim-master\LDAR_Sim\model_code\generic_functions.py", line 242, in check_ERA5_file
s3.download_file('eratest', target_file, r'{}/{}'.format(wd, target_file))
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\boto3\s3\inject.py", line 172, in download_file
extra_args=ExtraArgs, callback=Callback)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\boto3\s3\transfer.py", line 307, in download_file
future.result()
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\s3transfer\futures.py", line 106, in result
return self._coordinator.result()
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\s3transfer\futures.py", line 265, in result
raise self._exception
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\s3transfer\tasks.py", line 255, in _main
self._submit(transfer_future=transfer_future, **kwargs)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\s3transfer\download.py", line 343, in _submit
**transfer_future.meta.call_args.extra_args
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\client.py", line 663, in _make_api_call
operation_model, request_dict, request_context)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\client.py", line 682, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\endpoint.py", line 102, in make_request
return self._send_request(request_dict, operation_model)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\endpoint.py", line 132, in _send_request
request = self.create_request(request_dict, operation_model)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\endpoint.py", line 116, in create_request
operation_name=operation_model.name)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\hooks.py", line 356, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\hooks.py", line 211, in _emit
response = handler(**kwargs)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\signers.py", line 90, in handler
return self.sign(operation_name, request)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\signers.py", line 162, in sign
auth.add_auth(request)
File "C:\tools\Anaconda3\envs\ldar_sim_env\lib\site-packages\botocore\auth.py", line 357, in add_auth
raise NoCredentialsError
NoCredentialsError: Unable to locate credentials
Line 357 in the auth.py file is:

Do you know what is missing?  Thanks for your help.

Hello - sorry about this and thanks for bringing it up - we are currently in the process of moving to AWS to host weather data. This will make input data management much easier in the long term - but will cause some short-term pain. We are currently unable to share login details for the private AWS account (Amazon won't let us!) This will be resolved as soon as we can. In the meantime, you'll have to download ERA5 data manually using the ERA5_downloader python file - or shoot me an email and I can send you some weather data for Alberta to get you going. Once the weather data is in your inputs folder, you should no longer get this error.
We're also working to update LDAR-Sim to not require weather data - stay tuned, won't be long.


Migrate from old-style labels

The chart uses old labels that used to be widely used with helm 2, but not recommended anymore. Move to the labels that are recomended by helm https://helm.sh/docs/chart_best_practices/labels/#helm

Closing this issue in favor of #749.


Fix matching of day 0 and month 0

Currently something like "0/1" is matched as a month/day, which causes a :pre assert to fail later on.

Merged and committed. Thanks a lot


Remap brightness range from 0-100 to 1-100

#3 fixed the mapping to that the Matter ranges are mapped to Tapo accepted ranges. One remaining issue is the brightness level which only accepts 1-100 instead of 0-100.
See https://github.com/farshidtz/matter-bridge-tapo/pull/3#issuecomment-1517621206

potential solution:
# hue
if attributeId == 0:
    # reset the value to 0 because an empty list is returned
    # when the input values for hue is set to 0
    if not value:
        value = bytes([0])
    print("[callback] color hue={}".format(value[0]))
    set_hue(math.trunc(value[0] * (359/254)))
# saturation
elif attributeId == 1:
    # reset the value to 0 because an empty list is returned
    # when the input values for saturation is set to 0
    if not value:
        value = bytes([0])
    print("[callback] color saturation={}".format(value[0]))
    set_saturation(math.trunc(value[0] * (100/254)))


Entering 'rent' on 'previous expenses' raises an error

To reproduce:

Open the demo in a browser
Hit "intake new client"
Hit "submit"
Hit "create visit"
Hit "next" until on the "previous expenses" screen
Select monthly rent input field
Enter '10'

Expected behavior:

Input should appear as typed, and be validated as appropriate

Actual behavior:

Screen is replaced with "TypeError: inputProps.id is undefined", with further backtraces

FWIW, this is seen in Firefox 56 on Linux, and I see similar behavior when entering weekly rent.

I think I've fixed this issue while fixing other problems. The PR is waiting for review. In the meantime, @rst was asking about format of bug reporting. I think we need to add a part that includes a description the environment in which the bug was observed.


Publish new version of Worker.Extensions.RabbitMQ consuming 6.1.X+ version of RabbitMQ.Client

Publish a new version of Microsoft.Azure.Functions.Worker.Extensions.RabbitMQ which maps to a new version of WebJobs.Extensions.RabbitMQ which is consuming 6.1.X+ version of RabbitMQ.Client

This is currently blocked until https://github.com/Azure/azure-functions-rabbitmq-extension/issues/173 is completed.


Refine github label

Why are the changes needed?

Make the mapping correct
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #2311 (3a0556a) into master (e5834ae) will decrease coverage by 0.01%.
The diff coverage is n/a.

:exclamation: Current head 3a0556a differs from pull request most recent head 8c7176e. Consider uploading reports for the commit 8c7176e to get more accurate results

@@             Coverage Diff              @@
##             master    #2311      +/-   ##
============================================
- Coverage     62.29%   62.28%   -0.02%
  Complexity       69       69
============================================
  Files           353      353
  Lines         16801    16801
  Branches       2275     2275
============================================
- Hits          10467    10464       -3
- Misses         5366     5368       +2
- Partials        968      969       +1

Impacted Files
Coverage Δ

...org/apache/kyuubi/ha/client/ServiceDiscovery.scala
89.28% <0.00%> (-3.58%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
96.22% <0.00%> (-0.13%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e5834ae...8c7176e. Read the comment docs.

thanks for review, merging to master !


GEODE-6538: Bump native client user guide version to 1.9.

Also: Update for compatibility with bookbindery 10.1.15.

Please update docs/docker/Dockerfile and replace the obsolete arguments, -no-ri and -no-rdoc, on line 28, with -no-document.


client-display: The number of stars displayed for a Subject's levels is always 5 regardless of actual level configuration

The number of stars displayed for a Subject's levels is always 5 even if the subject has been configured for more or fewer levels

:+1:


[TOPI] Add C++ implementation of elementwise operators

This PR adds c++ implementation of elementwise operators:

elemwise_sum
full
full_like
~less~
~greter~

@PariksheetPinjari909 @srkreddy1238 Plase review again.

@nishi-t
other than these comments LGTM.

@srkreddy1238 @PariksheetPinjari909 thanks a lot. I'll fix it according to your comments.

please rebase against master, greater and less are added in #1321 and supported as broadcast ops

@nishi-t please ping the reviewers again once you have updates

@PariksheetPinjari909 @srkreddy1238 can you do another round of review? please https://docs.tvm.ai/contribute/code_review.html#approve-and-request-changes-explicitly

Thanks all the reviewers, this is now merged!


[Event Request] Codeunit 99000856 (Planning Transparency): Add a new event in procedure PublishSurplus

Describe the request
I would like to request Microsoft Dynamics Business Central AL team to publish a new event with the need of having access of global record type variables SupplyInvProfile, SKU, ReqLine, ReservEntry in the Procedure PublishSurplus of Codeunit 99000856 as shown in the below code snippet which is requested with a new event with the tag // NEW EVENT and also attaching the further details for the requirement at end of this request.
Thank you!
procedure PublishSurplus(var SupplyInvProfile: Record "Inventory Profile"; var SKU: Record "Stockkeeping Unit"; var ReqLine: Record "Requisition Line"; var ReservEntry: Record "Reservation Entry")
begin
    ------
    ------
    ------
    TempInvProfileTrack.SetRange("Line No.");
    TempInvProfileTrack.SetRange("Warning Level");
    CleanLog(SupplyInvProfile."Line No.");
    OnAfterPublishSurplus(SupplyInvProfile, SKU, ReqLine, ReservEntry); //  NEW EVENT
    ------
    ------
    ------
end;

--------------------

// NEW EVENT
[IntegrationEvent(false, false)]
local procedure OnAfterPublishSurplus(var InventoryProfile : Record "Inventory Profile"; var StockkeepingUnit : Record "Stockkeeping Unit"; var RequisitionLine : Record "Requisition Line"; var ReservationEntry : Record "Reservation Entry")
begin
end;

Additional context
The new event is needed to have the access for active table objects as shown in the below custom code with the tag of // NEW CUSTOM CODE.
procedure PublishSurplus(var SupplyInvProfile: Record "Inventory Profile"; var SKU: Record "Stockkeeping Unit"; var ReqLine: Record "Requisition Line"; var ReservEntry: Record "Reservation Entry")
begin
    ------
    ------
    ------
    TempInvProfileTrack.SetRange("Line No.");
    TempInvProfileTrack.SetRange("Warning Level");
    CleanLog(SupplyInvProfile."Line No.");
    ReqLine.CalculateForecastQty;   //  NEW CUSTOM CODE

    ------
    ------
    ------
end;

Internal work item: AB#497329

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 15767.


Z-index on safari

Preview

Steps to reproduce the problem
Just put some content under a popper on Safari
What is the expected behavior?
The popper should be on top of the content. Z-index doesn't change anything
What went wrong?
The popper is behind the content
By doing transform: translate3d(0,0,1px); its fixing it
Browser Version
Release 49 (Safari 11.2, WebKit 126<IP_ADDRESS>)

Popper.js doesn't handle z-index, because it's simply impossible for a 3rd party code to know how your z-index is being handled. You have to handle it by yourself.

Handling z-index popper by ourselves with chrome/safari/ie works well, its not taking effect on safari tho. The only way the popper can be on top is with the transform: translate3d(0,0,1px);. As the transform is generated automatically by popper.js i can't handle it.

Sorry without a codepen I can't help further


generating sas tokens fails with Arrow datetimes

Which service(blob, file, queue) does this issue concern?
I'm only using blob, not sure if it affects others.
Which version of the SDK was used? Please provide the output of pip freeze.
1.4.0
What problem was encountered?
A SAS token was generated when using an Arrow value. This "worked" fine, but the token was invalid. This is (I think) because isinstance(date, <arrow value>) returns False, and hence _to_str is used (see here). For an Arrow value, calling str on e.g. arrow.utcnow() returns the same string as should occur, except with the TZ +00:00 appended. The resulting token (from e.g. generate_container_shared_access_signature has e.g. se=2019-02-06T09%3A56%3A25%2B00%3A00. When I try to use this SAS token, it's not authorized etc.
Have you found a mitigation/solution?
Well, there are a bunch. Since you don't want to be dependent on Arrow specifically, you could just do if hasattr(value, 'strftime') to test for "date-like-ness". Or, decide not to worry about it, and make Arrow users figure it out. (That said, adding a "warning" when _to_str get's called but there's a strftime attr might be worthwhile ...)
Not sure if this applies to other date libraries etc.

Hi @kodonnell, thanks for reaching out!
You could pass in a str instead. Here is the doc.

Thanks @zezha-msft - I'm not sure that's a great solution, as it depends on the exact format of the string, etc. As suggested above, a better solution is to probably replace isinstance(date, val) with if hasattr(val, 'strftime') etc. That way your code can handle the exact format needed by the blob APIs. Otherwise, if these change, and people have been using strings, as you suggest, then bad things will happen.
As an aside, I'd suggest getting rid of _to_str - it'd probably be better to fail if it wasn't a str or date-y thing, as otherwise it will 'work' with any value I provide (e.g. None) - but I'll get an invalid token. In the case of it being a string, I'd also ensure it's of the correct format (via a quick strptime). This guarantees that any input will either cause an error, or be valid - whereas now, most inputs will result in 'silent' errors. I'm happy to submit a PR if you wish.


formarraytype component does not notice less row updated model

[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ x] support request

I use a custom component DatatableTypeComponent
when I load the model the first time always is ok
when I update the model with less rows
investments:[{
investmentName:"project1"
investmentDate:""
stockIdentifier:1
}]

some empty objects {} appear in the array.
My solution is:
in the component I filter from the model the empty object
ngDoCheck() {
    let ma = this.model as Array<any>;
    this.model = ma.filter(x => Object.keys(x).length !== 0);
}

is related to the issue #648 ? there is some better solution?

@aitboudad I made the example
with two button to reproduce the issue:
load full data and load less data.
When I click to load less data the grid remain with two empty rows.
https://stackblitz.com/edit/angular-formly-datatable-a3d7ui

it should work with 5.0.0-beta.5 version, see https://stackblitz.com/edit/angular-formly-datatable-fwkaja
Note: fieldset wrapper is deprecated and replaced by form-field.


Dynamic Batching (Tests)

The goal of this PR is to test dynamic batching in different recipes and find the best hyperparameters for that.

I'm now resuming the PR on dynamic batching and I'm doing some debugging tests using TIMIT. Actually, it looks very promising.  With the parameters, I pushed I can train a TIMIT seq2seq system with the same performance (i.e., PER=13.8%-14.3%) but with a major speed-up factor (e.g., 66%) without exceeding 12 GB of memory.
However, there is a speed issue when using DDP. When I use 2 gpus, it looks like both GPUs are processing exactly the same data (i.e, the sentences aren't split across gpus).  The amount of iteration, in fact, is the same with and without DDP (259).  For more details, you can see the time-per epoch reported below of different gpus:
On RTX8000
No Dynamic Batch, no DPP: 1 min 55 sec
No Dynamic Batch, yes DPP: 1 min 28 sec
Yes Dynamic Batch, no DPP: 1 min 25 sec
Yes Dynamic Batch, yes DPP: 1 min 52 sec

On K80
No Dynamic Batch, no DPP: 6 min 50 sec
No Dynamic Batch, yes DPP: 4 min 00 sec
Yes Dynamic Batch, no DPP: 5 min 51 sec
Yes Dynamic Batch, yes DPP: 6 min 36 sec

Is there something to change in the dynamic batching part to support multiple GPUs? @popcornell @aheba

One day, we will have to get back to this PR. This day, I'll need to take vacations for a month XD


Reconsider null SafeHandle handling

Now that I'm looking at that code some more, I'm also wondering why default(winmdroot.Foundation.HANDLE) is used when hMonitor is null, and why the call to DestroyPhysicalMonitor is still made. That would result in a 0 HANDLE, which is an actually valid handle you could get from PHYSICAL_MONITOR.

Originally posted by @User1785604260 in https://github.com/microsoft/CsWin32/discussions/753#discussioncomment-4082461
We should throw on null SafeHandle if the metadata does not include [Optional] for that parameter.
When it is optional, we should use a handle value that is documented as an invalid handle value the metadata rather than assume default(T) is suitable for a missing handle.

Well, my fix for this may not address this particular feedback related to monitors, because DestroyPhysicalMonitor takes a HANDLE which is generally defined with both 0 and -1 being invalid handle values, so CsWin32 could theoretically emit either one when the SafeHandle is null.

@User1785604260 I don't know why a 0 HANDLE would represent something valid, considering HANDLE is documented as using 0 and -1 to represent an invalid handle. I tried in #760 to prefer -1 over 0 where both were 'invalid' to avoid the monitor issue, but doing so led to #810 so I'm going to revert to preferring 0 when it is a documented invalid value.


1583 update sdc libs

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #[issue number]
Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[x] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

@ndegwamartin, @LZRS  we are targeting sdc libs update for these PR:

https://github.com/google/android-fhir/pull/1560
https://github.com/google/android-fhir/pull/1310
https://github.com/google/android-fhir/issues/1187

all are linked with data-capture,
kindly review this, and let me know if you find(or I am missing) any other dependency to update as well


chore: cleanup some unintended files (#748)

Backport
This will backport the following commits from k8s-24/main to k8s-23/main:

chore: cleanup some unintended files (#748)

Questions ?
Please refer to the Backport tool documentation

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 750

Questions ?
Please refer to the Backport tool documentation


feat: initial scaffolding for wallet JS SDK

Closes #723
Signed-off-by: sudesh.shetty<EMAIL_ADDRESS>

@sudeshrshetty We have an SDK repo. It's a bit surprising that this project isn't in the SDK repo.

@sudeshrshetty We have an SDK repo. It's a bit surprising that this project isn't in the SDK repo.

@troyronda This API going to have CHAPI & WACI related APIs and also agent-sdk packages.
currently agent-sdk contains customized bindings of aries. It has generic aries features + trustbloc DID related command controller added.
Still, I don't have any strong reason not to put it in agent-sdk, I am ok to move this project to agent-sdk.

Pushed as https://github.com/trustbloc/agent-sdk/pull/208


Add githooks for formatting

Creating an issue to address @kimadeline suggestions.
https://github.com/microsoft/vscode-python/pull/9350#issuecomment-570288111

What will be included in the CI changes, CI failing if prettier needs to reformat code? prettier doing the reformatting directly as one of the first steps?

If option 1 (CI failure because code needs to be reformatted), adding pre-commit hooks to prevent incorrectly formatted code to be committed would cause less overhead in the long run.

Note: I still use the pre-commit hooks in our extension. husky is part of the package.json & .huskyrc.json is excluded from git in .gitignore for this reason (so others could continue using it).

Dug out the documented reason why the hooks where removed ⛏ :
https://github.com/microsoft/vscode-python/issues/2012#issuecomment-405372620

And I think we can skip doing pre-commit hooks because we have something called extensions. 😁 Pre-commit hooks are great as a standardized way to help make sure people meet some requirement before sending code to CI. But since we have standardized our tooling all the way up to the editor, we can actually just standardize on VS Code extensions to do the formatting for us and then let CI enforce that requirement as @d3r3kk suggested.

@kimadeline Please feel free to close this issue.

Closing as I think it was discussed, and I believe the explanation was good enough not to warrant hooks.

It was more than a year ago though, and until your last few PRs formatting was all over the place and not standardized whatsoever.
I think it would be fair to revisit this decision, or at least reopen this issue so that we can discuss it, what do you think? Worst case it gets a big no and we bury it until the team gets a new member 🙃


cou should wait for the first in-channel charm refresh to complete before switching to the new channel

If you issue two upgrade charm commands in quick succession, there is no guarantee that they will both fire. This is because the unit agents will start the first or the second upgrade depending on when they wake up.
Here is an example. Assume an application unit running a rev 1 codebase that has a stopped agent. The application charm is then upgraded multiple times and is now at rev 10. When the agent is restarted, it will notice the current revision is 10, and will upgrade straight from rev 1 to rev 10.
The status output should contain the charm revision of every single unit, so we should be able to poll it until we see the expected revision before proceeding to the second upgrade.

Given that there is no native support from Juju to know the deployed charm version in a given unit, and considering that not stepping through an intermediate charm version is not necessarily problematic, we'll close this for now.


Update lib versions

Updated the template so that it can run with expo >46.
Here's the list of updates:

Added .env file for inputting superbase API Key and URL.
Updated package versions (expo, superbase, react navigation and rapi UI).
Fix types for react navigation.
Update code for the latest version of superbase authentication
Update code for the latest version of rapi UI

Hey @tanakorn0314 thanks for doing this, Have you test it?


Run a Child Flow Cannot be found following the steps mentioned in the document

I've tried following the document mentioning the flow actions in which there is no action called Run a child Flow. Did the document miss any prerequisites or something is wrong said here? Can you please help me here

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e7f42c36-4ce0-fff2-4cfb-e191c636edf4
Version Independent ID: 510353c0-7e45-0302-d7d4-80c68bff7eb4
Content: Call Child Flows - Power Automate
Content Source: articles/create-child-flows.md
Service: power-automate
Sub-service: cloud-flow
GitHub Login: @MSFTMan
Microsoft Alias: deonhe

I am experiencing this issue as well. What are the recommended steps? Is this action no longer available?

Almost exactly a year later, I'm hitting the same issue.
Workaround for me: Tell Copilot to "Add an action to call another flow" and it will add this action, although it cannot be found in the UI.


Emoji picker freezes whenever called, custom emoji button doesn't work correctly.

Summary
Emoji picker freezes whenever called, custom emoji button doesn't work correctly.
Environment Information

Device Name: Samsung S21 (reproducible in any emulated android phone)
OS Version: Android  12 (also reproducible in android 14)
Mattermost App Version: 2.21.0 (build 561)
Mattermost Server Version: 9.11.1 (build<PHONE_NUMBER>4)

Steps to reproduce
Just go to custom status and press emoji picker. then, click on custom emoji tab.
Expected behavior
Emoji picker appears, and when custom emoji tab is pressed, it will scroll down to custom emoji section.
Observed behavior (that appears unintentional)
Emoji picker will freeze when you press on custom emoji tab, and when interacting further with the emoji picker, it will begin  to fetch emojis very slowly, refreshing the list every second. The Fetch is also not cached (assumption), and will be re-fetched every time emoji picker is called. Also, there's is a chance the app not close the emoji picker even when put down, and will keep only the emoji picker reactive (couldn't video that behavior.)
https://github.com/user-attachments/assets/328e8c7a-a4cc-4851-9425-df5cc963126d
Possible fixes
I do not have any idea how this can be fixed, but i do suggest that the emoji picker async-fetch emojis during the app start, and caches the component instead of refreshing it every time (even when no new emoji has been added!)..

@amyblais I want to take on this issue.  Please create a ticket and assign to me.

Ticket: https://mattermost.atlassian.net/browse/MM-60981


What the best node for this ?

Error: SolanaJSONRPCError: failed to get accounts owned by program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA excluded from account secondary indexes; this RPC method unavailable for key
at C:\Users\tobib\Desktop\volumen-bot\node_modules\solana-transactions-wrapper\dist\walletInfo.js:53:15
at Generator.throw ()
at rejected (C:\Users\tobib\Desktop\volumen-bot\node_modules\solana-transactions-wrapper\dist\walletInfo.js:6:65)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
i have alchemy

i don't think you can get accounts of a token program - not with the method i implemented
im sure there's some method in @solana/web3.js to do that

thx will check


Consider adding new tools - Hudson Rock free cybercrime intelligence tools

Hey, submitting the following tools to be added to OSINT-Framework:
Free cybercrime intelligence tools we built from over 13,000,000 computers that were compromised by info-stealers.
Our tools don't require registrations and include -

Search for Compromised Corporate & Supply Chain Infrastructure (Discover whether your, or your vendor’s corporate infrastructure has been compromised)

Search for Compromised Employees, Customers, Users & Partners (Search specific email
addresses to find out if your employees, customers, users or partners have been compromised by info-stealing malware)

Search for Compromised Android App Users (Find out whether users of your Android app have had their credentials compromised)

Technology Profiler to Discover which Companies are Using a Technology

Discover the Password Hygiene used in any company, search any domain to discover if password complexity requirements are implemented

They are all available here - https://www.hudsonrock.com/free-tools
Password hygiene available here - https://cavalier.hudsonrock.com/passwords
I would really appreciate it if you include us!

Added, thanks!


Update native Cardboard library to version 1.1.0

Detail

iOS .a file should be updated.
Several methods are added or removed.
Changes made in qr code callback should also be included.

Added:
int CardboardQrCode_getQrCodeScanCount();

void CardboardQrCode_getCardboardV1DeviceParams(uint8_t** encoded_device_params, int* size);

void CardboardLensDistortion_getFieldOfView(CardboardLensDistortion* lens_distortion, CardboardEye eye, float* field_of_view);

void CardboardLensDistortion_getEyeFromHeadMatrix(
    CardboardLensDistortion* lens_distortion, CardboardEye eye,
    float* eye_from_head_matrix);

void CardboardLensDistortion_getProjectionMatrix(
    CardboardLensDistortion* lens_distortion, CardboardEye eye, float z_near,
    float z_far, float* projection_matrix);

Removed:
CardboardLensDistortion_getEyeMatrices

@cai-mobfish The SDK is updated to v1.1.0. Changes are pushed on branch 'updateSDK'.

@rohantipare
Can you rebuild this .a file with both armv7 and arm64 support? It has issue about "undefined symbol" when I try to archive this project.

I added the method CardboardQrCode_getQrCodeScanCount(), which could be useful to identify if user has already scanned a cardboard.

@cai-mobfish I will look into the archiving issue and see if the function CardboardQrCode_getQrCodeScanCount() can be used to detect qr code scan.

@rohantipare
Just check the archiving issue, it's the same issue as https://github.com/mobfishgmbh/Cardboard-VR-Unity-SDK/issues/12 this one.
CardboardQrCode_getQrCodeScanCount() is now logged after qr code scan now, so it's not necessary to do more here. I'll make another ticket with "set default qr code", which would be the exact same behaviour as the old cardboard.

@cai-mobfish The archiving issue is fixed. Changes are pushed to branck 'updateSDK'.

Tested and merged into public-dev.