Why the requirement of django < 1.10 ?

First off, thanks for starting this. I was just about to dive in and attempt to create something very similar to this either based on Pint or Unum.
I'm wondering what the reasoning is behind requiring Django version < 1.10 in your package setup. Were you just being cautious? I'm trying to see if I can use this with the latest version of Django (1.10.1) and based on the 1.10 release notes I'm not sure if the restriction is necessary.
Thanks!

Yeah I was just being a bit cautious I think - I'll add a tox entry for 1.10 when i get a chance and see how it fares. I dont remember any specific reason why it wouldnt work


SCons: Remove redundant -fomit-frame-pointer and -ftree-vectorize

-fomit-frame-pointer is included automatically by both GCC and Clang in -O1 and above.
-ftree-vectorize is included automatically by GCC in -O2 and beyond, and seems always enabled by Clang.

Closes #66296. See that issue for a detailed investigation.

Cherry-picked for 3.6


Game crashes often when food / grid size ratio is too high

I've been running into a bug where the game will crash and fail to load on really small grids where there's a lot of food. It doesn't happen every time, which leads me to believe it's something to do with food generation overlapping the snake and may very rarely affect larger boards as a result.
To reproduce (on docker image sendwithus/battlesnake-server:c1d961d529ce), create a game with the following params:

width: 5
height: 5
max food: 10
game mode: singleplayer
one snake URL with name set

It crashes every time for me. Dropping the max food down to 1  fixes the issue and does not seem to ever crash. Max food = 4 seems to inconsistently crash.

Yup what's happening here is a buffer is being added around every piece of food, so there just isn't any place left on the board for a snake, 5x5 = 25 squares, 10 pieces of food with a 1 space buffer around them, means no more spaces left. I don't think we actually want to have a buffer around the food when doing snake placement, We'll talk about it internally and figure out how we want to handle it.

Ahh, that makes sense! Sounds like there's no risk of this happening on larger board sizes with normal quantities of food then.

Going to close this, as we're not going to add any validation around this.


Setting GO111MODULE=on is not required with go version 1.13 and later

Rational:
https://golang.org/doc/go1.13
The GO111MODULE environment variable continues to default to auto, but the auto setting now activates the module-aware mode of the go command whenever the current working directory contains, or is below a directory containing, a go.mod file — even if the current directory is within GOPATH/src.

Hi @camilamacedo86
thanks for the quick feedback and pointed out that go versions prior to 1.13 are not supported. To be frank I would just remove the sentence. As defaults are just working I feel like this is just a distraction to the reader wanted to go through the tutorial. Also this is nothing specific to operator-sdk and the very few readers having a shell diverging from the defaults should already be well versed in the subject.
If you agree on that I can amend the pull request otherwise feel free to close it.

Hi @fgiloux,

To be frank I would just remove the sentence.

I would be ok with that if we address the error scenario issue faced in the FAQ. See; https://sdk.operatorframework.io/docs/faqs/faqs/. WDYT? Would be interesting on working on that in this PR?

IMO, that sentence helps clarify environment requirements for Go beginners.
Go experts will probably understand or at least know to lookup the details of the GO111MODULE variable and decide how to set it for themselves, but Go beginners are probably happy to be told to explicitly set GO111MODULE=on even if it's unnecessary.
That sentence is still applicable to Go1.13+ because users may have explicitly set GO111MODULE=off, which would likely cause their SDK-based operator not to compile.
My vote would be to close this with no change.

Hi @fgiloux,
Really thank you for your collab. I hope that you are ok with us close to this one.
However, please your PR's are more than welcome.


Simplify LB policy and resolver shutdown.

TSAN is reporting a lock order inversion problem in the channelz code caused by this PR.  I haven't had time to look into that yet, but I'm going to need to figure out how to fix it before I can merge this.  It may be that we will need to change the channelz code-path to be async in order to fix this.

Now that #19066 has been merged, the TSAN problem here should be fixed.

@AspirinSJL, it looks like this PR is triggering a sporadic memory leak in the xds code, and I haven't been able to figure out why.  Can you take a look?
I've been able to reproduce the problem pretty consistently by running the following:
make -j5 CONFIG=asan xds_end2end_test && env GRPC_VERBOSITY=DEBUG ./bins/asan/xds_end2end_test --gtest_filter=SingleBalancerTest.SecureNaming

