remove placeholder abstract from DocumentationNode

Bug/issue #: SR-16072
Summary
This PR removes the placeholder abstract from DocumentationNode. Since the DocumentationNode is always overwritten with symbol information the placeholder is unnecessary.
Dependencies
None.
Testing
This is just a type change. Functionality remains unchanged. The build & test script both succeeded. There were no additional tests added for this reason as well.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[N/A] Added tests
[x] Ran the ./bin/test script and it succeeded
[N/A] Updated documentation if necessary

@swift-ci please test

Thanks for opening this @DebugSteven! @franklinsch do you want to review this as well? Otherwise I think this is good-to-go.

@DebugSteven Can you please rebase off main before we merge this?

@swift-ci please test


How to use Elixir ~> 1.3

Hi! I want to use shield package + mongodb_ecto on elixir ~> 1.3.2 for my project.
But I encountered following error.
[error] #PID<0.665.0> running CoodApiService.Endpoint terminated
Server: localhost:4000 (http)
Request: POST /users/register
** (exit) an exception was raised:
    ** (FunctionClauseError) no function clause matching in Logger.Utils.truncate_n/2
        (logger) lib/logger/utils.ex:20: Logger.Utils.truncate_n(#Function<0.51900625/1 in Mongo.Ecto.Connection.log/2>, 8078)
        (logger) lib/logger/utils.ex:49: Logger.Utils.truncate_n_list/3
        (logger) lib/logger/utils.ex:16: Logger.Utils.truncate/2
        (logger) lib/logger.ex:486: Logger.bare_log/3
        (ecto) lib/ecto/log_entry.ex:41: Ecto.LogEntry.log/1
        (db_connection) lib/db_connection.ex:966: DBConnection.log/6
        (mongodb) lib/mongo.ex:297: Mongo.insert_one/4
        (mongodb_ecto) lib/mongo_ecto/connection.ex:108: Mongo.Ecto.Connection.insert/3
        (mongodb_ecto) lib/mongo_ecto.ex:515: Mongo.Ecto.insert/5
        (ecto) lib/ecto/repo/schema.ex:397: Ecto.Repo.Schema.apply/4
        (ecto) lib/ecto/repo/schema.ex:193: anonymous fn/11 in Ecto.Repo.Schema.do_insert/4
        (shield) web/controllers/shield/user_controller.ex:73: Shield.UserController.register/2
        (shield) web/controllers/shield/user_controller.ex:1: Shield.UserController.action/2
        (shield) web/controllers/shield/user_controller.ex:1: Shield.UserController.phoenix_controller_pipeline/2
        (cood_api_service) lib/cood_api_service/endpoint.ex:1: CoodApiService.Endpoint.instrument/4
        (cood_api_service) lib/phoenix/router.ex:261: CoodApiService.Router.dispatch/2
        (cood_api_service) web/router.ex:1: CoodApiService.Router.do_call/2
        (cood_api_service) lib/cood_api_service/endpoint.ex:1: CoodApiService.Endpoint.phoenix_pipeline/1
        (cood_api_service) lib/plug/debugger.ex:122: CoodApiService.Endpoint."call (overridable 3)"/2
        (cood_api_service) lib/cood_api_service/endpoint.ex:1: CoodApiService.Endpoint.call/2

My project is going to use mongodb_ecto + phoenix_ecto ~> 3.0 + shield ~> 0.3.3.
Maybe this problem is because of version conflict between mongodb_ecto and ecto ~> 2.0 or any others as I think.
Shield package needs ~> 2.0+, so I override ecto2.0 with override options in package.json as follows.
     {:mongodb_ecto, github: "michalmuskala/mongodb_ecto", branch: "ecto-2"},
     {:ecto, "~> 2.0", override: true},
     {:shield, "~> 0.3.3", github: "mustafaturan/shield"}

Could you help me with some guides to solve this problem? Thanks

Use setup like this one:
{:phoenix_ecto, "~> 1.2.0", github: "merqlove/phoenix_ecto", branch: "v1.2.0.poison2"},
{:ecto, "~> 1.0.0", github: "merqlove/ecto", branch: "v1.0.poison2", override: true},
{:mongodb_ecto, "~> 0.1.4", github: "michalmuskala/mongodb_ecto", ref: "f8ddfaf2ac51d84d2074cd0a1d22acbdd4feeb38"}

2.0 branch is unstable

The problem is not Elixir version, but Ecto version. This library does not support Ecto 2.0 yet. You can track the work being done in the two PRs: https://github.com/michalmuskala/mongodb_ecto/pull/91 https://github.com/michalmuskala/mongodb_ecto/pull/84


Unable to Download Subtitltes from any video

Checklist

[X] I'm reporting a broken site support issue
[X] I've verified that I'm running youtube-dl version 2021.01.16
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar bug reports including closed ones
[X] I've read bugs section in FAQ

Verbose log

youtube-dl -v --write-auto-sub --sub-format vtt --sub-lang en --restrict-filenames --convert-subs srt https://www.youtube.com/watch?v=00AAnwgl2DI
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--write-auto-sub', '--sub-format', 'vtt', '--sub-lang', 'en', '--restrict-filenames', '--convert-subs', 'srt', 'https://www.youtube.com/watch?v=00AAnwgl2DI']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.01.16
[debug] Python version 3.7.4 (CPython) - Linux-4.15.0-106-generic-x86_64-with-debian-buster-sid
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8, rtmpdump 2.4
[debug] Proxy map: {'http': 'http://proxy.lbs.alcatel-lucent.com:8000/', 'ftp': 'ftp://proxy.lbs.alcatel-lucent.com:8000/', 'https': 'http://proxy.lbs.alcatel-lucent.com:8000/', 'no': '<IP_ADDRESS>,<IP_ADDRESS>,.bell-labs.com,.135.104.238,.135.104.54,blipp40', 'socks': 'socks://proxy.lbs.alcatel-lucent.com:8000/'}
[youtube] 00AAnwgl2DI: Downloading webpage
[youtube] 00AAnwgl2DI: Looking for automatic captions
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.en.vtt
WARNING: Unable to download subtitle for "en": Unable to download webpage: HTTP Error 429: unknown (caused by <HTTPError 429: 'unknown'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[debug] Invoking downloader on 'https://r5---sn-vgqsknes.googlevideo.com/videoplayback?expire=1611089251&ei=A_EGYOPoN9jXigTQ9IWACQ&ip=<IP_ADDRESS>&id=o-ALVzAHwx9waqX41-7YbqFIE3DPPpQOi-PNeAkHUB_TEL&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=t5&mm=31%2C29&mn=sn-vgqsknes%2Csn-vgqs7nlk&ms=au%2Crdu&mv=m&mvi=5&pl=24&initcwndbps=8550000&vprv=1&mime=video%2Fmp4&ns=vq6Hy01kpcOelP79rir1y1IF&gir=yes&clen=8040033&dur=115.715&lmt=1433656357349976&mt=1611067250&fvip=5&keepalive=yes&c=WEB&n=zJYphgF7ezrzUM&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgbLohMM2jIS0Ijm3KPTkaj7H00n2CuvD3v-ngq0M3cx0CIEU88-62pySlytChAS82b6zx2DRKdOLBzfHvIs-9FPIx&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAPB_YQGYpsSECdHIRPN020mZaR46SkW9_33eBnezYBHuAiEA_z3gbKLstg21UgbFiQW287mDNk0YWVG32LpCLvD3awk%3D&ratebypass=yes'
[download] Destination: Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.f137.mp4
[download] 100% of 7.67MiB in 00:01
[debug] Invoking downloader on 'https://r5---sn-vgqsknes.googlevideo.com/videoplayback?expire=1611089251&ei=A_EGYOPoN9jXigTQ9IWACQ&ip=<IP_ADDRESS>&id=o-ALVzAHwx9waqX41-7YbqFIE3DPPpQOi-PNeAkHUB_TEL&itag=140&source=youtube&requiressl=yes&mh=t5&mm=31%2C29&mn=sn-vgqsknes%2Csn-vgqs7nlk&ms=au%2Crdu&mv=m&mvi=5&pl=24&initcwndbps=8550000&vprv=1&mime=audio%2Fmp4&ns=vq6Hy01kpcOelP79rir1y1IF&gir=yes&clen=1839405&dur=115.774&lmt=1433656361980544&mt=1611067250&fvip=5&keepalive=yes&c=WEB&n=zJYphgF7ezrzUM&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgIRn6QVvAHW0rv5S2JI09o8puO0yiV073RfPBud6e8_UCIQDkJEitGJAR52TzqMeETZybYGiWsFIySzLdPzGHsfaEcg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAPB_YQGYpsSECdHIRPN020mZaR46SkW9_33eBnezYBHuAiEA_z3gbKLstg21UgbFiQW287mDNk0YWVG32LpCLvD3awk%3D&ratebypass=yes'
[download] Destination: Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.f140.m4a
[download] 100% of 1.75MiB in 00:00
[ffmpeg] Merging formats into "Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i file:Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.f137.mp4 -i file:Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.f140.m4a -c copy -map 0:v:0 -map 1:a:0 file:Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.temp.mp4
Deleting original file Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.f137.mp4 (pass -k to keep)
Deleting original file Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.f140.m4a (pass -k to keep)
[ffmpeg] Converting subtitles
Traceback (most recent call last):
  File "/nas1/drabeck/anaconda3/bin/youtube-dl", line 8, in <module>
    sys.exit(main())
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2055, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 798, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 805, in wrapper
    return func(self, *args, **kwargs)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 837, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 871, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1678, in process_video_result
    self.process_info(new_info)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2036, in process_info
    self.post_process(filename, info_dict)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2101, in post_process
    files_to_delete, info = pp.run(info)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 649, in run
    self.run_ffmpeg(old_file, new_file, ['-f', new_format])
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 239, in run_ffmpeg
    self.run_ffmpeg_multiple_files([path], out_path, opts)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 210, in run_ffmpeg_multiple_files
    os.stat(encodeFilename(path)).st_mtime for path in input_paths)
  File "/nas1/drabeck/anaconda3/lib/python3.7/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 210, in <genexpr>
    os.stat(encodeFilename(path)).st_mtime for path in input_paths)
FileNotFoundError: [Errno 2] No such file or directory: 'Example_of_Distance_Vector_Routing_1_-_Georgia_Tech_-_Network_Implementation-00AAnwgl2DI.en.vtt'

