update passwords and schema for splited keys

This is an addition I did to bitgo-cli to allow change passwords and schema (m of n) of previosuly created splited keys. This is important to be able to handle grant/revoke access to any user-created key.
It only changes 1 key at a time to avoid mistakes. It reads it form a json generated split key file, then uses 'genSplitKey' which i modified to accept an argument 'key' in 'params' and makes the split with that key, if not 'key' 'param' is specified calling 'getSplitKey', a new key is generated.
$ bitgo help updatesplitkey
usage: bitgo updatesplitkey [-h] [-m M] [-n N] [-f FILE] [-k KEY]
Optional arguments:
-h, --help            Show this help message and exit.
-m M                  new number of shares required to reconstruct a key
-n N                  new total number of shares per key
-f FILE, --file FILE  the input file (JSON format)
-k KEY, --key KEY     key index to update

Hi, i did not see the last message that @bpdavenport wrote here, and don't understand where that ability should be used. please explain me a little bit and i will gladly do it.
Also, this PR now includes another feature: 'createtxfromjson' which is  explained in the README.md
Please let me know what you comsider should be completed/changed to merge this changes.


[Bug]: Delay Model Serving Annotation until First Server

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Today, we create every namespace with the expectation of Model Serving.
We should delay the adding of the modelmesh-enabled label until we reach the point of Model Server creation.
This can create scale issues, as this NetworkPolicy relies on this label to define network flow rules:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  labels: ...
  name: etcd
  namespace: redhat-ods-applications
spec:
  ingress:
  - from:
    - namespaceSelector:
        matchLabels:
          modelmesh-enabled: "true"
    ports:
    - port: 2379
      protocol: TCP
  podSelector:
    matchLabels:
      app: model-mesh
      app.kubernetes.io/part-of: model-mesh
      component: model-mesh-etcd
  policyTypes:
  - Ingress

Expected Behavior
Delay labelling of project until we need it.
Steps To Reproduce

Create Project
View Labels on Project

Workaround (if any)
No response
What browsers are you seeing the problem on?
No response
Open Data Hub Version
Dashboard: v2.7.0

Anything else
No response

To add more context, we are adding that label in case it's missing when creating a new model server, the outcome here would be removing the label creation when creating a project.


[Question]: How can you limit projects for TestCurrrent

Question
How can I limit which projects I test, when running TestCurrent, in multi-project repo setting?
Currently we have two projects within our repo (one for base, and one for NL). We do maintain autotests only for the base version, thus we would like to skip NL version. How can we do that?
p.s. we are doing it from cost perspective, since every billable minute matters in Github :)

I would assume that you can add a projects setting to .github/Test Current.settings.json and include the projects you want to build.

Remove the appFolders and testFolders and instead insert:
"projects": [ "SRS.base" ]

My guess that this should work.

appFolders and testFolders are project settings.
Remove them and add projects
"projects": ["SRS.base"]

that should work.
You can also use conditionalSettings

Your suggest code changes did work and yes, it is not documented ;)
Thank you @freddydk

Using this issue to fix the docs


Expose the transport in LedgerContextSigner