It doesn't fail every time, but I've never had to run it more than a few times in a row before seeing a failure.
It looks to me like the problem is that in some cases, the RR child policy never gets destroyed, which means that it never destroys its helper, which in turn fails to unref the xds policy, which in turn fails to unref the parent helper, which in turn fails to unref the channel.  But it's not clear to me why the RR child policy isn't getting shut down.  I think our logging may be missing a ref somewhere, but it's hard to tell where.
You may want to patch in the change to metadata.cc from my other PR:
https://github.com/grpc/grpc/pull/19042/files#diff-02f80f8966713e647e326e33f249d02d
That will allow you to see the useful asan output about where the leaks are coming from.  (If I can't get that other PR merged soon, we can pull that particular change out into its own PR.)
Thanks for any insight you can provide!

I've pulled the asan change from #19042 to #19332.

The changes in #19334 may make this easier to debug.

I think I figured out the bug.

Known issues: #19005
@AspirinSJL, can you take one more look before I merge this?  Thanks!

Known issues: #18416


Works when testing, but not when published

Hi, wondering if you could give a bit of insight.
I've added the module (which seems great btw, and very simple to add) to two apps. When testing on my local simulator and then through the QR code on a phone through Expo, the live data was showing when in Analytics. Because of this I published. However, now when trying on my phone with the live version, I don't seem to bet getting any data into Analytics.
It also works when scanning the QR code on the published projects, for example - https://expo.io/@sjames/entrancearchitect
Any ideas?
Thanks again.

Did you find a solution to this. I'm hitting a similar issue where I can see the requests in development but on a published build the requests are not made. Appears to be iOS only though.

Ok thanks, I will give that a go too.

Turns out as I had updated the SDK version for Expo, but not submitted it to the app stores again, it wasn't actually sending my update to the stores. Missed that I needed to do that. Analytics is working perfectly now.
Thanks


net/lib/app/client.c appears to have duplicate field assignments

Seeing stuff like:
        net_sin6(&ctx->ipv6.remote)->sin6_family = AF_INET6;
        ctx->ipv6.remote.family = AF_INET6;

In the middle of another refactor, recording to not forget.

@jukkar : fyi

Those are different fields, so need to set separately. Probably the sin6_family is not really used but as the field is there we should set it.

Yes, and it's mandated by POSIX: http://pubs.opengroup.org/onlinepubs/009696699/basedefs/sys/socket.h.html :

When a sockaddr_storage structure is cast as a sockaddr structure, the ss_family field of the sockaddr_storage structure shall map onto the sa_family field of the sockaddr structure. When a sockaddr_storage structure is cast as a protocol-specific address structure, the ss_family field shall map onto a field of that structure that is of type sa_family_t and that identifies the protocol's address family.

Actually, for some time I wanted to RFC going even further for Zephyr, and employ the fact that port and address also have the same offset in IPv4 vs IPv6 sockaddr's, now recorded as https://jira.zephyrproject.org/browse/ZEP-2106?focusedCommentId=19680&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-19680 .

@pfalcon any update on this one? Is this still an issue?

@nashif : Yes. However, this clearly doesn't fit into 1.10, assigned 1.11 milestone.

@jukkar are you looking into this?

Let me chime in with the idea that @jukkar might have more important things to do in general, and this issue is not too critical for 1.11 (a cleanup, not a bug). So, assigning to myself (keeping @jukkar assigned still as the maintainer, I don't know if that's right thing to do, but I always did), and removing 1.11.

(I usually assign all networking tickets to @jukkar as the maintainer for "triaging", which may include reassigning to other parties. This issue was acked by him, thanks.)

net-app has been removed from zephyr


Create a CONTRIBUTING.md file

Create a CONTRIBUTING.md file. See the nerd_dice_dot_com version as an example.

@the-amazing-atharva thank you for the offer to contribute! I saw your comment as I was merging the pull request and closing the issue.
For the reasons outlined in the BURN THE CONTRIBUTOR COVENANT WITH FIRE document, we won't be adopting a formal CODE OF CONDUCT for this repository. You are certainly welcome and encouraged to contribute in other respects to this and any other of the Stateless Code repositories.

Resolved by #42


"No connection" Icons displays continualy on streamdeck (buttons are working)

Hi !
When I use companion satellite, the icons on my streamdeck displays no connection but the buttons are working. If I quit and launch Companion Satellite, the icons will display for 5 seconds then it will display the "no connection" icon. Does any of you have this issue ?

That is not satellite, but the elgato plugin.
Unless the issue is that you are running both applications simultaneously?

Oh you are right ! I think, the Streamdeck plugin was runing in background (I forgot to de-activate the software at startup).
Thank's !

Close


IPv6 routes to delegated prefixes get lost occasionally

I get a /60 from Comcast via prefix delegation (let's assume abcd:abcd:abcd:abcd::/60). I use a few of the /64 subnets on various LAN/OPT interfaces. I ALSO have abcd:abcd:abcd:abcd:f::/64 routed to a VPN server that runs on another box. I have a static route to my vpn server to take care of this.
This setup works for a few days, then the route disappears from the routing table in "netstat -r" and IPv6 no longer works on my vpn links. Enabling and disabling the static route in the gui brings it back.
My theory is that the dhcpv6 lease from Comcast is getting refreshed, and that clears out my routing table. There should probably be a hook somewhere that re-adds the ipv6 static routes but is missing.

Just to be clear, it's a DHCPv6 WAN with automatic IPv6 tracking for LAN/OPT set? And the /60 prefix changes or remains static? The static route part refresh throws me off.

Just to be clear, it's a DHCPv6 WAN with automatic IPv6 tracking for LAN/OPT set? And the /60 prefix changes or remains static? The static route part refresh throws me off.

The wan is DHCPv6 requesting a /60 PD. The LAN/OPT use IPv6 tracking. Unfortunately it seems that neither static routes nor NPTv6 support tracking, so I just set it manually since my delegation only changes if the RRD data changes. Hopefully in the future there will be support for tracking in this and firewall rules, but this isn't the issue since my /60 didn't change when the route disappears.
The purpose of the static route is so that my wireguard server (connected to LAN) can hand out IPv6 addresses.


Document assumption made by node-controller, and fix AWS to match

ExternalID must return "", cloudprovider.InstanceNotFound if the instance
is not found, for nodecontroller to remove nodes corresponding to deleted instances.

LGTM

@justinsb I'd like to try and merge this -- does this PR require a rebase?

Ping?

Working on it now...

Rebased - sorry for the delay.


Subscriptions with updatedFields_contains filter are not triggered

Bug Report
Current behavior
Server-side subscription throws on mutation execution
Reproduction
I've setup a subscription on user type to send confirmation email after user creation, which looks as follows (running on Prisma sandbox 1.7.4):
subscription {
  user(where: {
    OR: [{
      mutation_in: [CREATED]
    }, {
      mutation_in: [UPDATED]
      updatedFields_contains: "confirmToken"
      node: {
        confirmToken_not: "null"
      }
    }]
  }) {
    node {
      email
      confirmToken
      firstName
      lastName
    }
  }
}

When I try to create a new user I am getting following error:
...

Error: Argument 'where' expected type 'UserSubscriptionWhereInput' but got:

{
  OR: [{
    boolean: true
  }, {
    boolean: false,
    updatedFields_contains: "confirmToken",
    node: {
      confirmToken_not: "null"
    }
  }]
}

Reason: 'OR[1].updatedFields_contains' Field 'updatedFields_contains'
is not defined in the input type 'UserSubscriptionWhereInput'. (line 2, column 15):

...

Notice how mutation_in: [CREATED] and mutation_in: [UPDATED] from my
subscription query above are replaced with boolean: true and boolean: false.
Expected behavior?
I would expect that appropriate condition from the filtering logic provided in subscription is being matched and payload posted to the specified webhook.

@taikn, thanks for your report! That looks like  problem with updatedFields_contains.
Can you provide a minimal repo to reproduce this issue? 🙂

I've narrowed down the issue i think it has something to do with mutation type UPDATED, you can clone the the repo from here: https://github.com/taikn/prisma-sss-error
npm install
npm run dev

then in playground try running this mutation:
mutation {
  updateUser(
    where: {id: "cjgrv5uqa4vir0b59xhoflz35"},
    data: {confirmToken: "prettyCoolToken"}) {
      id
  }
}

I am getting:
[GraphQL error]: Message: There can be only one input field named 'boolean'., Location: [object Object], Path: updateUser
[Network error]: Error: There can be only one input field named 'boolean'.
Error: There can be only one input field named 'boolean'.
    at BatchedGraphQLClient.<anonymous> (/Users/eduard/Sites/prisma-sss-error/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:77:35)
    at step (/Users/eduard/Sites/prisma-sss-error/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:40:23)
    at Object.next (/Users/eduard/Sites/prisma-sss-error/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:21:53)
    at fulfilled (/Users/eduard/Sites/prisma-sss-error/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:12:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

Thanks @taikn, I can confirm this error.
Additionally, this mutation (to the Prisma API)
mutation b {
  createUser(data: {
    email: "Nilan"
    firstName: "Nilan"
    lastName: "Nilan"
    confirmToken: ""
  }) {
    id
  }
}

results in
{
  "data": null,
  "errors": [
    {
      "message": "Argument 'where' expected type 'UserSubscriptionWhereInput' but got: {OR: [{boolean: true}, {boolean: false, updatedFields_contains: \"confirmToken\", node: {confirmToken_not: \"null\"}}]}. Reason: 'OR[1].updatedFields_contains' Field 'updatedFields_contains' is not defined in the input type 'UserSubscriptionWhereInput'. (line 2, column 15):\n  user(where: {\n              ^\n (line 3, column 5):\n    OR: [{\n    ^\n (line 3, column 9):\n    OR: [{\n        ^\n (line 7, column 7):\n      updatedFields_contains: \"confirmToken\"\n      ^",
      "path": [
        "createUser"
      ],
      "locations": [
        {
          "line": 8,
          "column": 3
        },
        {
          "line": 2,
          "column": 15
        },
        {
          "line": 3,
          "column": 5
        },
        {
          "line": 3,
          "column": 9
        },
        {
          "line": 7,
          "column": 7
        }
      ]
    }
  ]
}

as you mentioned in your first post.

I also received this error
mutation:
mutation {
  updateOrder(
    where: {
      id: "xxxx"
    }
    data: {
      status: DONE
    }
  ) {
    id
    status
  }
}

result:
{
  "data": {
    "updateOrder": null
  },
  "errors": [
    {
      "locations": [],
      "message": "There can be only one input field named 'boolean'.",
      "path": [
        "updateOrder"
      ]
    }
  ]
}

Surprised this is not given more priority as it renders the power of Prisma subscriptions (almost) useless.

I don't think is renders subscriptions almost useless 🙂
But I'll see if we can give this some attention soon!

Thanks for reporting this! 🙏
I implemented a fix that we will ship today with 1.17.2.

@mavilein
Running Prisma 1.21.0 and just came across this issue with the following
"There can be only one input field named 'boolean'."
subscription {   tennant(where: {     mutation_in: [UPDATED]     updatedFields_contains_some: ["token"]   }) {     mutation     node {       id       firstname       lastname     }     updatedFields   } }


No app icon for some apps (maybe exclusive issue to uwp apps)

Hi there! Found a slight bug.
Seems like no app icon shows for uwp apps/apps installed with a "non native" window border (idk how to explain it)
For example if I open arc (web browser), I don't get the arc icon as the thumbnail when doing alt tab. Same thing happens with the microsoft store while quickly testing this
https://github.com/hdlx/MacAppSwitcher/assets/66184829/f6133f6e-feea-4b7d-9410-ae5a4170b66b
Example of issue shown above^^
https://github.com/hdlx/MacAppSwitcher/assets/66184829/e5438f84-06f0-4fa3-b1e8-fb7523fa0cab
Icons do appear when doing win+tab (shown above) and regular alt tab

Hi!
Indeed, it seems that I need to handle UWP apps as a specific case, I started to look at it, I will tackle this when I have some time soon.
Thanks for the feedback ! :-)

Thank you for your hard work!
Tested MS Store and the calculator app, those do indeed work as intended
Arc browser still has the same behavior (no icon, just the default "placeholder" one)

Should be good this time, at least for arc.


e2e evaluation raises ZeroDivisionError

Rasa version: 1.3.6
Python version: 3.6
Operating system (windows, osx, ...): osx
Issue:
e2e story evaluation always raises ZeroDivisionError
Error (including full traceback):
Processed Story Blocks: 0it [00:00, ?it/s]
2019-09-25 15:30:06 WARNING  rasa.core.training.generator  - There is no starting story block in the training data.  There should be at least one story block that starts without any checkpoint.
2019-09-25 15:30:06 INFO     rasa.core.test  - Evaluating 0 stories
Progress:
0it [00:00, ?it/s]
2019-09-25 15:30:06 INFO     rasa.core.test  - Finished collecting predictions.
2019-09-25 15:30:06 WARNING  rasa.nlu.test  - No labels to evaluate. Skip evaluation.
Traceback (most recent call last):
  File "/Users/ric/.envs/platform/bin/rasa", line 11, in <module>
    load_entry_point('rasa', 'console_scripts', 'rasa')()
  File "/Users/ric/dev/rasa/rasa/__main__.py", line 76, in main
    cmdline_arguments.func(cmdline_arguments)
  File "/Users/ric/dev/rasa/rasa/cli/test.py", line 88, in test_core
    kwargs=vars(args),
  File "/Users/ric/dev/rasa/rasa/test.py", line 108, in test_core
    rasa.core.test(stories, _agent, out_directory=output, **kwargs)
  File "uvloop/loop.pyx", line 1448, in uvloop.loop.Loop.run_until_complete
  File "/Users/ric/dev/rasa/rasa/core/test.py", line 483, in test
    completed_trackers, agent, fail_on_prediction_errors, e2e
  File "/Users/ric/dev/rasa/rasa/core/test.py", line 430, in collect_story_predictions
    in_training_data_fraction = _in_training_data_fraction(action_list)
  File "/Users/ric/dev/rasa/rasa/core/test.py", line 383, in _in_training_data_fraction
    return len(in_training_data) / len(action_list)
ZeroDivisionError: division by zero

Command or request that led to error:
$ rasa test core --stories e2e.md --e2e

I ran into this too. It looks like the problem is that if a e2e story specifies intents as /intent (or actually if the intent line contains a forward slash / anywhere), they will match the regex for NLG format (see rasa.nlu.training_data.loading.guess_format ), and therefore rasa.data.is_nlu_file will return True, since the format is not UNK. In the function rasa.data._find_core_nlu_files_in_directory, if a file is found to be NLU format, it is not checked whether it is e2e/story format, and therefore not added to the story data to load, leading to empty trackers and the ZeroDivisionError.
This was my temporary work around:
def _find_core_nlu_files_in_directory(directory: Text,) -> Tuple[Set[Text], Set[Text]]:
    story_files = set()
    nlu_data_files = set()

    for root, _, files in os.walk(directory):
        for f in files:
            full_path = os.path.join(root, f)

            if not _is_valid_filetype(full_path):
                continue
            ##FIXME: finds NLG format for e2e stories with /intent declarations, therefore does not add any files to story_files, therefore causing ZeroDivisionError later in e2e testing
            if is_nlu_file(full_path):
                nlu_data_files.add(full_path)
            if is_story_file(full_path): #elif
                story_files.add(full_path)

If I understand the expected NLG format correctly, modifying _nlg_markdown_marker_regex to exclude the pattern : / should solve the problem without affecting the loading of other data formats i.e. _nlg_markdown_marker_regex = re.compile(r"##\s*.*\n\*.*(?<!\: )\/.*\n\s*\t*\-.*")

Hi @melindaloubser1 , is this something you would like to work on? I'd also help you with the implementation, just tag me in the PR 🙂

@wochinge sure, I can work on it. Haven't contributed to an open source project before though, just fyi, but I'd like to get started.

Hi @wochinge - sorry to take so long to get to this. Do you know where I could find examples of NLG story files? I've looked through the readers for that format but can't figure out when one would be loading that kind of data or what exactly it would look like.

. Do you know where I could find examples of NLG story files?

What do you mean by NLG story files @melindaloubser1 ?

@wochinge I'm looking for the nlg_markdown format that e2e-format stories are getting identified as.  It's described in rasa.nlu.training_data.loading (line 50):
# looks for pattern like:
# ##
# * intent/response_key
#   - response_text
_nlg_markdown_marker_regex = re.compile(r"##\s*.*\n\*.*\/.*\n\s*\t*\-.*")

I thought it might be the format returned by an NLG server, but it looks like that isn't the case. Since E2E stories that look like:
* intent: /intent
    - action

are getting identified as nlg_markdown, I wanted to check that any changes I make don't change the handling of nlg_markdown formatted files, hence why I'm trying to find out what they look like and when they would be used.

What you found is actually for https://rasa.com/docs/rasa/core/retrieval-actions/ .
The reader for end 2 end stories is here: https://github.com/RasaHQ/rasa/blob/99cd0d849021b5d27e5f0c6023c0da9f729e41d0/rasa/core/training/dsl.py#L33

Ok, thank you, that is what I was looking for (the retrieval actions template).

@wochinge did the PR close the entire issue?


fix(sipi): create tmp folder

resolves DSP-1679
During upload there is a check if the tmp folder exists. If not, then the script should not throw an error but create the tmp folder.

Tests failing: Sipi is returning Internal server error.

Tests failing: Sipi is returning Internal server error.

yes, unfortunately. Tests are only failing on Github-CI. Locally they are running through.

Tests are only failing on Github-CI. Locally they are running through.

I don't understand why that's OK, but I guess you know what you're doing. 🙂

Tests are only failing on Github-CI. Locally they are running through.

I don't understand why that's OK, but I guess you know what you're doing. 🙂

It is not ;-) I'm not going to merge before the tests run through. At the moment, I have no idea why those tests fail. The change introduced in this PR is not what makes the tests fail. At least, I don't see how it can.

Tests are only failing on Github-CI. Locally they are running through.

I don't understand why that's OK, but I guess you know what you're doing. 🙂

It is not ;-) I'm not going to merge before the tests run through. At the moment, I have no idea why those tests fail. The change introduced in this PR is not what makes the tests fail. At least, I don't see how it can.