youtube-dl -v --list-subs https://www.youtube.com/watch?v=00AAnwgl2DI
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--list-subs', 'https://www.youtube.com/watch?v=00AAnwgl2DI']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.01.16
[debug] Python version 3.7.4 (CPython) - Linux-4.15.0-106-generic-x86_64-with-debian-buster-sid
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8, rtmpdump 2.4
[debug] Proxy map: {'http': 'http://proxy.lbs.alcatel-lucent.com:8000/', 'ftp': 'ftp://proxy.lbs.alcatel-lucent.com:8000/', 'https': 'http://proxy.lbs.alcatel-lucent.com:8000/', 'no': '<IP_ADDRESS>,<IP_ADDRESS>,.bell-labs.com,.135.104.238,.135.104.54,blipp40', 'socks': 'socks://proxy.lbs.alcatel-lucent.com:8000/'}
[youtube] 00AAnwgl2DI: Downloading webpage
WARNING: unable to download video subtitles: Unable to download XML: HTTP Error 429: unknown (caused by <HTTPError 429: 'unknown'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update.   Between one run and the next, all of a sudden I cannot download any subtitles for any videos.

HTTP 429 is TOO MANY REQUESTS.
probably youtube was loaded, now it's working.

HTTP 429 is TOO MANY REQUESTS.
probably youtube was loaded, now it's working.


feat(prettier): implement format function for BindingPattern

feat(prettier): implement format function for BindingPattern
feat: full match

Current dependencies on/for this PR:

main

PR #1303

PR #1304

PR #1305

PR #1306   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 14, 7:22 AM: @Boshen started a stack merge that includes this pull request via Graphite.


Invalid header date in latest OBO release

Hi !
The latest eco.obo release contains an invalid date (written in US format where continental is expected):
date: 06:14:2019 08:25

Thanks! I have switched it to
date: 14:06:2019 08:25

I've also updated our Makefile so this will automatically be the date format.


Remove version: Tableau.Reader version 23.3.345

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://downloads.tableau.com/tssoftware/TableauReader-64bit-2023-3-0.exe
Response status code does not indicate success: 403 (Forbidden).
(Automated message - build 896)

Close with reason: Package still available.;


New Term Request- Temporal Assay

Source: PMID:4576832
Definition: A method used to determine the presence or absence of positive or negative chemotaxis in swimming organisms by measuring chemotaxis in response to sudden concentration changes from one uniform spatial environment to another.
Synonyms: Tumble frequency assay

The term has been added.
tumble frequency assay evidence (ECO:0005608) - Looks like this name is used more than temporal assay hence made temporal assay evidence a synonym.
is_a: ECO:0005021 ! chemotaxis assay evidence
Closing the ticket. Please reopen if needed.
Thanks,
Suvvi


Feature request: enable conversion of password protected Office docs

Would it be possible to allow pdf-conversion of password protected Office documents.
unoconv has a command line option for the decryption password.

No ETA, but let’s add this to the TODO list 😄

Is there any update on this? Would love to have this feature

Note for self: unoconv does not provide a way to do it. The LibreOffice CLI does support the password option but its limited for other stuff we use (paper orientation). The real solution is to use UNO scripting to handle such a scenario in our case.

Erratum: it's actually doable with unoconv. Feature added in: https://github.com/gotenberg/gotenberg/commit/b06d7445d96eff88f414ccab02db2574ab49a1f7.


[GEL} New release

User Story
With the new LBAC support in GEL we'd like to cut a new release.
Acceptance Criteria

Artifacts are created from the latest master branch
Binaries are tested
Release is published and publicly available.

duplicate


TR-OPEN "getting started", Introducing Open Ethical Committee Permissions as an introductory step of open science

Brainhack Ankara Project For Introducing Open Ethical Committee Permissions as an introductory step of open science. Goal is to create a resource for researchers in Turkey to start public sharing data. We would be compiling examples for applications to ethical committees, *examples of language in informed consent, list of universities and ethical committees that have approved public data sharing, resources and links to relevant regulations.

Dear @i-am-mel-dev thank you very much for this amazing project. Would you like to fill our project submission template in here following the guideline inside the template so we can have a dedicated page of the project under Brainhack webpage and lists the project amoung others please? https://brainhack.org/global2020/projects/ Looking forward to your issue 🤗

Thank you @complexbrains thanks for providing a comprehensive guideline, I tried to fill as much as I could on behalf of the project lead @mariaveldhuizen

Hi @i-am-mel-dev Perfect! will close this issue since we have #80 for the same project!


Remove log and prints from protobom

While implementing the CLI, I came across some prints and logs generated by the proto library. It is important to note that we should not log or print anything unless specifically requested by the user.
format: text/spdx version: 2.3 encoding: json
INFO[0000] Serializing to application/vnd.cyclonedx+json;version=1.4

It is important that the logger is not included in this package. To support external loggers, we should create an interface and utilize the logger accordingly.

cc @puerco

sgtm!

👍


[CELEBORN-1526] Fix MR plugin can not run on Hadoop 3.1.0

What changes were proposed in this pull request?
To fix an NPE when using Celeborn on Hadoop 3.1.0
Why are the changes needed?
Adapt to API change.
Does this PR introduce any user-facing change?
NO.
How was this patch tested?
Cluster test.

Thanks, merged to main/0.5


Tekton reconcile failing with invalid list of done tasks; some tasks were indicated completed without ancestors being done

Expected Behavior
We are using tekton on large scale for CICD pipelines. It is expected to have some reconciles failures on tekton controller, due to any kind of erratic behavior. However, this failures should be a small percentage of the total number of reconciles.
Actual Behavior
The majority of reconciles failures are due to some tasks were indicated completed without ancestors being done on the tekton controller. In our logs it represents almost 90% of the errors and it is equivalent to something close to 25% of the total reconciles results.
Steps to Reproduce the Problem
There is no specific way to reproduce it.
Additional Info

Kubernetes version:
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean", BuildDate:"2021-11-17T15:48:33Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"darwin/amd64"}

