Info about open source back ends that support if within P4 actions

I have created this issue to record some details about support for if statements on some open source P4 targets, for reference to the P4 community.
I only know details for the bmv2 and DPDK back ends.  If someone else knows details about ebpf or ubpf back ends in p4c, please feel free to add it here.
Note that simply because a software switch like BMv2 or DPDK has support for arbitrary if conditions within P4 actions, does not necessarily mean that any other P4 target will.  BMv2 and DPDK target general purpose CPUs, so have available the full power of general purpose CPUs to do way more than if conditions.  I hear tell crazy stories that they can implement loops, too :-)

BMv2

p4c-bm2-ss compiles P4 source code to BMv2 "binaries", where "binaries" here is really a text file in a JSON data file format that is specific to BMv2, which I'll call "BMv2-JSON".  The BMv2-JSON format has supported conditional jumps that would enable more general implementation of if conditions within P4 actions since 2017.  See this commit: https://github.com/p4lang/behavioral-model/commit/207d2e23db195b51325736334c92827320bb3243
As of 2022-Oct-24, no one has chosen to enhance the p4c-bm2-ss compiler back end to take advantage of this support in BMv2.  Anyone with the desire and skill and time can do so, but no such person has yet chosen to do this.  Often people working on open source p4lang projects are paid to do so.  So far no company has chosen to pay any of their employees to perform this task.
Why didn't the original BMv2 back end support conditional jumps inside of actions?  Probably because the original Tofino did not (my guess -- I do not know the full history here).
Why doesn't the current BMv2 back end to p4c support arbitrary if conditions.  No one has simultaneously been skilled and motivated with enough time to do it.

DPDK

p4c-dpdk compiles P4 source code to "spec" files, which are text files that look about half-way between a subset of the P4 language and a custom-made assembly language.  You can see many examples in the p4lang/p4c repo in the testdata/p4_16_samples_outputs directory -- look for file names ending with .spec.
In particular, this file shows the output of p4c-dpdk compiling the PNA TCP connection tracking example source program.  It uses conditional jumps within its "spec" file format for actions to support general if statements within P4 actions: https://github.com/p4lang/p4c/blob/main/testdata/p4_16_samples_outputs/pna-example-tcp-connection-tracking.p4.spec#L77-L83
Here is the P4 source file that produced the .spec file linked above: https://github.com/p4lang/p4c/blob/main/testdata/p4_16_samples/pna-example-tcp-connection-tracking.p4#L189-L229

Why doesn't the current BMv2 back end to p4c support arbitrary if conditions. No one has simultaneously been skilled and motivated with enough time to do it.

There's always something more pressing and easier to do, but if you really want this vote for it and I will take a look.
There is always an opportunity cost.


AWS SDK Go V2 Migration

Issue #, if available:

Description of changes:
This change upgrades the underlying AWS Go SDK from V1 to V2.
Some notes and highlights regarding significant changes in V2 for your reference:

V2 SDK splits services into separate modules
The config module in V2 introduces a single entry point (config.LoadDefaultConfig()) which consolidates loading AWS credentials, regions, etc
service client APIs have been refined for more idiomatic Go usage (ie. relying less on aws.String() wrappers and providing typed fields where possible)
all SDK operations now require a context.Context (supporting graceful cancellation, timeouts etc)
the internal request pipeline has been restructured around Smithy middleware. Errors now follow a more consistent structure influenced by Smithy’s model-driven error definitions, making it easier to identify and handle specific error conditions (like ResourceNotFound or AccessDenied) through typed errors rather than relying on string matching.
V2 SDK now uses a dedicated paginator with an iterative interface (HasMorePages() and NextPage()) to handle multi-page API responses. In our context, NextPage performs the network call for fetching query responses (previously QueryPages).
Linted with goimports, let me know if you guys have a particular preference or style.
Added a docker-compose.yml as I find it useful, but I can remove it if it clutters the repo.

Additional resources:

https://github.com/aws/aws-sdk-go-v2
https://aws.github.io/aws-sdk-go-v2/docs/migrating/

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Overall, looks good to me, once the other comments have been addressed.


Implement the Variant Encumbrance rule from the SRD

Originally in GitLab by @ben-barbour
From page 80 of the SRD v5.1.
It would also be great if we could alter the STR multipliers and maybe supply optional active effects for the thresholds, but that might be module territory.

I've started taking a stab at this. Right now it's just cosmetic changes: the weight bar in the inventory changes color and tooltips are added over the bar for each encumbrance level. I've got a couple of questions:
1.Would it be appropriate to add active effects (or optional active effects) for the encumbrance levels. Should they actually reduce speed?
2. I probably need help choosing good colors, if color changes for the weight bar are desirable at all... I don't do a lot of UX/UI work.
I think that if there are no status effects (or at least color changes on the weight bar) then maybe this shouldn't be done in the system. It would be a whole system setting to turn on some tooltips over the three weight bar sections, and people might not even notice.

Right now it's just cosmetic changes: the weight bar in the inventory changes color and tooltips are added over the bar for each encumbrance level. I've got a couple of questions:

I think that sounds like a good place to start.

Would it be appropriate to add effects (or optional effects) for the encumbrance levels. Should they actually reduce speed? I don't think they can add disadvantage.

I think that's a good idea to explore, adding a status effect when the user is encumbered would be a good integration. Depending on the size of the change, it might be better to make that a follow-up MR to the cosmetic changes for simplicity of review and merge.

Are color changes for the weight bar desirable, and if so, which colors?

I think color changes are a good idea but I would suggest two general tenets:

Make sure that information is not provided only using color, there needs to be some other indication also.
Make sure the color palette is not dramatically in contrast with the rest of the UI of the sheet. I'm not sure exactly which colors to suggest, but perhaps a light blue when unencumbered that translates towards a darker purplish-blue as you become more heavily encumbered? I'm not dead set on that and open to other choices. Regardless of which way we go it would be advisable to make those colors CSS variables so that modules can override the color palette with alternate choices.

Got a couple of questions about this.

Should I add colour and/or tooltips to the sheet when the variant rule is not in use? There are only two states in that case: "under carrying capacity" and "exceeding carrying capacity".
How should this variant rule interact with the Vehicle sheet, if at all? I don't think whatever rules it's based on are in the SRD, but please correct me if I'm wrong.

k, the current PR has everything but effects in it. I'll do those in another PR should this one be merged.


Proposal: Describe metrics in Wiki with more details

I would like to understand the metrics better and therefore it would be nice if you could add more infos to the Wiki, e.g. a formula and explanation of how each metric is calculated.
I will research them for myself now and add a proposal to this issue. If anyone knows a good source please add it here.

I decided to turn it into a blog post: https://fabianhertwig.com/blog/2023/01/04/information-retrieval-metrics.html
If you want to pull anything from that to put it into the wiki then feel free to do so.

Thank you! This is quite informative.
Will update the Wiki Metrics to include portions from the blogpost for each metrics! Credits would be given as well! :)
Kind Regards,
Nandan Thakur


Is there any Docs on Running this on GCP or Railway?

Would be cool if we had more docs on other ways to run this app in the cloud. Thank you :)

There currently is not (its coming) and of course its possible as we have instances running on AWS right now - just need to create the process for booting the docker instances on the cloud via scripts for AWS/GCP/Azure/etc
Would love to have contributors even just create those build scripts or YAML files to make the docker deployment super easy like we did with AnythingLLM!


Example for sql restore stopatlogmark is wrong

The sample code below is wrong.  It is trying to stop at the description of the logmark. It needs to pass the logmark name instead.    IE. 'ListPriceUpdate'   On the last line.
 Regular database
-- and log backups are taken.
-- An error occurs in the database.
  Are you referring to a specific docs.microsoft.com article?

