MethodNotFound Exception for CampaignManagementService

Hello,
I am getting the following error *** MethodNotFound: Method not found: 'CampaignManagementService.BasicHttpBinding_ICampaignManagementService.__repr__'  when trying to get a CampaignManagementService.
The troublesome code being used is this:
def _build_campaign_service(self, account_id, customer_id):
        authorization_data = AuthorizationData(
            developer_token=BING_DEVELOPER_TOKEN,
            authentication=self.authentication,
            account_id=account_id,
            customer_id=customer_id,
        )

        campaign_service = ServiceClient(
            'CampaignManagementService',
            authorization_data=authorization_data,
            environment=BING_ENVIRONMENT
        )

        return campaign_service

All parameters for the call seem to be populated correctly.
One more weird thing is that the only output I get is No handlers could be found for logger "suds.client", nothing else, and the application just hangs at that point. The only way I could see the error was by using ipdb.set_trace()
     266         campaign_service = ServiceClient(
     267             'CampaignManagementService',
     268             authorization_data=authorization_data,
     269             environment=BING_ENVIRONMENT
     270          )
     271
--> 272        return campaign_service

ipdb> campaign_service
*** MethodNotFound: Method not found: 'CampaignManagementService.BasicHttpBinding_ICampaignManagementService.__repr__'

I do not know where to start debugging the issue, any pointers would be greatly appreciated!

Hi, are you using the 'production' env?
I tried to reproduce locally, but haven't see the same error.
do you have any problems when using other bingads services?
For the exceptions: could you please add a try block to catch the exceptions? below is an example:
try:
campaign_service = ServiceClient(
'CampaignManagementService',
authorization_data=authorization_data,
environment=BING_ENVIRONMENT
)
print(campaign_service.service_url)
except suds.WebFault as ex:
# please add a break point or print the ex to check the exception details.
...
Thanks.

Regarding No handlers could be found for logger "suds.client", you can import logging as shown in this example:
https://github.com/bing-ads-sdk/BingAds-Python-SDK/blob/master/examples/BingAdsPythonExamplesConsole/BingAdsPythonExamplesConsole/SearchUserAccounts.py#L9
9 #import logging
10 #logging.basicConfig(level=logging.INFO)
11 #logging.getLogger('suds.client').setLevel(logging.DEBUG)
I hope this helps!

Hi gents
Yes, I am using the 'production' environment
I am away from a computer now, but will try the suggestions and come back with more info.

Hi
I tried again today on my workstation, it works well on my side, for your function definition:
def _build_campaign_service(self, account_id, customer_id)
it will return a campaign_service instance without error. And I added more test to check if the methods  of campaign service can work.
Not sure what authentication method you are using, here I use PasswordAuthentication.  below is my code:
def _build_campaign_service(account_id, customer_id):
    authorization_data = AuthorizationData(
        account_id=ACCOUNT_ID,
        customer_id=CUSTOMER_ID,
        developer_token=DEVELOPER_TOKEN,
        authentication=PasswordAuthentication(user_name=USER_NAME, password=PASSWORD)
    )

    campaign_service = ServiceClient(
        'CampaignManagementService',
        authorization_data=authorization_data,
        environment='production'
    )

    return campaign_service

test_campaign = _build_campaign_service(ACCOUNT_ID, CUSTOMER_ID)
test_get_campaigns = test_campaign.GetCampaignsByAccountId(ACCOUNT_ID)
checked test_get_campaigns has all the campaigns under the account id.
Thanks.

Hi, this is quite weird:
ipdb> campaign_service
*** MethodNotFound: Method not found: 'CampaignManagementService.BasicHttpBinding_ICampaignManagementService.__repr__'
ipdb> campaign_service.service_url
'https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl'

It seems that it actually works - the reason I thought it was hanging was that, using this code to pull all the campaigns, it took a very long time to return all of them (10+ minutes), even though they are less than ten campaigns, all in the last 6 months.
I can't explain the error above - I am using the Oauth method and am getting the same issue both on my local development box and on our server (both are Ubuntu 12.x machines)
I am using the following package versions.
bingads==9.3.4
suds-jurko==0.6

Oh well, as long as it works...
I don't know if it's worth investigating this issue any further since I can get the results, I think it can be closed.
However, if I could be of any use to help debugging it, I'd love to help.
Thanks for the suggestions!

Thanks. If you have further problems please feel free to let us know.


Cannot download pretrained models

Do pretrained models available to public?

When I check the links then they are working for me. Is there a specific model that doesn't work downloading for you?

Hi, I managed to download the file using firefox instead of google chrome... although I have enabled the pop up notification already... But there is no model.pytorch or model.trt in the file. May I know is this normal? Any steps I've missed out?


HIBP api in development version not working?

I've compiled the current master. Even passwords like 12345 and allesistsuper which do show up as breached in the web query are not detected. Is this a bug or am I missing something?

There are several HIBP modes (API and Dumps). Which one are you using, or rather: Could you provide the exact command you used?

Just found the bug, will submit pr in a second :-)


Conflicting file - Last modified date filed requested on both files

Please could you consider showing each files last modified dates on the conflict screen as often in my case I need to chose the older file (but depending when the latest file was created/modified), currently I need to use the "Show in Folder" button to always confirm which fine I need to keep as I can see the modified dates from each file in Windows Explorer.
I've posted some more details on the Syncthing forum and was asked to lodge this via Github, more details including screenshot can be found at the following URL:
https://forum.syncthing.net/t/conflicting-file-last-modified-date-filed-request-on-both-files/12959
Cheers!

I want to second this and expand it. My request is

show last modified date of all files, newest file at the top
instead of "original" say whether it is newest or older
show from witch device a file comes

This would help me much to understand the conflicts and to avoid wrong decisions. I'd be very grateful if this request would be implemented. Thank you.


Update custom protocol handler library to fix issues on chrome os

Use updated library to incorporate these changes: https://github.com/larrysalibra/custom-protocol-detection/pull/1 from @brandonparee to fix Chrome OS https://github.com/blockstack/blockstack-browser/issues/1269

 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.

Tested this on my mac to make sure it didn't break existing functionality using blockstack-todos:
on this branch:
npm link
cd ../blockstack-todos
npm link blockstack
Then run the todos app locally and try signing in.

Thank you @kantai

is not fixed yet?


create audiobuffer structure?

where/if a custom structure needed for passing buffers
ensure no unnecessary copies get created across the modules

unnecessary


Unable to invoke atlantis server container

I've gone the path of running via solution three, "running in own environment." But my service is not running, probably due to combination of entrypoint (which I left blank) and command (which gets displayed in log message shown below.)
/usr/local/bin/docker-entrypoint.sh: exec: line 46: atlantis server --log-level=debug \
--gh-user=XXXX --gh-token="YYYYY" --gh-webhook-secret="something" --repo-config-json='
{
    "repos": [
        {
            "id": "/.*/",
            "allowed_overrides": [
                "workflow"
            ],
            "allow_custom_workflows": true,
            "apply_requirements": [
                "approved",
                "mergeable"
            ]
        }
    ]
}
' --repo-whitelist=github.com/our/repository: not found

Where did I go wrong?

this issue appears to be due to not being able to find the repository


Add a favicon

Your website is very beautiful, adding a favicon will make it more attractive.

Hey , I came across this issue and would love to work on it.
Could you confirm if it's still open? If available, could you please assign it to me?


Updated link to "Adding themes/languages" note

Updated the link pointing to the "Adding themes/languages" note:
- https://github.com/dawnlabs/carbon#a-note-on-adding-themeslanguages
+ https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md#a-note-on-adding-themeslanguages

Thank you!


Unable to run tests

Description
I have Detox set up for our project, and it appears to be functioning correctly for my colleagues who are using Macs with M chips. However, we've encountered an issue on one Mac with an Intel chip, and I'm uncertain if that might be the root cause.
The problem manifests when attempting to execute the tests using npm run e2e:ios, resulting in the following error:
DetoxRuntimeError: /Users/mikeme/Library/Detox/ios/1e0e383df9a61c49c49d7831dacfe193589825c0/Detox.framework could not be found. This suggests either a change in the version of Xcode or an unsuccessful Detox post-install script.
To attempt a fix, you can try running 'detox clean-framework-cache && detox build-framework-cache'.

However, running the suggested command to clean the cache yields the following warning:
WARNING: Xcode is not installed on this machine. Skipping iOS framework build phase.

This is perplexing, as Xcode is indeed installed on the Mac. I've attempted to address the issue by reinstalling Xcode, but unfortunately, this hasn't resolved the problem. Additionally, I've ensured that both the macOS (Sonoma 14.3) and Xcode are updated to their latest versions, yet the issue persists.

When I run this command in the terminal, here's what I'm getting:
Usage: xcrun [options] <tool name> ... arguments ...

Find and execute the named command line tool from the active developer
directory.

The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.

Options:
  -h, --help                  show this help message and exit
  --version                   show the xcrun version
  -v, --verbose               show verbose logging output
  --sdk <sdk name>            find the tool for the given SDK name
  --toolchain <name>          find the tool for the given toolchain
  -l, --log                   show commands to be executed (with --run)
  -f, --find                  only find and print the tool path
  -r, --run                   find and execute the tool (the default behavior)
  -n, --no-cache              do not use the lookup cache
  -k, --kill-cache            invalidate all existing cache entries
  --show-sdk-path             show selected SDK install path
  --show-sdk-version          show selected SDK version
  --show-sdk-build-version    show selected SDK build version
  --show-sdk-platform-path    show selected SDK platform path
  --show-sdk-platform-version show selected SDK platform version

@noomorph are there any updates on this? I'm experiencing the same issue 😢

According to the script:
https://github.com/wix/Detox/blob/master/detox/scripts/build_framework.ios.sh
the error message you see if caused by your shell being not able to find xcodebuild.


Upgrade to Validate v1.10 and update release notes

Closes #212
@ukanga I went ahead and wrote the release notes to make this easy to roll out on Monday. Feel free to adjust the date to earlier or later and push the changes into my branch.

