SDK-Can not getContractList when deploy contract use GASLESS.

When i deploy contract with network GEORI and success.
Then I use method const list = await sdk.getContractList(currentAddress) to get all List contract .
I get the result that no contracts can be found deployed using gasless and using a regular wallet is successful.
I tested with RINKEBY network, it was successful and no error
Can you help me to test GEORI network and mainnet networks.

Deploying gasless-ly is dangerous because the deployer can be the gasless relayer. This is probably why you're not seeing the contracts in the contract list of the original caller. The deployer address is probably your relayer

@joaquim-verges
Oh i see, ie it will be deployed with the wallet registered in openzeplin. So how when a customer uses gasless to sign a contract but uses gasless, the customer is still the owner of that contract. Do you have any workarounds?
Thank you

The way it works for gasless tx is that on the relayer (like OZ defender) we use a Forwarder contract to propagate the address of the caller to the target contract. That works for regular contract calls, which can then read that original caller address, but it doesn't work for direct deploys, since those cannot extract the original caller address. It is possible to make it work using a Factory contract to deploy the contracts though


Respond to seppuku too

Inspired by @dissolve on IRC.

Fixed the misspelling :thumbsup:

Fixed the failing test too but... I really feel like that's not good design. The test is essentially a poor man's smoketest and doesn't actually assert anything useful about the behavior. Plus it's needlessly coupled to implementation.

Agreed re: the testing, would gladly accept a PR with expanded test cases 👍

@wpears thanks for merging! Don't have the bandwidth right now unfortunately, but filed #2 to track it :/


Loading screenshots from custom directory to xml reports

The path to a screenshot is now written to the xml, not just the file name.

Generated reports

Generated reports

Added support for fail screenshots. Example report with custom screenshot directory:
target.zip

Generated reports


feat:[PIPE-14906]: Show exections triggered by git events in my execution page

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

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

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

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


Is it possible to change the expression of a face in the generated model?

For example, if the photo has a smiling expression, I would like it to generate a standard expression without smiling, is this possible? Or is there another repository that can help me achieve this?

Including some times the eyes of the person in the photo will be half closed, and the generated eyes will be smaller. I want to make it open, can I do that?

you could try playing with coef_dict['exp'][0] in compute_for_rende() in bfm.py file for this. try changing some values and observe how you want expression to change.


Web security docs for MDN

Problem statement
The existing web security docs on MDN don't have a clear organization:

Proposed solutions

Define a high-level organization for web security docs on MDN, mapping to developer needs.
Write docs that can help developers secure their sites.

Task list

[ ]

Priority assessment

Effort: medium
Dependencies: having expert review
Community enablement: as expert reviewers
Momentum: aligns with W3C efforts to improve web security
Enabling learners: everyone should benefit from this
Enabling professionals: everyone should benefit from this
Underrepresented topics / Ethical web: n/a
Operational necessities: no
Addressing needs of the web industry: yes

More information
No response

Draft outline: https://docs.google.com/document/d/1p1GtjmTd1uQrO2PRb_uUflAfQpEsfs7hBaopYeuoPMM/edit.


⚠ Bofrost.at has degraded performance

In f04d1e5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2008 ms

Resolved: Bofrost.at performance has improved in e8f139a.


element-resize-detector not removed correctly on componentWillUnmount