In the constructor of LedgerContextSigner, we should probably expose the transport as public, or as private and proxy certain method to the transports.
As mentioned in https://github.com/LedgerHQ/ledgerjs/tree/master/packages/hw-transport-webusb of the two use cases :
1- Briefly open/do an operation (get the address, sign a transaction/close, each time
2- Keep it open, but listen for webusb events (device unplugged), and the user might want to "close" his wallet in the GUI and reopen it later
We currently cannot do either of those usecases since the transport is not exposed, so we cannot call close on it and we cannot listen to events
I propose simply adding transport to the constructor and making it public for now, but happy to discuss a more advanced API
https://github.com/oasisprotocol/oasis-sdk/blob/c6cb460c61f1ac75115dbc177896b220ccef3032/client-sdk/ts-web/signer-ledger/src/index.ts#L28-L58

I think what I'd like is to have fromWebUSB take either transport or app as an input. Thanks for posting the use cases. Can you work around this by replicating the internals of fromWebUSB for now?


failed to login with 2 factor authentication

It seems like IB has changed login and require you to authenticate with 2 factor auth. Is there a way to handle this with iBeam currently? Can you use a certificate?
I am using rc3 version
9 08:08:26,539|E| Timeout reached when waiting for authentication. The website seems to not be loaded correctly. Consider increasing IBEAM_PAGE_LOAD_TIMEOUT.
Website URL: https://localhost:5000/sso/Login?forwardTo=22&RL=1&ip2loc=on
Exception:
File "/srv/ibeam/ibeam_starter.py", line 172, in
success, shutdown, status = client.start_and_authenticate()
File "/srv/ibeam/src/gateway_client.py", line 62, in start_and_authenticate
success, shutdown, status = self.strategy_handler.try_authenticating(request_retries=request_retries)
File "/srv/ibeam/src/handlers/strategy_handler.py", line 85, in try_authenticating
return self._authentication_strategy_B(status, request_retries)
File "/srv/ibeam/src/handlers/strategy_handler.py", line 140, in _authentication_strategy_B
return self._log_in(status)
File "/srv/ibeam/src/handlers/strategy_handler.py", line 151, in _log_in
success, shutdown = self.login_handler.login()
File "/srv/ibeam/src/handlers/login_handler.py", line 466, in login
self.handle_timeout_exception(e, targets, driver, website_version, self.route_auth, self.base_url, self.outputs_dir)
File "/srv/ibeam/src/handlers/login_handler.py", line 447, in login
self.attempt(targets, wait_and_identify_trigger, driver)
File "/srv/ibeam/src/handlers/login_handler.py", line 371, in attempt
trigger, target = self.step_login(targets, wait_and_identify_trigger, driver, self.secrets_handler.account, self.secrets_handler.password, self.secrets_handler.key, self.presubmit_buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/ibeam/src/handlers/login_handler.py", line 188, in step_login
trigger, target = wait_and_identify_trigger(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/ibeam/src/handlers/login_handler.py", line 67, in _wait_and_identify_trigger
trigger = WebDriverWait(driver, timeout).until(any_of(*expected_conditions))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/selenium/webdriver/support/wait.py", line 95, in until
raise TimeoutException(message, screen, stacktrace)
<class 'selenium.common.exceptions.TimeoutException'> Message:
2024-07-09 08:08:26,540|I| Cleaning up the resources. Display: <pyvirtualdisplay.display.Display object at 0x7fd7a9034110> | Driver: <selenium.webdriver.chrome.webdriver.WebDriver (session="44d0256013bf1f9cc428a2af416f8ddc")>
2024-07-09 08:08:26,554|I| Logging in failed
2024-07-09 08:08:26,556|I| Starting maintenance with interval 60 seconds

Found a way to do authentication with the app. Though extremely cumbersome. But I guess this is a limitation of IB?

And just like that data started coming in. Just noting that this was a timeout and not a 429.

Hey @joachimtheca unfortunately that is the limitation of IBKR at the moment. When you sign up with them you can opt for SMS authentication (although it is currently being deprecated from what I've learned), and use methods described in WiKi to automate it: https://github.com/Voyz/ibeam/wiki/Two-Factor-Authentication
Other than that, if you're an institution you can opt for OAuth. Alternatively, wait for the new 'WebApi' to be released, which should circumvent this issue altogether.


Solution for composition?

Any way we can reuse styles that rely on props/state?
const { useClassNames } = createUseClassNames()((props) => ({
  link: {
    ...
    '&:hover':  {
      extend: 'activeLink', // JSS solution
    },
  },
  activeLink: {
    // some CSS that relies on props
  },
}));

Sorry for late reply @awdyson ,
Sure you can it's a very important requirement!
type Props ={
    size: "big" | "small";
};

const { useClassNames } = createUseClassNames<Props & { color: "red" | "blue" }>()(
    (theme, { size, color }) => ({
        link: {
        ...
        '&:hover':  {
          extend: 'activeLink', // JSS solution
        },
      },
      activeLink: {
          // Here you have access to "size" from Props and color from internal state
      },
}));

function MyComponent(props: Props){

    const [ color, setColor ] = useState<"red" | "blue">("red");

    const { classNames } = useClassNames({ ...props, color });

   //...

}

Best regard

Sorry, I should have been more clear.
I'm looking to share styling between classes, within the context of a single createUseClassNames call.
In the example above, I want a link's :hover state to look the same as its react router activeClassName state.
With JSS, there exists the extend plugin: https://cssinjs.org/jss-plugin-extend/
The best plan I've come up with for this would be an external function that's called with theme/props.
So, to rework the example above:
const helper = (theme, props) => ({
  // shared style that relies on theme and/or props
});

const { useClassNames } = createUseClassNames<Props>()((theme, props) => ({
  link: {
    // other styles
    '&:hover':  helper(theme, props),
  },
  activeLink: helper(theme, props),
}));

Hopefully this makes sense.
Also, this is definitely more of a nice to have, considering there's a workaround.
I figured it was in-line with your projects goals though.

@awdyson This is actually a very good point, we need to support that.
Very easy to implement but hard to type.
I will try to think of something...

I will, soon, implement something like that:
const { useClassNames, ext: { getLinkCss } } = createUseClassNames<Props>()(
    (theme, props) => ({
        "link": {
            // other styles
            '&:hover':  helper(theme, props),
        },
        "activeLink": {
           ...getLinkCss(theme, props),
           //style specific to activeLink
        }
    })
);

//getLinkCss can be exported for reuse outside of the file.
export { getLinkCss };

We'll get correct typing of getLinkCss, getLinkCss using template literal types.

In the end I figured out that there is no need for a dedicated API.
Composition documentation

Haven't been able to work on this project in a while, so I'm catching up on a lot of updates.
Your solution looks great -- and is the sort of thing I couldn't do well in JSS+MUI for a reason I can't remember.
Also, the method and property names look a lot cleaner these days.
Appreciate the great work 😃


Have a better 'loading' screen for users when initially loading

When a user is initially loaded, the Repositories number is shown as NaN and the other counters don't even show up. They are later shifted down when the number is fetched.

We could probably have a &nbsp to avoid the shifting, and finding where the NaN is calculated and redoing that operation.
The NaN I have not seen anywhere else when loading, but the shifting happens every time a repo or user is initially loaded.

We could just add a big loader in the center screen, put everything else in the background with a grey overlay.
When everything is correctly loaded in the background we can show the user/repo.
What about that? @Sammylsra

@FlorianTaut that sounds good assuming we do it for other components too in order to maintain consistency. :+1:


Using markdown-it-attrs with code fences

This PR is related to issue https://github.com/Mermade/shins/issues/30

Hi @MikeRalphson.  I was wondering whether this PR would be suitable for including in shins.  It provides an implementation/fix for #30.
The approach the PR takes is based on the following couple of comments:

https://github.com/markdown-it/markdown-it/issues/457#issuecomment-389686870
https://github.com/arve0/markdown-it-attrs/issues/59#issuecomment-386806932

The code I've implemented in the fence method of the PR is based on markdown-it's fence method in https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.js#L39.
Let me know if there's any info I can add.  Thanks

Looks good. I just need to find the time to test it doesn't affect the existing output. Thanks for your patience.

No worries.  Thanks @MikeRalphson

I've tried this update, but it doesn't seem to add the style. The linked markdown issue suggests that adding the attributes should be in the form:
    ```http {.some-class}
    GET /foo/bar HTTP/1.1
    ...
    ```

But that doesn't seem to do anything in the generated code block. I would expect that class="some-class" would be added to the pre or code element.

Please re-raise over on slant if still an issue.


XDS: HTTP ECDS ExtensionConfigDiscoveryService

Extension Config discovery service addresses several key issues while loading Wasm Extensions. It is not limited to Wasm.

It ensures that named bits are fetched only once per named extension config. This is important for Wasm where a module can be several MB and the same extension is loaded in several different listeners.
Loading a new version of extension does not cause a listener drain.

We may be able to get this into istio-proxy 1.7 and then experiment with in the main branch.

cc @PiotrSikora

xref: #25484

First attempt https://github.com/istio/istio/pull/27686

Fixed by #29990 and #30086

Fixed by #29990 and #30086


"debug: control connection has bad magic string" with unbound 1.17.1

Hi,
I've been using unbound-console for a lot of months without any issue in my own giannicostanzi/unbound2influxdb2 docker image and today I've updated my debian 11 installation with unbound to debian 12 and also Unbound got updated from 1.13.1-1+deb11u1 to  1.17.1-2. Unbound works and it's listening as always on control port 8953 but unbound-console receives a connection reset and unbound logs show the following error:
unbound: [3389:0] debug: control connection has bad magic string
Looking at unbound code we can see the following comment related to that message:
if( r != 6 || strncmp(magic, "UBCT", 4) != 0) {
		verbose(VERB_QUERY, "control connection has bad magic string");
		/* probably wrong tool connected, ignore it completely */
		return;
}

Could it be related to a breaking change in unbound that needs some tweak in unbound console? 1.17.1-2 is the only version available on bookworm (Debian 12) so I'll have to rollback my VM to Debian 11 in the meanwhile.

weird, the magic string is properly set https://github.com/dmachard/python-unbound-console/blob/master/unbound_console/remotecontrol.py#LL183C35-L183C35

@dmachard I've cloned my VM to make some tests and with an increased debug level it shows "unauthenticated remote control connection" before the bad magic string message. I'll try to understand what changed since v 1.13 where everything works fine.
Jun 17 07:56:50 DNS-Stack-Test-Clone unbound[152]: [152:0] debug: new control connection from ip4 <IP_ADDRESS> port 48576 (len 16)
Jun 17 07:56:50 DNS-Stack-Test-Clone unbound[152]: [152:0] debug: comm point stop listening 34
Jun 17 07:56:50 DNS-Stack-Test-Clone unbound[152]: [152:0] debug: comm point start listening 34 (120000 msec)
Jun 17 07:56:50 DNS-Stack-Test-Clone unbound[152]: [152:0] debug: unauthenticated remote control connection
Jun 17 07:56:50 DNS-Stack-Test-Clone unbound[152]: [152:0] debug: control connection has bad magic string
Jun 17 07:56:50 DNS-Stack-Test-Clone unbound[152]: [152:0] debug: remote control operation completed
Jun 17 07:56:50 DNS-Stack-Test-Clone unbound[152]: [152:0] debug: comm_point_close of 34: event_del
Jun 17 07:56:50 DNS-Stack-Test-Clone unbound[152]: [152:0] debug: close fd 34

This code, with the specified certs and keys works in 1.13 but gets the above errors in 1.17:
            try:
                rc = RemoteControl(
                    host=host,
                    port=host_port,
                    server_cert = host_server_cert,
                    client_cert = host_client_cert,
                    client_key = host_client_key
                )

                output = rc.send_command(cmd="stats")
            except Exception as e:
                failure = True
                print(e, file=sys.stderr)
                print(f"[{datetime.now().strftime('%Y-%m-%d %H:%M:%S')}] Connection Error: Could not connect to {host}:{host_port}[ENC:{host_encryption_flag}]({host_name})",file=sys.stderr)
                continue

can you share your exception raised with your example ?

> /home/gianni/unbound/venv/lib/python3.11/site-packages/unbound_console/remotecontrol.py(116)_get_remote_control_socket()->None
-> sock.connect((self.rc_host, self.rc_port))
(Pdb) step
ConnectionResetError: [Errno 104] Connection reset by peer
> /home/gianni/unbound/venv/lib/python3.11/site-packages/unbound_console/remotecontrol.py(121)send_command()
-> sock = self._get_remote_control_socket()
(Pdb) step
--Return--
> /home/gianni/unbound/venv/lib/python3.11/site-packages/unbound_console/remotecontrol.py(121)send_command()->None
-> sock = self._get_remote_control_socket()
(Pdb) next
ConnectionResetError: [Errno 104] Connection reset by peer> /home/gianni/unbound/unbound-to-influxdb2.py(182)<module>()
-> output = rc.send_command(cmd="stats")
(Pdb) next
> /home/gianni/unbound/unbound-to-influxdb2.py(183)<module>()
-> except Exception as e:
(Pdb) step> /home/gianni/unbound/unbound-to-influxdb2.py(184)<module>()
-> failure = True
(Pdb) step
> /home/gianni/unbound/unbound-to-influxdb2.py(185)<module>()
-> print(e, file=sys.stderr)
(Pdb) print(e)
[Errno 104] Connection reset by peer

Here you can find the full unbound2influxdb2 script: https://github.com/MightySlaytanic/unbound2influxdb2.git

Hi @dmachard, the "issue" was absolutely NOT related to unbound_console. When upgrading from Debian 11 + Unbound 1.13 to Debian 12 + Unbound 1.17 the following file is added to the unbound config folder:
# cat /etc/unbound/unbound.conf.d/remote-control.conf
remote-control:
  control-enable: yes
  # by default the control interface is is <IP_ADDRESS> and ::1 and port 8953
  # it is possible to use a unix socket too
  control-interface: /run/unbound.ctl

The last row makes unbound answer to control queries only on the unix socket and every connection to port 8953 is established at the TCP/IP level but then it is closed with a TCP RST as soon as you try to establish the TLS session. It has been sufficient to comment the above line to make everything work again.
I'm sorry, it was my fault but I didn't expect to find a new file in /etc/unbound/unbound.conf.d :-/


perfecto-upload 0.0.5

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[ ] I will not move an already shared step version's tag to another commit
[ ] I read the Step Development Guideline
[ ] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[ ] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[ ] I read and accept the Abandoned Step policy

@sreevatsa-ramya please check the step.yml, as you have sensitive information committed to the repo.
Suggest opening a new one, and changing your password if needed.
Noticed that you have an icon file in the repo, that will not show up automatically. It should be included in the current repository, on the path steps/[YOUR_STEP_ID]/assets/icon.svg. It is fine in a separate PR.


SPIKE - Processing infrastucture and priorities part #2

Description
Take the design from #74 and create cdk code. Create scenarios to see if the design works as expected.
Requirements

Requirement 1
Requirement 2

Nice to have or Goal Requirements

Nice to have 1
Nice to have 2

Additional notes
Any additional notes on the issue, if you have them.
Related tickets

#68
#71
#72
#74

Follow up tickets
This spike is not considered complete until at least one follow up issue is created.

[ ] Placeholder ticket

**Below is the template for the response to this ticket. Add as many solutions as needed, but preferably include 2-5 for discussion. The response should be posted as a comment on this issue, or linked in a comment. **
Solution 1
Write an overview of the solution here.
Pros:

pro 1

Cons:

con 1

Additional notes:

note

Solution 2
Write an overview of the solution here.
Pros:

pro 1

Cons:

con 1

Additional notes:

note

Summary
Write up a summary of your findings, including your preferred solution.

Is this complete with your spike #154 @laspsandoval ? Would it be possible for you to write up the results of that investigation in a comment here? It seems like you didn't run into any major issues with the design we have, so maybe you can create a follow up ticket and close this spike. Or, if there are still unanswered questions, it would be good to know what those are here.

Closing SPIKE based on work done in #154.


Write inline documentation for src/types/plan.js

Where?
src/types/plan.js
Who?
Any developer who wants to work on syft.js should be able to read inline documentation for this file, as well as any file in the project.
What?
We need to go "line-by-line" and create inline documentation for this file. Please try to use proper punctuation and English grammar to the best of your ability.
Additional Context
None

Working on plan next :rocket:


[Snyk] Security upgrade alpine from 3.15 to 3.16

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

cmd/db-manager/v1beta1/Dockerfile

We recommend upgrading to alpine:3.16, as this image has only 1 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Issue
Exploit Maturity

CVE-2023-0464 SNYK-ALPINE315-OPENSSL-3368753
No Known Exploit

CVE-2023-0464 SNYK-ALPINE315-OPENSSL-3368753
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.857%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3111

Relevant Lines:
4270

💛  - Coveralls


urlopen doesn't take HTTPS

When I try to open an MPD file from an HTTPS link, urlopen throws the following error:
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1007)>
parse.py:16
I would suggest the following changes in parse.py:
def parse(cls, string_or_url)  ->  **def parse(cls, string_or_url, verifiySSL=false):**
def load_xmldom(cls, string_or_url)  ->  def load_xmldom(cls, string_or_url, verifiySSL)
    ...
    mpd_string = urlopen(string_or_url).read()  -> requests.get(string_or_url, verify=verifiySSL)
    ....

not verifying SSL is bad practice. Make your self-signed certificated trusted.


device.monitorCharacteristicForService concatenate several bluetooth packets

Hello
First thank you for the great work you did on this library!
I am facing a behavior I would like to get some lights.
In the blesaga, I am subscribing to device.monitorCharacteristicForService. It seems, sometime, I receive 'concatenated packets': the connected device actually sending 2 different packets which get concatenated at the reception when I read the characteristic. I am not 100% sure it happens in the library but I would like to get you comments on this.
Thank you for your help
Steph.

After analysis concatenation happens at the source.


Fix playground demo bug (#1646)

Description
This PR provided a temporary fix for the playground demo that was caused by an underlying issue with Faker.
Changes
The issue causing this bug can be seen in greater detail here. The changes work around this issue by attempting to use reflection if the expression method throws an error.
Additional notes
This is a temporary solution that should be reverted once the bug in Faker has been fixed.
Issue
Resolves #1646

Looks good! The faker profile now runs fine. I've approved as is but it might be worth adding a comment to explain why the workaround is required.
Also adding a test for this could be useful

I'll try and add a test, I was struggling to think of a good way to do it.

Looks good.
Could we add a test for the scenario where the expression doesn't work natively and the new code is executed.

Yep, will do.

@sl-slaing, @Tom-hayden, I've added a comment explaining why the method is needed and written a new test.


gls.py update

https://github.com/3fon3fonov/trifon/blob/master/addons/gls.py
FYI, there is an updated version:
https://github.com/mzechmeister/GLS/blob/master/python/gls.py
It has now also lnL and dlnL normalisations.
Mathias

Done! :) Thanks.


support auto create missing items in replace operation

support auto create missing items in replace operation
For example given doc:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
</project>

And diff patch:
<diff>
    <replace sel="/project[@version='4']/component[@name='GOROOT']/inner/@url">file://$PROJECT_DIR$/.ting/bin/go</replace>
</diff>

Result:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
    <component name="GOROOT">
        <inner url="file://$PROJECT_DIR$/.ting/bin/go"/>
    </component>
</project>

Note that not only component and inner are created and url value is set, but component also has the name attribute.
Should be opt-in as it's not standard.

done


Enable the new model serialization for servicefabricmanagedclusters

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Converted README.rst to Asciidoc

Converted README to Asciidoc.
Added language sensitive formatting to shell and yaml code blocks
Added explanatory comments to openshift parameter files
Gave parameter files a descriptive name.

Update with LB references from new README.rst

What about the old README.rst file? It seems it should be deleted to avoid confusion. The patch should be OK, though it's very difficult to check it if file renaming is done together with other changes. Could you please split changes and renaming into separate patches next time? (not this time as I understand it would be quite painful to try to split it now).

Renaming adoc to rst requires some changes, but they should only be formatting.  If I made textual changes too I apologize.

I actually left the .rst for this for comparison purposes.  I'll remove it now and we can merge?

Mark

removed README.rst
removed trailing whitespace in adoc


Cron role for Ansible playbooks

we also need to create a role for Ansible
Originally posted by @akondas in https://github.com/repman-io/repman/pull/60/review_comment/create

Resolved in #65


tasks.json configure problem and handshake failed problem

Hi,
I am very new to Java. And I really like vscode. So I have tried to config this Java debugger for quit a while. But still can't make it. My laptop is windows 10 64bit.
My project tree is just like:
project
    .vscode
    test.java
    test.class

Launch.json
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug Java",
            "type": "java",
            "request": "launch",
            "externalConsole": true,                //user input dosen't work if set it to false :(
            "stopOnEntry": true,
            "preLaunchTask": "build",                 // Runs the task created above before running this configuration
            "jdkPath": "${env:JAVA_HOME}/bin",        // You need to set JAVA_HOME enviroment variable
            "cwd": "${workspaceRoot}",
            "startupClass": "${workspaceRoot}${file}",
            "sourcePath": ["${workspaceRoot}"],   // Indicates where your source (.java) files are
            "classpath": ["${workspaceRoot}"],    // Indicates the location of your .class files
            "options": [],                             // Additional options to pass to the java executable
            "args": []                                // Command line arguments to pass to the startup class
        }

    ],
    "compounds": []
}