@lognaturel I'd love a sanity check to make sure this works for your test forms!

It does work. Validate is showing a warning I don't remember seeing before:
LF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

I'm not sure why this is.

Oh, is this the first update where JavaRosa uses SLF4J for logging?


chore: Update Dockerfile permissions and Python path

Pull Request
Description
This change modifies the Dockerfile to enhance the execution environment for the analyser module:

Adds a chmod +x analyser command to ensure the analyser is executable.
Sets the PYTHONPATH environment variable to the root directory (/).

These modifications improve the reliability and flexibility of the container setup, ensuring proper permissions and module accessibility.
fixes #86

#84  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Sep 30, 3:44 AM EDT: @JackPlowman merged this pull request with Graphite.


Not compatible with argocd v2.2.0?

After upgrading to v2.2.0, any application using argocd-lovely-plugin goes into an unknown sync state with no obvious way of recovering.
Raised this ticket to track any troubleshooting, rca and/or fixing.

Lovely doesn't yet support ArgoCD's new plugin model. I haven't looked up whether the old model is still supported.

Just to add an update. The old model appears to still be supported. I have it working with argocd v2.2.1
I think the issue boils down to the upgrade from argocd 2.1 to 2.2 doesn't re-spin the various redis cash pods, which causes some sort of internal caching issue. Shooting all the pods seems to get everything working again.


KeyError: viztracer_metadata

Hi,
First, thank you for your awesome work!
I am using Python 3.8.11, and am trying to get profiling with GIL (by following this article): https://www.maartenbreddels.com/perf/jupyter/python/tracing/gil/2021/01/14/Tracing-the-Python-GIL.html)
I did the following commands:
$ perf record -e sched:sched_switch  -e sched:sched_process_fork -e 'sched:sched_wak*' -k CLOCK_MONOTONIC  --call-graph dwarf -- viztracer -o viztracer1-gil.json --ignore_frozen [MY PYTHON SCRIPT COMMAND]
$ perf script --no-inline | per4m perf2trace sched -o perf1-state.json
$ viztracer --combine perf1-state.json viztracer1-gil.json -o example1-gil.html

The above two commands correctly produced outputs.
But, when I tried the last command, it gave me this error:
Dumping trace data, total entries: 103120Traceback (most recent call last):
  File "[PATH]/viztracer", line 8, in <module>
    sys.exit(main())
  File "[PATH]/python3.8/site-packages/viztracer/main.py", line 594, in main
    success, err_msg = ui.run()
  File "[PATH]/python3.8/site-packages/viztracer/main.py", line 345, in run
    return self.run_combine(files=self.options.combine)
  File "[PATH]/python3.8/site-packages/viztracer/main.py", line 458, in run_combine
    builder.save(output_file=ofile)
  File "[PATH]/python3.8/site-packages/viztracer/report_builder.py", line 177, in save
    self.generate_report(f, output_format="html", file_info=file_info)
  File "[PATH]/python3.8/site-packages/viztracer/report_builder.py", line 148, in generate_report
    self.prepare_json(file_info=file_info, display_time_unit="ns")
  File "[PATH]/python3.8/site-packages/viztracer/report_builder.py", line 112, in prepare_json
    if self.combined_json["viztracer_metadata"].get("overflow", False):
KeyError: 'viztracer_metadata'

So I removed lines touching viztracer_metadata keys from report_builder.py and could get outputs.
Is this a bug or am I missing something here?
FYI, I could see viztracer_metadata from viztracer1-gil.json file.

Could check perf1-state.json to see if there's viztracer_metadata key in it? I think the reason is that perf1-state.json is generated by per4m, which is Maarten's 3rd-party tool as a supplement to VizTracer. Cool as the tool is, it was built a while ago and VizTracer has stepped forward quite a long distance.
In short, VizTracer expects the input reports(json files) to not only be a valid json, a valid Chrome Trace Event file, but a VizTracer generated file. There could be some work done there to make it as compatible as possible, and I will look into that to see if it's worth it.
There are a couple of options for you at the moment.

Obviously, you can edit the viztracer locally just to remove that line, that could just work in your case.
Pin your viztracer to the version Maarten used for this project, when there's no such requirement.
Added the viztracer_metadata key in the json either manually or with code to make viztracer happy.

Also, if you do decide to use the up-to-date VizTracer, I would suggest that you use json as the final output and use vizviewer to display the report. It was much better than the html version. The html version is kind of deprecated now.
You can do:
$ viztracer --combine perf1-state.json viztracer1-gil.json -o example1-gil.json
$ vizviewer example1-gil.json

Thank you for your fast response.
perf1-state.json does not contain that key. So it makes sense to me.
I will stick with the first option.
I have another question. (I am sorry to ask this question on this issue even though it is different from the main topic)
I am now using json format with vizviewer. This is awesome!!
But is this viewer using browser?
My actual workloads are more complex and generate a big log file.
Its size is few hundreds of MBs or few GBs, and the browser (firefox) keeps failining to open it.
FYI, this is command that I used:
$ vizviewer output.json
and the error is:
Trace: http://<IP_ADDRESS>:9001/localtrace
Viewed on: http://<IP_ADDRESS>:9001

Error: RPC framing error

I guess this is because of OOM on browser.

I noticed that it is using Perfetto  and found a way from here: https://perfetto.dev/docs/visualization/large-traces
Please feel free to close this issue.
Again, thank you for your awesome work and immediate helps!