https://docs.microsoft.com/en-us/sql/t-sql/statements/restore-statements-transact-sql?view=sql-server-ver15#restoring_transaction_log_to_mark
in this link the logmark restore example is wrong.
From: William Anton Rohm<EMAIL_ADDRESS>Sent: Friday, March 27, 2020 12:46 PM
To: MicrosoftDocs/sql-docs<EMAIL_ADDRESS>Cc: Mike Payne<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [Newsletter][EXTERNAL] Re: [MicrosoftDocs/sql-docs] Example for sql restore stopatlogmark is wrong (#4420)
@SQLBackupMikehttps://github.com/SQLBackupMike -- thank you for your feedback. Are you referring to a specific docs.microsoft.com article?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/4420#issuecomment-605103744, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO6TUSWNFK47CTIVFWFIUE3RJTJ3ZANCNFSM4LUWA2CA.

https://docs.microsoft.com/en-us/sql/t-sql/statements/restore-statements-transact-sql?view=sql-server-ver15#restoring_transaction_log_to_mark
in this link the logmark restore example is wrong
From: William Anton Rohm<EMAIL_ADDRESS>Sent: Friday, March 27, 2020 12:46 PM
To: MicrosoftDocs/sql-docs<EMAIL_ADDRESS>Cc: Mike Payne<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [Newsletter][EXTERNAL] Re: [MicrosoftDocs/sql-docs] Example for sql restore stopatlogmark is wrong (#4420)
@SQLBackupMikehttps://github.com/SQLBackupMike -- thank you for your feedback. Are you referring to a specific docs.microsoft.com article?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/4420#issuecomment-605103744, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO6TUSWNFK47CTIVFWFIUE3RJTJ3ZANCNFSM4LUWA2CA.

@SQLBackupMike -- thank you for clarifying, and I believe you are correct here, per this article.
@MikeRayMSFT -- please review private PR 14360.


Segmentation before Classification?

Can I train the segmentation branch without training the classification branch? I only require the segmentation part of the script. When I try to do so with two layers false I get the following error:
python3 train_segmentation.py --two_layers=False Training set built. Size: 366467 Traceback (most recent call last):   File "/home/user/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1659, in _create_c_op     c_op = c_api.TF_FinishOperation(op_desc) tensorflow.python.framework.errors_impl.InvalidArgumentError: Shape must be rank 4 but is rank 2 for 'conv_aux_1/Conv2D' (op: 'Conv2D') with input shapes: [64,2], [3,3,288,512].
My package versions:
numpy 1.16.3
tensorflow 1.13.1 (required me to change some paths when creating the saver in train_classification.py)
scikit-image 0.15.0 (compatible with numpy 1.16.x unlike issue #7 )
pandas 0.23.4
I know these aren't the versions listed in requirements.txt, though I'm currently changing the files to be compatible with python 3.6. This may be the cause for the error, although I doubt this is the case as I have made changes to all dependencies so that they are compatible. And I don't understand why I have less elements in my input matrix just as a result of changing version.
Changes I have made to make it compatible:

changed the open function argument syntax to read binary files.

e.g: from open('train_set_list', 'r') to open('train_set_list.pickle', 'rb')

changed some pathings to the checkpoint file when creating the saver in order include the  tower_0 directory:
from:

 # Create a saver.
saver = tf.train.Saver(tf.all_variables())

to:
# Create a saver.
      code_to_checkpoint_variable_map = {var.op.name: var for var in tf.all_variables()}
      for code_variable_name, checkpoint_variable_name in {
          "CrossEntropyLoss/value/avg": "tower_0/tower_0/CrossEntropyLoss/value/avg",
          "aux_loss/value/avg": "tower_0/tower_0/aux_loss/value/avg",
          "total_loss/avg": "tower_0/tower_0/total_loss/avg",
      }.items():
          code_to_checkpoint_variable_map[checkpoint_variable_name] = code_to_checkpoint_variable_map[
              code_variable_name]
          del code_to_checkpoint_variable_map[code_variable_name]

          saver = tf.train.Saver(code_to_checkpoint_variable_map)

changed for loop syntax from the form:
for count in xrange(args) to for count in range(args)

Any help advice would be much appreciated, if I get this working I'll be happy to post a python 3 compatible version of this on github.

Turns out i was using slim and inception_model.py from the library as opposed to the one provided

@rymanso how did you use the imported inception model.py? It says that inception and inception.slim is not defined.


CI: conda 1.9 and 1.10 getting killed

🐛 Bug
conda (3.7, 1.9) and conda (3.7, 1.10) runs non-deterministically fail with the error:
tests/helpers/test_models.py::test_models[None-ParityModuleRNN] PASSED   [ 31%]
/__w/_temp/2a0a0b32-902c-4e18-bf17-5c09efcb74cf.sh: line 2:    90 Killed                  coverage run --source pytorch_lightning -m pytest pytorch_lightning tests -v --durations=50 --junitxml=junit/test-results-Linux-torch1.10.xml
tests/helpers/test_models.py::test_models[None-ParityModuleMNIST]
Error: Process completed with exit code 137.

To Reproduce
See conda (3.7, 1.9) and conda (3.7, 1.10):

Successful runs: https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml?query=is%3Asuccess
Failing runs: https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml?query=is%3Afailure

Expected behavior
Not getting killed.
Environment
Additional context
[closed] First try: #10077
[merged] Temporary fix: #10084

@akihironitta still happening?

It seems the fix #10084 is working fine :)


[Enhancement] Addon-Ped head variations

How can i change the texture of the head on addon peds?

@Nickkonas7 addon ped head variations are not supported in illenium-appearance at the moment

Are there plans to implement it?


Incompatibility with Music Triggers Mod

According to your testing, does the issue occur with ONLY Immersive Portals mod installed?
Yes
Forge Version
40.2.4
ImmersivePortals Version
1.4.17
Latest Log
N/A
Crash Report (if applicable)
N/A
Steps to Reproduce

Setup Music Triggers to play audio based on player dimension
Cross Dimensional Portal Boundary
Music Triggers does not update the player current dimension and will not play the correct audio based on location

What You Expected
Music triggers is meant to track player location and audio events can be assigned accordingly. When dimensions are stacked using Immersive Portals, the player location according to the Music Triggers debug menu will update when the player crosses the portal boundaries.
What Happened Instead
The player current dimension. according to Music Triggers, remains in the first dimension they spawned in.
Additional Details
No response
Please Read and Confirm The Following

[X] I have confirmed this bug can be replicated without the use of Optifine.
[X] I have confirmed the details provided in this report are concise as possible and does not contained vague information (ie. Versions are properly recorded, answers to questions are clear).
[X] I have confirmed this does not happen on the fabric version (If it does please report to here instead).
[X] I have confirmed I'm not using a hybrid server (Magma, Cauldron) or a different (non official) Forge Server release.
[X] I have confirmed this issue is unique and has not been reported already.

Here's an example multi mc export to showcase the bug. Loading up a new world and stacking the Overworld on top of the Nether dimensions will cause the music track to restart constantly and/or bounce back and forth between the 2 tracks.
It seems as though Music Triggers is not aware of what dimension the player is in and constantly swaps back and forth:
music_triggers_imm_portal_test.zip

Music Triggers is reading the LocalPlayer.level field, that is swapped between all visible dimensions in order to allow ticking of the (client)world to occur correctly. As it runs it own thread, from time to time Music Triggers ends up with the "wrong" dimension, thus changing the played music. To resolve this, I currently see the following potential fixes:

I'm simply going to mixin into Music Triggers in order to patch each mention of LocalPlayer.level with our own helpers (ClientWorldLoader.getWorldAsync(RenderStates.originalPlayerDimension)). However, the triggers are actually Bi-Functions, Mixin into them is not fun, as it randomly likes to explode /hj. Also I'd like to avoid using any more mod-specific Mixins, as that blows compile times if I want to actually test my fixes.
The Entity class (LocalPlayer extends Entity) contains a getter for this field. (getLevel()). If Music Triggers would switch from direct field access to using the getter, I'd be able to mix into the getter, thus enhancing it with the ability to give the expected value to Music Triggers thread. This would however require checking the thread, as such adding quite some overhead to an often called method.
An option to easily overwrite the triggers in music triggers. This would allow IP to load a module simply replacing all Bi-Functions with patched ones. This would be my preferred fix, but would requires some work on Music Triggers side. (I'll be in touch with them shortly)
Simply adding multiworld aware triggers. But that wouldn't fix the issue, just circumvent it.


Prevent propagation of lifecycle hooks to super Vue.extend() classes ?

I have a base class:
var Base = Vue.extend({
  compiled: function () { /* do something */ }
});

If I create a subclass:
var Sub = Base.extend({
  compiled: function () { /* do something else */ }
});

When I instantiate and compile the subclass, normal behaviour shows that the Base and Sub classes' compiled methods will be called. Is there anyway to force only the Subclass' compiled method to be called, such that the Base class' compiled method has been overridden?
Thanks

The point of extension is that subclass will inherit everything the superclass has. It looks like in your case you should use mixins instead.


Doubt about font customization

Hello, first I would like to thank you for the beautiful package.
Is there any provision for introducing:
-Font Family
-Text Size
-Italic
-Underline
-Bold
Is there any way we can help you? This would be an extremely useful feature

Yes, we will be providing that.
We had started working with very different approach in order to provide the features and functionality more fastly and smoothly.
You can check branch : beta (unstable)

Excel: ^1.0.9 is out https://pub.dev/packages/excel
Now excel being more faster than before.
Added Functionalities:
Copy
Rename
Delete
Link Sheets
Un-Link Sheets
Font Family (182 Font Family Available)
Font Size
Italic
Underline
Bold


Fix using pg 14/15

Apparently #7312 some code in a SQL function that only works on
Postgres 16. Fix it.
Fixes #7365.

Tested and verified 👍


firefox-unwrapped: add nss to LD_LIBRARY_PATH

Fixes https://github.com/NixOS/nixpkgs/pull/119434#issuecomment-1188433605, fixes https://github.com/NixOS/nixpkgs/issues/78961
Untested, obviously.

It is unclear to me how passing NSS (the network security services) is supposed to fix what you claim it does.

As mentioned in the linked issues, the problem currently is that Firefox and Discord use different versions of nss (nss_latest 3.81 and nss 3.68.4 respectively), and the Discord wrapper adds its version of nss to LD_LIBRARY_PATH but the Firefox wrapper doesn't, so the Discord one wins and Firefox is unhappy.
Adding nss_latest to LD_LIBRARY_PATH in the Firefox wrapper fixes the problem, as can be tested with this overlay:
self: super: {
  firefox = super.firefox.overrideAttrs (old: {
    libs = old.libs + ":" + lib.makeLibraryPath [ pkgs.nss_latest ];
  });
}

Now, the thing I just realised is that adding this to the firefox-unwrapped wrapper won't solve the issue, because the wrapFirefox wrapper ignores that wrapper and wraps firefox-unwrapped/bin/.firefox-wrapped directly. So we'd need to add it to the wrapFirefox wrapper instead, but this wrapper is also used by other applications and I'm not sure those applications need or want nss_latest in their LD_LIBRARY_PATH...

Maybe we can add an extraLibs argument to wrapFirefox and pass extraLibs = [ nss_latest ]; for firefox.

Discord wrapper adds its version of nss to LD_LIBRARY_PATH but the Firefox wrapper doesn't, so the Discord one wins and Firefox is unhappy.

Well, then discord is the problem. You would face the same issues ff you open other Firefox-derived browsers or applications depending on NSS for that matter. The solution is not to fix all apps depending on NSS. Can't we use patchelf for discord instead?

That would be great.

I don't know much about Discord's packaging but perhaps it would be possible to use autoPatchelfHook instead of setting LD_LIBRARY_PATH?

autoPatchelfHook will not work for dlopened libraries. Not sure what the ratio of linked/loaded libraries is.

@jtojnar is this still true? From dlopen(3):

o   (ELF only) If the calling object contains a DT_RUNPATH tag, then the directories listed in that tag are searched.

Since autoPatchelfHook already adds nss to discord's DT_RUNPATH, would simply removing nss from LD_LIBRARY_PATH be enough? Could this also be done for other libs?

I believe it doesn't work because it won't detect that a library might be loaded by dlopen().  Manually patchelfing (additionally) should work.  Maybe if you avoid some step where it automatically strips "unreferenced" ones.

 0x000000000000001d (RUNPATH)            Library runpath: [/nix/store/dgzfhhwpsz3idz7j9pzp0qw05skxg7xr-discord-0.0.18/opt/Discord:/nix/store/p7paszzma218x9hpp8423k87dxj6f7nc-glib-2.72.3/lib:/nix/store/lvjcra8rxnss51bk5p67rd9x6pnlsi8r-libxshmfence-1.3/lib:/nix/store/6ddsjj2qjx4fri2akq5xnf25sxhip5p3-nss-3.68.4/lib:/nix/store/gzf7jnpc8c18jfzg4324wrshh1m4kb8v-nspr-4.34/lib:/nix/store/9ph75bbm1zhsz2pdf4k8jgj6wjjpnqlm-atk-2.38.0/lib:/nix/store/0ffdbny15hvzr5byh1fr5caaygim71l9-at-spi2-atk-2.38.0/lib:/nix/store/wcpl6nwja4s3lrcdz1r26vkbrga4p716-dbus-1.14.0-lib/lib:/nix/store/cq2fnzkg5lirbsbsmwnv324hcqw996jl-libdrm-2.4.112/lib:/nix/store/0aczmiyhwmnv5c705008czyb829aaicg-gdk-pixbuf-2.42.8/lib:/nix/store/jwg43f7874jk9a4p15cab6n4125rckhk-gtk+3-3.24.34/lib:/nix/store/d9s895jykbh2945xb6p620z22fkw1nil-pango-1.50.8/lib:/nix/store/wiz2aaxcnz7iv8p3hlhrlmdwymakj15w-cairo-1.16.0/lib:/nix/store/jzyxxfly9wgdrsmc9gcycqqllslhf014-libX11-1.7.2/lib:/nix/store/pidfd5l7z7z96mzzk64p8kd6bvkaz8js-libXcomposite-0.4.5/lib:/nix/store/47ywncbak6wcx3rsgcwdkhnhlmhy1cbh-libXdamage-1.1.5/lib:/nix/store/j14mh1x96wfhbfmp2lg3ysisw8qkn8ax-libXext-1.3.4/lib:/nix/store/dc1aizizzxh2f9aq2hd0fii623z7kc8h-libXfixes-6.0.0/lib:/nix/store/4j6q054h6wbf82d6pks5mbpd7mi23hz9-libXrandr-1.5.2/lib:/nix/store/x3alcyvp8aiglkhh8hry61hwba2mxgbz-expat-2.4.8/lib:/nix/store/wmhh93gh8hd42bdvd2f73nvrjwm8v5hv-libxcb-1.14/lib:/nix/store/gskc4c7hy3q4yvyyby6va8gdxjc2h628-libxkbcommon-1.4.1/lib:/nix/store/mf6r6ynz7xgwjyvj18yiasvsfja29diw-mesa-22.1.4/lib:/nix/store/j03jjz5wfw48mnwv592nc463ndlxa416-alsa-lib-<IP_ADDRESS>/lib:/nix/store/28qw3cyf7g1bac8kmgg4dz1hmsmr2qhm-at-spi2-core-2.44.1/lib:/nix/store/qps576jv35898jqj1lxgwi8dmcpdqh7n-cups-2.4.2-lib/lib]

nss is already in there.

So if it still doesn't work, could it be that the dlopen() is called from some library and not the main executable?  I vaguely remember there was something surprising around that.

It does work if I remove nss from LD_LIBRARY_PATH!

Opened https://github.com/NixOS/nixpkgs/pull/186603


remove v2 test to see if it unbreaks build

the test suite passes locally, but fails on Travis CI.
https://travis-ci.org/airbnb/superset/builds/183449024
removing this test to see if it fixes the issue.

same test is failing so not related to this test.


Modified linux instances to populate ssh key in metadata before startup

Addresses #100

Ran mvn verify. Failing template IT's. Haven't dug into it yet, but I suspect we should be adding the key pair in the method instance() under (StringUtils.isNotEmpty(template)) branch

Ran mvn verify. Failing template IT's. Haven't dug into it yet, but I suspect we should be adding the key pair in the method instance() under (StringUtils.isNotEmpty(template)) branch

Tracked it down to the startup script not being run when a template is present, which was the case prior to my change. Modified InstanceConfiguration.instance() to always set the startup script. Not sure how this was passing before. @ingwarsw any insights would be appreciated :)

Tracked it down to the startup script not being run when a template is present, which was the case prior to my change. Modified InstanceConfiguration.instance() to always set the startup script. Not sure how this was passing before. @ingwarsw any insights would be appreciated :)

It was passing because startup script was set in template..


Corrupt images warnings in Imagenet

Often images from Imagenet dataset throw warnings during training.
There is an issue from python-pillow/pillow project that describes similar behavior: https://github.com/python-pillow/Pillow/issues/3337
The root cause is most probably found in the pillow library, but even if it's solved there, Distiller will still have to actively propagate the fix.

Example from distiller (with pretrained resnet50):
Epoch: [0][  300/ 2503]    Overall Loss 0.899065    Objective Loss 0.899065    Top1 77.972656    Top5 92.205078    LR 0.000500    Time 0.798467
/lib/python3.6/site-packages/PIL/TiffImagePlugin.py:763: UserWarning: Possibly corrupt EXIF data.  Expecting to read 2555904 bytes but only got 0. Skipping tag 0
" Skipping tag %s" % (size, len(data), tag))
/lib/python3.6/site-packages/PIL/TiffImagePlugin.py:763: UserWarning: Possibly corrupt EXIF data.  Expecting to read 19660800 bytes but only got 0. Skipping tag 0
" Skipping tag %s" % (size, len(data), tag))
/lib/python3.6/site-packages/PIL/TiffImagePlugin.py:763: UserWarning: Possibly corrupt EXIF data.  Expecting to read 18481152 bytes but only got 0. Skipping tag 0
" Skipping tag %s" % (size, len(data), tag))
/lib/python3.6/site-packages/PIL/TiffImagePlugin.py:763: UserWarning: Possibly corrupt EXIF data.  Expecting to read 37093376 bytes but only got 0. Skipping tag 0
" Skipping tag %s" % (size, len(data), tag))
/lib/python3.6/site-packages/PIL/TiffImagePlugin.py:763: UserWarning: Possibly corrupt EXIF data.  Expecting to read 39976960 bytes but only got 0. Skipping tag 0
" Skipping tag %s" % (size, len(data), tag))
/lib/python3.6/site-packages/PIL/TiffImagePlugin.py:763: UserWarning: Possibly corrupt EXIF data.  Expecting to read 34865152 bytes but only got 0. Skipping tag 0
" Skipping tag %s" % (size, len(data), tag))
/lib/python3.6/site-packages/PIL/TiffImagePlugin.py:780: UserWarning: Corrupt EXIF data.  Expecting to read 12 bytes but only got 10.
warnings.warn(str(msg))
Epoch: [0][  400/ 2503]    Overall Loss 0.896776    Objective Loss 0.896776    Top1 78.037598    Top5 92.224121    LR 0.000500    Time 0.767407

