Timepicker

Implement the time picker following Microsoft documentation.
Document
Missions

[x] Display control information
[x] Display properties list
[x] Create a simple time picker
[x] Display code for simple time picker
[x] Create a time picker for binding purpose
[x] Create label that show text according to the binding time picker

Check out this branch
git fetch origin
git checkout 101-timepicker

Included with TimeOnly guidance


Daisy UI is failing to compiled if arbitrary values are used with the @apply directive during build

I'm using Daisy UI in a CRA app. But if I use arbitrary values with the @apply directive, Daisy UI is failing to compile during the build mode but it's working fine during the dev mode.
hr {
  @apply border-slate-300 border-[1.125px];
}

code {
  &::before {
    content: "`";
  }

  &::after {
    content: "`";
  }

  @apply text-[crimson];
}

Can you share an example repo?
If it works fine during dev mode, it must be an issue with the setup.

Feel free to re-open this issue after providing a sample repo so I can reproduce the issue.


Initial functionality

Pull requests:

https://github.com/Senzing/g2-sdk-go/pull/9
https://github.com/Senzing/g2-sdk-go/pull/10


docs: added UnoDspImportColor mention

GitHub Issue: closes #1382
PR Type
What kind of change does this PR introduce?

Documentation content changes

Description

PR Checklist
Please check if your PR fulfills the following requirements:

Commits must be following the Conventional Commits specification
[ ] Tested the changes where applicable:

[ ] UWP
[ ] iOS
[ ] Android
[ ] WASM
[ ] MacOS

[ ] Updated the documentation as needed:

[ ] General Doc Update
[ ] material-controls-styles.md
[ ] cupertino-controls-styles.md
[ ] lightweight-styling.md (LightWeight Styling Resource Keys)

[ ] Contains No breaking changes

If the pull request contains breaking changes, commit message must contain a detailed description of the action to take for the consumer of this library. As explained by the Conventional Commits specification

Other information

Internal Issue (If applicable):

@Mergifyio backport release/stable/5.0


Assertion macros compatible with pytorch master

Replace AT_ASSERT with AT_ASSERTM. This made the layer branch compile with pytorch master 623ae0c.
Edit: just saw fix in #504 with AT_CHECK which should also do the trick.

Looks like this is the right fix, thanks!
One question, is this PR sent to the layers branch? Looks like it, I just wanted to confirm

Yes, sent it to the layers branch


Add multiple click ability uses to ability queue

Circumvents the max click limit

Do you have any proof that this actually works?

I tested it and it doesn't seem to do anything and i also don't see how this should circumvents the max click limit of 20. A clickrate of 20 is what works, this can be tested with Goldrain, with 20 the Gold is not corrected back Serverside, but even 21 will result in a Correction, so 20 is the limit set by Server and while testing this Snippet above the Gold got corrected with 21 so doesn't seem to do anything.


WIP: Filer Webpack Plugin

Closes #772
TODO:

[x] Write tests for the plugin
[ ] Manual tests & run webpack output in browser to make sure it all works properly

@humphd while I was working on this I saw that the Buffer exported in filer seems to be the global Buffer object. I'm wondering therefore if I should remove it from the plugin as it would just be shimming it with itself. Maybe I missing something here?

I think that's fine, it will use https://github.com/webpack/node-libs-browser already in our builds, so webpack should do the same?

@humphd As discussed I have removed the option to shim buffer and added a brief comment to the README to explain why buffer is not shimmed by the FilerWebpackPlugin and how to handle it. I've also written tests for the FilerWebpackPlugin so this should be more or less ready to review - though I haven't done a full end to end test using it in a test project so there's still a possibility that I will add some more commits if I find any issues (though I think this is unlikely). Either way, I'll let you know when I've finished the end to end tests.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3e88aec). Click here to learn what that means.
The diff coverage is 98.80%.

@@            Coverage Diff            @@
##             master     #771   +/-   ##
=========================================
  Coverage          ?   87.44%
=========================================
  Files             ?       23
  Lines             ?     1824
  Branches          ?        0
=========================================
  Hits              ?     1595
  Misses            ?      229
  Partials          ?        0

Impacted Files
Coverage Δ

src/index.js
100.00% <ø> (ø)

shims/fs.js
95.83% <95.83%> (ø)

shims/path.js
100.00% <100.00%> (ø)

shims/providers/default.js
100.00% <100.00%> (ø)

src/webpack-plugin/index.js
100.00% <100.00%> (ø)

src/webpack-plugin/processors.js
100.00% <100.00%> (ø)

src/webpack-plugin/schema.js
100.00% <100.00%> (ø)

src/webpack-plugin/utils.js
100.00% <100.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 3e88aec...9fb6596. Read the comment docs.

@humphd I patched a couple of minor issues that came up when I was testing the plugin in a test project but if you're happy with those commits then this should be good to go.

I think this looks really good, great work. The docs and tests are appreciated. I agree that adding an e2e test that uses this somehow would be good in a follow-up.
I'm a little leery of adding these new dependencies, and further bloating the final bundle. We could split this out into a separate repo under the filerjs org, or could add a second build step to build the webpack plugin separately from Filer, making it an optional extra thing one could import on demand. Either of those could happen as a follow-up optimization vs. blocking this further.
I'm inclined to take this once you finish the fixes, and we iterate from there.

I'd be happy to move this out into a separate repo. If we go down that route then I will wait to add full e2e tests for the plugin until it's been moved to the other repo if that's okay.

Hey @humphd,
Been super busy these past few weeks so not had time to do anything on filer. Just come back now as I have a few hours free and don't want open PRs etc to go stale. Was wondering if there was a reason why this wasn't merged yet? Happy to make any changes needed =)
All the best,
Ben

Hey, apologies for the delay.  I'll merge now.


Expose promote and stop-previous-version deployment flags