Server Version: version.Info{Major:"1", Minor:"22+", GitVersion:"v1.22.10-eks-84b4fe6", GitCommit:"cc6a1b4915a99f49f5510ef0667f94b9ca832a8a", GitTreeState:"clean", BuildDate:"2022-06-09T18:24:04Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}

- Tekton Pipeline version:

**v0.35.1**

- Error Trace:
``` json
{"level":"error","ts":"2022-08-31T14:23:38.918Z","logger":"tekton-pipelines-controller","caller":"controller/controller.go:566","msg":"Reconcile error","commit":"422a468","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/traceid":"38774d09-5828-4687-88db-631a7d18abab","knative.dev/key":"pipelines/itaipu-tests-main-run-8gpdx","duration":0.114080912,"error":"1 error occurred:\n\t* invalid list of done tasks; some tasks were indicated completed without ancestors being done: [unit-test-00 unit-test-01 unit-test-02 unit-test-03 unit-test-04 unit-test-05 unit-test-06 unit-test-07 unit-test-08 unit-test-09 unit-test-10 unit-test-11 unit-test-12 unit-test-13 unit-test-14 unit-test-15]\n\n","stacktrace":"github.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller.(*Impl).handleErr\n\tgithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:566\ngithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tgithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:543\ngithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller.(*Impl).RunContext.func3\n\tgithub.com/tektoncd/pipeline/vendor/knative.dev/pkg/controller/controller.go:491"}

This looks very similar to https://github.com/tektoncd/pipeline/issues/4840 although that issue was fixed in v0.35.1-- can you double check that's the version you're using? Are you able to provide the PipelineRun spec for your testing Pipeline? This will be challenging to fix without an example PipelineRun yaml.
Side note, you might want to check out the matrix feature just based on what your pipeline appears to be doing in this log line.

Thank you @NUEB3 for reporting this issue!
The error message has listed tasks unit-test-00 through unit-test-15. Please provide an additional details around dependencies:

Does all of these tasks depend on a single parent or a common set of tasks?
Is the dependency defined through runAfter, task results, etc?
Are all unit-test-* running in parallel?
Are there multiple runs happening with the same pipeline?

Any additional details on the pipeline definition will help troubleshoot this issue. Thanks!


Open API docs partly missing

Currently, the business partner kit (@santiagoejm) has a Pool API without an associated Open API yaml file in the openApi folder.
Similar to them, the data chain kit (@jzbmw) has a Job API without an associated Open API yaml file in the openApi folder.
To fix this issue, the missing files should be added to the openApi folder and added to the docusaurus.config.js for automated generation.

Hi @mhellmeier, you are right the Pool API file is missing from the openApi folder (don't know when this happened), I can bring it back to the project using the docusaurus-plugin-remote-content. I guess you need to generate a lot of openapi-docs with the plugin and the npm run docusaurus gen-api-docs ID is not an option right?
@danielmiehle can you confirm that the Pool API file hasn't changed and I can bring it back safely to the project to regenerate all this endpoints?

A much easier solution than triggering a full regeneration process is just by looking into the commit history. git log --diff-filter=D --summary will easily identify the two commits where the files were deleted:
BPDM Pool API: https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/commit/0da5210e665b340b9b7296720cc7505ccfa04c7a
Data Chain Job API: https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/commit/d96885ca7351d541aaf2b940a46f97a3538884b3


The code under istio-tutorial is not working, giving errors in Pom.xml on import in codium.

Failure to find io.quarkus:quarkus-maven-plugin:jar:1.3.4.Final-redhat-00007 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
Could not find artifact io.quarkus:quarkus-maven-plugin:jar:1.3.4.Final-redhat-00007 in central (https://repo.maven.apache.org/maven2)
Project build error: Non-resolvable import POM: Could not find artifact com.redhat.quarkus:quarkus-universe-bom:pom:1.3.4.Final-redhat-00007 in central (https://repo.maven.apache.org/maven2)
Project build error: 'dependencies.dependency.version' for io.quarkus:quarkus-resteasy:jar is missing.
Project build error: 'dependencies.dependency.version' for io.quarkus:quarkus-rest-client:jar is missing.
Project build error: 'dependencies.dependency.version' for io.quarkus:quarkus-arc:jar is missing.

Hi @deepakbajaj
It looks like you are trying to use this tutorial without setting up your Maven settings.
Have you executed the lab-configure script before starting the exercise?
Anyway, I would recommend dropping this kind of issue in the Learning Community (https://learn.redhat.com/) that is actively monitored by our dev team.
Hope that helps!

Hi
I was trying to set up all lab exercises in my local environment as my
subscription is about to expire, so while setting up getting this error.
Thanks
On Thu, Aug 12, 2021 at 3:33 PM Jordi Sola @.***> wrote:

Hi @deepakbajaj https://github.com/deepakbajaj
It looks like you are trying to use this tutorial without setting up your
Maven settings.
Have you executed the lab-configure script before starting the exercise?
Anyway, I would recommend dropping this kind of issue in the Learning
Community (https://learn.redhat.com/) that is actively monitored by our
dev team.
Hope that helps!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RedHatTraining/DO378-apps/issues/7#issuecomment-897691264,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6KJKIRTSNW3XBCANURA63T4PLTJANCNFSM5CA7RIPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


Add Contributor Recognition to README with All Contributors

https://allcontributors.org/

@all-contributors
please add @Nunie123  for ideas, code
please add @ramonaspence for code, ideas, doc, bug
please add @allella for code, maintenance, infra, projectManagement, review, bug, doc, question

@all-contributors
please add @ramonaspence for code, ideas, doc, bug

@all-contributors
please add @ramonaspence for code, ideas, doc, bug

@all-contributors
add @bcsnipes for code, bug

@all-contributors
add @oliviasculley for code, infra, docs, ideas, platform

@all-contributors add @jeremywight for bug


Fix tests on OS X by re-introducing the old choose host interface

Old function is a fall back.

@sub-mod

LGTM.
I checked this out and ran the tests successfully on OS X.

@brendandburns the issue is not with util.go it was an issue with proxy_test.go

Self assigning since I can't seem to assign this to @markturansky

@satnam6502 can u pls check 5400

I am currently testing #5400

I assigned #5400 to @brendandburns but happy to re-assign or take it myself.

Is this OK to merge?

@satnam6502 not sure if this conflicts with #5400.  both work, though :)

@satnam6502 this is not the correct fix

Ah, OK. Should this PR be closed then?

yes , closed.

I don't think that #5400 is sufficient.  We should be able to run the proxy on OS X, not just the proxy unit tests.
--brendan

@brendanburns Ahh ok this i what I wanted to confirm whether we run kube on mac(Unix)

I would like to be able to run standalone kube w/ boot2docker
--brendan
On Thu, Mar 12, 2015 at 2:20 PM, sub-mod<EMAIL_ADDRESS>wrote:

@brendanburns https://github.com/brendanburns Ahh ok this i what I
wanted to confirm whether we run kube on mac(Unix)
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/5397#issuecomment-78622909
.

@brendanburns can we apply both the PRs.

fine with me to apply both.
On Thu, Mar 12, 2015 at 2:25 PM, sub-mod<EMAIL_ADDRESS>wrote:

@brendanburns https://github.com/brendanburns can we apply both the PRs.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/5397#issuecomment-78625146
.

@satnam6502 fyi

OK, merging.

@brendanburns Proxy still fails on OS X.  Would you like a PR for it?  This PR fixes the unit tests successfully.
This is my /tmp/kube-proxy.log:
I0312 18:36:46.642972   48203 util.go:410] Choosing interface en0 for from-host portals
I0312 18:36:46.643077   48203 util.go:415] Interface en0 = fe80::82e6:50ff:fe0a:981e/64
I0312 18:36:46.643093   48203 proxier.go:327] Setting Proxy IP to fe80::82e6:50ff:fe0a:981e
I0312 18:36:46.643103   48203 proxier.go:328] Initializing iptables
W0312 18:36:46.643164   48203 iptables.go:196] Error checking iptables version, assuming version at least 1.4.11: %vexec: "iptables": executable file not found in $PATH
I0312 18:36:46.643177   48203 iptables.go:186] running iptables -C [PREROUTING -t nat -j KUBE-PROXY]
W0312 18:36:46.643692   48203 iptables.go:196] Error checking iptables version, assuming version at least 1.4.11: %vexec: "iptables": executable file not found in $PATH
I0312 18:36:46.643709   48203 iptables.go:186] running iptables -C [OUTPUT -t nat -j KUBE-PROXY]
I0312 18:36:46.643744   48203 iptables.go:186] running iptables -F [KUBE-PROXY -t nat]
I0312 18:36:46.643790   48203 iptables.go:186] running iptables -X [KUBE-PROXY -t nat]
I0312 18:36:46.643835   48203 iptables.go:186] running iptables -N [KUBE-PORTALS-CONTAINER -t nat]
E0312 18:36:46.643875   48203 proxier.go:333] Failed to initialize iptables: error creating chain "KUBE-PORTALS-CONTAINER": exec: "iptables": executable file not found in $PATH:
F0312 18:36:46.643887   48203 server.go:81] failed to create proxier, aborting

it is choosing ipv6 IP ,
@markturansky pls help me understand when u use boot2docker in mac it basically creates a VM right ? If yes I think /proc should be on that VM (I guess it is an ubuntu VM.)

I'll make a new PR will all my steps, logs, etc.

No need.  There's still this open issue with services on OS X:   https://github.com/GoogleCloudPlatform/kubernetes/issues/2170


Add Experimental Instance to Tasks menu

In addition to Presentation Mode and Safe Mode in the Tasks menu, it would be handy to have Experimental Instance in there as well.

It would be great if we could put a list of modes to see as jump list items, like: Exp:Experimental Mode,NoExt:No Extensions Mode, etc.


Basic architecure for deployment

It is probably better to view the changes commit-by-commit.
Substrate template
As commented internally, this PR transforms the current code-base into the default Substrate node template, enabling easier upstream updates, cleaner separation of concerns and faster builds (~900 crates instead of ~1500 crates). For our own modules or anything that we need to customize and is out of reach of the already flexible standard architecture, we can create palles/* crates like palles/did or palles/democracy.
It is important to note that this is the general approach also used by other Substrate-based blockchains.
Deployment - Kubernetes
The current deployment history for Substrate is a bit obscure with poor-documented auxiliary libraries or with some projects using their own custom-made docker-compose/ansible/terraform scripts.
To enable a reliable deployment of a set of nodes, k8s seems to be most natural choice and Polkadot/Substrate also seems to be investing heavily on this strategy.
Deployment - Workflow
Instead of wasting time reinventing the wheel, polkadot-deployer together with polkadot-charts can be used to easily deploy our node with some caveats: (1) Fow now, only public images are supported; (2) Local deployments are in someway broken.
The workflow for continuous deployment would then be:

For every new annotated tag, builds the current codebase in release mode
Use the new Dockerfile image to publish our image into Docker Hub
Deploy the published image to k8s using polkadot-deployer

Down-sides
Unfortunately, I lost a huge amount of time trying to squashing and patching the last 6 commits into the new code-base for no avail. I am sorry @everhusk, it is something that I couldn't solve and the last changes will have to be manually ported :/

Sounds good. But let's leave this on a testing branch for now until it's ready.


install issue

use composer to install:
composer.json:
{
"minimum-stability": "dev",
"require": {
"fillup/walmart-partner-api-sdk-php": "^1.0.5"
}
}

Sorry, I'll update the readme. You need to explicitly require "guzzlehttp/guzzle-services": "dev-master". I'm hoping that project can create a new version tag so that it will be considered stable, but in the mean time you need to include dev-master for it yourself so guzzle doesn't complain. So update your require to be (at least):
{
  "require": {
    "fillup/walmart-partner-api-sdk-php": "^1.0.5",
    "guzzlehttp/guzzle-services": "dev-master"
  }
}

Let me know if that resolves it for you or if you have a different issue.


Lecture 6 - Slide 13 - Grammar

"with long history" -> "with a long history"

Thanks. Fixed. 1 point


How run queue and add to it tasks with auto start in run_at time

I have some methods to post articles into FB Twitter Vkontakte. After user create post at site i must post it after 10 minutes. I have this code using DJ in my model.
def post_to_facebook
if self.publish_changed? && self.publish
  fb = Facebook.new
  fb.delay(:queue => 'facebook', run_at: DateTime.now + 10.minute).perform(self.id)
  # Facebook.perform_in(10.minutes, self.id)
end
end

def post_to_twitter
if self.publish_changed? && self.publish
  tw = TwitterW.new
  tw.delay(:queue => 'twitter', run_at: DateTime.now + 10.minute).perform(self.id)
  # TwitterW.perform_in(10.minutes, self.id)
end
end

 def post_to_vk
if self.publish_changed? && self.publish
  vk = Vkontakte.new
  vk.delay(:queue => 'vkontakte', run_at: DateTime.now + 10.minute).perform(self.id)
  # Vkontakte.perform_in(10.minutes, self.id)
end
end

But i don`t understand how i can run this 3 queues in production. I need that all jobs in queue will run. And when i add new tasks i need run it automatically at run_at time

https://github.com/collectiveidea/delayed_job/tree/v4.1.1#running-jobs


(WIP) fix: change dist folder path

Image optimization came back clean!
Vuepress build was successful!
No markdown files were changed, so no page checks were run!


Move to dcos-commons CustomExecutor

@mohitsoni:  Please review.  I know it doesn't build in CI, I'll take care of that after Wednesday September 28.  I have run integration and unit tests manually...

@mesosphere-ci: retest this please

@mesosphere-ci: retest this please

@mesosphere-ci: retest this please

@mesosphere-ci: retest this please

@mesosphere-ci: retest this please

@mesosphere-ci: retest this please

@mesosphere-ci: retest this please

@mesosphere-ci: retest this please


Rendering a Component outside of Provider should fail with meaningful error

Bug Report
Steps
Create a new application, create a component (<Button />) without wrapping that by <Provider>.
Expected Result
Component rendering fails with meaningful error (or warning)
Actual Result
Component dom renders, no styles are applied 💣
Version
0.9.1

as an alternative to Expected result, we might consider to add support for default theme, so that the following elements tree, without being wrapped by Provider component, will be rendered with default styles applied:
import { Button } from '@stardust-ui/react'

export const App = () => <Button />

Could we, please, mention the arguments against introducing default theme here, just to reconsider them. At the same time, agree that showing warning/error message is a good first step in either case.

What type of error is appropriate - console errors seems ok - but sometimes hard to find.  Message on screen very visible, but could be hugely annoying too...

@miroslavstastny @kuzhelov @hughreeling
what about something like this?

created a PR for it, #378


.netkan for mod exists but there is no maching ckan file

Recently I added two mods to netkan ( #437 ) OPTSpacePlaneParts works fine but there is no ckan file in CKAN-meta repo for OPTMk3MiniExpansion.  https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/OPTMk3MiniExpansion.netkan
I installed both mods and they working screen (and .ckan generation was successful as well as Jenkins test: http://ci.ksp-ckan.org:8080/job/PR builder - NetKAN metadata/192/console) It seems there is a problem with netkan bot.

Here they are:

https://github.com/KSP-CKAN/CKAN-meta/tree/master/OPTMk3MiniExpansion
https://github.com/KSP-CKAN/CKAN-meta/tree/master/OPTSpacePlaneParts

The netkan bot seems to have had a hiccup, I don't really understand the exception in the log files... Please observe if the next versions of those mods get picked up correctly.


Updates to ps 15

Thank you very much for the update, merged. I updated the tests, and all looks well.


Fix bug casting T.Type in Realm.swift

Hello, i've been experiencing some issues using objectForPrimaryKey in swift.
It usually works, but under some circumstances it won't work saying that "Object type 'Object' not persisted in Realm"
This was caused by this casting (T.self as Object.Type).className(), although i was passing a valid T.Type to the func, it was taking T.self as Object.
I changed the casting by calling directly type.className().
You had a FIXME comment saying to change it to T.className(), but that was failing for me also.
Let me know if this is a good solution for you! it definitely fix my issues :)

@isaacroldan thanks for the PR, but it looks to me like it's causing compilation to fail:
/Users/realm/workspace/objc_pr/configuration/Debug/swift_version/2.0/target/osx-swift/tightdb_objc/RealmSwift/Realm.swift:282:25: error: ambiguous use of 'className'
        let className = type.className()
                        ^
Realm.RLMObjectBase:5:20: note: found this candidate
  @objc class func className() -> String
                   ^
Foundation.NSObject:5:20: note: found this candidate
  @objc class func className() -> String
                   ^
/Users/realm/workspace/objc_pr/configuration/Debug/swift_version/2.0/target/osx-swift/tightdb_objc/RealmSwift/Realm.swift:353:51: error: ambiguous use of 'className'
        return Results<T>(RLMGetObjects(rlmRealm, type.className(), nil))
                                                  ^
Realm.RLMObjectBase:5:20: note: found this candidate
  @objc class func className() -> String
                   ^
Foundation.NSObject:5:20: note: found this candidate
  @objc class func className() -> String
                   ^
/Users/realm/workspace/objc_pr/configuration/Debug/swift_version/2.0/target/osx-swift/tightdb_objc/RealmSwift/Realm.swift:371:53: error: ambiguous use of 'className'
        return unsafeBitCast(RLMGetObject(rlmRealm, type.className(), key), Optional<T>.self)
                                                    ^
Realm.RLMObjectBase:5:20: note: found this candidate
  @objc class func className() -> String
                   ^
Foundation.NSObject:5:20: note: found this candidate
  @objc class func className() -> String
                   ^

Testing failed:
	Ambiguous use of 'className'
	Ambiguous use of 'className'
	Ambiguous use of 'className'
** TEST FAILED **

Could you please share a case in which using objectForPrimaryKey isn't working for you ? Thanks!

weird, it compiled on my machine and passed the tests.
I'll try to post a reproducible case ;)

Thanks!

Ok, found an easy to reproduce case, it's related with optionals:
//basic object for demo
class Task: Object {
    dynamic var id = 0
    override static func primaryKey() -> String? {
        return "id"
    }
}

//dumb function, given an object tries to fetch it again using it's primaryKey to see if it exists
func objectExists<T: Object>(object: T) -> Bool {
    let realm = try! Realm()
    if let _ = realm.objectForPrimaryKey(T.self, key: 100) { //hardcoded key, it´s not important
        return true
    }
    return false
}

 // Create a dummy object as explicit unwrap, this will cause the crash.
let myTask: Task! = Task()
myTask.id = 100
if self.objectExists(myTask) {
   print("exists")
}

The thing is that in this case objectForPrimaryKeyis receiving a T that is not a Task but a Task! and that makes that (T.self as Object.Type).className() returns Object.
If you execute the same code but defining the Task as non-optional it works.
Changing (T.self as Object.Type).className() for one of this two works fine for me:

type.className()
(type as Object.Type).className()

Probably the second one will avoid the bugs you are having compiling. In any case, why does it compile and passes the test on my machine?, did you compile it differently? (i just executed the tests on the RealmSwift.xcodeproj)
Hope it helps!

Just out of curiosity, which version of Swift are you using? 1.2 or 2.0?

2.0 beta 4 (tested with beta5 and same result)

Hmmm, so looking at this further, and it just seems to be a limitation with Swift's type system, rather than anything realm-specific.

Agree, but maybe Realm could workaround that issue.
I've done a simple test in a Playground to demonstrate that this is a swift types issue
class Task: NSObject { }

let task1: Task = Task()
let task2: Task! = Task()

func test<T: NSObject>(object: T) {
    print(object.dynamicType)
    print(T.self as NSObject.Type)
    print(T.self)
}

test(task1)
//will print Task, Task, Task

test(task2)
//will print Task, NSObject, NSObject

This means that accessing the objects dynamicType will always return a valid type while accessing the generic T.self doesn't guarantee to get a valid type.
If Realm uses the type passed in the function instead of accessing the generic to get it as it is doing right now, then the user could workaround this issue because the result will depend on how the user passes the type to the function.
But if Realm always uses the generic to access the type, the user won't be able to find a workaround to implicit unwraps, independently of how he passes the type to the function.
In any case, i assume this is not a very common use case, i've found this doing some tests for a Realm extension we've working on (and that we plan to opensource soon!) and were using Implicit Unwraps in the test cases.

@isaacroldan I think https://github.com/realm/realm-cocoa/issues/2374 should do the trick!

Yep, that should do it!


New command to find modules in bicep registry Find-BicepModule

Is your feature request related to a problem? Please describe.
We need a command that helps the user find available modules in Bicep Registries. The command should be able to search for modules in an ACR and look provide info about modules used in a specific bicep file.
Describe the solution you'd like
# Finds all ACR referenced in the current template and searches for available modules.
Find-BicepModule -Path main.bicep

# Finds all ACRs in the local cache and searches for available modules
Find-BicepModule -Cache

# Finds all modules in a specific ACR (This should support a module registry alias from `bicepconfig.json` as well
Find-BicepModule -Registry psbicep.azurecr.io

Additional context
New functionality must be added to BicepNet to support this.

@PalmEmanuel does this look ok? Did I get it right?

Looks about right! I forgot about the specific -Registry use case, but I'll see if I can add it! Currently the parameters are -Path and -UseCache (can be changed to -Cache).
I've built it so that they can be combined, so you can point to a file and also include the cache (in case the file wasn't restored for example), do we want to add the -Registry in a similar way, or which parameters should be allowed together?

Currently I've just added all the endpoints together and searched through them, then output the results in a list, but you imply a valid point that there could be value to separating the results for clarity between file and cache (and registry).

The parameter -Registry is now added, and I changed the parameters so they're no longer possible to combine since I didn't find a clean way to present the difference. PR #16 in BicepNet

Find-BicepNetModule and Get-BicepNetCachePath are now available in BicepNet v2.0.2. Removing the dependency: BicepNet label.


Add Python to $PATH

Description
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
For new tools, please provide total size and installation time.

Related issue:
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

This is fix for https://github.com/actions/runner-images/issues/6507

/azp run macos1015,macos11,macos12


sorbet: Update RBI files.

Autogenerated by the sorbet workflow.

@dduugg something weird going on here!

@dduugg something weird going on here!

Ah, probably swept this one into rubocop accidentally, will fix in the morning (PST)


Allow comments in --file-from file, in the same way as --exclude-file

Output of restic version
restic 0.7.3
compiled with go1.9 on linux/amd64
How did you run restic exactly?
$ echo '# Backup group 1' > /tmp/files-from
$ echo /tmp/backup.txt >> /tmp/files-from
$ echo Back me up > /tmp/backup.txt
$ restic -r /tmp/restic init
enter password for new backend:
enter password again:
created restic backend dd3bad435d at /tmp/restic
Please note that knowledge of your password is required to access
the repository. Losing your password means that your data is
irrecoverably lost.
$ restic -r /tmp/restic backup --files-from=/tmp/files-from
/tmp/# Backup group 1 does not exist, skipping
enter password for repository:
scan [/tmp/backup.txt]
scanned 0 directories, 1 files in 0:00
[0:00] 100.00%  0B/s  11B / 11B  1 / 1 items  0 errors  ETA 0:00
duration: 0:00, 0.00MiB/s
snapshot 69829fe5 saved

What backend/server/service did you use?
Any
Expected behavior
Lines in the --from-file file that start with # are simply ignored

Actual behavior
Lines in the --from-file file that start with # are treated as filenames, and processing is attempted

Steps to reproduce the behavior
See above

Do you have any idea what may have caused this?
Do you have an idea how to solve the issue?
Will raise a pull request

Good idea, thanks for the report and the PR!


Download/Upload issues

Running config -sleep int -jitter int may cause upload/download to stop functioning?


Add dependencies on eucalyptus-selinux on el7

Since eucalyptus's SELinux policy is not part of the base system's policy, the eucalyptus-selinux package must be both installed and loaded before any eucalyptus packages land on the system.  The most straightforward way of doing that is with Requires tags.
It is worth noting that this will not fix file labels for machines that already have eucalyptus installed, but in this particular case that issue is limited to development systems since eucalyptus has never shipped on RHEL 7.

Added with commit 1b0629c


Databinding issue with non-base feature module

@jkingyens  How I can enable data binding in my non-base feature module?

Guys anyone have an idea related to this issue. Why this was happening?

Thanks for bringing this up. The codelab has been deprecated. Please use github.com/android/app-bundle-samples instead.


Dropilio [Template Submission]

#twiliohackathon
What's the use case for the template?
Dropilio is a REST API service for sending local files as attachments with Twilio Whatsapp API. This leverages the use of Twilio Whatsapp API for Desktop applications such as those built in Electron, GTK, etc which intend to send notifications with file attachments.
What's the programming language?
PHP
Template GitHub URL:
https://github.com/ravgeetdhillon/dropilio/
Author Information (please fill out):

Author name: Ravgeet Dhillon
Author GitHub organization/user: https://github.com/ravgeetdhillon
GitHub username you used to sign the Agreement: ravgeetdhillon

Additional dependencies:

Dropbox API

Checklist:

[x] I've filled out the form at ahoy.twilio.com/code-exchange-community
[x] My sample application is open source and has a permissive license such as MIT or Apache-2
[x] There are no known security vulnerabilities and I'm following security best practices
[x] I've read Twilio's best practices coding guidelines for my project
[x] I agree and adhere to the Code of Conduct
[x] The template has been authored by me / or my organization and will be kept up-to-date. If the template will not longer be maintained, I'll notify this project.

Yes. I have done that as well. Thanks.


local procedures in a table cannot be called within that table if using Rec. prefix, cause AL0161 error

I do get it, that local methods aren't accessible via other record instances, and here Rec. is not considered special by the language... but since in plenty other places it is implied and needn't be typed, and code is the same either way - maybe local methods can be too? So then, code would act the same if someone put Rec. there when they didn't strictly need to - e.g. if cutting/pasting from a page.
Thanks!
Name: AL Language
Id: ms-dynamics-smb.al
Description: AL development tools for Dynamics 365 Business Central
Version: 10.3.731181
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al

We have the same limitation with CurrPage on pages, and the limitation extends to local variables too. In general, I think this can be lumped into an improvement around allowing access to local procedures/variables through the self-referential variables.
It's not trivial though, I'm pretty sure this will require some refactoring on how we do our emit, since we do not emit the same code for Proc() and Rec.Proc().
Since this is an improvement and not a bug, you can post this to our Ideas forum at https://aka.ms/BusinessCentralideas, or vote up the idea if its already there. We're constantly monitoring top Ideas and will consider them for a future release.


Made DistributionKeyService async based on CompletableFuture (#136)

DistributionKeyService is now based on CompletableFuture
Also migrated SubmissionController from DeferredResult to CompletableFuture
Feedback is highly welcome :)

Hi @dennis-menge! Thanks for you contribution! We had some discussions on the linked issue and we have decided to do some more performance testing before introducing these additional complexities at this point. Apologies for not communicating this more clearly in the linked issue, we will keep this PR in the back of our heads if performance testing should deem this necessary. Thanks!

Alright, good to know.
At this point, you could also think about changing from MVC to Webflux which would probably make more sense, and would not be that much effort in the current state of the implementation.


Add a new round introductory call to the codetrek rounds

Description of the task
Right now, when a new applicant is added to codetrek, they are directly assigned to 'level 1'. We want to add a new round 'introductory call' in codetrek rounds. Now  when a new applicant is added to codetrek they will be assigned round 'introductory call'.
Need : When a candidate is at the 'introductory call' round, an interview can be scheduled for them (right now manually) and depending on the response during the interview the interviewer can move the applicant to 'level 1' or 'preperatory'
Expected behavior
Add a new round 'introductory call' to the 'codetrek applicant rounds'.
When a new applicant is added to the codetrek they should move to round 'introductory call' automatically.

Task Breakdown:

[ ] Add a new round to the codtrek rounds
[ ] Change the default round of the new applicant to 'introductory call'
[ ] Make any other modifications related to the new round or any related change that happens.
[ ] Test locally
[ ] Create a pr
[ ] Work on the feedbacks

This has been deployed. Closing this now


Unable to deploy with User Assigned Identity more than 1 time (provisioning state 'Failed' without explanations)

Which trigger/binding are you using?
All of them
Which language are you using?
C#
Expected behavior
The bicep deployment should work even after the first deployment.
Actual behavior
An error occurred during the second time I deploy the bicep.
The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.
{"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/***/resourceGroups/amn-test/providers/Microsoft.Resources/deployments/function-aca","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/***/resourceGroups/amn-test/providers/Microsoft.Web/sites/amntest-funcapp","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"message":"Operation Failed. Please try again "}]}]}}

To Reproduce
function-aca.txt (change extension to .bicep).

Deploy a first time the given bicep file function-aca.bicep.
Check that the ressources exists on Azure Portal, with User Assigned Identity enabled.
Deploy it a second time.

Logs
{"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions//resourceGroups/amn-test/providers/Microsoft.Resources/deployments/function-aca","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions//resourceGroups/amn-test/providers/Microsoft.Web/sites/amntest-funcapp","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"message":"Operation Failed. Please try again "}]}]}}
Additional context
I use the samples given here without success : https://github.com/Azure/azure-functions-on-container-apps/blob/main/samples/Biceptemplates/MI_VNET_sample/README.md.
👍  If I remove the User Assigned Identity completely, the deployment works. But.. I need this one !

Hi @AlexMasson , we made changes for the fix and deployed the changes as well. I verified by using the bicep file you provided in this issue. The deployment went through successfully. Could you please verify? Thanks.

Hi @chandrod , this is now working, thanks a lot !


Version Packages (beta)

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to beta, this PR will be updated.
⚠⚠⚠⚠⚠⚠
beta is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on beta.
⚠⚠⚠⚠⚠⚠
Releases
<EMAIL_ADDRESS>Minor Changes

#457 a923472 Thanks @mrcjhicks! - ## Design Motivation

Updated desktop and mobile values for checkbox-control-size-[size] and checkbox-top-to-control-[size] tokens
Made token changes required for the S2 action bar update

Tokens Diff
Tokens Changed (10)
Added (2)

action-bar-minimum-width
action-bar-label-to-action-group-area

Updated (8)
Updated Properties (8)

checkbox-control-size-small

desktop.value: 12px -> 14px
mobile.value: 16px -> 18px

checkbox-control-size-medium

desktop.value: 14px -> 16px
mobile.value: 18px -> 20px

checkbox-control-size-large

desktop.value: 16px -> 18px
mobile.value: 20px -> 22px

checkbox-control-size-extra-large

desktop.value: 18px -> 20px
mobile.value: 22px -> 26px

checkbox-top-to-control-small

desktop.value: 6px -> 5px
mobile.value: 7px -> 6px

checkbox-top-to-control-medium

desktop.value: 9px -> 8px
mobile.value: 11px -> 10px

checkbox-top-to-control-large

desktop.value: 12px -> 11px
mobile.value: 15px -> 14px

checkbox-top-to-control-extra-large

desktop.value: 15px -> 14px
mobile.value: 19px -> 17px

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [a923472]:

<EMAIL_ADDRESS>

Run report for 0e55fa25
Total time: 33.2s | Comparison time: 30.7s | Estimated loss: 2.5s (7.6% slower)

Action
Time
Status
Info

🟩
SyncWorkspace
5.6ms
Passed

⬛
SetupToolchain(node:~20.12)
1.2s
Skipped

🟩
SyncProject(node, tokens)
0.3ms
Passed

🟩
SyncProject(node, csvGenerator)
0.2ms
Passed

🟩
InstallWorkspaceDeps(node:~20.12)
5.6s
Passed

🟩
RunTask(csvGenerator:generateCSV)
272.8ms
Passed

🟩
RunTask(tokens:buildManifest)
283.8ms
Passed

🟩
RunTask(csvGenerator:test)
1.1s
Passed

🟩
RunTask(tokens:buildTokens)
23.5s
Passed

🟩
RunTask(tokens:build)
14.3ms
Passed

🟩
RunTask(tokens:generateDiffResult)
2.9s
Passed

Touched files
.changeset/pre.json
packages/tokens/CHANGELOG.md
packages/tokens/package.json
tools/token-csv-generator/CHANGELOG.md
tools/token-csv-generator/package.json


[urgent] UGent authors list incomplete in export

Bug
UGent authors list incomplete in export.
Whenever you export records, the UGent authors are not all shown in the list.
Steps to reproduce the behaviour

Search for ge30 publications that are withdrawn via https://backoffice.biblio.ugent.be/publication?q=ge30&sort=date-updated-desc&f[status]=returned
Export the records

See an incomplete list of UGent authors. Not all of them flow through.

Expected behaviour
All UGent authors are visible in the author column in the export.

Related https://github.com/ugent-library/biblio-backoffice/issues/1037


DOMException: Registration failed - permission denied

There was an error thrown after Primer on Push notification. The error is below:
"Chrome currently only supports the Push API for subscriptions that will result in user-visible messages. You can indicate this by calling pushManager.subscribe({userVisibleOnly: true}) instead. See https://goo.gl/yqv4Q4 for more details."
The correction to this bug is changing: "userVisibility" object in your serviceWorkerRegistration.pushManager.subscribe method to "userVisibleOnly"

i have face same issue but is not resolved after change this

You need to add applicationServerKey also


Actions created by the oidcMiddleware might not hit all other middlewares.

I'm new to JS so let me know if I just missed something.
The oidcMiddleware is storing the remaining middleware chain:
nextMiddleware = next;
then using it to dispatch new actions:
export function getUserCallback(user) {   if (!user || user.expired) {     nextMiddleware(userExpired());   } else {     storedUser = user;     nextMiddleware(userFound(user));   } }
This means that the actions it creates are only supplied to middleware after itself.  Should the order items are added to the chain have an effect on the outcome?

You are correct. The order of middlewares does matter in redux.

I've only been working in React/Redux for 4 days, so thank you for any help you can provide.  I was very surprised when reordering my middlewares altered the behavior of my application.  Is there any way other than reading the source code for every middleware I intend to use to determine the proper order of operations?

I understand your predicament. It can be tricky to find the right answer here. Usually the order of middlewares can be derived by the purpose the middleware serves. From my experience the number of middlewares you use should be fairly minimal. You usually have one middleware handling asynchronous operations like redux-saga. This middleware needs an authenticated user, so by purpose it should fire after the oidc middleware made sure a valid access token exists. Then you might have a logger middleware for debugging purposes and a router middleware for routing in the app where the position doesn't really matter. I've found that these middlewares are enough for most redux apps.
Are you familiar with ASP.NET's OWIN specification? The concept is actually identical, the only difference being that OWIN middlewares handle HTTP requests where redux middlewares handle dispatched actions.
Please also note that the oidc middleware is only there for legacy purposes and those projects who don't support the silent renewal of tokens. If you have silent renew set up, you don't need the oidc middleware at all because the access token will automatically be renewed before it expires. Check out the example app on how to set up silent renew and feel free to ask me if you have any further questions :).

Thanks for information and for making your work available.  I think I'm starting to understand the process flow here.  I am going to remove the oidcMiddleware from my application and take a look.


Uncaught TypeError: Class constructor ViewChildMetadata cannot be invoked without 'new'

From @Lafaa on October 11, 2016 13:5
Uncaught TypeError: Class constructor ViewChildMetadata cannot be invoked without 'new'
PropDecoratorFactory @ decorators.js:232
(anonymous function) @ preferred.ts:82
(anonymous function) @ preferred.ts:7
(anonymous function) @ main.dev.ts:5

The line decorators.js:232 has:  annotationCls.apply(decoratorInstance, args);
I just followed the steps to update my app to 2.0.0 beta 11 and then to 2-0-0,RC0, i commented all the lines the seemed to give errore in VSCode (they were all navController.present() method), but now i'm getting this error when i try to serve my app. The screen remains blank and the prompt doesn't show any error...
It seems to be linked to the decorators, so i updated all the dependencies in the package.json to RC5 and ran "npm install", but it didn't solve the problem.
Do you have any idea on what could cause this error?
Thanks a lot
Copied from original issue: driftyco/ionic-cli#1515

Hello @Lafaa . Are you still having this issue?

Hi, yes i do. I will try to create a new project and add the pages one at a time to see which element or directive gives it problems...

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!


add cmake configure time error if python needed but not found

Describe the bug
Trying to build w/o python, I didn't have all the options turned off.
Instead of a configure time error, we get a build error:
cd /private/var/folders/wj/jjhjt_0d3kg1vmk56d5bq_38001kr8/T/harrison37/spack-stage/spack-stage-visit-3.1.1-pai66quozip3qmblp3z2gb3vrkakzmve/spac
k-src/src/test && PYTHON_EXECUTABLE-NOTFOUND setup.py -v build --build-base=/private/var/folders/wj/jjhjt_0d3kg1vmk56d5bq_38001kr8/T/harrison37/
spack-stage/spack-stage-visit-3.1.1-pai66quozip3qmblp3z2gb3vrkakzmve/spack-build/test/build install --install-purelib=/private/var/folders/wj/jj
hjt_0d3kg1vmk56d5bq_38001kr8/T/harrison37/spack-stage/spack-stage-visit-3.1.1-pai66quozip3qmblp3z2gb3vrkakzmve/spack-build/lib/site-packages
9772     /bin/sh: PYTHON_EXECUTABLE-NOTFOUND: command not found
Desktop

OS and version: macos 10.14
VisIt Version: 3.1.1

additional info, testing stuff isn't guarded against presence of python

468    CMake Error at test/CMakeLists.txt:32 (PYTHON_ADD_DISTUTILS_SETUP):
469      Unknown CMake command "PYTHON_ADD_DISTUTILS_SETUP".
470
471


Sidebar menu items not occupying the whole height available

Describe the bug
I noticed when I upgraded to sidebarx 0.13.0, the menu items are not occupying the whole height available in the view.
To Reproduce
Steps to reproduce the behavior:

Upgrade to version 0.13.0
Put 8 sidebar items
Run in Google Chrome

Screen recording
https://user-images.githubusercontent.com/40294247/194965229-665de925-13be-4bd3-80e9-a9a1b0997ed4.mp4
Desktop (please complete the following information):

Browser Google Chrome

Hello @melchorlapinigjr !
I see this bug.
We need to add this line of code on 146 line to fix the situation.
if (widget.footerItems.isNotEmpty)

I'am without notebook now.
I will be able to release fixes only tomorrow 😢

@Frezyx No worries mate. Thanks for this quick work around. Cheers!

@melchorlapinigjr Hello you can check fix in 0.14.0 version


Use stylelint-config-standard as a starting point?

stylelint-config-standard provides a fairly standard set of opinions. This seems to hit a lot of the smaller, nit-picky rules. If we can agree on this with maybe some exceptions, we might be able to save a lot of needless discussion.
You can see its exact set of rules here: https://github.com/stylelint/stylelint-config-standard/blob/master/index.js

One thing I do find odd in this config is a required empty line before a comment. I would do away with that.
It also requires an empty line between rules and between nested rules. Personally, I like that, but I'm sure others disagree.

If we can agree on this with maybe some exceptions, we might be able to save a lot of needless discussion.

Yes, some legwork went into digging for the common rules found within a handful of CSS styleguides.

I think there should be a separate stylelint standard config for formatting rules only. formatting is opinionated so I would like to have my own rules.


Fix apischema 0.16.1

Were those two tests the only things that were broken?

@callumforrester was that it?

I think so

Have you tried running any devices?

Yeah i ran shutter, sunk-trampoline and counter and all worked


eqx.Modules cannot be passed as carry into jax.lax.scan

Hi,
not sure if this is really a bug or intended, but it's not possible to pass an eqx.Module as carry in a jax.lax.scan. Here is the MVP:
import jax
import jax.numpy as jnp
import equinox as eqx

class SimpleMLP(eqx.Module):
    mlp: eqx.nn.MLP
    def __init__(self, *, key) -> None:
        self.mlp = eqx.nn.MLP(in_size=3, out_size=1, width_size=32, depth=2, key=key)

    def __call__(self, x):
        return self.mlp(x)

key = jax.random.PRNGKey(42)
mlp = SimpleMLP(key=key)

def rollout(mlp, xs):
    def step(carry, x):
        mlp = carry # just for understanding
        val = mlp(x)
        carry = mlp
        return carry, [val]

    _, scan_out = jax.lax.scan(
        step,
        [mlp],
        xs
    )

    return scan_out

key, subkey = jax.random.split(key)
vals = rollout(mlp, jax.random.normal(key=subkey, shape=(200, 3)))

This leads to this error
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[79], line 32
     29     return scan_out
     31 key, subkey = jax.random.split(key)
---> 32 vals = rollout(mlp, jax.random.normal(key=subkey, shape=(200, 3)))

Cell In[79], line 23, in rollout(mlp, xs)
     20     carry = mlp
     21     return carry, [val]
---> 23 _, scan_out = jax.lax.scan(
     24     step,
     25     [mlp],
     26     xs
     27 )
     29 return scan_out

    [... skipping hidden 5 frame]

File ~/Workspace/jaxRL/.venv/lib/python3.11/site-packages/jax/_src/core.py:1423, in concrete_aval(x)
   1421 if hasattr(x, '__jax_array__'):
   1422   return concrete_aval(x.__jax_array__())
-> 1423 raise TypeError(f"Value {x!r} with type {type(x)} is not a valid JAX "
   1424                  "type")

TypeError: Value <jax._src.custom_derivatives.custom_jvp object at 0x10f5846d0> with type <class 'jax._src.custom_derivatives.custom_jvp'> is not a valid JAX type

On the other hand, I could just use this (MVP 2):
import jax
import jax.numpy as jnp
import equinox as eqx

class SimpleMLP(eqx.Module):
    mlp: eqx.nn.MLP
    def __init__(self, *, key) -> None:
        self.mlp = eqx.nn.MLP(in_size=3, out_size=1, width_size=32, depth=2, key=key)

    def __call__(self, x):
        return self.mlp(x)

key = jax.random.PRNGKey(42)
mlp = SimpleMLP(key=key)

def rollout(mlp, xs):
    def step(carry, x):
        val = mlp(x)
        return carry, [val]

    _, scan_out = jax.lax.scan(
        step,
        [],
        xs
    )

    return scan_out

key, subkey = jax.random.split(key)
vals = rollout(mlp, jax.random.normal(key=subkey, shape=(200, 3)))

In MVP 2, I'm using the mlp from the outer function inside the scan. While this works, there could be scenarios in which I update the PyTree inside the scan and since no shapes are changed, it made me think that it would be allowed. I don't necessarily want to change the "outer" mlp from inside the scan function as it's not directly a part of the function (I don't want to change some global states!).
But as already mentioned, I'm not sure if this really is a bug or not.

I've actually encountered something very similar before, in which I needed the first MVP (the second wouldn't work). My solution was to make a sort of filter_scan and this worked for me. Here is an example using your code of what I am talking about:
import jax
import jax.numpy as jnp
import equinox as eqx