It is known that Firefox does perform as well as Chrome for Perfetto on large traces. (Not hard to imagine huh? It's built by Google.) Anything < 1GB should be reasonably for Chrome. However, you can definitely use local Perfetto trace processors if you like, and if you don't need the fancier features of the vizviewer customized version - for example, source code display on the functions.
I will close this issue for now, but feel free to ask other questions.


Flux Networks's transmitter mode does not charge EnderIO's powered items.

Versions:

FluxNetworks-1.10.2-1.0.9
SonarCore-1.10.2-3.1.9
EnderIO-1.10.2-3.1.156
EnderCore-1.10.2-<IP_ADDRESS>-beta
forge-1.10.2-<IP_ADDRESS>2

I was testing the transmitter mode with EnderIO's powered items before, but nothing happens.
When I was playing on my server with transmitter mode on, my Draconic Evolution's powered items got charged rapidly through transmitter mode.
And I noticed some EnderIO's powered items have two sets of RF indicator when moused over, one of them gets charged through transmitter mode, but the item does not think it's charged.

Fixed in dev, the fixes will in Sonar Core, so bare in mind you'll need to update that as well. Update should be out by the end of today.


Add .rcond() and .rcond_into()

This commit exposes the LAPACK *gecon routines through .rcond() and .rcond_into() methods. It also changes the character representations of NormType to capital letters to be compatible with *gecon.

Good catch on the opnorm_one(). I didn't notice that method earlier.
I moved NormType to lapack_traits/mod.rs. Should lapack_traits::opnorm have pub use super::NormType, or just use super::NormType?

Thanks!

Should lapack_traits::opnorm have pub use super::NormType, or just use super::NormType?
I make it public.


🐛 [firebase_auth] Unhandled Exception: Null is not a subtype of String when calling verifyPhoneNumber

[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: type 'Null' is not a subtype of type 'String' E/flutter ( 1180): #0 MethodChannelFirebaseAuth.verifyPhoneNumber.

Hi @ErahimKsaab, please provide a complete minimal reproducible code sample along with the output of flutter pub deps -- --style=compact.
Also, is this bug occurring in release mode or debug mode as well?
How did you setup your project?
Can you also check https://github.com/firebase/flutterfire/issues/10139 to see if any of the solutions work for you?

Also, is this bug occurring in release mode or debug mode as well?
How did you setup your project?
Can you also check #10139
https://github.com/firebase/flutterfire/issues/10139 to see if any of
the solutions work for you?
—
Reply to this email directly, view it on GitHub
https://github.com/firebase/flutterfire/issues/10779#issuecomment-1506679957,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARNFZ5BUSCWJOZ4RBCQSFL3XA7EI5ANCNFSM6AAAAAAW4JTRHI
.
You are receiving this because you were mentioned.Message ID:
@.***>

i manually set up my project
yes i uploaded my sha-1 and sha-256 keys to the firebase console
FirebaseAuth auth = FirebaseAuth.instance;
await auth.verifyPhoneNumber(
phoneNumber: '+201227243731',
timeout: const Duration(seconds: 60),
codeAutoRetrievalTimeout: (String verificationId) {
},
);
في الجمعة، 14 أبريل 2023 في 12:20 م تمت كتابة ما يلي بواسطة Daniel
Agbemava @.***>:

yes i setup my app
Hi @ErahimKsaab https://github.com/ErahimKsaab, I meant did you
manually set up your project or did you set it up with flutterfire
configure?
Please also provide a complete minimal reproducible code sample so that we
can investigate this.
Also, have you uploaded your sha-1 and sha-256 keys to the firebase
console?
—
Reply to this email directly, view it on GitHub
https://github.com/firebase/flutterfire/issues/10779#issuecomment-1508286649,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARNFZ5A2WWR7W5VHYNXY7F3XBEQHBANCNFSM6AAAAAAW4JTRHI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @ErahimKsaab, please provide a minimal complete reproducible code sample  in a github repo so that we can clone and run to verify this issue.
Thank you


Infrastructure: Hook up Travis' docker images to repository tags

Builds performed on Travis (the current CI used by Crystal) have been a bit behind from releases.
It appears this process requires manual build of such images (per comment here)
This also affects builds of submitted PRs.
Perhaps will be possible to:

Move the Dockerfile used to produce these Linux targets (32 and 64bits) into Crystal repository
Check if the build of those images can be automated via Docker hooks on tags (not every commit)
If previous cannot be done, document steps/instructions or script required to run after each release.

Thank you
:heart: :heart: :heart:
/cc @jhass @asterite

Yes, automatic docker builds would be great!
Currently, 0.20.4 is missing on https://hub.docker.com/r/crystallang/crystal/ :disappointed:

As a temporary workaround one might use the lastest tag:

The tag 0.20.4 magically appeared on https://hub.docker.com/r/crystallang/crystal/tags/ :smile_cat:
Thank you! :green_heart:

See if this could be integrated with #3721

@spalladino I think docker builds are best done on docker hub itself, but release builds + packaging is definitely a goal for the CI I have in mind. Then the Dockerfile then would just download a package and install it. Providing an officially-supported alpine package and docker container would also be something I would be willing to spend time doing.

Agree with @RX14, I think the final build should be built once, but can be delivered in many methods, like: Docker image, Ubuntu package, Homebrew formula, etc.
But I don't know if this is possible because Crystal depends on the host environment (like LLVM version, in some distro may provide different versions LLVM package)

Bumping this issue:
Can we setup the automatic build of docker images using tags on Docker Hub?  https://hub.docker.com/r/crystallang/crystal/tags/
0.24.1 is out but the image still doesn't exist.
It's fairly easy to configure automated builds now.  You can setup the master branch to create the latest image and tags to create released versions.
Branch: master -> crystallang/crystal:latest
Tag: * -> crystallang/crystal:*

Automatic docker builds from CI have been working for quite some time now. Closing.


how to decide the model_points?

Hi,
I just wonder how should I decide the "model_points" in your model? Thx!

@bruce0715  hi Bruce, you can reference this https://www.learnopencv.com/head-pose-estimation-using-opencv-and-dlib


chapter21: improvements for notebook

Describe the bug

enumeration of the lama model variants in README and notebook should have line breaks
notebook should install the necessary pip packages.

both issues are fixed with PRs
https://github.com/microsoft/generative-ai-for-beginners/pull/607
https://github.com/microsoft/generative-ai-for-beginners/pull/608

both issues are fixed with PRs
https://github.com/microsoft/generative-ai-for-beginners/pull/607
https://github.com/microsoft/generative-ai-for-beginners/pull/608


Screen may not get focus on startup

@hkmg : sometimes when I click run, the screen does not have cursor, i.e cannot start the game, I need to refresh the page to solve it

So far, unable to reproduce.


Particle with an orthographic camera fix

GitHub issue: https://github.com/playcanvas/engine/issues/893
Forum issue: http://forum.playcanvas.com/t/particle-effect-looks-different-in-orthographic/3682/3
I've taken out the billboard function into it's own fragment and depending on the projection of the camera, use the correct fragment for the billboarding transformation.

Problem with this approach is that it will compile shader once based on camera type, but then if you change camera projection or use multiple cameras with mixed projections this approach will not work, and use one shader for both cameras.
Easiest way to preview this in this project: https://playcanvas.com/editor/scene/513932
There are two cameras, first one is Perspective and second Orthographic, because first is persp. it will compile different shader, not suitable for ortho. If you change them places, then it will be fine. But if you first have perspective camera and then set to ortho - problem again.
Editor camera preview of ortho. user cameras shows same issue.

With that in mind, what is the preferable option here for the shader?

Adding an if condition in the shader (guessing not for performance reasons)
Using a conditional assignment operator (supposed to be better than an if?)
Some clever math in the billboard function based on parameters passed to the shader
Some fourth option I haven't considered?

Summoning @guycalledfrank to answer those question :)

Closing this PR as I made a new one due to going in a different direction with the shaders:
https://github.com/playcanvas/engine/pull/910


Black screen on dismiss action iOS 13

Showing black screen on close button action on iOS 13 + iPad 10.5"

The same on iPhone (iOS 13 simulator)

me too, I had faced this issue

function "shouldPresent" of file Card.swift add the following code:
detailVC.modalPresentationStyle = .fullScreen

see more: https://github.com/PaoloCuscela/Cards/issues/121

function "shouldPresent" of file Card.swift add the following code:
detailVC.modalPresentationStyle = .fullScreen

see more: #121

It doesn't work

function "shouldPresent" of file Card.swift add the following code:
detailVC.modalPresentationStyle = .fullScreen

see more: #121

@A-M-j  It worked for me I am using objective c version & tested for in both device and simulator.

I did             detailVC.modalPresentationStyle = .fullScreen
the problem remains
Xcode 11.4.1
Project Deployment Target iOS13.0
Target Deployment iOS 13.0
Device iOS 13.3.1


Design question

@barshow what was the design decision behind the 2 second channel inactivity timeout?

This is a great question.  It should be configurable for sure and ill make sure to do that.  Our use case is very bursty as far as queue setup, bindings etc, so the 2 seconds works pretty well for us.  However I think keeping that channel open either all the time or with a longer timeout could also make sense for other use cases.  What would your preference be?

@barshow making this configurable would be a great feature. Longer timeouts would make more sense for our use case as we usually see < 1 msg per second per channel when consuming so timeouts occur quite frequently.

so @janajri to be clear that 2 second timeout is only for channel setup operations, things like declaring queues setting up bindings etc.  Consuming or publishing channels will stay open until you close them.  But I still will add that configuration.

@barshow, I understand. Thanks for that clarification. Although this is also very useful as we are using this client to connect across data centers (Singapore to US-East)...and just noticed you're already on top of this. Thanks for the quick turnaround! Keep up the great work.

https://github.com/dropbox/amqp-coffee/pull/46 introduces the configuration its published to npm as<EMAIL_ADDRESS>let me know if that works for you

good stuff, I'll try to get this into production as soon as possible. Let's close this out for now.


Exception when using with Tile Tabs WE

This happened both in 0.6.9 and 0.7alpha, in Firefox 60 64bit on Windows 10.
When I have a single window open with just two tabs in the current group, and activate Tile Tabs WE to split the browser vertically, this exception is thrown. But everything seems to work as it should.
SyncTabGroups-Log-20180515-013742.zip

Thank you for reporting. The Error Log is quite recent and might be too strict. So, maybe, it is not a real problem, I will investigate.

Sometimes, Tile Tabs WE opened and closed immediately another extra window. STG was working then on an unavailable window.
Error are better managed when window doesn't exist any more.

Not sure if the fix for this bug in 0.7 did not break something else... Now when I close the TTWE layout with 2 tabs split into 2 windows, a third tab gets open displaying the first or second tab from the previously selected group. This tab is not "moved", it is "copied", to say so - it does not disappear from its original group.


test-branch/execute-job/fork-branch/b7733250-b4f2-42c1-9b44-ccf90ffa5da0

PR for testing 065ee847728921831f3df8cd0f93c7ff3df5c025

padding /canonical/self-hosted-runners/run-workflows 065ee847728921831f3df8cd0f93c7ff3df5c025 padding


Did not found plugin after following the installation procedure

Hi there,
Wanted to take a look at your plugin after reading about it here but could not - I have it in proper path yet it wasn't found.
Any clue what am I not doing or doing wrong?
lafk-T470% ls .config/terminator/plugins
teminator_search.py
lafk-T470% terminator -v
terminator 1.91
lafk-T470% inxi -S -xxx
System:    Host: lafk-T470 Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: Xfce 4.12.3 (Gtk 2.24.31) info: xfce4-panel dm: lightdm Distro: Ubuntu 18.04 LTS

Did you enable the plugin and restart Terminator?

I couldn't, plugin window had no Terminator Search, only the default plugins were there. Checked even now.

I think it would maybe related to plugins directory permission or Python version.
Could run terminator in debug mode by terminator -d in another terminal emulator like Ubuntu default terminal and put logs here?

Debug! Doh, an obvious idea! Sure! Erm, as there's quite the output, and it doesn't work with redirect,
Are we looking for this? Or should I also look for something else?
PluginRegistry::prepare_attributes: PluginRegistry::prepare_attributes: Plugin path: ['/usr/share/terminator/terminatorlib/plugins', '/home/tammo/.config/terminator/plugins']
Log from an older machine I'm using now term.log
I'll add newer machine log as well after I switch to it.
Older machine data:
System:    Host: T420s Kernel: 4.4.0-121-generic x86_64 (64 bit)
Desktop: Xfce 4.12.3 Distro: Ubuntu 16.04 xenial
terminator 0.98
Permissions on older machine

I read the log file and there wasn't a specific exception about the plugin code, actually, everything was fine. Also, I tried to apply your permission directory and files to my machine and again it works.
Maybe something is wrong with terminator plugin directory. If you look at the log file you'll see that terminator didn't try to load terminator_search.py file. I guess by moving plugin file to the main plugin directory it'll work.
Plugin directory on tammo machine: /usr/share/terminator/terminatorlib/plugins
My Terminator version: 1.91

OK, I think I found the problem. Module without attribute "available" on new machine.
PluginRegistry::load_plugins: PluginRegistry::load_plugins: Importing plugin teminator_search.py
PluginRegistry::load_plugins: Importing plugin teminator_search.py failed: 'module' object has no attribute 'AVAILABLE'

Full log:
newMachine.log
, for those interested.
Thank you @msudgh for the debug suggestion!

Nice try :))
Please change the following line which AVAILABLE defined to available in  terminator-search.py.
https://github.com/msudgh/terminator-search/blob/50c9a4e8ebf24274487d93a54707f254b72d32ac/terminator_search.py#L8
and then restart terminator.
please inform me if it works to fix the bug.

Actually it is the other way around @msudgh ! I had the lowercase word and I uppercased it. Now it works, though I had to find and quit all instances of terminator (gave me a pause - why the hell are logs from debug that different this time?). I can now search via highlight > right click > choosing search from menu.
Thank you again, both for time spent on this and for work on the plugin. :-)

Actually, I didn't understand how you did fix it :D
Which case works? uppercase or lowercase?