fixes #530
Still need to decide on default values (currently I'm using true for both promote and set-previous-version):

A note on the behavior:
For flex deployments (where versions can be stopped), if there is a currently served version, and a new version is deployed with:
promote=false
stopPreviousVersion=true
the stopPreviousVersion flag is ignored and the previous version is not stopped. There is no error or warning.

It sounds like we can improve the UX of this in our UI.

stopPreviousVersion should not be visible/settable for standard
deployments.
stopPreviousVersion should only be settable if promote is set to true
for Flex deployments.

On Tue, Sep 6, 2016 at 5:19 PM, Etan Shaul<EMAIL_ADDRESS>wrote:

A note on the behavior:
For flex deployments (where versions can be stopped), if there is a
currently served version, and a new version is deployed with:
promote=false
stopPreviousVersion=true
the stopPreviousVersion flag is ignored and the previous version is not
stopped. There is no error or warning.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/868#issuecomment-245095222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HbFN591ZwzZIchcI_DOv_sNiVjIhks5qndjKgaJpZM4J2Qtr
.

Yes. Good points. I will incorporate this.

@patflynn I incorporated your ideas:
App Engine standard app - stopPreviousVersion is hidden:

AE flex app with promote selected - stopPreviousVersion is visible and enabled:

AE flex app with promote unselected - stopPreviousVersion is visible but disabled:

todo for next commit: don't send stopPrevoiusVersion field to deployment for AE standard apps or when promote is not selected

shouldn't 'stop previous version' be disabled and unchecked when 'promote'
is unchecked?
Also is there any way to make the 'stop previous version' a member of a
subgroup of the promote widget?  i.e. visibly owned by 'promote'?
On Wed, Sep 7, 2016 at 12:34 PM, Etan Shaul<EMAIL_ADDRESS>wrote:

@patflynn https://github.com/patflynn I incorporated your ideas:
App Engine standard app - stopPreviousVersion is hidden:
[image: image]
https://cloud.githubusercontent.com/assets/1735744/18320198/cacd73be-74f6-11e6-8793-12405bd83b4a.png
AE flex app with promote selected - stopPreviousVersion is visible and
enabled:
[image: image]
https://cloud.githubusercontent.com/assets/1735744/18320287/3128c56e-74f7-11e6-8498-925eb1c401b3.png
AE flex app with promote unselected - stopPreviousVersion is visible but
disabled:
[image: image]
https://cloud.githubusercontent.com/assets/1735744/18320305/43d0a79a-74f7-11e6-815e-e9bf4b465970.png
todo for next commit: don't send stopPrevoiusVersion field to deployment
for AE standard apps or when promote is not selected
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/868#issuecomment-245340410,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HbJ947hsaxtisWHU4x2l5JkVga2Pks5qnuengaJpZM4J2Qtr
.

I originally didn't want to modify the user's selection based on what promote is (i.e. unchecking stopPreviousVersion) because the field is not applicable (as opposed to false). But I'm open to this.
Regarding making stopPreviousVersion a subgroup - good idea, I'll do that.

ah I see what you're saying. So by default it's unchecked, but if someone
manages to check it, and then unchecks 'promote' then the
'stopPreviousVersion' remains checked.
That makes sense from one standpoint: i.e. remembering the setting of
stopPreviousVersion when promote is checked,  however it could confuse
users to thinking that when promote is not checked that
'stopPreviousVersion' is enabled and will be done at the end of deploy. I
think that's problematic.
On Wed, Sep 7, 2016 at 1:37 PM, Etan Shaul<EMAIL_ADDRESS>wrote:

I originally didn't want to modify the user's selection based on what
promote is (i.e. unchecking stopPreviousVersion) because the field is not
applicable (as opposed to false). But I'm open to this.
Regarding making stopPreviousVersion a subgroup - good idea, I'll do that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/868#issuecomment-245358744,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HSfHZmpLseucsOo4hIR2io7_pyA4ks5qnvZigaJpZM4J2Qtr
.

Actually, by default, both promote and stopPreviousVersion are checked (as it currently stands).
I agree with your point in the 2nd paragraph. However one thing to remember is that when promote is not checked, then stopPreviousVersion is ignored and is not sent to the deployment at all (will be implemented soon).
But yea, I think its still better for it to appear like stopPreviousVersion is false in this case to not confuse the user - although personally when I see disabled fields I don't tend to consider what their values are (to me its implied they are ignored).

I think with the field as a sibling of 'promote' that's definitely not how
I would see it, but perhaps as a child then it'd be ok.
On Wed, Sep 7, 2016 at 1:45 PM, Etan Shaul<EMAIL_ADDRESS>wrote:

Actually, by default, both promote and stopPreviousVersion are checked
(as it currently stands).
I agree with your point in the 2nd paragraph. However one thing to
remember is that when promote is not checked, then stopPreviousVersion is
ignored and is not sent to the deployment at all (will be implemented
soon).
But yea, I think its still better for it to appear like
stopPreviousVersion is false in this case to not confuse the user -
although personally when I see disabled fields I don't tend to consider
what their values are (to me its implied they are ignored).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/868#issuecomment-245361045,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HTCyhtKoZOfPXo62l-9Pc6Th0Y34ks5qnvhGgaJpZM4J2Qtr
.

I'll make it a child (visually) and also uncheck stopPreviousVersion when promote is unchecked - I don't think this has any downsides other than forgetting the user's previous promote selection (and even this concern is questionable).

@patflynn made some updates:

Moved the checkboxes to the left of the label to look like a traditional checkbox field
Made stopPreviousVersion a visual child of promote
When promote is unchecked, then stopPreviousVersion is automatically unchecked
Only sending stopPreviousVersion to the deployment if promote is selected and the environment is AE flex


docu ays81 portal

create documentation how to

start portal (just starting from std js8 libraries)
use the portal to see ays repo's

@khaledkbadr Khaled thanks for pointing me to the documentation?

https://github.com/Jumpscale/jumpscale_portal8/blob/master/docs/GettingStarted/Running.md


fix: add missing JSON Content-Type rule

The new modsecurity.conf file was missing rule 200001, which enables body processing of application/json.
Also took the opportunity to put the content of the file into a form that is easier to maintain w.r.t. to changes from upstream.
Fixes #252

Hmmmm.... https://github.com/coreruleset/modsecurity-crs-docker/pull/239#discussion_r1581753064 ?

Ok, so both are needed, right?

Yes. One is for application/json, the other one for application/<something>+json.


Support for more complex errors

Currently, when trying to define the following error using execution_error! macro:
use odra::execution_error;
execution_error! {
        NoSuchMethod(String) => 1101,
}

We get a compilation error:
error: expected `=>`
  --> src/errors.rs:21:21
   |
21 |         NoSuchMethod(String) => 1101,
   |                     ^

It would be lovely to support such errors in the future.

Consider removing execution_error and use procedural macro. Could we use thiserror?

#232 covers that in new form.


Dynamic feedback reminder

The current release of Soundscape Community app features a pop-up on first opening it which invites the user to feedback on the 'vicinity distance' feature. The issue is that it appears before the user has had the opportunity to use it, and it does not make it easy for them then to provide any feedback on it.
In addition to the Feedback option from the menu drop-down, this issue is about providing a more dynamic feedback reminder to the user. Key considerations include:

Allowing the user to cancel the pop-up screen so they do not get the notification again (at least on the current installation!)
Pop-up appearing after approx 5-7 sessions
Making it easy to provide feedback, e.g. a rating scale for a particular feature, with supporting text field for additional details

is this only when you first download the app because when I just opened the app on my phone i did not get that pop up? I would be willing to look into this issue I just am not sure how to view that pop up.

Thanks @MBtheOtaku I see that my initial note is not entirely clear on the behaviour!
What we're looking for is to not have the feedback pop-up appear on first use after downloading and opening the app, but to have it appear after about 5 separate sessions, and for it to have a rating scale of 1-5 stars, and an open text field for any other feedback. Hope that helps clarify...


Channel vs. Scene

In the case of czi files (or based on code when the given url has ImageProperties.xml), we're properly merging different urls into one scene to show the different channels.  But in other cases, notably iiif (or based on code when the given url has info.json),  we're not properly showing a multi-channel scene. Even if the given urls are displaying the same image in different channels, we're displaying them in multiple scenes in osd-viewer.
We should fix this and be able to handle a multi-channel scene in all the different file types that we support.

This might be a duplicate of #20 or related to #20.

I would argue that we should not be thinking about file types.  There is only one represention that we care about which is a set of channels and z planes for a image each with a different url
Carl

Dr. Carl Kesselman
Dean’s Professor, Epstein Department of Industrial and Systems Engineering
Fellow, Information Sciences Institute Viterbi School of Engineering Professor,
Preventive Medicine Keck School of Medicine
University of Southern California
4676 Admiralty Way, Suite 1001, Marina del Rey, CA  90292-6695
Phone:  +1<PHONE_NUMBER>
Email<EMAIL_ADDRESS>Web: http://www.isi.edu/~carl
On Jun 4, 2020, 6:46 PM -0700, Hongsuda<EMAIL_ADDRESS>wrote:
This might be a duplicate of #20https://github.com/informatics-isi-edu/openseadragon-viewer/issues/20 or related to #20https://github.com/informatics-isi-edu/openseadragon-viewer/issues/20.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/informatics-isi-edu/openseadragon-viewer/issues/25#issuecomment-639209160, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3OGXTCOBORJW2SRABUZJLRVBFA7ANCNFSM4NTCTBPA.

#51 has fixed this issue.


Reproducer for HHH-18306 Implicit instantiation of result type for queries with single selection item doesn't work in 6.6 with createQuery

https://hibernate.atlassian.net/browse/HHH-18306
This is not a fix, just a reproducer.
See  #8606 for proof it used to work in 6.5.

Fixed via 39de0115f79bcf961ee40a91f2570c8946900415


Build error when trying to build a node.js native addon

What versions of software are you using?
Operating System:
Ubuntu 20.04
Output of odo version:
odo v2.0.3 (9ae754023)
How did you run odo exactly?
odo push
Actual behavior
$ odo push

Validation
 ✓  Validating the devfile [44964ns]

Creating Kubernetes resources for component native-addon-odo
 ✓  Waiting for component to start [2ms]

Applying URL changes
 ✓  URLs are synced with the cluster, no changes are required.

Syncing to component native-addon-odo
 ✓  Checking file changes for pushing [247844ns]
 ✓  Syncing files to the component [241ms]

Executing devfile commands for component native-addon-odo
 ✗  Executing install command "npm install" [1s]
 ✗  Failed to start component with name native-addon-odo. Error: Failed to create the component: command execution failed: unable to execute the run command: unable to exec command [/bin/sh -c cd /project && npm install]:

><EMAIL_ADDRESS>install /project/node_modules/node-rdkafka
> node-gyp rebuild

gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
gyp ERR! find Python - "python2" is not in PATH or produced an error
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - "python3" is not in PATH or produced an error
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
gyp ERR! find Python   (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:307:47)
gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21)
gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16)
gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:271:16)
gyp ERR! stack     at exithandler (child_process.js:315:5)
gyp ERR! stack     at ChildProcess.errorhandler (child_process.js:327:5)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! stack     at onErrorNT (internal/child_process.js:465:16)
gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:80:21)
gyp ERR! System Linux 4.18.0-193.29.1.el8_2.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /project/node_modules/node-rdkafka
gyp ERR! node -v v14.15.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /opt/app-root/src/.npm/_logs/2021-01-15T12_21_39_294Z-debug.log
: error while streaming command: command terminated with exit code 1

Expected behavior
To build the native addons for node.js
Any logs, error output, etc?
Logs above :+1:
Example used: https://github.com/helio-frota/odo-nodejs-native-addon

This looks like "a problem" with the image used in the devfile.yaml for building the application.
The image in Devfile needs to have Python installed, the one that is currently used in https://github.com/helio-frota/odo-nodejs-native-addon/blob/0f9ea367785206e635b2aad5392bd5da3b852d9b/devfile.yaml#L15 doesn't have that.

This looks like "a problem" with the image used in the devfile.yaml for building the application.
The image in Devfile needs to have Python installed, the one that is currently used in https://github.com/helio-frota/odo-nodejs-native-addon/blob/0f9ea367785206e635b2aad5392bd5da3b852d9b/devfile.yaml#L15 doesn't have that.

Ok, I understand a bit the situation. Just created this issue to have some opinion/response on that. thanks.
I'm going to close this issue because this is not an odo bug.

