Add an ability to provide image family name instead of image name

What feature do you want to see added?
When creating an agent, you can pass an additional image name argument under advanced section. However, my toolchain periodically creates new image and deletes the old one while keeping the image family name same.
Having an option to provide image family instead of image name for the agent to be created would remove the need to configure clouds again and again when a new image is created.
Upstream changes
No response

I'm also looking for this. Any updates?


Project Update

Hi, I'm curious to see how this project went as I'm looking for a plugin for Fusion360 that can generate Hypoid gear sets and you're is the only one that mentions it in any form.

Hey, I'm sorry for the delayed response. I haven't used Fusion in much capacity in the last year and my free time is currently occupied by other things so unfortunately this project isn't the top of my priorities, although I would definitely like to finish it at some point.


ijar tests are broken

Some tests require Java 8 lambdas to compile, and tools/jdk:toolchain has -source=7 -target=7 set. Thus, //src/ijar/test/... does not compile.

Some tests requires a JDK8 in the environment, correct your JAVA_HOME. They explicitely set the good source and target.
This is documented in the developer documentation.

WAI


How to change used nunit 2 version of test adapter to e.g. v2.7.1 ?

How can I change the nunit 2 version of test adapter to e.g. v2.7.1 ?

Libraries here must be updated to the version 2.7.1 of NUnit.

@informatorius   Released a beta version, see https://www.nuget.org/packages/NUnitTestAdapter/2.3.0-beta01


Added MultiPolygon support for mapboxShapes

There's a really easy way to support creating a MGLMultiPolygon from MultiPolygons for Mapbox. A MGLMultiPolygon can be created by passing an array of MGLPolygons ([MGLPolygon]). This is possible because each element in the geometries collection of a MultiPolygon can be parsed into a MGLPolygon

@fedeojeda95 thank you! I'll add you to the Team. I am not currently working with or supporting this lib, and I believe you are, right? If so, It would be great if you can help maintaining it.


Unable to see spatial mapping mesh

Although my app deployed successfully, I was unable to see the spatial mapping mesh as indicated in the 'Congratulations' section of this tutorial. I double checked that I enabled spatial perception (as instructed in 3. Enable spatial perception). I also have both the Unity project configured for MRTK and the MRTK itself configured.
I feel there may be a step missing to enable spatial awareness.  I went back to the project, clicked on the MixedRealityToolkit object in the Hierarchy and clicked on the Spatial Awareness tab. I saw that the box for 'Enable Spatial Awareness System' was unchecked. Once I checked that box, saved the scene, did a new build and deployed the app to my HL2, I was able to see spatial mapping mesh.

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

ID: 62d386bb-3f93-d434-e7b3-28c58ea673e9
Version Independent ID: a1a9b02f-66a0-feb0-7a08-9a8d2cf398d1
Content: Getting started tutorials - 2. Initializing your project and first application - Mixed Reality
Content Source: mixed-reality-docs/mrlearning-base-ch1.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @jessemcculloch
Microsoft Alias: jemccull

@aprilspeight Thanks for pointing this out.
You are correct, the DefaultHoloLens2ConfigurationProfile which is the configuration profile used in the tutorial, does not have the Spatial Awareness System enabled by default, so the configuration profile will need to be cloned and the Spatial Awareness System enabled. You can find this missing step in the first section of the next tutorial, How to configure the Mixed Reality Toolkit Profiles (Change Spatial Awareness Display Option).
Previously, the tutorial used the DefaultMixedRealityToolkitConfigurationProfile, which does have the Spatial Awareness System enabled by default, so this tutorial series was structured to first show the spatial awareness mesh in this tutorial, and then in the next tutorial cover how to clone and configure the MRTK profiles by showing how to hide the spatial awareness mesh.
We will make the necessary adjustments to the tutorial as soon as possible. Thanks again for making us aware of this issue.

Awesome - thanks!


Move $error_codes assignment to constructor

Moved $error_codes assignment to constructor because concatenation fails when declaring properties.

The issue is related to not using php 5.6. Versions prior to this are now end of life.
http://php.net/supported-versions.php


Updating the framework used for docs

Been looking into this a bit on and off, my thoughts are that we should either use the JAMStack or jekyll and gh-pages, any thoughts?

What's you think about docusaurus?
I can try to do a migration test, in exchange maybe someone documents the latest ADTs :wink:

take a look at https://github.com/daKmoR/rocket
it's a metaframework of 11ty. really snappy. we use it for https://modern-web.dev

