Documentation about ambient-credentials

Is your feature request related to a problem? Please describe.
Yes. I ran for four days into the problem that the controller was not able to fetch the ambient token.
I'm using ACME DNS01 with Route53.
In the end I changed the kind from Issuer to ClusterIssuer and it worked. Then I found:
https://github.com/jetstack/cert-manager/blob/master/cmd/controller/app/options/options.go#L130-L131
Describe the solution you'd like
Both should be set to true. I don't see the need of having one set to true and the other to false as default.
Describe alternatives you've considered
The documentation should mentioned at least these two flags and why they are needed for IRSA. There other missing too.
--issuer-ambient-credentials=true|false
--clusterissuer-ambient-credentials=true|false

Additional context
The error message in https://github.com/jetstack/cert-manager/blob/7872f04d3f6f68982e1de8db391e342c270934e2/pkg/issuer/acme/dns/route53/route53.go#L58 should be more precise.
There should be a general message that AccessKeyID and SecretAccessKey are empty and that the code tries to read the token from the ambient. And there should be clear message that the flag is set to false and that one can switch it on.
Environment details:

Kubernetes version: 1.21
Cloud-provider/provisioner: AWS
cert-manager version: v1.6.1
Install method: helm

/kind feature

Agree this should document this better, this issue might be more for https://github.com/cert-manager/website :
From a brief look these seem related

https://github.com/cert-manager/website/pull/701 <- some of that might already be addressed here
https://github.com/cert-manager/website/issues/697

It looks like this was documented in the original PR by @euank :

https://github.com/jetstack/cert-manager/pull/363
https://github.com/jetstack/cert-manager/blob/95883c47dd31ad6c0e7652a192e4c51981d67592/docs/user-guides/ambient-credentials.md

But we must have forgotten to port the document over when the docs were moved to a separate repository.


Update Set-SPOSite.md

Added restrictions on groups site collection.

OPS Build status updates of commit e47b799:
:clock10: Preparing: average preparing time is 1 min(s) 12 sec(s)

OPS Build status updates of commit e47b799:
:clock10: Incremental building: average incremental building time is 12 min(s) 24 sec(s)

OPS Build status updates of commit e47b799:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:x:Error

Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md