Ok, I understand a bit the situation. Just created this issue to have some opinion/response on that. thanks.
I'm going to close this issue because this is not an odo bug.


Is this the expected way of calling extract_entities  with a filtered query?

Heyo.
Previously, I had code which looked like this:

fn create_save_snapshot(world: &mut World) -> Option<Vec<u8>> {
    let mut buffer: Vec<u8> = Vec::new();
    let mut serde = Serializer::new(&mut buffer);
    // Persistent entities must have an Id marker because Id is fit for uniquely identifying across sessions.
    let mut id_query = world.query_filtered::<Entity, With<Id>>();

    let snapshot = Snapshot::builder(world)
        .extract_entities(id_query.iter(world))
        .extract_all_resources()
        .build();

       ...

I am trying to express this using a custom Pipeline.
I see that SnapshotBuilder exposes only immutable access to World which means I am unable to invoke query_filtered from within capture_seed. I wanted to confirm that the expected way of handling this is something like:
struct SaveLoadPipeline {
    key: String,
    id_entities: Vec<Entity>,
}

impl SaveLoadPipeline {
    pub fn new(id_entities: Vec<Entity>) -> Self {
        Self {
            key: LOCAL_STORAGE_KEY.to_string(),
            id_entities
        }
    }
}

pub fn load(world: &mut World) -> bool {
    let mut id_query = world.query_filtered::<Entity, With<Id>>();
    let id_entities = id_query.iter(world).collect();

    world.load(SaveLoadPipeline::new(id_entities)).is_ok()
}

impl Pipeline for SaveLoadPipeline {
    type Backend = CompressedWebStorageBackend;
    type Format = DefaultDebugFormat;

    type Key<'a> = &'a str;

    fn key(&self) -> Self::Key<'_> {
        &self.key
    }

    fn capture_seed(&self, builder: SnapshotBuilder) -> Snapshot {
        builder
            .extract_entities(self.id_entities.iter().cloned())
            .extract_all_resources()
            .build()
    }

    // TODO: Confirm that lack of DespawnMode::None and MappingMode::Strict is OK
    // https://github.com/hankjordan/bevy_save/issues/25
    fn apply_seed(&self, world: &mut World, snapshot: &Snapshot) -> Result<(), bevy_save::Error> {
        snapshot.applier(world).apply()
    }
}

This approach seems okay. My concern is that, in my scenario, this results in cloning tens of thousands of entities rather than using the iterator directly, but Entity is cheap to clone so I'm not expecting major issues.
An alternative could be maintaining the result of the query in a resource and accessing the resource immutably from within capture_seed. This seems like a lot of overhead, but would make the save operation faster. That overhead didn't seem worth it right now.
I didn't think it was reasonable/possible to preserve the iterator on Pipeline as that would get lifetimes involved significantly.
Thanks

I think you could do better if you store it in a resource (so you don't need to re-create it every time you load) but other than that it looks right. Not sure if it matters. Might not work with "as_readonly" though


Remote Debugging - Console "dead"

Which version of PhantomJS are you using? Tip: run phantomjs --version.
v2.1.1 (Ubuntu 16.04 LTS)

What steps will reproduce the problem?

Start phantomjs, with remote debugging on (--remote-debugger-port=9000)

Connect to the debugger (http://localhost:9000). This works fine, see the debugger interface, files, etc.

Try to start the program ... the console is non-responsive. For example __run() -> carriage return just line feeds, does not start the program. I can also try to auto-start, but even with debugger; in place it doesn't stop and debug. BTW, I added debugger; to the JS file, and even with refresh it's not showing up in the Webkit debugger.

Which operating system are you using?
Ubuntu 16.04 LTS.

Did you use binary PhantomJS or did you compile it from source?
Binary, from Ubuntu install.

Please provide any additional information below.

Same issue.
Windows 10.
Binary.

I am also having the same issues on Mac and Windows. I can get the script to halt but I can never get localhost to show the about:blank link. I'm on -v 2.1.1

This seems to only work in Safari.  Broken in Chrome and Firefox

Same issue here.
Chrome and Firefox. Tested on Ubuntu 16.10 and Windows 7.

Got Same issue.
Windows 7, Chrome 57.

Same issue with Ubuntu 14.04.5 LTS
Workaround for GTD: write __run() in any of source file and Evaluate in Console will work.


FIX: fiducials locking in coreg gui

This PR fixes the issue with CoregistrationUI reported in https://github.com/mne-tools/mne-python/issues/8833 about the fiducial markers being unlocked when dig info is provided.
It's an item of https://github.com/mne-tools/mne-python/issues/8833
cc @larsoner

Thanks @GuillaumeFavelier !


[TLM] Battery voltage, 1 mV/bit description could be more clear.

The description of the field VBATT could me more clear by rephrasing it in the following way:
"Battery voltage is the current battery charge in millivolts, expressed with 1mV resolution."
Same applies for the table of fields.
Additionally I would suggest to express battery level in [%] instead of volts.
I believe the main purpose of this field is to warn the maintainer of the beacon that it is running out of energy, and voltage measurements do not contain such an information. I can easily imagine beacons on the car with power supply ranging from 5V to 15V, yet another one using USB 4.25V to 5V supply, another one using lower voltages 1.8V to 5V.
Now imagine maintainer gets packet stating that VDD of some beacon is 5V. Does this mean that the energy storage is full or empty, without not knowing technical details of the device.

the goal of the telemetry is that it's observed over time, not as a one-shot report. knowing your beacon is at 5V is interesting, but repeated sightings over multiple days will allow an analytics system to forecast the decay.

Hi,
thanks for the quick replay.
So you are assuming that beacons constantly/periodically are sending telemetry packets to the cloud?
I think this is a false assumption - imagine URL beacons (from different vendors/power supply) in the national park spread on the large area. To keep the infrastructure running you need telemetry packets (in the end once a year maintainer will come to this park to replace batteries that are on a low level). Fulfilling your requirements will drastically increase the infrastructure cost as you will need some sort of a line powered gateway (2.4GHz range is very limited) next to each beacon which pretty much kills the whole concept of beacons.
Not using telemetry packets at all will mean that the maintainer will have to access every beacon (some can be placed even on masts/trees), measure manually battery level and make a decision to replace the battery or not. This would skyrocket maintain costs on the other hand.
To be honest, I've started whole discussion because  I'm developing now solar powered beacons which actually have capacitor instead of battery, and telemetry would be useful during installation process.
Installer will place beacons in the desired places. Come in a day or two and check if the beacons' energy storage level is high enough.
P.S. 1: This discussion above is a little bit an offtopic. What about the wording in the description of the field?

Passive collection. The beacons just beacon; other devices (e.g. Android phones) periodically scan for BLE signals around them and report that information to the cloud:
https://developers.google.com/beacons/proximity/reference/rest/v1beta1/beaconinfo/getforobserved
https://developers.google.com/beacons/proximity/reference/rest/v1beta1/beaconinfo/getforobserved#Observation
And then the owner of the beacons can check the overall stats of the fleet:
https://developers.google.com/beacons/proximity/reference/rest/v1beta1/beacons.diagnostics/list

Yes, passive collection makes sense but three questions are coming to my mind then:

Will Encrypted TLM be passed by any observer to the cloud and decrypted there?
How can you protect Unencrypted Data from the man in the middle attack that triggers LOW_BATTERY alarm.
How do you set LOW_BATTERY alarm? I don't see an option for that when adding beacon via "Beacon Tools" app nor beacon dashboard.


ActivityNotFoundException when running sample on device with Android 8.1(API 27)

The sample app does not run on a device with Andoid 8.1. It crashes with error "ActivityNotFoundException" when pressing the "Take Photo" button.
Running the app on a device with API23 works fine.
Bug Information
Version Number of Plugin: <IP_ADDRESS>
Device Tested On: Android 8.1(API 27). HMD Global Nokia Model TA-1047
Simulator Tested On:
Version of VS: 7.7 (Mac) and v15.9.3 (pc)
Version of Xamarin: <IP_ADDRESS>7273
Versions of other things you are using:
Steps to reproduce the Behavior
Run the sample on a real device with android 8.1. Then tap "Take photo" button  -> App Crashes with ActivityNotFoundException
Please note that this was also tested on a (API 23) Huawai BG2-W09 device where there was no problem.
Expected Behavior
Camera viewer should open
Actual Behavior
The App Crashes with the following error:
{Android.Content.ActivityNotFoundException: No Activity found to handle Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 clip={text/uri-list U:content://com.plugin.mediatest.fileprovider/my_images/Test/IMG_20181205_141408.jpg} (has extras) }
at Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00089] in <0ad2222fd7074badb5de547b1521aab0>:0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0005d] in <0ad2222fd7074badb5de547b1521aab0>:0
at Android.App.Activity.StartActivityForResult (Android.Content.Intent intent, System.Int32 requestCode) [0x00044] in :0
at Plugin.Media.MediaPickerActivity.OnCreate (Android.OS.Bundle savedInstanceState) [0x00307] in <5939e997f291496f805023da28f3a447>:0
--- End of stack trace from previous location where exception was thrown ---
at Plugin.Media.MediaImplementation+d__17.MoveNext () [0x00112] in <5939e997f291496f805023da28f3a447>:0
--- End of stack trace from previous location where exception was thrown ---
at MediaSample.MediaPage+<<-ctor>b__0_0>d.MoveNext () [0x000cf] in /Users/mac/GITVS/jamesmontemagno/MediaPlugin.git/samples/MediaSample/MediaSample/MediaPage.xaml.cs:29
--- End of managed Android.Content.ActivityNotFoundException stack trace ---
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 clip={text/uri-list U:content://com.plugin.mediatest.fileprovider/my_images/Test/IMG_20181205_141408.jpg} (has extras) }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1937)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1616)
at android.app.Activity.startActivityForResult(Activity.java:4501)
at android.app.Activity.startActivityForResult(Activity.java:4459)
at md54cd65ac53ae710bff80022afc423e0f3.MediaPickerActivity.n_onCreate(Native Method)
at md54cd65ac53ae710bff80022afc423e0f3.MediaPickerActivity.onCreate(MediaPickerActivity.java:42)
at android.app.Activity.performCreate(Activity.java:7023)
at android.app.Activity.performCreate(Activity.java:7014)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2758)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2883)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1613)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)
}
Code snippet
Note: I did add a tryy catch around the TakePhotoAsync call to capture the error