Lowercase was present, uppercase was needed.                                                                                LAFK_PL                                                                                Od<EMAIL_ADDRESS>21 maja 2018 10:44 AMDo<EMAIL_ADDRESS>do<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Re: [msudgh/terminator-search] Did not found plugin after following the installation procedure (#3)  Actually, I didn't understand how you did fix it :D
Which case works? uppercase or lowercase?
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or mute the thread.


consolecore not working with .NET Core 3.1 anymore

Greetings!
Not sure if this is just a compatibility issue but I couldn't find docs on consolecore 13.9.4 support wrt dotnet 3.1.
I recently had a build server issue with dotnet tool restore not able to restore nswag.consolecore 13.6.1 so I thought I would update to the latest 13.9.4. (dotnet tool restore error for 13.6.1 is here for completeness):
[09:13:04]Package "nswag.consolecore" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
[09:13:04]   at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
[09:13:04]   at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
[09:13:04]   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)

I am running consolecore like this on a .NET Core 3.1 web app:
dotnet nswag aspnetcore2openapi /project:MyApp.Api.csproj /Configuration:OpenApi /documentName:v1 /output:..\..\OpenApi\MyApp.json
with 13.9.4 I get the following output. In this run I tried /TargetFramework:netcoreapp3.1 but it fails with or without it:
NSwag command line tool for .NET Core Net50, toolchain v<IP_ADDRESS> (NJsonSchema v<IP_ADDRESS> (Newtonsoft.Json v<IP_ADDRESS>))
Visit http://NSwag.org for more information.
NSwag bin directory: C:\Users\Iain\.nuget\packages\nswag.consolecore\13.9.4\tools\net5.0\any
Executing dotnet msbuild /nologo /verbosity:quiet /p:NSwagOutputMetadataFile=C:\Users\Iain\AppData\Local\Temp\tmpD71E.tmp /t:Build /t:__GetNSwagProjectMetadata /p:TargetFramework=netcoreapp3.1 /p:Configuration=OpenApi MyApp.Api.csproj

Done executing command. Exit Code: 0.
Done executing command
Output:
AssemblyName: MyApp.Api
OutputPath: bin\OpenApi\netcoreapp3.1\
PlatformTarget:
Platform: AnyCPU
ProjectDepsFilePath: C:\Users\Iain\projects\MyApp\src\MyApp.Api\bin\OpenApi\netcoreapp3.1\MyApp.Api.deps.json
ProjectDir: C:\Users\Iain\projects\MyApp\src\MyApp.Api\
ProjectRuntimeConfigFilePath: C:\Users\Iain\projects\MyApp\src\MyApp.Api\bin\OpenApi\netcoreapp3.1\MyApp.Api.runtimeconfig.json
TargetFileName: MyApp.Api.dll
TargetFrameworkIdentifier: .NETCoreApp
Executing dotnet exec --depsfile C:\Users\Iain\projects\MyApp\src\MyApp.Api\bin\OpenApi\netcoreapp3.1\MyApp.Api.deps.json --runtimeconfig C:\Users\Iain\projects\MyApp\src\MyApp.Api\bin\OpenApi\netcoreapp3.1\MyApp.Api.runtimeconfig.json C:\Users\Iain\.nuget\packages\nswag.consolecore\13.9.4\tools\net5.0\any\NSwag.AspNetCore.Launcher.dll C:\Users\Iain\AppData\Local\Temp\tmpE70D.tmp C:\Users\Iain\AppData\Local\Temp\tmpE70E.tmp MyApp.Api C:\Users\Iain\.nuget\packages\nswag.consolecore\13.9.4\tools\net5.0\any\
Launcher directory: C:\Users\Iain\.nuget\packages\nswag.consolecore\13.9.4\tools\net5.0\any
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at System.Reflection.RuntimeAssembly.GetType(QCallAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type, ObjectHandleOnStack keepAlive, ObjectHandleOnStack assemblyLoadContext)
   at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
   at System.Reflection.Assembly.GetType(String name, Boolean throwOnError)
   at NSwag.AspNetCore.Launcher.Program.Main(String[] args) in C:\projects\nswag\src\NSwag.AspNetCore.Launcher\Program.cs:line 126

Done executing command. Exit Code: -532462766.
System.InvalidOperationException: Swagger generation failed with non-zero exit code '-532462766'.
   at NSwag.Commands.Generation.AspNetCore.AspNetCoreToSwaggerCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in C:\projects\nswag\src\NSwag.Commands\Commands\Generation\AspNetCore\AspNetCoreToOpenApiCommand.cs:line 219
   at NConsole.CommandLineProcessor.ProcessSingleAsync(String[] args, Object input)
   at NConsole.CommandLineProcessor.ProcessAsync(String[] args, Object input)
   at NConsole.CommandLineProcessor.Process(String[] args, Object input)
   at NSwag.Commands.NSwagCommandProcessor.Process(String[] args) in C:\projects\nswag\src\NSwag.Commands\NSwagCommandProcessor.cs:line 55

consolecore works with .NET 3.1 up to 13.8.2 (but I haven't tried 13.9 versions other than 13.9.4).
thanks

The issue has something to do with net5.0 since that was introduced in 13.9+ which is being used by default.  I was able to workaround this issue by specifying the framework when installing the tool, it works with the latest version today (13.9.4).
dotnet tool install nswag.consolecore -g --framework netcoreapp3.1

The issue has something to do with net5.0 since that was introduced in 13.9+ which is being used by default.  I was able to workaround this issue by specifying the framework when installing the tool, it works with the latest version today (13.9.4).
dotnet tool install nswag.consolecore -g --framework netcoreapp3.1

The issue has something to do with net5.0 since that was introduced in 13.9+ which is being used by default.  I was able to workaround this issue by specifying the framework when installing the tool, it works with the latest version today (13.9.4).
dotnet tool install nswag.consolecore -g --framework netcoreapp3.1

The issue has something to do with net5.0 since that was introduced in 13.9+ which is being used by default.  I was able to workaround this issue by specifying the framework when installing the tool, it works with the latest version today (13.9.4).
dotnet tool install nswag.consolecore -g --framework netcoreapp3.1

@bohbra maybe we should update the wiki explaining this required parameter. Can you do that?

@bohbra maybe we should update the wiki explaining this required parameter. Can you do that?

@RicoSuter This parameter only works with the global parameter.  I don't have a solution/workaround for installing it locally since that parameter is not an option.  We should probably have a solution or workaround for both options.

@RicoSuter This parameter only works with the global parameter.  I don't have a solution/workaround for installing it locally since that parameter is not an option.  We should probably have a solution or workaround for both options.

nswag.consolecore has multiple target frameworks but locally you probably cannot define which one to use and it will use the highest installed runtime even if the given project requires a lower one, right?

nswag.consolecore has multiple target frameworks but locally you probably cannot define which one to use and it will use the highest installed runtime even if the given project requires a lower one, right?

In case it helps anyone, NSwagStudio gave the error "System.InvalidOperationException: Swagger generation failed with non-zero exit code '-532462766'" (in NSwagDocumentBase.cs:line 275) for a new C# .NET 6.0 project, when NSwagStudio was set to runtime Net70. The error disappeared when the Runtime option (top left) was changed to Net60.


Update the clean task configuration

Running gradlew clean will now properly delete the generated build artifacts

Cherry-picked for 3.5.2


hello,would you provide a funtion "get road、lane by  x , y " ，thank

thank for reply！
I've already seen #43 。 but in the end ，I didn't even see you providing the function.
the function detailed descriptions  is " input the world coordinate  x and y, get the road id , lane id and s,t coordinate . or  be out of road" .
I  am work in carla  simulation，when carla  provide a  coordinate    x and y, i want to know where is i in the road  , then i know which  next road i  will  go.


Add Cosmos DB to list of services supporting AAD auth

As per issue https://github.com/MicrosoftDocs/azure-docs/issues/89732

@eldridgeb : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


Generate plugin specific planManeuever and planTrajectory service latency

PR Details
Description
Fix 1: In https://github.com/usdot-fhwa-stol/tracetools_analysis/pull/1, some errors that prevented from assigning correct owner_info to service have been fixed. Now the script can distinguish services and clients based on their owner despite generating from same base class and having identical service types.
Fix 2: It also stops using line chart as it may conceal cases where there is data missing intermittently during operation as the line just connects between two separated segments. As you can see below, either the vehicle disengaged or something else happened for plugins to not get called for almost 20 seconds twice:
Previous:
The gap is not so clear, which we may miss.

I noticed the gap more from here:

So changing to Scatter plot:

Different planManeuvers being distinguished:

Related GitHub Issue

Related Jira Key

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Defect fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that cause existing functionality to change)

Checklist:

[ ] I have added any new packages to the sonar-scanner.properties file
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

There was some weird github issue, replaced with https://github.com/usdot-fhwa-stol/carma-analytics-fotda/pull/84


Add ifnotswitch template tag