I'm using this library in a react-router application and I have issues when using several detectors in different routes. On the first route, resize events are sent but when I go on a new route, then the library don't send the dimensions anymore.
After a bit of investigations, I found that the element-resize-detector needs to be uninstall on componentWillUnmount since it is instantiated on each componentDidMount. (See https://github.com/wnr/element-resize-detector#uninstallelement).
This block should be replaced by:
 componentWillUnmount() {
    this.elementResizeDetector.uninstall(this.parentNode)
}

Then, everything works properly in React Router...
Do you want me to submit a Pull Request for this?

Oh that would be great. I was sure that removeListener is enough. Please submit a PR and some tests.

I'm very new to React and have never written tests for it, what would you test then?

I would write a test that should check if the this.elementResizeDetector is properly uninitialized. Check out the existing tests and try it out. If you have question, please don't hesitate to reach out to me and I'll try to help!

How do you test that this.elementResizeDetector is properly uninitialized?
I have try to simulate my issue in tests by mounting/unmounting twice, but I couldn't break it...

Actually, I tried to duplicate this test and I found out it was broken.
Indeed, if you remove the 2 .css() calls, the test still passes which is wrong.
I found this because I was actually surprised that the "calls onResize on mount" passed while I was seeing the onResize callback called twice on mount in my application. Indeed, this code shows that the element-resize-detector already calls the listener on add by default.

@ValentinH can you fix the test?

Yes I can. Just need to see what should be the correct behavior. 3 solutions:

we don't change the current behavior, that means that onResize() is called twice on load.
we instantiate the elementResizeDetector with the ̀callOnAdd: falseoption and we keep callingthis.onResize()onmount`.
we remove the this.onResize() call on mount and let the elementResizeDetector do it.

I prefer solution number 2 instead of 3 because we know when it's called (easier to test) while with solution 3 we need to use setTimeout() in test to ensure it's called.

It seems it's not possible to test with the jsDOM so I've removed the test completely.

OK, but still the current behavior is a bit broken because onResize is called twice on load due to what I explain above. Do you think I should fix this? If yes, which solution do you prefer?

Oh I didn't know there is such option :) Option 2 would be great! I'll revert my commit with the test removal then.

@ValentinH there is #9 FYI

Indeed, you are right, this is exactly how I modified the test to understand the issue :)


It works very slow, even it doesn't even work

Describe the bug
I developed the app based on its documentation and when using the scanner I do not receive an answer, that is, it does not read and when it comes to reading it takes more than 3 minutes with the immobile device but it is only times, 1 of 10 attempts, the codes are printed and is well focused
To Reproduce
Steps to reproduce the behavior:

Click on 'floating action button'
the screen apper.
i give permission
i dont recibe anserw.

Smartphone (please complete the following information):

Device: [Motorola E4 plus]
OS: [Android 7.1.1]

Additional context
I test with others version but the issue is the same

Hello,
I was not able to reproduce this issue at my end.
V1.0.0 has been released, can you try it on the latest and confirm the same?

Is this issue resolved?

yes, apparently the problem was the device I used to test, thanks for the follow-up


migrate to new IDE

fully migrate to new IDE UI
fix multi tab issue

          1 Warning

:warning:
Big PR, try to keep changes smaller if you can

  Generated by :no_entry_sign: Danger

          1 Warning

:warning:
Big PR, try to keep changes smaller if you can

  Generated by :no_entry_sign: Danger


Support for CBERS-4A

Hi,
I'm working on ingesting CBERS-4A images to AWS and extending rio-tiler-pds. Will open a WIP PR in a few moments to allow you to discuss, if desired, the subject while it being developed.

thanks @fredliporace 🙏


allow big contents from error output in marvin tests

Description
This PR fixes error output for marvin tests not being generated if CDATA contains too much text.
the tests test_multiple_subnets_in_isolated_network_rvr.py and test_multiple_subnets_in_vpc_rvr.py from the component tests would crash tools/xunit-reader.py without it.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

generating cli output in a component test log dir with only the failing output (of successfull tests:
without the fix:
# python3 /marvin/tools/xunit-reader.py MarvinLogs_err/

Test | Result | Time (s) | Test File
--- | --- | --- | ---
Traceback (most recent call last):
  File "/marvin/tools/xunit-reader.py", line 111, in <module>
    main()
  File "/marvin/tools/xunit-reader.py", line 40, in main
    exit(parse_reports(file_path_list))
  File "/marvin/tools/xunit-reader.py", line 84, in parse_reports
    for event, elem in data:
  File "src/lxml/iterparse.pxi", line 209, in lxml.etree.iterparse.__next__
  File "src/lxml/iterparse.pxi", line 194, in lxml.etree.iterparse.__next__
  File "src/lxml/iterparse.pxi", line 229, in lxml.etree.iterparse._read_more_events
  File "src/lxml/parser.pxi", line 1384, in lxml.etree._FeedParser.feed
  File "src/lxml/parser.pxi", line 606, in lxml.etree._ParserContext._handleParseResult
  File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc
  File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult
  File "src/lxml/parser.pxi", line 654, in lxml.etree._raiseParseError
  File "MarvinLogs_err/test_multiple_subnets_in_isolated_network_rvr.py.xml", line 6
lxml.etree.XMLSyntaxError: internal error: Huge input lookup, line 6, column 98

and in python2
# python2 /marvin/tools/xunit-reader.py MarvinLogs_err/

Test | Result | Time (s) | Test File
--- | --- | --- | ---
Traceback (most recent call last):
  File "/marvin/tools/xunit-reader.py", line 111, in <module>
    main()
  File "/marvin/tools/xunit-reader.py", line 40, in main
    exit(parse_reports(file_path_list))
  File "/marvin/tools/xunit-reader.py", line 84, in parse_reports
    for event, elem in data:
  File "src/lxml/iterparse.pxi", line 209, in lxml.etree.iterparse.__next__
  File "MarvinLogs_err/test_multiple_subnets_in_isolated_network_rvr.py.xml", line 6
lxml.etree.XMLSyntaxError: internal error: Huge input lookup, line 6, column 98

with the fix :
# python3 /marvin/tools/xunit-reader.py MarvinLogs_err/

Test | Result | Time (s) | Test File
--- | --- | --- | ---

or
# python2 /marvin/tools/xunit-reader.py MarvinLogs_err/

Test | Result | Time (s) | Test File
--- | --- | --- | ---

Closed/reopened PR to rekick Travis

Travis has passed, merging this.


New package: Genivia.ugrep version 4.2.0

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error


MSI support for boxedwine

It would be nice if there was support for .msi files to be used in boxedwine.

I'll keep this in mind as a feature request but at the moment msi files do not work in BoxedWine afaik. A new release is coming next year that may have more support for more things. https://github.com/danoon2/Boxedwine/issues/45#issuecomment-1279992581


Consequences of renaming the GitHub account used to sign into cla-assistant?

URL to the linked Repo/Org:  https://github.org/folio-org
For historical reasons, we started with @folio-org-cla as the account tied to the cla-assistant system.  The FOLIO project, though, has become part of a bigger effort—the Open Library Foundation—and we would like to widen the scope of our use of cla-assistant to cover the other projects in the foundation.  Do you know what the effect on current signators would be if we renamed folio-org-cla→olf-org-cla?  Would we lose access to the current list of signators?  Would current signators be asked to re-sign?  (Any other gotchas I might be missing?)

This shouldn't be a problem as far I know. We have an issue with renamed accounts, that the user's "old" signatures doesn't get recognized if s/he opens a PR with changed name...
In your case, this is irrelevant, because @folio-org-cla doesn't open any PR in it's name :) The list of signators is not connected to the user, who has set up CLA, hence there won't be any implications on the signatures or linked lists. The only possible side effect I can imagine is that you will need to provide the authorisation scopes on CLA assistant again (just log into the CLA assistant and provide authorization scope for the orgs as well, if needed).

Thank you for the quick reply.  That gives me confidence to give it a try and report back if there are issues.


Create a branch for each Java version

Should we do that?
Question: will conda forge upload packages again?

Done


Added Detailed CONTRIBUTING.md

Thanks @aslams2020 for assigning me this issue.

Fixed Issue #49

Please merge this PR

Add the link to CODE OF CONDUCT , from the repo

Hey @aslams2020 I have fixed it you can merge now!


Multiple Vue apps mounted cause empty devtools on Chrome

Vue devtools version
6.6.1
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-wh3but?file=package-lock.json
Steps to reproduce & screenshots
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'

const app = createApp(App)
const app2 = createApp(App)

app2.mount('#app2')

await new Promise((resolve) => {
  setTimeout(() => {
    app2.unmount();
    resolve('Loading completed')
  }, 5000);
});

app.use(createPinia())
app.mount('#app')

Open Chrome developer console and refresh your page.
Take a look at the Pinia/Vuex tab (it's empty)

What is expected?
Opening Chrome developer console, going to the Vue devtools should show the entries of the Pinia/Vuex store immediately.
What is actually happening?
Devtools is showing empty Pinia/Vuex store. I have to close the developer console (f12) from Chrome and reopen the developer console to see the Pinia/Vuex store entries.
System Info
The problem occurs on Chrome. On Firefox this does work normally.
[Version 1.65.114 Chromium: 124.0.6367.60 (Official Build) (64-bit)](https://brave.com/latest/)

Any additional comments?
No response

I have this issue too:

I find a hack solution: umount App beforeunload:
window.onbeforeunload = () => {
  console.log('onbeforeunload 卸载 App');
  app.unmount();
}

I find a hack solution: umount App beforeunload:
window.onbeforeunload = () => {
  console.log('onbeforeunload 卸载 App');
  app.unmount();
}

Thanks a lot for your help/hack. However for me it doesn't work. Probably because my situation is not exactly the same as described above. I also have multiple plugins that mount as apps and keep running and are not "unmounted".


Rabbit home stats + enabling Process Metrics

I'm interested to get some stats about what's visible here:

File descriptors: value process_open_fds / max process_max_fds
Socket descriptors: ???
Erlang processes: value erlang_vm_process_count / max erlang_vm_process_limit
Memory: value sum by (instance) (erlang_vm_memory_bytes_total) / max ???
Disp Space: value ??rabbitmq_queue_disk_size_bytes?? / max ???

Have I missed something or is it not possible to get all of these data?
Also in your description you mention:
Process Metrics
(Process info collector must be enabled)

Could you describe how to enable the process info collector?
Finally, I think there's a typo in the image: https://camo.githubusercontent.com/c33c1c497eba9a4125b2c84fb1c89ee9972be12c/687474703a2f2f692e696d6775722e636f6d2f745769447735362e706e673f31
Bottom left "Virtual Memory"

I don't know what socket descriptors is, but the rest of the metrics is there. All you need is to enable prometheus_process_collector plugin (you can download it in the Releases section) which is currently Linux-only.

Hello Guys,
This is my first experience with this and i have questions, where may I go to post questions regarding the plugins and what they actually?
Thanks,


[ISSUE #3338]Add OpenmessageGrpcProduder implemention in sdk-java

Fixes #3338
Motivation

Add OpenmessageGrpcProduder implemention in sdk-java

Modifications

Add OpenmessageGrpcProduder implemention in sdk-java

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Codecov Report
Attention: Patch coverage is 53.10345% with 68 lines in your changes are missing coverage. Please review.

Project coverage is 13.96%. Comparing base (91aab4d) to head (6406574).
 Consider uploading reports for the commit dabadff to get more accurate results

Files
Patch %
Lines

...h/client/grpc/producer/OpenMessageGrpProducer.java
13.63%
38 Missing :warning:

...ventmesh/client/grpc/util/EventMeshClientUtil.java
80.95%
6 Missing and 10 partials :warning:

...sh/client/grpc/producer/EventMeshGrpcProducer.java
10.00%
9 Missing :warning:

...sh/storage/pulsar/consumer/PulsarConsumerImpl.java
25.00%
3 Missing :warning:

.../storage/knative/consumer/KnativeConsumerImpl.java
50.00%
1 Missing :warning:

...standalone/consumer/StandaloneConsumerAdaptor.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3862      +/-   ##
============================================
+ Coverage     13.77%   13.96%   +0.19%
- Complexity     1290     1307      +17
============================================
  Files           571      572       +1
  Lines         29129    29267     +138
  Branches       2837     2863      +26
============================================
+ Hits           4012     4087      +75
- Misses        24745    24797      +52
- Partials        372      383      +11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Revert "Rac 1984 node/id/workflow returns appropriate response codes"

Reverts RackHD/on-http#551
CI Test failure http://rackhdci.lss.emc.com/job/ContinuousFunctionTest/192/
@lacarb you could resubmit another PR and also include related test cases fix.
@RackHD/corecommitters

test this please

:+1:


Could not grab summoner info. Try restarting your League Client.

Screenshot

Description (if necessary)
I did restart my League Client then tried it again. Same thing.
Version
1.5

@corysimmons Is the account you are currently logged in with relatively new (created Nov '23 and after)?
I'm thinking this might be related to the way I check for a valid response from the client and its interaction with the Riot ID changes.

Yes I think it was made slightly after that.

@corysimmons I just released v1.6.0 which fixes this issue.

It works, thank you!


checkbox is selected when clicking outside label/input

odd behaviour with the checkbox, observed by our QA. When you click to the right of the checkbox much further to the right of the page the checkbox can be selected / deselected. this results in accidental selection

Ah nice spot, classic one this - need to use display: inline-block; here: https://github.com/UKHomeOffice/govuk-react/blob/master/components/radio/src/index.js#L13
We can add a quick fix for this, but, we might also be able to fly through all the form elements next week also. If anyone needs something immediately this would work;
import styled from 'react-emotion';
import Radio from '@govuk-react/radio';

const RadioField = styled(Radio)({
  display: 'inline-block',
})


[Executor] Use Obj-C API in toggleProfilingFlag

Uses the Obj-C API to set a global flag for whether or not profiling is active.

@AaaChiuuu would you mind taking a look at this pull request? It's been a while since the last commit was reviewed.

Feel free to close this if the Obj-C is going away in favor of C++.

@ide This PR got forgotten about because we didn't have the blame bot back then. Do you still plan to rebase this or should we close?

@mkonicek is the plan to still move the core from Obj-C to C++? If so I'll close this PR and won't bother with rebasing.

@ide Yes the bridge is being rewritten in C++.


After the (probably) github update text is not visible anymore

I assume today github released some css update and theme doesn't work properly anymore. Screenshot is attached as an example.
I use latest version of userstyle for Stylus with autoupdate turned on.

https://github.blog/changelog/2023-03-28-light-and-dark-theme-color-contrast-improvements/

Fixed with 92dc5f9


Don't add docstrings from base views, if it's not overriden by user defined views.

By now, such things could happen, which shouldn't exist.
http://joxi.ru/Dr8PGWh4PpXBr6

Resolved


[REQUEST] Update IronPython

Updates for iron python to version 3
https://github.com/IronLanguages/ironpython3

I hope this will be implemented in the near future ! highly demanded

has it been added yet ?
I am waiting too
telegram channel: @configscombos2024


rocketchat-desktop: init at 3.5.7

Motivation for this change
Things done
Packaged rocketchat-desktop Electron app. Took atom package as a reference

Built on platform(s)

[ x ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Basic evaluation check fails...

#142193


[Do Not Merge] Triton mlir ext dep fix

I'm going to leave this PR open, as we need to solve the libhsa-runtime64.so problem before we are fully merged.  Until then we need to rely on ROCm being installed prior to executing.  Since that's a requirement, I also want to sort out a potentially better way of bringing with the header files, as we are currently at 16 of them, for only needing the hipModuleLaunchKernel

Closing as we're working to merge in #190 and #195


Week 4 handout and lecture

It might be nice to add the script.optimize.minimize stuff to the handout, instead of it being just a demo
Pinging #4

reorder complete but need to add more on rotation matrices and tracebacks

and TDD exercise


Gaussian: basis set from checkpoint file

Add a first coverage for basis sets extracted from a Gaussian checkpoint file, as "see previous calculation".
https://gaussian.com/chkbasis/

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.039%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
35713

Relevant Lines:
38385

💛  - Coveralls


Accessing the deserialized name of a struct field from a different proc macro

I'm curious if there are any publicly exported functions or libraries, for use by other proc macros, to determine what serde will use as the name of a struct field when serializing/deserializing. I'm contemplating writing a library that will use a proc macro to derive a trait that is dependent on how serde is going to deserialize the struct. I figure I can copy/paste the necessary bits from the current serde implementation, but I wanted to make sure there aren't any better alternatives as this seems like something other proc macros may have already done.
For a bit of background. I'm thinking of making a client library for the google drive api. Like many api's the gdrive api has a method for specifying in the request what attributes should be included in the response. Most of the current client libraries deal with this by creating a response object that contains all attributes as Option's and only populating the fields the response contains. What I would like to do is have the user of the library define structs that specify what attributes they need and then automatically generate a proper request selector to include only those arguments. This should provide a more ergonomic and safer api.
As an example of what I would like to be able to do.
#[derive(Deserialize,DriveSelector)]
#[serde(rename_all="camelCase")]
struct Response {
        next_page_token: String,
        files: Vec<File>,
}

#[derive(Deserialize,DriveSelector)]
#[serde(rename_all="camelCase")]
struct File {
        id: String,
        mime_type: String,
        sharing_user: UserInfo,
}

#[derive(Deserialize,DriveSelector)]
#[serde(rename_all="camelCase")]
struct UserInfo {
    me: bool,
    email_address: String,
}

In this case DriveSelector is my new trait that provides a method for producing a selector of the form:
nextPageToken,files(id,mimeType,sharingUser/me,sharingUser/emailAddress)
The details of the selector format are unrelated to this request, but the important thing here is that the names provided to the selector need to match the names serde will use when attempting to deserialize the resulting json. So coming back to the original question. Is there already a simple way to do this? Or is it up to every proc macro to interpret the serde attributes manually and hope to reimplement the logic in the same way?
P.S. Thanks for creating serde. It's truly great.

I found the serde_derive_internals crate and it provided all the functionality I needed in a very straightforward way.


extensionAttribute's in SharePoint Online

In the documentation: https://docs.microsoft.com/en-us/azure/active-directory/hybrid/reference-connect-sync-attributes-synchronized#sharepoint-online
extensionAttribute's 1-15 are listed as being synced with the User Profile Service, however those properties do not appear to be synced with the User Profile Service, and there is no way to map them: https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/964#issuecomment-492524471
Why does this document list them?

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

ID: e7abde7c-df25-bd14-574c-92858daed39d
Version Independent ID: 6652a5bc-4985-d45e-36fb-54da408e5e54
Content: Attributes synchronized by Azure AD Connect
Content Source: articles/active-directory/hybrid/reference-connect-sync-attributes-synchronized.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

Thanks for the feedback! We are currently investigating and will update you shortly.

@scanum @billmath thoughts on this?
Are these synced automatically or does it require a CSOM call? Is it possible to map these?
It is difficult for me to confirm on my end because I do not have a proper Sharepoint lab.

I am assigning this to the content author, @billmath , to look into . If you have further questions feel free to reach out to me on MSDN. https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsAzureAD%2CAzureSecurityCenter%2Cwindowsazureactiveauthentication%2CAzureKeyVault&filter=unanswered%2Cnoreplies&sort=lastpostdesc

This was answered on a previous thread.
#please-close


Eliminated certain 'forced' defaults in BacktestTradingSession. Added…

… console-based holdings output. Modified calculations of book cost and market value to appropriately handle cash value.

Coverage decreased (-3.4%) to 71.946% when pulling 6c08c6f8903c7d758b15a1ab951e7d4ae30b9aa1 on elim-forced-defaults into 6e57191f0081b22308a7a03c3fcc44087b444be5 on development.


undefined in MetaMask message when signing a profile edit

I updated a field in my profile, clicked saved, and MetaMask extension opened prompting me to sign, and the message there shows undefined:

This issue has been fixed by #822


x/sys/unix: add Statfs for NetBSD

What version of Go are you using (go version)?

go version go1.17.4 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/dundee/.cache/go-build"
GOENV="/home/dundee/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/dundee/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/dundee/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.4"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/dundee/work/gdu/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3967749979=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I am trying to call Statfs syscall on NetBSD.
package main

import (
	"syscall"
)

func main() {
	info := &syscall.Statfs_t{}
	err := syscall.Statfs("/", info)
	if err != nil {
		panic(err)
	}
}

GOOS=netbsd go build main.go

What did you expect to see?
Program compiles ok with GOOS=netbsd
What did you see instead?
# command-line-arguments
./main.go:9:9: undefined: syscall.Statfs

I would like to work on the implementation myself.

Note syscall is frozen/deprecated, this would go in golang.org/x/sys/unix
Feel free to send a PR/CL

Statfs is deprecated in NetBSD. There is statvfs which looks to be implemented fine in golang.org/x/sys/unix. Closing.


Error evaluating Transform 3 (name=mergePerfText, type=undefined)

Login, select org uW, lang English.
Open console
Open Ruth
Open Titus
Make a change to Ruth
Click on the Titus card
See error in console.

Error evaluating Transform 3 (name=mergePerfText, type=undefined): Error max depth of 20 levels exceeded, possible circular reference

@superdav42 @larsgson
Since I had not seen this before, I'm thinking that it may be a condition due to the last two features added to uw-editor:

the check for unsaved data
verse scroll sync

I started testing this and it's very inconsistent. I did reproduce it but it took many changes and click back and forth between books to get it to happen. Really not sure why it's happening I'll keep looking.

According to Abel It's a problem in epitelete and epitelete-html and a fix is in dev and waiting to be released.

Not seeing this issue in v0.1.0 build 7adaf10 QA.

Tested with v0.9.0-rc.2 build 29a2450 QA. Everything looks good.


Upload preview

There is a 404 error in this template resources/views/backend/upload/partials/modals/files/preview.blade.php trying to load an non-existing image on page load. Obviously this modal is used for the file preview. A simple fix might be to create a fake transparent pixel gif to avoid the 404

The preview modal should also be triggered by clicking the name of the file. For now, only the magnifying glass icon can trigger it.

@foxted Does this fix your issue?

@austintoddj It does, thanks.


When I type "hypergan test" into my Python 3.5 shell it says "invalid syntax"

Hi, I'm using hypergan on Windows. I know hypergan is not supported on Windows but I found this work around on an issue on this repository. It used to just not import, but now it does. I typed in "hypergan test" like what it said to do on the "Testing the install" section on the readme. After I type it in it says, "invalid syntax", and then it highlights "test". I have know idea what to do. I want to get it working on Windows rather then Linux, so I don't have to get my Linux machine up and running again. So, if anyone can offer any help that would be nice.

I do not have windows running hypergan but there are some users in the discord that have had success.
You probably need to install 0.10, which is different than the old version in PIP


Connection error

Worked this morning. Trying this afternoon to show RAs how it works and got this connection error. Thanks in advance!
Exception in Tkinter callback
Traceback (most recent call last):
File "lib-tk/Tkinter.py", line 1537, in call
File "idslabel.py", line 977, in get_training_blocks
File "idsserver.py", line 140, in get_training_block
File "requests/api.py", line 111, in post
File "requests/api.py", line 57, in request
File "requests/sessions.py", line 475, in request
File "requests/sessions.py", line 585, in send
File "requests/adapters.py", line 467, in send
ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8080): Max retries exceeded with url: /v1/get-block/ (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x114be8fd0>: Failed to establish a new connection: [Errno 61] Connection refused',))

Was the server rebooted or something? Connection failed for me too. ssh'ed in and saw idsserver wasn't running, and no signs of having crashed with an error. Just restarted it and it works again.

I did have to reboot to fix another process that uses the server. Good to know that if we need to reboot, we need to let you know that idsserver needs restarting too. Thanks!

That's a relief. If you hadn't rebooted then it would mean something is probably deeply wrong with idsserver.


Don't show redirect_uri on consent screen if not HTTP

Because we don't know if it is validated by the OS at all and so could be misleading to the user

When choosing a URI scheme to associate with the app, apps MUST use a URI scheme based on a domain name under their control, expressed in reverse order

The problem is that nothing is validating that the given domain is under control of the app owner. The app can choose any domain and give a matching client_uri and reverse redirect_uri.
As such, displaying a reverse domain is of zero benefit.
What is the trust that showing it brings?
Where the value is validated I do see benefit in showing it which is why my PR shows it if it is an HTTP URI.


PubSubLite Client No Longer Working With Service Account JSON File

Hello,
I very recently (in the past day or so) started receiving the following error when trying to using the PubSubLite client with my service account json file:
ERROR AuthMetadataPluginCallback "<google.auth.transport.grpc.AuthMetadataPlugin object at 0x10ec5d0a0>" raised exception!
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/grpc/_plugin_wrapping.py", line 89, in call
self._metadata_plugin(
File "/usr/local/lib/python3.9/site-packages/google/auth/transport/grpc.py", line 97, in call
callback(self._get_authorization_headers(context), None)
File "/usr/local/lib/python3.9/site-packages/google/auth/transport/grpc.py", line 83, in _get_authorization_headers
self._credentials.before_request(
File "/usr/local/lib/python3.9/site-packages/google/auth/credentials.py", line 131, in before_request
self.apply(headers)
File "/usr/local/lib/python3.9/site-packages/google/auth/credentials.py", line 107, in apply
_helpers.from_bytes(token or self.token)
File "/usr/local/lib/python3.9/site-packages/google/auth/_helpers.py", line 121, in from_bytes
raise ValueError("{0!r} could not be converted to unicode".format(value))
ValueError: None could not be converted to unicode
Code to Reproduce:
import json
import os
from google.cloud.pubsublite.types import (
    CloudRegion,
    CloudZone,
    MessageMetadata,
    TopicPath,
)
from google.oauth2 import service_account
from google.cloud.pubsublite.cloudpubsub import PublisherClient

project_number = ...
cloud_region = ...
zone_id = ...
topic_id = ...
cloud_region = CloudRegion(cloud_region)
cloud_zone = CloudZone(cloud_region, zone_id)
topic_path = "TopicPath(project_number, cloud_zone, topic_id)
service_account_file = os.getenv("GOOGLE_APPLICATION_CREDENTIALS")
credentials = service_account.Credentials.from_service_account_file(service_account_file)
with PublisherClient(credentials=credentials) as publisher_client:
    message = json.dumps({"blah": 1}).encode("utf-8")
    publisher_client.publish(topic_path, message)

Environment details

OS type and version:
Python version: 3.9.1
pip version: 20.3.3
google-cloud-pubsublite version: 1.1.1

What is the fix or workaround here? This code had been working correctly for a long time and only recently within the last day or so began to fail. I created a new service account JSON file from scratch as a sanity check, but that too produced the same error.

Marking this as a bug since it seems to be a change in behavior but I have not looked into it fully yet.

@tristeybro Your code ran for me in -

Python version: 3.9
pip version: 21.3.1
google-cloud-pubsublite version: both 1.1.1 and 1.2.0

The error looks like an auth issue. Can you check the roles on your service account?
gcloud asset search-all-iam-policies<EMAIL_ADDRESS>

@tristeybro Feel free to re-open if you are still having issues. I couldn't reproduce your error.


Middle Mouse Click on Tags in Image Window also closes Image Window

Bug description
As the title said, if you middle click on a tag in the Image Window, it closes the Image Window.
The tag gets opened in a new window without problem.
In previous versions the Image Window also stayed open.
Steps to reproduce

Open any image, so the Image Viewer open
Middle Click on any tag, so the tag gets opened in a new tab
Image Viewer Window gets closed

Expected behavior
The Image Viewer Window stays open and the new Tab get in the foreground.
System information

OS: Win10 x64
Grabber version: 7.12.2

This actually seem to be a very an old bug from an old feature: the option to close the image window on middle click. It still seem to happen even when the middle click is already doing something else (here opening tags in a new tab). I'll have a look.


Latest Release doesn't seem to work with latest Babel

First thanks,  I really appreciate all your work and am a fan of the previous release.
However, Version <IP_ADDRESS>80916 is giving me trouble with babel.  It looks like you are using an older version than the current release.  I suspect my issue could be fixed by just knowing how to install babel to match your build environment.
Anyway here is what I did:
git clone https://github.com/H256/gekko-quasar-ui.git
cd gekko-quasar-ui
npm install
npm install autoprefixer
npm install @babel/core --save-dev
npm install @babel/plugin-transform-runtime --save-dev
npm install @babel/preset-env --save-dev
npm install @babel/preset-stage-2 --save-dev
npm install babel-plugin-transform-imports --save-dev
And here is what happened:
quasar dev
ERROR  Failed to compile with 1 errors                                                                                4:33:35 PM
error  in ./.quasar/client-entry.js
Module build failed (from /usr/lib/node_modules/quasar-cli/node_modules/babel-loader/lib/index.js):
Error: [BABEL] /home/tanj/gekko-quasar-ui/.quasar/client-entry.js: The 'polyfill' option has been removed. The @babel/runtime module now skips polyfilling by default. (While processing: "/home/<EMAIL_ADDRESS>

index.js:131 _default
[gekko-quasar-ui]/[@babel]/plugin-transform-runtime/lib/index.js:131:13

index.js:19
[gekko-quasar-ui]/[@babel]/helper-plugin-utils/lib/index.js:19:12

full.js:157 loadDescriptor
[lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:157:14

caching.js:32 cachedFunction
[lib]/[quasar-cli]/[@babel]/core/lib/config/caching.js:32:19

full.js:192 loadPluginDescriptor
[lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:192:28

full.js:68 config.plugins.map.descriptor
[lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:68:16

Array.map

full.js:67 recurseDescriptors
[lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:67:38

full.js:100 loadFullConfig
[lib]/[quasar-cli]/[@babel]/core/lib/config/full.js:100:6

transform.js:28 process.nextTick
[lib]/[quasar-cli]/[@babel]/core/lib/transform.js:28:33

@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080 (webpack)/hot/dev-server.js ./.quasar/client-entry.js

Thanks in advance for any assistance in getting this running.

I've tried to reproduce on a fresh Linux Mint 19 VM.
On Node 8.12.0 LTS, I also had some problems... coming from quasar-cli not being installed correctly (this installs all needed babel-dependencies as well).
To fix, I did the following:

Make sure, Node and NPM are properly installed.
Install the latest quasar-framework as described here: https://quasar-framework.org/guide/index.html#Development-with-Quasar-CLI-Recommended
Follow my Readme on this repo.

If it doesn't install my dependencies correctly, manually install them into gekko-quasar-ui with
npm install --save axios humanize-duration moment vue-echarts vue-i18n vue-json-excel
I will extend the Readme accordingly ;)

Thanks.
I must have something messed up in my environment.
npm install -g quasar-cli
npm install -g vue-cli
did nothing... but I had to sudo to install them global.
simply installing them in gekko-quasar-ui  local (without the -g) however worked fine.
npm install quasar-cli
npm install vue-cli
npm install
npm install --save axios humanize-duration moment vue-echarts vue-i18n vue-json-excel
and it compiles and runs.
Thanks.  I really do appreciate all your work, and that you share it!

@InfiTanj I'm glad it works now! :) I hope the UI will be of use for you ;)

Here's what I did for quasar build to work on my Mac (npm 5.6.0, node 8.11.2), immediately after newly cloning this repository:

Run npx babel-upgrade --write, this upgrades the outdated .babelrc file.

Delete the "polyfill": false, from line 16 of the .babelrc file.

This gets rid of the original error @InfiTanj reported.

Change the "requires": true, from line 5 of package-lock.json to "requires": false,

If you don't do this, none of the dependencies in package.json will install. If you missed this step before running npm install, clone the entire repository again.

npm install and quasar build.

@matt1hong Thanks for pointing this out. I've done these steps and uploaded the updated babelrc file.


Adding SQLite table and insert statement

This makes it so that if you run:
from finviz.screener import Screener

tickers = ['AAPL', 'ATVI', 'TSLA']
filters = ['exch_nasd', 'cap_large']  # Shows companies in NASDAQ with Market Cap from $10bln. to $200bln.
order = '-price'  # Orders the results by price descending

screener  = Screener(tickers, filters, order, rows=37)

screener.to_csv()
screener.write_to_db()
screener.select_from_db()

This is in response to issue https://github.com/mariostoev/finviz-api/issues/6
It inserts the data into a SQLite database and prints the entire database.

@mariostoev  how are you checking that the database is empty? can you run screener.select_from_db() to check?
Also, I ran it with your code and opened it and saw 118 rows. I don't think you can just open the file in a text editor; I think you need to open it with something that can open a database. That's why I added the select function.

The latest update has fixed the problem with the empty database. However, the database file now repeats the last x rows (see my attachment, as well as yours):

This can be also seen by printing the database into the console using from_db().

Closing PR to rebase


.NET Core API Browser Quick Filters not visible in dark mode theme

Issue description
.NET API Browser Quick Filters are not visible in Dark Mode.
Details
OS: Windows 10
Browser: Edge & Edge (chromium)

Since we can't control how those links are rendered with our content (source is here), this needs to go to the engineering team.

Thanks. Closing the issue.


tests/drivers/gpio/gpio_basic_api fails for imx93_evk/mimx9352/a55 target

Describe the bug
tests/drivers/gpio/gpio_basic_api/drivers.gpio.2pin fails to compile for imx93_evk/mimx9352/a55
To Reproduce
Steps to reproduce the behavior:

west build -p -b imx93_evk/mimx9352/a55 tests/drivers/gpio/gpio_basic_api/ -T drivers.gpio.2pin
See error

Expected behavior
Test shall compile or configuration be removed.
Impact
CI failures.
Environment (please complete the following information):

Commit 2e072ad017cf41673e7f5a7ff44aebb4624e4ee7

@nordic-krch can you please link to the PR CI in which this fails?

@aescolar I was able to replicate it locally on nordic-krch:nrf54h_gpio, but it's not happening on upstream/main. Can you try rebasing and close if it's no longer an issue, @nordic-krch?

Fixed with https://github.com/zephyrproject-rtos/zephyr/pull/72644


Dynamic Configuration is not working in Scenario or session

What are you trying to achieve?
I am trying to pass dynamic configuration for Scenario or session to change to the browser like in the below example
Scenario('should be executed in firefox', ({ I }) => {
// I.amOnPage(..)
}).config({ browser: 'firefox' })
What do you get instead?
The browser opens in default (chromium)
Details

CodeceptJS version: 3.3.2
NodeJS Version: v16.14.2
Operating System: MacOs
Playwright version: 1.21.0

I try with codeceptJs 3.3.3
in codecept.conf.js i have:
helpers: {
TestCafe: {
url: '',
show: true,
windowSize: '1920x1080',
browser: 'chrome',
restart: false,
myOwnParam: 'test text in config file',
myNextOwnParam: process.env.profile
},
CustomHelper: {
require: './CustomHelper.ts'
}
},
in demo test (Typescript_Example_test.ts - downloaded from https://github.com/codeceptjs/typescript-boilerplate) i have:
let myConfig = require('codeceptjs').config.get();
let variableForDynamicConfig = myConfig.helpers.TestCafe.myOwnParam;
let variableFromCmd = myConfig.helpers.TestCafe.myNextOwnParam;
console.log('text visible in console from test:', variableForDynamicConfig, variableFromCmd);
Feature('demo test');
when i run by cmd:
npx codeceptjs run --profile someTextFromCmd
i got this:
text visible in console from test: test text in config file someTextFromCmd
CodeceptJS v3.3.3 #StandWithUkraine
Using test root "C:_git\typescriptCodeceptJs"
demo test --
Running tests in:

Chrome 100.0.4896.127 / Windows 10

I mean this case working correctly.
When i start test as (copy and rework from : https://codecept.io/commands/ )
npx codeceptjs run --override '{ "helpers": {"TestCafe": {"myOwnParam": "dynamic text by override"}}}'
i got this:
Unexpected token h in JSON at position 2
SyntaxError:
at JSON.parse ()
at module.exports (C:_git\typescriptCodeceptJs\node_modules\codeceptjs\lib\command\run.js:16:33)
at Command. (C:_git\typescriptCodeceptJs\node_modules\codeceptjs\bin\codecept.js:9:11)
at Command.listener (C:_git\typescriptCodeceptJs\node_modules\commander\index.js:315:8)
at Command.emit (node:events:526:28)
at Command.parseArgs (C:_git\typescriptCodeceptJs\node_modules\commander\index.js:651:12)
at Command.parse (C:_git\typescriptCodeceptJs\node_modules\commander\index.js:474:21)
at Object. (C:_git\typescriptCodeceptJs\node_modules\codeceptjs\bin\codecept.js:203:9)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)

@rebajz

When i start test as (copy and rework from : https://codecept.io/commands/ )
npx codeceptjs run --override '{ "helpers": {"TestCafe": {"myOwnParam": "dynamic text by override"}}}'
i got this:
Unexpected token h in JSON at position 2

I recall such issue is on Windows only (unless you run the command in WSL). Try to escape " by \:
npx codeceptjs run --override '{ \"helpers\": {\"TestCafe\": {\"myOwnParam\": \"dynamic text by override\"}}}'

thanks, \ before " working :-)


"metrics_and_figures/ClimSim_metrics.ipynb" Updated.

ClimSim_metrics.ipynb has been updated to include R2 global map plots which are included in the supplemental information.

Codecov Report

Merging #66 (b0dc601) into main (b57a774) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@          Coverage Diff          @@
##            main     #66   +/-   ##
=====================================
  Coverage   8.66%   8.66%
=====================================
  Files          1       1
  Lines        612     612
=====================================
  Hits          53      53
  Misses       559     559

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


Introduce EncodingVisitor and use it to encode OperationOutcome for HTML

Previously, we had logic to encode the "diagnostic" element.
However, each place that populated issues with details needed its own
encoding.
With this change, we can encode all fields in the OperationOutcome
consistently and perhaps the new visitor could be useful in some other
contexts as well.
Additionally, I removed some redundant resource type checking from AbstractOperation.
Now that we ensure that the resource type is valid prior to invoking the
operation, there's no need for having this check in AbstractOperation
and therefor also no need to have the PROPNAME_PATH_PARAMETER in the
OperationContext.

Per our discussion, created this related issue:
https://github.com/IBM/FHIR/issues/2596


connect-mongodb-session depends on vulnerable versions of archetype

Issue Description:
I'm encountering a vulnerability issue with my Node.js project that involves the lodash.set package. Despite attempting the suggested fix via npm audit fix --force and manually addressing the vulnerable packages, the issue persists.
Problem:
The npm audit identifies a high severity vulnerability related to Prototype Pollution in lodash.set. However, the fix provided via npm audit fix --force does not resolve the vulnerability. Manually updating the affected packages also fails to mitigate the issue.
Steps Taken:

Ran npm audit fix --force to apply the suggested fix.
Manually updated the affected packages (lodash.set, archetype, and connect-mongodb-session) to their latest versions.

Audit Output:
lodash.set  *
Severity: high
Prototype Pollution in lodash - https://github.com/advisories/GHSA-p6mc-m468-83gw
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/lodash.set
  archetype  >=0.8.7
  Depends on vulnerable versions of lodash.set
  node_modules/archetype
    connect-mongodb-session  >=2.3.0
    Depends on vulnerable versions of archetype
    node_modules/connect-mongodb-session

3 high severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

+1 Also seeing this issue

actually here is a quickfix: npm install https://github.com/LaurentGoderre/archetype.git#fix-lodash_set-vuln

Any chance this will be fixed?

Can we get a fix for this?

I just got an orange card during a code audit. Please handle this security point.

Is there anything in the pipeline to get this issue fixed? This is popping up in all of our security approval requests. We will have to find alternatives if this doesn't get fixed soon enough.
Can we increase the priority for this issue?

Is there anything in the pipeline to get this issue fixed? This is popping up in all of our security approval requests. We will have to find alternatives if this doesn't get fixed soon enough.
Can we increase the priority for this issue?

Have you tried the fix mentioned above? That will fix the issue:
https://github.com/mongodb-js/connect-mongodb-session/issues/113#issuecomment-1940537609
npm install https://github.com/LaurentGoderre/archetype.git#fix-lodash_set-vuln

Is there anything in the pipeline to get this issue fixed? This is popping up in all of our security approval requests. We will have to find alternatives if this doesn't get fixed soon enough.
Can we increase the priority for this issue?

Have you tried the fix mentioned above? That will fix the issue:
#113 (comment)
npm install https://github.com/LaurentGoderre/archetype.git#fix-lodash_set-vuln

I was looking for an official fix.
Fortunately, there is a fix provided by archetype recently with version 0.13.1,

https://github.com/boosterfuels/archetype/pull/28

So I could do something like this,
"overrides": {
    "archetype": "^0.13.1"
}

I just noticed this seems to have resolved itself on my end by automatically utilizing<EMAIL_ADDRESS>so it doesn't look like we need to do anything special (unofficial or otherwise) to get around it now.


[Docs] : Improve the query doc

Improve the doc to reword and restructure the query types.
Refer to the slack thread for more info.

As discussed with @pranavkanade, as we cannot find the user-related queries for the static and dynamic type queries, we'll remove the same from the doc.
CC: - @sumitsum

As per my discussion with @sumitsum - I'll enrich the doc by adding videos and screenshots wherever necessary.

Published. @sumitsum - Please review and close the ticket.


Access data in worker

Mount $HOST_DIRECTORY/data to /app/data in the container so it can be accessed by ingestion and scoring programs.
This can be used to store data directly inside the compute workers.
See:

#874

Review:

[x] Tested and it work
[x] CircleCI tests are passing
[x] Documentation is updated

Next steps:

[x] Merge PR
[ ] Update docker images (cpu and gpu)

@dtuantran we still need to update the docker images

We should maybe fix this #748 before updating the dockers


Add support for numpy v2.x

Add support for numpy version 2.

To help with this, I've created new releases of protopunica (0.14.8.post2) and scikit-allel (1.3.9) built with compatibility for numpy v2.


Refactor SetPSResourceRepository cmdlet

This PR includes refactoring for Set-PSResourceRepository cmdlet. This cmdlet updates repository info, so I also had to update code in the Update() method in RepositorySettings.cs. I also included a -PassThru parameter for this cmdlet, and the output is of type PSRepositoryInfo class (which was created in a previous PR).
PR Summary
summary of changes included in this PR:

refactored Set-PSResourceRepository.cs
refactored Update() API in RepositorySettings.cs
created tests in SetPSResourceRepository.Tests.ps1

still need to do:

update help doc for Set
I think I can get rid of the NameParameterSetHelper() method in Set-PSResourceRepository.cs as it just calls UpdateRepositoryStoreHelper() (I can't think of any NameParameterSet specific checks that need to happen)

resolves issues:

#279 (Set-PSResourceRepository supports ShouldProcess and implements it)

PR Context

PR Checklist

[ ] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[ ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
OR
[ ] Documentation needed

[ ] Issue filed:

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary.

I think I can get rid of the NameParameterSetHelper() method in Set-PSResourceRepository.cs as it just calls UpdateRepositoryStoreHelper() (I can't think of any NameParameterSet specific checks that need to happen)

not sure how to implement the Credential parameter to be honest

@anamnavi I think the credential param should be completely removed.  If we need it later on with the integration of credential persistence we can add it back then, but there's currently no need for it.

I copied the ValueFromPipelineByPropertyName tag in [Parameter] for all the parameters. I notice we allowed Name, URL, Repositories, Priority parameters to be passed in as pipeline input...but

does it make sense for all these parameters? I'm honestly not sure how we decide which parameters we should allow to pass in via pipeline input

if we allow Priority to be passed in shouldn't we also allow Trusted to be passed in via the pipeline?

For Set: allow by pipeline just Name, and REpositories. For Register, ok as is.


New PR created for Audio for Java For & For-Each loop

Description 📜
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes #3560

Type of change 📝

[x] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Doc#umentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[x] Java_Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@Palak-Srivastava From next, please keep a single audio file with timestamps of the different topics rather than multiple different files.


Print solution as a list of samples per time

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

45 of 47 (95.74%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.3%) to 83.737%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

util.go
45
47
95.74%

Totals

Change from base Build<PHONE_NUMBER>:
2.3%

Covered Lines:
242

Relevant Lines:
289

💛  - Coveralls


Invalid manifest for docker.io/python:3.11, docker.io/python:3.12

I ran skopeo  inspect --raw docker://docker.io/python:3.11 and attached the output to this issue.
According to the image index for the multi-arch image docker.io/python:3.11, the media type is mediaType: application/vnd.oci.image.index.v1+json
According to the OCI Image Index Specification, this permits the individual images to specify mediaType to be either application/vnd.oci.image.manifest.v1+json or application/vnd.oci.image.index.v1+json. However, both windows images specify the in this context invalid mediaType: application/vnd.docker.distribution.manifest.v2+json
This leads to some container registries (e.g. Quay) rejecting the image when trying to push it due to validation failure. The same issue occurs with python:12 as well, but not with python:10 (which does not support windows in the multiarch-image)
{
  "manifests": [
    {
      ....
      "digest": "sha256:babe9176d3f1d4296f983786e53627dc91d873be83947e93998d44ce1560902e",
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
      ...
    },
    ...
    {
      ...
      "digest": "sha256:71d7cf7bf3ecde400d3afa6856c6093bab0a38f96ae0b4690a4248676aa312bc",
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "platform": {
        "architecture": "amd64",
        "os": "windows",
        "os.version": "10.0.20348.2655"
      },
      ...
    },
    {
      ....
      "digest": "sha256:f7e05530967f6e8295a699148967d777c27278f4214df6860d66d7448a4fe964",
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "platform": {
        "architecture": "amd64",
        "os": "windows",
        "os.version": "10.0.17763.6189"
      }
      ...
    }
  ],
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "schemaVersion": 2
}

docker_io_python_3_11.json
quay_failed_push.log

The image specification doesn't say this is invalid, only that it might cause portability issues (see https://github.com/opencontainers/image-spec/issues/1150 for a much longer discussion around that).
Unfortunately, this is something we can't really "fix" right now -- the Windows images currently have to be built with Docker's "classic" builder, so they are going to be Docker media types for the foreseeable future.  If this is a major blocker for some workflow you've got and you don't actually need Windows support, I would suggest choosing an explicitly Linux-only tag such as python:3.11-bookworm (which is one of the components that goes into the python:3.11 "shared" tag).

Thanks for your feedback and the linked other issue. That should help on our side!

Thanks Tianon for your feedback and the linked reference. That should help on our side! I'll close the issue for now.


Adding latex snippets(wip)

This is a work in progress pull request with reference to issue #10

@chhavi18387 Thanks for the PR. Just go through https://github.com/ajaxorg/ace/issues/3656 and quickly add the code for registering the snippets in our editor instance.

Yes @shashaBot  but I actually happened to merge the documentation changes into the master branch of the forked repository. Could you please look into the documentation PR I've made and tell me if there's some scope for improvement? Also, I'd improve the local server setup instruction as  @escher-m mentioned in issue #14 and I'll update you soon.


add chung-ang university

add chung-ang university

@Dreaming-J I am sorry, the domain cau.ac.kr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


remove "heading to id= attribute" behavior

currently we are using a common pattern that translates headings to id= attributes so they can be addressed via # fragments.
i think this is not very practical in most website use cases as there is a stability requirement, so author control (mostly on sections instead of headings) is really much more desirable. also it seems that since the current behavior could easily be implemented client sided if needed it feels like extra markup that doesn't need to be transmitted.
i appreciate that proposing this change is a breaking change, but i think it could be great if we started to transition to that possibly by removing the id attributes in aem.js to make sure that projects stop relying on it.

Stripping it in aem.js seems sensible.

hi @davidnuescheler - I was wondering if theres any progress made on this ticket? I am getting continued asks about this feature on my end. https://jira.corp.adobe.com/browse/MWPW-141652


Design OOP API

Expand the vertical slice in #23 to cover the entire API

[x] #23 API vertical slice
[ ] All Sessions

[ ] #82 special CAN frames

[x] System API

[x] System create/destroy
[x] System properties
[x] Device properties
[x] Interface properties
[x] Interface functions
[x] Make Device/Interface as private

[ ] Database API

[x] Database create/destroy
[x] Database save
[ ] Database find
[ ] Database add
[ ] Database delete
[ ] Enumerate Databases
[ ] add/remove alias (#77)
[x] Cluster properties
[x] Cluster merge
[x] Frame properties
[x] Pdu properties
[x] Signal properties
[x] SubFrame properties
[x] Ecu properties
[x] LinSched properties
[x] LinSchedEntry properties

[ ] #48 Ref properties return objects
[ ] #51 System.version instead of individual properties
[ ] #54 Ecu.lin_protocol_ver doesn't return an enum
[ ] #53 Frame.pdu_* should be a tuple
[ ] #90 Define timestamps
[ ] #44 CaNioMode casing
[ ] #56 Frames.ca_nio_mode has weird word-splitting #
[ ] #47, #55 flex ray properties return raw values, not enums
[ ] #54 Ecu.lin_protocol_ver should return an enum

Blocked on #4

Device has

int_refs and int_refs_all.  Dups?
num_ports and num_ports_all.  Dups?


Add git init and precommit hook for eslint

As per #43 this adds precommit hooks for eslint. In addition, this adds a new question for initializing a git repository since precommit hooks can't be automatically set up unless a git repository has already been initialized.

Well done @ceejtron. Seems that is everything ok. Let's wait for the reviewers. Thank you for your contribution ❤

Nice, @ceejtron! This is really cool!
In addition, can you add commit lint too? You can use the same as used on ifactory-solutions/inside-client#8.
Thank you for the contribution.

Added a check for .git as well as a commitlint hook

@jouderianjr pushed the changes you asked for

Awesome @ceejtron thanks for your work 💃


Brackets doesn't save on restart/shutdown on OS X

No warning about unsaved progress when shutting down. An entire afternoon's work gone!
Latest version of brackets and OS X.

the issue still exists after two years


CollectionService plugin does not add components for tags that existed before initialization

What I expect:
All instances with component tags that exist before the core starts should have components created for them
What occurs:
This does not happen

On further review this does happen, I misspelled the tag I was testing with. 🤦♀


Updating to latest submodule to fix config issue

@MSFT-Heba,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


fix: nil pointer deref when running example with minimal CRD. Fixes #260

Signed-off-by: David Seapy<EMAIL_ADDRESS>Fixes #260.
Avoids nil pointer dereference.  Adds note about using minimal CRD with examples that may rely on defaults present in full CRD.

@dseapy - I remember I left a comments about adding validation, somehow it disappeared...
I would like to correct myself - I think it should be consistent for the behaviors of minimal and full CRDs, since full CRD has below default values, we should also have default values when minimal CRD is enforced. We should only validate those mandatory fields, WDYT?
type GeneratorSource struct {
	// +kubebuilder:default=5
	// +optional
	RPU *int64 `json:"rpu,omitempty" protobuf:"bytes,1,opt,name=rpu"`
	// +kubebuilder:default="1s"
	// +optional
	Duration *metav1.Duration `json:"duration,omitempty" protobuf:"bytes,2,opt,name=duration"`
	// Size of each generated message
	// +kubebuilder:default=8
	// +optional
	MsgSize *int32 `json:"msgSize,omitempty" protobuf:"bytes,3,opt,name=msgSize"`
}

@dseapy - I remember I left a comments about adding validation, somehow it disappeared...
Sorry I think i resolved it which collapsed it (https://github.com/numaproj/numaflow/pull/261#discussion_r1002638962), or maybe there were other comments that disappeared.

I think it should be consistent for the behaviors of minimal and full CRDs
Sounds good.  I can remove the warning in the installation.md.

we should also have default values when minimal CRD is enforced.
To make sure I'm understanding, are you suggesting setting default values for gpu/duration/msgSize in the code (that's the only way to set them for minimal CRD afaik), and if so where would be the best place - inside getSourcer before they are used or somewhere else?

We should only validate those mandatory fields
To make sure I'm understanding, by this you mean remove the validation checks for gpu/duration/msgSize as there will now exist defaults?  If so, sounds good to me.

If defaults end up getting set in the code, then seems like having the defaults in the full CRD is only resulting in duplication of default values.  Would it make sense to remove the kubebuilder annotations that set the defaults and solely rely on code defaults in this case, or is there value in keeping those defaults?

we should also have default values when minimal CRD is enforced.

To make sure I'm understanding, are you suggesting setting default values for gpu/duration/msgSize in the code (that's the only way to set them for minimal CRD afaik), and if so where would be the best place - inside getSourcer before they are used or somewhere else?

The generator.NewMemGen function has redundant parameters, we can remove int(*x.RPU), *x.MsgSize, x.Duration.Duration, since vertexInstance is already there, then we can make the default values in the generator implementation, similar to the Kafka one.

We should only validate those mandatory fields

To make sure I'm understanding, by this you mean remove the validation checks for gpu/duration/msgSize as there will now exist defaults? If so, sounds good to me.

Yes

If defaults end up getting set in the code, then seems like having the defaults in the full CRD is only resulting in duplication of default values. Would it make sense to remove the kubebuilder annotations that set the defaults and solely rely on code defaults in this case, or is there value in keeping those defaults?

I don't have an answer for it, maybe we can keep them for now, and revisit later...


⚠ ClamAV has degraded performance

In 60578ae, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 92 ms

Resolved: ClamAV performance has improved in 398cc3c after 5 minutes.


Add controls for geolocation adjustments (master branch)

Sometimes Google geolocation mechanism doesn't find correct coordinates of an address.
This PR adds controls to tweak it; it adds controls to:

Specify points' latitude and longitude using manual inputs
Options to:

Keep the text address while changing point location
Reverse geocode (find address by points' location)

thanks!


EXSWHTEC-311 - Implement tests for integer type casting intrinsics

Depends on: #260

Positive tests for __int2double_rn, _int2float[rd,rn,ru,rz], __int_as_float, __hiloint2double
Positive tests for __uint2double_rn, _uint2float[rd,rn,ru,rz], __uint_as_float
Positive tests for __ll2<float/double>_[rd,rn,ru,rz], __longlong_as_double
Positive tests for __ull2<float/double>_[rd,rn,ru,rz]
Negative tests for integer type casting intrinsics

PR has been merged into develop branch via commit f9cf87fe602d3ff6ec6553823edd5d5484d0657e.


Error installing Python version of MoorDyn (the stand-alone version)

I was trying to install the standalone version of moordyn to run some test without coupling the wind turbine.
This is what I do:
python -m pip install moordyn  or pip install moordyn
Here is the error message I get:
_**Collecting moordyn
Using cached moordyn-2.2.0.tar.gz (112 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\tomil\AppData\Local\Temp\pip-install-xd0vc_s2\moordyn_48fef3810d494161bee4d25c744f82c3\setup.py", line 64, in
shutil.copytree(os.path.join('wrappers', 'python', 'moordyn'), 'moordyn')
File "C:\Users\tomil\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 559, in copytree
with os.scandir(src) as itr:
^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'wrappers\python\moordyn'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.**_
I am wondering, is it maybe because I am missing some python packages installed? Or it may be something else? Any additional files from the github repository I might have to have in some kind of path?
Thanks in advance!

@tlopez-olocco when you are running MoorDyn with a wind turbine are you using the version in OpenFAST? The best way to test that version is by using the MoorDynF driver that ships with OpenFAST. It allows you to run MoorDynF stand alone. Instructions can be found here, and once compiled it is called by executing moordyn_driver MoorDyn.dvr in the command line.
With regards to this error, I will defer to @sanguinariojoe who set up the wrapper.
In the meantime, if you want to setup MoorDynC as a python module locally, you can do the following:

Compile MoorDyn from the source code here
Once that compiles successfully, change to MoorDyn/build/wrappers/python/ and execute the following command python3 setup.py install This will build the python module locally from the source code you have installed.

Thanks @RyanDavies19 for your response, I generally use the OpenFAST precompiled binaries when I want to run a wind turbine simulation with moordyn, I could try to set up the MoorDyn driver. However, I would like to set up the MoorDynC version to couple with other codes I have.
I followed the instructions in the compiling section of moordyn.readthedocs.io. After dealing with some errors from my side I managed to get to the final step.  Nevertheless, just in case I executed the command just in case and this was the obtained message:
copying .\moordyn\Generator\Rod.py -> build\lib.mingw_x86_64-cpython-310\moordyn\Generator
copying .\moordyn\Generator_init_.py -> build\lib.mingw_x86_64-cpython-310\moordyn\Generator
running build_ext
building 'cmoordyn' extension
error: --plat-name must be one of ('win32', 'win-amd64', 'win-arm32', 'win-arm64')
Can you think of any solution? What do you think could be the problem?

You cannot use setup.py on your own, you must let CMake do all the job. Otherwise you will have this kind of issues.
I am fixing the sdist right now (see https://github.com/FloatingArrayDesign/MoorDyn/pull/130), so the installation with pip will work again. That would take some time though... It should be merged on dev, then on master and finally the autoproduced packages shall  be uploaded to pypi

Thanks for your answer @sanguinariojoe,
One of the issues was that I didn't have pip upgraded up to date (so I had to update it in the msys2). Also, I had to install a newer version of Microsoft C++ Build Tools. After that, CMake compiled normally and created the necessary folders.
The problem came when I tried to execute mingw32-make.
Good to know what you fixed in #130. Still not working the straight forward installation with pip install moordyn though.

@tlopez-olocco just to clarify, where are you in the compiling process and what error are you getting? Have you been able to build all the folders, including wrappers/python/  with files in them?

@RyanDavies19 I followed the steps in https://moordyn.readthedocs.io/en/latest/compiling.html#compile-using-cmake
After enabling the MATLAB_WRAPPER and PYTHON_WRAPPER in CMake. I clicked “Configure” once more and then “Generate”. As I understand until this point everything was fine and the necessary folders were created. For example, the folder wrappers/python/:

The error comes when I try to do the following:
cd C:\MoorDyn_v2\MoorDyn.build
mingw32-make
mingw32-make install

The problem is that you are compiling with the MSVC compiler. see:
build\lib.win-amd64-cpython-311\cmoordyn.cp311-win_amd64.pyd : fatal error LNK1120: 60 unresolved externalserror: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\link.exe' failed with exit code 1120
is that intentional? or you are doing that because of a mistake? (the solution depends on your answer, of course)

@sanguinariojoe, following the instructions of https://moordyn.readthedocs.io/en/latest/compiling.html#compile-using-cmake, I installed MSYS2 and typed the following command
pacman -S mingw-w64-x86_64-python-setuptools mingw-w64-x86_64-python-pip mingw64/mingw-w64-x86_64-make mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb mingw-w64-x86_64-cmake
Then I made MinGW stack available across the whole system by adding it to the PATH environment variable.
After that, I proceeded with the CMake building compiling process. Maybe I made a mistake that I am not aware of during this process.
Thanks.

Probably not your fault. Can you please remove MoorDyn.build folder and do the CMake process again? This time, on this window:

Select the "specify native compilers" option. I suppose (sorry, not a windiws guy) you will then be asked with a window like the following:

Just select the compilers you have C:\msys64\mingw64\bin (gcc, g++ and gfortran)

@sanguinariojoe As you suggested, I selected my native compilers and did the CMake process again:

If I uninstall the Visual Studio build tools the message I get is: error: ((( Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ ))), instead of the ((( build\lib.win-amd64-cpython-311\cmoordyn.cp311-win_amd64.pyd : fatal error LNK1120: 60 unresolved externalserror: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\link.exe' failed with exit code 1120 )))

I am wondering, should I install more stuff that are missing like the following in my build tools?

Anyway, even if I install the VS build tools still nothing, the message I get is kind of the same:
C:\Users\tomil\AppData\Local\Temp\build-env-d337nyu0\Lib\site-packages\setuptools\config\expand.py:134: SetuptoolsWarning: File 'C:\Users\tomil\AppData\Local\Temp\build-via-sdist-6_53if4v\moordyn-2.2\README.md' cannot be found

I cannot think of anything else. I didn't find any hint online either.
Thanks.

Oh, I see, it is Python the one who is trying to compile with MSVC... Geez, Windows is a mess...
OK, let's forget about MinGW then... On this screen

Instead of "MinGW Makefiles" select the "Visual Studio blablabla".
That will create a Visual studio project for you on the MoorDyn.build folder. When you open that project you will notice a BUILD target as well as an INSTALL target. I recommend you to execute the BUILD target, then close Visual Studio and open it again with administrative rights to execute the INSTALL target

ImportError: /home/tomas/Documents/moordyn/venv/lib/python3.10/site-packages/cmoordyn.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN21vtkDataArraySelection3NewEv

Same problem here! I did not detect this problem before because I had VTK installed on the system. I have to fix this!

Error using coupling_MD.m
MoorDyn reported an error

MoorDyn is probably working, but your configuration file maybe not. We need more details

@tlopez-olocco Just reaching out to let you know the python wrapper of MoorDyn has been updated to the newest version and can be found at pypi. If you are still struggling to install MoorDyn, this would be an easy way to get up and running with the python module.

@RyanDavies19 Yes, indeed now I could install the latest version of moordyn with pip install. I am using pycharm now and works perfectly.
I think for windows, this is the easiest way for those who want to work with python.
Thanks!


useEffect with React Native

Since I would expect the docs on ReactJS to be compatible with React Native - and these docs are very clearly and detail-written (compared to React Native), it seems like the useEffect hook is specific to ReactJS and the DOM.  But I have my doubts, so I wanted to mention this imperfection in the docs where the primary example of useEffect is used on document.title.  I can think of much, much better and still simple examples to use if this is something that is also a good reference for React Native developers.  Thanks!

I believe the react native docs now use hooks extensively.


Find location location of specific points in warped image corresponding in unwarped image.

Hello dear authors
What is the best method to input a last of coordinates in the input image and obtain the corresponding points in the unwarped image?

I answer this in issue #5 but can summarize here which may be useful for others. We have formulas to transform between the undistorted space and distorted space as shown here .
Suppose that we got the coefficients of the backward model after the calibration. To get coordinates of a distorted point given undistorted point, we have to use the forward model. Transformation between two models is easily done in Discorpy using this function.
Put everything into a function:
# Define the function to calculate corresponding points between distorted and undistorted space
def find_point_to_point(points, xcenter, ycenter, list_fact):
    """
    points : (row_index, column_index) of 2D array.
    """
    xi, yi = points[1] - xcenter, points[0] - ycenter
    ri = np.sqrt(xi * xi + yi * yi)
    factor = np.float64(np.sum(list_fact * np.power(ri, np.arange(len(list_fact)))))
    xo = xcenter + factor * xi
    yo = ycenter + factor * yi
    return xo, yo

To use it:
(height, width) = img.shape
ref_points = [[i - ycenter, j - xcenter] for i in np.linspace(0, height, 40) for j in
              np.linspace(0, height, 40)]
list_ffact = proc.transform_coef_backward_and_forward(list_bfact, ref_points=ref_points)

# Find top-left point in the undistorted space given top-left point in the distorted space.
xu_top_left, yu_top_left = find_point_to_point((0, 0), xcenter, ycenter, list_ffact)
# Find bottom-right point in the undistorted space given bottom-right point in the distorted space.
xu_bot_right, yu_bot_right = find_point_to_point((height - 1, width - 1), xcenter, ycenter, list_ffact)

Thanks for asking these questions. I'll put them into a section of Discorpy's documentation for who wants to look it up later.

I've add the answer to documentation https://discorpy.readthedocs.io/en/latest/usage/tips.html


There is no CSS file extracted by ExtractTextPlugin in production mode?

Steps to reproduce
I've just run gulp to-html (serverless) or gulp build -p (for production bundling), but have not seen any concrete CSS file been outputted by ExtractTextPlugin.
Expected Behavior
A css file named like app-[hash].css has been extracted in build folder for production build.
Actual Behavior
The stylesheet is still been embedded in HTML head even for production build.

Interesting, it should work.

It works for me. Anyway, not going to fix it since I am focused to Next Este.

I've got a question about whether or not the webpack will emit a static css file from Fela rendered stylesheet? It looks like the ExtractTextPlugin only works when importing a css(or LESS, SASS...) file, but it has no chance to process stylesheet by generated by JS code dynamically.


test/test_lang.py is broken since degoogling

The test has not been updated and still tries to import detect_lang_google. This broke on the Alpine Linux CI and is currently blocking the package upgrade to 0.0.7.

fixed in 0.0.8


Can't get the Attribute Values

How to get the Attribute Values in Webresource? Xrm.Page.getAttribute("name") or parent.Xrm.Page.getAttribute("name") not working.

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

ID: 0c917fb9-84c8-2676-9c6a-f33f03ba5da7
Version Independent ID: 057dd7ac-8383-1650-ceb5-cbea3995180c
Content: navigateTo (Client API reference) in model-driven apps - PowerApps
Content Source: powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Navigation/navigateTo.md
Service: powerapps
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

A blog post indicates: And finally don’t forget to include a reference to clientglobalcontext.js.aspx  if you want to get hold of the Xrm namespace methods inside it, just like the old ways.

A blog post indicates: And finally don’t forget to include a reference to clientglobalcontext.js.aspx if you want to get hold of the Xrm namespace methods inside it, just like the old ways.

I tried adding clientglobalcontext.js.aspx. Still I can't get the values of the Attributes.

Unfortunately, I'm not in an Online instance to try and test. Sorry to hear the suggestion I read in a blog didn't help. It also seems like this feature is a bit under-baked currently. Having no access to return data or an API to close the dialog are both pretty big limitations for dialog scenarios. Hopefully that is expanded upon later.

Adding clientglobalcontext.js.aspx is only giving namespaces. You can use Xrm.Page.GetAttribute but it is not working. You can use "data" attribute and passing form fields as query string to the navigateTo function

The data is encoded in the iframe url.  Try the following to get a list of the data parameters:
let data = window.location.search.substring(1).split('&').map(v => { return { key: v.split('=')[0], value: v.split('=')[1] } })

Passing data is fine. Need improvement to access the Xrm.Page (FormContext) to manipulate the data or Set the Data or Save the Form from Web Resource or to Close the Dialog.

It definitely would be helpful to have access to the FormContext but from where Microsoft seem to be headed with the client side sdk, I highly doubt we will see it anytime soon if ever.  You could always call a custom action to set the values and then on close of the dialog refresh the form using the promise.

Has anyone found work-around yet to pass data back to the parent form from a Dialog? ... or access the form elements through the formContext / Xrm.Page? I'm launching a custom web-resource already that has web-api calls. I don't want to do another web-api call to update  the record behind the modal dialog and then upon closing the dialog pull in those values again. This is very inefficient. Perhaps using jQuery to ammend parameters to the return url? (tried several things with no luck, but my jQuery is rusty).

The best way I found to manage parent page from the dialog is shared cache object.
On crm form load, create an object in one of browser cache storages or in top.window and assign formContext, globalContext etc. to its properties. Works fine for me. Good luck.

Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, visit https://powerapps.microsoft.com/support/.
Closing this issue.


Theme::Elemental -> Missing php close Tag

I dont know if this is the right place?
In the delivered Theme "Elemental" from Version <IP_ADDRESS> a closing php Tag is missing.
\concrete\themes\elemental\full.php
inc('elements/header.php');

?> is missing

I think this is intentional. Per PSR-2

The closing ?> tag MUST be omitted from files containing only PHP.


Pagination variables not working

Hi there, I seem to have ran into an issue where variables are not working for the cursor based pagination. When you pass a limit variable in via a graphql query, it returns all rows. If you put a number straight in then it works fine.
The following returns all rows when it should return 3:
  query Units($first: Int = 3) {
    unitsCollection(first: $first) {
      edges {
        node {
          id
          name
          desc
        }}}}

This returns 3 rows as expected:
  query Units {
    unitsCollection(first: 3) {
      edges {
        node {
          id
          name
          desc
        }}}}

Tested in GraphiQL on the Supabase website.

The issue is coming from the use of a user defined default in the query name
  query Units($first: Int = 3) {

it looks like this isn't currently supported. In the short term you can get around it by removing the default and passing that value as a variable
Notes for implementor:
https://graphql.org/learn/queries/#default-variables

flagging priority as its a spec compliance issue


feat: sbtc integration

Try out Leather build 01c17fe — Extension build, Test report, Storybook, Chromatic

This PR ensures sBTC displays correctly, with market data.
There are several design variants I'm not entirely sure which we should go for. No icon for now because apparently there's a new one on the way.
I'm a bit uncertain how we should handle sBTC specific behaviour. Either we can treat is separately from other SIP-10s or, manipulate the data/events we pass to the SIP-10 components such that it displays/behaves as we expect. Trying to avoid lots of if (symbol === 'sBTC')-like code.

Let's link to an issue on the board?

Let's link to an issue on the board?

I'll look for an issue. I just stepped in to take this over, so I'm not sure what issue it relates to specifically. I think we are just trying to get a POC working for the sBTC deposit tx, and then we can apply that to swaps UI.

sbtc pkg was updated, so I'll update here and hopefully remove copied code 🤞 https://www.npmjs.com/package/sbtc

Made the update, but testnet client is still broken. Got to this point thou...

Swaps UI draft here: https://github.com/leather-io/extension/pull/5997

The sbtc pkg was updated again with new documentation, I think I got the start of the deposit tx working. I believe we just need to add the inputs to it...

Ok, got the inputs and signed/finalized tx working... have not tried broadcasting yet.

As an update, currently stuck here and waiting to feedback... https://github.com/hirosystems/stacks.js/pull/1554/files#r1870157852

@kyranjamie we seem to be using both SBtc... and Sbtc in naming here, what is your pref? When I look up convention, I think SBtc is correct?

@fbwoolf yeah it's a bit of a contrived name tbh, given it's an abbreviation with a prefix added on. I'd treat it as a single name/word though and go with Sbtc, if at beginning of a camel case variable

@fbwoolf yeah it's a bit of a contrived name tbh, given it's an abbreviation with a prefix added on. I'd treat it as a single name/word though and go with Sbtc, if at beginning of a camel case variable

Yeah, I wasn't feeling like SBtc... looked quite right. I'll coordinate the change. Working on tests atm and cleaning things up.

As an update here, for the most part all is done and working but a bit hard to test bc testnet is down. Most of my registered deposits just get stuck pending atm. They are going to ping me once testnet is more reliable. At that point I can test the activity feed a bit better. Swap UI is all good thou and working. Adding tests now and cleaning up. Feel free to leave comments on code if see concerns.

This is relatively minor since most users won't navigate directly to this swaps page state or refresh there, but if I reload the page after selecting BTC->sBTC, I'm unable to select "max" to proceed:
https://github.com/user-attachments/assets/be3a00c7-572d-4868-b93b-b806bacb4509

I presume I should be seeing a positive transaction fee value here? It appears as 0 BTC on both mainnet and sBTC testnet, having selected my entire balance the previous screen:

Let's add cursor: pointer to this banner CTA so the user knows it's clickable:

@fabric-8 to confirm, but IIRC we display to place a different banner variant here that prompts the user to bridge BTC to sBTC in the condition in which they have BTC but no sBTC yet:

And this banner would link to the swaps module with BTC->sBTC preselected

I'm wondering if we should hide this banner somehow once the user has enrolled (or if they're not interested). We could try to detect on-chain enrollment, though it may be easiest to add a simply dismiss option that saves its hidden state client-side in cache?

The BTC transaction to bridge appeared in activity for me, but I'm not seeing a separate bridging activity item on the Stacks side:

Let's add "BTC" as a suffix here for max signer fee?


Jaccard distance comparator doesn't get initialized if NGT_SHARED_MEMORY_ALLOCATOR=ON

It should be initialized here:
https://github.com/yahoojapan/NGT/blob/f9fcbeac00e3c527e129c5a59e2e86edeb207713/lib/NGT/ObjectSpaceRepository.h#L279

Thank you for your suggestion. I have released v1.11.3 which fixes this problem.


Improve language host integration tests

Make language host plugin integration tests more robust.
Relates to: #237

I'm investigating an issue where aci plugin is not installed by pulumi up

I'm investigating an issue where aci plugin is not installed by pulumi up

pulumi silently ignores GH throttling:
I1017 15:42:33.825787   29797 log.go:95] Failed to download from GitHub, falling back to get.pulumi.com: 401 HTTP error fetching plugin from https://api.github.com/repos/pulumi/pulumi-random/releases/tags/v4.3.1
I1017 15:42:33.825884   29797 log.go:81] random downloading from https://get.pulumi.com/releases/plugins
[resource plugin random-4.3.1] installing
I1017 15:42:34.558364   29797 log.go:81] Explicitly ignoring and discarding error: close /var/folders/nr/rqhf2hvn3wn8q_mjysz2gq6m0000gn/T/pulumi-plugin-tar2805382480: file already closed

I works on a different computer:
besom.integration.languageplugin.LanguagePluginTest:
  + scala-cli 10.27s
  + sbt 20.523s
  + jar 11.229s

Fixed after rebase.

Thank you for the review! :)


Merge pull request #1 from microsoft/main

Merging to my fork

Since there is no change in PR, I am closing it.


Clicking urls in parsed html

When parsing html using state.setHtml(), it doesn't seem like using the UriHandler to listen to link click events works at all. Is this the expected behavior?
In this example, the onClick function is never called.
@Composable
fun WebViewText(
    html: String,
    modifier: Modifier = Modifier,
    onClick: (url: String) -> Unit = {},
) {
    val state = rememberRichTextState()
    state.setHtml(html)

    val uriHandler by remember {
        mutableStateOf(
            object : UriHandler {
                override fun openUri(uri: String) {
                    onClick(uri)
                }
            },
        )
    }

    CompositionLocalProvider(LocalUriHandler provides uriHandler) {
        BasicRichTextEditor(
            state = state,
            readOnly = true,
            enabled = false,
        )
    }
}

Hi,
Clicking URLs is only working on RichText, not RichTextEditor.
When are in the editor, it doesn't make sense to open the link because the click should change the cursor position (like Slack for example).
You can know if the cursor is on a link or not, using richTextState.isLink:
LaunchedEffect(richTextState.isLink) {
    println("selectedLinkText: ${richTextState.selectedLinkText}")
    println("selectedLinkUrl: ${richTextState.selectedLinkUrl}")
}

Hi,
Clicking URLs is only working on RichText, not RichTextEditor.
When you are in the editor, it doesn't make sense to open the link because the click should change the cursor position (like Slack for example).
You can know if the cursor is on a link or not, using richTextState.isLink:
LaunchedEffect(richTextState.isLink) {
    println("selectedLinkText: ${richTextState.selectedLinkText}")
    println("selectedLinkUrl: ${richTextState.selectedLinkUrl}")
}

Ah thanks a lot! I wasn't aware there was a non-editor version of it. Works fine!


Auto Model

Planning on using gpt-3-turbo to evaluate input and then choose the model to pass on to.

currently simple heuristics to choose model


Add support for wss://

ws:// doesn't work at least on Chrome if the current page is in https mode.

Thank you.
I now have another issue ...
In Chrome failed: Connection closed before receiving a handshake response.

I managed to make it work by specifying {server: server} option.


CheapThreads.jl will be renamed Polyester.jl

https://github.com/JuliaRegistries/General/pull/37172
The name change should happen by Monday. Not sure if CompatHelper will catch this.
All you should have to do is replace CheapThreads with Polyester. It's simply been renamed.

Awww... I loved the name CheapThreads.jl, because who doesn't like cheap threading support? ;-)
But thanks a lot for the heads up!!

Thanks for the heads up!

Awww... I loved the name CheapThreads.jl, because who doesn't like cheap threading support? wink

The joke is that Polyester are "the cheapest threads you can find". https://github.com/JuliaSIMD/Polyester.jl/issues/2