MediaFile file = null;
try
{
file = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions
{
Directory = "Test",
SaveToAlbum = true,
CompressionQuality = 75,
CustomPhotoSize = 50,
PhotoSize = PhotoSize.MaxWidthHeight,
MaxWidthHeight = 2000,
DefaultCamera = CameraDevice.Front
});
}
catch (Exception ex)
{
DisplayAlert("No Camera", ":( No camera available." + ex.Message, "OK");
}

Hey James,
It's been a while as I have been busy with some other things.
In the meantime, I still seem to have the same issue even after clean/rebuild.
For the linker options, I am not sure in what way I should change the settings.
I also downloaded and ran the sample project which gives me the same problem:
Unhandled Exception:
Android.Content.ActivityNotFoundException: No Activity found to handle Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 clip={text/uri-list U:content://com.plugin.mediatest.fileprovider/my_images/Test/IMG_20190515_163735.jpg} (has extras) }
Again, this works fine on other Android devices but seems a problem on the Nokia (android 8.1 - API 27)
Lastly, I also tried with version v4.2.0-beta, but with no luck.
Any further suggestions?
Bernard

So, I've been digging into the Media plugin and it seems that the StartActivityForResult call is the culprit (MediaPickerActivity.cs:218 ). I guess the Intent created is not valid for this particular device.
I would like to test it by creating a new pickIntent just before the call. Any suggestions what I can hard-code to test and so I can see what works for this device? I guess once we know that we should be able to adapt the code creating the pickIntent to adapt to the particulars of this Nokia device... Or any other suggestions?
at Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00089] in <286213b9e14c442ba8d8d94cc9dbec8e>:0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0005d] in <286213b9e14c442ba8d8d94cc9dbec8e>:0
at Android.App.Activity.StartActivityForResult (Android.Content.Intent intent, System.Int32 requestCode) [0x00044] in <95d915721ad748108ff096dce8f8f32c>:0
at Plugin.Media.MediaPickerActivity.OnCreate (Android.OS.Bundle savedInstanceState) [0x003d5] in C:\Git\MediaPlugin\src\Media.Plugin\Android\MediaPickerActivity.cs:218
--- End of managed Android.Content.ActivityNotFoundException stack trace ---
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 clip={text/uri-list U:content://com.companyname.Media.Plugin.Sample.fileprovider/my_images/Sample/test_2.jpg} (has extras) }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1937)
...

Could be that device and camera don't support another app launching it to take a photo. download another camera app maybe?

Well keeping that in mind, I've been testing another few plugins to see if they get the camera to work.
The CameraAppDemo2 for Xamarin.Android seems to at least start the viewer. Unfortunately, it can not safe the picture for some reason to the device.
The old ZXing barcode scanning plugin works perfectly. No image saving for this plugin.
So, could the saving of the image have anything to do with it? Any ideas are welcome...
In the meantime, would you mind reopening this issue? Just in case someone else had this problem and found a solution. Thanks!

hi,i have the same problem,do you solved this?

Unfortunately, I didn’t find the time to further investigate this. Tbh, I was also hoping that by now the new XF Cameraview would be ready. It seems planned for Sep/Oct for now but not sure if the team will be able to respect this timetable.
So, I wouldn’t mind that this problem here would get solved as not having a 100% functional camera plugin for XF is not ideal.
Let me know if you find a solution please.

I have this erro on Android 5.1.1.  Anything new?


[Feature Request]: Ability to use styles

Please search to see if an issue already exists for the feature you want, and that it hasn't been fixed in a recent build/commit.

[X] I have searched the existing issues

What would this feature do?
This feature would allow users to select preexisting styles, including negative prompts, in order to avoid copy pasting mass amounts of prompts and manually fixing the negative prompt syntax.
What is the workflow for your feature idea?
It could work similar to how it does for x/y/z plot, where the user is shown a list of styles to select.
Any other information?
No response

I'll add this to my TODO list and will checkout if it fits in for me

@drphero what is your idea for saving the checkpoints this way? I understand your idea like replacing/adding to the saved values dropdown the option to select styles. But not only styles, but also checkpoints are needed.

I was thinking it could be an optional separate box below the prompt templates box that would be combined with the prompts box when saved. Since multiple styles could be used for a single generation, it would need to allow that.
So maybe it would look something like this:
Checkpoint Names
darkSushi25D25D_v40.safetensors @index:17,
Prompts/prompt templates for Checkpoints
{prompt} @index:17;
Styles for Checkpoints
style1, style2 @index:17;
Of course the style names would need to match ones that the user already has saved. It would be good if there was a way to easily add in the style names without having to type them all, but I'm not sure how that would work.

@h43lb1t0 I just thought of a better way. So it's like the way you implemented negative prompts. Styles could be used like {{style: stylename}}. But since styles can include negative prompts themselves, this would need to take that into account.

@drphero I think I like this way. That should'nd be to hard to implement.

@drphero i've added it. Could you try it before i merge it? I don't use styles that much and can't realy say if the implementation is good or not.

@h43lb1t0 I've given it a try now. The only problem I've found so far is that it stacks the styles. So if you have something like three checkpoints and three matching prompt templates, each with a different style, the first one comes out correct, but then the 2nd one will use its own, but also the 1st style added. And the 3rd will have its own, but the 2nd and 1st style also added.

@h43lb1t0 By changing line 214 in batchCheckpointsPrompt.py from p.styles.extend(batch_params.style) to p.styles = (batch_params.style) seems to fix this.
Is it possible to use multiple styles for one checkpoint? I can't figure out what the formatting would be.

{{style:styleone}} {{style:styletwo}}
{{style:styleone,styletwo}}
etc

@drphero jmade some changes. Now it is possible to use multiple styles. Just list them one after another. The last style is the one the base prompt will be inserted to.

@h43lb1t0 Everything seems to be working as far as I can tell. Great work!


Paypal button style responsive

Hi :)
I just noticed that the option: 'responsive' and 'small' for the button style are no longer working.
You can reproduce it with your demo page: https://developer.paypal.com/demo/checkout/#/pattern/styles
Setting 'small' on line 20 does nothing and setting 'responsive'(or 'large') make the button wider for a second and then shrink to a smaller size.

Can you please clear your browser cache and try once more? There was a temporary issue that should be resolved now.

Nice! It's fixed :) 🥇


Character prefs don't load

Something in between yesterday's publish and today.

character prefs gives db exceptions all the time did anything recent touch db code at all


call handlerQuery from tdComp: 'Opt'

how could call handlerQuery method from 'Opt' component ?

xprops

tnx


[Bug] user is able to select radio option beyond the selection area

Description
Release - It is observed that user is able to select radio option beyond the selection area - This happens in both edit and deploy mode
Expected Result:
user should be able to select radio option only by clicking on the radio icon
Steps to reproduce the behaviour:

Launch appmsith app in the release environment
Drag and drop radio button
Expand the widget Horizontally
Try to click anywhere on the straight to radio icons

Videolink:
https://loom.com/share/db3769f166f44d47bb973bce53fefaee
Important Details

Version: [11.3]
OS: [MacOS]
Browser [chrome, safari]
Environment [production, release]

I think this is acceptable and provides a good UX


add_group_members has bit-rotted

The add_group_members method has bit-rotted – it seems the owners.json endpoint now expects a group object as parameter.

So, they only accept form-encoded data here, and decided to go with ancient array syntax for that:
        return self._put(
            "/admin/groups/{0}/owners.json".format(groupid), **{"group[usernames]": username}
        )


Fixed syncsecondary and readable secondary notebook params

Problem: Notebook params for SQL MIAA create looked like: --sync-secondary-to-commit " --sync-secondary-to-commit "-1""
Solution: Naming for the param and the variable were the same, causing the error. Gave the variable a new name and problem resolved.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 42.165%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
28202

Relevant Lines:
62431

💛  - Coveralls


TypeScript baseUrl behaviour - coalescence FTW!