Found the problem. Lua is a very obscure language. My change was the problem. I have reverted it and added some comments for the next poor soul who has to deal with Lua.


Update NIST license

I noticed a Makefile appears to be have been adapted from UCO, including carrying forward NIST disclaimer text.  This PR updates the text.

Thank you!


Scopes and 'The "center" property is not defined in the main scope'

I'm using the AngularJS SPA Template with Visual Studio 2013 and the above mentioned error message occurs.
Somehow it seems, that two scopes for the leaflet-directive get created.
First one is completely empty and causes the error:

The second one contains all the information I set in the controller:

Setting and getting the center seems to work from there on, but other angular bindings on the page are not executed.
Any hint on how to provide more useful information about my problem (or even a solution) would be highly appreciated.
Another error that pops up is [AngularJS - Leaflet] At least one baselayer has to be defined, but that one doesn't seem to cause any side effects: everything concerning layers seems to work just fine.

Where is the solution documented? Last Friday I tried setting up custom layers and I was getting the same "baselayers undefined" issue, but this fixed it. Having it in the documentation would save some time. How would I add it myself?


Enhancing the Day Planner Plugin A Request for More Visual Appeal.

 However, I haven't started using it yet because I feel that the new version of the plugin is too plain. I'm still using the old version. Do you have any plans to provide a timeline with gradient colors similar to the old version, or the ability to customize colors for different time periods?
Also, I'm not sure why, but my computer doesn't show notifications like the old version used to.

Hello, @FEI352,
there is a pull-request in progress, adding gradients. You can observe the progress on the issue here: https://github.com/ivan-lednev/obsidian-day-planner/pull/227
Also, what do you mean by this?

or the ability to customize colors for different time periods?

new PR for the gradient timeline: #237

Hello, @FEI352, please update the plugin and re-check.


Update uni-muenster.txt

Former Westfälische Wilhelms-Universität-Münster got renamed to Universität Münster on 01.10.2023 (more about this).
Official Website, Proof that this domain is used for student email

@l4zs I am sorry, the domain uni-muenster.de is removed from our trusted domains list because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).


chore(main): release 0.3.1

:robot: I have created a release beep boop
0.3.1 (2022-10-13)
Features

fix (4e15dc0)
use MY_TOKEN (b9b0257)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/skyerus/open-feature-operator/releases/tag/v0.3.1 :sunflower:


Why does Insomnia site use Development version of React ?

It was like that because I had some UglifyJS errors I couldn't figure out. Gave it another try and got it working, though. Thanks for reminding me that it needed to be done! 😄

P.S. I also changed it to the ReactJS is only included on pages it's used /app/*.

:) It's just that I am seeing a lot of sites using Development version of React here and there, so I got curious


Cardiac conduction term revisions

Hi David
sorry about this but I have also discussed this with Andrew Cook who works on heart development and he has confirmed that the bundle of His leads to the bundle branches and that it is there that contact the Purkinje myocyte directly. I am very reluctant to create new terms for each part of the conduction system. I wonder if we could use the concept that the bundle of his includes the bundle branches, which is what was implied by the term that was created, also in discussions with heart physiology experts.
Current term GO:0086069 bundle of His cell to Purkinje myocyte communication
add exact synonym:
bundle branch cardiac muscle cell to Purkinje myocyte communication
But there are a lot of bundle of his terms and maybe this is just not necessary, what do you think?
Thanks
Ruth

Hi Ruth,
I think this is a viable option, but whatever we decide with respect to the branches versus the bundle itself needs to come from Uberon. If you look at Uberon, there is a term  'atrioventricular bundle' that has the synonym 'bundle of His'. That term has two parts, the left branch and the right branch. If I'm understanding you correctly, this is consistent with your proposal. So it seems that 'I wonder if we could use the concept that the bundle of his includes the bundle branches' is true and consistent with Uberon. You might want to ask the ontology editors to switch the synonym and primary term name if you think it more closely represents the original intent of the term. Or maybe ask to change the primary term name 'bundle of His branch cell to Purkinje myocyte communication' to make it more explicit. This seems like it would be ok, since we definitely wanted to represent the communication at the cellular level and this seems all consistent with how Uberon represents the structures. Do you think this parthood is consistent with the way the anatomy would be viewed by the experts? Ie, is it ok to have the branches be part of the bundle? Perhaps additional synonyms could be added to reflect the nomenclature in Uberon. From your description above, it also seems that there is a part missing from Uberon that represents the bundle itself. The only parts in Uberon now are the left and right branch. But above you say that the bundle leads to the branches. Maybe there is a structure that would be the 'bundle proper'?  Hope this makes sense!

Hi Ruth,
I think this is a viable option, but whatever we decide with respect to the branches versus the bundle itself needs to come from Uberon. If you look at Uberon, there is a term  'atrioventricular bundle' that has the synonym 'bundle of His'. That term has two parts, the left branch and the right branch. If I'm understanding you correctly, this is consistent with your proposal. So it seems that 'I wonder if we could use the concept that the bundle of his includes the bundle branches' is true and consistent with Uberon. You might want to ask the ontology editors to switch the synonym and primary term name if you think it more closely represents the original intent of the term. Or maybe ask to change the primary term name 'bundle of His branch cell to Purkinje myocyte communication' to make it more explicit. This seems like it would be ok, since we definitely wanted to represent the communication at the cellular level and this seems all consistent with how Uberon represents the structures. Do you think this parthood is consistent with the way the anatomy would be viewed by the experts? Ie, is it ok to have the branches be part of the bundle? Perhaps additional synonyms could be added to reflect the nomenclature in Uberon. From your description above, it also seems that there is a part missing from Uberon that represents the bundle itself. The only parts in Uberon now are the left and right branch. But above you say that the bundle leads to the branches. Maybe there is a structure that would be the 'bundle proper'?  Hope this makes sense!

Thanks David
I agree there are a lot of different names for the components of the conduction system.
In this article: https://dev.biologists.org/content/143/2/197 Fig 1 (and text)