Add ifnotswitch to handle situation like that:
{% ifswitch replace_old_functionality_123 %}
    {# DO NOTHING. Apparently doens't exist an ifnotswitch template tag #}
{% else %}
    Something old
{% endifswitch %}

...

{% ifswitch replace_old_functionality_123 %}
    Brand new functionality located in different place
{% endifswitch %}

Comment (example) taken from real code

Is anyone interested in this PR? @mattrobenolt


Unary ops logcdf_normal, derivlogcdf_normal for log CDF of standard n…

…ormal

New unary ops

Improved unit tests for basic unary, binary ops

Description
(Brief description on what this PR is about)
Checklist
Essentials

[ ] Passed code style checking (make lint)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Sorry, this is just #9961 reopened, I deleted the remote branch.

Still not quite sure about the name...

@piiswrong Are you worried about polluting the global namespace with specific mathematical functions?
Any suggestions? Some thoughts:

Could move them to random namespace, as this is about functions related to random variates.
Drawback is that random so far has only sampling ops
A new namespace, say stats? Drawback: Not much in there
An operator called "normal_funcs" with a string arg, which I can set to "logcdf", "deriv_logcdf".
This is just a bit harder to implement, cannot use the default macros for unary ops
Move to contrib namespace. I'd be OK with this, but note this is just as solid as gamma or
gammaln, there is nothing experimental about this code. I have the feeling that stuff in
contrib is not generally trusted

These are really useful functions, MXNet should have them. Just let me know what to do.

If things have to be moved to a namespace, I'd need help on how to do that: I don't know how this works.

Is this exactly the same with scipy.stats.norm.logcdf? If so maybe we call it logcdf too?
derivlogcdf is not a pretty name. Any other options?
Does any other frameworks implement these functions? tf?

Hi, the community has passed to vote about associating the code changes with JIRA<EMAIL_ADDRESS>We have updated the guidelines for contributors in https://cwiki.apache.org/confluence/display/MXNET/Development+Process, please ensure that you have created a JIRA at https://issues.apache.org/jira/projects/MXNET/issues/ to describe your work in this pull request and include the JIRA title in your PR as [MXNET-xxxx] your title where MXNET-xxxx is the JIRA id
Thanks!

@piiswrong
Tensorflow has log_cdf in tf.distributions.Normal, see
https://www.tensorflow.org/api_docs/python/tf/distributions/Normal
And yes: It is identical with scipy.stats.norm.logcdf.
Your comments:

We can call it logcdf, but then it is not clear it is the log CDF of the normal distribution
If f(x) is derivlogcdf, then f(-x) is called hazard function of the normal distribution, so one
could call it hazard and implement f(-x)

Note: These functions sound obscure, but they serve a large number of use cases in Bayesian ML. Some examples:

Several acquisition functions in Bayesian optimization require them. BO is important for DNNs,
to choose hyperparameters. The Amper team is using MXNet more and more
Expectation propagation inference for binary classification requires them, a very popular
algorithm (f.ex. the BLIP algorithm used widely at Amazon)

OK: How about we move this to contrib? And if nobody except us is using it much, it can stay there. Let me know.

Hi Eric, Marco told me contrib is not a good place, and suggested to open a new namespace (say: math) for such more specific mathematical functions. They'd be out of the way of most MXNet users, and clunkier names should be more acceptable then.
What do you think? I also wrote to dev@

Please make more efforts in filling out PR template.

I think putting it in contrib is fine for now until we decide if we want a mx.distributions name space

@mseeger ping

I will close this request and reopen it later when I have more time to finish it properly


Question about the SHACL files

The SHACL file has used sh:Class in couple places, for instancy here. Shouldn't all be in lowercase sh:class? I'm not too familiar with SHACL, but can one use both sh:class and sh:pattern as a constraint for an instance of a class as is done for mobilitydcatap:mobilityDataStandard parameter for dcat:Distribution? At least https://shacl.org/playground/ does not seem to understand it. And should this be removed all together as the range of mobilitydcatap:schema is rdfs:Resource and not skos:Concept?

Hi Joonas-M-S,
Thank you for your observations regarding the SHACL file (mobilitydcat-ap_shacl_shapes.ttl). Upon reviewing your feedback, I acknowledge the following points:

Use of sh:Class vs sh:class: I've identified inconsistencies in the SHACL file where sh:Class has been used instead of sh:class. According to the SHACL specification, all keywords should be in lowercase (sh:class), which I will correct accordingly.

Constraint on mobilitydcatap:mobilityDataStandard: You mentioned the use of both sh:class and sh:pattern as constraints for instances of a class. This should align with standard SHACL practices. I will review and adjust the constraints to ensure compliance with the data model, particularly considering the range of mobilitydcatap:schema being rdfs:Resource.

Based on your feedback, I will make the necessary updates to the SHACL file to address these issues.

I see the above proposal (changing to "sh:class" in the SHACL file) has been realised in the recent pull request #60 .
Means the updated SHACL file under mobilityDCAT-AP v1.1.0 will reflect that correction
The other discussed sub-issue is about this double-entry under property ""mobility data standard":
    sh:pattern "https://w3id.org/mobilitydcat-ap/mobility-data-standard"
    sh:Class mobilitydcatap:MobilityDataStandard

Jonaas has asked to delete the first line.
This sub-issue will be resolved/clarified via an upcoming issue "how to call an individual Mobility Data Standard from one Distribution" (with "cases 1 and 2"). @marioscrock Please create such issue, as requested by email.
I will close this issue #36 for now.


Quantum Reinforcement Learning Demo

General information
Name
Thomas Nathaniel Toseland (My GitHub ID is AVON257).
Affiliation (optional)
University of St Andrews.
Twitter (optional)
I don't have Twitter but anyone interested can email me at<EMAIL_ADDRESS>Image (optional)
How do you make a computer solve this problem fast?
https://pytorch.org/tutorials/intermediate/reinforcement_q_learning.html [online] (accessed 21/10/2023).

Demo information
Title
Quantum Reinforcement Learning using complex variables.
Abstract
A short abstract describing your demo. Try to keep it to 1-3 sentences that make clear the goal and outcome of the demo.
The purpose of this is to solve the cart-pole problem of reinforcement learning, faster than has been previously possible using a simulated, quantum computing demo. This has not yet been tested on real hardware but on my desktop (with an RTX3090), this only takes about 2 minutes or less to train.
Relevant links
[Add a link to your demo (as a GitHub repository, Jupyter Notebook, Python script, etc.) as well as links to any papers/resources used
https://github.com/AVON257/Complex-Valued-Quantum-Neural-Networks/blob/main/Reinforcement Learning(1).ipynb.

S.Russell.P.Norvig. Artificial Intelligence: A Modern Approach. (14).
https://github.com/openqasm/openqasm/tree/OpenQASM2.x [online] (accessed 21/07/2022). (15).
https://arxiv.org/pdf/2104.14722.pdf [online] (accessed 21/07/2022). (16).
https://arxiv.org/pdf/2109.00506.pdf [online] (accessed 21/07/2022). (17).
https://strawberryfields.readthedocs.io/en/stable/ [online] (accessed 21/07/2022). (18).
https://pennylane.ai/qml/ [online] (accessed 21/07/2022). (19).
https://arxiv.org/pdf/2108.12926.pdf [online] (accessed 22/07/2022). (20).
https://strawberryfields.readthedocs.io/en/stable/code/sf_ops.html [online] (accessed 21/07/2022). (21).
https://www.nature.com/articles/s41586-021-04301-9 [online] (accessed 28/07/2022). (22).
https://link.springer.com/content/pdf/10.1007/s13244-018-0639-9.pdf [online] (accessed 28/07/2022). (23).
https://pytorch.org/tutorials/intermediate/reinforcement_q_learning.html [online] (accessed 21/10/2023). (24)
https://pennylane.ai/qml/demos/tutorial_qnn_module_torch [online] (accessed 21/10/2023). (25).
Lectures on Several Complex Variables P.M. Gauthier (kindle edition). (25).
Combinatorial and Toric Homotopy (Kindle edition, A.Darby, J.Grbic, Z.Lu, J.Wu) (26).
BiHarmonic Submanifolds and Biharmonic Maps in Riemannian Geometry (Ye-Lin Ou, Bang-Yen Chen, Kindle Edition), (27).
https://pytorch.org/tutorials/intermediate/reinforcement_q_learning.html [online] (accessed 21/10/2023). (28).

Thank you for submitting this demo @AVON257 ! We will review it and come back to you in a couple of days.

To improve readability it's useful to keep all text to the same size unless it's actually a heading. I think you added "#" before some lines of text in this issue and in your demo, which accidentally turned these lines into a heading (very large size).

Sorry about that, I'm not very experienced at this.
On Mon, 23 Oct 2023, 22:19 Catalina Albornoz, @.***>
wrote:

To improve readability it's useful to keep all text to the same size
unless it's actually a heading. I think you added "#" before some lines of
text in this issue and in your demo, which accidentally turned these lines
into a heading (very large size).
—
Reply to this email directly, view it on GitHub
https://github.com/PennyLaneAI/qml/issues/962#issuecomment-1776038180,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMWQGN4ATYFC2YYLJHVNLS3YA3NNPAVCNFSM6AAAAAA6KKKJ3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWGAZTQMJYGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

No problem @AVON257 ! You should be able to fix it in your notebook easily. 😄

I think what I'd like to do, is wait until I've got all the feedback on
your decision, and then fix it and resubmit a revised version of it to you.
On Tue, 24 Oct 2023, 01:00 Catalina Albornoz, @.***>
wrote:

No problem @AVON257 https://github.com/AVON257 ! You should be able to
fix it in your notebook easily. 😄
—
Reply to this email directly, view it on GitHub
https://github.com/PennyLaneAI/qml/issues/962#issuecomment-1776241016,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMWQGN66UPHG5FSZ3EQYV23YA4AH7AVCNFSM6AAAAAA6KKKJ3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWGI2DCMBRGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @AVON257 ,
Thank you again for submitting this demo. You will need to make some changes before we can publish it. Quality is key so that people who go to your demo to understand it and learn from it as much as possible.
First, take a look at the other examples here and see how they write their README, their notebook, what files they include, etc. Each file should be concise, including only the relevant information. For example, it would be good to explain what the cart pole problem is about at the beginning of your notebook.
It's great that you want to offer permission for anyone to use, distribute, or modify your source code as long as they cite you in their work. A good way to convey this information is by adding a License to your project. If you look for example at the PennyLane GitHub you see that we use the Apache 2.0 license. There are many kinds of licenses so please make sure you understand what the license means. You can add it as a separate file in your repository.
Did you make the entire code yourself or are there parts of the code that you took from somewhere else? At the moment you have so many references that someone coming to your project won't know what parts of the project came from which one. I'm sure that they all influenced your learning but which of these actually need to be referenced? For example, did you base your project mostly on a specific paper? After you have made a selection of the references you can add them at the end of the document that's most appropriate for each reference. Look for example at how we add references in PennyLane demos.
Regarding the abstract, make sure that it looks very professional. Imagine that you're submitting a paper for a journal, how would you write a short abstract for that?
Finally, take a look at the demos submission guidelines and make sure you're following them.
Let me know if you have any questions and please let me know here when you have a new version for review!

Thank you for your feedback, do you have any information on how to keep a
laboratory notebook sensibly? I think that is partly why my submission was
a mess.
I am hoping to try again with this if you don't mind once I have made
appropriate changes, and maybe even make something that is a bit more
original than just copying/pasting code from Penny lane and Pytorch.
Thanks,
Tom T.
P.S. I tried to give credit to both authors of PyTorch and Pennylane, but
obviously I have a few things to learn about how to do better with this.
On Thu, Oct 26, 2023 at 5:59 PM Catalina Albornoz @.***>
wrote:

Hi @AVON257 https://github.com/AVON257 ,
Thank you again for submitting this demo. You will need to make some
changes before we can publish it. Quality is key so that people who go to
your demo to understand it and learn from it as much as possible.
First, take a look at the other examples here
https://pennylane.ai/qml/demos_community/ and see how they write their
README, their notebook, what files they include, etc. Each file should be
concise, including only the relevant information. For example, it would be
good to explain what the cart pole problem is about at the beginning of
your notebook.
It's great that you want to offer permission for anyone to use,
distribute, or modify your source code as long as they cite you in their
work. A good way to convey this information is by adding a License to your
project. If you look for example at the PennyLane GitHub
https://github.com/PennyLaneAI/pennylane you see that we use the Apache
2.0 license. There are many kinds of licenses so please make sure you
understand what the license means. You can add it as a separate file in
your repository.
Did you make the entire code yourself or are there parts of the code that
you took from somewhere else? At the moment you have so many references
that someone coming to your project won't know what parts of the project
came from which one. I'm sure that they all influenced your learning but
which of these actually need to be referenced? For example, did you base
your project mostly on a specific paper? After you have made a selection of
the references you can add them at the end of the document that's most
appropriate for each reference. Look for example at how we add references
in PennyLane demos https://pennylane.ai/qml/demonstrations/.
Regarding the abstract, make sure that it looks very professional. Imagine
that you're submitting a paper for a journal, how would you write a short
abstract for that?
Finally, take a look at the demos submission guidelines
https://pennylane.ai/qml/demos_submission/ and make sure you're
following them.
Let me know if you have any questions and please let me know here when you
have a new version for review!
—
Reply to this email directly, view it on GitHub
https://github.com/PennyLaneAI/qml/issues/962#issuecomment-1781502003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMWQGN5LNSY6V7BYB6ANUDDYBKJIHAVCNFSM6AAAAAA6KKKJ3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBRGUYDEMBQGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @AVON257 , no problem at all. You can make changes and let us know when you would like for us to give it another look. You can use the demos in pennylane.ai/qml/demonstrations as an example. They include a short explanation at the beginning, then they include blocks of code and explanation where it's relevant, and a couple of references at the end. They're written with the reader always in mind.
I hope this helps you improve your demo!
Let me know if you have any more questions.


Needs more docs

Before any public release, this needs more documentation.

Hey, could you please include some Rationale of this extension? Like what is the reason of its existence, what problems does it solve, etc.

@l15k4 we moved all our internal batch processing from Hadoop to Spark, so we also wanted Druid indexing run on Spark to avoid maintaining a separate Hadoop cluster just for Druid

@drcrallen I am new to Java(JVM) world, I have deployed Druid in a test environment, and the query performance is good, but the local batch indexer is slow, so I want to use Spark-batch indexer to improve the batch indexing task.

I download the druid-spark-batch project.
And issued command sbt clean test publish-local publish-m2.

Then is got the following error:
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: org.apache.spark#spark-core_2.10;1.5.2-mmx4: not found
[warn] 	:: io.druid#druid-processing;0.9.1-SNAPSHOT: not found
[warn] 	:: io.druid#druid-server;0.9.1-SNAPSHOT: not found
[warn] 	:: io.druid#druid-indexing-service;0.9.1-SNAPSHOT: not found
[warn] 	:: io.druid#druid-indexing-hadoop;0.9.1-SNAPSHOT: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
.
.
.
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.spark#spark-core_2.10;1.5.2-mmx4: not found
[error] unresolved dependency: io.druid#druid-processing;0.9.1-SNAPSHOT: not found
[error] unresolved dependency: io.druid#druid-server;0.9.1-SNAPSHOT: not found
[error] unresolved dependency: io.druid#druid-indexing-service;0.9.1-SNAPSHOT: not found
[error] unresolved dependency: io.druid#druid-indexing-hadoop;0.9.1-SNAPSHOT: not found
[error] Total time: 79 s, completed May 11, 2016 11:07:41 AM


deleting and restoring project in same folder causes project files of old projet to be "restored", raising lots of errors

(whoops. duplicate)


Allow transparent backgrounds (behind editor)

Is your feature request related to a problem? Please describe.
Having a transparent background will really help when integrating the photo in another bigger photo.
Describe the solution you'd like
Allow setting the background color to be transparent
Describe alternatives you've considered
Using photo editors to manually change it
Additional context
By background I mean the colored background behind the editor

@SiddharthShyniben Well, all you have to do is just go to the background color sector and change the Alpha value to 0. just like in the image below. Now your background color will be transparent.

Ok nice! thanks


System.Exception: Can acquire only in REST phase!

I am doing some transactions using FASTER and kicked off a parallel thread to take snapshots. I am seeing the exception in the worker threads.
What could be the reason?

Currently, new threads cannot register themselves with faster while a checkpoint is in progress, so that it can properly report progress to all active threads. Try to retry after checkpoint has been taken.

Thanks Badrish!


WIP: make peakstats smart enough to ID edges

This was stashed on my computer, putting here so we do not lose it.
@NSLS-II/dama Anyone who wants to adopt this project, go for it!

[Current coverage][cc-pull] is 81.71%

Merging [#501][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.46%

@@             master       #501   diff @@
==========================================
  Files            19         19
  Lines          3868       3900    +32
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3179       3187     +8
- Misses          689        713    +24
  Partials          0          0

Powered by Codecov. Last updated by [073efd5...846d193][cc-compare]
[cc-base-branch]: https://codecov.io/gh/NSLS-II/bluesky/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/NSLS-II/bluesky/compare/073efd52d30fe905b612fb630566e08f2da3bdda...846d193ac4b1cab2b621638f4b5f72d3bae92090
[cc-pull]: https://codecov.io/gh/NSLS-II/bluesky/pull/501?src=pr

already work is going on on this functionality @mrakitin knows more details (some private repo at the moment)


(PUP-9566) Add extra_headers setting

This new setting allows to pass a list of headers in every HTTP request when running puppet agent. These headers can be used, for example, to redirect the traffic to specific Puppet Servers in a load balancer.
An example of how to use it would be the following one:
puppet agent -t --extra_headers foo:bar,baz:qux

Can one of the admins verify this patch?

Waiting for CLA signature by @davidmogar
@davidmogar - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

CLA signed by all contributors.

My bad. This is a CERN contribution who has collectively signed the CLA already. I've updated also the commit to use my CERN email address.

Thanks for your contribution @davidmogar! What do you think about naming the puppet setting http_extra_headers to be consistent with the other http_* settings?
This will add the headers for REST requests that puppet makes using the indirector.  If you want puppet to include the headers when making certificate related REST requests too (and I think it should) you'll want to apply the same logic to lib/puppet/rest/routes.rb.
However, I'm guessing you really want puppet to add the headers to all HTTP requests, in which case you'll want to update lib/puppet/network/http/connection.rb instead of puppet's rest terminus. If you do that, then you'll also want to update lib/puppet/util/http_proxy.rb which is used when downloading file content with a file resource and an http(s) source parameter.
If you're wondering why there are so many different code paths, we're looking to fix that https://tickets.puppetlabs.com/browse/PUP-8246

Thanks for your contribution @davidmogar! What do you think about naming the puppet setting http_extra_headers to be consistent with the other http_* settings?
Yep, it's a better name. I changed this already.

However, I'm guessing you really want puppet to add the headers to all HTTP requests, in which case you'll want to update lib/puppet/network/http/connection.rb instead of puppet's rest terminus. If you do that, then you'll also want to update lib/puppet/util/http_proxy.rb which is used when downloading file content with a file resource and an http(s) source parameter.
I moved the logic to connection.rb. I also added a check to be sure that I don't overwrite any existing header. Tomorrow (bit late here) I'll check how to add the headers to http_proxy.rb (maybe the method added should be anywhere else and be just called from connection and http_proxy. I'll add also some test.

Any news?

Closing this for now, see ticket for more conversation.

This PR is of particular interest to the @puppetlabs/pupperware team - at first pass, this seems like a reasonable approach to solving this problem, so I'm going to reopen for now.
Once we evaluate we'll decide if there should be additional changes / if another approach is warranted.
Thanks for the contribution @davidmogar!

Add extra headers to fileserver requests. This was missing in the original PR.

Thank you for your suggestions @jtappa.
The code we have right now in this PR is the code we are running in production and in our PoC. According to the comments in this ticket the change could be (or will be) done directly by you as part of the improvements to the agent's HTTP. @Iristyle mentioned also an evaluation of this PR.
If this code is going to be used, we are happy to go forward and add the previous suggestions. On the contrary, if the feature is going to be developed as a parallel effort, we prefer to leave this as it is and wait for the new feature. This at the cost of having a fork of Puppet until it arrives. What do you think is the best way to move forward?

Even in a non-container world I could see great use for this for load balancing based on geo or project to using an F5 or ALB

Superseded by https://github.com/puppetlabs/puppet/pull/7986
@davidmogar I tried to keep parity with your original changes as much as I could so that it's not too exciting for you to move back to an un-forked puppet.

Thank you @melissa. Nice to see that the proposal went forward and even in a similar way (but enhanced) that was proposed ;)


please add proper docs for websocket

please add proper docs for websocket

maybe the url is wrong?
you can view this issue http://github.com/a1q123456/Harmonic/issues/7#issue-478435403

I've updated the docs

thanks for the documentation.


Add ActiveXObject lookup type to scripthost.d.ts, for use by external factory methods (e.g. WScript.CreateObject)

TypeScript Version<EMAIL_ADDRESS>
Search Terms:
scripthost.d.ts
wscript
activex
activexobject
jscript
Code
/// <reference types="activex-excel" />
const app = WScript.CreateObject('Excel.Application');

Expected behavior:
app should be typed as Excel.Application
Actual behavior:
Typed as any
Further details
Currently, ActiveX definitions define a constructor overload on ActiveXObject:
interface ActiveXObject {
    //other members
    new<K extends keyof ActiveXObjectNameMap = any>(progid: K): ActiveXObjectNameMap[K];
}

that uses a lookup type to map from strings to object types:
// from activex-excel
interface ActiveXObjectNameMap {
    'Excel.Application': Excel.Application;
    'Excel.Chart': Excel.Chart;
    'Excel.Sheet': Excel.Worksheet;
}

I propose that the lookup interface be defined in scripthost.d.ts, and the relevant WScript/ActiveXObject methods within scripthost.d.ts be typed to use the lookup:
interface ActiveXObjectNameMap {
}

interface WScript {
    CreateObject<K extends keyof ActiveXObjectNameMap = any>(strProgID: K, strPrefix?: string): ActiveXObjectNameMap[K];
    GetObject<K extends keyof ActiveXObjectNameMap = any>(strPathname: string, strProgID?: K, strPrefix?: string): ActiveXObjectNameMap[K]y;
}

interface ActiveXObject {
    new<K extends keyof ActiveXObjectNameMap = any>(progid: K): ActiveXObjectNameMap[K];
}

Thus each ActiveX definition file would only have to extend the lookup interface.
The lookup type could also be leveraged by other definition files that create ActiveX objects -- e.g. the UNO com.sun.star.bridge.oleautomation.Factory
One possible issue: there are currently no type definitions in scripthost.d.ts that are created via the string progid, so the lookup interface would be an empty interface. Probably would require a // tslint:disable-line no-empty-interface.

@RyanCavanaugh Any news on this?

I am working on revamping the lib generation script  in https://github.com/Microsoft/TSJS-lib-generator, so you might want to hold off on changing it for a week or so.


feat: implement optional input validation (resolve #508)

Working on fixing the tests...

I don't have a lot of time to put into reviewing, but seems good!
If you properly tested it, I'd give it a go :)
One more optional thing: Have each field have a tooltip/hint that appears in the error message to indicate what is wanted ("Nur Ziffern erlaubt", "Die Emailadresse scheint nicht korrekt zu sein.")

Thanks for your review, @skjerns!

One more optional thing: Have each field have a tooltip/hint that appears in the error message to indicate what is expected or wrong ("Nur Ziffern erlaubt", "Die Emailadresse scheint nicht korrekt zu sein."). But if that's a lot of work, leave it as is

I was thinking about that and even tried, but I feel like the current code structure make it quite hard to implement. Currently, the only fields that have validation beyond just empty vs. non-empty are numeric fields and the e-mail address field, which I think both should be fairly clear.


Typo

At question 14 (https://github.com/nishant8BITS/123-Essential-JavaScript-Interview-Question#14-what-will-be-the-output-of-below-code), there are 2 lines of 'Boolean + Number -> Addition'
Should one be 'Boolean + Boolean -> Addition'?

I saw one more.
At question 20

Here name instanceof String is true since dog inherits from String.prototype

Should be "since name inherits from String.prototype"

And question 24 is duplicated with question 5.

And question 28

Method 2: Object Literal
Object Literal is bast way to create an object

does it mean the best way?

Thanks @shelune and @chanpete I did the changes :+1:

Question 24 is still a duplicate of question 5.
Also Question 27 has a typo in the first sentence:

you will probably is more than any others

I think "is" should be changed to "use".


implement 'fixed width'

The button should select an appropriate fixed width font. Currently it has no effect.

This is just a case of setting an appropriate font. However, I need to know what font on each platform will be there. It has to be one that can do all the necessary unicode (ie UFT8) characters.

benjbrandall has provided a pull request that fixes this.
And, wait for it, strikeout, underline and we even have a proper highlight now. Wow !


Test using capture.hsh fails

Seems like it's trying to use .stdout an old way, where the website now shows examples with result.context.stdout?
https://github.com/hush-shell/hush/blob/7fa2dc426f83873a92197ab7feaf37f10bd25d8d/src/runtime/tests/data/positive/capture.hsh#L6-L7
This failed when I was trying to build master as a nix package and it automatically ran cargo test. I have disabled the checks for now.

result.context is available if there was an error inside the capture block. The website example ensures result's type is error before accessing the context field:
std.assert(std.type(result) == "error")
std.assert(result.context.stdout == "Hello world!\n")
...

For sure, I am guessing what the solution is which is why I didn't make a PR to "fix" the problem.
That said something does seem to be wrong because I had a failure only for that test.
("0.1.5a" is just my way of saying newer than 0.1.4)
error: builder for '/nix/store/4mw43qfh6x2qphix55n9p0xfzzccpchp-hush-0.1.5a.drv' failed with exit code 101;
       last 10 log lines:
       > thread 'runtime::tests::test_positive' panicked at 'Panic in /private/tmp/nix-build-hush-0.1.5a.drv-0/source/src/runtime/tests/data/positive/capture.hsh (line 6, column 18): index ("stdout") out of bounds', src/runtime/tests/mod.rs:82:35
       > note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
       >
       >
       > failures:
       >     runtime::tests::test_positive
       >
       > test result: FAILED(B. 16 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.31s
       >
       > error: test failed, to rerun pass '--bin hush'
       For full logs, run 'nix log /nix/store/4mw43qfh6x2qphix55n9p0xfzzccpchp-hush-0.1.5a.drv'.

That's strange, I can't reproduce it from the current master. I am missing something?

I'm also not able to reproduce the issue on my linux box, but we can see some useful info from the error output above. In particular:
src/runtime/tests/data/positive/capture.hsh (line 6, column 18): index ("stdout") out of bounds'

Can you please run the following and tell us the output?
echo 'std.print(${ echo 321 | rev | cat; echo 456 })' | cargo run

Chances are your machine does not have cat, rev or echo. That would cause the test to fail.

Since this is a nix package I assumed it was very possible one of the binaries was not in the path when building, but running your command returns the expected result and running cargo test ... fails as reported earlier.
Running echo 'std.print(${ echo 321 | rev | cat; echo 456 })' | cargo run
   Compiling hush v0.1.4 (/nix/store/rkz54y039ngi19whvbn8hkk58sf5k4q2-source)
    Finished dev [unoptimized + debuginfo] target(s) in 14.47s
     Running `/tmp/nix-shell.mZYGUg/tmp.bE2ZkayaHc/debug/hush`
@[ "stdout": "123\n456\n", "stderr": "" ]

And running the tests
M1M-CPortela:rkz54y039ngi19whvbn8hkk58sf5k4q2-source chris.portela$ RUST_BACKTRACE=full cargo test --release --target-dir $TARGET_DIR
    Finished release [optimized] target(s) in 0.04s
     Running unittests src/main.rs (/tmp/nix-shell.mZYGUg/tmp.bE2ZkayaHc/release/deps/hush-ff353bacd5821acf)

running 17 tests
test syntax::lexer::tests::test_byte_literals ... ok
test syntax::lexer::tests::test_command_block ... ok
test syntax::lexer::tests::test_expansions ... ok
test syntax::lexer::tests::test_invalid_tokens ... ok
test syntax::lexer::tests::test_number_literals ... ok
test syntax::lexer::tests::test_simple_function ... ok
test syntax::lexer::tests::test_token_kind_size ... ok
test syntax::lexer::tests::test_string_literals ... ok
test semantic::tests::test_positive ... ok
test runtime::tests::test_asserts ... ok
test semantic::tests::test_examples ... ok
test semantic::tests::test_negative ... ok
test syntax::tests::test_examples ... ok
test runtime::tests::test_negative ... ok
test syntax::tests::test_positive ... ok
test syntax::tests::test_negative ... ok
test runtime::tests::test_positive ... FAILED

failures:

---- runtime::tests::test_positive stdout ----
thread 'runtime::tests::test_positive' panicked at 'Panic in /nix/store/rkz54y039ngi19whvbn8hkk58sf5k4q2-source/src/runtime/tests/data/positive/print.hsh (line 76, column 42): index ("stdout") out of bounds', src/runtime/tests/mod.rs:82:35
stack backtrace:
   0:        0x100879806 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h898273157692f900
   1:        0x10078d9fa - core::fmt::write::ha637189176d33ea0
   2:        0x100884bbc - std::io::Write::write_fmt::he7370ddd9ebfe147
   3:        0x100894f0d - std::panicking::default_hook::{{closure}}::ha72aeb45233f96e3
   4:        0x100894b76 - std::panicking::default_hook::h99919d760c06bd6a
   5:        0x1008958c0 - std::panicking::rust_panic_with_hook::h5652bc681b06f370
   6:        0x100879fc4 - std::panicking::begin_panic_handler::{{closure}}::h80a37f33d1cc831e
   7:        0x100879f39 - std::sys_common::backtrace::__rust_end_short_backtrace::h70b3b7caedc36ea6
   8:        0x100895345 - _rust_begin_unwind
   9:        0x1008dab03 - core::panicking::panic_fmt::h77104dabd677246a
  10:        0x100820bf2 - core::panicking::panic_display::hac2f7dd07aa765a7
  11:        0x1008206fc - hush::tests::util::test_dir::run::h8afb01b70dce6317
  12:        0x100812f65 - core::ops::function::FnOnce::call_once::hf94d47e430f4109e
  13:        0x1007be958 - serial_test::serial_core_with_return::hb0f43644d8881b1b
  14:        0x10076d640 - core::ops::function::FnOnce::call_once::hb31cf4ecc79da9bb
  15:        0x100822de6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6d0be4d88654d2ab
  16:        0x1008c7868 - test::run_test_in_process::h914445ab8d755e5e
  17:        0x1008ad88d - std::sys_common::backtrace::__rust_begin_short_backtrace::h4fc5c3c21d9852c2
  18:        0x1008b1252 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb416cf0e955bf431
  19:        0x10089e9b9 - std::sys::unix::thread::Thread::new::thread_start::h0799c011c520d3c5
  20:     0x7ff800b054e1 - __pthread_start

failures:
    runtime::tests::test_positive

test result: FAILED. 16 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s

error: test failed, to rerun pass '--bin hush'

which for env, cat, and rev
M1M-CPortela:rkz54y039ngi19whvbn8hkk58sf5k4q2-source chris.portela$ which echo
/nix/store/3mfkgajns47hfv0diihzi2scwl4hm2fl-coreutils-9.1/bin/echo
M1M-CPortela:rkz54y039ngi19whvbn8hkk58sf5k4q2-source chris.portela$ which rev
/usr/bin/rev
M1M-CPortela:rkz54y039ngi19whvbn8hkk58sf5k4q2-source chris.portela$ which cat
/nix/store/3mfkgajns47hfv0diihzi2scwl4hm2fl-coreutils-9.1/bin/cat

Hmmm, that is really weird. Note that in the last output you provided, it was another test that failed, but seemingly for the same reason. I guess we should try to replace the ${ ... }.stdout with the following in all files in src/runtime/tests/data/positive:
let result = ${ ... }
std.print(result)
result.stdout

That way, we can get the error output from the command block, and hopefully have a clue on why it's failing.


Updated to @angular/material 2.0.0-beta.6 and @angular/* 4.1.3.

Your repository was linked from Google's as the featured example. Unfortunately you have lapsed behind their codebase.
I've brought you back up to speed, specifically I've:

Generated a new scaffold from @angular/cli 1.0.3;
Implemented @angular/router routing with lazy loading;
Followed the official @angular/material install guide;
Used step 3 suggestion to create one module for all @angular/material module imports;
Migrated the relevant code from your example

Enjoy

Hy Samuel,
i've seen your updates / PR  but I'm not so happy with them.  What I like is that you invested the effort to update it t the latest material / cli level.
however this is a beginners material 2 sample so why add ed routing ?  (this makes it more complicated to understand.)
also: change the src dir to m2-app ?  (same reason)
you also included the now unused app.component default files
and missed some material-modules in the import-module.  (sidenav / toolbar)
(anyway it seems this sample is not maintained anymore (if looking to the issues)
Greetings from germany - michael

I hadn't really intended this app to live forever; IMO it's been superseded by https://github.com/angular/material.angular.io at this point. If you want to fork the repo, though, to serve as your own example you're totally welcome to it.
I'll update the README to reflect the current status, and probably stop linking here from the material2 repo


UIRS-15 Remote Storage Settings: Credential properties (apiKey)

Purpose

https://issues.folio.org/browse/UIRS-15
Approach

TODOS and Open Questions

Learning

Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.

[ ] I've added appropriate record to the CHANGELOG.md
Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] If any API-related changes - okapi interfaces and permissions are reviewed/changed correspondingly
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

yarn run v1.22.4
$ eslint .
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/CreateRemoteStorage/CreateRemoteStorageContainer.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageDetails/RemoteStorageDetails.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageDetails/RemoteStorageDetails.test.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageDetails/RemoteStorageDetailsContainer.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageDetails/RemoteStorageDetailsContainer.test.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageEditor/RemoteStorageEditorContainer.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageForm/RemoteStorageForm.js
1:8  warning  'React' is defined but never used          no-unused-vars
63:7  error    Expected blank line before this statement  padding-line-between-statements
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageForm/RemoteStorageForm.test.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageSettings.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStoragesList/RemoteStoragesList.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStoragesList/RemoteStoragesList.test.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStoragesList/RemoteStoragesListContainer.js
1:8  warning  'React' is defined but never used  no-unused-vars
✖ 13 problems (1 error, 12 warnings)
1 error and 0 warnings potentially fixable with the --fix option.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn run v1.22.4
$ eslint .
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/CreateRemoteStorage/CreateRemoteStorageContainer.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageDetails/RemoteStorageDetails.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageDetails/RemoteStorageDetails.test.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageDetails/RemoteStorageDetailsContainer.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageDetails/RemoteStorageDetailsContainer.test.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageEditor/RemoteStorageEditorContainer.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageForm/RemoteStorageForm.js
1:8  warning  'React' is defined but never used          no-unused-vars
63:7  error    Expected blank line before this statement  padding-line-between-statements
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageForm/RemoteStorageForm.test.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStorageSettings.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStoragesList/RemoteStoragesList.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStoragesList/RemoteStoragesList.test.js
1:8  warning  'React' is defined but never used  no-unused-vars
/home/jenkins/workspace/olio-org_ui-remote-storage_PR-38/project/src/RemoteStoragesList/RemoteStoragesListContainer.js
1:8  warning  'React' is defined but never used  no-unused-vars
✖ 13 problems (1 error, 12 warnings)
1 error and 0 warnings potentially fixable with the --fix option.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Ignore warnings for Xcode 8.2

Since the beta is out it’d be nice to make the framework work with it 😋
Like the recently merged PR but also for Xcode 8.2.
@spotify/objc-dev

Current coverage is 92.47% (diff: 100%)

Merging #131 into master will not change coverage

@@             master       #131   diff @@
==========================================
  Files            60         60
  Lines          4384       4384
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           4054       4054
  Misses          330        330
  Partials          0          0

Powered by Codecov. Last update 7822ef5...e027c6e

@JohnSundell I wish!

You can merge them into WARNING_CFLAGS if there isn’t a use case for supporting Xcode < 7.3.0.


If your country was the issue, please consider using a U.S. VPN.  已经全局出去了。docker也设了代理。但还是提示这个

2024-04-09 17:50:56 💡 Server is running at http://localhost:3040
2024-04-09 17:50:56
2024-04-09 17:50:56 🔗 Base URL: http://localhost:3040/v1
2024-04-09 17:50:56 🔗 ChatCompletion Endpoint: http://localhost:3040/v1/chat/completions
2024-04-09 17:50:56
2024-04-09 17:50:56 📝 Original TS Source By: Pawan.Krd
2024-04-09 17:50:56 📝 Modified Into JavaScript By: Adam
2024-04-09 17:50:56
2024-04-09 17:50:59 Error refreshing session ID, retrying in 1 minute...
2024-04-09 17:50:59 If this error persists, your country may not be supported yet.
2024-04-09 17:50:59 If your country was the issue, please consider using a U.S. VPN.

换个VPN的区域吧，比如美国，加拿大等


adding college name section in contact

Current Behavior
there is no section for student college section
Desired Behavior
it will help you for reaching the student more accurately.
Screenshots / Mockups

Yes sure, go ahead @Sushilverma002 . Try to keep the layout properly!


Installing only angular-moment through bower to avoid version conflicts

Sometimes the version of moment from angular-moment dependency and latest differ and this creates a dependecy conflict that should be resolved manually.
% bower install angular-moment moment --save
bower not-cached    https://github.com/urish/angular-moment.git#*
bower resolve       https://github.com/urish/angular-moment.git#*
bower not-cached    https://github.com/moment/moment.git#*
bower resolve       https://github.com/moment/moment.git#*
bower checkout      angular-moment#0.10.3
bower checkout      moment#2.12.0
bower resolved      https://github.com/urish/angular-moment.git#0.10.3
bower not-cached    https://github.com/moment/moment.git#>=2.8.0 <2.11.0
bower resolve       https://github.com/moment/moment.git#>=2.8.0 <2.11.0
bower checkout      moment#2.10.6
bower resolved      https://github.com/moment/moment.git#2.12.0
bower resolved      https://github.com/moment/moment.git#2.10.6

Unable to find a suitable version for moment, please choose one:
    1) moment#>=2.8.0 <2.11.0 which resolved to 2.10.6 and is required by angular-moment#0.10.3
    2) moment#^2.12.0 which resolved to 2.12.0

Prefix the choice with ! to persist it to bower.json

? Answer 1
bower install       angular-moment#0.10.3
bower install       moment#2.10.6

angular-moment#0.10.3 app/bower_components/angular-moment
├── angular#1.4.7
└── moment#2.10.6

moment#2.10.6 app/bower_components/moment
%

As opposed to:
% bower install angular-moment --save
bower cached        https://github.com/urish/angular-moment.git#0.10.3
bower validate      0.10.3 against https://github.com/urish/angular-moment.git#*
bower cached        https://github.com/moment/moment.git#2.10.6
bower validate      2.10.6 against https://github.com/moment/moment.git#>=2.8.0 <2.11.0
bower install       angular-moment#0.10.3
bower install       moment#2.10.6

angular-moment#0.10.3 app/bower_components/angular-moment
├── angular#1.4.7
└── moment#2.10.6

moment#2.10.6 app/bower_components/moment
%

Coverage remained the same at 92.76% when pulling cf7c04fb0787323bcb9804ac23cc6a1e4283385c on aalexgabi:patch-1 into 8dd729dc4dd68ad63254b4ba44a6d6d5ca5c4cd8 on urish:master.

thanks!


Description of the compiler service "@diagnostics"

Same for the other new compiler services, like @statistics

We aren't going to add documentation for these modes. What we'll do instead is provide this documentation as part of our new json-based API. We already have that for the modes we "ported": https://github.com/vshaxe/haxe-languageserver/blob/master/src/haxeLanguageServer/protocol/Display.hx
Once diagnostics and statistics mode are ported as well, they will become part of that API documentation.


Document population and full search could be restricted to the field paths

Currently when the documents are populated in the docs api, the query is fetching all the rows of that document. This could be improved if the user specifies the fields to be returned:

fetching only the columns in needed max depth (max field depth + 1)
limit the rows by actually setting shared pre-path between all rows

Example: If the user requests the fields ['a.b', 'a.c.d'], the query should fetch only p0 = a, p1 > '' and make p3 = ''.
This also requires that JsonConverter supports population based on the requested max depth.

Won't make enhancements like this to Docs API, will recommend moving to JSON API which supports projection