Hello!
First of all, thanks for all your fine work on NSwag. Just lately my team has made the journey from handrolling clients to generating TypeScript and C# clients for our platform using your marvellous tooling.
We bumped on one issue related to how the baseUrl for TypeScript clients is set. It's slightly related to this issue:
https://github.com/RicoSuter/NSwag/issues/1198
But subtly different. It goes like this: when we're developing our application locally we're serving up the front end of our app at http://localhost:8080 - webpack dev server. However, our API is being served up by ASP.NET Core at http://localhost:5000
The generated clients contain this line in the generated client code:
this.baseUrl = baseUrl ? baseUrl : "http://localhost:5000";

This code is problematic for one of our use cases. We have two potential baseUrls that we new up clients with.

When developing locally we pass "http://localhost:5000".

When deployed, our complete app: API, HTML, CSS and JavaScript generated from TypeScript all get served from the same location. So in that case we pass an empty string: "".

The first use case is fine. The second is problematic because of the behaviour of this.baseUrl = baseUrl ? baseUrl : "http://localhost:5000";. Namely that this is a falsey check. If baseUrl is null or undefined then we fall back to use "http://localhost:5000". That's desired behaviour. However, we also do the same for other falsey values including empty strings.
You can probably see where I'm going with this :smile:
Would you be open to a PR that changed the constructor generated code in this case to something like this:
this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : "http://localhost:5000";

This is code that I believe covers the intent of the current generated code but does it in a more specific way.
The behaviour is similar to the nullish coalescing operator which will be working it's way into JS / TS in future: https://github.com/microsoft/TypeScript/issues/26578 / https://github.com/tc39/proposal-nullish-coalescing
If you're open to the change I've suggested here I'd be happy to try pick this up. At present we're doing some string.Replace on our generated TypeScript client code to get to this place.
I'd expect that others have similar needs.
What do you think?

any updates?? I have the same issue!

No response as yet - I'm still happy to raise a PR, but I don't want to do that if it's not desired


Don't fail for modules without a name.

when doing
>>> run bla.py

in ipython. The code's "module" has no "name". This caused an error when trying to print transforms loaded like that. This PR fixes this.

Codecov Report

Merging #337 (c96083a) into main (1ee3d8f) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head c96083a differs from pull request most recent head 1326fa3. Consider uploading reports for the commit 1326fa3 to get more accurate results

@@           Coverage Diff           @@
##             main     #337   +/-   ##
=======================================
  Coverage   89.46%   89.46%
=======================================
  Files          15       15
  Lines        2572     2572
=======================================
  Hits         2301     2301
  Misses        271      271

Impacted Files
Coverage Δ

padl/dumptools/symfinder.py
83.56% <100.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 1ee3d8f...1326fa3. Read the comment docs.


Move the metrics recorder to a blocking thread to avoid hangs

Scheduling
We should only do this ticket if we have fixed the other Zebra hang bugs, and Zebra still hangs frequently.
This is unlikely to be causing our hang issues, so we should do it last.
Is your feature request related to a problem? Please describe.
Zebra runs the metrics recorder on an async thread, which can block:

async code running concurrently in the same task, and
async code from other tasks on the same thread.

Describe the solution you'd like
Instead, Zebra should:

use tokio's spawn_blocking function to run this task, and
make all callers into async functions (or access the executor directly)

https://docs.rs/tokio/1.6.0/tokio/task/fn.spawn_blocking.html
Describe alternatives you've considered
We can use tokio's block_in_place function. This function only blocks concurrent code in the same task, which is better, but still not great.
We could also use block_in_place as we transition code.
Additional context
Blocking functions might be the source of hangs or slowdowns in the inbound service, or state service, or unrelated tasks.

@mpguerra this change is high-risk, we should only do it after NU5 activation, and after upgrading to tokio 1.0

This doesn't seem to cause problems in practice.


[RPM M1] Tweak OpenSearch build.sh so the rpm artifact is having saming naming convention

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Tweak OpenSearch build.sh so the rpm artifact is having saming naming convention
Issues Resolved
Part of #1655
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1657 (12f5014) into main (947bc5d) will increase coverage by 5.30%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #1657      +/-   ##
=============================================
+ Coverage     94.69%   100.00%   +5.30%
=============================================
  Files           163         4     -159
  Lines          3447        65    -3382
  Branches         21        14       -7
=============================================
- Hits           3264        65    -3199
+ Misses          180         0     -180
+ Partials          3         0       -3

Impacted Files
Coverage Δ

src/run_sign.py

src/system/working_directory.py

src/build_workflow/build_artifact_checks.py

tests/jenkins/jobs/BuildArchive_Jenkinsfile

src/test_workflow/perf_test/perf_test_cluster.py

...c/manifests_workflow/input_manifests_opensearch.py

src/assemble_workflow/bundle_url_location.py

src/test_workflow/integ_test/integ_test_runners.py

...flow/dependency_installer_opensearch_dashboards.py

src/ci_workflow/ci_check_package.py

... and 149 more

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 947bc5d...12f5014. Read the comment docs.

Close this now.


Project-factory CICD : Insufficient permissions on read-only SA

Running stage-2 project-factory from a CICD  workflow failed at initial "terraform plan" step because of missing IAM permission for xxx-resman-pf-0r service account.
I could not check all stage features, but I could identify at least:

Missing permission on the billing account to handle billing budgets