Check out StaticGen, plenty of options.
Maybe look at Eleventy or Docusaurus as JavaScript based options? I only say this since Jekyll / Ruby requires minor setup on windows (beats Java though).
Improvements / features wish-list:
search - go to the function signature, not just the page (for Combinators, Helpers, etc.)
code syntax - pre-render the code snippets
source / links - add a link to implementation on GitHub?
BTW:
npm i in the docs directory fails, for node >= 11 (tries to compile old node-sass module).

I've been playing locally with https://v2.docusaurus.io/ as an alternative, I think for my vote it's the real winner. I have a local instance of it with some of the initial conversion done and it seems straight forward so far. I can create a branch and upload it this week if we want to work through it together. Bought a new house and renovating that and just had a baby so crocks has taken a bit of a back burner :') but it'll be good to get this conversion complete

I like it too. It let you works on doc not spend time over the infrastructure of the doc site.
I tested it copying the md files from old conf to docusaurus and seems almost ready.
I'm trying to create a docusaurus thema to play javascript examples in page with runkit (like ramda docs).

Fair point, you take that i'll get started on the other ADT's

Today I spent a bit 'of time to play with the doc to finish the POC.
I tried to put the pieces together until the publication on gh-pages (to avoid preparing everything well but then it fails to publish :laughing:)
branch
https://github.com/davidnussio/crocks/commits/feature/docs-v2
gh-pages
https://davidnussio.github.io/crocks/
TODO