Yeah this one has been bugging me for a while. Great that you found the possible root cause.
It appears that the fix is fairly recent, so it's only available on the pillow master branch.
Did you check if it actually solves the problem? If so, we can think about how to integrate with it. Maybe fork from that specific commit or something...

@guyjacob  I didn't test pillow's master branch. I agree it might be solved in (yet unreleased) master.
I don't think it's feasible to integrate a vertical fix, unless we release Distiller binaries. Don't forget pillow is indirect dependency of Distiller, which is even more complicated. Before a fix is incorporated in pillow release (e.g. v6.0.0), there's not much we can do.

Update: Pillow release 6.0.0 does seem to alleviate the issue.
With the new release, I get only a single warning per epoch, on my ImageNet dataset.

Hi,
Closing due to staleness.


Provide error logs and prevent freezing system for ORS internal errors

Hi. I really like this API, thanks!
I'm trying to use the route (row to row) between 1000 points that are in a city, so not that far away from each others.
When opting for driving and walking regular, the fastest and the shortest, runs with no problem.
When I choose cycling regular (fastest or shortest), it starts to run, and then it gets stuck forever in the message "Requesting analysis from ORS...", at 16%.
I can see it using the quota of 40/min on my user dashboard, every time I refresh it ads more, but it gets stuck at 362.
It is not a quota problem, I'm waiting more than 1 day to run it.
Do you know what it may be, if that transportation mode has another requirements different than car or walk?

The difference between the profiles is it uses a different road graph, so our APIs could get stuck for cycling-regular, when there's no route for bikes for some reason. However, it should throw an error message in that case.
Is it always the same location pair messing it up? If so, can you post the request parameters, i.e. profile, coordinates, any additional parameters you set in the GUI?

Hi nilsnode,
Thank you for your reply.
In fact it sows and error, showing the coordinates of the first pair that gets stuck, but it is very quick and the error disappears, so I can't identify on the table. If it was logging the ID or even the coordinates on the log error messages, it would be easier to identify the problematic pairs.
But after all, I found 4 problematic OD pairs.
The parameters were: cycling-regular, fastest, row by row. The coordinates of the points are:
ID | O_Lat | O_Long | D_Lat | D_Long
989 | 38.71614 | -9.13674 | 38.71476 | -9.12597
189 | 38.726 | -9.1326 | 38.77918 | -9.13323
505 | 38.70075 | -9.38026 | 38.80279 | -9.1393
1407 | 38.61192 | -9.1337 | 38.75016 | -9.14881
Thanks

Hi,
yes, I can confirm that the first 2 routes cannot be calculated with a cycling-x profile:
{
    "error": {
        "code": 2009,
        "message": "Route could not be found - Unable to find a route between points 1 (-9.1325994 38.7260017) and 2 (-9.1332335 38.7791838)."
    },
    "info": {
        "engine": {
            "version": "4.5.0",
            "build_date": "2018-03-26T12:51:50Z"
        },
        "timestamp":<PHONE_NUMBER>037
    }
}

But you're right: I have to change the plugin to write some sort of log with requests and at least error messages. I have some time on my hands the next 7-8 days, I might finally go for the long-dreaded refactoring of the whole code-base and include this fix.
In the meantime, if you encounter anything like this again:
Try our interactive request console (press Switch to Console in the upper right. This will let you request directly and see the error message (if any). Or use tools like Postman, very useful to query APIs sustainably.

Also this issue is addressed in the development branch. ORS Tools writes to its own QGIS log now, if there's an API error.

fixed in newest master and available in plugin repo


Clean old interfaces

Description
Please include a summary of the change. For large or complex changes please include enough information to introduce your change and explain motivation for it.
Changes proposed in this pull request:

/intelci: start
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces

http://intel-ci.intel.com/ebce3f7f-08b3-f125-89fa-8cdcd4b723a1

http://intel-ci.intel.com/ebce4987-c263-f1a1-a170-8cdcd4b723a1

http://intel-ci.intel.com/ebceab94-3877-f1c2-8ceb-8cdcd4b723a1

/intelci: run
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces

/intelci: run
set infra_branch=delete_prev_ifaces
compatibility_branch=2020-clean-iface
compatibility_repo=https://github.com/intel-innersource/libraries.performance.data-analytics.dal-infra.git
compatibility_revision=HEAD

/intelci: run
set infra_branch=delete_prev_ifaces
compatibility_branch=2020-clean-iface
compatibility_repo=https://github.com/intel-innersource/libraries.performance.data-analytics.dal-infra.git
compatibility_revision=HEAD

/intelci: run
set infra_branch=delete_prev_ifaces
compatibility_branch=2020-clean-iface
compatibility_repo=https://github.com/intel-innersource/libraries.performance.data-analytics.dal-infra.git
compatibility_revision=HEAD

/intelci: run
set infra_branch=delete_prev_ifaces
compatibility_branch=2020-clean-iface
compatibility_repo=https://github.com/intel-innersource/libraries.performance.data-analytics.dal-infra.git
compatibility_revision=HEAD

http://intel-ci.intel.com/ebd1ca75-79af-f160-a7ce-8cdcd4b723a1

@Mergifyio rebase

http://intel-ci.intel.com/ebd85623-8e09-f130-bb89-8cdcd4b723a1


Fix Libv8::Node::Paths with RubyGems >=3.3.21 on *-linux-gnu platforms (Ported to current master)

RubyGems 3.3.21 changed the value format of Gem::Platform.local for Ruby configured with *-linux-gnu as the platform name.
$ ruby -ve 'p Gem::VERSION; p Gem::Platform.local.to_s'
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux-gnu]
"3.3.20"
"x86_64-linux"

$ ruby -ve 'p Gem::VERSION; p Gem::Platform.local.to_s'
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux-gnu]
"3.3.21"
"x86_64-linux-gnu"