Error: Error when reading or editing BillingBudget "billingAccounts/XXXXXXXXXX": googleapi: Error 403: The caller does not have permission

  with module.projects.module.billing-account[0].google_billing_budget.default["kar-default"],
  on .terraform/modules/projects/modules/billing-account/budgets.tf line 39, in resource "google_billing_budget" "default":
  39: resource "google_billing_budget" "default" {

Missing permission on storage buckets created by the project-factory automation feature

Error: Error when reading or editing Resource "storage bucket \"b/XXXXXX\"" with IAM Binding (Role "roles/storage.objectViewer"): Error retrieving IAM policy for storage bucket "b/XXXXXXXX": googleapi: Error 403<EMAIL_ADDRESS>does not have storage.buckets.getIamPolicy access to the Google Cloud Storage bucket. Permission 'storage.buckets.getIamPolicy' denied on resource (or it may not exist)., forbidden

  with module.projects.module.automation-buckets["prod-website/state"].google_storage_bucket_iam_binding.authoritative["roles/storage.objectViewer"],
  on .terraform/modules/projects/modules/gcs/iam.tf line 36, in resource "google_storage_bucket_iam_binding" "authoritative":
  36: resource "google_storage_bucket_iam_binding" "authoritative" {

As a side note, there is also a little inconsistency in WIF SA names: xxx-pf-resman-pf-1, but xxx-resman-pf-1r

Thanks for opening this issue. and the detailed error messages.
Let's start from the naming inconsistency: the new release of FAST which is out as an rc and we'll promote this week already addresses it. This is a snippet from the generated workflow file for the project factory:
FAST_SERVICE_ACCOUNT<EMAIL_ADDRESS>FAST_SERVICE_ACCOUNT_PLAN<EMAIL_ADDRESS>
Now to the missing IAM bindings for the project factory read-only SA.
One error which I found and you did not report regards missing permissions to read IAM bindings in networking and security stage projects. This is needed when the pf grants roles on other stage 2 resources (e.g. roles/compute.networkUser). This is addressed in #2683 by granting the custom role projectIAMViewer to the read-only SA on networking and security folders.
The billing budget error is a lot trickier: for one, we did not have a suitable custom role so a new billingViewer role was added to stage 0 in #2685. But then this role can only be applied if the billing account is under the same org, so the PR only grants it when var.billing_account.is_org_level is true. If you are dealing with a service account living outside the org itself, this needs to be done by manually assigning roles/billing.costsManager which also grants r/w permissions on budgets.
For the buckets, the pattern we support is to have the pf itself create a project to host IaC resources for application-level projects, and there it's its own responsibility to assign the correct permissions to its service account.
I hope this addresses your issues, I am marking this closed but feel free to reopen if you want to further discuss the topic.


use gene name as title for gene page (and other page title ruminations)

Plug the gene name, or systematic ID for unnamed genes, into the html title element so things like browser history, tab headers, etc. will say something more specific than "PomBase - gene". It's fine to keep the PomBase part, e.g. "PomBase - cdc2".
Could also do similar for reference and ontology term pages. For those it might be enough to use the PubMed or ontology ID, rather than look up term names or citation parts.

I've done this.  The title are quite long for now but we can trim them based on experience.


CSharpier not formatting file with error

Hello.
I just installed the CSharpier for VSCode extension, and whenever I click format document, it gives me this. It doesn't appear to do anything to the file. Any help would be appreciated!
["INFO" - 6:07:59 PM] Formatting started for c:\Users\JBVector\Desktop\Trainz\Files\Assets (Game-Ready)\TrainCars\Prestwin diag 277\eWagon.cs.
["DEBUG" - 6:07:59 PM] Got chunk of size 1
["DEBUG" - 6:07:59 PM] Got last chunk with ETX at 0
["INFO" - 6:07:59 PM] File is ignored by .csharpierignore or there was an error
["INFO" - 6:07:59 PM] Formatted in 6.7542000114917755ms
["DEBUG" - 6:07:59 PM] result is empty

Any chance this is related to #784 ?

If you run csharpier against that file directly, does it work?
You may need to install csharpier with dotnet tool install -g csharpier And then dotnet csharpier c:\Users\JBVector\Desktop\Trainz\Files\Assets (Game-Ready)\TrainCars\Prestwin diag 277\eWagon.cs

When I do that it says this:
C:\Users\JBVector>dotnet csharpier C:\Users\JBVector\Documents\eWagon.cs
Error C:/Users/JBVector/Documents/eWagon.cs - Failed to compile so was not formatted.
Total time:                                                                          692ms
Total files:                                                                           1
C:\Users\JBVector>
C:\Users\JBVector>

I have a similar issue. A file with a compilation error does not format. I do get the following
$ dotnet csharpier in.cs
Error ./in.cs - Failed to compile so was not formatted.
  (3,102): error CS1002: ; expected
Total time:                                                                          138ms
Total files:                                                                           1

However, I'd like to get the error using the API, but it seems this is not possible currently.
Looking at https://github.com/belav/csharpier/blob/master/Src/CSharpier/CodeFormatter.cs it seems the public methods only return the result.Code field. Could we add something like FormatWithErrors and FormatWithErrorsAsync that exposes the more complex return CodeFormatterResult?

https://github.com/belav/csharpier/blob/master/Src/CSharpier/CodeFormatter.cs#L16 (public, only string return)
https://github.com/belav/csharpier/blob/master/Src/CSharpier/CodeFormatter.cs#L76 (private, returns CodeFormatterResult

When I do that it says this:
C:\Users\JBVector>dotnet csharpier C:\Users\JBVector\Documents\eWagon.cs Error C:/Users/JBVector/Documents/eWagon.cs - Failed to compile so was not formatted. Total time: 692ms Total files: 1

CSharpier needs to be able to produce a syntax tree of a file in order to format it and if it is unable to compile the file it can't produce a syntax tree. Does the file compile in VSCode? If so, can you share the contents of the file?
#710 is for making it more obvious why CSharpier is not formatting a file.

@verdverm I created #799 for exposing more info in the API.  I wanted to keep the public surface area to a minimum and just expose things as they were requested so that I was free to change the internals without affecting the API.

It doesn't let me upload it, so here is a link to the file:
https://drive.google.com/file/d/18uDaSd1byrJje8eJKKmQDO9WrGAktQXv/view?usp=sharing

here is a link to the file

eWagon.cs is not valid c#. It appears to be some type of a script that uses mostly c# syntax, but it contains things that are not c#.


AudFlow Issue

Flow Launcher version: 1.14.1
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Python Path: C:\Users\User\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.8.9\pythonw.exe
Node Path:
Date: 05/13/2023 21:50:42
Exception:
AudFlow Exception:
Websites: https://github.com/asmpro7/AudFlow
Author: Ahmed ElSaeed
Version: 1.0.0
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\FlowLauncher\Plugins\AudFlow-1.0.0\main.py", line 14, in
import pygame
File "C:\Users\User\AppData\Roaming\FlowLauncher\Plugins\AudFlow-1.0.0\lib\pygame_init_.py", line 92, in
from pygame.base import *  # pylint: disable=wildcard-import; lgtm[py/polluting-import]
ModuleNotFoundError: No module named 'pygame.base'
---> System.IO.InvalidDataException: Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\FlowLauncher\Plugins\AudFlow-1.0.0\main.py", line 14, in
import pygame
File "C:\Users\User\AppData\Roaming\FlowLauncher\Plugins\AudFlow-1.0.0\lib\pygame_init_.py", line 92, in
from pygame.base import *  # pylint: disable=wildcard-import; lgtm[py/polluting-import]
ModuleNotFoundError: No module named 'pygame.base'
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 294
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 299
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 314
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 191
--- End of stack trace from previous location ---
at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 190
--- End of inner exception stack trace ---
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 210
at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass135_0.<g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 829
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 803
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

one your terminal and type this:
pip install pygame
and tell me the result

after update the plugin to v2.0.0 you wouldn't face any problem 😊

I will try and let you know as soon as possible. And thank you for your work 🔥

thx😁💖
I sent it to the flow launcher team it will be updated soon, let me know after using it ✨

Ok great 😉

The update has arrived, however there are problems during installation. It says the latest version is already installed, even though v1.0.0 is installed.

yes, I make v2.0.1 now, because that problem and send to flow team, soon it will be updated check the version of the plugin in plugin store 😉

Same issue
Flow Launcher version: 1.14.1
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Python Path: C:\Users\user\AppData\Local\Programs\Python\Python311\pythonw.exe
Node Path:
Date: 05/16/2023 14:11:17
Exception:
AudFlow Exception:
Websites: https://github.com/asmpro7/AudFlow
Author: Ahmed ElSaeed
Version: 2.0.1
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\FlowLauncher\Plugins\AudFlow-2.0.1\main.py", line 11, in
from gtts import gTTS
File "C:\Users\user\AppData\Roaming\FlowLauncher\Plugins\AudFlow-2.0.1\lib\gtts\init.py", line 3, in
from .tts import gTTS, gTTSError
File "C:\Users\user\AppData\Roaming\FlowLauncher\Plugins\AudFlow-2.0.1\lib\gtts\tts.py", line 8, in
import requests
ModuleNotFoundError: No module named 'requests'
---> System.IO.InvalidDataException: Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\FlowLauncher\Plugins\AudFlow-2.0.1\main.py", line 11, in
from gtts import gTTS
File "C:\Users\user\AppData\Roaming\FlowLauncher\Plugins\AudFlow-2.0.1\lib\gtts\init.py", line 3, in
from .tts import gTTS, gTTSError
File "C:\Users\user\AppData\Roaming\FlowLauncher\Plugins\AudFlow-2.0.1\lib\gtts\tts.py", line 8, in
import requests
ModuleNotFoundError: No module named 'requests'
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 294
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 299
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 314
at Flow.Launcher.Core.Plugin.PluginManager.<>cDisplayClass22_0.<b0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 191
--- End of stack trace from previous location ---
at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 40
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 213
--- End of inner exception stack trace ---
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 213
at Flow.Launcher.ViewModel.MainViewModel.<>cDisplayClass135_0.<gQueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 839
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 803
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

sorry for that, it solved in v2.0.2
you can uninstall AudFlow and download it manually because didnt wait in to add to plugin it take at least one day
from here
https://github.com/asmpro7/AudFlow/releases/download/v2.0.2/AudFlow.zip
and unzip it here
C:\Users<Your username>\AppData\Local\FlowLauncher\app-1.14.1\UserData\Plugins

Hey sorry, can we talk in private?

you can, using telegram here:
t.me/asmprotk

I using python 3.8 as flow and test it on my device and solve the problems it appear, so It should now work great in
v2.0.3, try it and tell me to close this issue 🤗


Low quality mirror display / Good when recording --record

When mirroring the screen, the quality is bad, even increasing bitrate, but if I record with --record the recording quality is what the terminal indicates. I use mac os mojave 10.14.6 retina display.
scrcpy 1.10
dependencies:

SDL 2.0.9
libavcodec 58.35.100
libavformat 58.20.100
libavutil 56.22.100

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#the-quality-is-low-on-hidpi-display
?

Could you post a screenshot?


Slack integration not working

Here's the Github Action error
Error posting Slack message: Error: Request failed with status code 400

Hi, @piersmacdonald thanks for reporting the issue. This problem was reported before and resulted being the characters limit of Slack. It was supposed to be fixed, but maybe I made a mistake.
Could you try setting the limit option to 5 or so?

Hi @piersmacdonald happy to help you with the Slack integration :)


MtprotoHeader lang_pack value

What value is set there? Is there a way to control it?

See documentation for "localization_target" option at https://core.telegram.org/tdlib/options.

How can I set these options? I use C# client with C++/CLI tdlib.

Use the method TdApi.SetOption.

Ok. It's confusing that in C# Execute is a static method while Send is instance method. So the difference is not just in being synchronous but in global/instance state.


Default interface value fix

Fix to check for any associated interfacename input when creating a shader node.
Also fixes to always used resolved value for value initialization on ShaderNode and ShaderGraphs.
Unit test results:
interfacename_tests.pdf
of note is the specific graph which had issues:

Close this for now as more discussion is required.


MySQL with Python

Description
Python code for how to connect Python with SQL and handle data
Domain
Python_Domain
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

@adityabisoi please assign me this issue. or any mentor or supervisor, please assign.

Go ahead

MySQL with python.zip
#6227
python with MySQL

@adityabisoi Assign this issue to @Kanishk0412

@adityabisoi Please assign this issue !!


chore(release): new powerdns release to support new distributions

Signed-off-by: Alvaro Cabanas<EMAIL_ADDRESS>

Schema needs to have the new versions before releasing to generate the new packages https://github.com/newrelic/newrelic-prometheus-exporters-packages/blob/main/scripts/s3-publish-schema.yml

You are right, thanks for noticing


Fix branch name in coverage workflow

My bad. The branch name should be 'master' not 'main'.
Copy-paste error on my part

Oh, never mind.


Using Artisan::call() for create a module

I'm using backend side for create a module in my application.
(type a module name in an input text then controller calls make:module command)
Artisan::call('make:module', ['name' => $request->name]);
But i can't create a module in my application's backend since the last updates. Any suggestion?

Hmm, I actually hadn't considered this functionality before. I'll add a --quick option that you can pass through that will tell the package to replicate the previous versions behavior of auto-filling the manifest information.

Great, thanks :) :+1:

This was added in the v3.0 release (--quick or -Q)! Specifically 372783e65564d47a03d011050d4db3f0d0a87342

Thanks for update :+1:
Usage after the update :
Artisan::call('make:module', ['slug' => $request->name, '--quick' => true]);
// or ['--Q' => true]

Command "make:module" is not defined.
at Application->find('make:module')
in Application.php line 229
Help me

@alhassancse , this happens in all caffinated module commands, still no fix


Update type specs and simplify generated code

Correct type specs
Simplify generated code and make other minor changes
Update documentation
Format code
Configure dialyzer
Add plugins for steamroller and hex

This PR has been automatically closed due to inactivity.


How to install WT-Tracker ?

I download the repository as zip.
I unpack the zip file, and open a cmd in the root folder.
I run npm install.

And while installing, I got a HUGE list like this of missing files..

Have I done something wrong ?
Thanks !

What version of nodejs and typescript do you have?
I'd advise you to use nodejs LTS (v14.17.1 i think), and update typescript as well ( npm i -g typescript@latest ) Then try it again

What version of nodejs and typescript do you have?
I'd advise you to use nodejs LTS (v14.17.1 i think), and update typescript as well ( npm i -g typescript@latest ) Then try it again

Hello,
Thanks for your answer !
Well, I've updated node to v14.17.3, & typescript using the command you gave, then tried again and the same thing happened.
It seems like there's folders or stuff missing from this repo (like a "dist/" folder) & therefore I can't install it.. :/

You are missing git. Install git and you will be able to pass this step.


Adding users with powershell

If I add users with powershell by a admin account which is not member of the team it will still produce a message that "Jack added Hans to the team"... But Jack has not made any changes. In some cases it will tell only "hans joined the team" but currently we dont see any logic... any ideas ?

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

ID: 3d86301b-ce9c-388c-e563-9e5e5c27132e
Version Independent ID: 07e4ae23-0966-e8f3-9b7c-4f6c02569eb0
Content: Office 365 Groups and Microsoft Teams - Microsoft Teams
Content Source: Teams/Office-365-groups.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@sifiak thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@scanum, case #19460228, no fix, works as desgined. If you add user by a global admin into such team, you will get a message that the user was added by an owner of this team (owner and the global admin are different users, system does not care...). will you guys handle this somehow?


Full name check is reliable?

@m4rc1e Given that https://github.com/mozilla/zilla-slab/issues/15 happened I guess that the FB name table 'full name' check may not be reliable... Please investigate :)

@davelab6 you are probably talking about:
com.google.fonts/test/068:
"Does full font name begin with the font family name?"
Which validates the value of NAMEID_FULL_FONT_NAME entries.

I see that the bad value on zilla-slab was: "Zilla Slab Highlight Bold Bold".
That extra " Bold" in the end of the name would not be caught by the "begins with family name" check, indeed.

Other FULL_FONT_NAME related tests are:

com.google.fonts/test/071: Among other things, it verifies whether the entry exceeds max length of 64 chars.
com.google.fonts/test/094: METADATA.pb "fullname" value matches internal "fullname" ?
com.google.fonts/test/106, com.google.fonts/test/107 and com.google.fonts/test/108: Among other things, these infer expected METADATA.pb values based on FULL_FONT_NAME value.

None of the above would trigger the issue.

Finally, there's this rule that enforces the expected format on com.google.fonts/test/017 - "Assure valid format for the main entries in the name table.":
    [...]
    elif name.nameID == NAMEID_FULL_FONT_NAME:
      expected_value = "{} {}".format(fname_with_spaces,
                                      style_with_spaces)

I'll attempt writing a pytest for this one now to ensure it fails for "Zilla Slab Highlight Bold Bold" :-)

well... even before writing the test using pytest, I downloaded the Zilla-Slab TTF and I can confirm that the current implementation of test/017 properly emits a FAIL message indicating the bad entry: "Zilla Slab Highlight Bold Bold". So that answers the question: yes, it is reliable!

@felipesanches thanks for checking this.

Cool! I'm glad the issue was sorted out :-)


Can I get User Input Voice (Audio file) from lex inside Lambda function to recognise speaker talking to Lex bot

I want to recognise speaker talking to Lex bot, does AWS provide any service to recognise speaker?
Or if I want to use custom package to recognise speaker can I get user voice ( audio file ) inside Lambda function from Lex bot?

I've been looking into this and it so far looks not possible. But it may be. About a year ago Time ran an article saying Amazon was working on it [0]
Last Oct Alexa supposedly gained the ability to distinguish voices [1]. However, I can't find any api's to hook into it.
[0] http://time.com/4683981/amazon-echo-voice-id-feature-2017/  (has autoplay video)
[1] https://www.theverge.com/circuitbreaker/2017/10/11/16460120/amazon-echo-multi-user-voice-new-feature

Lex itself doesn't provide you the audio file, however, if you are using Lex with Amazon Connect, Amazon Connect does have call recording functionality: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instance.html


Astronaut's hitbox is too big

The current size of the hitbox makes it easy to lose by hitting an enemy even when it doesn't look like you are colliding with it, which is frustrating.
It can be resized in the AstronautCharacter class by using this.body.setSize() and this.body.offset.x.

Hello!
I'd like to work on this issue. 🚀

Hi Justin!
Great. go for it!


Update icon legend

hmmm, we need to make this automatic. In fact the abapGit font has a build process. One of it's artifacts is a html page showing the available icons and their names. Somehow it should be autobuild on commit and be accessible as a github page. And then cross link it from the abapGit docs. Will create an issue there not to forget

It’s more about the semantics, the “abapGit meaning” of each icon. If we can make that part of the icon repo generated HTML in all for it


Issue with load_from_file method for Operator

load_from_file method cannot load from files created by save_to_file method, it has an issue in loading complex numbers.

Remark:
The load_from_file only support paulis with real coefficient rather than complex coefficient.
We can use both save_to_dict and load_from_dict to handle complex coefficient


Avoid the use of variable argument list function

Changed mi_atomic_yield(); to mi_atomic_yield(void); in order to match its function prototype.

Thanks!


Request: Waterfox

Project description
Waterfox is an open-source browser based on the same principies as Firefox
Metadata

homepage URL: https://www.waterfox.net/
source URL: https://github.com/WaterfoxCo/Waterfox
license: MPLv2
platforms: linux and darwin (not sure about unix)

Might as well package Librewolf instead, which has a better reputation on privacy. Waterfox had (and maybe have) issues concerning privacy : https://spyware.neocities.org/articles/waterfox_classic.html
There's also a pull request for Librewolf here : https://github.com/NixOS/nixpkgs/pull/151439

The ownership has changed again, it is completely independent. I think this should be re considered