class SimpleMLP(eqx.Module):
    mlp: eqx.nn.MLP
    def __init__(self, *, key) -> None:
        self.mlp = eqx.nn.MLP(in_size=3, out_size=1, width_size=32, depth=2, key=key)

    def __call__(self, x):
        return self.mlp(x)

key = jax.random.PRNGKey(42)
mlp = SimpleMLP(key=key)

def rollout(mlp, xs):
    arr, static = eqx.partition(mlp, eqx.is_inexact_array)
    def step(carry, x):
        mlp = eqx.combine(carry, static) # just for understanding
        val = mlp(x)
        carry, _ = eqx.partition(mlp, eqx.is_inexact_array)
        return carry, [val]

    _, scan_out = jax.lax.scan(
        step,
        arr,
        xs
    )

    return scan_out

key, subkey = jax.random.split(key)
vals = rollout(mlp, jax.random.normal(key=subkey, shape=(200, 3)))
print(vals)

and this does execute.

Right. See #446, which was another example of this issue.
Note that this is completely unrelated to the use of eqx.Module, though. (Modules are just PyTrees like any other!) The issue here is that your PyTree has a non-array in it (the activation function of your MLP), and jax.lax.scan requires that its carry be specifically a PyTree-of-arrays, not anything else.

Ah I see, that makes perfect sense. Thanks!