$ ruby -ve 'p Gem::VERSION; p Gem::Platform.local.to_s'
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux-gnu]
"3.3.24"
"x86_64-linux-gnu"

As you can see, it now has the -gnu prefix and Libv8::Node::Paths.object_paths thus has it when the built binary actually lives in the directory x86_64-linux, breaking the build of the gems like mini_racer on those platforms.
RUBY_TARGET_PLATFORM is set to *-linux, so Libv8::Node::Paths.platform needs to align with that.
Ported forward from #36 by @MaZderMind

Jumping in here as this is now blocking my deployment/upgrade plan to move to Ruby 3.2. I see that updates are being made to the repo, which is awesome!! However the PR this is based on has been sitting there for over two years. Sorry if that across as judgy, I don't mean it too.
Just trying to understand if this can be merged at the next opportunity or do I need to figure out how to fork this and build it myself so that I can continue to move forward.

 Sorry if that across as judgy, I don't mean it too.

"has been sitting there" stings a little :(
It may look like a simple one line change but this change has rippling consequences on small but important details† so that it really works everywhere on every combination. And then it's a bit painful to build and publish all binary artifacts.
† Some time ago I started a refactoring of the build process to move away from shell to Ruby in order to be much more DRY.

do I need to figure out how to fork this and build it myself

If you want to go this route to immediately unblock you:

fork + patch your fork as you see fit in some branch, or not and use this PR's branch
in Gemfile: gem 'libv8-node', git: 'github.com/foo/bar.git', branch: 'baz' (or github: ... if you prefer)

And it'll build from source.

@lloeki , first and foremost, thank you for your quick reply, and can certainly wait a few weeks if that is what it takes to get this merged into the main branch and released. It seems to me that the disconnect is that the libv8 library produces a x86_64-linux named lib, yet the platform has changed. So regardless of who is "correct", the libv8 needs to produce a binary with x86_64-linux-gnu or deal with the changes to x86_64-linux like it does for darwin who appends the version number to it.
Maybe I'm being too simple here and missing what you speak about regarding this change has rippling consequences on small but important details† so that it really works everywhere on every combination however, one or the other needs to happen, correct?
Regardless, if this can be fixed with the published library, that is awesome and will save me time from setting up local environments to do the build.

can certainly wait a few weeks

I'll carve out some time to have a proper fix.

Regardless, if this can be fixed with the published library, that is awesome and will save me time from setting up local environments to do the build.

Of course, I am very mindful of that.

@lloeki coming back around and checking on this as my previous project is done and would like to pick this work back up. I see some activity on other PRs, so is this resolved or still needs to be worked on?


fix: brute force detection failed for username with capital letter

This fix mongoDB specific. It sets context 'actual_username' conditionally.
:id: Reference github issue.
https://github.com/gravitee-io/issues/issues/7884
:pencil2: A description of the changes proposed in the pull request
This change sets context 'actual_username' conditionally base on authentication.getPrincipal()
:memo: Test scenarios
Detail mentioned in github issue

We should use the technal_id or external_id to store the login attempts instead of the username.


Qa

I've decided that the QA suite needs reorganization.  We need better organization/segregation of actual tests from infrastructure.
Some of the tests in this pull request do not properly test the feature they are supposed to be testing


feat: Capacitor V4 support

Hello,
Following Capacitor v4 realease.
Do you plan to support this version?
Thanks!

Yes, I will release an update over the next week.

You can give ot a try:
npm i<EMAIL_ADDRESS>


Readme needs to be updated for new SDK

Problem
The Readme should be pretty explicit that Shopify is no longer accepting offsite gateway submissions through Active Merchant.
Solution
Include an explanation of the situation and recommend that they use the new SDK - https://docs.shopify.com/hosted-payment-sdk
@girasquid

@andrewpaliga


wastorage.dll issue TSG draft

I still need the version # SF Runtime is referencing

@Steve<EMAIL_ADDRESS>Windows Runtime v6.4.621.9590
Thanks
From: Steve Edwards<EMAIL_ADDRESS>Sent: Wednesday, December 12, 2018 11:11 AM
To: Azure/Service-Fabric-Troubleshooting-Guides<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [Azure/Service-Fabric-Troubleshooting-Guides] wastorage.dll issue TSG draft (#62)
I still need the version # SF Runtime is referencing

You can view, comment on, or merge this pull request online at:
https://github.com/Azure/Service-Fabric-Troubleshooting-Guides/pull/62https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62&data=02|01|navya%40microsoft.com|09f4544bddd6482685e908d660658f27|72f988bf86f141af91ab2d7cd011db47|1|0|636802386646920492&sdata=gua4GX8BM4maaDVFqn3ZFDPUm3EazdwrmD%2FsPXUAXLY%3D&reserved=0
Commit Summary

wastorage issue draft

File Changes

A Known_Issues/Application crashes after upgrade on Fabric 6.4.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62%2Ffiles%23diff-0&data=02|01|navya%40microsoft.com|09f4544bddd6482685e908d660658f27|72f988bf86f141af91ab2d7cd011db47|1|0|636802386646930500&sdata=ZkTrTZUcZfl9bYzbw7wA3fymVP7xw2hbb7toS2rbzjA%3D&reserved=0 (24)

Patch Links:

https://github.com/Azure/Service-Fabric-Troubleshooting-Guides/pull/62.patchhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62.patch&data=02|01|navya%40microsoft.com|09f4544bddd6482685e908d660658f27|72f988bf86f141af91ab2d7cd011db47|1|0|636802386646930500&sdata=AatmTyDl8pNpdxNNwlEVdaGCzFKPl5rFPhJVYBbgucw%3D&reserved=0
https://github.com/Azure/Service-Fabric-Troubleshooting-Guides/pull/62.diffhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62.diff&data=02|01|navya%40microsoft.com|09f4544bddd6482685e908d660658f27|72f988bf86f141af91ab2d7cd011db47|1|0|636802386646940508&sdata=xYUOR6doxsIg57qaYkhS%2FIFC35ggPX80xZ8cF9SLXq0%3D&reserved=0

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62&data=02|01|navya%40microsoft.com|09f4544bddd6482685e908d660658f27|72f988bf86f141af91ab2d7cd011db47|1|0|636802386646950521&sdata=njD9Bqe0SKt2yjgKghI60Vd0lCDdmttlvuA1g5LSjIw%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALT8OF6XKdHQm7yRbl9moSlGP--f7-Ppks5u4VTGgaJpZM4ZQRK_&data=02|01|navya%40microsoft.com|09f4544bddd6482685e908d660658f27|72f988bf86f141af91ab2d7cd011db47|1|0|636802386646950521&sdata=e%2B0Uxf1Z8Wa%2BbnF30L%2FzLueYJSuEZ63S7MOjadBMfqA%3D&reserved=0.

Hi Navy,
https://github.com/Azure/Service-Fabric-Troubleshooting-Guides/pull/63
I meant version for wastorage.dll if you have that info.  Thanks
Root Cause Analysis

Service Fabric Clusters running on the 6.4.617.9590 runtime have wastorage.dll added in our runtime dependencies, therefore we will automatically strip wastorage.dll from applications packages being deployed.
If the version of wastorage.dll in the customers application package doesn't match the Service Fabric runtime's version (#VERSION_TO_BE_ADDED_HERE) the customers application will crash continuously.
Analysis of the exception (crash dump analysis) will show it is failing to load wastorage.dll.

Thanks,
Steve Edwards
Senior Technical Advisor
Azure Developer Support
Office:<PHONE_NUMBER>
Mobile:<PHONE_NUMBER>
sedwards<EMAIL_ADDRESS><EMAIL_ADDRESS>Please note that, my normal working hours are Monday- Friday {10am - 6pm CST}. If you need assistance outside of my working hours please send an email to azbackup<EMAIL_ADDRESS>with your case number and one of my colleagues will continue working with you.
From: Navy Ahmed<EMAIL_ADDRESS>Sent: Wednesday, December 12, 2018 1:15 PM
To: Azure/Service-Fabric-Troubleshooting-Guides<EMAIL_ADDRESS>Steve Edwards<EMAIL_ADDRESS>Alan Warwick<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Oana Platon<EMAIL_ADDRESS>Azure Service Fabric Engineering Leads<EMAIL_ADDRESS>Subject: RE: [Azure/Service-Fabric-Troubleshooting-Guides] wastorage.dll issue TSG draft (#62)
@Steve<EMAIL_ADDRESS>Windows Runtime v6.4.621.9590
Thanks
From: Steve Edwards <notifications<EMAIL_ADDRESS>Sent: Wednesday, December 12, 2018 11:11 AM
To: Azure/Service-Fabric-Troubleshooting-Guides <Service-Fabric-Troubleshooting-Guides<EMAIL_ADDRESS>Cc: Subscribed <subscribed<EMAIL_ADDRESS>Subject: [Azure/Service-Fabric-Troubleshooting-Guides] wastorage.dll issue TSG draft (#62)
I still need the version # SF Runtime is referencing

You can view, comment on, or merge this pull request online at:
https://github.com/Azure/Service-Fabric-Troubleshooting-Guides/pull/62https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62&data=02|01|Steve.Edwards%40microsoft.com|7f2f717194634bde1e5908d660660b8c|72f988bf86f141af91ab2d7cd011db47|1|0|636802388731157730&sdata=5uefor4yD0MC%2BCzbO7mubn8LFAWPCou0BxNNy0Yz2b8%3D&reserved=0
Commit Summary

wastorage issue draft

File Changes

A Known_Issues/Application crashes after upgrade on Fabric 6.4.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62%2Ffiles%23diff-0&data=02|01|Steve.Edwards%40microsoft.com|7f2f717194634bde1e5908d660660b8c|72f988bf86f141af91ab2d7cd011db47|1|0|636802388731167739&sdata=eAAOeTCgehX3dz8P96L%2BP5cBEHdloV2cRby7uI%2BjnbU%3D&reserved=0 (24)

Patch Links:

https://github.com/Azure/Service-Fabric-Troubleshooting-Guides/pull/62.patchhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62.patch&data=02|01|Steve.Edwards%40microsoft.com|7f2f717194634bde1e5908d660660b8c|72f988bf86f141af91ab2d7cd011db47|1|0|636802388731177743&sdata=Uvv5YvvlpM%2F69bk8R02TSCJ%2F31CCB1cAUK2Kb%2BFLp%2Bw%3D&reserved=0
https://github.com/Azure/Service-Fabric-Troubleshooting-Guides/pull/62.diffhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62.diff&data=02|01|Steve.Edwards%40microsoft.com|7f2f717194634bde1e5908d660660b8c|72f988bf86f141af91ab2d7cd011db47|1|0|636802388731187751&sdata=VaahEsNHE0tz42ryDViV58wudfUmuvbJC7GcSC7JFeU%3D&reserved=0

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FService-Fabric-Troubleshooting-Guides%2Fpull%2F62&data=02|01|Steve.Edwards%40microsoft.com|7f2f717194634bde1e5908d660660b8c|72f988bf86f141af91ab2d7cd011db47|1|0|636802388731197759&sdata=E42lqCqnP6bJds63U0OrIoyDkv416PmTOvJIYSZnhkc%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALT8OF6XKdHQm7yRbl9moSlGP--f7-Ppks5u4VTGgaJpZM4ZQRK_&data=02|01|Steve.Edwards%40microsoft.com|7f2f717194634bde1e5908d660660b8c|72f988bf86f141af91ab2d7cd011db47|1|0|636802388731207772&sdata=aQdaclKVbzPRFXoflOuBSEmQ9HjdGOEYd4kNJNqrpV0%3D&reserved=0.


Checkpoint-restore-checkpoint-restore loses changes to rootfs

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I believe that diffing root filesystem for checkpointing picks the wrong base for diffing on consecutive checkpoints.

Steps to reproduce the issue:
set -ex
podman run --name test -dit alpine
podman exec -l sh -c 'touch SOME_FILE'
podman exec -l sh -c 'ls *_FILE'                  # SOME_FILE
podman container checkpoint -l -e podman.tar
podman rm test
podman container restore -i podman.tar -n clone
podman exec -l sh -c 'touch SECOND_FILE'
podman exec -l sh -c 'ls *_FILE'                  # SOME_FILE SECOND_FILE
podman container checkpoint -l -e podman.tar
podman rm clone
podman container restore -i podman.tar -n clone
podman exec -l sh -c 'touch THIRD_FILE'
podman exec -l sh -c 'ls *_FILE'                  # SOME_FILE THIRD_FILE
podman container stop -t1 clone
podman rm clone

Describe the results you received:
Changes to the rootfs between first and second checkpoint are lost.
Describe the results you expected:
All changes to the rootfs are preserved.
Additional information you deem important (e.g. issue happens only occasionally):
Sorry about not testing against the latest version, but updating breaks my setup and a cursory glance across the files touched in #3443 hints at no relevant changes since that time.
Possibly interested person: @adrianreber
Possibly relevant investigation starting place: GetDiffTarStream https://github.com/containers/libpod/blob/39c705e9405faa4d02b71165d05eec1e7bb44d93/libpod/diff.go#L66
Output of podman version:
Version:            1.6.2
RemoteAPI Version:  1
Go Version:         go1.12.10
OS/Arch:            linux/amd64

Output of podman info --debug:
  compiler: gc
  git commit: ""
  go version: go1.12.10
  podman version: 1.6.2
host:
  BuildahVersion: 1.11.3
  CgroupVersion: v1
  Conmon:
    package: conmon-2.0.2-1.fc30.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.2, commit: a89d21975ee86e84e0b0e1c0f887687582f4b0e3'
  Distribution:
    distribution: fedora
    version: "30"
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  MemFree: 724291584
  MemTotal:<PHONE_NUMBER>6
  OCIRuntime:
    name: runc
    package: containerd.io-1.2.10-3.2.fc30.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc8+dev
      commit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 8
  eventlogger: journald
  hostname: asosedkin-t480s
  kernel: 5.3.12-200.fc30.x86_64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: slirp4netns-0.4.0-4.git19d199a.fc30.x86_64
    Version: |-
      slirp4netns version 0.4.0-beta.2
      commit: 19d199a6ca424fcf9516320a327cedad85cf4dfb
  uptime: 27h 31m 14.02s (Approximately 1.12 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/asosedki/.config/containers/storage.conf
  ContainerStore:
    number: 0
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-0.6.5-2.fc30.x86_64
      Version: |-
        fusermount3 version: 3.6.2
        fuse-overlayfs: version 0.6.5
        FUSE library version 3.6.2
        using FUSE kernel interface version 7.29
  GraphRoot: /home/asosedki/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 0
  RunRoot: /run/user/1000
  VolumePath: /home/asosedki/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.6.2-2.fc30.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):
A fairly regular Fedora 30 box.

Thanks for the bug report. I just tried it on RHEL 8 with the latest podman from git and I cannot reproduce it. I will also try it on Fedora 30 next.
Thinking about it, it should not be a problem. We are doing the diff always against the original layer and on restore all rootfs changes are applied on that layer, which should give the correct result in following checkpoints.

I can confirm the result on Fedora 30. Strange.

I can see that the rootfs diff in the exported checkpoint archive has the wrong content. The complete file-system is included. Confirming that this broken. I will provide a fix.

Tried same Fedora 30 box but with podman-1.6.2-2.fc31 and runtime = "runc", same result.

I've tried podman 2:1.7.0-0.16.dev.gitc1a7911.fc32 and now it works as expected. Thanks!


Uncaught TypeError: Cannot read property 'VUE_DEVTOOLS_ROOT_UID' of undefined

Version
5.0.0-beta.1
Browser and OS info
Chrome Windows 69 & Windows 10
Steps to reproduce
$ vue create test
$ cd test
$ npm run serve

then use vue-devtools plugin and select the performance tab.... No message in the console.
Then
$ vue add vuetify
$ npm run serve

Then
Use vue-devtools plugin and select the performance tab....
Error message in the console:
Uncaught TypeError: Cannot read property 'VUE_DEVTOOLS_ROOT_UID' of undefined
What is expected?
No error
What is actually happening?
An error fires in the dev tools console:
Uncaught TypeError: Cannot read property '__VUE_DEVTOOLS_ROOT_UID__' of undefined

Upgraded frrom vue-devtools 4.1.5 to 5.0.0-beta.1. No other changes. Works fine in 4.1.5.

+1 for macOs + Chrome.

ticket dup https://github.com/vuejs/vue-devtools/issues/755 #755

Ah yes, good catch, it is indeed a dup of #755. I had searched through the issues before I posted but didn't see that one. Sorry. Feel free to close this if not helpful.


[Bug] wrong System.FormatException exception is logged in Application Insights

Which version of Microsoft.IdentityModel are you using?
Microsoft.IdentityModel 6.15.1 in Microsoft.AspnetCore.Authentication.JwtBearer 7.0.7
Where is the issue?
/ConfigurationManager.cs

[ ] M.IM.JsonWebTokens
[ ] M.IM.KeyVaultExtensions
[ ] M.IM.Logging
[ ] M.IM.ManagedKeyVaultSecurityKey
[x ] M.IM.Protocols
[ ] M.IM.Protocols.OpenIdConnect
[ ] M.IM.Protocols.SignedHttpRequest
[ ] M.IM.Protocols.WsFederation
[ ] M.IM.TestExtensions
[ ] M.IM.Tokens
[ ] M.IM.Tokens.Saml
[ ] M.IM.Validators
[ ] M.IM.Xml
[ ] S.IM.Tokens.Jwt
Other (please describe)

Expected behavior
No System.FormatException is logged and the correct exception is visible to continue proper error search
Actual behavior
If the configuration can not be obtained from a jwt server instance and PII is disabled a wrong System.FormatException exception is logged in Application Insights
System.FormatException:
at System.Text.ValueStringBuilder.AppendFormatHelper (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.String.FormatHelper (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1+d__18.MoveNext (Microsoft.IdentityModel.Protocols, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
With enabled PII in the Startup of the service the following exception is logged which helps in detecting the error
IDX20803: Unable to obtain configuration from: 'https://auth.test.server.xxx.com/.well-known/openid-configuration'.
Additional context / logs / screenshots / links to code
Without PII

With PII

Hi Team,
We are also facing the same issue from our side. Any solution for this.


Update README.md

Q
A

Bug fix?
yes

New sample?
no

Related issues?
n/a

What's in this Pull Request?
Fix image file name.

thx Aaron.


Feat workflow visualize

This PR is about a new feature that is using the Graphviz library to visualize a Workflow or WorkflowTemplate.
The generated image that is a PDF by default can be used to better understand the execution order of the Tasks in a Workflow and/or can be used to put the generated image into a project documentation.

This is awesome @Matt9993! 🚀 I will review this PR this weekend!

@Matt9993 any chance you can upload a sample file visualization of the workflow? I think it would aid to the review of this PR!

Sorry @flaviuvadan  for only solving this now but the coverage check was always messing up my PR. I hope now it looks good to you. If you have any suggestions please tell me and I`m happy to implement it.

I looked through the documentation of the graphviz dependency and it seems that it may have a runtime dependency on the GraphViz engine here. Is that correct?

Yeah I think you are right. Are you thinking about putting the import into the tool.poetry.dev-dependencies or maybe something separate just for the visualization functionality?

My main concern with the extra requirement is that it will make Hera no longer a stand-alone package - users will have to install additional elements, such as the GraphViz rendering engine. Given that Hera aims to be simple and provide easy access to Argo Workflows I do not think this additional dependency fits the mission. If the dependency were only the PyPI graphviz package this would 100% be approved! Because of this limitation I will reject the PR. However, perhaps there might be different graph drawing approaches that can solve the visualization problem and use a PyPI package that can be installed without any secondary runtime dependencies, such as a rendering engine. That would be amazing contribution, such as this one! I am very thankful for the contribution @Matt9993 and I hope to see future ones as well 🙂


Stepwise for auto_arima

Add stepwise arg/process for auto_arima. This is less naïve than the parallel grid approach and should typically converge faster.

This was merged into develop in  117f82f


Java 2.2: OPPs Principal

Description 📜
Add audio, documentation, and video regarding the OPPs Principal.

Domain of Contribution 📊

[x] Java

Location of File to be added
The files should be added inside the OPPs Principal folder which is inside the Fundamental present in the  Java main folder.  The documentation file can be in the .md/.py/.ipynb format. Audio should be in .mp3 format and to be submitted through a Google drive link. Video can be in any format and should be submitted through a Google Drive link.
Note:

You are required to comment with \assign CONTENT_TYPE, so that other content types can be created at the same time.
Failing to comment in the above manner will lead to the removal of assignment from the issue even if the bot assigns.
You are required to do a PR within 7 days otherwise you will be unassigned and others will be assigned.
Issues will be assigned on a first come first serve basis.

\assign Document

\assign Document & Audio

\assign Document

\assign Audio & Video

\assign Document

@amitx007 go with documentation

\assign Audio & Video

@Binita-tech go with audio

\assign Video

\assign video

\assign document

@PVenkatArvind You have assigned for video.

\assign document (and \assign video( I have worked on Illustration)

@shahishree03 All the contents have been assigned. You can definitely add illustrations once after the current video assignees have merged their PR, and work in other issues for the time being. Please give me a reminder after a week for this issue, I will assign it to you.

okay sir
Thank you


enhancement: add storage deposit to native token minting

Summary
This PR includes the preparation of the foundry creation  to deduce and display the required storage deposit
Changelog
- add storage deposit to native token minting

Relevant Issues
Closes #4892
Testing
Platforms

Please select any platforms where your changes have been tested.

Desktop

[ ] MacOS
[ ] Linux
[ ] Windows

Mobile

[ ] iOS
[ ] Android

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...
Checklist

Please tick all of the following boxes that are relevant to your changes.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or modified tests that prove my changes work as intended
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

Also something seems to have broken the alias id selector and it is showing undefined on the mint nft form. Perhaps we can fix that quickly in this pr.


Log to seperate file

We have an application that logs user interaction with an application which interfaces with a bank. Naturally this is all very sensitive, but for auditing purposes its required.
Currently we use our own logging component, which we can invoke as follows:
GlobalLogger = banking_application.
ok = glog:write(GlobalLogger,"User ~p has cancelled transaction ~p", [User, Trx]).

The atom maps to a glog configuration entry with its filename etc.
Is there anyway to do this using lager?
Some issues which would be resolved by addressing this question include #144 #230, as they essentially was to achieve the same thing.

Hi. The forthcoming 3.0 branch allows for multiple sinks which is exactly what you're asking for here.

+1


Update how-to-assign-roles.md

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

Hello @nishankgu - Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.
After you review staging and fix all validation issues, you can add the sign-off comment to let PR reviewers know that the updates are ready to be merged.
For more information, see Should I work in a private or a public repo?
Would you create a pull request in the private repo to make these updates? We'll close this PR. Thank you.

Thanks!


[Python] Deal with a breaking change

The changes produced in PR #110 break existing behavior and public APIs. Attributes with no leading underscores are considered public API.
Related: #134 @shniubobo
Difference
Formerly ( ef67d36 ):
$ ipython
Python 3.8.2 (default, May 22 2020, 21:44:03)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.14.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import RADWIMPS

In [2]: RADWIMPS.RADWIMPS.then().then().then().世()
前前前世
Out[2]: RADWIMPS.RADWIMPS

In [3]:
Do you really want to exit ([y]/n)? y
$

And now ( 7cbc601 ):
$ ipython
Python 3.8.2 (default, May 22 2020, 21:44:03)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.14.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import RADWIMPS

In [2]: RADWIMPS.RADWIMPS.then().then().then().世()
Out[2]: 前前前<coroutine object RADWIMPS.世 at 0x106eb48c0>

In [3]:
Do you really want to exit ([y]/n)? y
/Users/takumi/.pyenv/versions/3.8.2/lib/python3.8/site-packages/IPython/core/interactiveshell.py:1445: RuntimeWarning: coroutine 'RADWIMPS.世' was never awaited
  self.user_ns_hidden.clear()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

No print() on invocation of RADWIMPS.then()
Returns a coroutine instead of RADWIMPS.RADWIMPS
Python scolds us on exit

This kind of change will confuse the users of the RADWIMPS module as it is not intended to return async stuff. While it is a joke repository, breaking changes should be carefully considered and avoided.
Improvement
Async APIs are worth having. Forking RADWIMPS.py should solve this issue and rolls back to the code it ought to be. While async modules are named like asyncfoobar.py in general, it's better to name it RADWIMPS_async.py here.
$ cp RADWIMPS.py RADWIMPS_async.py  # queer capitalizing tho ;)
$ git revert 7cbc601
$ git add RADWIMPS_async.py
$ git commit -m "blahblah"

Thank you very much for pointing out the issue and providing its solution. I will make another pull request to fix the issue and suspend #134.


App completely broken

no prompts work, get this error: "SyntaxError: Unterminated string in JSON at position"

Fixed after using most recent version of openai library.


Adding support for split files

https://github.com/Laravel-Lang/lang/pull/1748

Release Candidate. Waiting for https://github.com/Laravel-Lang/lang/pull/1748.


Page extension overriding field ToolTip doesn't work if language is English (United Kingdom)

similar to https://github.com/microsoft/AL/issues/5429
pageextension 50100 CustomerListExt extends "Customer List"
{
    layout
    {
        modify(Name)
        {
            ToolTip = 'Can you see me...';
        }
    }
}

with English (United Kingdom) - keeps the original ToolTip:

with English (United States) or e.g. Dutch (Netherlands) - takes the extended one:

AL extension:
Name: AL Language
Id: ms-dynamics-smb.al
Description: AL development tools for Dynamics 365 Business Central
Version: 7.1.453917
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al

running against BC 17.5 MS cloud sandbox.

The language used for captions is en-us. If you want to use another language, you need to use an XLIFF file with translations.

I don't think you understood the thread... or I don't think I understand how any of this is meant to work.
The issue is that overriding a tooltip with the non-ML ToolTip property does not work in en-GB and possibly in other languages. Surely they should default to the untranslated text from the extension property?
Are you really saying that for new captions/tooltips to work in languages other than en-US, we need to create an XLIFF file and translate them? Shouldn't those other languages fallback to the en-US / non-ML text if no specific translation of their own is available?

and if en-GB isn't meant to work like this, then why did Dutch (Netherlands) ??
Please re-read and open if relevant, or if this really isn't meant to work, consistency and documentation is direly needed.

en-US is the default language for captions specified as "ToolTip". The runtime should default to en-US if a caption for the current language is not found, but that is a runtime issue, and not a developer tools issue. As stated in the readme, those need to be addressed through support.

OK, I've opened a bug with our support partner, and hopefully they can get it to the relevant team.
It would be great if there could be a 'fast track' for that, e.g. if the platform team (or whoever) had a private GitHub repo, to which you could transfer issues that are verifiable. I understand they don't want an open repo for every random BC/NAV/Navision/Attain user in the world to ask how to add posting groups... but having to go through partners is tough and sometimes futile, at least if your partner says 'it has been like that forever, so I guess MS will not care, closing'... sigh.

I totally understand. As far as I know, there aren't any plans to expand GitHub to other teams so this is the only way to get this issues fixed.

Our partner advise that "a ticket has been raised with Microsoft Technical support under ticket no:<PHONE_NUMBER>001848" 🥳 🤞

updates from my ticket with MS:
MS:

Just wanted to give you an update, during my tests I was able to replicate the same behavior as you mentioned.
I tested in tenants with different Localization (UK and BE) and when changing the Region and Language for not being English US but for the specific environment localization language, the behavior is like you described.
Additionally I was analyzing if the environment would have any language app installed that could cause this, but everything is clear in regards to that.
I will share these findings with our team responsible for this development, it seems that this bug reappeared again.
Once I have more details from our development team I will let you know._

me:

Just to check, did you test/replicate both the PageExtension->ToolTip and TableExtension->Caption problems? As I guess they might have a similar root cause, so maybe best to report/fix both at the same time. If you didn’t already of course :-D

MS:

Thank you for the heads up in regards to TableExtension->Caption. I just tested right now and I’m experience the same bug as you.
I have just addressed the same to our team to have this into consideration as well.
Both these 2 scenarios (PageExtension->ToolTip and TableExtension->Caption) were tested and addressed. And you are right, report both at the same time will be better for all. The same team will be handling these 2 scenarios.
At this moment I’m waiting for their feedback, once I have any details I will let you know.

I was invited to a meeting with MS where they shared a PowerPoint that explained the current order of resolution/precedence of captions/translations between various sources. I don't fully understand it yet, but I think it does indicate this is intended behaviour, at least in my cases.
Basically,

when providing non-ML Caption/ToolTip/etc., that's treated as en-US. And en-US (or, failing that, object/field name) is the ultimate fallback if no 'better' translations are available.
...but if I now deploy that in an extension, to a tenant running the en-GB localised base app, and view it as a user whose Language is en-GB...
...the rules of precedence dictate that the en-GB translation from the base app wins, because I'm a user set to show en-GB - so suppressing my en-US one from the extension.

MS are going to document this properly (and perhaps tweak the logic later, if demand arises) so that at least no one else will get confused. Watch this space! ;-)

Here is MS's summary, followed by screengrabs of their PowerPoint presentation, with tables of the 'weighting'/precedence of different sources of translations, with numerically higher ones winning out.
Hope this helps others too!

We have the possibility to share with you a little test scenario with Caption and Tooltip and also explaining how the translation works.
Attached you will find the slide presentation we used in our teams meeting.
We explained both scenarios highlighted on this ticket.
Let’s share our explanation for the ToolTip.
When you are using, what we call, a label property like Caption or Tooltip, then the language it is going to target is English-United States (ENU), which means that
Caption = ‘My English Text’;

Is the same as
CaptionML = ENU = ‘My English Text’;

You have a GB tenant which comes with English-Great Britain (ENG) translations.
So when the system has to pick a translation it tries to find the best match, and in the mix of possible translations it finds

ENU = ‘Test’
ENG = ‘Specifies the ….’
And maybe more.

So when you set the language in settings to ENG, then it starts out by looking at can it find a translation with ENG, and it does so the text ‘Specifies the…’ is shown.
When you then change to ENU then it also get’s a match on the user specified language and text ‘Test’ is shown..
Now the explanation for the Caption.
When it comes to finding the translation for Page Controls then it uses the same logic as for Page Actions, with a small twist. If it can’t find any translation that matches the language the user has set, including the fallback to the primary language of the user specified one, and ENU (ENU is hard coded) then it looks at the table field that is referenced in the page control.
The control called ‘Name’ doesn’t have a caption on it, but all table fields does, so the table field has a translation for ENG.
When you then write a caption on the page control, then it is getting caught by the fallback logic, before it starts to look at the table fields.
And last for the Caption on the TableExtensions modify field, is the same story as for the ToolTip.
All in all, the system works as intended. It might not be the most intuitive system as we shared, but we are working with docs writer about making a page about how all of this works, so all our Customers and Partners better understand it.


Variable Substitution

Greetings!
I have a problems with Variable Substitution.
Got one of yaml parameter like "$ERF", and when applications start, got error
"variable 'ERF' not found"
Try to do like this:
config = commandline.config_from_options(options, TRAFARET, vars=None)
but in this case got another error:

replaced[key] = self.__vars.get(key)

AttributeError: 'NoneType' object has no attribute 'get'

Installed version:
trafaret-1.2.0
trafaret-config-2.0.1

Fixed in v2.0.2, thanks for the report!
By the way, if you want to substitute some vars, but also leav other $things intact in the config, you can pass some special dict in vars. I.e. one which substitutes known/unknown variables to dollar-name. This requires to know which variables must be substituted and which must be left intact, though.


Prevent sending more than 1 email per day

What this PR does:
This is a workaround to have a flag that will be switch until the end of the day.
Currently calling these methods triggers an email, and since the sync process runs every hour an email is sent every hour.
This change takes advantage of the low level caching system to invalidate after certain amount of time.
We cannot persist the state of the email sent in the db because none of this cases are for a specific tariff update.

 [TARIFF16] For each email add in a boolean to say if it was sent today or not

@theharq technically the sync schedule is like 8pm -> 8am, so end of day cache might not work

I see.. so our workers runs every hour from 00:00 to 09:00 and then.. from 18:00 to 23:00
maybe caching only for 9 hours?  maybe 12 hours?

Closing this PR since this is no longer an issue


GURPS 2.8.2

First iteration of resync button.

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description

Options. Sheet-options tab. Added initial Resync button.  First iteration resyncs Skills, Techniques, and spells, along with items linked to them.  Followed by resyncing the weight and cost of items in the inventory.

Character Sheet Info Roll20 Internal Use only.


model.predict_generator & model.fit [Keras] don't give the same prediction for the same image !!

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
N/A (google colab)
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
n/a
TensorFlow installed from (source or binary):
binary
TensorFlow version (use command below):
1.15.2
Python version:
3.6.9
Keras version:
2.1.6

Describe the current behavior
Hi everyone,
I trained a model using Keras.model.fit_generator. However, when I use model.predict_generator(...) and model.predict(...), everything works well BUT I don't get the same predictions for the same image... I am aware of a similar problem https://github.com/keras-team/keras/issues/3477 but I tried everything that was suggested (no augmentation used, shuffle=False, renamed my files,...) and still get different results... Anyone could help please?
Describe the expected behavior
I expect to have the same results...

@Delarti
Please share simple stand alone indented code for us to replicate the issue faced or if possible share colab gist with error faced.


Support hostFeatures in initInteractive message

[#174886713]
I don't know what's up with the Codecov failures given that this PR changes almost nothing from a coverage perspective.

Not great that we are punting the work on the interactive state interfaces though. Is there a separate story to work on that, or can it be rolled into some existing story?

If you are referring to the stubbed out parts of the initInteractive message, I think there should be a separate story. The only contribution of this PR is to properly type the initInteractive message. Fleshing out its contents seems like a non-trivial amount of work -- I don't know that the ActivityPlayer has ready access to everything it would need -- and seemed beyond the scope of this particular story/PR.

Yes I meant the initInteractive message.
Can you put in a story about addressing that?
I can pair with whoever works on it. I think every property the AP doesn't have information on can be made optional, and the rest can be filled out from info the AP already has.

Can you put in a story about addressing that?

[#175207294]


Results filter not working, others works

I had added a couple of result datasets under Results categories but while filtering it doesn't show. Others categories filter work fine, there is "S" missing, is that causing a problem.

@nikeshbalami not it is Fixed..

Yeah, its working now. Thanks!!


MSC2689: Fix E2EE for guests

Rendered
Extends #751

Implemented in https://github.com/matrix-org/synapse/pull/7314

@mscbot fcp merge

@mscbot concern Needs sign-off
@awesome-michael when you get the chance, please add the following to the PR description:
Signed-off-by: Your Name<EMAIL_ADDRESS>

@mscbot resolve Needs sign-off

Spec PR: https://github.com/matrix-org/matrix-doc/pull/2808

Merged 🎉


Repository language is being misclassified

Hi, I have this new repository and is build in meteorjs (Javascript) but appears as CSS.
https://github.com/ktemo/MeteorHackathon2015
Could someone help me with this, please? Do I need to do something extra?
Regards

This file https://github.com/ktemo/MeteorHackathon2015/blob/master/ifeel/client/stylesheets/main.css is skewing your language statistics.
You can tell Linguist to ignore it by using the overrides: https://github.com/github/linguist#overrides


Failed to download Chromium r543305

ERROR: Failed to download Chromium r543305! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: EACCES: permission denied, mkdir '/root/web/www/node_modules/puppeteer/.local-chromium'
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/root/web/www/node_modules/puppeteer/.local-chromium' }

Got stuck on the same problem. How did you fix this?

I am using this in US with AWS ec2 us-west-1 instance.

So your issue is not related to this issue anymore.
I'd like to suggest you change your VPS from AWS to another cloud provider and try again.

{ [Error: EACCES: permission denied, mkdir '/web/carpedm/ec2/node_modules/wechaty/node_modules/puppeteer/.local-chromium']
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path:
'/web/carpedm/ec2/node_modules/wechaty/node_modules/puppeteer/.local-chromium' }
This is the error I get.
sudo npm install<EMAIL_ADDRESS>--unsafe-perm=true --allow-root
This fixes it.

Glad to hear that you had fixed it. It seems that you have a local file system permission issue.


Remove GSAP?

Hello. Thanks for great work with this plugin.
Is there any chance to use this plugin with Velocity instead of GSAP?

Hi & thx @iamdubx,
sadly It's not possible atm because Scrollmagic's Velocity plugin is not yet implemented... I' ll integrate it in the next release, but I miss some time so I think It won't be possible 'til January. Stay tuned

@pirony cool and thanks!


Tele5: Unable to extract video id

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.03.24
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.tele5.de/filme/schlefaz-6-headed-shark-attack/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.8.2 (CPython) - Linux-5.6.4-arch1-1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Proxy map: {}
[Tele5] schlefaz-6-headed-shark-attack: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/tele5.py", line 50, in _real_extract
    video_id = self._html_search_regex(
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1014, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Apparently the site structure changed, so that the video ID cannot be found by regex anymore.
Probably it's just the regex pattern that has to be fixed.
Downloading the exact same URL worked about two months ago.

Download works with my patch (https://github.com/FliegendeWurst/youtube-dl/tree/fix-tele5-again).
I have not opened a PR yet because I do not know how to provide the best available formats without breaking some downloads.


nix-shell -p sl does not work when su-ing into a non-login shell. (Can't locate utf8.pm)

Issue description
nix-shell -p $PROGRAM will fail when running in a shell created by su <username> (as opposed to su - <username>).
Steps to reproduce
On my system:

Have 2 users
SSH from my laptop to the Nixos server, first user
$ su seconduser
$ nix-shell -p git

$ nix-shell -p git
Can't locate utf8.pm:   /home/x/.nix-profile/lib/perl5/site_perl/utf8.pm: Permission denied at /run/current-system/sw/bin/nix-shell line 3.
BEGIN failed--compilation aborted at /run/current-system/sw/bin/nix-shell line 3.

Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
Nix version: (run nix-env --version)
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf)

x@MacBook-Pro:~$ ssh nuc
Enter passphrase for key '/Users/x/.ssh/id_x_nuc_nixos':
Last login: Sat Jul  8 11:19:02 2017 from <IP_ADDRESS>

[x@nixos:~]$ nixos-version
17.03.945.5acb454e2a (Gorilla)

[x@nixos:~]$ nix-env --version
nix-env (Nix) 1.11.8

[x@nixos:~]$ nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
"17.03.945.5acb454e2a"

[x@nixos:~]$ grep build-use-sandbox /etc/nix/nix.conf
build-use-sandbox = false

IRC log - conversation from #nixos@freenode today Sat 8. Times are in CET (Berlin, DE)
[Sat Jul  8 2017]
<ioajewf> Hi! Nixos-loving newbie here. I've created a second user account (by
          editing /etc/nixos/configuration.nix). When in the new account I
          want to use nix-shell -p. It tells me it can't locate utf8.pm -
          which sounds crazy to me. This is the output I get:
          https://pastebin.com/raw/H4ifG6gq. I suspect a chmod is needed - but
          am wondering if this is a known error or if I screwed up especially
          bad?                                                          [12:46]

Output from https://pastebin.com/raw/H4ifG6gq
nix-shell -p git
Can't locate utf8.pm:   /home/x/.nix-profile/lib/perl5/site_perl/utf8.pm: Permission denied at /run/current-system/sw/bin/nix-shell line 3.
BEGIN failed--compilation aborted at /run/current-system/sw/bin/nix-shell line 3.

<gchristensen> ioajewf: as your new user, what does the env var $NIX_REMOTE
               contain?                                                 [12:49]
<ioajewf> gchristensen: $ echo $NIX_REMOTE                              [12:50]
<ioajewf> daemon
<gchristensen> hmmm how did you log in as this user?
<ioajewf> I log into my first user (named "x") via SSH - then I did sudo to
          get to the new user                                           [12:51]
<ioajewf> su
<ioajewf> not sudo - su. Sorry
<gchristensen> oh! there we go :)                                       [12:52]
<gchristensen> ioajewf: maybe try doing `sudo su theaccount -`
<ioajewf> gchristensen: Thank you. It gives a different error - still does not
          work. This is the error I get: https://pastebin.com/raw/HeFVwB7s
                                                                        [12:55]

Output from https://pastebin.com/raw/HeFVwB7s
$ sudo su monero -
[sudo] password for x:
Sorry, try again.
[sudo] password for x:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

# Changing users was successful - am now new user
$ nix-shell -p git
bash: cannot set terminal process group (10498): Inappropriate ioctl for device
bash: no job control in this shell

<gchristensen> exciting ...
<ioajewf> Happy one of us thinks so ;-)
<gchristensen> can you (as x, and then as newuser) run `env | grep NIX` and
               paste those separately?
<ioajewf> gchristensen: They look very different!
          https://pastebin.com/raw/H21UVXdu

Output from https://pastebin.com/raw/H21UVXdu
$ whoami
x

$ env | grep NIX
NIX_REMOTE=daemon
NIX_PROFILES=/run/current-system/sw /nix/var/nix/profiles/default /home/x/.nix-profile
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
NIX_OTHER_STORES=/run/nix/remote-stores/*/nix
NIX_ENFORCE_NO_NATIVE=1
NIX_CONF_DIR=/etc/nix
NIX_STORE=/nix/store
IN_NIX_SHELL=1
NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/x
NIX_LDFLAGS=-rpath /nix/store/sbqw3qsx3rsw428m8sym4qsi0wxifhlb-shell/lib64 -rpath /nix/store/sbqw3qsx3rsw428m8sym4qsi0wxifhlb-shell/lib
NIX_BUILD_CORES=1
NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix
NIX_BUILD_TOP=/run/user/1000

$ sudo su monero -

$ whoami
monero

$ env | grep NIX
NIX_REMOTE=daemon
NIX_PROFILES=/run/current-system/sw /nix/var/nix/profiles/default /home/monero/.nix-profile
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
NIX_OTHER_STORES=/run/nix/remote-stores/*/nix
NIX_CONF_DIR=/etc/nix
NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/monero
NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix

<gchristensen> ioajewf: are you in a nix-shell when you sudo su?        [12:58]
<ioajewf> gchristensen: I don't think so - my prompt looks like
          "[monero@nixos:~]$ " and usually when in nix-shell there are a few
          more "[" and "]" around that. Just fresh of SSH from my laptop to my
          home server, running Nixos
<gchristensen> ioajewf: when you ran the whoami for x, were you in a nix
               shell?
<ioajewf> No - the whole paste is unadultered, except for the prompt being
          shortened to a "$".
<ioajewf> gchristensen:                                                 [13:01]
<gchristensen> ioajewf: I believe you, but the environment for x shows things
               that are usually only present in a nix shell -- most notably
               IN_NIX_SHELL=1
<gchristensen> so I'm curious if you're accidentally getting in to a nix shell
               somehow                                                  [13:02]
<ioajewf> gchristensen: Will create a new SSH session and re-run those
          commands. Is nix-shell not supposed to be nesting? When running as
          x, I often nest it with success (a reason why I adore this
          distro...). Brb with a new paste :)                           [13:03]
<gchristensen> ioajewf: let's get you fixed, then we can test :)
<ioajewf> gchristensen: OK - here is the paste. Ran a nix-shell in the end and
          included that. https://pastebin.com/raw/KqrG7iTN

Output from https://pastebin.com/raw/KqrG7iTN
# Absolutely fresh SSH session

x@MacBook-Pro:~$ ssh nuc
Enter passphrase for key '/Users/x/.ssh/id_x_nuc_nixos':
Last login: Sat Jul  8 10:28:56 2017 from <IP_ADDRESS>

[x@nixos:~]$ whoami
x

[x@nixos:~]$ env | grep NIX
NIX_REMOTE=daemon
NIX_PROFILES=/run/current-system/sw /nix/var/nix/profiles/default /home/x/.nix-profile
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
NIX_OTHER_STORES=/run/nix/remote-stores/*/nix
NIX_CONF_DIR=/etc/nix
NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/x
NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix

[x@nixos:~]$ sudo su monero -
[sudo] password for x:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

[monero@nixos:/home/x]$ whoami
monero

[monero@nixos:/home/x]$ env | grep NIX
NIX_REMOTE=daemon
NIX_PROFILES=/run/current-system/sw /nix/var/nix/profiles/default /home/monero/.nix-profile
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
NIX_OTHER_STORES=/run/nix/remote-stores/*/nix
NIX_CONF_DIR=/etc/nix
NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/monero
NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix

[monero@nixos:/home/x]$ nix-shell -p sl
error: couldn't open current directory: Permission denied
(use ‘--show-trace’ to show detailed location information)
cannot chdir to /home/x from /tmp/nix-shell.wPDht8: Permission denied, aborting. at /nix/store/0355ax6rzgv7fz1n4gg8sn501hws7i75-perl-5.22.2/lib/perl5/5.22.2/File/Temp.pm line 784.

<gchristensen> ioajewf: hmm what if you first `cd` out of /home/x, then run
               nix-shell as monero?                                     [13:08]
<ioajewf> gchristensen: So this works: https://pastebin.com/raw/WLe6CQaC. I
          did the same when changing user with `su monero` rather than `sudo
          su monero -`. With `su monero` I get this output again:
          https://pastebin.com/raw/Q632uHfd

Output from https://pastebin.com/raw/WLe6CQaC
[monero@nixos:/home/x]$ cd ~

[monero@nixos:~]$ nix-shell -p sl
these paths will be fetched (0.01 MiB download, 0.02 MiB unpacked):
  /nix/store/r830ycsqxv6j4jdfa4sq8wh7303mijr8-sl-5.02
fetching path ‘/nix/store/r830ycsqxv6j4jdfa4sq8wh7303mijr8-sl-5.02’...

*** Downloading ‘https://cache.nixos.org/nar/0rc8bd6654fx4w204kbi2b7599qimnnmwb0kix7448z44hzxwqkd.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/r830ycsqxv6j4jdfa4sq8wh7303mijr8-sl-5.02’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5864  100  5864    0     0   5774      0  0:00:01  0:00:01 --:--:--  6140

bash: cannot set terminal process group (10704): Inappropriate ioctl for device
bash: no job control in this shell

[nix-shell:~]$ sl

                              (  ) (@@) ( )  (@)  ()    @@    O     @     O     @      O
                         (@@@)
                     (    )
                  (@@@@)

                (   )
             ====        ________                ___________
         _D _|  |_______/        \__I_I_____===__|_________|
          |(_)---  |   H\________/ |   |        =|___ ___|      _________________
          /     |  |   H  |  |     |   |         ||_| |_||     _|                \_____A
         |      |  |   H  |__--------------------| [___] |   =|                        |
         | ________|___H__/__|_____/[][]~\_______|       |   -|                        |
         |/ |   |-----------I_____I [][] []  D   |=======|____|________________________|_
       __/ =| o |=-~~\  /~~\  /~~\  /~~\ ____Y___________|__|__________________________|_
        |/-=|___|=    ||    ||    ||    |_____/~\___/          |_D__D__D_|  |_D__D__D_|
         \_/      \O=====O=====O=====O_/      \_/               \_/   \_/    \_/   \_/

Output from https://pastebin.com/raw/Q632uHfd
\[\][nix-shell:~]$\[\] ^C
Session terminated, terminating shell...

\[\][nix-shell:~]$\[\]  ...killed.

[x@nixos:~]$ ^C

[x@nixos:~]$ ^C

[x@nixos:~]$ whoami
x

[x@nixos:~]$ su monero
Password:

[monero@nixos:/home/x]$ cd ~

[monero@nixos:~]$ nix-shell -p monero
Can't locate utf8.pm:   /home/x/.nix-profile/lib/perl5/site_perl/utf8.pm: Permission denied at /run/current-system/sw/bin/nix-shell line 3.
BEGIN failed--compilation aborted at /run/current-system/sw/bin/nix-shell line 3.

<sphalerite> ioajewf: what does `readlink -f /dev/stdin` say in the plain SSH
             session?                                                   [13:15]
<gchristensen> ioajewf: ok, try doing exactly that again, except before doing
               the `su` do 'echo $IN_NIX_SHELL'
<ioajewf> sphalerite: gchristensen: Thanks both of you. Here are the results:
          https://pastebin.com/raw/cHMJuveV                             [13:17]

Output from  https://pastebin.com/raw/cHMJuveV
[x@nixos:~]$ logout
Connection to <IP_ADDRESS> closed.
x@MacBook-Pro:~$ ssh nuc
Enter passphrase for key '/Users/x/.ssh/id_x_nuc_nixos':
Last login: Sat Jul  8 11:03:42 2017 from <IP_ADDRESS>

[x@nixos:~]$ readlink -f /dev/stdin
/dev/pts/0

[x@nixos:~]$ echo $IN_NIX_SHELL

[x@nixos:~]$ # Not in nix shell - just plain SSH into here.

[x@nixos:~]$ su monero
Password:

[monero@nixos:/home/x]$ nix-shell -p sl
Can't locate utf8.pm:   /home/x/.nix-profile/lib/perl5/site_perl/utf8.pm: Permission denied at /run/current-system/sw/bin/nix-shell line 3.
BEGIN failed--compilation aborted at /run/current-system/sw/bin/nix-shell line 3.

[monero@nixos:/home/x]$ sl
sl: command not found

[monero@nixos:/home/x]$

<sphalerite> What if you use su - monero rather than just su monero?    [13:18]
<gchristensen> ioajewf: man ... I'm running out of ideas ... what if you
               pasted the output of: ls -la /home/monero/.nix*
<domenkozar> gchristensen: we can enumerate the benefits                [13:20]
<domenkozar> that might trigger more testers :
<ioajewf> sphalerite: What the hell?!?!? https://pastebin.com/raw/xfib6fZV
          Worked flawlessly with the dash "-" added

Output from https://pastebin.com/raw/xfib6fZV
[x@nixos:~]$ logout
Connection to <IP_ADDRESS> closed.
x@MacBook-Pro:~$ ssh nuc
Enter passphrase for key '/Users/x/.ssh/id_x_nuc_nixos':
Last login: Sat Jul  8 11:03:42 2017 from <IP_ADDRESS>

[x@nixos:~]$ readlink -f /dev/stdin
/dev/pts/0

[x@nixos:~]$ echo $IN_NIX_SHELL

[x@nixos:~]$ # Not in nix shell - just plain SSH into here.

[x@nixos:~]$ su monero
Password:

[monero@nixos:/home/x]$ nix-shell -p sl
Can't locate utf8.pm:   /home/x/.nix-profile/lib/perl5/site_perl/utf8.pm: Permission denied at /run/current-system/sw/bin/nix-shell line 3.
BEGIN failed--compilation aborted at /run/current-system/sw/bin/nix-shell line 3.

[monero@nixos:/home/x]$ sl
sl: command not found

[monero@nixos:/home/x]$

<gchristensen> :o :D                                                    [13:21]
<sphalerite> Makes it a login shell, which means it'll source the profile
<ioajewf> gchristensen: https://pastebin.com/raw/bAPSBB5i

Output from https://pastebin.com/raw/bAPSBB5i
[nix-shell:~]$ ls -la /home/monero/.nix*
lrwxrwxrwx 1 monero users   45 Jul  8 10:52 /home/monero/.nix-profile -> /nix/var/nix/profiles/per-user/monero/profile

/home/monero/.nix-defexpr:
total 8
drwxr-xr-x 2 monero users 4096 Jul  8 10:52 .
drwx------ 3 monero users 4096 Jul  8 10:52 ..
lrwxrwxrwx 1 monero users   44 Jul  8 10:52 channels_root -> /nix/var/nix/profiles/per-user/root/channels

<gchristensen> sphalerite: why didn't sudo su - nix-shell do that?
<ioajewf> sphalerite: :O I didn't know that - thank you very much.
<sphalerite> As a rule of thumb, to log in as a user — always use su - user
             or sudo -iu user
<ioajewf> gchristensen: no idea...
<sphalerite> sudo + su = chaos
<gchristensen> ioajewf: can you please please please open an issue on
               github.com/nixos/nixpkgs and describe your problem and this
               solution?
<gchristensen> especially mentioning the "Can't locate utf8.pm:
               /home/x/.nix-profile/lib/perl5/site_perl/utf8.pm: Permission
               denied at /run/current-system/sw/bin/nix-shell", maybe even in
               the title of the issue

This fix might help https://github.com/NixOS/nixpkgs/pull/26602

can't repro anymore.


feat(eslint-plugin): Enabled parserOptions.allowAutomaticSingleRunInference

Fixes #890.

I think we're leaving #890 open since we want to understand why this option isn't helping much, but I believe this PR can be closed given we already enable it via the environment variable.


Fork, Commit, Merge - Hard Issue (HTML)

Fork, Commit, Merge - Hard Issue (HTML)
Create a Web Page with Navigation, Content Sections, and Footer
Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!
How to Get Started:
Open the tasks/html/hard directory from the root of your project.
Then open the index.html file.
Objective:
Develop a simple but complete HTML web page as in the screenshots that includes a navigation bar, several content sections (e.g., About, Services, Contact), and a footer. The page should provide a smooth user experience on desktop. It does not have to be responsive so you don't need to worry about the view on smaller screens.

Classes and ID:s:
You can study styles.css to see what classes and id:s possibly to use in your code to make it look same as in the screenshots. You are also welcome to add your own classes if you like.
You can use https://loremflickr.com/320/240 as source for the images. It will create some random images for the project.
Please note that at this stage, the form doesn't need to submit data to any server-side script. Purpose of this task is to just create the form visually without any functionality.

If you are using VS Code and have for example Live Server extension, you can simply open index.html with the server and check how the form looks. After the form is done, you are ready to make a pull request!
If you do not have Live Server extension, you'll find information about installing and how to use it here.

Check out README.md for more instructions and how to make a pull request.
Feel free to ask any questions here if you have some problems!
Also, kindly give this project a star to enhance its visibility for new developers!