Add icons
Working on css style
Add correct font
Integrate reading time?
Search (https://v2.docusaurus.io/docs/search/)
Runkit

Fix scroll (unwanted scroll while switching code/runkit)
Create good layout

This is looking real nice, I didn't realise you'd commented was just thinking about this over the weekend
How are you finding the conversion, is there anything that seems to be tripping you up with it or is it pretty straight forward?

It was really simple, I didn't even need the regexp :)
there are two things that tripping me up:

Home page images, I didn't find the same images
Replicated menu voice in Sidebar Category and Sidebar Item (e.g. Getting Started → Getting Started) Could be changed in Getting Started → [Installation, Import only what's needed]

gotcha, that seems simple enough on the menu thing,
What do we need on the images front?

Icons, main page layout e sidebar item labels done. Demo
What's still missing?


Failure when 'packages' is missing from stack.yaml

stack.yaml isn't required to have a packages entry.
For example: https://github.com/freckle/stack-lint-extra-deps/blob/933e210e1626128516c3a5f1646b04f04ac122e3/stack.yaml
stacklock2nix doesn't handle this case where it is not present.
error:
       … while evaluating the attribute 'packages.x86_64-linux.stack-lint-extra-deps'

         at /nix/store/xlva939kzpr2jmsxppz20mcrm6kb327v-source/flake.nix:57:9:

           56|       packages = forAllSystems (system: {
           57|         stack-lint-extra-deps = nixpkgsFor.${system}.stack-lint-extra-deps;
             |         ^
           58|       });

       … while evaluating the attribute 'x86_64-linux.stack-lint-extra-deps'

         at /nix/store/xlva939kzpr2jmsxppz20mcrm6kb327v-source/flake.nix:95:9:

           94|
           95|         stack-lint-extra-deps =
             |         ^
           96|           final.stack-lint-extra-deps-stacklock.pkgSet.stack-lint-extra-deps;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: attribute 'packages' missing

       at /nix/store/3v8xdvmxxp3wf1w4m05chih2hyxs00bb-source/nix/build-support/stacklock2nix/default.nix:641:30:

          640|   # localPkgs :: [ { pkgPath :: Path, pkgName :: String } ]
          641|   localPkgs = map mkLocalPkg stackYamlParsed.packages;
             |                              ^
          642|

A workaround is to add to stack.yaml:
packages:
  - .

So I suspect the solution is to default the missing attribute value to [ "." ].

@chris-martin Thanks for reporting this.  I think this should be fixable.
Just curious, what you are using stack / stack.yaml for where you don't have any local packages?  I don't think I've seen someone do this before.

where you don't have any local packages

There is a local package, it's just that there is only one. If you don't have a packages entry in stack.yaml, Stack will assume that there is one package and its root is in the same directory as the stack.yaml file.

Oh nice, didn't realize packages worked like this if it is missing.  Let me redo #50 to take this into account.


VPC network policies terraform issue

Hi, after the deploy of 02-networking-nva and 02-networking-security I deployed 2 different projects using 03-project-factories.
I shared the network of my spoke VPC with the target project and I gave the network access to my project user group using the yaml template of the 03-project-factories data folder.
When I go to deploy a new network inside my spoke vpc using 02-networking-nva stack, terraform delete the policies that the project factories create on the existing projects because these configuration will be read as outside terraform config.
Are there any workaround to don't lose the existing network group policies? Maybe I am wrong using the modules ?
Best

Hey rafstef, thank you for the feedback.
Can you provide the instructions to repro this on our side, including the configuration of the VPC you're adding and the policies you've added through the project factory. Thanks!

After discussing and a second user report for the same thing, this is due to the VPC module's subnet factory always setting a binding for compute.networkUser even when no members have been specified. The code is here.


::template(true) -- too much recursion

Looking at your tests as  examples for using the code and ran into an issue with templates. From your tests is seems that providing  the "true" arg to a template should cause it to render automatically, however in practice this leads to a recursion error being raised.  Using code from your basic test case, registering it, and using it in an html file:
var component1 = xtag.create(class extends XTagElement {
'::template(true)'(){
	return `<h1>title auto 1</h1><p>content auto 1</p>`;
}
});
xtag.register('x-component1', component1);

--
<x-component1></x-component1>

Raises this issue in the js console.

Looking into this now.

@dspinhirne I can't seem to raise this error when I run the tests in any browser I am testing with. Are you saying it is behaving differently outside of the test spec?

Yes, this is outside the test spec. I am attempting to use templates as part of one of my own custom components and hit the issue.
In order to verify my own work I used code from your tests and hit the same issue. Basically, I created a js file and copied the code for one of your testing custom components into it. I then created an html file and attempted to use the custom element (x-component1) as shown above. This is where I hit the issue.

I'm sorry this is late @csuwildcat but I ran into the same problem with using templates.

@csuwildcat I guess my only question is, what does the true parameter do? In your specs.js file it says:

"auto-render templates marked with the option", func...

Is this supposed to work like v1's content: property?

In prep for release, I started committing to the v2 branch in the core
repo. This one is behind a few commits.
About the template extension: it's for stamping out child content, and the
true parameter sets it to automatically do so when an element is created.
Can you run the Core v2 tests and tell me what browser and platform it's
failing in? For me it works in all browsers on Windows, and I'm going to
test Mac this week.
On Sep 17, 2017 7:51 PM, "KIP"<EMAIL_ADDRESS>wrote:

@csuwildcat https://github.com/csuwildcat I guess my only question is,
what does the true parameter do? In your specs.js file it says:
"auto-render templates marked with the option", func...
Is this supposed to work like v1's content: property?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/x-tag/core-2/issues/3#issuecomment-330117329, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAICymVUX19q5CQNO8k1ngMNsQIXR0Lcks5sjdq_gaJpZM4NoI2_
.

Yeah no problem, @csuwildcat

Tested out using the template again just now. It's still giving me a recursion error on Firefox 64 bit Nightly build most current edition, and is also giving me a similar error on MS Edge except it says out of out of stack space of course.
On Opera I get an error that points to the file containing the element with the error, Uncaught DOMException: Failed to construct 'CustomElement': The result must not have children.

Could this happen if you haven't patched the shadowDOM? If it is please close the issue. Thank you.

I was just wondering @csuwildcat have you ever thought of switching to yarn?

NPM 5+ has locking and tree shaking, is that the sort of thing you were
looking for in using Yarn?
On Sep 30, 2017 7:55 AM, "KIP"<EMAIL_ADDRESS>wrote:

I was just wondering @csuwildcat https://github.com/csuwildcat have you
ever thought of switching to yarn?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/x-tag/core-2/issues/3#issuecomment-333313721, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAICyu8-PfV3e_rPdWkCMUW51KblveZGks5snlZtgaJpZM4NoI2_
.

Lol, no sorry it was just a personal thing. I was looking at Yarn and thought it was neat and clean. Was also wondering what the advantages would be exactly. Package locking I can see how can be useful but haven't really used it much myself

I think this is probably related to child insertion inside the class constructor, which I can change. The issue I have is that none of my tests fail in Chrome, Firefox, or Edge on Windows - can you provide a failing test setup?

I was heading that way to, i wilk provide a build that fails on top of the xtag github site I havr forked when I get off work if that works for you.

Yeah, that would help. I'm trying to make it fail, but can't seem to.
On Sep 30, 2017 9:53 AM, "KIP"<EMAIL_ADDRESS>wrote:

I was heading that way to, i wilk provide a build that fails on top of the
xtag github site I havr forked when I get off work if that works for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/x-tag/core-2/issues/3#issuecomment-333321185, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAICyoEbFEjWHOKJn08zUAxVy3JnpyCyks5snnIAgaJpZM4NoI2_
.

Im not on my comp now or i would push the failing build now I will push the failing build when

I get off, but I set to the script src "without cdn" and without the "./"

In the index.html file in the site repo.  It failed for me.

Link to the repo I am using is here -> https://github.com/KipOmaha/x-tag-setup.
To get the build running you'll have to clone it, but...
I decided to create a GH-page for it and it throughs a different error.

Link below repeated the error. Check commit message for info.
https://kipomaha.github.io/x-tag-setup/index.html

The construcor's error I believe was preventing the recursive error from appearing, @csuwildcat.

@csuwildcat, just wanted to update this thread.
I have a build with an altered render() method with no weird behaviors. (Testing in progress)

Can we move all these Issues to the regular Core repo? That is where the most up-to-date code is, and I want to try closing this repo out.
I don't see errors on this page in any of my browsers on Windows (Edge, Chrome, Firefox, etc.): https://kipomaha.github.io/x-tag-setup/index.html.
Were you able to generate a reduced test case? Preferably, we could isolate this down to a single test we can add to the test spec that would throw if this issue was present.

@csuwildcat I can create a new jasmine.html with a reduced test.


Mark not set

When editing a SugarSS file, I receive the following error in vim:
Error detected while processing /path/to/.vim/bundle/vim-sugarss/syntax/sugarss.vim:
line   37:
E20: Mark not set
line   39:
E20: Mark not set
Press ENTER or type command to continue

It looks like there are some comments in there that need to be changed from single quotes to double quotes. At least that resolves the issue for me. Would you accept a PR to fix this issue?

I'll always accept a PR! 😄
It looks like my testing strings got inside here, could you go ahead and remove those lines instead of making them true comments?
I believe these are the offending lines
'hell'
"hell"
'hell-o'

Yea, those are the ones that I had commented out. I can go ahead and yank them out.


[BUG]: Streamdeck segfault on fedora

In raising this issue I confirm that

[X] I have fully completed the issue template
[X] I have searched open and closed issues for duplicates
[X] I have read the Contribution Guidelines
[X] I have read the Code of Conduct
[X] I have read the Documentation

Describe the bug
Fedora update to python3-3.12.3-2.fc40.x86_64 and related packages breaks streamdeck-linux-gui causing a segfault when trying to run.
workaround: Rolling back the following packages to thier previous versions corrected the issue
python-unversioned-command-3.12.3-2.fc40.noarch
python3-3.12.3-2.fc40.x86_64
python3-devel-3.12.3-2.fc40.x86_64
python3-libs-3.12.3-2.fc40.x86_64
python3-tkinter-3.12.3-2.fc40.x86_64

correctly rolled back packages should be versioned 3.12.2 and not 3.12.3
Possibly related issues: #171 & #207
Steps to reproduce the behavior

fully update a fedora 40 system to include the latest python packages
run 'streamdeck' from the command line
observe the segfault

Expected behavior
application should run as normal
Screenshots
No response
System Information
os: Fedora 40
DE: KDE plasma 6
Kernel: 6.8.8-300.fc40.x86_64
CPU: AMD Ryzen 7 5800X3D
GPU: AMD ATI Radeon RX 7700 XT / 7800 XT
Stream Deck Version
Standard MK2.

Hey,
I had the same issue. You can fix it by doing this (you will get a couple of warnings but just ignore):
sudo dnf install python3.11 python3.11-devel
python3.11 -m ensurepip --upgrade
python3.11 -m pip install streamdeck-linux-gui

and after that you can just run
streamdeck

And it should work.
This is kinda a dirty solution but it should work. I think this is due python3.12 not being supported (which is the current version on Fedora).
Please let me know if this solved it for you.

Hey,
I had the same issue. You can fix it by doing this (you will get a couple of warnings but just ignore):
sudo dnf install python3.11 python3.11-devel
python3.11 -m ensurepip --upgrade
python3.11 -m pip install streamdeck-linux-gui

and after that you can just run
streamdeck

And it should work.
This is kinda a dirty solution but it should work. I think this is due python3.12 not being supported (which is the current version on Fedora).
Please let me know if this solved it for you.

I can confirm this works

can confirm, that works. I would like to see this added to the fedora instal docs and maybe Ill do that when I get some time. Leaving this open for now unless the maintainers disagree

Hey,
I had the same issue. You can fix it by doing this (you will get a couple of warnings but just ignore):
sudo dnf install python3.11 python3.11-devel
python3.11 -m ensurepip --upgrade
python3.11 -m pip install streamdeck-linux-gui

and after that you can just run
streamdeck

And it should work.
This is kinda a dirty solution but it should work. I think this is due python3.12 not being supported (which is the current version on Fedora).
Please let me know if this solved it for you.

can confirm that works, I would like to see these steps added to the fedora install docs and maybe I will do that if I find some time

Hey,
I had the same issue. You can fix it by doing this (you will get a couple of warnings but just ignore):
sudo dnf install python3.11 python3.11-devel
python3.11 -m ensurepip --upgrade
python3.11 -m pip install streamdeck-linux-gui

and after that you can just run
streamdeck

And it should work.
This is kinda a dirty solution but it should work. I think this is due python3.12 not being supported (which is the current version on Fedora).
Please let me know if this solved it for you.

Can confirm this worked for me as well. I can run sudo dnf -y update and get the latest packages but streamdeck -n still works fine.


Encoding and shibboleth

UTF-8 strings from the IdP are converted to latin1 and stay like this in the RDMO database, which is bad.
The error message in shibd.log:
2018-04-12 11:08:12 WARN OpenSAML.MessageDecoder.SAML2SOAP [3]: ignoring incorrect content type (application/x-www-form-urlencoded)

might be related.

We have the very same problem with our installations at Uni Düsseldorf. This is showcased by the names and surnames of our users. This information is retrieved from our Shibboleth server. For example, my full name gets displayed like this:

As far as I know, our Shibboleth server provides all data UTF-8 encoded. Apparently, the default database encoding causes this issue as MySQL (or some versions of it) uses latin1 as default encoding where it should use UTF-8 instead to fully work with RDMO and its libraries.
Django 2.2 should use UTF-8 (also see https://docs.djangoproject.com/en/2.2/ref/unicode/) and handles unicode input from the browser just fine. I can change my name via the web admin interface, and it's displayed correctly until I refresh my session.
We changed our MySQL database encoding to UTF-8 with no effect however.
This is definitely a very visual issue as it causes both the names and content to not be displayed (and stored) correctly!

Is a bugfix already scheduled? There are more umlauts in names than one might think.

Yes we are working on it, but Shibboleth Problems are always hard to reproduce. Sorry for the delay.

@maurice-schleussinger @rosenke can you tell me which versions of the IdP and SP you are using currently.

@maurice-schleussinger @rosenke can you tell me which versions of the IdP and SP you are using currently.
IdP 3.3.0
SP 2.5.3

Ok, I could reproduce the bug and this is tricky. The Shibboleth middleware gets its information from the service provider via HTTP headers. In my test case a user<EMAIL_ADDRESS>results in
{
...
    'REMOTE_USER'<EMAIL_ADDRESS>...
}

A UTF8 'ü' should be
>>> 'ü'.encode()
b'\xc3\xbc'

I can reproduce the weird encoding with
>>> 'ü'.encode().decode('latin1').encode()
b'\xc3\x83\xc2\xbc'

So the problem is that the Shibboleth SP uses latin1 as encoding. This can also be seen when pasting https://sp.test.rdmo.org/Shibboleth.sso/Session into chardet3 to detect the encoding.
I don't know how to teach the SP to use UTF8.
What i could do is fork https://github.com/Brown-University-Library/django-shibboleth-remoteuser and add an encoding/decoding step. But the cleaner solution would be to configure the SP correctly.

Yes, so if this occurs with certain (or even all?) versions of Shibboleth, explicit decoding for these versions should be implemented.
Changing the encoding of Shibboleth would probably break many existing configurations. It would indeed be good if they would switch default encoding or even enforce UTF-8 in a future release. This would be a slow transition in any case, so RDMO would continue to display all text wrong for quite some time, which should be avoided.
Personally I consider everything non-UTF-8 legacy software, but other encodings are still widely used… 🤷♂

I would like to check with other people who are using shibboleth first. Maybe it is just a missing option in the service provider.

I can confirm, that we observe the same behaviour in our RDMO/Shibboleth installation (running RDMO 0.14.6 with Shibboleth SP 3.0.4).
What puzzles me is that I see the garbled umlaut in the SAML-Token (using SAML-Tracer-Addon for Firefox), while /Shibboleth.sso/Session shows the correct umlaut (after changing the value of the showAttributeValues attribute of the Handler type="Session" element in the shibboleth2.xml).
It seems that the information transmitted between Shibboleth IdP and Shibboleth SP is UTF-8-encocded (as is the default behaviour according to https://wiki.shibboleth.net/confluence/display/SP3/RequestMap and https://wiki.shibboleth.net/confluence/display/SP3/ContentSettings -- description of the encoding attribute) and the problem lies in the django-shibboleth-remoteuser Middleware.

As a follow-up: the correct umlaut can be seen in the shibd.log (after setting the log level to DEBUG), so this indicates as well that the transmission between IdP and SP is not the culprit.

Ok I found a solution based on this: https://shibboleth.1660669.n2.nabble.com/Url-encode-http-header-values-in-Shibboleth-SP-td7629614.html

Add ShibRequestSetting encoding URL to the LocationMatch part of your vhost:
<LocationMatch /(account|domain|options|projects|questions|tasks|conditions|views)>
    AuthType shibboleth
    require shibboleth
    ShibRequireSession On
    ShibUseHeaders On
    ShibRequestSetting encoding URL
</LocationMatch>

Uninstall django-shibboleth-remoteuser:
pip uninstall django-shibboleth-remoteuser

Install our fork:
pip install git+https://github.com/rdmorganiser/django-shibboleth-remoteuser

Add SHIBBOLETH_UNQUOTE_ATTRIBUTES = True

Restart shibd and apache2

Rejoice!

The attributes are now URL quoted before handing them over to Django and unquoted again by my change to the django-shibboleth-remoteuser lib.
Important: If these changes are made, and you have unicode characters in the username, those users would get a new user object in RDMO, thus loosing all their Project memberships. Hopefully your eppn or similar are ascii only...

Hello, I can confirm that this fix works for our installation - thank you very much!
However, on first try, I've got a server error, since the username (eppn in our case) was already present in the database:
  File "/data/rdmo/rdmo-app/env/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "auth_user_username_key"
DETAIL:  Key<EMAIL_ADDRESS>already exists.

After deleting the account via the Django Admin Interface, everything worked fine so far.

There was still something wrong with my fix to django-shibboleth-remoteuser, please reinstall:
pip install -I git+https://github.com/rdmorganiser/django-shibboleth-remoteuser

The REMOTE_USER was not unquoted and this conflicts with the username, obtaines in the second step of the shibboleth auth process ...

Ok, thanks for the fast reply. I can confirm that it works for our environment.

Closing. Seems to be fixed.

this fix should also be included in the docs or not? https://github.com/rdmorganiser/rdmo-docs-en/blob/master/docs/configuration/authentication/shibboleth.md

Packages which are not on pypi do not work in [project.optional-dependencies].

we can make our own release on the fork and include it in the pyproject.toml
shibboleth = [
  "django-shibboleth-remoteuser @ https://github.com/rdmorganiser/django-shibboleth-remoteuser/archive/refs/tags/v0.11.zip"
]

... that works

https://packaging.python.org/en/latest/specifications/dependency-specifiers/

ok, good to know. I am not sure if we still need the patch. I will look into it.

Yes, we still need the patch for the right encoding.
I will put the rdmorganiser fork in rdmo optional-depencies.
Jochen wants to post a PR to the source at some point.


Explicit Ctor fixed

This is a fixes the build failure caused by an explicit ctor not being called explicit. The failure occurres only under some circumstances as described in #1013.
I accidentally fixed two whitespaces too.
GitHub Issues
Ref. #1013

Appveyor failure is not related to this PR and already exists in catch2, from which this is branched.

Accepted via be067bce37f669d022bc6843a2fbe00a4446462e


Bridging Plan

OP-Stack provides bridging ETH between L1 and L2 in both directions. By changing the native currency on L2 to CELO, we are breaking this mechanism, since it relies on having the same native currency across both layers.
We could bridge L1 ETH to L2 cETH and L2 CELO to L1 wrapped CELO.
### Tasks
- [ ] Figure out the state of cETH on the Celo blockchain
- [ ] Figure out the state of wrapped CELO on Ethereum
- [ ] Check OP-Stack bridging to see if such cases are easily supported
- [ ] Create followup issue(s)

See

L1StandardBridge
L2StandardBridge

The current wrapped ETH tokens on Celo are bridged through Axelar and Wormhole (two separate tokens). If we add native bridging, we would get a new ETH token on CELO.

We decided to include only ETH bridging in this milestone. Bridging Celo has been split off into https://github.com/celo-org/optimism/issues/62.


change diesel_manage_updated_at

In our TODO.md:
Change diesel_manage_updated_at to manage_updated_at.
Am I doing this right? 🤔

@sansx! I hope everything is well my brother! Yeah that was exactly what I meant :smile:
There's just a few other changes we have to make in create-rust-app_cli:

the auth plugin's migration should be updated (see src/plugins/auth.rs)
the migration for the todo example in the template (see template/migrations/todos/up.sql)

Apart from that, it looks good. The idea behind this change is to make way for adding something like sqlx in the future.
I've actually tried adding sqlx as an option, but unfortunately, I found that there was a lack of support for some advanced queries. I think current users of the sqlx have found workarounds, but I stopped my implementation midway. I've had a similar experience as @pythoneer (https://github.com/launchbadge/sqlx/issues/1014) when using sqlx.

Hey, brother! I had some time to take a break recently, so I want to use this pr as a warm-up to continue contributing to our project. 😆
I had checked the rust code and created an instance locally, it seems nice to me. no error.
Is this require me to change about sql stuff? I'm not very familiar with it.
I want to finish it, but don't know where should I start.


[stable/node-local-dns]: restrict coredns binding

Description
Currently the coredns is bound very openly (<IP_ADDRESS>)
Checklist

[x] Title of the PR starts with chart name (e.g. [stable/mychartname])
[x] I have read the contribution instructions, bumped chart version and regenerated the docs
[ ] Github actions are passing

I don't understand why the ci and my local machine in generating different docs. Do you have a hint for me?

Hey @thomaschaaf did you run the commands listed here from repo root? https://github.com/deliveryhero/helm-charts#running-ci-tests-locally


Allow package to be buildable by TH-less GHC 8.0

NB: This contains the commits from #14 due to the way GitHub works...


ST-5293: Explicit load of netty dependencies

The netty libraries are being loaded as a dependency of async-http-client, so I am excluding them from there and then explicitly loading the newer version we need to resolve the cve. I ran the tests several times to make sure they are all resolved. I also checked the dependency tree to make sure all netty libraries are on the same version.
[INFO] io.confluent:rest-utils-package:pom:6.2.0-0
[INFO] - io.confluent:rest-utils:jar:6.2.0-0:compile
[INFO]    +- io.netty:netty-buffer:jar:4.1.63.Final:compile
[INFO]    |  - io.netty:netty-common:jar:4.1.63.Final:compile
[INFO]    +- io.netty:netty-codec-http:jar:4.1.63.Final:compile
[INFO]    |  +- io.netty:netty-transport:jar:4.1.63.Final:compile
[INFO]    |  +- io.netty:netty-codec:jar:4.1.63.Final:compile
[INFO]    |  - io.netty:netty-handler:jar:4.1.63.Final:compile
[INFO]    +- io.netty:netty-codec-socks:jar:4.1.63.Final:compile
[INFO]    +- io.netty:netty-transport-native-epoll:jar:4.1.63.Final:compile
[INFO]    |  - io.netty:netty-transport-native-unix-common:jar:4.1.63.Final:compile
[INFO]    - io.netty:netty-resolver-dns:jar:4.1.63.Final:compile
[INFO]       +- io.netty:netty-resolver:jar:4.1.63.Final:compile
[INFO]       - io.netty:netty-codec-dns:jar:4.1.63.Final:compile

@confluentinc It looks like @elismaga just signed our Contributor License Agreement. :+1:
Always at your service,
clabot


Page cache

Relatively simple page cache. The cache code needs cleanup, also would be nice to figure out a good approach for concurrency
Comparing the CI benchmarks with main, we notice an increase in peak_mem usage and a decrease in small_seqscans runtime.
The cache size is 8192 pages -- 67 MB. The increase in peak mem seems to be about this size.
The small_seqscans runtime went from 81s -> 24s
Closes #834

It's a good start. Concurrency needs work, currently there's a Big Giant Lock protecting the whole page cache, that needs to be replaced with more fine-grained locks. I'd suggest an interface where the lookup() function returns a guard object similar to RwLockReadGuard, so that you can read the returned buffer as long as you hold onto the guard. Similarly, insert could work by returning a write-guard object, and let the caller copy the data to the buffer while holding the guard. Something like this:
impl PageCache {
    pub fn lookup(...) -> PageReadGuard;
    pub fn insert(...) -> PageWriteGuard;
}

When inserting, if the caller is responsible for copying the data to the buffer, I guess you'll also need to deal with the possibility that the caller aborts before filling the buffer. So maybe have a "mark_valid()" function in PageWriteGuard to signal that the contents of the buffer are valid, and if the write-guard is dropped without calling that, free the buffer.
I'm planning to use this for caching ephemeral files, to make our in-memory layers spill to disk. With that, we'll need to store two kinds of things in the page cache: the materialized page versions, as this PR does, and the pages from the ephemeral files. I'm thinking that we will keep the "mapping" of those separate from the current mapping for materialized page versions, and introduce separate lookup/insert functions for them. So the interface will look like this:
impl PageCache {
    pub fn lookup_materialized_page_version(...) -> PageReadGuard;
    pub fn insert_materialized_page_version(...) -> PageWriteGuard;
    pub fn lookup_ephemeral_file_block(...) -> PageReadGuard;
    pub fn insert_ephemeral_file_block(...) -> PageWriteGuard;
}

With the ephemeral files, we will also use the cache to store dirty pages that will need to be written out to disk before they are evicted. But that's just a small matter of programming.

I refactored and commented this quite a lot, with an eye towards supporting caching other kinds of blocks in the cache. Please take a look

Feel free to merge @hlinnaka

Feel free to merge @hlinnaka

Ok. I added a few more comments, and rebased and squashed all the changes. If the CI is happy, I'll push.

Looks like it only failed test_isolation. Reran and it passed

On 12/11/2021 21:02, Patrick Insinger wrote:

Merged #856 https://github.com/zenithdb/zenith/pull/856 into main.

Thanks!

Heikki


Get the points and battle status when a live battle is started between people

Hi,
Thank you for this great library. Currently, I want to know few things regarding live battle between people in tiktok.
Suppose when a battle is started between two people, I want to get the points they have in every second or custom time interval.
(Example: 1st guy can have 20 points whereas his opponent can have 30 points at the same time).
Also, it will be a great feature if we can get to know who has won and who has lost the battle at the end of the battle.
Please help me on how to get these live points and which user has win/lost the battle.
Any answer will be helpful :)

Hi!!
You should be able to get the points by listening to the MicBattleUpdateEvent which will tell you both points and when the battle ends.
The raw payload probably says who won too, but, you can track who has the most points and when it ends, use that to calculate a winner.

Hi @isaackogan ,
Thank you for answering the question. It really helped.
I have a suggestion. It would be really helpful if you can update the readme with the expected data structure for each events so that we can know what kind of data structure to expect. I was looking into nose JS version of this repo and they have mentioned expected data structure for each event. So, I am hoping you will update it like that as well.

Hi @isaackogan ,
Thank you for answering the question. It really helped.
I have a suggestion. It would be really helpful if you can update the readme with the expected data structure for each events so that we can know what kind of data structure to expect. I was looking into node JS version of this repo and they have mentioned expected data structure for each event. So, I am hoping you will update it like that as well.

Hi.
The reason I don't do that is that docs are provided on the homepage that already do this for all classes in the library: https://isaackogan.github.io/TikTokLive/.


DOCSP-22236: Updates atlas backups restores documentation

Proposed changes
Adds details on which options are required for automated restores only
Jira ticket
Checklist

[ X ] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
[ ] I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
[ ] I have updated e2e/E2E-TESTS.md (if an e2e test has been added)
[ ] I have run make fmt and formatted my code

@sarahsimpers doc test is failing. Did you run make gen-docs ?


[FLINK-34740][cdc][doc] copy back Chinese connector docs and update some links.

Docs are copied from https://github.com/apache/flink-cdc/tree/release-2.4/docs/content/connectors and https://github.com/apache/flink-cdc/tree/release-2.4/docs/content/快速上手,
and update some links.

@leonardBang @PatrickRen @loserwang1024 PTAL.

Thanks @leonardBang  for suggestion, reduced the page title to match the document title.