@patrick-kidger Correct me if I'm wrong, but shouldn't the non-array be marked as static (with respect to the Pytree structure), and work correctly with jax.lax.scan automatically?

If the non-array happens to be marked as static, then yes! But there's no requirement that all non-arrays be static fields, and it can happen that non-arrays are in the leaves of the PyTree as well.
In this case, the activation function of eqx.nn.MLP is not static, so this issue arises. (Why is it not static? Because one might have learnt activation functions, e.g. eqx.nn.PReLU. We can only mark a field as static if we're certain it will never have any arrays in.)

But if it is learnt, it holds parameters -- and if it holds parameters, it should be an eqx.Module, no?
I'm saying, if one is careful, and eqx.Module is used recursively throughout a code base -- this bug should never occur.

I think the problem here is that the activation function is not an eqx.Module. And, I think, if we're going to be extreme (and I think it's worth it) -- all activation functions should be lifted to Pytree registration, if if they are just eqx.Module with a single field marked static.

But if it is learnt, it holds parameters -- and if it holds parameters, it should be an eqx.Module, no?

Nope. Modules are just PyTrees like tuples/lists/etc, they have no special behaviour beyond that. (The fact they are also custom classes is what means we can put methods on them, i.e. for a forward pass.  That's unrelated.)

Sure, I know how Pytrees work, and I know how abstract base classes that register subclasses as Pytrees work.
I don’t think that answers my assertion: why not explicitly make any activation callable which is exported by eqx a Module by default?
Yes, someone can still run afoul of this issue if they use their own callable in an architecture that they make — but it seemingly removes the issue, no?

So the only activation function provided by Equinox is eqx.nn.PReLU, and this is indeed a Module. I think we already meet the requirement you're asking for, or do I misunderstand you?

No that’s right!
But presumably it’s possible that layers use other ones from e.g. jax.nn — so I just meant exposing wrappers that explicitly mark “the code” (the function) as static in a Module, and expose the Module as a public symbol from eqx (and use it internally for layers, so that “everything is accounted for” as Pytrees).
But I may have misunderstood the issue!

Ah, I see!
I'd prefer not to create wrappers like this, to be honest. It's important that Equinox be directly compatible with JAX -- we don't really want to sit as a layer on top of it. The central thesis here is that Equinox is not a JAX framework, and that it only be a JAX library instead.


Change the session data

Hi,
I would like express-session middleware will be aware of that session data modifcation in the socket. I want req.session altered when the socket handler alters the session data.
For example :
socket.on("login", function() {
  session.user.lastLoginTime = moment().format(dateFormat);
});

it's possible ?

Hum... This will not work. Well... I'm not saying that this would be impossible but it will not work out of the box. Socket should be treated more like a proxy which communicates between your app and a client using an API layer.

Yes I see, thank for your response.

My pleasure.


Question about loading of SVG images

I have a question about loading of SVG images.
For example I have the following folder structure:
/user
└─/pages
  ├─/01.home
  │ ├─/_header
  │ └─/_body
  ├─/02.blog
  │ ├─/blog-item-1
  │ ├─/blog-item-2
  │ ├─/blog-item-3
  │ └─/docs
  │   └─/images
  │     ├─image.png
  │     ├─image.jpg
  │     └─image.svg
  └─/error

So I have three images in the /user/pages/02.blog/docs/images folder.
Next, if I open the following URLs
http://site.local/blog/docs/images/image.png
http://site.local/blog/docs/images/image.jpg

PNG and JPEG image files will open in browser.
But if I try URL for SVG image file
http://site.local/blog/docs/images/image.svg

Browser starts to download the file because it loads SVG image with Content-Type: "application/octet-stream".
What can be done to load SVG file as an image?

Fixed in develop, thanks for reporting!

I just found out, SVG is working when using it inside an , but when using it as , it's still trying to download the file instead of displaying it. Is this really intended?


🐛  Looking up some profiles or user with uppercased username will throw 404

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
If a user with uppercased username (ExampleMal123) want to lookup their profile via Jikan on /users/<username>/* endpoint, Jikan will throw 404 Not Found error instead.
Expected Behavior
A data should be returned whatever the case it is, as long it exists in MyAnimeList.
Steps To Reproduce

Open any terminal with curl, wget, or Invoke-WebRequest. For familiarity to write this issue, I use PowerShell with Invoke-WebRequest
Do a GET method to https://api.jikan.moe/v4/users/<username> with <username> is user target with uppercased title

Cmdlet will return 404 Not Found error:
$jikan_test = iwr "https://api.jikan.moe/v4/users/ExampleMal123" -UseBasicParsing
Invoke-WebRequest: The remote server returned an error: (404) Not Found.
At line:1 char:15
+ ... ikan_test = iwr "https://api.jikan.moe/v4/users/ExampleMal123" -UseBasic ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Try to do the same, but with lowercase:PS > $jikan_test = iwr "https://api.jikan.moe/v4/users/examplemal123" -UseBasicParsing
PS > $jikan_test

StatusCode        : 200
StatusDescription : OK
Content           : {"data":{"mal_id":12345,"username":"ExampleMal123","url":"https:\/\/myanimelist.net\/profile\/ExampleMal123","images":{"jpg":{"image_url":"https:\/\/cdn.myanimelist.net\/s\/common\/userimages\/da6ea047-d3...
RawContent        : HTTP/1.1 200 OK
                    Transfer-Encoding: chunked
                    Connection: keep-alive
                    x-request-fingerprint: request:users:123456
                    access-control-allow-origin: *
                    Vary: Accept-Encodin...
Forms             :
Headers           : {[Transfer-Encoding, chunked], [Connection, keep-alive], [x-request-fingerprint,request:users:123456], [access-control-allow-origin,*]...}
Images            : {}
InputFields       : {}
Links             : {}
ParsedHtml        :
RawContentLength  : 580

Environment
Used public API

Tested on:
* Windows PowerShell 5
* Python 3.10 AioHTTP 3.8.4
* Brave 1.52.126 Chromium: 114.0.5735.133 (Official Build) (64-bit)

Anything else?
Related Issue/Context

#"Some users returns Not Found" forum thread on #bug-reports

Mitigation
Developer of 3rd party can mitigate this bug by hardcode lowercasing to avoid unwanted error

This will be fixed in #409

@pushrbx Heya, thx for the update. It seems the bug also occurring on some profiles, either lowercased or uppercased, and it affects multiple users.
All responses received is 404, HttpException. Below is some affected users:

fredou -> https://api.jikan.moe/v4/users/fredou
Arleyquin -> https://api.jikan.moe/v4/users/arleyquin, tested on both uppercase and forced lowercase
addzza -> https://api.jikan.moe/v4/users/addzza

The current release of the API did resolve username with uppercased name.
However, the error still occurs to some profiles that I've mentioned previously. Reverse lookup by ID does work, but looking up their profile does not.
I think it's better to reopen this issue 😔

The current release of the API did resolve username with uppercased name.
However, the error still occurs to some profiles that I've mentioned previously. Reverse lookup by ID does work, but looking up their profile does not.
I think it's better to reopen this issue 😔

I think this is a cache issue, let's wait few days and check them  again. All I did is that i added their proper username to the cache, and if theur entry is not yet expired in the cache then they have the wrong value and the api would not return them.


Remove unnecessary closure allocations on every call

@dotnet-bot test Innerloop OSX10.12 Debug

@dotnet-bot test Innerloop OSX10.12 Debug Build and Test

looks good to me.


Falling blocks glide when on ground

Expected Behavior
The tick a block (thrown from an Explosion) touches the ground, it should be removed.
Observed Behavior
Sometimes, a few blocks will sit on the ground for a few ticks.
https://user-images.githubusercontent.com/43940682/147023361-1879dc8d-3fcb-4825-ab99-d2ddef9044d9.mp4
Steps to Reproduce
Use a weapon that spawns falling blocks during explosions
  Explosion:
    Explosion_Exposure: OPTIMIZED
    Explosion_Shape: DEFAULT
    Explosion_Type_Data:
      Yield: 5
      Rays: 16
    Detonation:
      Impact_When:
        Entity: true
        Block: true
    #Regeneration:
    #  Ticks_Before_Start: 200
    #  Max_Blocks_Per_Update: 100 # this should help reduce CPU load by scheduling 1 task for every 10 blocks
    #  Ticks_Between_Updates: 2
    Block_Damage:
      Break_Blocks: true
      Blacklist: true
      Damage_Per_Hit: 4
      Spawn_Falling_Block_Chance: 1.0
      Block_List:
        - $GLASS
      Shots_To_Break_Blocks:
        - STONE~4

Frequency
50% of blocks that stay near the ground will show this gliding issue
Version

Additional context
This feature was working properly in 1.15, it is possible that changes to motion have caused it to break in newer versions

https://www.spigotmc.org/threads/fallingblock-packet.466019/
We may be able to spawn falling blocks with noClip = true so instead of colliding with the ground, they fall through it (Remove all falling blocks n ticks later). This will have major performance benefits, since we will not need to calculate the time to hit the ground (Which involves ray tracing and such).
This approach will work 99% of the time, but it will look ugly in skybases or other open areas in the sky (blocks will visually fall through the ground and

Client does not get told about entity noclip. Instead we will have to move the falling blocks every tick. There is still a performance benefit since we do not need to calculate collisions (Except now we can remove blocks after they are inside a solid block)

Fixed using RemoveOnBlockCollisionProjectile in commits https://github.com/WeaponMechanics/MechanicsMain/commit/8e1e22cf66167fec06771f25a9e5d86ec808c77a and https://github.com/WeaponMechanics/MechanicsMain/commit/6129b42a155ec03656faf56d28dad96f8347569d


[FEAT]: Add Spotlight-like Query Interface Triggered by Opt+Enter Keys

What would you like to see?
Could you please add a spotlight-like query interface that is triggered by pressing the Opt+Enter keys, similar to how it’s implemented in ChatGPT? This would allow users to quickly access the query interface from anywhere, improving efficiency and usability.

I presume you are requesting this for desktop?

@timothycarambat yes please


add gClient ExampleNew function

Issue URL: https://github.com/gogf/gf/issues/1822
Document URL：https://goframe.org/pages/viewpage.action?pageId=1114381#HTTPClient基本使用-New方法的使用

Codecov Report

Merging #1823 (273b81d) into master (583d576) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1823      +/-   ##
==========================================
- Coverage   71.19%   71.17%   -0.02%
==========================================
  Files         463      463
  Lines       43534    43534
==========================================
- Hits        30993    30985       -8
- Misses      10564    10571       +7
- Partials     1977     1978       +1

Flag
Coverage Δ

go-1.15
71.16% <ø> (ø)

go-1.16
?

go-1.17
71.16% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

os/gspath/gspath_cache.go
87.71% <0.00%> (-7.02%)
:arrow_down:

os/glog/glog_logger_rotate.go
65.85% <0.00%> (-1.47%)
:arrow_down:

os/gcron/gcron_z_unit_schedule.go
67.09% <0.00%> (-0.43%)
:arrow_down:

Continue to review full report at Codecov.

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

此外，如果Close后归还链接对象如果没有更好方案可以在Close中调用ReadAll。

此外，如果Close后归还链接对象如果没有更好方案可以在Close中调用ReadAll。

OK 我晚上加下


Key revoked validation

Issue Link: #339

@eswarasai After this is merged all you bounty can be merged and test cases should pass.

@lucasvo @vedhavyas -- Is this good to be merged? Please do let me know once done, so that I can rebase and fix the other 2 test cases in the testworld for invalid signatures :)

@vedhavyas I had a call with @lucasvo , Conclusion is that
we still need to validate against signature timestamp whenever we validate a signature, for example when receiving all ready anchored documents. So the timestamp validation will remain. I will remove the latest block based fallback anyway because it serves no purpose.


Bump Hyper to support 0.10 as well.

Updates the Hyper dependency to cover both the 0.9 and 0.10 series. (Straddling both avoids the need to make a major bump to this crate.)

Closing -- this fails dynamically due to openssl being removed. I'll work on a proper fix shortly.

Reopening; thought this was going to need changes for hubcaps but it's totally abstracted away.


Feat: Custom refresh rate per component

Requested feature
It would be nice to either have a custom refresh rate for specifically defined components
Or, have a way to disable refreshing for a component and require manually calling the lualine refresh function
Motivation
Some tasks are more intensive then others, and therefore might not want to be ran as often as everything else

To anyone looking for a stop-gap, it's possible to control when the component updates
See https://github.com/nvim-lualine/lualine.nvim/blob/0a5a66803c7407767b799067986b4dc3036e1983/lua/lualine/components/buffers/init.lua#L205-L219
You can't control the refresh rate, maybe, but you can tell the component to reuse a previous computation and only compute in limited situations. e.g. something like
function M:draw()
  if not self._needs_refresh then
    return self.status
  end

  local status = self:update_status()
  self._needs_refresh = false

  if status then
    status = " " .. status .. " "
  end

  self.status = status

  return self.status
end

self._needs_refresh would need to be controlled elsewhere. You could probably use a vim.uv.timer() to hijack the refresh rate to call self:update_status at a slower-than-normal speed.
Ideally though I'd like a directly tell lualine to refresh from within the component so that lualine updates immediately. As it is, my code is ready immediately but there's still a delay from when the code runs self:update_status and the user sees the change on-screen.

Actually I think you can refresh lualine with require("lualine").refresh() and it updates immediately!

Hiya @ColinKennedy thank you for your comment.
I'm a bit unsure if we both mean the same thing though.
The issue atm is that the same refresh rate is used for all components.
Whereas it would be nice to be able to define specific refresh rates for specific components.
I am indeed aware that the refresh function exists, but afaik that would not in any way shape, or form resolve this. As a matter a fact it would just make the issue even worse as it would update more frequently if you use that.
Please feel free to correct me if I'm incorrect, as I haven't used this plugin since the post of this issue.

My suggestions weren't in direct response to your point, just some strategies in case others looking for similar things can do without. That's why I called it it a stop-gap.
FWIW if your needs is to refresh slower than normal then you could use a uv timer + custom draw to achieve. Buf if you need faster than normal refreshing I'm not sure how that'd be achievable.


Make it easier to copy effects/customs

Right now when creating a Custom you can only set it to a specific Color.
It can be useful to copy an existing Custom in some cases to have a copy of the current state.
For example with a copy constructor:
var keyboard_custom = KeyboardCustom.Create();
keyboard_custom.Set(Color.Red);

var other_custom = new KeyboardCustom(keyboard_custom);
// Or maybe
var other_custom_2 = KeyboardCustom.Create(keyboard_custom);

Adding copy constructors is a good idea that will also be familiar for those used to .NET development. Clone methods could also be good to add which also follows what a lot of existing .NET code does.

Implemented in #158


Added strip_protocol from fsspec to get the required URL.

Fsspec provides a method strip_protocol that helps in getting path part of full URL. Currently, the url part is resticted. Where as fsspec provides a way to add our own implementation for getting the path part of the URL.

 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.


Endorse ICES data guidelines on OBPS

Following the May DIG meeting we were contacted by the Ocean Best Practices System to see if we wanted our guidelines to be endorsed.  We agreed that we do.  I will follow this  up with @cfpo and OBPS.

Today, I have submitted a request to endorse the Biological Plankton Data Guidelines on OBPS.  Clare and Neil reviewed the submission.  Documents can be found on the SharePoint: https://community.ices.dk/Committees/DIG/Master documents/OBPS_Endorsements


Request to merge cleanup and features

Probably best to review each commit individually. If you don't like any commits, you should probably reject this PR and instead add my repo as another remote to your local and cherrypick commits that you do like.

All code changes have been reviewed and functionality tested.  Merging all changes to master branch.  I am extremely thankful for your contribution.  You rock!


Remove async when not needed

Details of Changes
Using async keyword generate a state machine which has perf impact. I removed it from methods where it's trivial to remove them and doesn't impact the readability of the code

@meziantou thank you! LGTM


Account has insufficient balance for requested action.

tracelog:
 com.binance.api.client.exception.BinanceApiException: Account has insufficient balance for requested action. at com.binance.api.client.impl.BinanceApiServiceGenerator.executeSync(BinanceApiServiceGenerator.java:57) at com.binance.api.client.impl.BinanceApiRestClientImpl.newOrder(BinanceApiRestClientImpl.java:130)
Request order: {"price":"14.107","quantity":"1.000","recvWindow":6000000,"side":"BUY","symbol":"BNBUSDT","timeInForce":"GTC","timestamp":1524763355419,"type":"LIMIT"}
Error AssetBalance
BNB AssetBalance[asset=BNB,free=0.00000000,locked=0.00000000] USDT: AssetBalance[asset=USDT,free=0.00000000,locked=0.00000000]
My account:

Always tracelog: Account has insufficient balance for requested action.
Please help me!!!

issue when create restapi twice times

What do you mean by creating rest api twice? Is there a way to close it?
I run into the same problem but only creating the restapi once...


Thiagodeev/rpcv08 txn status

https://github.com/NethermindEth/starknet.go/issues/623
Methods
starknet_getTransactionStatus
Components
TXN_STATUS_RESULT
FEE_ESTIMATE

Might be good to leave a note in the PR description that tests for these changes need implemented once full nodes support this rpc version


Accidentally Deleted Repository... Word Diff Implementation

Clean up later

Sample result:

Sample result:

TODOs:

Fix up the type for line
Refactor and modify the rendering to match our specification
Consequently match construct_hunk to match what we need

Example:


RdKafkaException: receive.message.max.bytes must be >= fetch.max.bytes + 512

I'm running into the following exception when using balanced_consumer with rdkafka=True.

pykafka.exceptions.RdKafkaException: receive.message.max.bytes must be >= fetch.max.bytes + 512

The same piece of code by just making rdkafka=False will work fine.
The following is the code.
import io
import avro.schema
import time
import avro.io

import logging
kafkalogger = logging.getLogger('pykafka')
kafkalogger.setLevel(logging.DEBUG)
console_handler = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
console_handler.setFormatter(formatter)
console_handler.setLevel(logging.DEBUG)
kafkalogger.addHandler(console_handler)

client = KafkaClient(hosts='localhost:9092')

topic = client.topics['ingest']

key_schema = avro.schema.Parse(open("ifs_ingest_key.avsc", "r").read())
value_schema = avro.schema.Parse(open("ifs_ingest_value.avsc", "r").read())

balanced_consumer = topic.get_balanced_consumer(
    consumer_group='testgroup',
    zookeeper_connect='<IP_ADDRESS>:2181,<IP_ADDRESS>:2181,<IP_ADDRESS>:2181',
    use_rdkafka=True
)

start_time = time.time()

cnt = 0
for message in balanced_consumer:
    if message is not None:
        bytes_reader = io.BytesIO(message.value)
        decoder = avro.io.BinaryDecoder(bytes_reader)
        reader = avro.io.DatumReader(value_schema)
        record = reader.read(decoder)
        print(record)
        cnt += 1

balanced_consumer.stop()
print("%d --- %s seconds ---" % (cnt, time.time() - start_time))

The following is debug output:
Traceback (most recent call last):
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/balancedconsumer.py", line 342, in start
    self._rebalance()
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/balancedconsumer.py", line 615, in _rebalance
    self._update_member_assignment()
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/balancedconsumer.py", line 586, in _update_member_assignment
    if self._setup_internal_consumer(new_partitions):
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/balancedconsumer.py", line 395, in _setup_internal_consumer
    cns = self._get_internal_consumer(partitions=list(partitions), start=start)
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/balancedconsumer.py", line 464, in _get_internal_consumer
    cns.start()
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/simpleconsumer.py", line 300, in start
    self._fetch_workers = self._setup_fetch_workers()
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/rdkafka/simple_consumer.py", line 88, in _setup_fetch_workers
    self._rdk_consumer.start(**start_kwargs)
pykafka.exceptions.RdKafkaException: receive.message.max.bytes must be >= fetch.max.bytes + 512
2019-08-20 16:17:47,041 - pykafka.balancedconsumer - DEBUG - Stopping <pykafka.balancedconsumer.BalancedConsumer at 0x1093f7cc0 (consumer_group=testgroup)>
Traceback (most recent call last):
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/balancedconsumer.py", line 748, in consume
    message = self._consumer.consume(block=block, unblock_event=self._rebalancing_in_progress)
AttributeError: 'NoneType' object has no attribute 'consume'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/guyyala/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/192.5728.105/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 2060, in <module>
    main()
  File "/Users/guyyala/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/192.5728.105/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 2054, in main
    globals = debugger.run(setup['file'], None, None, is_module)
  File "/Users/guyyala/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/192.5728.105/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1405, in run
    return self._exec(is_module, entry_point_fn, module_name, file, globals, locals)
  File "/Users/guyyala/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/192.5728.105/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1412, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/Users/guyyala/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/192.5728.105/PyCharm.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/Users/guyyala/git/IFS/pykafka_consumer.py", line 40, in <module>
    for message in balanced_consumer:
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/balancedconsumer.py", line 767, in __iter__
    message = self.consume(block=True)
  File "/Users/guyyala/git/IFS/venv/lib/python3.6/site-packages/pykafka/balancedconsumer.py", line 757, in consume
    raise ConsumerStoppedException
pykafka.exceptions.ConsumerStoppedException
2019-08-20 16:17:48,174 - pykafka.simpleconsumer - DEBUG - Finalising <pykafka.rdkafka.simple_consumer.RdKafkaSimpleConsumer at 0x109411940 (consumer_group=b'testgroup')>
2019-08-20 16:17:48,174 - pykafka.rdkafka.simple_consumer - DEBUG - Issued stop to _rdk_consumer.
2019-08-20 16:17:48,175 - pykafka.balancedconsumer - DEBUG - Finalising <pykafka.balancedconsumer.BalancedConsumer at 0x1093f7cc0 (consumer_group=testgroup)>

PyKafka version: 2.8.0
Kafka version: 2.2.1 (AWS MSK)
librdkafka: 1.1.0 (installed on mac using brew)
I googled on this error and searched all stackoverflow but not able to find any solution. Can someone please help me out here.
Thank you!!!

Have you found a workaround for this yet?
I'm getting a similar error which I've detailed here.

Hi @mkmoisen , No I haven't found a workaround for this. We switched back to using confluent-kafka-python client.


Python 3 support, CI, and style fixes

Best to read commit-by-commit

Python 3 support
Add CI
Style fixes
Doc updates

You might have to activate the repo in https://travis-ci.org/ludia/dogpile_elasticache to get it running

Hey @goodspark 👋
Sadly, nobody at Ludia is maintaining this project anymore.
If you are using dogpile_elasticache, you should probably fork it.


Update findup-sync to v0.4.0.

This version looks like a big change. Do you know if it's fully backwards compatible?

We just search for a specific string, 'lib/grunt.js' so that shouldn't be affected.
But I couldn't manage to get to inside the catch to actually see the result.

Cool, I'll take a look into it more.
I'm not sure what you use for development/debugging but I use devtool. npm i devtool -g and then devtool ./node_modules/.bin/grunt. Then add debugger statements where I want to pause execution. That should let you pause before a catch and see the result.

Do you know if it's fully backwards compatible?

fwiw, it passes all of the original unit tests plus additional unit tests. not sure how helpful that is given the size of grunt's user base. I'll leave that to your expertise


oktokit dropped support Ruby 2.6

Oktkit v5 no longer supports Ruby 2.6
https://github.com/octokit/octokit.rb/releases/tag/v5.0.0
https://github.com/octokit/octokit.rb/commit/21131ef870b37091664ce7ac2f02726b7cd9ef80
If this gem continues to support Ruby 2.6 until EOL, I think something needs to be done.

Ruby < 2.7 is reached to EOL date.

Use Ruby >= 2.7
or freeze octokit gem (workaround)

# Gemfile
gem "git-pr-release"

gem "octokit", "< 5.0.0" # add this line

I may change the supported version of git-pr-release to Ruby 2.7 or later.

Oh, I mistakenly thought there is still some time until EOL for Ruby 2.6.

Any updates on this? There are some conflicts with octokit 4.22 and legacy (<1) faraday packages. The above fix would help.


Add support for isort remove_redundant_aliases option

Ref: https://pycqa.github.io/isort/docs/configuration/options.html.

Tells isort to remove redundant aliases from imports, such as import os as os. This defaults to False simply because some projects use these seemingly useless aliases to signify intent and change behaviour.

Configuration in ruff:
[tool.ruff.isort]
remove_redundant_aliases = true

This might be redundant with PLC0414 check from pylint: https://github.com/charliermarsh/ruff#convention-plc.

Yeah I believe we implement this (with autofix) as PLC0414.

Sweet thanks! Closing this issue.


Bump to {glib,gobject}-sys 0.4.0

The 0.3.4 version is no longer available in Github.

My idea would be to follow master, and have release branches that follow a release. That makes testing easier.

Alright then, I will update the patch!

This could then be merged into a release branch as-is, I suppose?

Yes, this would be for the release branch and for master we just remove the version and only keep the git repository location.


comment out rc channel in osx environment file

Discovered by looking at the GA test that the rc channel should be commented out in the environment_osx.yml file too :beer:

cheers @zklaus - will merge now :beer:


fix typo in src/CMakeLists.txt

src/ipsetdot was not built correctly before

@dcreager could you please review this series of PR? thanks!

The merge in #45 fixed this