tasks.json
{
    "version": "2.0.0",
    "type": "shell",
    "presentation": {
        "echo": true,
        "reveal": "always",
        "focus": false,
        "panel": "shared"
    },
    "isBackground": true,
    "tasks": [
        {
            "taskName": "build",
            "args": ["-g", "${file}"],
            "command": "javac"
        }
    ]
}

When I try to launch debug, I got errors as below:
> Executing task: javac -g d:\atom-projects\leetcode-solutions\java-solutions\JavaPlayground.java <

javac: file not found: d:atom-projectsleetcode-solutionsjava-solutionsJavaPlayground.java
Usage: javac <options> <source files>
use -help for a list of possible options
The terminal process terminated with exit code: 2

The backslash dosen't get escaped.
Then I tried to change the ${file} to the actual directory as d:\atom-projects\leetcode-solutions\java-solutions\${fileBasename}. It worked but it came to problem in a command window showing Debugger failed to attach: handshake failed - connection prematurally closed.
The problems could be trivial but I really don't know how to fix it. Thank you very much for your time. Look forward to your reply. : )

Very similar issue here :point_right: https://github.com/DonJayamanne/javaVSCode/issues/17#issuecomment-257095778

The first problem is solved by switching the shell back to windows powershell as I was using bash instead before. Windows uses\, yet bash uses /.
But still don't know how to solve the handshake failed problem.


Error when parameterizing alias

Describe the bug
Unable to parameterize alias
Steps to reproduce

The following code example

const res = await client.query({
  query: 'select {col: Identifier} AS {alias: String} from (select 1 list union all select 2)',
  format: 'JSONEachRow',
  query_params: { col: 'list', alias: 'values' },
});

Expected behaviour
Query should execute successfully
Error log
ClickHouseError: Syntax error: failed at position 29 ('{') (line 1, col 29): {alias: String} from (select 1 list union all select 2)
FORMAT JSONEachRow. Expected one of: identifier, end of query.

Environment

Client version: 0.1.1
Language version: v18.16.0
OS: Windows 10

ClickHouse server

ClickHouse Server version: <IP_ADDRESS>

Isn't it the same error with cURL?
> curl -sS "http://localhost:8123?param_col=list&param_alias=values" -d "select {col: Identifier} AS {alias: String} from (select 1 list union all select 2)"

Code: 62. DB::Exception: Syntax error: failed at position 29 ('{'): {alias: String} from (select 1 list union all select 2). Expected one of: identifier, end of query. (SYNTAX_ERROR) (version <IP_ADDRESS> (official build))

my bad, I missed that.

@vinay2897, there is an open PR in the main ClickHouse repo to add support for parameterized aliases: https://github.com/ClickHouse/ClickHouse/pull/50665


Not working with React Native 0.71 on Android

Description
An app using React Native 0.71 won't build with react-native-skia on Android.
This line expects to find a .aar file in the react-native android folder.
https://github.com/Shopify/react-native-skia/blob/main/package/android/build.gradle#L194
But starting with React Native 0.71, the android folder in empty, see:
https://github.com/facebook/react-native/tree/v0.71.0-rc.5/android
Version
0.1.170
Steps to reproduce

Create a new React Native 0.71 project
Add react-native-skia
Try to build on android

Snack, code example, screenshot, or link to a repository
Repo: https://github.com/itiden/guess-the-repo/tree/next
(Notice it is in the "next" branch)
Build on android returns:
A problem occurred evaluating project ':shopify_react-native-skia'.

Expected directory '****guess-the-repo/node_modules/react-native/android' to contain exactly one file, however, it contains no files.

Nice catch - we'll investigate further!

Was there a fix for this? I am having the same issue on RN 0.71.14 and 0.1.156


ES retries

I've fixed or disabled the tests that don't pass reliably on Travis, and added new ones to cover the retry feature.


Ignore current 17 static analysis errors

@inhere https://github.com/swoft-cloud/swoft/pull/864#issuecomment-516722647

ok, thanks you.


Dev server breaks as soon as I generate a new controller

Hey there!
I was going to give bud a shot and unfortunately I got stuck right after generating a new controller, getting this error:
| genfs: open "bud/cmd/app/main.go". genfs: open "bud/internal/web/web.go". genfs: open
"bud/internal/web/controller/controller.go". framework/controller: unable to load. controller: unable to load:
"/snap/go/current/src/context" can't be outside the module directory "/snap/go/10257/src"

To reproduce:
curl -sf https://raw.githubusercontent.com/livebud/bud/main/install.sh | sh
bud create hello
cd hello

# in one tab
bud run

# in another tab
bud new controller home:/ index

As soon as the browser attempts to refresh the page that error occurs, the browser hangs and the request never completes.
Some information about my environment:

Ubuntu 22.04.2
go version go1.20.6 linux/amd64 installed with snap install
bud: 0.2.8
svelte: 3.47.0
react: 18.0.0

go env (click to expand)
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/fabio/.cache/go-build"
GOENV="/home/fabio/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/fabio/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/fabio/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/snap/go/current"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/snap/go/current/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.20.6"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/fabio/projects/playground/hello/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build332917642=/tmp/go-build -gno-record-gcc-switches"

Same issue on Ubuntu 23.04
bud: 0.2.8
svelte: 3.47.0
react: 18.0.0
go version go1.20.3 linux/amd64 installed from deb
| Listening on http://<IP_ADDRESS>:3000
| genfs: open "bud/cmd/app/main.go". genfs: open "bud/internal/web/web.go". genfs: open "bud/internal/web/controller/controller.go". framework/controller: unable to load. controller: unable to load: "/usr/lib/go-1.20/src/context" can't be outside the module directory "/usr/share/go-1.20/src"

Sorry for the trouble here. I think this is related to: https://github.com/livebud/bud/issues/369.
I probably won't devote cycles to this since I'm working on a new version of Bud that won't have issues like this. But if you figure it out, please let me know!


chore(release): v1.0.0 🎉

:robot: I have created a release *beep* *boop*
1.0.0 (2022-10-09)
Features

docs: improve jsdocs and readme doc (c29b745)
init: publish as stand alone package (1a16194)

Bug Fixes

tests: install simple-on-disk-caching dev dep (46f0d16)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/google-trends-api-client/releases/tag/v1.0.0 :sunflower:


Default skipRepeates when State conforms equatable only works for top level subscribers

Hi!
I've recently seen something in my app that I find weird, and I think it's because I'm not understanding how the default behaviour for subscriptions works when the state conforms equatable.
All my state is equatable, so when I create a subscription using select { ... }, I expect the subscriber to be notified only when the substate of the subscription has changed, but this seems not to be the case. If I add skipRepeats() after the select, then it works, but per the documentation, concretely

For example, one requirement may be to notify subscribers only when the state they are interested in has changed. This is the default Store setting.

I wasn't expecting that I should add skipRepeats() every time I use select { ... }.
I checked the code and it seems that indeed it would work only if I subscribe to the top level (the whole state). See open func subscribe<S: StoreSubscriber>(_ subscriber: S) where S.StoreSubscriberStateType == State.
So I don't know if I don't understand the docs properly, or the code, or there is something else that I'm missing. Ideally, by default I should be able to subscribe to a substate automatically skipping repeats if my whole state conforms Equatable, right? And, actually, I would say this was like this before and it changed at some point.
Thanks!

@DivineDominion hey, do you know something about this?

Ok, so even though state.subscriptionsAutomaticallySkipRepeats is true, after you select a substate, you get identical results? That sounds not like what I'd expect, too.
Of course I don't have all the code memorized :) Looking at how the auto-skipping works, skipRepeats seems to be called on the initial super-state, not the substate, which is kind of wasteful, too.
I'm on a very tight schedule right now and cannot spend as much time to work on this. If you could add some failing unit tests in a PR, we could move this issue forward together towards a solution.

Cool! I will put something together soon.

Done! https://github.com/ReSwift/ReSwift/pull/299

#300 Has a potential fix


Drawing module

Currently image components have a method to draw themselves. I've felt for a long time that they should instead be drawn on something. I think the way to do this is to TDD a drawing layer. It should have the following features:

It wraps the Pillow API for primitives such as text, circles, lines and rectangles.
A component contains only the information needed to be drawn. This could be as simple as a dataclass value object.
The drawing layer holds the ImageDraw instance, the components need not know about it.
The drawing layer is a measurement point. We should be able to substitute actual drawing with test fixtures.

This could work like so:
@dataclass
class Text:
    text: str
    font_name: str
    font_size: int
    colour: str

heading = Text("Uposatha", "Roboto", "20", "Black")

drawing.draw(heading)

Using functools.singledispatch() we can pass in different types such as Line, Circle etc.
We also need to handle composite types like the DayOfWeekIcon. This has a filled circle and text. This could simply be a sequence of primitives to draw with their offsets.
And we need a way of getting component sizes.

Dale has cast shade on this idea and recommends looking at the double dispatch pattern:

Overall, I think I like the final plan, in particular the notion of having a class that carries an ImageDraw around. I've never used singledispatch, but it certainly seems like it would eliminate a lot of draw_foo methods.
You could address this with a "double-dispatch pattern", ie

class Drawable(Protocol): # or ABC, as you prefer
    def draw(self, imageDraw): ...
class Drawing:
    def __init__(self, image: ImageDraw):
        self._image = image
    def draw(self, other: Drawable):
        other.draw(self._image) # or maybe just self?
class Text:
    ...
    def draw(self, image):
        # however you draw the text on the image
class OtherDrawable: ...
# and so on

This tends to be a bit boiler-plate heavy, but you already (I think) need the Text, etc, classes so it's just changing where the real draw method lives. I've never used double-dispatch (to my recollection) but I think it might be the "classic" oo approach here.
As I noted, instead of passing an ImageDraw to the drawables, if Drawing maintains some sort of state, like a defalt color, current position, default font, ..., you might want to pass a Drawing instead.

That's a misunderstanding. Double dispatch doesn't solve any problems. I think I'm OK with single dispatch.


Refactor taskrun controller

Declare build object reference on taskRun object.
Duck type build status condition to taskrun condition.
Pass TaskRun labels to build when building "Build" object

/assign @dlorenc
/assign @bobcatfish
/assign @pivotal-nader-ziada
/assign @tejal29

/approve


DOC-3763 & CI-9717

DOC-3763: Unhide previously-hidden queue intelligence topic & links. No change to the content.
CI-9717: Describe how to handle save cache in parallel stages (cache intelligence, save cache to GCS, and save cache to S3).

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Fast AP:  Only access DoFs contained in the agglomerates