sinoatrial node (SAN) - located in atria
atrioventricular node (AVN) - located in atria
atrioventricular bundle (AVB, bundle of His, His bundle) - located in ventricles
atrioventricular junction - located in ventricles
right bundle branch - located in ventricles
left bundle branch - located in ventricles
peripheral ventricular conduction system (Purkinje fibre network) - located in ventricles
The atrial and ventricular myocardial tissues are electrically isolated from one another by a plane of connective tissue formed by the annulus fibrosus and central fibrous body.
ventricular conduction system (VCS) is all the conduction system located on the ventricular side of this connective tissue (ie it includes

https://github.com/obophenotype/uberon/issues/1785


Not able to authorize Salesforce Sandbox org

I tried to authorize Salesforce Sandbox org but it wont be authorized. It gives API not enabled error. It work fine for Production org.

For those stuck.  See here: https://github.com/cangencer/salesforce-oauth2/pull/5


Usage with xargs

I'm trying to do this:
xargs -0 -P $parallel -I {} sh -c "{ date '+START {} %Y-%m-%d_%H:%M:%S' >> $logf; \
	bytes=$(diskus -v {}); \
        echo "{},$bytes" >> $csvf; \
	date '+FINISH {} %Y-%m-%d_%H:%M:%S' >> $logf; }"

But:
diskus: could not retrieve metadata for path '{}'

I'm 96% sure my xargs is correct since I'm just replacing du with diskus in the same construct. The {} comes out as expected elsewhere.  Any ideas?

If diskus sees "{}" as a literal argument, then something is wrong with your command.


Stop building on travis

The travis build is tricky to get right, because it builds on Linux and we really only target Windows. Jetbrains's TeamCity has been working pretty well, and now reports commit statuses so that PRs turn green or red based on the build. I don't think we need the Travis CI build anymore.
cc @allansson @pmiossec #750

:+1:

Ironically, the teamcity build hasn't started (?) yet for this branch.

There's the green checkmark. :fireworks:


RGB Underglow not working

Hi!
First things first: Thank you very much for this nice project. I built a wired redox over the couple last weeks and i'm close to finishing this project. The keyboard functionality itself does work on both halves, but i have problems getting the RGB underflow (6 LEDs per half) working.
I've flashed both halves with the same firmware using the following config.h:
/* Use I2C or Serial, not both */
#define USE_SERIAL
// #define USE_I2C

/* Select hand configuration */
#define MASTER_LEFT
//#define MASTER_RIGHT
// #define EE_HANDS

#undef RGBLED_NUM
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 12
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

I didn't write the EEPROM content. This isn't needed when i'm not using EE_HANDS, right?
Right after flashing, the RGB underflow didn't work. Should it light up per default?
After checking the current keymap in the qmk repo, i saw that the light can be toggled on the ADJUST layer with RGB_TOG. I've tried that but it didn't help. Other keys (such as F3, F4) are sent fine, so i think that i'm on the right layer.
The rules.mk is still on the default values:
BOOTMAGIC_ENABLE = no      # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
CONSOLE_ENABLE = no         # Console for debug(+400)
COMMAND_ENABLE = yes        # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = no            # USB Nkey Rollover
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality on B7 by default
MIDI_ENABLE = no            # MIDI support (+2400 to 4200, depending on config)
UNICODE_ENABLE = no         # Unicode
BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no           # Audio output on port C6
FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches
RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.

SPLIT_KEYBOARD = yes

DEFAULT_FOLDER = redox/rev1

The rules.mk in the default keymap is also still on the default and enables RGBLIGHT_ENABLE
Hardware-wise, i checked that the RGB strips have +5 Power and i also checked that TX0 on the left hand master is connected to the DIN of the RGB strip in the left hand.
Do you have any suggestions how i can debug this further?

Hi,
you seem to have everything set correctly.

I didn't write the EEPROM content. This isn't needed when i'm not using EE_HANDS, right?

You're correct, it isn't needed.
I have two suggestions:

As of the latest pull request the RGB backlighing is supported by default. Compiling and unloading the default keymap without any modifications should lights the LEDs up.
Here you can find a precompiled  hex with rgb support to double check if it is a software problem.

I neither of the above work it should be a hardware problem.

Great! Glad I was able to help :smile:


[v1.73] Load MTLS status and certs info

Backport of #259 to branch v1.73
Issue reference: #253

OSSM 2.5 is released, so we can merge backports to v1.73 branch


[WIP] Refactor oovqe

Summary
This draft PR addresses #124 without following the current division of the epic into issues.
In particular, the algorithm involves 3 classes:

CustomProblem : this class implements a small modification of the ElectronicStructureProblem class (maybe should be called CustomElectronicStructureProblem) to avoid running the driver every time second_q_ops() is called. This is a temporary fix while the new design of qiskit nature's Problem classes is finalized, as it is necessary to be able to perform the orbital rotations.
OrbitalRotation: this class is an almost exact copy of the original OrbitalRotation class in Aqua. The name is a bit misleading, because it is not really responsible for rotating the orbitals, it is just a collection of helper functions and data containers for ooVQE. I have decided to keep it for the moment because it helps keep a cleaner ooVQE class, but there are high chances that there is a better way of structuring this.
OrbitalOptimizationVQE: this class extends GroundStateEigensolver and modifies the solver's default compute_min_eigenvalue and energy_evaluation functions to allow access to the Problem, and to enable the optimization of the orbital rotation parameters. After discussing it with @mrossinek, I decided to monkey-patch the VQE class instead of extending it, but it could be done either way. The orbital rotation logic is contained in the rotate_orbitals() method.

Details and comments
This implementation is incomplete, it is missing:

iterative orbital optimization
support for beta orbital rotations
rotation logic for auxiliary operators (I am not sure if it's necessary, not sure if transform_basis can be applied)
getters, setters

This PR has became stale over time due to the refactoring of the entire stack in version 0.5
As such, I think it will be easier to revamp this work from scratch once it becomes a priority. That said, similar results to what ooVQE can do, can now be achieved using the CASSCF integration provided by the https://github.com/qiskit-community/qiskit-nature-pyscf plugin.

Could you please consider to refactor OO-VQE with qiskit-nature-pyscf?

Could you please consider to refactor OO-VQE with qiskit-nature-pyscf?

Maybe my previous comment was not clear: the Qiskit Nature PySCF plugin already supports CASSCF which can achieve a similar result as the ooVQE. Thus, the addition of ooVQE does not add a lot of value right now.
As such, there is no need for further changes and you can simply use the plugin in conjunction with the CASSCF implemented by PySCF.

This PR has became stale over time due to the refactoring of the entire stack in version 0.5
As such, I think it will be easier to revamp this work from scratch once it becomes a priority. That said, similar results to what ooVQE can do, can now be achieved using the CASSCF integration provided by the https://github.com/qiskit-community/qiskit-nature-pyscf plugin.

@mrossinek When I tried to check its demo usage as well as did a search on its coding, it seems that qiskit-nature-pyscf does not do orbital rotation on its own ?
Feel free to correct me if wrong / miss anything.


Store secrets inside git projects

Provide clients possibility to save secrets encrypted inside their git repository

Current idea:

create for each Lagoon Project an OpenShift Project which has a TLS Private Key
Allow clients via the ssh wrapper and cli container to encrypt environments with that TLS private key
decrypt secret during buildtime and inject it into openshift project as regular secrets

@Schnitzel Would love to have the possibility of encrypted secrets. We don't like to store keys/secrets in plain in our git repositories. 👌🏻

https://github.com/bitnami-labs/sealed-secrets can store encrypted secrets in git, and only the controller can decrypt

I believe Hashicorp Vault implements the system described in this issue:
https://learn.hashicorp.com/vault/encryption-as-a-service/eaas-transit

I think we've got better ways to handle secrets now?


Correct 'scope' for Google OAuth2

I'm trying to get the Google OAuth2 backend working with Caddy, but I believe I am stuck on finding the right value for the scope parameter. These are what I've tried:

profile
https://www.googleapis.com/auth/plus.login
https://www.googleapis.com/auth/plus.me

but they all error with:
error="invalid google response: no email address returned."

Any thoughts on the scope I should be using?
Just to provide some feedback, I had other issues I ran into along the way, like not having the Google+ API enabled in my Google account, but I had to custom compile Caddy to get this error out of loginsrv by reading the response body and adding print statements here: https://github.com/tarent/loginsrv/blob/master/oauth2/google.go#L46
Thanks for the plugin. This seems to be exactly what I've been waiting for.

@freb Try with the email scope

Thank you @chriswessels, that worked! I guess maybe it should have been obvious by the error message.
Thanks again.

My pleasure @freb 😄


CLI - sign and test Windows exec

During the bug bash, a bug was discovered that our company's security software doesn't let the exec run when we sign only the zip. The exec wasn't signed, only the zip. We need to test if we sign the exec if this will allow the exec to run.
DOD

[ ] Ask PO if the .zip itself needs to be signed for the CLI. If so, sign the exec and the zip
[ ] Sign just the exec and then zip it and run on 3 or 4 Cyberark machines and see that both Antivirus and EPM doesn’t complain
[ ] Run on a few Windows machines (non Cyberark machines) and see that it doesn’t trigger Antivirus
[ ] Answer the following questions: what does this mean for CLI executables that need to run on Linux machines? Can we just sign the zip? Can we zip the executables on non-windows machines without corrupting the exec?
[ ] Build and sign a RHEL 8 executable and zip it and ensure it runs as well

@InbalZilberman do we need to sign the zip that contains the exe file or only the exe itself?

@sigalsax why do we need to run the exe on 3-4 machines and not 1? what are we trying to achieve?

@orenbm each machine is different so I want to make sure we don't get a false positive. If you feel confident in 2 then thats ok

Few clarifications:
OSS products we do not need to be signed as a delivery (zip).
In the CLI the need to sign does not come from product but from OS requirements. For example in MAC we were not able to run the CLI without signing it.

Hi all, I checked the following flows on 3 different Cyberark machines and want to summarize my findings:

Executable is not signed
Executable is signed
Executable is signed and zipped (zip is not signed)

Executable is not signed
This flow was to run a sanity check and to have a base case. This check is used to ensure we we actually fixed the problem.
Result - Antivirus was alarmed!
Screen Shot 2021-03-22 at 2.05.33 PM.png
Executable is signed
This flow is to make sure our signing works as expected as does not prompt anti-virus or EPM
Result: All is good!

Executable is signed and zipped (zip is not signed)
This flow is to make sure the zipping does not corrupt the executable
Result: All is good!

I also checked zipping RHEL executables on Windows machines after the signing process and this did not corrupt the RHEL executable even though the zip happened on another OS


Embeds

I was thinking what if you added embeds for the join and leave messages? Or atleast give us a way to build an embed

I would love to see this feature added


Clickable index to export preview

Create clickable index to export preview to help go through the draft.
Use  tags to create clickable links and their (invisible) targets.

Clickable index implemented.


WebShare Proxy

How to use my webshare proxies in rotate mode?

Hey! Try to use the following pattern: http://user:pass@ip:port inside config.go file
don't forget to use the http prefix

Solved. Can i help me on this problem now
Creating account...
Parsed error response: {Breached:false Error:Oops! We encountered an unexpected error. Please try again. Errors:[Oops! We encountered an unexpected error. Please try again.] ErrorCode:5025}
Finished accounts creation.

If i'm sure, i remember getting this error because of somethind related to bad proxy/bad ip error. Maybe try again more times or try a different proxy provider, I recommend using ProxyLogic

Alright! Thanks for trying to help me. Maybe one of my proxies was blocked. Without a proxy I tested and managed to create two accounts and then I think it was blocked. I will test other proxies and create them little by little. Thanks again!

Yeah, you can assure if your IP is really blocked by going manually in twitch via your browser and trying to create an account. If  you can't manage to create, it means you have been blocked.


Allow to specify hosts hash entries in config.js with properties like org.jitsi.videobridge.ofmeet.hosts.{domain|muc|bridge|focus}

… org.jitsi.videobridge.ofmeet.hosts.{domain|muc|bridge|focus}, fixes #77

Thank you for the contribution
There is a system property for the openfire xmpp domain called xmpp.domain. It might be better to use that instead of creating org.jitsi.videobridge.ofmeet.hosts.domain

As a default, we might want to use the domain name of the first available conference service (which we can lookup), instead of using a hard-coded value.

@deleolajide In our particular case we would like to still use the default xmpp.domain, but have a different value for the org.jitsi.videobridge.ofmeet.hosts.domain (config.js hosts->domain value)
The reasoning behind that is that the XMPP users are<EMAIL_ADDRESS>But the URL for jitsi will be https://jitsi.domain.com:7443/ofmeet
Reasoning is that the ips for each domain are different:

domain.com points to the ip address of the website www.domain.com
jitsi.domain.com points to a different ip (which is also pointed at with the SRV registry _xmpp-client._tcp  and _xmpp-server._tcp for domain.com)

Does this make sense, or is there another way to configure this?

@guusdk how can we lookup the "conference" and other hardcoded value?

Does this make sense

No. You have confused me. This is my understanding
ofmeet url
https://domain.com/ofmeet/myconf
openfire
openfire xmpp server = xmpp.domain.com  (SRV registry _xmpp-server._tcp)
openfire web server = https://xmpp.domain.com:7443
reverse proxy
nginx web server = https://domain.com
config.js
"hosts": {
"domain": "domain.com",
"focus": "focus.domain.com",
"muc": "conference.domain.com",
"bridge": "jitsi-videobridge.domain.com"
},

Our setup
In our setup the IP of Openfire is not the same as the principal domain, which is used for the company website. That is:

The IP of domain.com points to IP A.B.C.10
The IP of xmpp.domain.com points to IP D.E.F.20

Let me know if I have made myself clearer now, as full example, copying your example above:
ofmeet url
https://jitsi.domain.com/ofmeet/myconf
** Company website**
www.domain.com
domain.com
openfire
openfire xmpp server = xmpp.domain.com (SRV registry _xmpp-server._tcp)
openfire web server = https://xmpp.domain.com:7443
reverse proxy
nginx web server = https://jitsi.domain.com
(In our case not implemented yet, but valid option for the discussion**
config.js
"hosts": {
"domain": "jitsi.domain.com",
"focus": "focus.domain.com",
"muc": "conference.domain.com",
"bridge": "jitsi-videobridge.domain.com"
},

In my case everything worked fin, until I shared the screen, in that case we got black screens.
Changing the parameter in the config.js seemed to fix it.
But obviously, I have not the view of the full picture, so not sure if this has other effects that I am not foreseeing.
So far everything seems to be working by setting the domain in the config.js (crossing fingers)


Update GoogleTest to latest version

Import latest version of GoogleTest from upstream and adjust build accordingly.
Signed-off-by: Michael Carroll<EMAIL_ADDRESS>

Please hold, there are some more changes coming from across the stack.  I want to make sure that these all align as closely as possible once merged.


macOS and tvOS support

Fixes https://github.com/siteline/SwiftUI-Introspect/issues/8
A mix of https://github.com/siteline/SwiftUI-Introspect/pull/9 and https://github.com/siteline/SwiftUI-Introspect/pull/7

IntrospectionView has been renamed to UIKitIntrospectionView
Added AppKitIntrospectionView
Moved view extensions to ViewExtensions
Refactored Introspect to support a generic type PlatformView/ViewController
Updated podspec + package.swift for multiple platforms, and added step to lint them
Updated fastlane to test all platforms

The main deviations from https://github.com/siteline/SwiftUI-Introspect/pull/9 are:

The UIKit/AppKit introspection logic is completely separate.  It feels more maintainable to separate those entirely.
No typedef around SwiftUI => AppKit/UIKit views. This makes it very explicit what is and is not available for each platform, and introspection methods can use NSView-specific methods without having to worry about whether those methods exist in UIKit land.
Workspace has proper iOS/tvOS/macOS targets that can build and run tests on different platforms. Mostly taken from https://github.com/siteline/SwiftUI-Introspect/pull/7/files

As mentioned in #9, the following elements are not supported:

tvOS:

UISwitch
UIStepper
UISlider
UIDatePicker

macOS:

NavigationController
TabBarController
ViewController
Switch

@dreampiggy and @marcuswestin thanks a ton for your contribution! I deviated a bit from your PRs but you really did most of the work. Thanks also for your patience, I know it took a while.

👍👍👍


'Problem in dependency evancz/url-parser 2.0.1'

Hey there,
I've used url-parser in previous projects with no problem; however, I recently installed url-parser into a new project, and received this error.

Problem in dependency evancz/url-parser 2.0.1
The elm-package.json constraints of 'evancz/url-parser' are probably
letting too much stuff through. Definitely open an issue on the relevant github
repo to get this fixed and save other people from this pain.

(process-bot wants me to let you know:
I'm using elm 0.18.0,
I'm working with OS X El Capitan and Chrome Version 55.0.2883.95 (64-bit), though I have no idea why that would affect anything)
I'm not exactly sure what 'letting too much stuff through' means, maybe that the interface reveals unnecessary/interruptive functions. Anyway, I thought I ought to let you guys know!

I wonder if this is because multiple packages expose a </> or <?> operator.
Without knowing more about your elm-package.json, I don't know how I can give more hints about what might be going wrong though. Thanks for the report, and my sense is that it is a relatively specialty issue you are running into that is not inherently related to this package.


Visualization Function

Could you please define the working of Visualization function. I would visualize a custom data time series with 1440 but I cannot understand the parameters: Matrix_v, stock_number, time_steps, y_ticks. Please do elaborate on the same.
Best,
Vignesh

Hi Vignesh,
That was legacy code from the paper, which we did not end up using for the final plots. Essentially, it just plots out a m-by-n grid graph with edges corresponding to non-zero elements in the inverse covariance matrix. Stock_number refers to the individual sensor you want to plot (it is -1 for all sensors). Time steps in the window size, y_ticks are the sensors names, and file_name is the output file to save it to.
Hope that helps!


Enhancing story narrating experience by introducing audio in story books

Add Read-Aloud Functionality for Storybooks
Description: It would be highly beneficial to introduce a "read-aloud" feature that allows children to listen to storybooks being narrated in a natural, human-like voice. This would enhance the user experience, especially for younger audiences who may prefer or require auditory learning. The goal is to provide a more immersive, humanized storytelling experience.
Proposed Implementation:
Text-to-Speech Integration:
We can leverage a Text-to-Speech (TTS) API to convert the story text into speech. These services offer natural-sounding voices that can mimic human narration.
Voice Customization:
Users can choose between different voice types (e.g., gender, accent) to cater to different preferences and languages.
User Interface:
Add a "Read Aloud" button on the storybook interface, which, when clicked, triggers the TTS engine to start narrating the story.
Include basic playback controls (play, pause, stop) for better user control.
Performance Considerations:
Caching the audio output for frequently accessed books to minimize API calls and improve performance.
Ensuring the feature runs smoothly across all supported platforms.
Benefits:
Enhances accessibility for children with visual impairments or reading difficulties.
Provides a comforting, human-like storytelling experience.
Supports auditory learners and adds a layer of engagement to the story-reading process.

It could be a good idea. It's what Speak activity do so it could be interesting to have this feature on e-books.
BTW the implementation should respect two major rules of Sugarizer:

It should work offline
It should use only Free/Libre Open Source library/service.

Hey am fairly new to this open source. But I wanna work on this issue. And
I wanna take part in gsoc 25 as well. Can I work on this ?
On Wed, Oct 9, 2024, 02:15 Lionel Laské @.***> wrote:

It could be a good idea. It's what Speak activity do so it could be
interesting to have this feature on e-books.
BTW the implementation should respect two major rules of Sugarizer:

It should work offline
It should use only Free/Libre Open Source library/service.

—
Reply to this email directly, view it on GitHub
https://github.com/llaske/sugarizer/issues/1666#issuecomment-2400788186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A33RIC5SXY5KV4P5XGIYPZDZ2Q76BAVCNFSM6AAAAABPPDFIZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBQG44DQMJYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

@Monu2114 there is no need to ask permission to work on an issue, everyone can work on anything. See here.
There is no plan for GSoC 2025 today and there is plenty of time before the next GSoC.


[Wallets] Add wallet analytics

Problem solved
Enable wallet analytics for app developers
Changes made

[ ] Public API changes: analytics can be explicitely enabled/disabled on each wallet constructor
[ ] Internal API changes: fire and forget analytics call on connection

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

/release-pr

/release-pr

/release-pr

/release-pr


Hooks

I just test with -insecure, the cheat is great!
Are these hook methods undetectable?

It's open source
And there isn't anything that's undetectable

undetectABLE wow bois,

undetected*, sorry guys.

Just in case the Hooks are the last thing they going to detect. Most of the time VAC is watching for patterns in .text area. If valve would really take care of cheats they can make easy signatures of osiris in less than 4 hours. For the Hooks they detect they needed over 2 years to implement an working VAC module.

@0xE232FE Thanks for the answer, my question is why I wanted to start understanding about internals and saw this repository.


Bug: Invalid naming assumption when looking up custom mbeans (security providers)

To make progress while getting issue #946 sorted, I started loading up my ORACLE_HOME with mbeans/schemas. Regardless, for one authorizer I kept getting this:

WLSDPLY-06779: Unable to complete discover of Security Configuration Provider Proxy for ZiAuthorizationProvider: Name=ZiAuthorizationProvider, Type=Authorizer. The mbean type jar and schema jar must be in the correct locations to discover the custom provider MBean. See documentation for more information.

After several days being certain that I had made some silly error with the schema creation, how the authorizer was written or whatever, and in general poring over my code and mbean creation procedures something finally whispered 'Use the source Luke!'. So I did (and I should have done it waaay earlier), I quickly found this:
(weblogic-deploy\lib\python\wlsdeploy\tool\discover\custom_folder_helper.py, method security_provider_interface_name, line 367 in 1.9.17)

...
        if result.endswith('ProviderMBean'):
            result = mbean_interface_name
            _logger.warning('WLSDPLY-06779', str(mbean_instance), class_name=_class_name, method_name=_method_name)
...

Unfortunately, my Authorizer happened to have the actual name '.ZiAuthorizationProvider' (and hence being found as '.ZiAuthorizationProviderMBean'), and so being incorrectly flagged as a problem. Oops.
While I technically could change the name to avoid this, this particular provider is not created by me so I can't really fix it easily...so please come up with a better method of figuring out how to handle the situation of a custom mbean missing the schema...:-)
Thank you,
ken1

The value of the Provider Class Name is the value that the bit of code is looking for. If it has the unwanted part, then pass it the real interface name. The problem here is it never gets to that bit of code, it can not find the provider class name. This is because it is not finding the schema file. Can you recheck that you have the schematype jar is in the correct location? Verify the location in a comment please

Hi Carolyn,
Here is my analysis of why I believe there's a problem with the code...
We have three providers, an auditor (WlstoolsCfgAuditor), an authenticator (ZiAuthenticator) and an authorizer (ZiAuthorizer).
Here's the relevant parts of the config:

...
    <realm>
    ...
      <sec:auditor xmlns:prov="http://xmlns.oracle.com/oracleas/schema/11/adf/sampleapp/weblogic/providers" xsi:type="prov:wlstools-cfg-auditorType">
        <sec:name>WlstoolsCfgAuditor</sec:name>
      </sec:auditor>
    ...
      <sec:authentication-provider xmlns:ext="http://xmlns.oracle.com/weblogic/security/extension" xsi:type="ext:zi-authenticatorType">
        <sec:name>ZiAuthenticator</sec:name><sec:active-type>X.509</sec:active-type><sec:active-type>ZiTest</sec:active-type><sec:active-type>ZiDriftUser</sec:active-type>
        <ext:control-flag>SUFFICIENT</ext:control-flag>
      </sec:authentication-provider>
    ...
      <sec:authorizer xmlns:ext="http://xmlns.oracle.com/weblogic/security/extension" xsi:type="ext:zi-authorization-providerType">
        <sec:name>ZiAuthorizer</sec:name>
      </sec:authorizer>
    ...
    </realm>
...

Yes, the schemas and mebans are in place:;

C:\WS\domains\HG>dir ..\wls1221\Oracle_Home\wlserver\server\lib\mbeantypes ..\wls1221\Oracle_Home\oracle_common\lib\schematypes

 Volume in drive C is OSDisk         Serial number is ca6b:21ab
 Directory of  C:\WS\domains\wls1221\Oracle_Home\wlserver\server\lib\mbeantypes\*

2021-08-19  20:58             .
2021-08-19  20:58             ..
2016-04-19  09:48           9 171  commo.dtd
2021-08-13  13:44         201 201  OracleIdentityCloudIntegratorProviders.jar
2019-04-08  18:15         237 908  saml2-security-providers.jar
2018-09-17  17:13          50 007  system-password-validator-provider.jar
2021-07-16  11:54          37 764  WgCfgAuditProvider.jar
2019-07-23  16:51         396 318  wlManagementImplSource.jar
2019-07-23  16:45          83 513  wlManagementMBean.jar
2019-05-30  23:29       1 441 104  wls-security-providers.jar
2018-09-17  17:13         235 625  xacml-security-providers.jar
2021-08-16  16:47          23 591  ZiAuthenticatorProvider.jar
2021-07-07  15:49          41 515  ZiAuthorizerProvider.jar
           2 757 717 bytes in 11 files and 2 dirs    2 785 280 bytes allocated
     162 433 081 344 bytes free

 Volume in drive C is OSDisk         Serial number is ca6b:21ab
 Directory of  C:\WS\domains\wls1221\Oracle_Home\oracle_common\lib\schematypes\*

2021-08-19  20:59             .
2021-08-19  20:59             ..
2019-08-17  09:28          54 619  OracleIdentityCloudIntegratorProviders.schema.jar
2021-08-13  13:28          23 213  WgCfgAuditProvider.schema.jar
2021-08-18  15:56          24 965  ZiAuthenticatorProvider.schema.jar
2021-08-18  15:57          18 467  ZiAuthorizerProvider.schema.jar
             121 264 bytes in 4 files and 2 dirs    131 072 bytes allocated
     162 433 081 344 bytes free

If I instrument the code a little bit (just adding some print statements):

def security_provider_interface_name(mbean_instance, mbean_interface_name):
    """
    Return the name that is used to look up the custom Security Provider MBeanInfo.

    This is too tightly coupled to be in this class.
    This needs something more to differentiate Security Provider Interface which is formatted differently from other
    custom MBean Interface names.
    :param mbean_instance: instance for the current custom MBean
    :param mbean_interface_name: interface for the MBean
    :return: provider class name returned from the massaged MBean name
    """
    print "MBEAN_INSTANCE: " + str(mbean_instance)
    print "MBEAN_INTERFACE_NAME: " + mbean_interface_name
    _method_name = 'security_provider_interface_name'
    try:
        getter = getattr(mbean_instance, 'getProviderClassName')
        result = getter()
        print "RESULT: " + str(result)
        if result.endswith('ProviderMBean'):
            print "FAIL!"
            result = mbean_interface_name
            _logger.warning('WLSDPLY-06779', str(mbean_instance), class_name=_class_name, method_name=_method_name)
    except (Exception, JException):
        _logger.warning('WLSDPLY-06778', mbean_interface_name, class_name=_class_name, method_name=_method_name)
        result = mbean_interface_name
    idx = result.rfind('MBean')
    if idx > 0:
        result = result[:idx]
    return result

And then run it (logging turned off):

C:\ws\domains\wls1221\Oracle_Home\oracle_common\common\bin\wlst.cmd c:\WS\git\WDTGLU~1\wdt\WEBLOG~1.17\lib\python\discover.py -oracle_home C:\ws\domains\wls1221\Oracle_Home -java_home c:\Program\SKVJava\java8 -domain_home DAmT0 -skip_archive -model_file DAmT0.yaml

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

MBEAN_INSTANCE: Proxy for WlstoolsCfgAuditor: Name=WlstoolsCfgAuditor, Type=Auditor
MBEAN_INTERFACE_NAME: se.rsv.wlstools.audit.providers.WlstoolsCfgAuditorMBean
RESULT: se.rsv.wlstools.audit.providers.WlstoolsCfgAuditorMBean
MBEAN_INSTANCE: Proxy for ZiAuthenticator: Name=ZiAuthenticator, Type=AuthenticationProvider
MBEAN_INTERFACE_NAME: se.rsv.zi.security.authentication.ZiAuthenticatorMBean
RESULT: se.rsv.zi.security.authentication.ZiAuthenticatorMBean
MBEAN_INSTANCE: Proxy for ZiAuthorizer: Name=ZiAuthorizer, Type=Authorizer
MBEAN_INTERFACE_NAME: se.rsv.zi.security.authorization.ZiAuthorizationProviderMBean
RESULT: se.rsv.zi.security.authorization.ZiAuthorizationProviderMBean
FAIL!
####<2021-aug-19 20:52:13>

Issue Log for discoverDomain version 1.9.17 running WebLogic version <IP_ADDRESS>.0 offline mode:

VARNING Messages:

        1. WLSDPLY-06779: Unable to complete discover of Security Configuration Provider Proxy for ZiAuthorizer: Name=ZiAuthorizer, Type=Authorizer. The mbean type jar and schema jar must be in the correct locations to discover the custom provider MBean. See documentation for more information.

Total:       WARNING :     1    SEVERE :     0

discoverDomain.cmd completed successfully (exit code = 0)

AFAICT, it does reach that code and it does find it fine. The problem is just that the class name actually ends with 'ProviderMBean' and thus gets interpreted as faulty. I check my assumption by removing the authorizer mbean/schema and running the discover again:

C:\WS\domains\HG>cmd /cdiscoverDomain -oracle_home C:\ws\domains\wls1221\Oracle_Home -java_home c:\Program\SKVJava\java8 -domain_home DAmT0 -skip_archive -model_file DAmT0.yaml
JDK version is 1.8.0_301, setting JAVA_VENDOR to Sun...
JAVA_HOME = C:\Program\SKVJava\java8
WLST_EXT_CLASSPATH = c:\WS\git\WDTGLU~1\wdt\WEBLOG~1.17\lib\weblogic-deploy-core.jar
CLASSPATH = c:\WS\git\WDTGLU~1\wdt\WEBLOG~1.17\lib\weblogic-deploy-core.jar
WLST_PROPERTIES = -Dcom.oracle.cie.script.throwException=true -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployCustomizeLoggingConfig
C:\ws\domains\wls1221\Oracle_Home\oracle_common\common\bin\wlst.cmd c:\WS\git\WDTGLU~1\wdt\WEBLOG~1.17\lib\python\discover.py -oracle_home C:\ws\domains\wls1221\Oracle_Home -java_home c:\Program\SKVJava\java8 -domain_home DAmT0 -skip_archive -model_file DAmT0.yaml

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

MBEAN_INSTANCE: Proxy for WlstoolsCfgAuditor: Name=WlstoolsCfgAuditor, Type=Auditor
MBEAN_INTERFACE_NAME: se.rsv.wlstools.audit.providers.WlstoolsCfgAuditorMBean
RESULT: se.rsv.wlstools.audit.providers.WlstoolsCfgAuditorMBean
MBEAN_INSTANCE: Proxy for ZiAuthenticator: Name=ZiAuthenticator, Type=AuthenticationProvider
MBEAN_INTERFACE_NAME: se.rsv.zi.security.authentication.ZiAuthenticatorMBean
RESULT: se.rsv.zi.security.authentication.ZiAuthenticatorMBean
MBEAN_INSTANCE: Proxy for ZiAuthorizer: Name=ZiAuthorizer, Type=Authorizer
MBEAN_INTERFACE_NAME: weblogic.management.security.authorization.AuthorizerMBean
RESULT: weblogic.management.security.ProviderMBean
FAIL!
####<2021-aug-19 21:06:19>

Issue Log for discoverDomain version 1.9.17 running WebLogic version <IP_ADDRESS>.0 offline mode:

VARNING Messages:

        1. WLSDPLY-06779: Unable to complete discover of Security Configuration Provider Proxy for ZiAuthorizer: Name=ZiAuthorizer, Type=Authorizer. The mbean type jar and schema jar must be in the correct locations to discover the custom provider MBean. See documentation for more information.

Total:       WARNING :     1    SEVERE :     0

discoverDomain.cmd completed successfully (exit code = 0)

As expected it now doesn't find that class name and instead returns the generic 'weblogic.management.security.ProviderMBean' as the result.
I obviously can't tell if there are other wrinkles here, but should the test be "if result.endswith('.ProviderMBean'):" instead (note the extra period in front. Or perhaps the full name as an indicator.
Thoughts?

Thanks for your indepth analysis. From what you state, it works but has the warning message. I would rather start with the warning message. Trying to find the interface name is tricky enough. But would you be willing to try a one off without the message and see if what you believe should be in the config.xml when you run createDomain?

Hi,
I'm not entirely sure I'm clear on what you mean exactly - 'start with the warning message', 'try without the message'...?
But yes, regardless of the warning, the resulting yaml seems to be correct, and also, it seems to generate the correct stuff with createDomain (this effort spawned issue #970). I say 'seems' since the provider has no attributes or so, so technically I have no idea if there would've been a problem down the road if that were so.
Generally though, I assume the warning is supposedly there for a reason, but in this case it is unarguably detecting an error (well, warning) where it shouldn't. It does take an alternate code path to replace result with the original interface name for some reason...would this give problems later in the code, e.g. if there actually was attributes and whatnot for the provider. So I'm confused - the if statement, as it is, is plainly wrong to my eyes. Maybe there's some weird problem with the provider mbean/schema that could be the root cause...?
Maybe I am completely misunderstanding something here?

I mainly wanted to see if the resulting config.xml after a create domain is correct.

Ok!
If it helps I'm attaching two zips with src and build stuff and prebuilt sample 'fake' authorizers (mbean+schema), basically identical and functional (they say yes to anything ;-), and also added some attributes, just to verify that that works too. Add to mbeantypes and schematypes dir in ORACLE_HOME and they should be deployable and attributes editable.
I created the most default domain possible with the graphical config, started it and deployed them, restarted and edited some attribs. Stopped it, and do a discover. As expected, the FakeAuthorizerProvider produces a warning due to the naming during discovery, but yaml looks good, including attribs. A createDomain also seems to do the right thing with the yaml.
So it merely remains to figure out how to best avoid the the WLSDPLY-06779 warning I guess...
FakeZiAuthorization.zip
FakeZiAuthorizationProvider.zip

Closing, will address documentation recommendations in #946


Fix/refactor videomode folder

Rename the module called video_mode into live_mode to avoid confusion with the video mode tool used to tune up quantum dots devices.
We can still debate on the name if you think that another one would be more relevant for this tool which is used for updating parameters from a QUA program while the program is running in an asynchronous manner.

[ ] Deprecation warnings when trying to import qualang_tools.video_mode

@nulinspiratie What I had in mind was this
import warnings
warnings.warn("the video_mode module is deprecated, please import live_mode instead", DeprecationWarning,
              stacklevel=0)
from qualang_tools.live_mode.livemode import LiveMode, ParameterTable

__all__ = ["LiveMode", "ParameterTable"]

But

the warning doesn't show up when calling from qualang_tools.video_mode import *
The user will still get error when running his previous scripts that most likely use from qualang_tools.video_mode import VideoMode, ParameterTable

@TheoLaudatQM looks like a nice solution! All good from my end

@nulinspiratie What I had in mind was this
import warnings
warnings.warn("the video_mode module is deprecated, please import live_mode instead", DeprecationWarning,
              stacklevel=0)
from qualang_tools.live_mode.livemode import LiveMode, ParameterTable

__all__ = ["LiveMode", "ParameterTable"]

But
1. the warning doesn't show up when calling `from qualang_tools.video_mode import *`

2. The user will still get error when running his previous scripts that most likely use `from qualang_tools.video_mode import VideoMode, ParameterTable`

Not sure about 1, I am 99% it is possible to display a warning in this case.
This can be solved by doing:
from qualang_tools.live_mode.livemode import LiveMode as VideoMode.
We can merge if we're okay with the breaking changes and the lack of backward compatibility. Otherwise, we can make it compatible.

Hmm, if we want to maintain backwards compatibility, we could also opt for the following:
video_mode/videomode.py
from qualang_tools.live_mode import LiveMode
import warnings

class VideoMode(LiveMode):
    def __init__(self, qm: QuantumMachine, parameters: Union[Dict, ParameterTable]):
        warnings.warn("the video_mode module is deprecated, please import live_mode instead", DeprecationWarning,
              stacklevel=0)
        super().__init__(self, qm, parameters)

We would then need to rename the new VideoMode to something else, maybe VideoMode2D?


Patch from PUP-6366

trusted facts with apache/nginx and puppetmaster unicorn
running unicorn behind nginx or apache reverse proxy, the
$trusted facts are not available to puppet.
The supported the +ExportCertData from Apache, only works
with Passenger module, but not with thin rack behind reverse
proxy, and esp. not with nginx.
Therefore I added an additionalheader that gets passed to unicorn: X-SSL-Client-Cert.
However, that header is sent as single line from Apache to unicorn,
and not as valid PEM encoded certificate. Therefore the gsub!
manipulations to restore a valid PEM certificate again.
To make use of it with Apache add this to the vhost:
RequestHeader set X-SSL-Client-Cert %{SSL_CLIENT_CERT}e
With nginx, there is a bit more trouble. Nginx has $ssl_client_cert
variable aswell, but nginx passes that variable on as multi-line header. Doh!
Unicorn doesn't like that at all.
To make it work with nginx, you need lua in nginx, then you need
something like this in your vhost:
location / {
set_by_lua $client_cert "return ngx.var.ssl_client_raw_cert:gsub('\n',' ')";
proxy_set_header X-SSL-Client-Cert $client_cert;
}

CLA signed by all contributors.

Closing this one in favor of #5170 which has a reformatted commit message


Show associative arrays in table view

It would be useful if associative arrays can be shown like plain arrays in table view also.

If they have the same keys, they should be. Do you have an example that isn't?


jRuby build is failing with jRuby 9.3

Description
bundle exec rspec

Is resulting into a failing tests only with jruby 9.3: spec/cucumber/glue/step_definition_spec.rb:92
When executing only that test, or spec file, or even all the spec in spec/cucumber/glue, the test is properly passing.
I am running rspec --bisect at the moment. Still waiting for it to finish.
Type of change
Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

Please add an entry to the relevant section of CHANGELOG.md as part of this pull request.
Checklist:
Your PR is ready for review once the following checklist is
complete. You can also add some checks if you want to.

[ ] Tests have been added for any changes to behaviour of the code
[ ] New and existing tests are passing locally and on CI
[ ] bundle exec rubocop reports no offenses
[ ] RDoc comments have been updated
[ ] CHANGELOG.md has been updated

bisect has found the following minimal reproduction command:
bundle exec rspec './spec/cucumber/formatter/junit_spec.rb[1:4:3:5:1,1:4:3:5:2,1:4:3:6:1:1,1:4:3:6:2:1,1:4:3:6:3:1,1:4:3:6:4:1,1:5:1:1:1,1:5:1:1:2,1:5:1:1:3,1:5:1:1:4,1:5:1:1:5,1:5:1:1:6,1:5:1:1:7]' './spec/cucumber/formatter/pretty_spec.rb[1:1:1:9:1,1:1:1:10:1,1:5:3:1,1:5:4:1]' './spec/cucumber/formatter/progress_spec.rb[1:1:4:1:1,1:1:4:2:1,1:1:4:3:1]' './spec/cucumber/formatter/query/step_definitions_by_test_step_spec.rb[1:1:1:1:1,1:1:1:2:2:1,1:1:2:1:1,1:1:2:2:1]' './spec/cucumber/glue/proto_world_spec.rb[1:2:1:1,1:2:2:1,1:2:3:1,1:2:4:1,1:3:1:1,1:3:1:2]' './spec/cucumber/glue/step_definition_spec.rb[1:1,1:2,1:3:1,1:3:2,1:3:3,1:3:4,1:4,1:5,1:6,1:7,1:8,1:9,1:10,1:13,1:14]'


action not run sometimes

I have problem regarding match actions not being run despite the fact that the matches must be made. Everything is parsed as expected.
This is quite likely a bug in my understanding of how this should work but after many hours I don't see it.
The following grammar produces a parser that matches the simple sequences, "A" or "AB" or "C" and rejects all else.   The action routine should return an object but but for the "A" and "AB" cases an array is returned.
start
  = input

input
  = a:one b:two?
  / c:three
  {
    console.log("Rule: input");
    if (typeof a === "undefined") {a = null;}
    if (typeof b === "undefined") {b = null;}
    if (typeof c === "undefined") {c = null;}
    return {a:a, b:b, c:c}
  }

one
  = "A"

two
  = "B"

three
  = "C"

Results:
"A" produces [ 'A', null ]
"AB" produces [ 'A', 'B' ]
"C" produces { a: null, b: null, c: 'C' }
This is NOT a peg online issue.

This is because action assotiated only with three alternative, not all input rule. I'd like, you need transform it to form:
input
  = a:one b:two? { return {a: a, b: b, c: null}; }
  / c:three { return {a: null, b: null, c: c}; }
  ;
one = "A";
two = "B";
three = "C";

Gosh, thank you.
Slaps head, hides in shame. So obvious when you say it. I just needed to look at the docs correctly...
Sorry for wasting you time.


Add candyshop workflow

@snehaheda I added you as a reviewer for context, some small changes have been done to the code in order to be able to deploy to AWS, please take a look once you get a chance. Thank you


Update Stocks to latest iOS project template

Partial fix to #8062.
AppDelegate.m example boilerplate intentionally left in for anyone who wants to experiment/copy-paste.
@chinmaygarde


Feature: Android native crash support

Questions:
(1) How should native mobile crashes be reported by an OpenTelemetry mobile instrumenter/agent... As span events, or something else?
The current, non-native, uncaught exception message/stacktrace/type is put in a span event.
Additional considerations exist (some are listed below) but, for now, I am interested in your thoughts on the above.

(2) How should native crashes be obtained?
e.g. what low-level crash handlers do we need to register
(3) Symbolication considerations
OK, this is not really a question :) just another aspect to be considered

The data model for this is being actively worked on in the semantic conventions: https://github.com/open-telemetry/semantic-conventions/pull/362
It seems likely that we will land on otel events as the telemetry signal, and there will be an agreed-upon semantic convention that describes the shape of those events.
For (2) I think more ideas here is great. For symbolication (3), the client sig has discussed some ways of helping support this, primarily around identifying unique builds in order to associate with a mapping file.

Thanks Jason, this helps.
Once the data model settles, will this (Android) repository be updated to report the uncaught Android exceptions as Log Record Events instead of (the current) Span Events?

Once the data model settles, will this (Android) repository be updated to report the uncaught Android exceptions as Log Record Events instead of (the current) Span Events?

Yes, that would be the intent.

I forgot to ask: Was any consideration given to model the mobile crashes using the upcoming profiles signal?
Not sure if it's a good fit. Their common aspect is the list of stack traces.


[App Configuration] Update the LIST view to allow filtering of resource data sets for display using FHIR Path expressions

Context

We would like to separate into different cards based on a code or any other Task attribute.
Currently, The LIST resources can only show the whole list of the resources specified on the base resource attribute.

Feature Implementation

[ ] Update the LIST configs to add a provision to define FHIR path expressions.
[ ] Filter all the base resources defined on the LIST view config based on the FHIR expressions.

Acceptance criteria

[ ]  Ability to filter the base resource specified on the LIST view.
[ ] The ability to create multiple lists for different thing on the app

LOE
This issue should be complete by Monday EOD

@ellykits What do you think of the Data Query usage?

{"dataQueries":[{"id":"householdQueryByType","filterType":"TOKEN","key":"type","valueType":"CODING","valueCoding":{"system":"http://hl7.org/fhir/group-type","code":"person"}},{"id":"householdQueryByCode","filterType":"TOKEN","key":"code","valueType":"CODEABLECONCEPT","valueCoding":{"system":"https://www.snomed.org","code":"35359004"}}]}

Here is an example of what I mean by Data Queries.

So currently the LIST view is using the already loaded resources. Applying data queries would mean querying the data from the database and again re-running the rules which will impact performance a bit.

Can we discuss this separately in meeting if you do not mind.

I will provide a solution by Monday,13th Feb EOD

https://user-images.githubusercontent.com/4817531/218407086-49d0231e-1d8f-41c7-ab10-0cdd2011327f.mp4


Implement removal of all of an ingredient when quantity is not specified

Did this by adding a DummyIngredientQuantity static class that allows subtraction of all of an ingredient quantity, regardless of the original quantity's value or unit. Updated the implementation of ingredient removal in UniqueIngredientList, and also updated the command parsers to use this dummy ingredient quantity when no quantity is specified.
It seems like a bit of a hack and I don't feel super comfortable with this, but I guess it follows from the restriction of quantities to only positive values. Does anyone have a better idea for how to implement this?

Did this by adding a DummyIngredientQuantity static class that allows subtraction of all of an ingredient quantity, regardless of the original quantity's value or unit. Updated the implementation of ingredient removal in UniqueIngredientList, and also updated the command parsers to use this dummy ingredient quantity when no quantity is specified.
It seems like a bit of a hack and I don't feel super comfortable with this, but I guess it follows from the restriction of quantities to only positive values. Does anyone have a better idea for how to implement this?

perhaps we can modify it to inventory remove ingredient ALL i/INGREDIENT? though that doesn't seem like the most user-friendly thing to do


Problem with the track file

I am trying to use a gff file at the track file, however I get the following error:
Traceback (most recent call last):
File "/home/bogaerts/miniconda3/bin/plotsr", line 4, in
import('pkg_resources').run_script('plotsr==0.5.3', 'plotsr')
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 662, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 1466, in run_script
exec(script_code, namespace, namespace)
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/EGG-INFO/scripts/plotsr", line 6, in
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/main.py", line 55, in main
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/plotsr.py", line 257, in plotsr
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 723, in readtrack
ValueError: Incomplete line in track file.
File path and name are necessary columns, tags is optional column
However I used the track file as in the example (but in this case with only one line for the gff). Do you have any idea about what could be happening?
Thank you in advance.

Could you please ensure that the columns in the tracks.txt file are separated by tabs and not spaces? Also, remove any empty line. I guess that should resolve this.

Thank you very much/ Actually there were an empty line (sorry for the inconveniences).
However, now I get a new error:
track - WARNING - Reading GFF file Dtol_annotation_genes_polished.gff. Overlapping transcripts would be plotted as such without any filtering.
Traceback (most recent call last):
File "/home/bogaerts/miniconda3/bin/plotsr", line 4, in
import('pkg_resources').run_script('plotsr==0.5.3', 'plotsr')
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 662, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 1466, in run_script
exec(script_code, namespace, namespace)
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/EGG-INFO/scripts/plotsr", line 6, in
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/main.py", line 55, in main
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/plotsr.py", line 257, in plotsr
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 729, in readtrack
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 699, in readdata
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 688, in _readgff
AttributeError: 'NoneType' object has no attribute 'keys'
Thank you in advance.

As the original issue is resolved I will close this. Have started another thread for the second issue.


Range slider with custom data values

Hello, is there any possibility to add support array custom data in rage values like this example in the documentation page
https://nightcatsama.github.io/vue-slider-component/#/basics/simple?hash=adsorb

Use the data parameter to customize the data.

@NightCatSama Thank you. Excellent. I could do it!


Fix coroutine scoping of Redwood Treehouse UI

Ensure that Zipline resources aren't closed until the UI's coroutine scope job completes.
This prevents a queued-up job from resuming(?) and crashing from a ZiplineException instead of gracefully handling a CancellationException when trying to collect a ZiplineService-backed flow.

[ ] CHANGELOG.md's "Unreleased" section has been updated, if applicable.

Also if you're fixing something please add a change log entry to accompany it.


chore: Experimenting with stepwise ACVM solver [DO NOT MERGE]

Description

Problem*

Resolves
Summary*

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I'm getting failures on the program
use dep::std;

fn main(x: Field, y: Field, salt: Field, out_x: Field, out_y: Field ) {
    // let res = std::hash::pedersen([x, y]);
    // assert(res[0] == out_x);
    // assert(res[1] == out_y);

    let raw_data = [x,y];
    let mut state = 0;
    for i in 0..2 {
        state = state * 8 + raw_data[i];
    }
    state += salt;
    let hash = std::hash::pedersen([state]);
    // assert(std::hash::pedersen([43])[0] == hash[0]);
}

Which results in the ACIR (pre/post optimization)
Unoptimised ACIR for main:
current witness index : 8
public parameters indices : []
return value indices : []
EXPR [ (8, _1) (1, _2) (1, _3) (-1, _6) 0 ]
BLACKBOX::PEDERSEN [(_6, num_bits: 254)] [ _7, _8] domain_separator: 0

Compiled ACIR for main:
current witness index : 11
public parameters indices : []
return value indices : []
EXPR [ (1, _3) (-1, _6) (-1, _10) 0 ]
EXPR [ (8, _1) (1, _2) (1, _10) 0 ]
BLACKBOX::PEDERSEN [(_6, num_bits: 254)] [ _7, _8] domain_separator: 0

Looks like it's running into the issue of not knowing how to sort the arithmetic opcodes. I purposefully removed this sorting here as it results in the bad outcome as described in https://github.com/noir-lang/acvm/pull/419

@TomAFrench Is this still a [DO NOT MERGE] PR or will this be used for introducing stepwise execution?

I'll probably repurpose this PR but for now it's a scratch branch while I get dynamic arrays working.

Closing in favour of #2051


Frequal.LiveSpy version 2.10

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

 It look weird. I have Java 8 already installed on the computer. But why the setup still unable to start?

Is a higher level of Java needed?

 It look weird. I have Java 8 already installed on the computer. But why the setup still unable to start?

Is a higher version of Java needed?

It seem the setup say Java 1.5.0

Dependencies are now supported in the 1.6 client. If you could please submit a new manifest for the latest version of the package, it would be greatly appreciated!

Hmmm, most of the Java is greater than 1.5.0

/AzurePipelines run

Automatic Validation ended with:

(Automated response - build 525.)

This package doesn't appear to like Oracle.JavaRuntimeEnvironment and Java 8. Which Java package should be used?


Change Weather to Night in 0.8.4

Hello
I am working with CARLA release 0.8.4
Is there a way to have a night weather ? Is there a place where I can add or change weather settings ?

Yes, look this https://github.com/carla-simulator/carla/issues/525

@TheNihilisticRobot @nsubiron any help here please ?

@mhusseinsh He, sorry for the late response: https://carla.readthedocs.io/en/0.8.4/carla_settings/

@Romanenko-Serhii No problem, thank you
Sorry I don't get your point, what does this has to do with my issue ? I want to achieve a night mode, but I am directly using the 0.8.4 release, which is already built (so I have the executable file directly), this means, that I don't have Config files and I cannot do the solution which is done here #525

@mhusseinsh Yes, sorry I forget to add, that you need use full version of the 0.8.4 release, not prebuilt.

@Romanenko-Serhii so there is no way around at all to use the prebuilt ?

@mhusseinsh I think no because you need to make configuration of the server.

Not sure how meaningful night mode would be without dynamic headlights, street lights and lighting in the buildings.

@analog-cbarber I am talking about night mode as sun wise and sky color wise
No problem with street lights and lighting in buildings or cars, I want a normal night mode like what it is in real life, dark sky and no sun
like these examples

Those examples clearly have dynamic lights and have building lighting, so I don't understand what you are asking for. If you turn off all sky lighting you will be driving around in the dark without lights. That's my point. Unless you also add support for dynamic headlights, street lights and modify the building meshes to show window lighting, you will not get anything like what you see above, and none of those will happen magically by playing with the weather settings.

@analog-cbarber so in CARLA, there is no option to turn off sky lighting, and turn on street lights or car lights ? this never happens ?

I don't believe there are any lights to turn on. You would have to create dynamic lights for every vehicle, and I don't believe they have done that yet, but you should go ahead and play with the weather settings and see if it gives you something acceptable.

@analog-cbarber yes I will try anyways, thanks
@Romanenko-Serhii when I add a new weather in the weather config file, so this for example will be weatherID 16, do I need to rebuild again and create a new executable file ? or it will automatically be activated ?


Incorrect price showing for configurable product on front end

Bug report
Title
Incorrect price showing for configurable product on front end
Issue Description:
showing as low as $0.0
Preconditions
1. framework Version. Master

Steps to reproduce
1. step1- check configurable product on front end

Expected result:
should show lowest amount rather than 0
Actual result
https://prnt.sc/tmp65s

Fixed in master


load_current_resource for systemd_unit more efficiently

Signed-off-by: Joshua Miller<EMAIL_ADDRESS>Description
Refactors how load_current_resource gathers state for systemd_unit resources by requesting all pieces of state in a single call and memoizing the results.
The only material change here is in how masked-runtime is handled; previously it was reported as 'masked', but I think that's incorrect. Asserting whether a unit is masked should be against the persistent system state (not volatile). The remaining systemd_unit resource states are all the same.
Performance outcomes are demonstrated with a naive loop, against a system where no such services are running:
(1..100).each do |x|
  systemd_unit "josh#{x}.service" do
    action [:stop, :disable]
  end
end

Previously this takes ~26s; with this patch, ~6s.  More actions (like :delete) compound this even more.
Related Issue
https://github.com/chef/chef/issues/10921
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] All commits have been signed-off for [the Developer Certificate of Origin]

Related PR : #10776


Window flashes with default background color when shown initially

On Mac OS X (haven't checked other platforms), the simplest application showing a window filled with some color will flash the default background color for a split second. This is unnoticeable with a light theme, but is very annoying with a dark theme.
https://user-images.githubusercontent.com/5230206/152587050-d3ad7afe-2a26-4e06-9db0-376d46b60644.mp4
fun main() = singleWindowApplication(
    state = WindowState(
        width = 800.dp,
        height = 600.dp,
    )
) {
    Surface(
        color = Color.Black,
        modifier = Modifier.fillMaxSize()
    ){ }
}

This happens because JFrame sets its background in frameInit to UIManager.getColor("control").
Even setting
window.background = java.awt.Color(0, 0, 0)

inside the singleWindowApplication content doesn't help because it seems the window has drawn itself by the time it's called.
What does help is calling
UIManager.put("control", java.awt.Color(0, 0, 0))

before the call to singleWindowApplication.

Running into the same issue, on macOS you can indeed fix it using the UIManager workaround. However, on Windows it is still an issue. I have not found a fix for Windows yet.
It appears that the window is shown before the Compose UI code, which seems unexpected to me. Maybe the window should be hidden until the first frame?

In 1.1.0 we draw the first frame offscreen.
If the application has too long start after this change, we can measure the first frame, and move the heavy logic to background or to the next frames. We can measure the first frame with this snippet:
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.ui.window.singleWindowApplication

private var time by mutableStateOf(System.nanoTime())
private var frame by mutableStateOf(0)

fun main() = singleWindowApplication {
    if (frame == 0) {
        frame++
    } else if (frame == 1) {
        val duration = ((System.nanoTime() - time) / 1E6).toLong()
        println("First frame millis: $duration")
    }
}

Looks like we have a regression here. This happens maybe 25% of the times the app is launched:
fun main() = application {
    val windowState = rememberWindowState(size = DpSize.Unspecified)
    Window(onCloseRequest = ::exitApplication,
        state = windowState,
    ) {
        Box(modifier = Modifier.background(Color.DarkGray).size(300.dp)) {
            Text("BOX", modifier = Modifier.align(Alignment.Center))
        }
    }
}

https://user-images.githubusercontent.com/5230206/217181187-2fe6e34e-6f38-4a3d-834f-6ab13e646add.mp4
Compose 1.3.0
Mac OS X 13.1
Kotlin 1.8.0

The problem seems to be in Skiko, not Compose.

Actually, maybe not. The reproducer I was trying to get in Skiko was doing it wrong.

Ok, the culprit here is size = DpSize.Unspecified. When using a specific size the background color doesn't flash.
I'm guessing that it happens because it requires an extra layout pass to determine the composition size, so the window is drawn before the composition is drawn at its final size.

so the window is drawn before the composition is drawn at its final size.

To avoid flickering, we draw the first frame before isVisible = true.
When we don't specify the size, we do one additional layout pass to know the size of the content.
Maybe we do it after we draw the first frame.
So the fix will be to move additional layout pass before drawing the first frame.

I figured out why it's happening...

Note that the problem still exists when opening a Maximized window. Fixing that too clashes with being able to use an Unspecified "unmaximized" size for the window to go back to.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.