+1 for waterfox given the ownership changes (https://www.waterfox.net/blog/a-new-chapter-for-waterfox/).


Count of indices

There doesn't seem to be a 'total # of indices in cluster' metric, this would be useful.

Hi @j0hnsmith,
I've checked the ES API endpoints we are currently querying on each prometheus scrape. They don't return the requested metric. So I would have to query another endpoint to get the metric. It would be something like http://localhost:9200/_cat/indices?format=json&pretty. I think the number of indices is a metric that doesn't change frequently. So adding another http call on each scrape for a more or less constant metric doesn't seem appropriate to me

Fair point, does depend on usage though. Is there any scope to make it optional, eg off by default but users can enable?

yes, that'd be certainly possible. It's quite a quite easy task, the json returned by the endpoint pretty clear. See https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html for additional information how to change the units of the returned metrics (bytes vs. human, ...) So if we (you?) implement it we just need to make sure the queries work on all supported versions, i.e. 1.8.x, 2.x, 5.x and 6.x. and that the json looks the same. If it doesn't, I think it's not worth the effort.
So I can review a PR that optionally adds the feature and/or help with it, but working on it myself hasn't got the highest priority

If you use daily indices its not a constant size.

I might have time to look into this - seems the _all/_stats has this information no?
Should be just a matter of capturing the root(name of index) to a metric - which users can sum?
Example:
curl -s https://my-elasticsearch-url.com/_all/_stats?format=json&pretty | jq '.indices'
"kubernetes-2018.08.27": {
    "primaries": {
    ...

My Go is not expert level so I wouldn't be expecting this urgently however we have use ourselves for such a metric

@gavk34 see the PR and further discussion in #143.

thanks for the clarification, @j0hnsmith
closing this issue
TL;DR;
count of indices can be obtained with count by (instance) (elasticsearch_indices_docs_primary)


MDDropdownMenu not functioning as expected.

I had tried all the available example present in the kivymd documentation related to MDDropdownMenu.
to run my system but it not works as shown picture below in the documentation.
How it is not working: During opening the list it shows the wite pop up with no items in it event provieded the items properly. Dosn't metter much because I had copy pasted the code as it is form the documetation.
For curisity I had try some dif
ferent approach to do that I just try to provide a extra key viewclass during creating the list items after running that code. It show the item over it but as I accepted as not.
It displaying one item more as I provided in the item list but with the blank white space over there.
However I am using python 3.10 and kivymd 1.1.1. So please give a answer what should I do.

Create a new issue according to the rules...


Solving bugs and create github.html

Creating github.html for GitHub redirect and solving the invite link in description or questions.

ok


Jour 433 - Ensure deep link data is sent in Journeys edge cases

Queue rendering for Banners and Journeys
Added unit tests

👍


Update docfx.json

Docs Build status updates of commit 93725f2:
:clock10: Preparing: the average preparing time is 45 sec(s)

Docs Build status updates of commit 93725f2:
:clock10: Full build: the average full build time is 10 sec(s), this is based on the last 2 build(s) for this repository.
:warning: This is a FULL build due to a configuration change (usually in .openpublishing.publish.config.json and/or docfx.json). It is strongly suggested to merge this configuration change after the business hours, as it could impact the overall build performance of other PRs on the 'master' branch. For more detailed info, please click here.

Docs Build status updates of commit 93725f2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

ShayaIntRepo91953/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 0af89f4:
:clock10: Preparing: the average preparing time is 45 sec(s)

Docs Build status updates of commit 0af89f4:
:clock10: Full build: the average full build time is 9 sec(s), this is based on the last 3 build(s) for this repository.
:warning: This is a FULL build due to a configuration change (usually in .openpublishing.publish.config.json and/or docfx.json). It is strongly suggested to merge this configuration change after the business hours, as it could impact the overall build performance of other PRs on the 'master' branch. For more detailed info, please click here.

Docs Build status updates of commit 0af89f4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

ShayaIntRepo91953/docfx.json
:white_check_mark:Succeeded

ShayaIntRepo91953/test.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


tour: [ The edited characters will disappear]

Context: https://go.dev/tour/welcome/1
The edited characters will disappear on the page。

+1


How to format word insid list which show when I do autocomplete ?

Hello , I define my own languge .... in my languge functions and I want to do autocomplete with my function .... I want to do 2 things ...
the first thing is :
for example :
if I have class called  className contain fun1 and func2
I want when I Type className and  press "." (className.) to show me list contain :
int fun1
double fun2
and when I select int fun1 only fun1 is selected (something like label and value ... the label here is :int fun1 and the value is : fun1 ...when I selected the label I want to value is type on codemirror ) How I can do it ?
the second thing is :
How I can color the words in label in different color for example :
in label (int fun1) I want do color the word int by red color and fun1 by blue color insid the label ... How I can do it ?
if I can't do it with codemirror there are any plugin to do it with codemirror ??
Thanks in advance

EDIT:
Hi I find this plugin http://codemirror.net/doc/manual.html#addon_show-hint ... put I did not knew How I can change displayText and text for my own language
I used this code for autocomplete my language :
var orig = CodeMirror.hint.anyword;
var inner;
CodeMirror.hint.anyword = function(cm) {
	inner = orig(cm) || { from: cm.getCursor(), to: cm.getCursor()};
inner.list.length = 0;
inner.list.push("fun1");
inner.list.push("fun2");
  return inner;
}

   extraKeys: {
        "Ctrl-Space": "autocomplete",
        "Ctrl-Space":function(cm){  CodeMirror.showHint(cm, CodeMirror.hint.anyword); },
        "'.'": "autocomplete",
        "'.'" : function(cm) {
            setTimeout(function(){cm.execCommand("autocomplete");}, 10);
            CodeMirror.showHint(cm, CodeMirror.hint.anyword);
         },

can any body help me How to change displayText and text for my  CodeMirror.showHint .... plz help

https://codemirror.net/doc/manual.html#addons
in show-hint chapter:

hint/show-hint.js
Provides a framework for showing autocompletion hints. Defines editor.showHint, which takes an optional options object, and pops up a widget that allows the user to select a completion. Finding hints is done with a hinting function (the hint option). This function takes an editor instance and an options object, and returns a {list, from, to} object, where list is an array of strings or objects (the completions), and from and to give the start and end of the token that is being completed as {line, ch} objects. An optional selectedHint property (an integer) can be added to the completion object to control the initially selected hint.
If no hinting function is given, the addon will use CodeMirror.hint.auto, which calls getHelpers with the "hint" type to find applicable hinting functions, and tries them one by one. If that fails, it looks for a "hintWords" helper to fetch a list of completeable words for the mode, and uses CodeMirror.hint.fromList to complete from those.
When completions aren't simple strings, they should be objects with the following properties:
text: string
    The completion text. This is the only required property.
**displayText**: string
    The text that should be displayed in the menu.
**className**: string
    A CSS class name to apply to the completion's line in the menu.
render: fn(Element, self, data)
    A method used to create the DOM structure for showing the completion by appending it to its first argument.
hint: fn(CodeMirror, self, data)
    A method used to actually apply the completion, instead of the default behavior.
from: {line, ch}
    Optional from position that will be used by pick() instead of the global one passed with the full list of completions.
to: {line, ch}
    Optional to position that will be used by pick() instead of the global one passed with the full list of completions.


[Deribit] Update DeribitTradeServiceRaw.java; added edit() for path: /private/edit

Note: First time proposal.
The /private/edit works fine if you don't add the MMP Flag to the Parameters.
I added the other Params only as comments, because I don't need them for my work.
Tested it, works. Much easier than deleting the existing order and placing a new one.
Best regards

Can you see why the unit test is failing?


include dtype in np.random.uniform addressing #175

[x] closes #175
[ ] tests added / passed
[ ] docs reflect changes
[ ] entry in CHANGELOG.md

In this PR:

Tiny patch, setting dtype of np.random.uniform to match variable in wet day frequency correction

Thanks for the quick turn-around @delgadom. Agreed with, but just add this PR number and @ your username at the end of the
Fix the wetday frequency correction so that different replacement values are used, rather than a single one (PR #174, @emileten)

line in CHANGELOG.
I want to check to see if this still works in one other weird case we had with regridding... I'll follow up.

I'll update the changelog as reviews suggested and merge.
Thanks for the quick help everyone!


Update session.py

To make it work again (temp fix)

Just the version is not enough anymore you will need to add this to the accept and content type headers ; charset=utf-8:
So they become like this:
"Accept": "application/json; charset=utf-8",
"Content-Type": "application/json; charset=utf-8"

Just the version is not enough anymore you will need to add this to the accept and content type headers ; charset=utf-8:
So they become like this:
"Accept": "application/json; charset=utf-8",
"Content-Type": "application/json; charset=utf-8"

Huh, weird, for me it work now. Even without setting charset.

Doesn't work anymore...


Feature: add the sharkio logo to the navbar

Tell me what you think

Awsomee!!
Also when you click the icon/the name navigate to /home using react router dom  component.
I would like it to look like this if possible:


raftmanager-in-testkit-wip

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

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

This was superseded by Alok's later PR in trunk


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit 2a16fbc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Use DeferCleanup() in networking suite

Use ginkgo's DeferCleanup to clean these namespaces up incase of failure.

I found this was a thing in #471


macOS: detect high contrast theme

With the Electron 9 update came support to detect high-contrast or inverted-color themes on macOS. We currently only detect this on Windows and can now enable this for macOS as well.
//cc @isidorn @aeschli @deepak1556

Great. I think this makes perfect sense and we should go with this. If users complain we can easily change it.

Verification:

make sure on macOS you see the window.autoDetectHighContrast setting
verify that we change to the user selected HC theme when changing to high contrast on macOS via settings -> accessibility -> display (either "Invert colors" or "Increase contrast")
verify this change happens while the app is running
verify this change happens when you start the app and have not previously selected a HC theme while being in HC mode in the OS

Just a note, this was very jarring when updating to the latest version. I had to come to this issue to find out it was something I could override by going to user settings for color theme. I would suggest that this auto-selecting of the high contrast theme only take effect if the user is using the default theme. I had already customized a theme that suited me very well and to have it replaced because I have "Increase contrast" accessibility setting on was unexpected.

This was super jarring to discover myself as well - I initially thought that the update had broken something


Issue when loading wuffs branch data

When running the run_both.sh wuffs 30 I get the following exception:
INFO:fuzz_analysis:Using coverage url: /covreport/tga_fuzzer/linux
Traceback (most recent call last):
  File "/fuzz-introspector/post-processing/main.py", line 192, in <module>
    main()
  File "/fuzz-introspector/post-processing/main.py", line 177, in main
    return_code = run_analysis_on_dir(
  File "/fuzz-introspector/post-processing/main.py", line 91, in run_analysis_on_dir
    fuzz_analysis.overlay_calltree_with_coverage(
  File "/fuzz-introspector/post-processing/fuzz_analysis.py", line 255, in overlay_calltree_with_coverage
    branch_blockers = detect_branch_level_blockers(profile)
  File "/fuzz-introspector/post-processing/fuzz_analysis.py", line 350, in detect_branch_level_blockers
    llvm_branch_profile = functions_profile[function_name].branch_profiles
KeyError: 'wuffs_bzip2__decoder__initialize'

Pushed a fix as this issue was blocking another issue -- but the fix should maybe change in the long run as I simply set it to skip if the function name was not in the dictionary

This is fixed.