Without this pull request we try to access entries in delta_eigenvector_matrix and eigenvector_matrix
that are not corresponding to the current agglomerate (and consequently don't exist). Thus, using operator() instead of el() gives errors. el() would just ignore any entries that don't exist and hence worked fine. However, it is hard to debug the code, e.g. for MPI, if operator() can not be used.
While the changes look large, we really only address an interior agglomerate and its halo agglomerate at the same time. Hence most code is just duplicated for the two agglomerates. The only real difference is that we are able to check whether a halo dof is also an interior dof.

Codecov Report

Merging #169 into master will increase coverage by <.01%.
The diff coverage is 96.22%.

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
+ Coverage   89.54%   89.55%   +<.01%
==========================================
  Files          53       53
  Lines        2630     2670      +40
==========================================
+ Hits         2355     2391      +36
- Misses        275      279       +4

Impacted Files
Coverage Δ

...rce/dealii/dealii_matrix_free_hierarchy_helpers.cc
98.3% <96.07%> (-1.7%)
:arrow_down:

source/dealii/dealii_hierarchy_helpers.cc
98.37% <96.36%> (-1.63%)
:arrow_down:

Continue to review full report at Codecov.

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

Let's just close this.


Error occurred  integrating IIS Server to Microsoft Bot

Hi Team,
I'm trying to integrate Bot with Facebook. i have mentioned the steps what all i did. if anything i missed and anything i did wrong please advice and guide me.
I created the bot application and deploy through custom mode using .Net Framwork 4.6. in my server having .Net framwork V4.5.
I run the application locally using the Bot Emulator its working fine after that only i have deployed it to server its not working.   its throw me so many errors by the time by time. in my guess i deployed the Bot as sub application maybe its might be reason.
my domain: https://www.abc.com/TSBot/api/messages
The above url i used to configue Messaging endpoint.  i fill the app secret, app id and bot id. but its throw me the errors . one time its throw me parameter name:Miising Appid. other some times its throw below error
InternalServerError
{
"message": "An error has occurred.",
"exceptionMessage": "The object has not yet been initialized. Ensure that HttpConfiguration.EnsureInitialized() is called in the application's startup code after all other initialization code.",
"exceptionType": "System.InvalidOperationException",
"stackTrace": "   at System.Web.Http.Routing.RouteCollectionRoute.get_SubRoutes()\r\n   at System.Web.Http.Routing.RouteCollectionRoute.GetRouteData(String virtualPathRoot, HttpRequestMessage request)\r\n   at System.Web.Http.WebHost.Routing.HttpWebRoute.GetRouteData(HttpContextBase httpContext)"
}
or
Multiple types were found that match the controller named 'messages'. This can happen if the route that services this request ('api/{controller}/{id}')
Route config is
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new {  id = RouteParameter.Optional }
Please guide me to fix it.

This is probably related to the way that you set up the routes in your asp.net application and iis server and not related to bot builder. I did a quick search for your error and this stackoverflow answer might help.
Closing this. Feel free to open another issue in future if you have problem with bot builder.

thanks for posting msft-shahins, i have changed and tried all the cases in the route config but no use . my website is "https://www.abc.com/" and i created the application inside the aplication "TSBot" so my url look like this[https://www.abc.com/TSBot/api/messages] . if i run without api/messages then i can see the default page when i add the api/messages behind the url its wont work . my route cofig template is routeTemplate: "api/{controller}/{id}", is there any mistake so suggest me


[AppService]: fix  # 18266 - webapp config appsettings set command causing all values to default to "false" in version 2.24.0

#18265 , #18266
Description

When executing the webapp config appsettings set command the result Application Settings in the WebApp Configuration value is set to false for each setting defined in the settings array.
Testing Guide

JSON Settings Example
[
{
"slotSetting": false,
"name": "ExampleParameter1",
"value": "@Microsoft.KeyVault(SecretUri=https://xxxxx.vault.azure.net/secrets/ExampleParameter1)"
},
{
"slotSetting": false,
"name": " ExampleParameter2",
"value": "@Microsoft.KeyVault(SecretUri=https://xxxxx.vault.azure.net/secrets/ExampleParameter2)"
}
]
Command Example
az webapp config appsettings set --name $WebAppName --resource-group $ResourceGroup --settings @$settings.json
Expected behavior
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

As it is a bug fix for breaking change, please send PR tp release branch. We will do a hotfix next Monday in Shanghai time.

please create a new branch target release as your current branch contains too many features in dev, which should not be added to release for hot fix.

please create a new branch target release as your current branch contains too many features in dev, which should not be added to release for hot fix.

I am working on it. Will create a new branch and a PR too.

please create a new branch target release as your current branch contains too many features in dev, which should not be added to release for hot fix.

I am working on it. Will create a new branch and a PR too.

Then I will close this one


Internal Error Creating Teradata Connection

System information:

Operating system (distribution) and version - windows 7
DBeaver version
<IP_ADDRESS>002151353

Connection specification:

Database name and version
Teradata 15.10

Describe your question:
When trying to create a Teradata connection I get the message "Internal error when opening connection wizard". Reason is "java.lang.NullPointerException". See attached file with screenshot of message. Note i have tried to uninstall and reinstall DBeaver but no change. I can create a MySql connection without an issue but not Teradata. Thank you.
DBeaver_Issue_For_TD_Connection.docx

hi @jquirk812 ,
unfortunately, I cannot reproduce an issue. Could you share log/debug log (https://github.com/dbeaver/dbeaver/wiki/Log-files)?

there is no update on an issue more than a month.
ticket closed.
if the issue is still actual for you - feel free to reopen the ticket


Frontpage example app for Apollo-Android

Hi guys
I'm working on promoting Apollo libraries and I see that major deciding factors for picking Apollo (and GraphQL) are the existence of reliable sample apps that give developers access to both server and client side code.
Currently, there are only 2 sample applications and server-side that is outdated.
Our team updated the server-side so we can reliably showcase the latest version with IOS:
https://github.com/apollographql/frontpage-server/pull/1
Server-side works with frontpage-ios-app that is well maintained by concurrent IOS team:
https://github.com/apollographql/frontpage-ios-app
However, the android team is using non Apollo based backend (github api)
https://github.com/apollographql/apollo-android/tree/master/samples/apollo-kotlin-sample/src/main/graphql/com/apollographql/apollo/kotlinsample
Do you think it will be possible to create Android example for the following server?
Our team will be happy to help as this will be huge help with the promotion of the Apollo based GraphQL solutions.
Related community post:
https://spectrum.chat/apollo/general/community-based-example-apps~c8f2d593-6f86-4cdb-8ead-6fe83a0543f5

First off nice hat! (nitpick should be blue)
Any help with documentation/samples would be highly appreciated

We're missing samples for subscriptions, having that would be definitely a plus.
On the other hand, I like that we're not asking android/client developers to setup a server to evaluate the library. Could we provide a ready-to-use frontpage instance with corresponding graphiQL ?

@digitalbuddha We would love to collaborate. What is needed is a new repository:
https://github.com/apollographql/frontpage-android-app
That will replicate:
https://github.com/apollographql/frontpage-ios-app
We can migrate all features from IOS app to Android

@martijnwalraven thoughts?

Hi
We started building https://github.com/aerogear/native-android-example that is basing on the frontpage-server and frontpage-ios application. It is using other features like push and IDM features that can be ignored.

Hi @wtrocki !
Very sorry for the ultra late reply and for missing this issue earlier this year when adding an android tutorial. The tutorial is now the default place to compare server and client code and has fullstack and ios equivalents.
Do you think that provides enough features/details to make a proper showcase/demo of the apollo libs? Anything else you'd like to see there?

Closing for inactivity. Please let me know if you want me to reopen.


hfst-ospell leaks memory

It seems that hfst-ospell is leaking memory. When run against a list of 12.5k typos, it starts out at about 130 Mb usage, and end up at almost 800 Mb before it is done. The memory use increases slowly throughout the processing. See attached screen shots of the memory consumption at different intervals. The zhfst file used is attached (rename *.zip to *.zhfst).

Tested against latest hfst-ospell code on macOS Sierra 10.12.1.
se.zip

The typos file used as input can be found here

For some reason I can't get Valgrind to report memory leaks usefully for ospell, but those leaks are overall small in size. I think this isn't exactly a leak, but an effect of the cache slowly building up. The error model + lexicon are rich enough in this case that on average a cache entry is tens of megabytes, and as the correction encounters new first symbols, the cache gets bigger and bigger. Eg. you should see different behaviour if you first sort the typos vs. if you only have one type per first character.
Perhaps the system should have some sort of cache priority order, bumping off older cache entries once the cache grows beyond some size?

Yeah, if I grep for only words starting with a, memory usage is consistent at ~126000 at least up to 100k words.
On regular input, memory usage flattens out as input grows, which is also consistent with the only "leak" being the cache on first symbols.
I tried e.g. clearing some random entries on every correction, which gives slower memory growth at the cost of some speed loss (50% slower on 10k words when removing 3 random). Adding a use counter and strictly capping the amount of cached entries to 10 first symbols with plain LRU, the runtime is 118s vs 50s, with 486M max RES vs 712M max RES on a run of 10k words. With zero cache, we still use 414M on 10k words, so compared to that, upping it to 10 first symbols doesn't seem too bad.
However, I'm pretty sure .clear() can't be clearing everything, since sending 10k words-starting-with-a has a much lower memory usage – anyone have an idea why? https://github.com/hfst/hfst-ospell/compare/master...unhammer:LRU-cache?expand=1


JoWilder: UserEnabled

A feature to show which options a user enabled. Override BaseFeatureSuffix to append Fullscreen to the base feature name.
The sub-features are:
(base) - 1 if the player had fullscreen enabled, otherwise 0 (previously fullscreen).
Music - 1 if the player had music enabled, otherwise 0 (previously music).
HQGraphics- 1 if the player had hq graphics enabled, otherwise 0 (previously hq).
This should be configured as an aggregate feature.

 JoWilder: UserEnabled

cd6085ff8641da126c5da1365ef611bac22c8583

e007e293df5bb5011bdb4c7667745229cad0140e


One of my models in the insert list is not showing

Version channel
Stable (Default)
Loader version
240
What part of Adonis is this related to?
Loader/Settings
What happened?
One of my models in the insert list is not showing. I tried adding another model to fix it but did not work.
Images: (IDs have been hidden)

Relevant log output
No response

@DionBlox1  check if the ID is correct

It is correct.

It is correct.

Can you send a full screenshot of the insertlist settings part and blank out the IDs

Ones that is applied:

Ones that are not applied: (ignore tug its applied. and patch to atempt fix it)

Ones that is applied:  Ones that are not applied: (ignore tug its applied. and patch to atempt fix it)

Again you didn't post the full one, the upper screenshot shows more vehicles than the bottom one
Post the full setting starting from settings.InsertList and ending in the last curly brace (with IDs blanked out of course)

Here is code  (patch is roblox ad billboard and XXX is blanked out IDs)
settings.InsertList = {{Name = "Buggy", ID = XXX}; {Name = "Airstairs", ID = XXX}; {Name = "7879", ID = XXX}; {Name = "Pushback", ID = XXX}; {Name = "LavTruck", ID = XXX}; {Name = "GPU", ID = XXX}; {Name = "Catter", ID = XXX}; {Name = "BagCarts", ID = XXX}; {Name = "Tug", ID = XXX}; {Name = "Fuel", ID = XXX1770}; {Name = "patch", ID =<PHONE_NUMBER>0};} 	-- List of models to appear in the :insertlist and can be inserted using ':insert <name>'	  Format: {{Name = "somemodel", ID = 1234567}; {Name = "anotherone", ID = 1243562}}

Here is code (patch is roblox ad unit and XXX is blanked out IDs)
settings.InsertList = {{Name = "Buggy", ID = XXX}; {Name = "Airstairs", ID = XXX}; {Name = "7879", ID = XXX}; {Name = "Pushback", ID = XXX}; {Name = "LavTruck", ID = XXX}; {Name = "GPU", ID = XXX}; {Name = "Catter", ID = XXX}; {Name = "BagCarts", ID = XXX}; {Name = "Tug", ID = XXX}; {Name = "Fuel", ID = XXX1770}; {Name = "patch", ID =<PHONE_NUMBER>0};} 	-- List of models to appear in the :insertlist and can be inserted using ':insert <name>'	  Format: {{Name = "somemodel", ID = 1234567}; {Name = "anotherone", ID = 1243562}}

Odd, it seems to be totally correct
Can you post a screenshot of :scriptlogs and :errorlogs after you have done :insertlist

The image did not show anything specific and I couldn't reproduce this issue

Should I close this as not planned or as completed, or wait

EDIT: It says "Argument 1 missing or nil" when i insert it (Fuel)
￼

Ohhhh its probably because of the ( or )

I got a reply with the following: "Ohhhh its probably because of the ( or )" then it was deleated

What

It works now!


IDE run application is different from mvn clean package the application and then java -jar xxx.jar

Describe the bug
i add spring-boot-starter-actuator in this application,and exposure bus-refresh.
when RUN with IDEA,the terminal log
2020-03-25 16:06:00.675  INFO 18308 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
curl -X GET http://localhost:13000/actuator
{"_links":{"self":{"href":"http://localhost:13000/actuator","templated":false},"bus-refresh":{"href":"http://localhost:13000/actuator/bus-refresh","templated":false},"bus-ref
resh-destination":{"href":"http://localhost:13000/actuator/bus-refresh/{destination}","templated":true}}}

when mvn clean packageand java -jar xx.jar,the teminal log
2020-03-25 15:41:45.576  INFO 9380 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 0 endpoint(s) beneath base path '/actuator'
curl -X GET http://localhost:13000/actuator
{"_links":{"self":{"href":"http://localhost:13000/actuator","templated":false}}}

I'm not sure how this is a big or issue here. It's likely a problem with your environment

I'm not sure how this is a big or issue here. It's likely a problem with your environment

i got it.

@huskyui do you remember what the problem was and how you solved it? I have the same issue and am quite puzzled ..


Improve the build process

Description
While trying to update the existing script to release the beta, I found that it is too hard to modify and read due to the length. So this PR try to convert to a better script which is written in JS.
Also add an ability to build with another image name.
Type of change

Other

Checklist

[ ] My code follows the style guidelines of this project
[ ] I ran ESLint and other linters for modified files
[ ] I have performed a self-review of my own code and tested it
[ ] I have commented my code, particularly in hard-to-understand areas (including JSDoc for methods)
[ ] My changes generates no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Tested with dry run, seems to be fine.
><EMAIL_ADDRESS>release-final
> node ./extra/release/final.mjs

Dry run enabled.
RELEASE_VERSION: 2.0.0
Checking if version 2.0.0 exists on Docker Hub
[DRY RUN] node extra/update-version.js
[DRY RUN] npm run build
[DRY RUN] docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:2-slim-rootless -t louislam/uptime-kuma:2.0.0-slim-rootless --target rootless --build-arg BASE_IMAGE=louislam/uptime-kuma:base2-slim . --push
[DRY RUN] docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:2-rootless -t louislam/uptime-kuma:2.0.0-rootless --target rootless . --push
[DRY RUN] docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:next-slim -t louislam/uptime-kuma:2-slim -t louislam/uptime-kuma:2.0.0-slim --target release --build-arg BASE_IMAGE=louislam/uptime-kuma:base2-slim . --push
[DRY RUN] docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:next -t louislam/uptime-kuma:2 -t louislam/uptime-kuma:2.0.0 --target release . --push
Git Push and Publish the release note on github, then press any key to continue
[DRY RUN] npm run upload-artifacts
[DRY RUN] node extra/update-wiki-version.js


🐛 Bug Report: Backend Module Template should export default mod

📜 Description
There is a new template for creating backend module templates for the new backend system. Currently there are some smaller issues with it one being that the module is not exported as default.

A possible fix to this could be to change https://github.com/backstage/backstage/blob/master/packages/cli/templates/default-backend-module/src/index.ts.hbs#L8 to:
export { {{moduleVar}} as default } from './module';

👍 Expected behavior
Reading the documentation on building a module (https://backstage.io/docs/backend-system/building-plugins-and-modules/index#modules) and following the existing modules the expectation is that the exported as default. Each module package should only contain a single module, but this module may extend multiple extension points, so there should not be a need for a named export.
👎 Actual Behavior with Screenshots
Currently the module is not exporetd as a default: https://github.com/backstage/backstage/blob/master/packages/cli/templates/default-backend-module/src/index.ts.hbs
export { {{moduleVar}} } from './module';

👟 Reproduction steps

Run yarn new & select backend-module
A new backend module is scaffolded
The module won't be exported as default from the package, which is inconsistend with the expectations

📃 Provide the context for the Bug.
cc: @Rugvip, @freben
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Hi @tudi2d, can I take this up?

Yes, please - go ahead & reach out if you need further guidance! Thanks!

hey, I made a PR for the issue.
#22264

Closed by #22264


No asset was released at v1.89.0

Describe the Bug
No asset was released at v1.89.0.
https://github.com/cloudposse/atmos/releases/tag/v1.89.0

Expected Behavior
Pre-built binaries were released.
Steps to Reproduce
.
Screenshots
No response
Environment
No response
Additional Context
No response

The release workflow succeeded.
https://github.com/cloudposse/atmos/actions/runs/11307359580/job/31449071051
But the current tag was not v1.89.0 but v1.88.2. It's weird.
https://github.com/cloudposse/atmos/actions/runs/11307359580/job/31449071051#step:11:24
   • git state                                      commit=8c6591b906a76932ade097857147047a7e5f3130 branch=main current_tag=v1.88.2 previous_tag=v1.88.1 dirty=false

And I found the tag v1.89.0 was deleted once.
https://github.com/cloudposse/atmos/activity

I can't find the tag v1.88.2. 🤔
https://github.com/cloudposse/atmos/activity

At v1.90.0, assets were released properly.
https://github.com/cloudposse/atmos/releases/tag/v1.90.0
And v1.89.0 is now pre-release.
https://github.com/cloudposse/atmos/releases/tag/v1.89.0

So maybe we can close this issue.


Question: Listening to events - Best practices

I am trying to figure out the best way to listen to events using the generates ts files.
So far, I am trying listen to: contractInstance.instance.SomeEvent.
Is that correct and is there a better way?
Thank you,
Bjorn

I haven't add listening (events) but I use polling of contract logs on every block change (I also poll for blocknumber) via setTimeout.

Do you have an example where I can wrap polling logs into an Observable and use it as my "event manager"?

This is a good write-up of event handling with Typescript. I would like to tie that into your classes and wrap it all in an Observable for a continuous stream of events.

I did not want to bring Rx dependency. However a simple event or callback could be better than writing boilerplate polling with setTimeout code. Or asyncIterator as a property. Then you could trivially create ab observable from this.

Thank you!

I will reopen because I indeed wanted to add some easier access to events.
E.g. here is a nice solution that abstract events as properties with on and off methods for callback. https://stackoverflow.com/questions/12881212/does-typescript-support-events-on-classes
If you were to create an observable, what signature you would choose? E.g. will it be hot or cold observable? From which point (block/tx id) you would want events by default? How to deal with multiple consumers of the same event stream?
With polling you could make all these decision easily in code.

Ideally, I'd create a "hot" Observable for listening to all events for a contract. I'd also create similar listeners for specific events. By default, I would probably start listening to the latest block but that is just because it solves my use case of giving the user feedback when making a payment. I don't know a use case for a cold observable in this case. To me, I just want realtime updates until I unsubscribe.
I don't see your issue based on multiple consumers. Please elaborate. I would also add the sender address as an optional filter to exclude all other chatter that doesn't apply. But, being able to listen to all events is nice so users can see what is happening in real time.


Implement taking a picture

I want to take a picture when making a gesture,
any help?

Hi @xXxMDjxXx ,
Yes, you can use the image from ICamera.ImageStream(); for that :)


Incorporate updates to the google.golang.org/grpc package

Use the ClientConnection.State() method to check if the client
connection is in a shutdown state, and reboot it.
grpc/credentials.TokenSource -> grpc/credentials/oauth.TokenSource

The oauth API update and change from sourcegraph.com/sqs/grpccache/grpccache-gen to sourcegraph.com/sourcegraph/grpccache/grpccache-gen` are good.
The other changes seem reasonable but I don't have equally strong confidence, that's why I asked questions there.
Overall, LGTM, we should try to merge this soon as it's already been a while.


Readme improvements

This is basically just https://github.com/PyAbel/PyAbel/pull/111, but re-done to have fewer silly commits and also to incorporate @stggh's changes that were refusing to appear in my branch.
In addition, I changed CONTRIBUTING.md to an .rst file since this will make it easier to incorporate it into the sphinx documentation on readthedocs.org.
You can see how the new readme and contributing documents look here:
https://github.com/DanHickstein/PyAbel/tree/readme_improvements
https://github.com/DanHickstein/PyAbel/blob/readme_improvements/CONTRIBUTING.rst
And here is the readme and contributing on readthedocs:
http://pyabel-dh-fork.readthedocs.org/en/latest/readme_link.html
http://pyabel-dh-fork.readthedocs.org/en/latest/contributing_link.html
Also, the examples now appear in their own section:
http://pyabel-dh-fork.readthedocs.org/en/latest/examples.html
@PyAbel/developers, please proofread and let me know if you would like to see changes. Thanks!
Sidenote: I also did: chmod 644 abel/tests/test_*.py in order to make all of the tests not executable. nosetests doesn't run executable files, so we need to keep them not executable (except run.py) in order for the test to work.

Can anyone figure out what is going wrong with the 64-bit Appveyor build? Something to do with the Cython module. Maybe @rth can figure it out...

Merging this as IMO, the issue with AppVeyor is not introduced by this PR, but came from some minor upgrade in Conda of scipy/numpy/mkl versions. I had experiences similar issues in the past (applications failing to run on Windows with slightly different versions of scipy/numpy/mkl  without apparent resons). I will make another PR to fix this build. If cython related  issues become too time consuming, we can also consider disabling the Cython build on Windows, as at present it does not have a critical role in PyAbel.

Thanks for having a look @rth!


Working with Kubernetes Objects -- Namespaces update

This is a Feature Request
The namespaces docs under the Working with Kubernetes Objects section, https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ needs updates.

What would you like to be added

The documentation makes no mention of the rbac capabilities possible via namespaces. As the rbac manipulations are strongly tied to namespace scoping (normally they're either cluster or namespaced-scoped), the documentation of namespaces should make mention of it (although an in-depth explanation should still be in a separate document, like https://kubernetes.io/docs/reference/access-authn-authz/rbac/).
On a smaller note, showing the -n flag of kubectl to scope commands to namespaces might be good in the same document.
Why is this needed
Just more updates to the concepts documentation, as requested.
Comments

This would be a good issue for a newish contributor to pick up
/help

/language en

/priority backlog
/kind feature


Handling multiple containers per pod

Currently we are assuming one container-per-pod and getting that containerID -- handle multiple containers per pod.

Should this just listen at the specified subject paths on each container?

it should only affect shared volumes between containers

see if we can trace it back to a shared volume and then find out which containers are actively participating in that share

we'll be able to find that it's a volume because it will show up as a mount point on the root file system (aka another filesystem)


Refactor data downloader functions

The functions useBatchDownloader and useCursorBatchDownloader are not considered hooks because they do not have the requirement of another hook.
This function needs to be refactored as utils functions.

https://github.com/opentargets/platform-app/blob/main/src/hooks/useBatchDownloader.js
https://github.com/opentargets/platform-app/blob/main/src/hooks/useCursorBatchD

@carcruz Shall we close this ticket?

No, this can be part of next release


Version up

casper crates to the latest version

@deuszex Apparently I missed this PR until I was done with mine doing approx the same thing.
https://github.com/casper-ecosystem/erc20/pull/52
I did not remove Sender let me know if you want me to backport this change too.


I am experiencing a lot of problem like frequent disconnections and desync.

Product and Version [VS/VSCode]:
OS Version [macOS/Windows/Linux]:
Live Share Extension Version:
Target Platform or Language [e.g. Node.js]:
What were you doing when you encountered the desync?
How often have you encountered desyncs?

Hi, thanks for reaching out. Can you give us more details about your scenario? Also, your logs may provide us with helpful information to investigate. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue. We are tracking the issue in #3715 . So I am closing this issue as duplicate. Please attach your logs in #3715


cake-contrib user on NuGet

First of all, I wanted to thank you for adding to the Cake community by adding this addin.
I was just wondering if you had seen this blog post:
http://cakebuild.net/blog/2016/08/cake-contribution-organization
We are currently going through a process of increasing the visibility of addins, and also trying to ensure their long term maintainability.
To that end, we are asking addin creators to add the cake-contrib user on NuGet as a co-owner (this can be done through the NuGet website by clicking on Manage Owners on the package page).
Would you be interested in doing this for Cake.AWS.CloudFront? If you have any questions about this, please let me know. There was some initial concern that the Cake Team were trying to "take over" packages, and that couldn't be further from the truth, and if you have this concern, or others, I would like to address them.
Thanks!

Sure, already did it for my other package. Was just waiting to be able to further test this before going through the formalities - we aren't even using it yet. But it can't hurt to add it now.
Just added cake-contrib so I'll close this.

@enkafan perfect, thank you!


Policy: Import kubernetes UID into the policy.

Kubernetes creates a new UID per each policy, with this change the UID
is saved in the policy labels and can be used for referencing policies
for future work.
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

This change is

test-me-please

test-me-please

Coverage decreased (-0.1%) to 42.693% when pulling ca9781515034fe1bcd7d8c690600ff790afe0516 on eloycoto:UIDInPolicy into 9f0d2c4e3582b177f6559fb2866539258fe9a6d0 on cilium:master.

test-me-please

test-missed-k8s

test-missed-k8s


Add the C array optimization

Added the C array optimization. To enable this, #define USE_C_ARRAY and #undef USE_STD_VEC.

is it better to make SAFE_VECTOR_CAPACITY something like
#ifndef SAFE_VECTOR_CAPACITY
#define SAFE_VECTOR_CAPACITY ...
so that if required we can change the size using Compile time flags.

That sounds good to me. I'll commit the change.


Benchmark doesn't work anymore

http://marijnhaverbeke.nl/acorn/acorn.js -> 404

Thanks for reporting, we'll look into this shortly!

Cool :smile:


Add ssh testing support for windows

I added support for both the ssh testing done in the ssh suite and the ssh security options checked in the security suite
/cc @koln67 @jjerger

/hold

/lgtm

/unhold


astroid.exceptions.DuplicateBasesError: Duplicates found in MROs (PoolResult)

CI error
python -m pylint --rcfile .pylint aiomultiprocess setup.py

Traceback (most recent call last):
  File "/astroid/decorators.py", line 34, in cached
    return cache[func]
KeyError: <bound method ClassDef.slots of <ClassDef.PoolResult l.116 at 0x102e2f280>>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/__main__.py", line 18, in <module>
    pylint.run_pylint()
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/__init__.py", line 22, in run_pylint
    PylintRun(sys.argv[1:])
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/lint/run.py", line 349, in __init__
    linter.check(args)
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 862, in check
    self._check_files(
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 896, in _check_files
    self._check_file(get_ast, check_astroid_module, name, filepath, modname)
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 922, in _check_file
    check_astroid_module(ast_node)
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 1054, in check_astroid_module
    retval = self._check_astroid_module(
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 1099, in _check_astroid_module
    walker.walk(ast_node)
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/utils/ast_walker.py", line 75, in walk
    self.walk(child)
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/utils/ast_walker.py", line 72, in walk
    callback(astroid)
  File "/aiomultiprocess/lib/python3.8/site-packages/pylint/checkers/variables.py", line 1203, in visit_importfrom
    module = node.do_import_module(name_parts[0])
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/mixins.py", line 99, in do_import_module
    return mymodule.import_module(
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/scoped_nodes.py", line 646, in import_module
    return MANAGER.ast_from_module_name(absmodname)
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/manager.py", line 191, in ast_from_module_name
    return self.ast_from_file(found_spec.location, modname, fallback=False)
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/manager.py", line 100, in ast_from_file
    return AstroidBuilder(self).file_build(filepath, modname)
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/builder.py", line 139, in file_build
    return self._post_build(module, encoding)
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/builder.py", line 159, in _post_build
    self.delayed_assattr(delayed)
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/builder.py", line 235, in delayed_assattr
    if not _can_assign_attr(inferred, node.attrname):
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/builder.py", line 60, in _can_assign_attr
    slots = node.slots()
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/decorators.py", line 36, in cached
    cache[func] = result = func(*args, **kwargs)
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/scoped_nodes.py", line 2838, in slots
    slots = list(grouped_slots())
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/scoped_nodes.py", line 2823, in grouped_slots
    for cls in self.mro()[:-1]:
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/scoped_nodes.py", line 2909, in mro
    return self._compute_mro(context=context)
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/scoped_nodes.py", line 2898, in _compute_mro
    unmerged_mro = list(clean_duplicates_mro(unmerged_mro, self, context))
  File "/aiomultiprocess/lib/python3.8/site-packages/astroid/scoped_nodes.py", line 110, in clean_duplicates_mro
    raise exceptions.DuplicateBasesError(
astroid.exceptions.DuplicateBasesError: Duplicates found in MROs (PoolResult), (_GenericAlias, _Final, object), (_GenericAlias, _Final, object), (_GenericAlias, _GenericAlias) for <ClassDef.PoolResult l.116 at 0x102e2f280>.

Hi @jreese ,
This PR solves the issue by fixing version of astroid to 2.4.2.

Looks like astroid==2.5.1 also fixes this.


Crash in ig9icd64.dll on intel 630 (and similar) gpu in 64bit windows 10

Similar to #16310
Godot version:
3.0.6-official-64bit

OS/device including version:

Intel 630 windows 10 64bit
Issue description:

Exported project would crash with no message (eventually found it was an access violation in driverland)
Seems like it's related to viewports?
Here is a stack trace from a custom build of 3.0.6 win64
>   godot.windows.tools.64.exe!RasterizerStorageGLES3::_render_target_allocate(RasterizerStorageGLES3::RenderTarget * rt) Line 6444 C++
    godot.windows.tools.64.exe!RasterizerStorageGLES3::render_target_set_flag(RID p_render_target, RasterizerStorage::RenderTargetFlags p_flag, bool p_value) Line 6551 C++
    godot.windows.tools.64.exe!VisualServerViewport::viewport_set_usage(RID p_viewport, VisualServer::ViewportUsage p_usage) Line 573   C++
    godot.windows.tools.64.exe!VisualServerRaster::viewport_set_usage(RID arg1, VisualServer::ViewportUsage arg2) Line 468  C++
    godot.windows.tools.64.exe!VisualServerWrapMT::viewport_set_usage(RID p1, VisualServer::ViewportUsage p2) Line 395  C++
    godot.windows.tools.64.exe!Viewport::set_usage(Viewport::Usage p_usage) Line 2517   C++
    godot.windows.tools.64.exe!MethodBind1<Viewport,enum Viewport::Usage>::call(Object * p_object, const Variant * * p_args, int p_arg_count, Variant::CallError & r_error) Line 815    C++
    godot.windows.tools.64.exe!ClassDB::set_property(Object * p_object, const StringName & p_property, const Variant & p_value, bool * r_valid) Line 1030   C++
    godot.windows.tools.64.exe!Object::set(const StringName & p_name, const Variant & p_value, bool * r_valid) Line 422 C++
    godot.windows.tools.64.exe!SceneState::instance(SceneState::GenEditState p_edit_state) Line 253 C++
    godot.windows.tools.64.exe!PackedScene::instance(PackedScene::GenEditState p_edit_state) Line 1682  C++
    godot.windows.tools.64.exe!SceneState::instance(SceneState::GenEditState p_edit_state) Line 138 C++
    godot.windows.tools.64.exe!PackedScene::instance(PackedScene::GenEditState p_edit_state) Line 1682  C++
    godot.windows.tools.64.exe!SceneState::instance(SceneState::GenEditState p_edit_state) Line 138 C++
    godot.windows.tools.64.exe!PackedScene::instance(PackedScene::GenEditState p_edit_state) Line 1682  C++
    godot.windows.tools.64.exe!SceneState::instance(SceneState::GenEditState p_edit_state) Line 138 C++
    godot.windows.tools.64.exe!PackedScene::instance(PackedScene::GenEditState p_edit_state) Line 1682  C++
    godot.windows.tools.64.exe!Main::start() Line 1685  C++

Steps to reproduce:
Export your project which uses viewports to render 2d content in 3d (e.g. gui in 3d demo project (unconfirmed)) as a win64 executable
Minimal reproduction project:
Will try to provide later.

similar reports on intel forums:
Reports that drivers after <IP_ADDRESS>27 cause issues
https://communities.intel.com/thread/122845?start=15&tstart=0

The most concerning party is that the access violation goes unreported and I had to hook up a debugger to determine why the exported package was quitting with no error message

Leaving this one open, but there's nothing we can do to fix it apart from dropping the GLES3 renderer...
Intel drivers > 21 are indeed broken on Windows, as seen also in #23069.

There must be a way to catch the access violation and print it instead of exiting silently?

For future historians, windows did in fact create a crash dump in %localAppData%\CrashDumps

may be fixed by the 26 series drivers from intel.

@jamie-pate Thanks for updating! Im going to close this as it isn't an issue that we can help resolve. But please do keep everyone up to date if the driver is fixed in the future. :)


Fixed type "uss css3" to "use css3" in two places.

Manually resolved in mustache template in 2.0.1-wip.


I'm a noob

Hi, I don't know programming. When I open the Ikabot I write my e-mail, and "Pasword:" appears, but it doesn't let me write it... Any way to fix it?

Your password doesn't show for security reasons, but is actually being written.
Type your password, press enter and you will see that you enter to your account.


fix: support host local network

What this PR does / why we need it:
fix: support host local network

Does this PR need to be backport to the previous release branch?:
NONE

/cc @zexi @wanyaoqi

/area region
/area host


style(frontend): change style of transaction icon

Motivation
Changing border and background of transaction icon.
Changes
Before

After

Duplicate of:

PR #3511


After upgrading Tailwind to V3.0 (Modal not rendering)

Hello,
Modal is not rendering after upgrading Tailwind V3.0.5.
Any quick solution?
Thanks,

Hi @phaiderh
I'm unable to reproduce this issue.
If you can share a repository with a fresh install of Laravel and Tailwind where the issue is reproduced I can take a further look.


C# file name is case sensitive for custom plugin script but IDE doesn't raise error

Godot version
4.0.beta5.mono
System information
MacOS 13.0.1 (22A400)
Issue description
I've a plugin named pgm and has a custom node with path res://addons/pgm/ProceduralGenerationMap.cs.
For the plugin entry code, I use a wrong path res://addons/pgm/proceduralGenerationMap.cs where I use a lower case for the p. The IDE won't load the custom node correctly but it doesn't throw any errors or warnings. The custom node will be treated as a common Node with a wrong path.

After I correct the path everything works fine.

Steps to reproduce
N/A
Minimal reproduction project
#if TOOLS
using Godot;

[Tool]
public partial class ProceduralGenerationMapPlugin : EditorPlugin
{
    public override void _EnterTree()
    {
        var proceduralGenerationMapScript =
            GD.Load<Script>("res://addons/pgm/ProceduralGenerationMap.cs");
        var proceduralGenerationMapLogo =
            GD.Load<Texture2D>("res://addons/pgm/procedural_generation_map_logo.svg");
        AddCustomType("ProceduralGenerationMap", "Node", proceduralGenerationMapScript, proceduralGenerationMapLogo);
    }

    public override void _ExitTree()
    {
        RemoveCustomType("ProceduralGenerationMap");
    }
}
#endif

Is your macOS installation configured to use a case-sensitive filesystem? This is not the case on recent installations, but it might be if you installed it yourself.

@Calinou No I didn't change anything for the system. As you can see my filesystem is case-insensitive. So I thinks it's the issue with Godot.

I'll get errors if I specify a file name that actually doesn't exist.


Update to Swift 4.1.2 and enable Jazzy generation

Add JAZZY_ELIGIBLE tag to Travis to enable doc generation
Update .swift-version to 4.1.2, and add Travis builds for 4.0.3
refresh API doc

Codecov Report

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

@@           Coverage Diff           @@
##           master      #50   +/-   ##
=======================================
  Coverage   79.89%   79.89%
=======================================
  Files           3        3
  Lines         199      199
=======================================
  Hits          159      159
  Misses         40       40

Flag
Coverage Δ

#CredentialsHTTP
79.89% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Heart rate sensor accuracy/confidence

I have tried comparing the internal sensor with a cheap external one. The external one is also optical and worn on the upper arm.
The results look as follows when ignoring 0 values:

track_stairs.csv
(Going up and down stairs between 11:57 and about 12:22, to get some decent movement)
It seems high confidence correlates to similar results between both sensors, but there is a lot of time where confidence is 0. What exactly is the confidence value reported?
Is there untapped potential in the heart rate sensor? Correction via accelerometer or something like that?
It seems the correlation between both sensors is much higher during low movement times (e.g. sleep).
I will try to get my hands on an EKG based sensor to compare that too.

Well, yes, you could probably scrape a bit more data from the heart rate sensor. It's good that the confidence does seem to be a pretty good indicator though.
Confidence: I can't remember the numbers exactly but: we have list of the last 10 heart rate readings, and when 70% of them are within 10% of each other, confidence is 100. As they move away from that, confidence drops.
The HRM's algorithm (which is a binary blob) does use accelerometer data, but I'm not 100% sure how since it's binary. Right now we don't use that algorithm because I'm trying to keep things open, but a new algorithm (or using the binary blob) would likely help a lot if someone were willing to put the time into it.

Can the binary blob be loaded through javascript? Maybe an optional app loading the blob would be a stopgap alternative to integrating closed stuff into the firmware image.

it's a thought... It might be possible to do, but it's not going to be easy

The confidence is =0 on my watch almost all the time, too.

I have done a track overnight:

Confidence looks a lot better and until actual movement started, both sensors deliver very similar curves.
It seems to me that the internal sensor mostly underestimates heart rate when movement is happening. If I actually move the watch relatively to my skin, there are vastly overestimated heart rates.
Maybe it would be possible to just multiply the heart rate with some derived from the accelerometer to fix the underestimates and "fix" the overestimates by setting the confidence to zero if the correction value is too big.

Thanks - if anything it looks from your last two graphs like confidence is too 'unconfident'?
I'm not sure if it's going to be quite as easy as just multiplying the HRM value. Potentially what we could do is what we did for the step counter: Make an app that logs every HRM value alongside accelerometer and the HRM from a second device which we trust.
Then when we've got a bunch of data from different people we can try different algorithms and see what works best, but in a more scientific, quantifiable way.
How are you logging the data? It sounds like you're pretty much there (although I guess the HRM/accelerometer data needs to be logged in a more fine-grained way).

For these graphs I used the recorder app. I have done some experiments with recording every event, but my csv file keeps getting some lines mixed.

I have done some code for running with the IDE to record more detailed data than the recorder app does: gist
This records every event by default but can be limited to maxSize accelerometer events before every HRM event to keep the file size manageable.
This yields data looking something like this (about 80 seconds and 360KiB in this case):

I can put this into an app, if that helps with analysis.

Thanks! This is really helpful! Recording straight from the Web IDE is a good plan - I guess it limits options for recording while running or outside, but even without that this data looks like it'd be a massive help for better heart rate recording. In terms of data size, this would all be for the PC so in a way the more data the better :)

It looks like the filtered HRM value is actually pretty clean when there's no movement, so we should really be able to pick up a more accurate, higher confidence value much more quickly than we do currently.
The HRM adjusts the LED brightness so that the light sensor reading stays within range (which is why the raw HRM value ends up clipped - see below about recording). Maybe we could get useful info while it's adjusting, but also it feels like it should be able to adjust far more quickly than it does now.

Only things I'd say about the recording are:

ACCm/ACCd aren't really needed because they are just calculated from the accelerometer - might save a bit of bandwidth
HRM-raw's ppgValue would be super helpful instead - because ppgValue is 'windowed' to 8 bits for the HRM filtering it's possible there is some extra data we could extract by doing that windowing differently (or not at all).

Have you seen https://github.com/gfwilliams/step-count ?
If we could stick all that HRM data into a repository like that, and we can compile in heartrate.c from the Espruino repository then we can start changing the code and doing some proper experiments.

I have done some experimenting with putting my code in a custom app:
https://halemmerich.github.io/BangleApps/#hrm acc
As soon as every event type has been seen once, recording starts and the Bangle switches from full screen red to green.
I could not find ppgValue my HRM-raw events, so I tried with vcPPG and vcPPGoffs. Are these the correct raw values?
This now yields this data:

I have looked at the step-count repo, but did not yet try it out. It it a good idea to get some data together for experimenting with algorithms.

Hi, yes, sorry - vcPPG is what you need. vcPPG-vcPPGoffs==raw so you can ignore vcPPGoffs as we should be able to work that out later

Some threads on this on the forum but we're using a binary manufacturer-provided algorithm now which does seem to do a much better job.


[WIP] Refactor/plugins

refactored the plugins to use pluginbase and apply a default if not found.
WIP: still need to add docs and unittests

@sijis I made policies-path optional, and I also renamed the arguement to policies-path instead of plugin-path so that it is more clear what it is searching for. I am going to refer to the plugins as "policies" throughout the code so that their function is clear


Improved backend

Hello,
I just wanted to post a link to my new repository.
pico_edit
It's a fork of pico_edit.
I changed the UI to make it mobile friendly. Also I added and removed some features.
Feel free to have a look at it.

Thank you for letting us know @AndiLeni, great work! 👍
You can add your fork to the plugins page of our Wiki to promote it. Optionally you can also take look at the Submission Guidelines of our website.

I've added your plugin to https://github.com/picocms/Pico/wiki/Pico-Plugins. Thanks again @AndiLeni!


Fix: Some data may be ignored when loading objects from .obj

It seems like the current version of the loader has a bug, because of which some objects may be skipped while loading an .obj file.
 Then, the usemtl follows, and because the material is changed, the current prim_group is written to the current shape via the call to exportGroupsToShape at line 2324.
After that, a new object, o Plane is encountered, and the exportGroupsToShape is called again, now at line 2439. But this time the prim_group is already empty since it was dumped to the shape already. Because of that, exportGroupsToShape returns false. And the next if (ret) check ignores the fact that there's some data in the shape already, and skips adding the shape to the shapes collection. This way, the data which was already parsed and stored in the current shape is simply ignored.
I propose to do the same as it is already in the code processing groups: ignore the return value of the last exportGroupsToShape call, and check the shape content instead to decide whether to add it to the shapes or not.

Super awesome! Thanks! merged!

FYI, I have added regression test for this PR #235 https://github.com/syoyo/tinyobjloader/commit/fb079b750327c22031b48f4388fccff185fe8163

Many thanks for the ultrafast merge, for the feedback, and for the entire tinyobjloader!


feat: Move the _sphinx directory to flame-docs-site

Description
This is an intermediate solution to have the docs site not being tied to Flame tags.
It just moves the _sphinx directory to the flame-docs-site repo and then copies it in place every time it generates the docs for a tag.
https://github.com/flame-engine/flame-docs-site/pull/5
Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples.

Breaking Change

[x] No, this is not a breaking change.

Related Issues
Related to #1768, but we will probably be able to come up with a better solution in the long run.

But how would this process work if this directory is moved to another repo?

It will work the same as today, but instead of using the _sphinx directory from the checked out tag, it will use the latest _sphinx directory for all versions. See this PR: https://github.com/flame-engine/flame-docs-site/pull/5
I think it makes sense to separate the styling and functionality of the docs site from the actual content, because today if we get a bug in the functionality of the docs site that tagged version will always have that bug.

It will work the same as today, but instead of using the _sphinx directory from the checked out tag, it will use the latest _sphinx directory for all versions.

I still don't get it. Currently, in order to develop documentation (and be able to see the results), one would need to:

git clone flame repository (once)
cd into doc/_sphinx
pip install from the requirements file (once)
run make html
open the generated index.html file in the browser

But if the folder is in another repository, then what? How would the development process look like?

But if the folder is in another repository, then what? How would the development process look like?

We can have a melos target that sets all that up, including pulling down the other repo.
If you have a better idea for how to separate them I'm all ears! Currently we're stuck with our latest released version not having searchable docs and we have to have a way to fix bugs in the functionality of the docs which doesn't only apply to main and future versions.

What do you think about the following:

No changes in this repository

Then, in the flame-docs-site repository we modify the publish.sh script to add the following steps:
tmp_sphinx_copy = $tmp_flame_src/../sphinx-copy

function main() {
  ...
  git clone https://github.com/flame-engine/flame.git $tmp_flame_src
  cd $tmp_flame_src

  # NEW:
  git checkout main
  cp -rf doc/_sphinx $tmp_sphinx_copy

  ...
}

function generate() {
  version=$1
  ...
  cd $tmp_flame_src
  git checkout -f $version

  # NEW
  rm -rf doc/_sphinx
  cp -rf $tmp_sphinx_copy doc/_sphinx

  ...
}

This way you always get the latest _sphinx when building a particular branch, but the development process in the flame repository is not affected.

I guess we could also keep it where it is, but only use the main _sphinx directory for all tags when we publish, then the current workflow would be kept.

What do you think about the following:
1. No changes in this repository

Then, in the flame-docs-site repository we modify the publish.sh script to add the following steps:
tmp_sphinx_copy = $tmp_flame_src/../sphinx-copy

function main() {
  ...
  git clone https://github.com/flame-engine/flame.git $tmp_flame_src
  cd $tmp_flame_src

  # NEW:
  git checkout main
  cp -rf doc/_sphinx $tmp_sphinx_copy

  ...
}

function generate() {
  version=$1
  ...
  cd $tmp_flame_src
  git checkout -f $version

  # NEW
  rm -rf doc/_sphinx
  cp -rf $tmp_sphinx_copy doc/_sphinx

  ...
}

This way you always get the latest _sphinx when building a particular branch, but the development process in the flame repository is not affected.

Haha, you must have posted that just seconds before me. Let's go with that then.


Unable to run a new app or upgrade an existing app due to seabolt driver not found.

Additional information which could be helpful if relevant to your issue:
Code example (inline, gist, or repo)
Runtime information:
Neo4j database version:
neo4j gem version:
neo4j-core gem version:

Please follow https://github.com/neo4jrb/neo4j-ruby-driver/blob/master/README.md