[Error] Unable to load file 'sharepoint-ps/sharepoint-online/Set-SPOSite.md' via processor 'AzureCliDocumentProcessor': :96:(1252) '```
Set-SPOSite [-Identity] <SpoSitePipeBind> [-A...'
Expect Heading

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


⚠ Empornium has degraded performance

In a8620e2, Empornium ($EMP) experienced degraded performance:

HTTP code: 500
Response time: 1384 ms

Resolved: Empornium performance has improved in 609bbd0 after 13 minutes.


Problem downloading some videos (worked up till about a week ago - broken now)

About half of the usual videos that I watch have stopped working - same error message.
Observe (the goal is to download the video for "We're all alone" by Boz Scaggs):
$ youtube-dl.py -U
youtube-dl is up-to-date (2015.11.02)
$ youtube-dl.py --verbose -f best 'ytsearch:were all alone boz'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'-f', u'best', u'ytsearch:were all alone boz']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.02
[debug] Python version 2.7.2 - Darwin-12.5.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:search] query "were all alone boz": Downloading page 1
[download] Downloading playlist: were all alone boz
[youtube:search] playlist were all alone boz: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[youtube] k-MsVZrTQEU: Downloading webpage
[youtube] k-MsVZrTQEU: Downloading video info webpage
[youtube] k-MsVZrTQEU: Extracting video information
WARNING: unable to extract html5 player; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[youtube] {22} signature length 40.44, html5 player None
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/Users/me/bin/youtube-dl.py/youtube_dl/extractor/youtube.py", line 817, in _decrypt_signature
video_id, player_url, s
File "/Users/me/bin/youtube-dl.py/youtube_dl/extractor/youtube.py", line 709, in _extract_signature_function
raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfljDEtYP/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError(u"Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfljDEtYP/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/Users/me/bin/youtube-dl.py/youtube_dl/extractor/youtube.py", line 817, in _decrypt_signature
video_id, player_url, s
File "/Users/me/bin/youtube-dl.py/youtube_dl/extractor/youtube.py", line 709, in _extract_signature_function
raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfljDEtYP/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/Users/me/bin/youtube-dl.py/youtube_dl/YoutubeDL.py", line 661, in extract_info
ie_result = ie.extract(url)
File "/Users/me/bin/youtube-dl.py/youtube_dl/extractor/common.py", line 290, in extract
return self._real_extract(url)
File "/Users/me/bin/youtube-dl.py/youtube_dl/extractor/youtube.py", line 1345, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/Users/me/bin/youtube-dl.py/youtube_dl/extractor/youtube.py", line 827, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/Users/me/bin/youtube-dl.py/youtube_dl/extractor/youtube.py", line 817, in _decrypt_signature
video_id, player_url, s
File "/Users/me/bin/youtube-dl.py/youtube_dl/extractor/youtube.py", line 709, in _extract_signature_function
raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfljDEtYP/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError(u"Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfljDEtYP/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
$ python --version
Python 2.7.2
$ uname -a
Darwin macbook 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64
$
Also note: Get same result if I omit "-f best".

Duplicate of #7413. This is already fixed and will be available in the next version.


cereal: add patch for CVE-2020-11105

Motivation for this change
Fixes: https://nvd.nist.gov/vuln/detail/CVE-2020-11105
A patch to 1.3.0 exists upstream (1.3.1 not released yet):
https://github.com/USCiLab/cereal/pull/667/commits/3e8b9cab82dc4a596dc3bcfe7437946395ad782b
This is the first time I am PRing this kind of commit so please let me know if
I am missing something.
Cereal 1.3.0 seems to exist on 20.09 and 20.03 as well, should this be backported to both of them?
I only ran nixpkgs-review on master for this PR.
On the off chance that some reverse dependencies fail to build on 20.09 or 20.03 is the backport for that specific release aborted?
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 121574 at d720aa38 run on aarch64-linux 1

2 packages built successfully:

cereal
domoticz

2 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/libraries/cereal/default.nix:30:3:
   |
30 |   meta = with lib; {
   |   ^

error: no-flags-array
cmakeFlagsArray is only intended to be used in Bash, not as a Nix attribute.
Near pkgs/development/libraries/cereal/default.nix:28:3:
   |
28 |   cmakeFlagsArray = [ "-DJUST_INSTALL_CEREAL=yes" ];
   |   ^

Result of nixpkgs-review pr 121574 at d720aa3 run on aarch64-linux 1
2 packages built successfully:
2 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/libraries/cereal/default.nix:30:3:   |
30 |   meta = with lib; {
   |   ^

error: no-flags-array
cmakeFlagsArray is only intended to be used in Bash, not as a Nix attribute.
Near pkgs/development/libraries/cereal/default.nix:28:3:   |
28 |   cmakeFlagsArray = [ "-DJUST_INSTALL_CEREAL=yes" ];
   |   ^

Regarding no-flags-array, I changed cmakeFlagsArray to cmakeFlags.
Regarding maintainers-missing warning, I never used this library before, nor
am I programming in C++, and so I do not think I am qualified to become the
maintainer of this library.  The reason for the PR is that I simply wanted to
lend a helping hand with the CVEs.


QR code sometimes doesn't show up

We've been demoing the issuer service and it's generally working well, but sometimes the QR code does not come up when clicking the issue to the wallet button.  It's generally when retrying the walkthrough a second time, sometimes after stopping (rm and stop) and then start-ing the service.  Pretty sure that a refresh of the browser solves the issue, so perhaps it is data in the browser that is out of sync with persisted data(?).
We're working on getting consistent recreation instructions, but perhaps a quick scan of the code and ways that the QR code would NOT display when the button is clicked?
Thanks

Overcome by events.  Closing.


The groundtruth of result data in your Baiduyun could not reproduce your result

I download your result data, code and model in order to reproduce your result, and I really done
But I use the ECSSD groudtruth in your result data could not reproduce your result, so I change to the original ECSSD dataset's groudtruth and I reproduced.
There are some differences between your gt and original gt dataset, such as data type and files' storage space.
So can you check the gt and give the right one ?
I found difference in SOD, PASCAL-S and ECSSD, thank you!

Maybe that's not gt, they are the results of DSS without crf.

@Xavierman it is not the results of DSS, you can check it by run their test code.

Thanks for your efforts on this. I will check it.


Rename ResponseType to ResponseObject

ResponseType made sense to me when I initially wrote this, but as time
went on it made less and less sense. With #47, I think it stops making
sense entirely. This renames ResponseType to ResponseObject in order to
hopefully clarify the intent a bit more.

:+1:


Enhancement: Tech Lancaster YouTube Updates

Automatically post content uploaded to the Tech Lancaster youtube channel.

Added support for YouTube channel subscriptions in https://github.com/NateShoffner/lanco-discord-bot/commit/30cdaa4c76cf3858512ea2616b60ec542cec296a.


Deprecate foxx-manager

The foxx-cli tool has been released and tested on Windows, Linux and Docker. Accordingly we will now warn users to switch from foxx-manager to foxx-cli starting with ArangoDB 3.4.0 and remove foxx-manager fully in ArangoDB 4.0.
@mpv1989 maybe we should replace the URL with a link to the Foxx CLI docs when they land in the ArangoDB tools documentation? Assuming this happens before 3.4. What do you think of a chapter on switching from foxx-manager to help users transition?

I've adjusted the URL as we discussed. Please re-review.


Sell GUI bug

Short summary of issue
Hi. I have a problem when I sell a head, not only sells the heads, but also makes items disappear from the inventory.
Server version
1.13.2
HeadsPlus version
5.2.9
Detailed description (how you found it, what you were doing at the time)
Players of my server notificated me about the bug, when they sells heads, part of the inventory disappear with the head. I use the sell GUI.
Expected behaviour
Don't desapair items from inventory.
Actual behaviour
Sometimes when sell heads, items desapair.
Steps to reproduce
Try sell heads with items in the inventory, maybe like diamond pickaxe, diamond, iron, cobblestone, beef, etc.
Any last notes?
First, sorry for my bad english, second, i thinked is a bug with /sell from essentialsX, but i delete the items to sell and the bug it happened again.

I believe this has happened before but I’ll have to try and reproduce it. No promises that I will manage to, since I don’t think I’ve heard of the such.

Currently unable to reproduce on Spigot 1.13.2.
Are you able to give me your server's IP so I can see this? Or perhaps a video of it happening? If possible of course.

Of course, you need a special permission or something? I have disable the sell option, but if you need i can enable again. And I try to capture the bug in a video, but now I have a lot to do...
Ip: <IP_ADDRESS>

I have a video with the bug:
https://www.youtube.com/watch?v=Phq-YRkrg5s
Also I do a test with other problem I have in the server, and the items that disappear have NBT Tag, I don't know why, but these only items disappear.
In the video I put 2 stacks of iron ingots, one don't have NBT Tag and the other yes.

NOW that makes much more sense. Will look into this.

I did have a fix set up yesterday but currently I’ve got around 20 different things happening in my life and next week is not going to be much better either. I’ll test the patch I applied when I’m back later and will release it as a new plugin version.

Fixed here. https://www.spigotmc.org/resources/headsplus-1-8-x-1-13-x.40265/update?update=256932


Identifiers validation failed for dataset Apoyo a las colecciones biológicas de la Facultad de Ciencias de la UNAM: Fase 1 (MZFC_DI)

Identifier validation failed for the dataset Apoyo a las colecciones biológicas de la Facultad de Ciencias de la UNAM: Fase 1 (MZFC_DI):

Crawler attempt: 156
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 3014
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 100%, total records count 3014, absent records count 3014
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3073074/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Apoyo a las colecciones biológicas de la Facultad de Ciencias de la UNAM: Fase 1 (MZFC_DI) : https://doi.org/10.15468/fnnjhu.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Apoyo a las colecciones biológicas de la Facultad de Ciencias de la UNAM: Fase 1 (MZFC_DI):

Crawler attempt: 159
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 3014
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 100%, total records count 3014, absent records count 3014
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3093861/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Apoyo a las colecciones biológicas de la Facultad de Ciencias de la UNAM: Fase 1 (MZFC_DI) : https://doi.org/10.15468/fnnjhu.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


Fix mypy errors attributed to pytorch_lightning.callbacks.quantization

Part of #13445

Thank you for all the reviews @otaj and for helping with this PR.

Thank you for all the feedback @otaj and @awaelchli

Thank you for the reviews @rohitgr7 @carmocca @awaelchli @otaj


Add Contribution

Thanks. Dashboard looks great. Have to open source it to get weights. You mentioned its coming soon. Snapshot deadline is in a few hours. 60 seems high, just know the current weight implied value is $400+ each. New website is nice, but not worth $24,000 : )


[Feature]: Import and Export Application to Database directly

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Instead of only Importing and Exporting apps by downloading them locally, Users want to be able to export apps to any database of their choice.
Why should this be worked on?
This is an interesting request to think about, We need to triage if this is something we want to work on or not.
Reference to the conversation can be found here: https://discord.com/channels/725602949748752515/1012227463457288242

We'll solve this as CI/CD  git integration


⚠ SpeakUpConference.com has degraded performance

In eebc028, SpeakUpConference.com (https://www.speakupconference.com) experienced degraded performance:

HTTP code: 200
Response time: 7644 ms

Resolved: SpeakUpConference.com performance has improved in d1d65a2 after 10 minutes.


Revise Linux install command

Closes https://github.com/docker/machine/issues/3905
Signed-off-by: Nathan LeClaire<EMAIL_ADDRESS>

LGTM


[question] POS (Point of Sale) send sales

Hi,
I am trying to send item to the Reservation.
example:

bottle of water, $ 1.00.

In pontman I found the colection

"Property Interfaces - Post Simple Charges"

Post a billing charge including amount

That is a correct endpoint, to send data from POS to Oracle | Hospitality ?

Hi @williamgueiros, thank you for your interest in our APIs!
The answer to your question is yes, that is the right API operation for a POS to post charges.
If you're an integration partner we recommend posting this and similar "how to" questions on our dedicated Slack community.


How to reset the learning rate when finetuning model

Description
I met a problem when I trained my En-Zh model, that I want to sample a part of training data to fine tune my model wihin 5 epochs. Due to the large training steps = 2300000 , the learning rate is so small (2e-5) that I can't get significant experimental phenomena which I do right or not. I want to gain a method that I can reset the learning rate about 5e-5 or even larger, does anyone have tips ?
...
Environment information
OS: <your answer here>

$ pip freeze | grep tensor
# your output here
pip install tensorflow-gpu==1.6
tensor2tensor-1.6.5
$ python -V
# your output here
```3.6.5

### For bugs: reproduction and error logs

Steps to reproduce:
...

Error logs:
...

the learning rate is so small (2e-5) that I can't get significant

First, I am not sure if this is the cause. I found out that finetuning works even with a very small learning rate works. That said, there are three ways how to increase the learning rate for finetuning:

Just increase the parameter learning_rate_constant (or learning_rate in older T2T versions).

You can define your own learning rate schedule by modifying the source code. E.g. that after 2.3M steps the learning rate will go up (as in warmup) and then down (decay) in whatever pace you want. If you don't like coding, you can use piecewise-constant schedule and just provide the constants (but it seems sudden big jumps in learning rate are not good for the learning stability).

You can also reset the global_step variable stored in the checkpoint to 0. This way the learning rate schedule will start from scratch with the warmup. My experience is that after the warmup the learning rate is so high that it effectively ruins whatever the model has learned so far, so I don't recommend this option for finetuning, but you can set the global_steps to non-zero value. If you run the avg_checkpoints.py script with just one checkpoint, it will reset the global_step to 0 (and you can easily tweak it to reset it to another value).


:seedling: make CAPI a pattern in dependabot

Dependabot always bumps the CAPI main package and CAPI test package separately, which is waste of PRs and CPU time.

/cc @kashifest

/lgtm

/unhold

/override metal3-centos-e2e-integration-test-main  metal3-ubuntu-e2e-integration-test-main


Win7, IE10 speech garbled

Looks like the old xpath issues are back again. Was anything changed?

It looks as if the subexressions innerText (from MathJax rendering) is injected into the live region. But I don't remember what the old bug looked like exactly.

That could be a problem with the http vs https.

Oh, you mean components not making it? I'll check.

Indeed. Something goes wrong in SRE.
URL	Method	Result	Type	Received	Taken	Initiator	Wait	Start	Request	Response	Cache read	Gap
/MathJax-RespEq/Semantics-Lab/walker/progressiveaccess.com/content/wgxpath.install.js	GET	404	text/html	0.57 KB	203 ms

Can you please try again. It should work now.

Yay, fixed.


How to migrate from 6.4 tot 6.6

Question
I've just updated our shop to 6.6 and still want to use BunnyCDN. I've configured the plugin, seens all good. images are not showing.
How to I connect the media again to Shopware?

Install the plugin and setting the correct config should be enough.

the image path also looks strange to me
https://test.DOMAIN.nl/shop/umeshu/cdn.DOMAIN.nl/media/a3/a0/ae/1603385112/joyo-umeshu-1.png?width=2000

do you set https in front of the setting of cdn.DOMAIN.nl?

did you set https in front of the setting of cdn.DOMAIN.nl?

No, this was the issue for that the url then. Just did a assets:install and a cache:refresh... URL are now OK. thank you.
Still no media, but URL are now better.
Can it be that SW rebuild the thumbnails?

Are the URLs better or correct?

Can it be that SW rebuild the thumbnails?
It depends on the real issue is based on your side. But you can try it by using the command media:generate-thumbnails

I will close here due to inactivity.


Removed a note

it no longer applies

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


Possible to lint about unnecessary hlint ignores?

is it possible for this to be a lint? for example:
{-# ANN foo ("HLint: ignore Redundant bracket" :: String) #-}
foo = id

Not currently - and because of the way HLint works, it wouldn't be trivial to add. But eventually, I think it would be a good feature.


feat: Leaderboard on basis of contribution score

[x] Have you renamed the PR title to something meaningful?

Related Issue

Closes #193

Description

Leaderboard Page
How Has This Been Tested?

Screenshots (if applicable)

Type of Change

[ ] Bug fix
[x] New feature
[ ] Code style update
[ ] Breaking change
[ ] Documentation update

LGTM


Improve example player move so when pressing against walls the camera doesn't shake

This may give bad impression to people considering this tool if they don't know how to fix it themselves
When pressing against walls and not moving camera shakes, this shouldn't happen to look better

@subsoap Thank you very much for your participation!
Yes, this is indeed a problem in the kinematic walker. The player's body is being thrown back. The problem here is not even that the player is being thrown (it should be), but that the frame is rendered when the player's position is invalid BEFORE being thrown back.
That is, ideally, the attempt to enter the wall and throwing away from it - this process should take place behind the scenes of one frame without rendering the position "inside the wall".
I hope that what I can reproduce on my M1 (jitter outside the building) is the same problem and then I can deal with it.

At the moment I tested on:

Macbook M1 2021 - fine.
Macbook Air 2012 - fine.
Old laptop 2010 with Windows - very bad, the character starts rocking back and forth and falls off the level during few seconds.

Current Defold project settings:

Vsync is on;
Update frequency is 0;
Fixed update frequency is 60;
Use Fixed Timestamp is off;
Max fixed timestamps is 2;

The current code doesn't contains the fixed_update() function, everything works with the update() and on_message() functions at the moment.

If you implement fixed_update() I will test and see results!
I can try too but likewise have time constraints right now...

I tested downloading this project, editing walker.script and changing update to fixed_update and with fixed_update I do see significantly less bouncing when pushing against an object.
update:
https://user-images.githubusercontent.com/409170/210010199-3a60b703-6305-46cb-881b-3b7c9e47842e.mp4
fixed_update:
https://user-images.githubusercontent.com/409170/210010207-75b7d42f-4424-43a8-9e22-5a14873487fe.mp4
maybe the bouncing effect still present in fixed_update could be eliminated by smoothing movement at small distance chances?
in this demo, at this position could you record what you see/is there still a little bit of bounce?

Anyway, changing from update to fixed_update seems right thing to do here to improve it!
The video you posted above is similar in shaking when pressing against a surface as I see now.

I tested moving just the first ground test into fixed_update and it does improve jumping visually.  So all physics checks have to be moved into fixed_update and then all movement sim remains in update?
The first update always happens before the first fixed_update for me.

I caught shaking with update() on my machine but only in the screen recording mode 😄
update() without screen recording (the most expected result)
https://user-images.githubusercontent.com/4752473/210075607-49bba05a-edde-4212-9f38-4350e2545359.mp4
update() with screen recording (bounces and an unstable pink line are here)
https://user-images.githubusercontent.com/4752473/210076242-86903c09-f49a-401b-ac3b-010437ebb1a8.mp4
fixed_update() with screen recording (luxury bounces from iOS scrollviews)
https://user-images.githubusercontent.com/4752473/210076361-588d82e9-4543-4387-9c63-7ae90765c18f.mp4
I can also confirm that from time to time with fixed_update() I get the same interruptions when moving as you get when jumping. In your video you can see that it happens not only while jumping, but also while walking, it is just less noticeable because of the camera angle.
What do we have at the moment?

Yes, fixed_update() improves the situation, but leads to too different results, according to our videos. With me it's a "smooth in and out" the obstacle, and with you it's still bouncing.
Perhaps fixed_update() only reduces the performance load, allowing the bug to avoid attention.
But you can definitely see that fixed_update() leads to unacceptable glitches in the movement (both you and me have them).
Probably, all this can be solved by refactoring for new realities.

In theory (in desirable theory), any bounces can be solved by refusing to move beforehand. In Unity, as far as I know, there's an option to use ghost-body to pre-check all collisions in a frame without moving objects.
Here we first move the character by input values update(), get a collision message, move the body, get the message again, move it, get the message again, move it again... and the hope is that it all happens before drawing. After that we move the character by input values in update() again and the whole cycle starts the next round.
- on_input() -> update() -> on_message -> handle_contact_point_response -> on_message -> handle_contact_point_response -> ...
- on_input() -> update() -> ...

I'd like to look into it, but I'm still busy with offline questions. The first thing I would do is comment out a lot of forks in handle_contact_point_response to see exactly where the problem occurs. And the second would be to figure out how fixed_update can be useful in this paradigm and what should logically be there.

Well, I also moved all the code from update() to fixed_update() and set to the project settings:

use_fixed_timestep = 1
max_fixed_timesteps = 1

If ignore the bounces not related to physics (while jumping, walkingб etc.), it seems to work.
Regarding the new visual artifacts. I noticed that it happens exactly when update() is called more often than fixed_update(). This is the expected behavior of these functions and I think the visual artifacts happen because the camera position update cycle is performs in the update() (which makes sense) and happens more often than the player body position changes (since it's changing in fixed_update()).
Ideally, player rendering should happen also in update(), but in order to do so I need to separate the player model and his physical body from each other by setting their positions in different runloop functions. Then, theoretically, everything should be fine, they are still working on it.

To be precise, artifacts occur when calls look like this. I don't know if this is normal.

Well, after a little investigation, I realized that this is normal. It is, in fact, a drop in FPS. If update() suddenly gains more than 1/60th of a second, it is followed by more fixed_update() at a time. Accordingly, at one moment the code is executed twice, which does something that should not do twice :D

Recorded two videos where you can watch frame by frame.
https://github.com/astrochili/defold-kinematic-walker/assets/4752473/6442357e-fda1-414e-b67e-3f0d1a5ff7f8
https://github.com/astrochili/defold-kinematic-walker/assets/4752473/5b997979-fd3c-4578-8753-70d597aecaf3

Good to know that this is common problem of using fixedUpdate — https://kinematicsoup.com/news/2016/8/9/rrypp5tkubynjwxhxjzd42s3o034o8

Started experimenting with forced fixed_update_frequency = 10, I'm sure if I get a great result here, I'll get a great result on 60 :) So far, not much progress.

I created a branch fixed-update-migration, which I think solved the problem. I separated the physical body and move it first, to get collision messages, and only then interpolate the visual body.
The first thing that is strange is that with display.update_frequency = 10 and engine.fixed_update_frequency = 60 makes the game 6 times slower. It is not clear whether engine.fixed_update_frequency is an emulation of a lower FPS in this case or everything is ok and we just never need to make display.update_frequency less than engine.fixed_update_frequency.
The second thing is that the tilt detectors, both bottom and top, broke, but that seems to be another consequence of the loop shift, I'm sure it can be handled.

Okay, also fixed slope detection. So now everything works like it worked before fixed_update() I think. Old bugs are old bugs, but no jitter in the walls.
@subsoap @ReanimatorXP Please, when you have time, check the branch https://github.com/astrochili/defold-kinematic-walker/tree/fixed-update-migration. Yes, there are some old bugs in there (sometimes you can get stuck in the top slope with character head or you can get jitter in front of pillar), but they were there before. In the branch, I seem to have solved the jitter problem according this issue.

Confirming no more jitter!

Cool, you did a great job! I also comfirm - no jitter anymore.
There's a thing that I'm not sure what it has to do with.

The character gets stuck when exiting the tunnel (pipe). Here is a video:
https://github.com/astrochili/defold-kinematic-walker/assets/24944063/2a208224-2623-4ff2-86b6-9a14b305f577
From the video you can see how it happens. Make a jump while crouching inside the pipe (or fall down from the very top) and here is a chance to get stuck at the exit. I couldn't reproduce it in the old version (which I remade to use 'fixed_update') nor in the HTML demo.

Other than that, I couldn't find any regressions. So it looks very viable.

@ReanimatorXP Confirmed, this is a new bug. Needs to be fixed.)

The new bug about tube turned out to be an old one, I just changed the length of the sensor from 0.05 to 0.1 in migration branch for some reason. Created https://github.com/astrochili/defold-kinematic-walker/issues/11.
Merged the result of migration to the master, thanks you guys!


"Error: Token renewal operation failed due to timeout"

Built a super simple spfx webpart that uses MSGraphClient, calling /group end-point. I am getting a failure as seen below. Permissions are requested in the package and granted in the SPO Admin Center. Tried both beta/v1.0 end-points as well. Tried with both full end-point URL and .api("Groups") as well.
The issue shows resemblance to already reported issue #1801 however the workaround does not work in my case.

Error: Token renewal operation failed due to timeout
at Array. (sp-pages-assembly_en-us_6b7c467dac13b54cb9ff078c773aa7b5.js:1184)
at Object._callBackMappedToRenewStates.._callBackMappedToRenewStates. (1.sp-http-adal_c2097657830cc37ce4b2.js:3)
at 1.sp-http-adal_c2097657830cc37ce4b2.js:3

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
Graph call to complete properly to give details of an existing Office 365 Group. React-based webpart, bundled, packaged, deployed. API permissions granted in the SPO Admin Center. App added to a site. Client-side webpart added to a modern page. Call is observed with Chrome Dev tools.
Observed Behavior
Call fails with the error observed in the Chrome Dev tools.
Steps to Reproduce
Simple Graph call as below. Both Beta and v1.0 shows the same behavior.
private _readGroupNames(): void {
    console.log ("Retrieving Group names from Graph");
    const requestUrl = "https://graph.microsoft.com/beta/groups?$filter=displayName eq 'Marketing'";
    this.props.context.msGraphClientFactory
      .getClient()
      .then((client: MSGraphClient): void => {
        client
        .api(requestUrl)
        .get((err, res) => {
          if (err) {
            console.error(err);
            return;
          }
          console.log('Response', res);
        });
      });
  }

Hi @alisalih1 if you look at the network trace when running this code, can you see what calls are timing out / failing / etc?

so.. I just tried this in a production environment and it succeeded. Version what I'm testing with is 1.8.2...
I used the PnP Email project (updated to 1.8.2) to test it in my tenant.
I think that if you can reply to questions @patmill  posted above it would be very useful for the investigation

@patmill / @lucabandMSFT  - I can not immediately see a call failure here. Does this screenshot help? If not, I can get a fiddler trace and console logs and send in an email. Please let me know, I emailed Luca already, which I can send the package as well.

@alisalih1
Could you look in your network tab for a request that looks like this ->
https://login.microsoftonline.com/common/oauth2/authorize?response_type=token&client_id={}&resource="resource you're requesting"&redirect_uri={}&state={}&client-request-id={}&x-client-SKU=Js&x-client-Ver=1.0.15&prompt=none
Navigating to this url should indicate what the actual failure is.

Himm. May be it is something on our part... Let me see why the app is disabled or if it is.

Himm.. I will have to look into this a bit more on our side may be..

hey @alisalih1, you said in the message that "I do not see it disabled"... but in the picture you attached it says "is disabled". Can you please clarify?

That's the part I am confused about Luca - In the manifest I see the following. Wouldn't that indicate that it is 'enabled' ?

@lucabandMSFT Sorry for the disturbance. It was in-fact disabled. We are investigating how and why this may have been turned off. Didn't turn on yet but I assume, everything will be OK.

@alisalih1 , glad to hear that. Thanks for the update

I'm also having this problem. I'm having two spfx webpart on one page that are making graph calls. One webpart is working correctly the other is giving this issue. Anyone some suggestions on how to fix


[cordova] use spacedodge instead of gallery

It's fine to pack spacedodge sample app

Impacted tests(approved): new 0, update 10, delete 1
Unit test platform: Crosswalk Project for Android 16.44.406.0
Unit test result summary: pass 10, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/XWALK-5122

@qiuzhong, pls. notice this change.

LGTM


Improve README

Fixes README image
Removes underlines between badges (see https://github.com/huggingface/transformers/pull/31376)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Compiled function token has no original name mapping in produced source map

It appears that produced source map mappings are generated in a quite odd name. The produced function token doesn't have a valid reference to its original name, however, brackets that are part of that scope do, eg:
Foo.prototype={
abc(){...}
// ^     ^
// |     | closing brace of fn body
// | opening paren of argument list
}

Or a more concrete example:
A.Tt.prototype={
$0(){throw A.c(A.c2("Test exception"))},
$S:0}

The A.Tt.prototype.$0 scope can’t be resolved, but columns 3 (open paren), 6 (throw), 16 (the second A), and 39 (closing brace) in the second line refer to the correct name.
We worked around this in our processing pipeline here https://github.com/getsentry/symbolic/pull/786 but would be great to understand how is this exactly produced, how should we interpret this, and potentially fix (if one applies) this in future releases.
I was asked to do so, thus cc: @sigmundch

@kamilogorek we can look at their own symbolicator source code:
source_map_stack_trace
source_maps
stack_trace
But let's wait for the Dart team to follow up since we already have a workaround.

Thanks for reaching out!
I'm curious to learn more about what does your symbolication service provides and whether it matches how we produce source-maps.
Our encoding of source-map was tailored for two use cases: local debugging and deobfuscation of production stack traces. Years ago we had a lot of symbol information that was never in use and we started noticing the tax (e.g. memory utilization on deobfuscation servers). As a result, today we use a frugal approach and only include symbol information if it supports known scenarios.

debugging: our goal was to include data to assist debugging on modern browsers with source maps. For this we tracked down precisely where browsers allow you to set breakpoints, and ensure those positions had a source-mapping associated with it. Debuggers were not using the original name almost entirely, so this use case didn't require that we add much in terms of original names.

deobfuscation: our goal was to add data to deobfuscate error messages and stack traces produced in production. Here we do use a lot of symbol information. That said, standard source-maps were not sufficient. We designed custom extensions to fill the gap. This includes:

minified name data - used to convert names of static and instance members that appear in error messages, where no location context is available
inlinind data - used to expand one JavaScript frame into many Dart frames whenever our compiler inlines method calls.

We hope that one day source-maps will consider incorporating some of these extensions in the future into the standard, but that will take time. This is being tracked in https://github.com/source-map/source-map-rfc/issues/40
In terms of code - note that the links shared by @marandaneto are packages that make use of regular source-maps without our custom extensions. I'd recommend also looking at the dart2js deobfuscator. You'll see the use of the minified data where we translate error messages, and the use of the inline data in the logic mapping stack traces.
To address the specific question about the ( containing the mapping: there is a step in the deobfuscator that looks for the enclosing function to figure out the name. Long ago, dart2js used to produce ES5 code which contained the function keyword. We used this to identify the enclosing function and put the mapping to the original name there. Once we started emitting ES6 code, we decided to use the open parenthesis as the unique position where we located the start of the function. Our deobfuscator is tailored to find this position as well (see sourcemap_helper#L38).


Bash on Windows (MINGW): the configured kubeconfig directory "C" does not exist

TLDR: Using Windows with Bash (e.g. git-bash from Git For Windows) + Windows version of kubeswitch results in
user@HOST MINGW64 /c/Users/user
$ s
switched to context dev-cluster

$ s
Error: the configured kubeconfig directory "C" does not exist
the configured kubeconfig directory "C" does not exist

$ s --debug
time="2024-10-17T12:40:16+03:00" level=debug msg="Adding kubeconfig path from KUBECONFIG env C:\\Users\\user/.kube/.switch_tmp\\config.2558873022.tmp"
time="2024-10-17T12:40:17+03:00" level=debug msg="Starting search for store: filesystem" store=filesystem
Error: the configured kubeconfig directory "C" does not exist
the configured kubeconfig directory "C" does not exist

$ echo $KUBECONFIG
KUBECONFIG=C:\Users\user/.kube/.switch_tmp\config.705829183.tmp

! Notice mixed Windows and Linux style paths:
This stems from the fact, that binary and shell do work together: https://github.com/danielfoehrKn/kubeswitch/blob/master/docs/how_it_works.md

The switcher binary writes the filepath to the kubeconfig to STDOUT
The switch.sh script captures this filepath and executes export KUBECONFIG=</path/to/tmp/kubeconfig/file>

HOWEVER, convertion of KUBECONFIG to NEITHER Unix or Bash format works:
# trying UNIX path format
$ unset KUBECONFIG && s
switched to context dev-cluster
$ export KUBECONFIG=$(echo "$KUBECONFIG" | sed -e "s|^C:\\\\|/c/|" -e "s|\\\\|/|g") # same can be achieved by `cygpath -u $KUBECONFIG`, provided by https://www.msys2.org/docs/filesystem-paths/
$ echo $KUBECONFIG && s --debug
/c/Users/user/.kube/.switch_tmp/config.2988942920.tmp

time="2024-10-17T13:40:19+03:00" level=debug msg="Adding kubeconfig path from KUBECONFIG env C:/Users/user/.kube/.switch_tmp/config.2988942920.tmp"
time="2024-10-17T13:40:20+03:00" level=debug msg="Starting search for store: filesystem" store=filesystem
Error: the configured kubeconfig directory "C" does not exist
the configured kubeconfig directory "C" does not exist

# and if we try WINDOWS path format:
$ export KUBECONFIG=$(cygpath -w $KUBECONFIG) && echo $KUBECONFIG && switch --debug
C:\Users\user\.kube\.switch_tmp\config.78735667.tmp

time="2024-10-17T14:01:09+03:00" level=debug msg="Adding kubeconfig path from KUBECONFIG env C:\\Users\\user\\.kube\\.switch_tmp\\config.78735667.tmp"
time="2024-10-17T14:01:10+03:00" level=debug msg="Starting search for store: filesystem" store=filesystem
Error: the configured kubeconfig directory "C" does not exist
the configured kubeconfig directory "C" does not exist

# Using binary directly does not help, same error:
$  switcher --debug
...
the configured kubeconfig directory "C" does not exist

Workaround:
unset KUBECONFIG before running switcher (we loose current context, bad)
Environment:

Version used 0.9.1
file shows: switcher.exe: PE32+ executable (console) x86-64, for MS Windows, 8 sections

How to repeat

Install Git For Windows (https://gitforwindows.org) or get it automatically, if you have https://scoop.sh installed
Download Windows binary of kubeswitch: https://github.com/danielfoehrKn/kubeswitch/releases/
Get into bash.exe
Do Bash installation steps were used from documentation

P.S.:
Configuration uses ~ and it works fine, shows up in selection
- kind: filesystem
  kubeconfigName: "*.config"
  paths:
    - ~/.kube/configs-FOO/
- kind: filesystem
  kubeconfigName: "*.config"
  paths:
    - ~/.kube/configs-BAR/

Update! I have installed same binary in Powershell, and noted, that
PS Write-Output $env:KUBECONFIG
/Users/user/.kube/.switch_tmp/config.3246108154.tmp

is without /c or C:\
Also, from original comment you can see, that Windows binary translates path to Windows format on it's own, always.
I see related issue https://github.com/danielfoehrKn/kubeswitch/issues/131
So let's try another workaround, removing disk C
# try with UNIX style path
unset KUBECONFIG
switch # switched to context dev-cluster
export KUBECONFIG=$(cygpath -u "$KUBECONFIG" | sed 's|/c||')
echo $KUBECONFIG
switch --debug

time="2024-10-17T14:41:24+03:00" level=debug msg="Adding kubeconfig path from KUBECONFIG env C:/scoop/apps/git/2.46.0/Users/user/.kube/.switch_tmp/config.2390096444.tmp"
time="2024-10-17T14:41:24+03:00" level=debug msg="Starting search for store: filesystem" store=filesystem
Error: the configured kubeconfig directory "C" does not exist
time="2024-10-17T14:41:24+03:00" level=debug msg="Starting search for store: filesystem" store=filesystem
the configured kubeconfig directory "C" does not exist

Wow, Switcher binary constructs KUBECONFIG path from path to bash.exe  + KUBECONFIG without disk
# try with Windows style path
unset KUBECONFIG
switch # switched to context dev-cluster
export KUBECONFIG=$(cygpath -w "$KUBECONFIG" | sed 's|C:||')
echo $KUBECONFIG
switch --debug

And that finally works!
Workaround that works
s() {
    switch "$@" && export KUBECONFIG=$(cygpath -w "$KUBECONFIG" | sed 's|C:||')
    # cygpath used by MINGW https://www.msys2.org/docs/filesystem-paths/
}

I wonder, WHY disk is removed from path? this is so awkward and unexpected. Is it attempt to make it portable?
Cam we change the logic, so it works seemlessly, without breaking?


Add the possibility to put more weight to EOS (except classif)

Hello @EmmaRenauld! Thanks for opening this PR.

In the file dwi_ml/models/direction_getter_models.py:

Line 203:80: E501 line too long (80 > 79 characters)

In the file dwi_ml/models/utils/direction_getters.py:

Line 68:80: E501 line too long (80 > 79 characters)

Do see the PEP 8 -- Style Guide for Python Code


real robot stand-up steps

Hi all,
Trying to standup my robot (not a unitree one),
1/ run the robot hardware : roslaunch legged_unitree_hw legged_unitree_hw.launch
* calibration, and initialization
2/ run the controller          : roslaunch legged_controllers load_controller.launch
* loads shared libs
3/ run the legged_controller :
rosservice call /controller_manager/switch_controller "start_controllers: ['controllers/legged_controller']
stop_controllers: ['']
strictness: 0
start_asap: false
timeout: 0.0"

In this step, legs are moving, and shaking !!
question1 / Do legs want to reach initial pose ? Where to modify the pose ?
question2 / The robot shouldn't move, until I send the rostopic pub -1 /cmd_vel..., correct ?

Legs shouldn't move before the cmd_vel command. (for legs extention)
why do they move?
Params in reference and task info are for robot up.
could it be a Urdf bad value?

urdf ok ! same problem :
here is my rviz topics :

Small up, friends ?

UP please

solved, problem of unsigned fftorque !


DATA-6181: PDP dropin initializer configuration

This pull request (PR) adds a new topic that describes the initializer configuration options for the PDP dropin.
It also provides a detailed use case for setting default options on complex products using models and initialData as scoped in DATA-6181.
It does not provide detailed use cases for any other configuration options, but if a reviewer wants to suggest them, I'm happy to include 😃. I don't think it should block this PR though.

[!NOTE]
This topic deviates from the dropin_Initialization.mdx template a little. I didn't understand how to include a "big picture" diagram. I also thought that replacing the "step-by-step" section with an actual use case made more sense. My assumption is that we can add new H2 sections for additional use cases in the future if necessary.

I'm wondering if we should move this to the PDP functions page instead.


Image + Text support

A user should have the ability to select a local photo, and insert a text prompt, and ask the multimodal model about it.

[ ] Add support for Ollama multimodal input
[ ] Insert file import option
[ ] Show the photo imported to the user above the text prompt field
[ ] Show the image and the text prompt in the chat bubble of the user.

This would be spectacular. bakllava is a great little model.


[5.4] Fix potential crash in repository cache fallback

5.4 cherry-pick of https://github.com/apple/swift-package-manager/pull/3221, plus the change from https://github.com/apple/swift-tools-support-core/pull/186 inlined here to decrease the surface area of that change.

@swift-ci please test

@swift-ci please test


Support importing of Makefiles (as opposed to extending)

Features Description
This feature allows you to "import" another Makefile and depend on its tasks without extending it.
Describe the solution you'd like
Importing a makefile as opposed to extending it would allow depending on its tasks while still treating it as a seperate makefile. This is important for relative paths which break upon extending from a master makefile.
Makefiles would be imported under a given name in the imports table and it's (exported) tasks are then prefixed accordingly with the chosen name. (See example below)
Tasks should still be deduplicated across imported makefiles. E.g. in a diamond pattern of makefiles (A -> B -> D and A -> C -> D), a task in makefile D is only invoked once even if a task of B and one of C depend on it.
Tasks should also have a new boolean key "exported" (true by default) similar to "private" which controls whether the task is visible to importing makefiles.
Code Sample
[imports]
mybootloader = {path = "bootloader/Makefile.toml"}
mykernel = {path = "kernel/Makefile.toml"}

[tasks.make-all]
dependencies = [
    "build",
    "mybootloader.build",
    "mykernel.build"
]

thanks for the feedback. i'm wondering what cargo-make provides now that can solve this and what needs development to help out making it simpler.
so... in your case, you could extend some other makefile and use/depend on the tasks there, but you are saying that relative paths are getting messed up as they are based on the current working directory and not makefile location.
so extended makefile having tasks with relative paths doesn't really know where its executed from.
to solve that, you have the possibility to define the current working directory on the task level and use cargo-make provided env vars and do relative paths from there.
for example:
[tasks.mybootloader-build]
cwd = "${CARGO_MAKE_WORKING_DIRECTORY}/somedir"
# or in case of a workspace you might want to use the workspace root as the root path:
# cwd = "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/somedir"
command = "..."

I'm not entirely familiar with your use case so i'm wondering if this solves the issue for you?
or maybe we need to develop something to make it simpler?

This works from the master makefile but it's a sub optimal solution as this breaks when using the nested makefiles directly. Eventhough there probably is a functional solution in this case, having to "work around" the limitations isn't very intuitive or enjoyable.
I believe my approach as outlined above adds a necessary primitive that has many more uses than my specific problems. If you think about it, extending and importing are two conceptually distinct operations that both have their use cases.

I just want to understand the problem better before i change 30 files and we end up with same issue.
In this case, even import thing won't help you as commands are executed from current working directory. meaning relative paths are relative to working directory and not to makefile location.
With imports it would stay the same as tasks do not have the meta data of where they were defined. If for example I would add it, what would happen if a task was defined in 1 toml and then extended and modified in another which is in a different location? That would make the whole thing very complex to users to understand (and i assume imported tomls can also extend other tomls).
Therefore i'm trying to see what the best solution for your issue is, before jumping on the first one.
So in your case, you have a workspace, and sometimes you invoke it from workspace level and sometimes you invoke from module level.
And in both cases, you import some common makefile and invoke the tasks that are defined in that toml.
That common makefile has a task that invokes a command/script using relative paths and that they are relative to that common makefile.
(i hope i got your use case correct, an example would really help me).
So there are options today to resolve that, and they might be simple enough.
if they are not, lets see if we can come up with a simple solution (import as is, would result in same directory issue as tasks are using working dir not makefile dir).
option 1 - define new env var in makefiles and use in common as cwd
So you could have in workspace level and module level makefiles, in the env block a definition of that common working directory,
[env]
COMMON_WORKING_DIRECTORY="../../mydir"

naturally the value will be based on the module/workspace makefile you are editing.
In the common makefile you can have the cwd attribute using that env var defined in the caller makefile
[tasks.mybootloader-build]
cwd = "${COMMON_WORKING_DIRECTORY}"
# optionally you can define a condition to ensure that the env is set
condition = { env_set = [ "COMMON_WORKING_DIRECTORY" ] }
command = "..."

option 2 - wrap common task with local task with cwd
you can do the same trick by having some local task change the cwd and then call the common task with run_task.
the cwd would affect the common task as well
# module specific makefile
[tasks.mybootloader-build-wrapper]
cwd = "../../common"
run_task = "mybootloader-build"

and in common makefile you don't have to do anything at all.
I'm sure you won't have to do this for every task, only for the specific problematic task that has relative paths messed up.
If i had some examples i could understand more.

Thanks for the answer!
That makefiles store metadata about where they are defined is pretty much the core of my idea. Instead of loading the different tomls and putting it all into one datastructure an imported makefile is it's own datastructure (which again could import or extend other makefiles). The only thing that connects them in the code is a reference from the importer to the importee.
All relative paths should be relative to the declaring makefile, too.
What this solves is the problem of nested projects which I think is a fairly common use case.
The solutions you provided may work (I couldn't actually get it to work, though) but they seem more like a workaround to me

What if we store the file and directory that originally defined the task (ignoring the fact that it might be updated by extending files), then allowing you to do something like this:
[tasks.sometask]
cwd = { type = 'makefile' }

which you can set in specific tasks that need it in your common makefile.
you would still extend not import that file but it could give you the cwd dynamically without modifying every extending makefile.
would that solve it?
i'm against importing as it brings in a lot of complexity and confusion.
for example, if i import a makefile, do i have to load it right at the start? if it has an env block would it be loaded at the start? but what if i'm not using any of the tasks it holds?
that's just one example.

I agree that import functionality would be kind complex to implement. Your idea seems like a good compromise. Having the cwd type as makefile (i.e. use the cwd of the declaring makefile) should be the default in my opinion (just like declaring an env var uses the cwd of the declaring makefile) but I guess that would break backwards compatibility

@coffeenotfound just pushed a commit to the 0.24.1 development branch.
At the end, I decided to provide 3 new env vars that will be set at the start of every task invocation:

CARGO_MAKE_CURRENT_TASK_NAME - Holds the currently executed task name.
CARGO_MAKE_CURRENT_TASK_INITIAL_MAKEFILE - Holds the full path to the makefile which initially defined the currently executed task (not available for internal core tasks).
CARGO_MAKE_CURRENT_TASK_INITIAL_MAKEFILE_DIRECTORY - Holds the full path to the directory containing the makefile which initially defined the currently executed task (not available for internal core tasks).

This means, that in your common makefile, you can do the following:
[tasks.sometask]
cwd = "${CARGO_MAKE_CURRENT_TASK_INITIAL_MAKEFILE_DIRECTORY}"

Please try it out and tell me if it solves your issue.

This is now officially release so i'm closing this issue.

This does solve my issue! Thanks for the quick implementation!


Add singlethreaded (compiler-only) fences.

Rendered.

This seems pretty useful, +1.

Agreed.

alternatives: using black_box instead. parameters to black_box are not moved after results of black_box. allows fine-grain fences.

Why does the llvm reference say 'this is useful for interacting with signal handlers'? Reading the docs for atomic_signal_fence does not enlighten.

My understanding is that signals preempt the thread or process receiving them, meaning they will execute on the same physical thread. Because there's no hardware context switch, memory reordering is not a concern since operations always appear to happen in program order within a single thread's context.
If code interacts with signal handlers via memory, compiler reordering of memory operations may change the order of operations as seen by the signal handler (which the compiler is not aware of), potentially violating program-maintained invariants.

Neglected to mention it elsewhere; this RFC comes from Rust PR #22358, which includes an implementation.

Accepted. Tracking bug https://github.com/rust-lang/rust/issues/24118. Sorry for the long delays.


CpuPool does not schedule futures fairly for execution

CpuPool will immediately re-poll futures that were notified during poll. This means that futures that are under load (handling a queue) are unable to yield and will starve other futures.
https://github.com/alexcrichton/futures-rs/blob/master/src/task_impl/std/mod.rs#L452

Thanks for the report, I'll try to fix this soon.

Note: a similar issue applies to LocalPool::run_until.


Fix STM32 Monotonic for peripherals with only two Clock Compare modules

Fixes #956.
Replaces #958.
Rationale: Some timer peripherals seem to have only two clock compare modules. Therefore the half period interrupt does not fire and the monotonic sanity check triggers.
Solution: Use CC1 instead of CC3. This was more or less a typo anyway; we originally intended to use CC1 and CC2, we just ended up using CC2 and CC3 because we didn't realize that the enumeration starts with 0.
Review: @korken89

Seems to still run fine on my stm32g030, indicating that the CC indices indeed start at 0.

I can confirm it works, thanks for your help.

Thanks for the fix!

Might want to yank the previous two releases if such a serious bug existed.


Update lifecycle-management-overview.md

There should be an extra '/' at end of the prefix match. If not then in case there is a blob name blob1abc inside the container sample-container1  then even that will get picked up by the policy as the prefix match is for sample-container/blob1.  Hence, proposing the changes for review
I tried proposing this under below PR as well however the example now seem to have changed (file name) but still not correct
https://github.com/MicrosoftDocs/azure-docs/pull/73290

@Amrinder-Singh29 - I've incorporated your suggested change into this PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/225022
The prefixMatch is meant for pattern matching, so I needed to add more explanation around when to include the delimiter character (/).
Closing out this old PR.
#please-close


cpggen errors out on windows, but displays a successful submission message in the end.

Executed the cpggen for windows. Errors out with proper messages, but shows a successful scan and submission towards the end.
[WinError  1314WinError 1314[]1314]WinError  A required privilege is not held by the client: ] A required privilege is not held by the client:
.
.
INFO     Error: Unable to access jarfile /usr/local/bin/java2cpg.jar
.
.
       INFO     shiftleft-java-demo-java uploaded successfully

Complete logs attached
cpggen-error-log.docx

@nishfath could you kindly retest with the latest cpggen for windows?


css snippet: prefers-color-scheme: dark

The prefers-color-scheme CSS media feature is used to detect if the user has requested a light or dark color theme.
The user might indicate this preference through an operating system setting (e.g. light or dark mode) or a user agent setting.
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
@media (prefers-color-scheme: dark) {}

I would love to start working on this issue.


Grabbag of small fixes

Solves  JENKINS-33498 by CSS changes + adding class to the fullscreen view main-panel.
Solves JENKINS-33351 by using relativePath when too many artifacts are set to generate displayPaths (API fix).
Solve JENKINS-33714 - Correctly calculate the prefixes for data size

@reviewbybees

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

:bee:

🐜  Easier one PR per Jira issue.

@svanoort You should wait to https://github.com/jenkinsci/jenkins/pull/2253

@recena I'd be happy to modify this to take that up, once most users are on a core LTS containing that.  However, that will not be true for months at least.  Do you have a proposal that does not require blocking this PR for months?


Minor change in Tuple's toString() method

Corrects the class name in the toString() method of the Tuple class

LGTM.


TLS certificate support

Hi,
I wasn't completely sure that this project was still active, but recent activity on #28 suggests that's not necessarily true.  I'm working on SSL/TLS support in my own fork (with support for anonymous encryption with self-signed certs).  Would that be a welcome addition as a PR here?  I believe encryption adds a bit of overhead to the bandwidth consumption, so I wanted the stress testing done with that turned on (since it will be in production for my needs).
I'm not tackling client certs since that's not part of my use-case, but it should presumably be straightforward to make the addition if someone wanted it.
Thanks.

I'm not actively using it myself anymore/rightnow, but I'll do my best to merge things.  There's already support for TLS-PSK, but I hadn't needed cert based stuff, I'm sure someone would find it useful :)  In general, SSL is virtually zero overhead until your packet sizes get "large"  as the main cost is only at connection time.

+1 for @swails 's suggestion. I am personally working on TLS and self-signed --cafile based mosquitto server. So, I feel that would be a great addition to test my service.

Please see my earlier comment. I'm sure it would be a useful addition, and I' try and merge any PR that adds this.  However, I'm not working on it myself.

Hi there
Is SSL/TLS support available now?
How to access and use it?
Thanks

Please read the earlier comments.

As per the previous comments, it does not talk about how to use this tool with TLS.
Can you please carify

As mentioned, every time, https://github.com/etactica/mqtt-malaria/issues/29#issuecomment-214262882  there is no support for certificate based authentication.  A Pull request would be reviewed.  TLS-PSK is supported.  I've locked this because, as before, I'm not working on this, and saying the same thing every time is tedious.


KeyError: 'masks'

when i try to evaluate on raw images, i got this error.
Traceback (most recent call last):
File "tools/eval.py", line 117, in
vars(opt))
File "/home/bg/BG/self-critical.pytorch/captioning/utils/eval_utils.py", line 161, in eval_split
tmp = [data['fc_feats'], data['att_feats'], data['labels'], data['masks'], data['att_masks']]
KeyError: 'masks'
how do i fix it?

Try replaceing https://github.com/ruotianluo/self-critical.pytorch/blob/master/captioning/data/dataloaderraw.py#L129g
with
        data['labels'] = None
        data['masks'] = None

thank you!
but i have something error.
Traceback (most recent call last):
File "tools/eval.py", line 74, in
lang_stats = eval_utils.language_eval(opt.input_json, predictions, n_predictions, vars(opt), opt.split)
File "/home/bg/BG/self-critical.pytorch/captioning/utils/eval_utils.py", line 83, in language_eval
mean_perplexity = sum([_['perplexity'] for _ in preds_filt]) / len(preds_filt)
ZeroDivisionError: division by zero

Set language_eval to 0 in arguments.

i did , but it doesn't work

Then delete these for now.

thank you!
but i have something error.
Traceback (most recent call last):
File "tools/eval.py", line 74, in
lang_stats = eval_utils.language_eval(opt.input_json, predictions, n_predictions, vars(opt), opt.split)
File "/home/bg/BG/self-critical.pytorch/captioning/utils/eval_utils.py", line 83, in language_eval
mean_perplexity = sum([_['perplexity'] for _ in preds_filt]) / len(preds_filt)
ZeroDivisionError: division by zero

I delete the previous result file (.pth) in eval_results folders and problem solved, as described in his comment:
if results existed, then skip, unless force is on
Since some bugs happened when existing result file, you could also comment from line 61 to line 76, or using try......except: pass to ignore this part :)


Create Flipper#Api

Sets up Flipper#Api module
version namespaced
moves action_collection out of UI namespace and into flipper since imho abstract enough

api gemspec
api middleware
api action
api boolean gate
api boolean gate spec

creates Flipper::Api::App so that can return status code other than 200 when action class is not found for requested URI.
Only thing I'm not sure about is what to do about decorators.  UI::Feature / UI::Gate have the logic we need and nothing really extra.  We could copy/paste those and namespace under API::V1, but feels crappy doing that, at same time don't want to rely too much on them since their logic could change.  With that said the logic is pretty minimal and mostly display logic.  Thinking of making a base class Decorators::Feature / Decorators::Gate and then Api versions could inherit and just override the as_json method and UI::Decorators::Feature/Gate could just not override and let that base decorator respond?  Interested in others opinions?
Once decide on this can finish api#boolean_gate spec, which will probably just respond w/ the serialized feature

We could copy/paste those and namespace under API::V1, but feels crappy doing that, at same time don't want to rely too much on them since their logic could change.

Duplicate away! I'm totally fine with duplication like this. We can always extract common parts down the road. Duplication is easy to get rid of, sharing things and ensuring that we always want to share and know all the interactions of that sharing is harder. I usually duplicate at least two times before I extract. I am totally fine with a wholesale copy paste of anything you need from the UI gem.

Just ping me again whenever you are ready or if you lose interest for any reason (so I can pick it up).

@jnunemaker sounds good, will ping you, just got to work but will finish this initial PR tonight, and then get /feature & /features done  this weekend or tonight depending how much coffee I have today

@jnunemaker I think its in a pretty good spot for the initial api setup and boolean_gate.  Let me know what you think.  Was thinking we could break up feature and features into a new PR as well as the rest of the endpoints and documentation

Works for me. Merged.

refs #62


Add common intro to exporter pages

This PR standardizes the intro of exporter pages across languages.
I added a section of "why you should use OTLP" copied from the design goals of the OTLP spec.
For languages with automatic instrumentation I added a note that points to the specific configuration.
The same snippet is used on Concepts > Components > Exporters
Preview:

Concepts > Components
C++
.NET
Erlang/Elixir
Go
Java
JavaScript
PHP
Python
Ruby
Rust
(Swift does not have an exporters page yet)

@svrnm I think this looks good to me, so feel free to either merge or address the last little thing in there

@svrnm I think this looks good to me, so feel free to either merge or address the last little thing in there

TY. I am going to address https://github.com/open-telemetry/opentelemetry.io/pull/3276#discussion_r1327516395 and then we should be good to merge.


[Release Enhancement] GHA Workflows to Update Versions Automatically

It would be nice to have an automated process that listens for a new tag to be pushed to the dapr/kit repo && dapr/components-contrib && dapr/dapr that updates the go.mod version accordingly so we are always up to date on changes and can automate our release candidate testing. This should be automated to minimize the manual steps in the release process.
I propose adding a GitHub Action Workflow to dapr/cli that listens for a new tag on the dapr/kit repo && dapr/components-contrib && dapr/dapr and auto creates a Pull Request that updates that line in the go.mod file and other relevant changes (go.sum) as a result of go mod tidy. As well as updates the version in the e2e tests & other relevant tests.

Automating here for listening for dapr/dapr tag pushes are going to be a bit tricky ... As from prior PRs, it always involves some change to be done in terms of logs that we look at or methods that we use etc.
But for this case, can we look into automating a PR for changing the upgrade_test.go testing the upgrade path specifically for any new RCs of dapr.
Essentially update the upgrade path tests with the relevant information of the previous stable and current RC minor/patch versions. And then create a PR for the same.


Custom Shadow Color for Components

Description
It will be nice to have not a globally defined shadow style but customizable one for difference components and different situations.
Images & references
For example in my case I'd like a different shadow color for different kind of informative messages wrapped in a Paper component: red for important information and green for just some not that important information. Here is a screenshot of desired state:

The shadows are generated thanks to that file shadows.js. Material-UI expose enough customization power to achieve what you are describing.
You might like that thread https://github.com/callemall/material-ui/issues/6130#issuecomment-312686660.


New JsRT API to parse script as library (internal) code. Scripts marked as libraryCode are internal and hidden from debugger

This API can be used to hide host code written in JavaScript

Hi @agarwal-sandeep, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Sandeep Agarwal). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@liminzhu @Yongqu
Limin and Yong please take a look

LGTM


Added css tag to add fade to images with links. - Issue #19

Images with links in .md did fade over hover.
Verified instances working:
http://numenta.com/blog/2016/03/30/numenta-at-computational-and-systems-neuroscience-conference/
http://numenta.com/blog/2016/02/11/numenta-anomaly-benchmark-contest-ieee-wcci-2016/
Original issue #19

👍 awesome thanks!


Feature Request: Option to insert link to newly created note when created

Can you explain what link do you mean? By default, link of parsed content is on the top of the note. If you want to insert your custom static link you can add it to templates in plugin settings.


SCB-346 Create the distribution kit for Saga

Created src and binary release for Saga kit (with different LICENSE and NOTICE files)
Added the alpha server binary exec jar  into the release kit

Coverage increased (+0.1%) to 95.485% when pulling 7baa7849de309d534342db7a7bd72d788991b5b9 on SCB-346 into f33c41aae8df874025028a1b2929c1167c2ad156 on master.


where to track the [consensus affecting features activation] ?

in your release v0.7.0, it said following:

Once consensus affecting features are enabled, this version is no longer compatible with previous versions and an upgrade is required.

is there a list for tracking what are consensus affecting features and when would them be activated on bitcoin network? as ppl might have trouble to decide when to do a mandatory upgrade for such important version migration.

Thanks @dexX7
https://www.omniexplorer.info/activations


Dashboard UI is not reachable after etcd service was upgraded.

Rancher Versions: v1.5.5
Steps to reproduce the problem:
Create K8s env with 3 hosts.
Change "library" catalog to point to https://github.com/llparse/rancher-catalog:fix-etcd-timeout
Upgrade etcd service.
Once etcd service was upgraded successfully , tried to launch Dashboard UI.
Dashboard UI is not reachable .
@LLParse @leodotcloud found the following when investigating the setup that had this issue:

The container got terminated somehow, it received a signal to terminate. Maybe Rancher sent this signal? I don't know.
Container was recreated by the pod
Container was recreated by Rancher, and Rancher assigned the container an ipsec IP address
So there are now 2 containers that are part of the pod, and one of them has a broken network (edited)

The dashboard container has IP <IP_ADDRESS> displayed for the container, but the pod's IP is <IP_ADDRESS>. If I talk to dashboard with the pod IP, it works. Rancher router is trying the other IP

root@san155k8s1:~# docker ps --no-trunc | grep dashboard
bd828fc3f29a2952654ce98e9958da3ac5568979ad51ee5ef329a89c2c681738   gcr.io/google_containers/kubernetes-dashboard-amd64:v1.5.0   "/dashboard --port=9090"                                                                                2 hours ago         Up 2 hours                              k8s_kubernetes-dashboard.d5adcf2b_kubernetes-dashboard-2492700511-vd5nj_kube-system_214316bf-2529-11e7-a391-021ae5dab523_77fa79fc
0749fa14f62d7f5422005b730a831b1f9c4080b434d7e66f7c56528a4fe54c2e   gcr.io/google_containers/pause-amd64:3.0                     "/pause"                                                                                2 hours ago         Up 2 hours                              k8s_POD.d8dbe16c_kubernetes-dashboard-2492700511-vd5nj_kube-system_214316bf-2529-11e7-a391-021ae5dab523_5a59886e
9b5ace040c09d343a280de55c831c719f3cf12cb0c2af83cc2402e8e55ff5979   gcr.io/google_containers/pause-amd64:3.0                     "/pause"                                                                                2 hours ago         Up 22 minutes                           k8s_POD.d8dbe16c_kubernetes-dashboard-2492700511-vd5nj_kube-system_214316bf-2529-11e7-a391-021ae5dab523_7d510b83
root@san155k8s1:~#

root@san155k8s1:~# ip netns list
9b5ace040c09d343a280de55c831c719f3cf12cb0c2af83cc2402e8e55ff5979
0749fa14f62d7f5422005b730a831b1f9c4080b434d7e66f7c56528a4fe54c2e (id: 5)
bd828fc3f29a2952654ce98e9958da3ac5568979ad51ee5ef329a89c2c681738 (id: 5)
root@san155k8s1:~# ip netns exec 9b5ace040c09d343a280de55c831c719f3cf12cb0c2af83cc2402e8e55ff5979 ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
root@san155k8s1:~# ip netns exec 0749fa14f62d7f5422005b730a831b1f9c4080b434d7e66f7c56528a4fe54c2e ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth0@if17: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1402 qdisc noqueue state UP group default
    link/ether 02:1a:e5:b0:4a:63 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/16 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::2885:bdff:fe29:f6ab/64 scope link tentative dadfailed
       valid_lft forever preferred_lft forever
root@san155k8s1:~# ip netns exec bd828fc3f29a2952654ce98e9958da3ac5568979ad51ee5ef329a89c2c681738 ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth0@if17: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1402 qdisc noqueue state UP group default
    link/ether 02:1a:e5:b0:4a:63 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/16 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::2885:bdff:fe29:f6ab/64 scope link tentative dadfailed
       valid_lft forever preferred_lft forever
root@san155k8s1:~#

Not sure why k8s decided to start a new POD when things were fine.
root@1a373355b7af:/# ping kubernetes-dashboard.kube-system.svc.cluster.local
PING kubernetes-dashboard.kube-system.svc.cluster.local (<IP_ADDRESS>) 56(84) bytes of data.

root@1a373355b7af:/# curl <IP_ADDRESS>/latest/services/kubernetes-dashboard/containers/0/primary_ip
<IP_ADDRESS>

Rancher picked up the IP address assigned to the new POD container and updated the metadata. But the actual dashboard container was not moved/migrated to this new POD container by k8s. Due to this the UI is not loading.


Release v7 dual version support

Description
Adds dual version support for Polymesh chain v6 and v7
Notably Polymesh v7 introduces a unique asset ID that is to be used as the primary reference to a value. Asset IDs are 16 bytes that are normally formatted as a UUID e.g. 3616b82e-8e10-80ae-dc95-2ea28b9db8b3.
Breaking Changes

JIRA Link

Checklist

[ ] Updated the Readme.md (if required) ?

/fast-forward

:tada: This PR is included in version 26.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Need a CI cron job and backup strategy

[ ] We should have a cron job that runs tests regularly
[ ] cron job should include a backup strategy

Any relevant advice welcome @davidwilby !

Take a look at https://hub.docker.com/r/databack/mysql-backup
I haven't used this myself but I have used a postgres alternative https://hub.docker.com/r/prodrigestivill/postgres-backup-local

Thanks @davidwilby
Actually looks like we can set this up relatively easily on pythonanywhere: https://help.pythonanywhere.com/pages/MySQLBackupRestore/
So, we need a Cron job on GitHub to test the code and a scheduled task on pythonanywhere to manage backups?

Question: will we be notified if the site is down or do we need to set something up for that? (separate to GitHub CI?)
Question: Do we want to backup to local TUoS storage too?

Need to set up when or before database goes into production.

Backup setup on pythonanywhere. However it currently just overwrites the previous backup. A script that retains the last x versions of the database would probably be preferrable


Does not work with rails 5

Since the gem is using a pessimistic version constraint for ActiveRecord, this gem doesn't work with Rails 5.
Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    active_record-acts_as was resolved to 1.0.0, which depends on
      activerecord (~> 4.1.2)

    rails (< 5.1, >= 5.0.0.rc1) was resolved to 5.0.0.rc1, which depends on
      activerecord (= 5.0.0.rc1)

+1

+1

+1

@SirNerdBear If you fix the version constraint, does everything else work as expected in a Rails 5 app?

+1

+1

Forked and removed the <5 dependency. Here is the output:
/Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation.rb:18:in `<class:Relation>': uninitialized constant ActiveRecord::Relation::QueryMethods (NameError)
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation.rb:5:in `<module:ActiveRecord>'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation.rb:3:in `<top (required)>'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation/from_clause.rb:2:in `<module:ActiveRecord>'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation/from_clause.rb:1:in `<top (required)>'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/activerecord-5.0.0/lib/active_record/relation/query_methods.rb:1:in `<top (required)>'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/bundler/gems/active_record-acts_as-cc9b2e706a3c/lib/active_record/acts_as/querying.rb:3:in `<module:ActiveRecord>'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/bundler/gems/active_record-acts_as-cc9b2e706a3c/lib/active_record/acts_as/querying.rb:2:in `<top (required)>'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/bundler/gems/active_record-acts_as-cc9b2e706a3c/lib/active_record/acts_as.rb:8:in `<top (required)>'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/bundler-1.12.5/lib/bundler/runtime.rb:100:in `require'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/bundler-1.12.5/lib/bundler/runtime.rb:100:in `rescue in block in require'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/bundler-1.12.5/lib/bundler/runtime.rb:77:in `block in require'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/bundler-1.12.5/lib/bundler/runtime.rb:70:in `each'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/bundler-1.12.5/lib/bundler/runtime.rb:70:in `require'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/bundler-1.12.5/lib/bundler.rb:102:in `require'
	from /Users/nicklandgrebe/dev/humanityrising/config/application.rb:7:in `<top (required)>'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:156:in `require'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:156:in `require_application_and_environment!'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:143:in `generate_or_destroy'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:60:in `generate'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
	from /Users/nicklandgrebe/.rvm/gems/ruby-2.2.2/gems/railties-5.0.0/lib/rails/commands.rb:18:in `<top (required)>'
	from bin/rails:8:in `require'
	from bin/rails:8:in `<main>'

Appears that active_record/acts_as/querying.rb does something to the autoloading of QueryMethods in ActiveRecord::Relation: https://github.com/rails/rails/blob/master/activerecord/lib/active_record/relation.rb#L16
Any ideas on how to fix this? Autoloading is not my forte.

I just added a pull request for those looking to use this with Rails 5.
You can also use https://github.com/nicklandgrebe/active_record-acts_as in the meantime.

i am having issues with getting this to work with rails 5. the associations on the base model are loaded but the associations on the child model are not causing the accepts_nested_attributes_for to not find the association.

Are you using the latest version released with #80 ? Can you please provide code as to what you mean in regards to "base model" and "child model"?
In that pull request, _reflections was updated for Rails 5 and correctly loads all  and that was the only association-related code this gem touches.

I have models that look like this:
class BaseUser < ApplicationRecord
  actable as: :user, class_name: 'BaseUser'
  has_many :bars
end

class FooUser < ApplicationRecord
  acts_as :base_user, as: :user, class_name: 'BaseUser'
  has_many :foos
  accepts_nested_attributes_for :foos
end

the bars assoication was loaded but not the foos relationship. I solved it by moving the acts_as below the associations like:
class FooUser < ApplicationRecord
  has_many :foos
  accepts_nested_attributes_for :foos
  acts_as :base_user, as: :user, class_name: 'BaseUser'
end


ipv6 support

:recycle: Current situation
There is no support of ipv6
:bulb: Proposed solution
Using https://v6.ipinfo.io/json we are getting ipv6 address and updating it using https://dynupdate.no-ip.com/nic/update call
:gear: Release Notes
IPv6 support
Reviewer Nudging
src/devices/contactsensor.ts
src/platform.ts

Made a few changes from your PR.
Can you try the latest beta:

Click here to find out how to install Beta


fix(TCOMP-330): change version of org.json:json to 20131018

Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
Component depends on org.json:json:20090211
What is the new behavior?
Component depends on org.json:json:20131018
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
Related to https://jira.talendforge.org/browse/TCOMP-330

Pull request test result: success :star:

Pull request test result: failure :x:

Pull request test result: success :star:

What bothers me is that you are only fixing the pb for salesforce, but if other components want to use OAuth, they will face the same pb. Isn't there another way to globally fix this ?

I have tried to add this version in the  of the pom in components-parent and it seems to work the same way, but it would also fix new Components using OAuth.
Could you check please?

Pull request test result: failure :x:

Failed tests related to Snowflake component. I think it's not related to current change


Enable pubsub quickstart builds for vcpkg

We changed the API for pubsub::Publisher, that breaks the vcpkg-based quickstart builds.

This won't be needed after #5302


Can not get Drupal-node working, getting Invalid service key undefined

Codebase
Mounted codebase
Describe the bug
I would like to get the ajax_comments working with Drupal 8. Applied patch from https://www.drupal.org/project/ajax_comments/issues/3031187 for NodeJS integration.
But first trying to get the nodejs module working and send a broadcast message. There it fails and gives me the error Invalid service key undefined, expecting node-service-key
Output of docker info
Client:
 Debug Mode: false

Server:
 Containers: 8
  Running: 8
  Paused: 0
  Stopped: 0
 Images: 52
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.9.184-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.787GiB
 Name: docker-desktop
 ID: 7PCQ:OOE4:4RSP:KDUX:2SAE:62VP:PRYV:RO7O:APEW:X6R6:FXE2:Z2JL
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 226
  Goroutines: 241
  System Time: 2020-02-28T11:03:19.8839034Z
  EventsListeners: 11
 HTTP Proxy: gateway.docker.internal:3128
 HTTPS Proxy: gateway.docker.internal:3129
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: true
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false
 Product License: Community Engine

Contents of your docker-compose.yml
Paste here
REMOVE COMMENTED LINES

Contents of your .env
version: "3"

services:
  mariadb:
    image: wodby/mariadb:$MARIADB_TAG
    container_name: "${PROJECT_NAME}_mariadb"
    stop_grace_period: 30s
    environment:
      MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
      MYSQL_DATABASE: $DB_NAME
      MYSQL_USER: $DB_USER
      MYSQL_PASSWORD: $DB_PASSWORD
    ports:
      - 3306

  php:
    image: wodby/drupal-php:$PHP_TAG
    container_name: "${PROJECT_NAME}_php"
    environment:
      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
      DB_HOST: $DB_HOST
      DB_PORT: $DB_PORT
      DB_USER: $DB_USER
      DB_PASSWORD: $DB_PASSWORD
      DB_NAME: $DB_NAME
      DB_DRIVER: $DB_DRIVER
      PHP_FPM_USER: wodby
      PHP_FPM_GROUP: wodby
      COLUMNS: 80 # Set 80 columns for docker exec -it.
    volumes:
      - ./../:/var/www/html:cached # User-guided caching

  nginx:
    image: wodby/nginx:$NGINX_TAG
    container_name: "${PROJECT_NAME}_nginx"
    depends_on:
      - php
    environment:
      NGINX_STATIC_OPEN_FILE_CACHE: "off"
      NGINX_ERROR_LOG_LEVEL: debug
      NGINX_BACKEND_HOST: php
      NGINX_SERVER_ROOT: /var/www/html/web
      NGINX_VHOST_PRESET: $NGINX_VHOST_PRESET
    volumes:
      - ./../:/var/www/html:cached # User-guided caching
    labels:
      - "traefik.http.routers.${PROJECT_NAME}_nginx.rule=Host(`${PROJECT_BASE_URL}`)"

  mailhog:
    image: mailhog/mailhog
    container_name: "${PROJECT_NAME}_mailhog"
    labels:
      - "traefik.http.services.${PROJECT_NAME}_mailhog.loadbalancer.server.port=8025"
      - "traefik.http.routers.${PROJECT_NAME}_mailhog.rule=Host(`mailhog.${PROJECT_BASE_URL}`)"

  drupal-node:
    image: wodby/drupal-node:$DRUPAL_NODE_TAG
    container_name: "${PROJECT_NAME}_drupal_nodejs"
    environment:
      NODE_SERVICE_KEY: node-service-key
      NODE_DEBUG: 1
      NODE_BACKEND_PORT: 8080
      NODE_BACKEND_HOST: drupal-node
    labels:
      - "traefik.http.routers.${PROJECT_NAME}_drupal_node.rule=Host(`drupal_node.${PROJECT_BASE_URL}`)"
    command: sh -c 'npm install && node app.js'

  portainer:
    image: portainer/portainer
    container_name: "${PROJECT_NAME}_portainer"
    command: --no-auth -H unix:///var/run/docker.sock
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    labels:
      - "traefik.http.routers.${PROJECT_NAME}_portainer.rule=Host(`portainer.${PROJECT_BASE_URL}`)"

  traefik:
    image: traefik:v2.0
    container_name: "${PROJECT_NAME}_traefik"
    command: --api.insecure=true --providers.docker
    ports:
      - '8000:80'
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

Logs output docker-compose logs
[2020/02/28 10:58:58] publishMessageToContentChannel: The channel watchdog_dblog doesn't exist.
[2020/02/28 10:58:59] authenticateClient: Authenticating client with key 89267e8a012013598d28487759a35866
[2020/02/28 10:58:59] Sending message to backend
[2020/02/28 10:58:59] message
{ authToken: '89267e8a012013598d28487759a35866',
  messageType: 'authenticate',
  clientId: 'NR9uyJK74gOEJKtkAAAB' }
[2020/02/28 10:58:59] options
{ uri: 'http://drupal-node:8080/nodejs/message',
  body: 'messageJson=%7B%22authToken%22%3A%2289267e8a012013598d28487759a35866%22%2C%22messageType%22%3A%22authenticate%22%2C%22clientId%22%3A%22NR9uyJK74gOEJKtkAAAB%22%7D&serviceKey=node-service-key',
  headers:
   { 'Content-Length': 205,
     'Content-Type': 'application/x-www-form-urlencoded' } }
[2020/02/28 10:58:59] Route callback: checkServiceKey
[2020/02/28 10:58:59] checkServiceKey: Invalid service key undefined, expecting node-service-key
[2020/02/28 10:58:59] authenticateClientCallback: Call failed: Invalid service key.
[2020/02/28 10:58:59] cleanupSocket: Cleaning up after socket id NR9uyJK74gOEJKtkAAAB, uid undefined

There should be no command in drupal-node service, that's probably the issue

although the default command is already node app.js, so probably not the issue after all

Tried to reproduce with vanilla D8, connected insecure over http with the default service key and it works fine. The module reports as connected but insecure. Please note if you want to set a secure connection you should generate a certificate.

The module to me reports also as connected but insecure, but the logs in docker-node tells me the message could not be processed because of "Invalid service key"


Microsoft Cloud for Healthcare Trial setup

Description of issue
Hello everyone,
Can someone guide me regarding the trial license of Microsoft Cloud for Healthcare? I have tried obtaining the license myself but was unable to do so.

@Kiyani1 check out these steps https://learn.microsoft.com/en-us/training/modules/training-environment-preparation-healthcare/
do let me know if this solved your issue

@Tarekeldin I have tried following the above instructions, but for some reason, deployment failed. If I try another deployment it shows dynamics 365 sales app is not installed (see first screenshot). However the app is already installed (see second screenshot). I will try again with another account and see if it works.

@Tarekeldin can you guide me on which tenant can be used for this lab?  Dynamics 365 E5 or Dynamics 365 E5 with marketing? As the environment setup is a really time-consuming and challenging process.

Hi @Kiyani1 i am running your question by PG so please allow me some time to get back to you.

hi @Kiyani1  please review the steps here and it should answer your question above https://learn.microsoft.com/en-us/training/modules/training-environment-preparation-healthcare/
at this time we are not providing tenants to MCTs and learners except for very limited deliveries. however you can always stand your own trial using the guidance from the link i shared.