After authenticating to Azure B2C using Mobile App is there a way to automatically sign into web app?

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.18.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.0.4
Public or Confidential Client?
Public
Description
I have a web app and a mobile app.  Both of these apps authenticate independently to Azure B2C and I can communicate with the backend APIs securely and without a problem.
I want to add functionality to the mobile app that allows a user to click a row and go to the web app.  When the user launched the mobile app they were required to login (which works perfectly).  However, when the user clicks the row and the web app is launched inside the Mobile apps native browser the user is required to log into the web app.
The mobile app and web app use the tenant id and client id configuration inside the Azure B2C.  They also use the same username and passwords --- just a different mechanism for using the app.  After I have logged into the mobile app I have access to the access token, id token, and refresh token.  Can I use these pieces of information to authenticate to the web app to prevent the web app from asking the user to login again?
Or is there another way so that once I'm logged into the mobile app that I can automatically log the user into the web app?
MSAL Configuration
{
    "msal": {
      "auth": {
        "clientId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
        "authority": "https://xxxxxx-xxxxx.xxxxxxxxx.com/xxxxxxxxxxxxxxB2C.onmicrosoft.com/B2C_1A_signup_signin_saml_staging",
        "knownAuthorities": ["xxxxxx-xxxxx.xxxxxxxxx.com"],
        "redirectUri": "http://localhost:4200/",
        "postLogoutRedirectUri": "https://xxxxxxx.xxxxxxxx.com/simplesaml/module.php/core/authenticate.php?as=sso-auth&logout&redirectUrl=http://localhost:4200",
        "navigateToLoginRequestUrl": false
      },
      "cache": {
        "cacheLocation": "localStorage"
      }
    },
    "guard": {
      "interactionType": "redirect",
      "authRequest": {
        "scopes": ["openid profile email offline_access"]
      }
    },
    "interceptor": {
      "interactionType": "redirect",
      "protectedResourceMap": [
        ["http://localhost/xxxxxxxxxxxx/*", ["https://xxxxxxxxxxxxxxB2C.onmicrosoft.com/xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxxxxxx.all"]],
        ["https://graph.microsoft.com/v1.0/me", ["user.read"]]
      ]
    },
    "publicInterceptor": {
      "interactionType": "redirect",
      "protectedResourceMap": [
        ["http://localhost/xxxxxxxxxxxx/API/Public**", null],
        ["http://localhost/xxxxxxxxxxxx/API/Portal**", ["https://DiocesanCaminoB2C.onmicrosoft.com/xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/camino.all"]],
        ["https://graph.microsoft.com/v1.0/me", ["user.read"]]
      ]
    }
  }

Relevant Code Snippets
No response
Identity Provider
Azure B2C Custom Policy
Source
External (Customer)

@RangerDunadan please look at our ssoSilent documentation, it may help with what you're trying to achieve. Let us know if it helps!


Balance by free space

What problem are we solving?
Balance selectes the nodes with most volumes,not the nodes with most space available
How are we solving the problem?
Sorting by free volumes
How is the PR tested?
On PRP cluster, with this change it moved the most occupied volumes to the least occupied node
Checks

[ ] I have added unit tests if possible.
[ ] I will add related wiki document changes and link to this PR after merging.

Ignore plz


PowerToys setup gets stuck at: "Installing .NET Desktop Runtime 6"

Microsoft PowerToys version
0.64.1
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce

Open and start the PowerToys 0.64.1 setup.
Let PowerToys install and it'll get stuck on "Installing and downloading .NET Desktop Runtime 6"

✔ Expected Behavior
For PowerToys to install properly.
❌ Actual Behavior
The PowerToys setup just gets stuck.
Other Software
No response

I don't know. I've never tried installing .NET 6 manually.

i have already installed .net 6,but when i installed powertoys ,it installed .net 6 again,and seemed got stuck , very slow

That's possibly my problem. I think I have 2 versions of .NET 6.

That's possibly my problem. I think I have 2 versions of .NET 6.o

i am now trying to install them ,thank you ,you reply so fast

i installed .net 6.0.10 and webview2 manually  again .when i installed powetoys ,it  installed .net 6 again , the download speed very slow.

Try to uninstall .NET 6. Maybe that'll help.

You can download the .net 6.0.10 installer and put it in the same folder as the PowerToys installer. It will use that local installer then.
Does this help? /neeinfo

/needinfo

Where exactly is the setup folder?

I had the same problem.
I already installed the SDK which has desktop runtime in it, but PowerToys installer tried to download it separately.
My version of PowerToys was 0.63.0 and I tried to update it automatically via the app and also manually via the installer but non of them worked.
I found out that I can't download the runtime from Microsoft's website either and had to use a proxy to do so.
After enabling the proxy on my system, the installer had no problem downloading runtime as well.
But I think the proper way to fix this issue is to prevent installer from downloading the runtime when it is already installed on the client's system.

@BijanEisapour
We're detecting a specific version only, since that's what we can do with what Wix Bootstrapper provides us. The issue here is that for example 0.64.1 ships with .NET 6.0.10 but users might have .NET 6.0.11 already installed.
We are trying to geet .net self contained be distributed with PowerToys so we stop having these kind of issues.

@RandomGitHuber101 , When you download the PowerToys from GitHub (the installation method you mentioned in your bug report) I guess it'll go to your default Downloads folder. Does this help?
/needinfo


Nested ViewModel with IFormFile are being created automatically when it is sent by post

I have a create form to a specific viewmodel that contains another viewmodel that has an IFormFile property:
public class ViewModel1
{
     public ViewModel2 ViewModel2 { get; set; }
}

public class ViewModel2
{
     public IFormFile FormFile { get; set; }
}

When I submit the form, the ViewModel1 is instantiated automatically.
If I remove the FormFile property, this stops happening.

Thanks for contacting us, @ramonscampos.
Are you experiencing this on .Net Core 2.2? If so, this is a known issue and you can find more details about it here: https://github.com/aspnet/AspNetCore/issues/4802

Today I updated from Core 2.0 to Core 2.2.6, but my website got in trouble when uploading an image.
System.OutOfMemoryException
I used IFromFile in upload viewmodel.

@SalehGladius that seems suspicious and unrelated to this issue. If you're still facing it, please file a new issue and share a small repro project for us to investigate it.

Hi @mkArtakMSFT, yeah.. I'm facing this with .Net Core 2.2.
I had seen this issue before.. So in the 2.2 version will happen this error forever?! o.O
Once it was fixed in 3.0 only, if I want to run this correctly I'll be forced to upgrade?

@ramonscampos, for 2.2 you'll have to use one of the workarounds provided here: https://github.com/aspnet/AspNetCore/issues/4802

Verified this is no longer true as of 3.0. The nested model is null unless the form file is posted.


vr-temp name collision

I did a parallel build of everything in CI and got a name collision for the vr-temp container. Need to fix!

@fredsod fixelifix!? :)


The primary version of the postcard generator

This project is a postcard generator. The postcard description is entered using voice input. The type of postcard is selected from the drop-down list. The project is written in python, streamlit, hugging face model(stable-diffusion-v1-5). The generation can be run with cuda(with NVIDIA video card) or on CPU.

Reviewer: @SpirinEgor

Made changes to the implementation of the application. @SpirinEgor


Don't trigger segfaults/panics when producing a string from an Object.

While trying to debug an issue in the native support, I was running with GDB, and kept getting hit with segfaults when (*Object)(nil)s were getting String() called on them (buried deep in a call to fmt.SomethingOrOther). This seems like a sensible return value in this case. I could also see arguing that this shouldn't happen, and the source should be addressed. I didn't get a stack trace when I ran into this, bit it shouldn't be too hard if we would rather go that route.

Sample (possibly test related - still on the fence for this fix):
#0  _/home/pi/git/grumpy/runtime.Repr (f=0x10c9d140, o=0x0, ~r2=0x0, ~r3=0x10) at /home/pi/git/grumpy/runtime/core.go:578
#1  0x000c9710 in _/home/pi/git/grumpy/runtime.(*Object).String (o=0x0, ~r0=<error reading variable: Cannot access memory at address 0x1>) at /home/pi/git/grumpy/runtime/object.go:74
#2  0x00287604 in fmt.(*pp).handleMethods (p=0x10c86000, verb=118, handled=true) at /home/pi/opt/go-1.7.3/src/fmt/print.go:590
#3  0x002878a0 in fmt.(*pp).printArg (p=0x10c86000, arg=..., verb=118) at /home/pi/opt/go-1.7.3/src/fmt/print.go:665
#4  0x0028cac8 in fmt.(*pp).doPrintf (p=0x10c86000, format="frame.Raise(%v, %v, %v)", a= []interface {} = {...}) at /home/pi/opt/go-1.7.3/src/fmt/print.go:985
#5  0x0028365c in fmt.Sprintf (format="frame.Raise(%v, %v, %v)", a= []interface {} = {...}, ~r2="") at /home/pi/opt/go-1.7.3/src/fmt/print.go:196
#6  0x00151624 in _/home/pi/git/grumpy/runtime.TestFrameRaise (t=0x10c86500) at /home/pi/git/grumpy/runtime/frame_test.go:139
#7  0x00092d00 in testing.tRunner (t=0x10c86500, fn={void (struct testing.T *)} 0x10c50fd4) at /home/pi/opt/go-1.7.3/src/testing/testing.go:610
#8  0x00072d9c in runtime.goexit () at /home/pi/opt/go-1.7.3/src/runtime/asm_arm.s:998
Backtrace stopped: previous frame identical to this frame (corrupt stack?)


Focus order for overflow menu is not working.

Our team is working on accessibility testing(AVT) issues and we noticed issue with overflow menu component.
Issue: On tabbing to Overflow menu  and pressing enter, the list of options are displayed. On tabbing to last option , when user tabs further, the focus moves to title of the page. This focus order is not meaningful. On tabbing, either the focus should move to the next interactive element on the page or the focus should keep moving within the same section of the list item
I observed same issue http://www.carbondesignsystem.com/components/overflow-menu/code and
http://www.carbondesignsystem.com/components/data-table/code.
Note: Issue does not exist in http://react.carbondesignsystem.com/?selectedKind=OverflowMenu&selectedStory=basic&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel.
For more info : https://ibm.enterprise.slack.com/files/W4FRVREA1/FB9LQG9C2/overflowmenu-focus.mov

One observation  is, when i inspect options in overflow menu, and  elements are displaying at bottom of the page, so even if i keep tab order, it is not useful as it seems , that is the end of the page.
Where as in react components,  and  elements are displaying along overflow component div.

react screenshot:

Hope this helps in fixing the issue, thanks.

Thank you @kavyanekkalapu for reporting. Looks a good one and we’ll see what we can do.


feat(es/minifier): Extend inlining ident to multi usage

Description:
And fix an issue where swc inline global idents like
var a = g
console.log(a)

due to side effect evalutaion order
BREAKING CHANGE:

Related issue (if exists):

It failed only in concurrent mode...
Not sure what's the cause

Oh, we only verify benchmarks in concurrent mode.
I think this will happen even if you use single-thread mode

Luckily this can be reduced to a very simple reproduction.


Update plugin ordering to latest Sonobuoy version

What this PR does / why we need it:
Plugins should be able to run in a predetermined order. Adds order key to sonobuoy-config (lower number has a higher priority)
Which issue(s) this PR fixes

Fixes #1684

I tried this out manually with a few cases and it worked great. Normal runs without order, worked. Edited one plugin to have order 99, launched one then the other. Modified both to have order 99, launched in parallel again.
We may tweak this logic over time, but I think having this basic order is great.
I already see us being able to use this and make query logic its own plugin and set its order to be high so that it gets run last. This will further simplify the core sonobuoy logic and maybe make it easier to customize too.


Add user data model

Should have fields:
Foreign key to User
UTD ID
Major
Second Major
Minor
Second Minor
Hometown
High School
Phone numbers
Email Addresses
Addresses
Possibly store
Maiden name
Study abroad locations
Places you've been
Internships
Research
Occupation
Interests

Added the basic UserInfo model, will have to add more to it later, so keeping this open for now.

Changed the name to McUser, I was trying to see if I can extend the User class, but things weren't working correctly. I may give it another go later. The problem was that I needed to create a McUser instance, but the default way to create users applies only to the User model.

Going to go ahead and close this, since I'm satisfied with using McUser for everything except username / email / password. Basically, anything searchable should be in the McUser model.


Resolve Dependabot Alert on aiohttp

Resolves Dependabot #7
I don't believe that the potential DDOS applies in our usage scenario, but there is no harm in updating.

/check-enforcer override


Certificate templates

Hello.
I'm trying to setup two level enterprise CA with offline root CA and subordinate issuing CA.
I'm facing several difficuties, mostly with certificate templates. There are only 3 templates distributed (and a sample). And no CA/SubCA templates, so I tried to create ony by my own. Unfortunately I couldn't succeed. When trying to issue a certificate (via web interface) using my template I got varios errors. I found the documentation is rather short, and the template sample file, seemed to be self-descriptive, helped me poorly. So I wanted to ask - may be you already have templates for SubCA, AD DC, AD user and so on? So I could just download them. IMHO If templates are not distributed with install package, nor sources, it will be a good idea to create a repo (may be a project on github) with templates, to share.

This is a bugracker - please use the Mailinglist for support https://www.openxpki.org/support.html
OpenXPKI was designed as an End-Entity CA, if you need a Root CA consider to use clca - https://github.com/openxpki/clca


Cannot get the package working

Hello,
I've installed the package and created a ".editor-settings" at the root of a project.
In that file, I've put :
'tabLength': 10
Anyway, when I open any file in the project and press the "tab" key, the indent length is 2, which is my editor default settings.
Tried to close anything and relaunch Atom without any success.
Thanks for any help on that issue.

Should be working now.

The package still have no effect on my computer. Even after uninstall and reinstallation.

I'm having the same issue. Just installed the latest version of the plugin; not seeing any effects.

Should be fixed in 1.0.0.

Genius, yes!

Cannot get it to work on per directory basis - installed, closed, reinstalled etc.
What I have done:

Create .editor-settings under the directory I want the changes to happen
Content is:

tabLength: 2
softTabs: true

Tabs have length 4 (Editor default settings)


How can I hide particular column?

I saw method named : setShowComp in jsgantt-improved documentation, but I am not getting how to use this method in angular with ng-gantt.

@poddarkhushbu07 In the jsganttImproved documentations, there is an method naming setShowComp.
You can refer to the following component file from the demo folder demo.component.ts. It's having some basic options already configured with the editor. (Refer line no 71 in the file)

vShowComp - Show Completation
vShowRes - Show Resource and so on

The value assigned to these variables can be 0 (Hide) and 1 (Show).
Let me know if this is the answer you're looking for.

thanks @pasha42
If there is something else feel free to reopen


Add Ruby 2.5.0 to Travis Ruby build matrix

While working on https://github.com/refinery/refinerycms-authentication-devise/pull/36, I worked within a Docker image based on Ruby 2.5, and was able to run the tests without any failures.
To ensure that this library continues to support Ruby 2.5.0, I recommend adding it to the Rubies that Travis will run tests against.

Thanks @joshmcarthur! I've planned to add this version to the main repo thanks for adding it here.


A few features I'd like to see in Hypr

Loving the WM so far but coming from bspwm and dwm there are a few features I'm missing. If these are implemented and I've missed them in the documentation do let me know.

Define workspaces in window rules i.e. open x on workspace y
Define window rule to launch app in fullscreen mode. Games for example launch in tiled mode at the moment but do not function well i.e. resolution is off and in-app mouse movement is broken.
Mouse support for movewindow. In particular on a desktop it is very useful to be able to drag a window to a new position.
Scratchpad i.e. send a window to a hidden state and be able to retrieve it with a binding. Dwm has this and bspc can achieve it with a small script:

hidden=$(bspc query -N -n .hidden -d focused)

if [ -z "$hidden" ]; then
	bspc node focused -g hidden=on
else
	bspc node "$hidden" -g hidden=off
fi

Automatically focus a window when it requires your attention. Doesn't exist out of the box in the other WMs but can be achieved with a simple script for bspc:

pull=$1
while read -r _ _ d n f s; do
    [[ "$f" = urgent && "$s" = on ]] &&
    bspc node "$n" ${pull:+-d focused} -f
done < <(bspc subscribe node_flag)

This is borderline essential for certain applications when you're on a different workspace. An example being League of Legends which require interaction within 5~ seconds when your queue pops.
Love the WM - thank you for sharing it.

Fullscreen and workspace rules added in 894a9b0e3e359347172acc4f035a79f3ea4e16da
Scratchpads - please demo link, I've never understood those.

mouse support for dragging tiled windows added in 0b9a33228b789ff2c9f07ee85a54bddcb776ee97

Thanks for implementing them! I've build Hypr with the void-template which seems to pull the releases so I'll have to wait until 1.1.2 to test them (perhaps I'll replace it with a manual build if I'm too impatient) but I'll report back once I have.
The scratchpad feature is similar to the drop-down terminal which most DEs have. It is in its essence a tool which can send an application/terminal to an invisible workspace where it remains in its current state until the user pulls it back to focus. Here's a video demonstration of the Scratchpad patch in Dwm.
Think of it like a literal scratchpad - perhaps you're watching a lecture and you need to note something down now and then but don't want it to take up space - send the app to the scratchpad where it is out of view but remains in the state you left it in; like putting a notepad in your pocket - and when it's time to write something you can pull it back to the front with a quick button press and the file is still open in the state you left it in.
If it is still unclear and you're still interested to know more you could spin up a VM with bspwm and try the snippet above to see it in action. Regardless, thanks again for implementing the other features. Looking forward to testing them.

ok got it how scratchpads work. sure.

made a release and added scratchpads.
Urgent will do later.

Thanks!
I've updated to 1.1.1_2 and I'm wondering what the format is for workspace rules, in particular:
windowrule=workspace 1,role:Logseq Is this correct?
How do I need to format rules for applications who's class has spaces in it
windowrule=workspace 3,role:Jellyfin Media Player - is this sufficient or do I need to wrap it in " or '?
At the moment these seem to be invalid as it spits out an invalid rule error.

try class:
role is an Xorg internal value.

class:  works, thanks.

I am also missing for focus by click feature. I nether use focus by hover since sometimes mouse may be moved by accident, so it would be great to focus windows by explicit click.
I also love this WM!

I am also missing for focus by click feature. I nether use focus by hover since sometimes mouse may be moved by accident, so it would be great to focus windows by explicit click.
I also love this WM!

You could make a new issue for new suggestions.


Fixed an issue with search results page rendering

Closes #3712
Due to jQuery 3.5.0 not supporting shortcuts to closing html tags in templates:
ie:
 is no longer supported and needs to be rewritten as

This PR fixes those instances used in the jQuery code for the search results.

I saw https://github.com/marketplace/gitarborist which lists among its features:

Merge PR once all checks pass (no more waiting around for CI after approval)
🤩

Merge PR once all checks pass (no more waiting around for CI after approval)

Well, I have mixed opinions, some PRs need to build and be downloaded and tested due to massive changes we cannot just review in the browser...

I think it would still require approval, but once approved we wouldn't need to wait for the build (as we are doing now).


Hi there! Trying to finish the Beginning Git tutorial!

I was really nice to have completed the course!
Thanks Sam for the great course!
Cheers!

Hey @The-Guru —congrats on submitting a PR at the end of the git course. I'm glad that you enjoyed the course, and hope that you were able to follow along easily and learn lots.
If you weren't already using git for your code, hopefully this has inspired you to do so. I hope that you enjoy the "Mastering Git" video course as well—you'll soon be able to get git to bend to your will :)
You can now wear this #GitWarrior badge with pride—and Tweet your historic victory!

sam


To Staging: Change to multiple Guides (Manually triggered)

Updated by github actions, triggered Manually.

close

just for verifying the converter update


Move session pool metrics calls outside critical section

Based on internal benchmarking this can cut time spent in the session pool critical section by up to 15%.

[approve ci autest]


honk e2e: Improve structure of pxe/kernel_prover after move to honk+ivc

This is still relevant looking at pxe/kernel_prover.ts


Unable to pull docker image

ubuntu@ubuntu:~$ sudo docker pull openwhisk/controller
Using default tag: latest
Error response from daemon: manifest for openwhisk/controller:latest not found

You didn't specify a lot of information in this issue. I guess you pulled openwhisk/controller successfully in the past which resolves to openwhisk/controller:latest.
We recently changed latest to nightly because of Apache requirements. Unfortunately, nightly does not have the docker pull convenience - openwhisk/controller will never expand to openwhisk/controller:latest.
You will have to pull openwhisk/controller:nightly explicitly.
In the long term, Docker convenience images for the latest OpenWhisk release may be tagged latest.
Also look here: https://hub.docker.com/r/openwhisk/controller/tags

Closing as @sven-lange-last's explanation explains nicely.


Private node modules – Onboarding PR

Your documentation states:

Renovate will keep updating the description in the PR to match

I enabled Renovate for my repo containing privately hosted node modules. I received the onboarding PR with dependency lookup warnings, so I created a token using renovate-encrypt and updated my renovate.json to the following:
{
  "extends": [
    "config:base"
  ],
  "labels": [
    "chore",
    "bot"
  ],
  "encrypted": {
    "npmToken": "[redacted]"
  }
}

All of the dependency lookup warnings still exist in the PR, saying:

[dependency]: Failed to look up dependency. This will block all dependencies from being updated due to presence of lock file.

How can I troubleshoot Renovate's authentication with the encrypted npmToken?

Hi @allybee, thanks for your question. Logging for tokens and encryption is a little sparse, partly because I want to reduce the risk of ever leaking them. I will look for the repository you describe and take a look at the logs I have on server side (which also don't log any decrypted data, but it should still help).

I think the problem might be that there is also an .npmrc file committed in the repository as well. When we decrypt an npmToken, we actually convert it to an .npmrc string like this:
if (eKey === 'npmToken') {
    logger.info('Migrating npmToken to npmrc');
    decryptedConfig.npmrc = `//registry.npmjs.org/:_authToken=${decryptedStr}\n`;
}

In your case, this might even cause two problems.
(1) It looks like you are using a custom registry, but we set it for the public npmjs registry as you can see above
(2) It's possible that we are overwriting this configured/encrypted string with the file we get in the repository (I need to confirm that)
Assuming you do not commit an npm token line in the .npmrc in the repository, one way we could approach this is:

Configure Renovate to ignore the .npmrc in the repository, and
You encrypt a whole .npmrc including registry and auth information and put that in your config instead of the current npmToken

@allybee have you made any changes to your config today? I think you should be ok to leave it as it was (i.e. encrypted npmToken) and I will try to adjust Renovate's behaviour to suit. Please confirm if it's still correctly configured.

@rarkins Thank you so much for investigating! I have not made any changes.

@allybee I've tried a few things on the server side. The last thing left to check is.. is the token correct? To be sure, could you regenerate it and update the renovate.json?
e.g. generate:
echo "a-token-you-know-works" | renovate-encrypt

..and then put that encrypted string into our config as you had before. The one you have there decrypts OK, but it is being rejected by your private npm host.


Test personal user profile

Coverage remained the same at 82.134% when pulling e643e03dd90eac0c87079673ebc75d0d5e4c0cee on tests/user-profile-new into af3d31beb635643b8ae9e073e941a524250d8720 on main.


Add support for uploading to generic S3 service using the Composer API

Use case
If Endpoint is not set and Region is - upload to AWS S3
If both the Endpoint and Region are set - upload the Generic S3 via Weldr API
If neither the Endpoint and Region are set - upload the Generic S3 via Composer API (use configuration)
jobimpl-osbuild
Add configuration fields for Generic S3 upload
Support S3 upload requests coming from Weldr or Composer API to either AWS or Generic S3
Weldr API for Generic S3 requires that all connection parameters but the credentials be passed in the API call
Composer API for Generic S3 requires that all conneciton parameters are taken from the configuration
Adjust to the consolidation in Target and UploadOptions
Target and UploadOptions
Add the fields that were specific to the Generic S3 structures to the AWS S3 one
Remove the structures for Generic S3 and always use the AWS S3 ones
Worker Main
Add Endpoint, Region, Bucket, CABundle and SkipSSLVerification to the configuration structure
Pass the values to the Server
Weldr API
Keep the generic.s3 provider name to maintain the API, but unmarshel into awsS3UploadSettings
tests - api.sh
Allow the caller to specifiy either AWS or Generic S3 upload targets for specific image types
Implement the pieces required for testing upload to a Generic S3 service
In some cases generalize the AWS S3 functions for reuse
GitLab CI
Add test case for api.sh tests with edge-commit and generic S3
This pull request includes:

[x] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

Nice, can you squash, please? Then, this is ready to go in.

@ondrejbudai Done


Key highlight links in GitHub release notes are incorrect

Does this issue occur when all extensions are disabled?: n/a

VS Code Version: 1.69
OS Version: n/a

Steps to Reproduce:

Visit https://github.com/microsoft/vscode/releases/tag/1.69.0
Observe that "3-way merge editor" links to https://code.visualstudio.com/updates/v1_68#3-way-merge-editor, rather than https://code.visualstudio.com/updates/v1_69#_3-way-merge-editor (wrong version # and missing _ in header id).

@gregvanl could you please fix the link? Thank you!

I noticed this before seeing this issue and went ahead and fixed the links

@lszomoru @lramos15 I'm not sure how this section of the tag is created. Is it a manual cut, paste, and URL fixup from the release notes? Or is this auto generated?

It's manually copied and pasted from the top section of the release note in the vscode-docs repo. Not sure how the links were incorrect, maybe it was copy and pasted before they were updated

OK, since the release notes highlight links are relative to the page, someone must have put the wrong prefix (https://code.visualstudio.com/updates/v1_68) in front to create absolute links. They also left out the underscore for the website header link format.
Is this written up somewhere for the Endgame Champion?

Is this written up somewhere for the Endgame Champion?

The endgame template includes this


Exceptionless will be captured by Fiddler 4 and other software

Exceptionless will be captured by Fiddler 4 and other software, and then sent a lot of spam logs maliciously. Is there any way to prevent it from being captured?

I use the above method to send logs.

Use HTTPS for submission, we have the ability in the user interface to disabled and remove api keys as well.

那就好了，这样我就不用自己写https进行提交，这样可以节省很多工作量。因为用https进行提交还要自己构造一些固定的常用的数据，例如版本号、运行环境、系统名等等

Can you please post your response in English (even via google translate)

That's good. In this way, I don't have to write my own HTTPS to submit, which can save a lot of work. Because if you submit with HTTPS, you have to construct some fixed and commonly used data, such as version number, running environment, system name, and so on

Sorry. I forget translate.

We support https out of the box with a tiny bit of configuration. If you need any help or have any other concerns let us know.

Good.


Add Lighthouse checks

Trying to prevent future performance regressions

It would be nice if this actually worked

I have no idea how to fix this

If you do, feel free to go ahead. Perf matters.

If you don't, we can also just close this. Since we fixed the acute problems in #799, there's no immediate need for this anymore.

I'll leave it up to you and stop spamming

:)

(:

I will see.

Okay

Cool

I'm kinda intrigued if this works

And yet I can't be bothered to fix this myself (sorry)

Did I say I'll stop spamming?

I take that back.


Create package.json

I am working on a new module list, which you can see here. If you search for your module in it, you will see that it looks a bit bland at the moment, as a screenshot and tags are missing.
You can change that by adding a package.json file. The information that is currently used from that file is the license information (the screenshot can only be displayed if the license is free) and the keywords (these are then displayed as tags).
Here is an example of a package.json.
It would be nice if you would add one to your repository :slightly_smiling_face:

I have added the file in https://github.com/pcurt/MMM-BlaguesAPI/blob/master/package.json
Thanks for the example

Cool! Your module now looks nice in the module list :smiley: :rocket:


Chromium based browsers freeze when pxt is removed from DOM

The browser's tab freezes when pxt is removed from the DOM.
This happens on chromium based browsers. It does not happen in firefox.
To Reproduce

Clone pxt repository (https://github.com/microsoft/pxt.git)
Clone pxt sample (https://github.com/microsoft/pxt-sample.git)

The folder structure should look like this:

bug-report/
|- pxt/
|- pxt-sample/

Install pxt globally (npm install -g pxt)
Install dependencies on both projects
Build local pxt (cd pxt; npm run build)
Link pxt-sample with local pxt (Deletion of pxt-sample/node_modules/pxt-core/ might be necessary)

cd pxt-sample; pxt link ../pxt

Serve pxt-sample with custom pxt

pxt serve

Open on Chrome the controller example

http://localhost:3232/controller.html

Remove iframe node from browser console

document.getElementById('iframe').parentElement.removeChild(document.getElementById('iframe'))

The browser window should be unresponsive at this moment

Desktop:

OS: macOS Big Sur Version 11.2.1
Browser:

Google Chrome Version 89.0.4389.90 (Official Build) (x86_64)
Brave Version 1.21.77 Chromium: 89.0.4389.90 (Official Build) (x86_64)

Additional questions
Should I send a message to pxt before closing?
If so, which one?

Are you sure this is not a bug in chrome devtools?
I definitely had some bad weather with freezing devtools for a few releases.


[hotfix][tidb] fix RowKind.INSERT judgement condition in DeserializatonSchema

RowKind.INSERT is decided via if (row.getOldValue() == null) in RowDataTiKVChangeEventDeserializationSchema:84.
But when performing INSERT statements in TiDB, it produced a Row record with NOT NULL return value from  row.getOldValue() but Internal.EMPTY_BYTE_ARRAY(a String[0] array) return value from row.getOldValue().toByteArray(), which will produce wrong RowKind (expect INSERT but actual UPDATE_AFTER) of the emitted RowData.
Hence it should add a length judgement condition for INSERT.
cc @leonardBang

sorry, I made a wrong PR from master branch, I will re-open one


made all package versions strict

Yet another breakage of npm installation motivated me to fix all direct dependencies of react native.
This will make RN dependencies not patchable without a new release of RN but to me it seems a lesser problem then fixing master branch and chasing package maintainers.

From https://circleci.com/gh/facebook/react-native/4936:
<EMAIL_ADDRESS>/tmp/react-native-w7Xd8VPp/EndToEndTest
└─┬ UNMET PEER DEPENDENCY<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Open to discussion.

If you do this, it will mean that for every tiny bug that gets fixed in a small package you'll have to tag a new release of react-native.

I realize that.
Imagine if we shipped shrinkwrap, it would be the same.
Community members actually requested shrinkwrap earlier but it ended up being flaky.

And BTW releasing a patch of RN is quite easy, a matter of a few minutes now.

I think the biggest problem with this is the strict Babel deps.
We've done this before, but had to revert. The problem is transitive dependencies. Babel-plugins may be locked in the RN repo, and we may depend on a specific version of Babel-Core. But those plugins and and their transitive dependencies won't be locked, and thus you may have several versions of babel-core/babylon/etc that get installed. It leads to an impossible situation of fixing a broken Babel dependency.
Perhaps @kittens can say more about this.

We should probably also update all the dependency version number to the one used when using ^ before doing that, this might downgrade some packages otherwise. Also as @skevy pointed I think we should keep using ^ for babel.

Also have you considered using ~ instead? Would that have also prevented the recent breakages?

Talked to @sebmarkbage in an internal group.
He has a good point that we loose ability for patches if we make all strict.

Considering that it does not happen too often maybe it is too early to make this change now.
@janicduplessis good point about ~.
@sebmarkbage what do you think if we use ~ instead of ^?
It probably will allow patches but not minor version updates.

Which package was the problem here? If it was something specific like node-haste, we could use ~ just for that package.

If we are not consistent in our versioning then it will not stick.
JSON does not have comments and 1-2 outstanding with ~ don't make sense.

Maybe ~ for every current / new package and ^ for babel since it has so many inter dependencies.

Also have you considered using ~ instead?

I think this makes sense. Patch versions should always be safe to immediately upgrade, whereas a minor or major update should generally have some amount of testing.

Implemented in a new PR of https://github.com/facebook/react-native/pull/7064


[WIP] Test on appveyor with IE

refs #115
escalated to https://help.appveyor.com/discussions/problems/18240-docker-switch-linux-not-working-anymore

we need to find a different way ... maybe with our new drone 1.0 setup .... closing


How to use it?

Hello, nice job, but I don't know how to use it. Is there a manual or something?

It was an experiment that I started but never completed.
Main issues are

saving passwords (meaning you'll have to re-login with your password every time)
data structure to save. Sqlite and db files are not recommended to be used on icloud, while implementing database updates, migrations, and sync are a lot of work.

The spiritual successor of this project is Anki Dojo.


Problem: transaction query parameter mode is not implemented

Solution: add and document mode parameter for transactions
https://github.com/bigchaindb/bigchaindb/pull/1951

That's odd. I thought it was implemented and documented.
Docs: https://docs.bigchaindb.com/projects/server/en/tendermint/http-client-server-api.html#post--api-v1-transactions?mode=mode
Implementation: https://github.com/bigchaindb/bigchaindb/blob/tendermint/bigchaindb/web/views/transactions.py#L59
(in the tendermint branch, of course)


[Feature] Elasticsearch spring boot starter

Spring Boot Starter for langchain4j-elasticsearch

Note: Thit PR should be merged after #29


Bump minimum numpy version to 1.20

[x] Closes #6818
[ ] Tests added
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst
[x] New functions/methods are listed in api.rst

Alternative to https://github.com/pydata/xarray/pull/6821

Hmm... doesn't seem like we can do this yet:
Package           Required             Policy               Status
----------------- -------------------- -------------------- ------
python            3.8     (2019-10-14) 3.8     (2019-10-14) =
boto3             1.13    (2020-04-30) 1.18    (2021-07-15) <
bottleneck        1.3     (2019-11-13) 1.3     (2019-11-13) =
cartopy           0.19    (2021-04-23) 0.19    (2021-04-23) =
cdms2             3.1     (2018-11-02) 3.1     (2018-11-02) =
cfgrib            0.9     (2019-02-25) 0.9     (2019-02-25) =
cftime            1.4     (2021-02-01) 1.5     (2021-05-20) <
dask-core         2021.4  (2021-04-02) 2021.7  (2021-07-09) <
distributed       2021.4  (2021-04-02) 2021.7  (2021-07-10) <
flox              0.5     (2022-05-03) 0.5     (2022-05-03) =
h5netcdf          0.11    (2021-04-20) 0.11    (2021-04-20) =
h5py              3.1     (2020-11-07) 3.3     (2021-06-22) <
hdf5              1.10    (2017-09-18) 1.12    (2020-08-03) <
iris              2.4     (2020-02-21) 3.0     (2021-01-25) <
lxml              4.6     (2020-10-17) 4.6     (2020-10-17) =
matplotlib-base   3.4     (2021-03-31) 3.4     (2021-03-31) =
nc-time-axis      1.2     (2019-01-25) 1.3     (2021-06-11) <
netcdf4           1.5.3   (2019-03-24) 1.5     (2019-03-24) = (w)
numba             0.54    (2021-08-29) 0.53    (2021-03-12) > (!)
numpy             1.20    (2021-01-31) 1.19    (2020-07-16) > (!)
packaging         20.0    (2020-01-06) 21.0    (2021-07-03) <
pandas            1.2     (2020-12-26) 1.3     (2021-07-02) <
pint              0.17    (2021-03-22) 0.17    (2021-03-22) =
pseudonetcdf      3.1     (2019-10-18) 3.1     (2019-10-18) =
pydap             3.2     (2018-10-16) 3.2     (2018-10-16) =
rasterio          1.2     (2021-01-25) 1.2     (2021-01-25) =
scipy             1.6     (2020-12-31) 1.7     (2021-06-27) <
seaborn           0.11    (2020-09-08) 0.11    (2020-09-08) =
sparse            0.12    (2021-03-19) 0.12    (2021-03-19) =
toolz             0.11    (2020-09-24) 0.11    (2020-09-24) =
typing_extensions 3.7     (2019-02-25) 3.10    (2021-06-03) <
zarr              2.8     (2021-04-25) 2.8     (2021-04-25) =

Ok seems @Illviljan and myself were a few month off xD https://github.com/pydata/xarray/pull/6821#issuecomment-1193378283.
Nvmd then :)

Oh no, I read the wrong table, sorry about that. :(
It's this table https://numpy.org/neps/nep-0029-deprecation_policy.html#drop-schedule :
On Jan 31, 2023 drop support for NumPy 1.20 (initially released on Jan 31, 2021)

Looks like we can bump a bunch of others if you're up for it :)

It's this table https://numpy.org/neps/nep-0029-deprecation_policy.html#drop-schedule :
On Jan 31, 2023 drop support for NumPy 1.20 (initially released on Jan 31, 2021)

We are dropping 1.19 here, where this table says:
"On Jun 21, 2022 drop support for NumPy 1.19"
What is now correct?

you can probably use the minimum version CI to check (we have a policy that slightly deviates from NEP29): < means we can bump and > means we have to downgrade (it will fail).
I think 1.19 should be fine.

Ok I think I found my misunderstanding.
Instead of dropping versions older than 18 month we want the oldest supported version to be at least 18 month old.

Anyone know why min all deps fails?
As far as I can tell the only requirement of netCDF is python 3.8?

I got rid of the complete npcompat module.
Not sure if you actually want to keep it around in case new incompatibilities arise?
But I guess we can always add it back.

@dcherian I see that you were working on this the last time.
Do you have any idea why mamba fails to resolve the environment (for min-all-deps)?
With netcdf4=1.5.3 it fails for some python dependencies and with 1.5.4 it fails to find the correct cmds2?
We should really merge this, since all CI runs are currently broken due to new flox requiring numpy>=1.20

Do you have any idea why mamba fails to resolve the environment (for min-all-deps)?
With netcdf4=1.5.3 it fails for some python dependencies and with 1.5.4 it fails to find the correct cmds2?

Time to call in the wizards.
@ocefpaf something's wrong with the environment solution.
With netcdf4 1.5.3
- package netcdf4-1.5.3-mpi_mpich_py38h137e1d7_4 requires python_abi 3.8.* *_cp38, but none of the providers can be installed

With netcdf4 1.5.4
Encountered problems while solving:
    - package cdms2-3.1.0-py27h6091dcd_0 requires python >=2.7,<2.8.0a0, but none of the providers can be installed

@tomvothecoder, I see you're committing to cdms. Is this something you've run in to.

since all CI runs are currently broken due to new flox requiring numpy>=1.20

sorry! trying to fix this in https://github.com/conda-forge/flox-feedstock/pull/22

sorry! trying to fix this in conda-forge/flox-feedstock#22

Thanks!
Do we have to clear some micromamba cache for this to work immediately or should it just work after some days?

The cache will be cleared every day, or on changes to the contents of the environment file. I just reran the workflow which reported a cache miss so let's see if the new environment works?

With netcdf4 1.5.4
Encountered problems while solving:
    - package cdms2-3.1.0-py27h6091dcd_0 requires python >=2.7,<2.8.0a0, but none of the providers can be installed

@tomvothecoder, I see you're committing to cdms. Is this something you've run in to?

since all CI runs are currently broken due to new flox requiring numpy>=1.20

sorry! trying to fix this in conda-forge/flox-feedstock#22

I haven't ran into this issue since I've only committed documentation and README updates for the repo.
@jasonb5 maintains the repo dependencies, so let's see if he can help. Jason, can you try taking a look at this issue? It looks like cdms2 is breaking the xarray builds.

Is there a reason why the minimum versions are not in the additional requirements in setup.cfg?

Is there a reason why the minimum versions are not in the additional requirements in setup.cfg?

See #5578

@dcherian @tomvothecoder  cdms2-3.1.0 is old, the latest, final version is 3.1.5. Updating the version should probably resolve any dependency issues.

We usually only fix the minor version, in this case cdms2=3.1. But it seems to work now...
LGTM!


ARC: add ARCv3 64 bit support

Add new ARCv3 ISA support and add nSIM HS6x simulation board support.

Requires SDK with ARC64 support, being discussed here zephyrproject-rtos/sdk-ng#327, the buildkite job fails due to the lack of  ARCv3 toolchain in current Zephyr SDK version, so it can't build for nsim_hs6x board we have added.

The compliance check fails on the headers files with assembler macros, and it's expected to have incompatible syntax. So it should be considered as a false-positive.

The most interesting is the license check failure. As of today for ARCv3 we have asm-compat macros files which we share between the OSS projects so they are dual-licensed:
/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */

However the licence checker argues about that files, i.e.: asm-macro-32-bit-gnu.h is not apache-2.0 licensed.
I expect that it is just a false-positive. I haven't found any info about usage of dual-licensed code in Zephyr documentation, so @nashif , @ruuddw probably you can share any thought about it (or whom should I discuss it with)?


Some minor simplifications

In addition, I think we can also remove the creation of local.cert_bucket_path_arn, now that it is no longer being used for anything (please double-check that).

Unused variable removed in 59d25ff.


[UWP] Renderer ignores image size in ImageSet

Platform

.NET HTML
.NET WPF
Android
iOS
UWP

Version of SDK
latest master
Details
The UWP renderer doesn't respect the size of images when the image set has imageSize: "auto"
UWP Renderer

WPF Renderer

{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.0",
	"body": [
		{
			"type": "ImageSet",
			"imageSize": "auto",
			"images": [
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/1.png",
					"size": "small"
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/2.png",
					"size": "medium"
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/3.png",
					"size": "large",
					"requires":
					{
						"adaptiveCard": "1.4"
					},
					"fallback":
					{
						"type": "TextBlock",
						"text": "Some text"
					}
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/1.png",
					"backgroundColor": "#228B22"
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/2.png",
					"size": "stretch"
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/3.png",
					"style": "person"
				}
			]
		}
	]
}

Bug separated from: https://github.com/microsoft/AdaptiveCards/issues/3163

See also #4043

Fixing this issue is not currently on our roadmap. Feel free to continue the conversation on this issue. If you feel strongly about this issue, please let us know and we can reevaluate.


Models Creation (Users and Borrowed)

This PR is all about the creation of Models for the project Library Management System. Here I have created two models Named as Users and Borrowed and placed in users.py and borrowed.py respectively.
So, this PR will add Users and Borrowed Model to the Project.
The Users Model contains following attributes:

id: int = An integer id that will be unique for each user and serves as a Primary key for this table.
email: str = A string of length 32 characters that will be unique also, and stores the email of the user.
username: str = A string of length 32 characters that will be unique and serves as a username for users.
first_name: str = A string of length 32 characters that will store the first name of the user.
last_name: str = A string of length 32 characters that will store the last name of the user.
date_of_joining: datetime = A DateTime object that will store the creation date of the user account.
contact_number: str = A string of length 32 characters that will store the contact information of the user.
address: str = A string of length 200 characters that will store the address information of the user.
is_labrarian: bool = A boolean value that will be True for Librarian and False for a regular user.
created_at: datetime = A datetime object that will store the creation date of this entry.
updated_at: datetime = A datetime object that will store the date and time when this entry is modified.

The Borrowed Model consist of the following attributes:

id: int = An integer id that will be unique for each borrowed object and serves as a Primary key for this table.
copy_id = An integer and a foreign Key from copies table, to show which copy has been borrowed.
user_id = An integer and a foreign Key from users tabel that will store the id of the user who is going to borrow this copy.
issue_date: datetime = A DateTime object that will store the date and time when the copy is issued.
due_date: datetime = A DateTime object that will store the due date of the copy being issued.
return_date: datetime = A DateTime object which stores the date and time when the copy is returned.
created_at: datetime = A datetime object that will store the creation date of this entry.
updated_at: datetime = A datetime object that will store the date and time when this entry is modified.
users: A relationship with the Users Model.

Look at the code and check, if the relationship should be updated or not, also if the issue_date, due_date and return_date should have other types. 👀

Users model should also have the following relation borrowed = relationship("borrowed", back_populates="user")
Moreover Users model is also missing one attribute is_active that represents if an account is active or disabled.

Yes , Review your Pr , and update these changes , Rest looks good to me


colorProvider out of spec?

Based on the discussion here, kak-lsp's initialization is not conforming with spec.
kak-lsp sends "colorProvider": null, during initialization. Based on the discussion above, this should be true, false, or omitted.
The spec itself: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentColor

I believe this was fixed back in https://github.com/ul/kak-lsp/pull/336. kak-lsp sends
"colorProvider": {
  "dynamicRegistration": false
}

as part of client capabilities.
It hasn't made into release yet tho.

That's great; my bad for only running the latest release. I tried the latest git commit and this null-bug does no longer occur.
Only lsp-diagnostics works, so I have more debugging ahead of me.
@ul Thanks for a great plugin. It bridges the last gaps from last time I tried kak and allowed me to switch.


Update newmoon to 27.2.1

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Multiple issues with this PR.
The newmoon cask exists separately to the palemoon cask as there were major changes between versions 26 and 27 of palemoon which may render the application no longer suitable for certain usecases upon updating. The filename of the pre 27 palemoon was newmoon, and as such, the token was correct. The filename for palemoon 27+ is palemoon.app, which is why the token is correct there.
Another issue is the regression of the download link from https to http, why do this?
The palemoon cask is in versions and should have been been updated accordingly. This PR should be reverted.

I cannot revert this for some reason - @ibrokemypie would you mind opening a new PR to fix this?


Feature request: provide a gradio gui

I think it would make this extension more accessible to provide a gradio gui that calls the cli script.

I agree that a GUI would help more people using the script. At the moment this is low priority before I sort out other aspects of the extension.
However, PRs are welcome on this subject


'Seen' status not showing

Using version 1.4.7 on OSX 10.11.6 + Windows 10 (Anniversary) and th seen status won't update in group chats.

Thanks for reporting


explaining functionality

hello!
im struggling to bring the derplib module to work for the following purpose:
i want to programmatically be able to add an user account (especially username) and programatically login with it (-> single site login)
i tried the same approach as your example-file:

	var DerpLib = require('./derplib')
DerpLib.addAccount('admin', 'root');
console.log('[DB] Loading...');
var db = DerpLib.MM.plugin.load('database').setOrder(1).done(function(){
console.log('[BOT] Starting.');
var permissions = DerpLib.MM.plugin.load('permissions').setOrder(2);
var commands = DerpLib.MM.plugin.load('commands').setOrder(3).autoLoad();
permissions.addRole('user', {access: 1});
permissions.setDefaultRole('user');
// Join a room here - after it's joined use join and leave commands
if(!DerpLib.getRoom('exampleroom'))
new DerpLib.Room({room: 'exampleroom', account: 'admin'});
});
DerpLib.events.on("request", function(req){
console.log('['+req.room.name+']['+req.user.name+'] '+req.message.text);
});
DerpLib.events.on('messageDeleted', function(message, room){
console.log('['+room.name+'][DELETED]['+message.name+']', message.text);
});

... and this is my console output:

[DB] Loading...
ERROR No data found to load
ERROR No data found to unzip
[DB] Loaded
[DB] Files to load:  []
[BOT] Starting.
[SOCKET] connecting to s64.chatango.com:443
[2014-11-04 19:47:42.841] [TRACE] error - domain error: {"domain":{"domain":null,"_events":{},"members":[]},"domainThrown":true}

please could you try to help me out with this?
thank you!

Pretty late reply but please message me on chatango if you are still looking for help, under the username "barrykun". Thanks!


Add gongdoc to data

Steps:
Manual

[x] call gongdoc.Load from newProbe

[x] put panic in controllers

[ ] remove probes from the gongdoc

[ ] remove datamodel reference from the main

[ ] have newProbe new API add the path & type of the calling stack ("test" and ""github.com/fullstack-lang/gong/test/go/models").

[ ] Be in workspace mode to change the API in gong, gongtree, gongtable, gongdoc and gongsvg.
[ ] Commit everyone
[ ] sync

[ ] prefix names of 4 stacks used by gongdoc by the path in the parameter (front and back)

[ ] replace "-sidebar", "-form" and "-table" with enum strings (as in gonggantt)

Generation

Adding the gongdoc panel within the whole application wrecks the data panel.

This happens:

only when one svg shape is drawn in another component. no svg stuff, no issue
on some elements : some form (gongtable) and within the table (gongtable) component
not on some element (the tree)

element.style {
}
.mdc-text-field--filled:not(.mdc-text-field--disabled) {
background-color: whitesmoke;
}

element.style {
}
.mdc-text-field--filled:not(.mdc-text-field--disabled) {
background-color: whitesmoke;
}

according to chat gpt, both css are identical;


fix the empty schema issue

for #22448

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 41.691%

Files with Coverage Reduction
New Missed Lines
%

extensions/machine-learning/src/common/processService.ts
2
81.48%

extensions/notebook/src/jupyter/serverInstance.ts
4
75.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
30347

Relevant Lines:
67390

💛  - Coveralls


Create LogTimeSynch.md

this is example of Rule which makes life easier for people who track Remaining and Completed Work on Task WIs

Apart from few typos (decreased in the first bullet, decision) could you also mention that this rule requires impersonation to be turned off? I don't think it will work with impersonation turned on. (or can you test it)

i added information about impersonation, i will test it later today when my server won't be so busy and in case there will be any side effect i will create another PR

Thanks!


feat(common): a "lastN in thread" logger

This is a variant of the "lastN" logger. It only dumps the lastN log lines in the thread when the library or application creates a log line over a minimum severity threshold. This is an improvement over the "lastN" logger, which dumps the last N logs from all the threads in similar circumstances.

This change is

For my own clarification, I presume ...

that this isn't really applicable to us as library purveyors, but rather to users, who know about their threads and where they may need to flush, and
it is less useful for async/callback-based operations, where some of the sub-actions will be occurring in different threads.

Perhaps one way to address both concerns in the future might be the ability to apply a backend as a call Option.  That would be independent of threads, and so be applicable at user-defined granularity.  It would also collect all the callback-based logging through the existing "current options" support.
Or, perhaps that is all just re-inventing telemetry stuff.


zh-CN translation

I'd like to contribute on zh-CN translation.

Hi bitaller, that would be awesome, thanks! Would you like me to create the baseline Strings.zh-CN.resx file that will need to be translated, or are you happy to do that yourself based on the instructions in here?

Hi bitaller, that would be awesome, thanks! Would you like me to create the baseline Strings.zh-CN.resx file that will need to be translated, or are you happy to do that yourself based on the instructions in here?

It would be great if you create the baseline Strings.zh-CN.resx file. btw, I haven't seen "language" setting on the menu.

It would be great if you create the baseline Strings.zh-CN.resx file. btw, I haven't seen "language" setting on the menu.

That's the development build done with the translation added. It's available here: https://dev.azure.com/fernandreu-public/OfficeRibbonXEditor/_build/results?buildId=977&view=artifacts&pathAsName=false&type=publishedArtifacts
A few notes:

As I mentioned in #140, I added your username to both the GitHub README (at the bottom) and the About dialog in the tool, with a link to your GitHub profile. If you want me to change that to a different username, link (or not mentioning anything at all), I'm happy to change it
I added an extra About.Translators entry for the Translators: header in the About dialog, in case you want to translate that as well (here)
There are a few items which are not supported for translation and will remain in English, either because it would be difficult or because I decided it would be best. These are the right-click menu entries of the editor and the legal text at the bottom of the About dialog

That's the development build done with the translation added. It's available here: https://dev.azure.com/fernandreu-public/OfficeRibbonXEditor/_build/results?buildId=977&view=artifacts&pathAsName=false&type=publishedArtifacts
A few notes:

As I mentioned in #140, I added your username to both the GitHub README (at the bottom) and the About dialog in the tool, with a link to your GitHub profile. If you want me to change that to a different username, link (or not mentioning anything at all), I'm happy to change it
I added an extra About.Translators entry for the Translators: header in the About dialog, in case you want to translate that as well (here)
There are a few items which are not supported for translation and will remain in English, either because it would be difficult or because I decided it would be best. These are the right-click menu entries of the editor and the legal text at the bottom of the About dialog


SA0102 : CSharp.CsParser : A syntax error has been discovered in file containing interpolation string with escaped quotes

Warning     SA0102 : CSharp.CsParser :
A syntax error has been discovered in file [path]\ImageOptimizer.cs on line 22

Code to reproduce:
namespace NotImportant
{
    using System;
    using System.Diagnostics;
    using System.IO;

    public class ImageOptimizer : IImageOptimizer
    {
        public byte[] OptimizePng(string optimizerExecutable, byte[] fileContent)
        {
            var fileName = Path.GetTempPath() + Guid.NewGuid() + ".png";
            try
            {
                // PNG file path.
                File.WriteAllBytes(fileName, fileContent);

                // Run OPTIPNG with level 7 compression.
                var info = new ProcessStartInfo
                               {
                                   FileName = optimizerExecutable,
                                   WindowStyle = ProcessWindowStyle.Hidden,
                                   Arguments = $"\"{fileName}\" -o7"
                               };

                // Use Process for the application.
                using (var exe = Process.Start(info))
                {
                    exe.WaitForExit();
                }

                return File.ReadAllBytes(fileName);
            }
            finally
            {
                try
                {
                    File.Delete(fileName);
                }
                catch
                {
                }
            }
        }

        public bool OptimizePng(string optimizerExecutable, string filePath)
        {
            try
            {
                // Run OPTIPNG with level 7 compression.
                var info = new ProcessStartInfo
                               {
                                   FileName = optimizerExecutable,
                                   WindowStyle = ProcessWindowStyle.Hidden,
                                   Arguments = $"\"{filePath}\" -o7"
                               };

                // Use Process for the application.
                using (var exe = Process.Start(info))
                {
                    exe.WaitForExit();
                }

                return true;
            }
            catch
            {
                return false;
            }
        }
    }
}

Line 22 is:
Arguments = $"\"{fileName}\" -o7"

StyleCop doesn't support C# 6, because the custom parser it uses hasn't been updated. I suggest using the DotNetAnalyzers/StyleCopAnalyzers instead. This has full support for C# 6, including a few new rules, as well as full support for the existing StyleCop rules (apart from spell check, I think).

Closing in favour of #42

I think, that issue wasn't fixed. I am using latest version of StyleCop at this moment (v4.7.55).
When i write something like this:
string someString = $"somestring: \"{documentType}content\" somestring {itemNumber}]";
and run stylecop, i will have a SA0102 error. That's appears, when we use interpolation with strings and ecaped quotes. Please, check this issue again.

I did a quick test and cannot repro this the latest version (5.0.6329.1) which is output from the repo.

@SanjayGuntur sorry, but I don't know nothing about this version. We are using the latest version that Nuget can provide. When we can find 5.0.6329.1 in Nuget?

https://www.nuget.org/packages/StyleCop.MSBuild/5.0.0-beta02
It's a prerelease version.


Issues with the iOS Simulator and Parse CoreLocation Wrapper

We (@damonjones and I) are building an iOS application that extensively uses Parse and your CoreLocation wrapper. Our user's location is vital to the application's UX, as we exchange information for where they are in relation to restaurants and bars in their city/area.
We use this PFGeoPoint method to fetch our user's location data:
/*!
@abstract Fetches the current device location and executes a block with a new `PFGeoPoint` object.

@param geoPointHandler A block which takes the newly created `PFGeoPoint` as an argument.
It should have the following argument signature: `^(PFGeoPoint *geoPoint, NSError *error)`
*/
class func geoPointForCurrentLocationInBackground(geoPointHandler: PFGeoPointResultBlock?)

The API works perfectly on real iOS hardware, but is rather unreliable in the iOS Simulator. We always receive the requested data on real iOS hardware, but only three times out of five in the simulator. We are not entirely sure if this problem is related to Parse or CoreLocation. We're looking to find out who the culprit is - to either contribute in having it fixed or file a radar with Apple.
What do you think?

Just looked at the code, and tested in the Simulator.
What I think is happening is that iOS Simulator doesn't actually have real location, but rather simulates it and the results are flaky.
I would suggest trying getting the location with our wrapper and comparing the results, it would really help in identifying the problem here and fixing it fast.

Oh okay, @nlutsenko! It makes sense that the location is simulated, but I thought that Apple's simulation would be better! I'll write an API comparison application utilising both stock CoreLocation APIs and Parse's wrapper. I'll try to put this together in a few days as we're just finishing up a release at work! :+1:
I'll write a comparison application using both APIs in a few days. Just finishing up a release at work.

Oh okay, @nlutsenko! It makes sense that the location is simulated, but I thought that Apple's simulation would be better! I'll write an API comparison application utilising both stock CoreLocation APIs and Parse's wrapper. I'll try to put this together in a few days as we're just finishing up a release at work! :+1:

CoreLocation is known to be a little shaky on the simulator. Most of the times, setting the simulated location to None and then back to whatever you had it at gets it working again. I highly highly doubt this is a Parse issue, especially if you're only experiencing problems on the simulator.

Oh, iOS Simulator, you know we love you, but you are sometimes a pain to deal with.
@istx25, I am going to close out this issue for now, feel free to reopen if you see anything weird happening.


Update metadata.json

Add support for GNOME Shell 3.10-20, as it's currently marked as "outdated" on GNOME Shell extensions web-site.

Léo, thanks for the PR, but I transferred control of the extension to iluxa777 (see https://extensions.gnome.org/extension/744/hide-activities-button/) if you'd like your change to get into gnome.org, you better contact him.

Arf ok, sorry ! There was no link to source code or place to submit issue, so I search and found this...
I'll leave iluxa777 a comment on the GNOME Shell extensions web-site, as I don't see any way to contact him.
Thx ! :)


Small performance improvement in folder logic

For larger repositories, zcl_abapgit_folder_logic methods path_to_package or package_to_path are called many times with the same parameters. Once per package/path is sufficient but the calls are once per object/file.
This change introduces a local caching logic which should improve runtimes for serializing and deserializing repos.
For serializing the abapGit repo the improvement is about 0.2s (but I use 4 processes). With standalone (1 process) it will be more. For deserializing, I expect the improvement to be more noticeable since the logic requires more DB selections.

perhaps split off the caching logic to a new local class? so its less intertangled with the actual logic

Refactored for minimal impact to existing class


sleep facility for activities

We need a sleep API that would sleep on real clock in normal case, but sleep on mock clock in unit test environment, something like:
cadence.ActivitySleep(ctx context.Context, d time.Duration)
then, in activity code, instead of:
time.Sleep(d)
it should do:
cadence.ActivitySleep(ctx, d)
this way, ActivitySleep would sleep on real clock in normal case, but sleep on mock clock on unit tests.

Closing this since we do have sleep within workflows.
https://pkg.go.dev/go.uber.org/cadence/workflow#Sleep
Activities on the other hand, depending on the type of testing, the time module could be stubbed out for testing.
https://stackoverflow.com/questions/18970265/is-there-an-easy-way-to-stub-out-time-now-globally-during-test


[QUESTION]: Example for Converting Multi-Page PDF to Images Reactively

Hello,
I'm currently working on a project where I need to convert multi-page PDF documents into images reactively, using Quarkus with the SmallRye Mutiny framework. The goal is to process each page of the PDF document in parallel and then combine the resulting images into a single ZIP file for the user to download.
Here's a simplified version of my current implementation:
fun pdf2jpg(@RestForm file: FileUpload): Uni<Response> {
    val inputStream = file.uploadedFile().inputStream().readBytes()
    val doc = Loader.loadPDF(inputStream)
    val renderer = PDFRenderer(doc)

    return Multi.createFrom().range(0, doc.numberOfPages)
        .onItem().transformToUniAndMerge { pageIndex ->
            Uni.createFrom().item {
                ByteArrayOutputStream().use { baos ->
                    val image = renderer.renderImageWithDPI(pageIndex, 300f)
                    ImageIO.write(image, "jpg", baos)
                    baos.toByteArray()
                }
            }
        }.collect().asList()
        .onItem().transform { images ->
            ByteArrayOutputStream().use { combinedBaos ->
                ZipOutputStream(combinedBaos).use { zos ->
                    images.forEachIndexed { index, image ->
                        val zipEntry = ZipEntry("page_${index + 1}.jpg")
                        zos.putNextEntry(zipEntry)
                        zos.write(image)
                        zos.closeEntry()
                    }
                }
                combinedBaos.toByteArray()
            }
        }.onItem().transform { zipBytes ->
            doc.close()
            Response.ok(zipBytes).header("Content-Disposition", "attachment; filename=\"images.zip\"").build()
        }
}

While this code works, the execution time for a 33-page PDF document is around 7 seconds, which is longer than we'd like. I'm looking for advice on how to optimize this process, potentially by improving parallel processing or any other means to reduce the overall conversion time.
Have you or anyone in the community faced a similar challenge and found a more efficient approach to converting multi-page PDFs to images reactively? Any examples, tips, or guidance you could provide would be greatly appreciated.
Thank you in advance for your help!

I'd suggest profiling the code to detect potential bottlenecks in the code (https://github.com/quarkusio/quarkus/blob/main/TROUBLESHOOTING.md#troubleshooting-performance-issues may help).
One hint: Although it may be faster, storing byte-arrays in memory may be a bad choice memory-wise.

Also, the code is not async, see https://smallrye.io/smallrye-mutiny/latest/tutorials/transforming-items-asynchronously/#uni-transforming-an-item-into-a-uni for an example

Closing as this is not a issue, please engage in https://quarkusio.zulipchat.com for any Mutiny/Quarkus discussion


docs: WIP new community section

DO NOT MERGE
New community section for access to team sites and experimental patterns.
New top level left nav item Community with the following pages:

Overview (an introduction to the section)
Domain guidance (links for IBMers to the various PAL sites and eventually cross-product solutions such as Onboarding and Watson Moments)- Patterns (the existing Experimental patterns will now be accessed from here)
Components
Patterns

Experimental section is removed from left nav.

Overview page can be deleted.
The following pages can be moved to the new Community section accessible within Community > Patterns, with redirects put in place for each page:

Chatbots
Create flows
Edit
Export
Generate an API key
Import
Remove

The left nav should be updated to remove the word pattern on the following 4 pages: Edit, Export, Import, and Remove.
The following pages have newer versions housed on the Cloud PAL site and can be removed:

Cards
Dashboard widgets
Order summary template

The remaining patterns have been updated to move the Maintainers name to the top of the page and the Experimental status note has been removed.
Need an FAQ for "What happened to Experimental?" (to be written)

community dropdown w/ 4 pages
experimental redirects to community
remove word pattern from left nav
remove the following pages:

Cards
Dashboard widgets
Order summary template


Check presence of jax_array in _arraylike before calling it in is…

…scalar

Hi - can you say more about the motivation for this change?

Sure. This ensures that the narrower property of whether the value has the __jax_array__ property is checked before actually calling it within isscalar. The motivation is that I'm working on a small LazyArray library that attempts to delay array materialization as late as possible when interacting with JAX functions, and the current order of calls here forces materialization earlier than is optimal.

Makes sense, thanks!

Thanks!
On Mon, Sep 20, 2021 at 4:42 PM copybara-service[bot] <
@.***> wrote:

Merged #7943 https://github.com/google/jax/pull/7943 into main.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/jax/pull/7943#event-5331677842, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIQMW4IUCRXUFZJWZGVLC3UC7BFVANCNFSM5EGFTENQ
.


(request) Heruko deployment

As the title says, make it useable for heruko so we can depoly there

For someone completely unfamiliar with Heroku, how would that look like? What would need to be done to make the project usable with Heroku?
Would this only require action once (like creating some sort of config file in the repository, similar to docker-compose.yml or Helm charts), or would this require continuous maintenance?

My use case is to use their servers as they are hosted on aws for free. I dont know about all the other parts, but i've seen it done before, but not using wireguard

Since we don't have any details and don't know how this "usable for Heroku" looks like, and since I'd have to spend a lot of time looking into Heroku and learning the ins and outs of it, figuring out how it works, what we'd have to do, and all for a questionable benefit, I'd consider this out of scope for the project.
If someone else give us more details in the future, we can pick it up again.


'RigidBodyView' object has no attribute 'get_accelerations'

Thank you for your work. I got an error: 'RigidBodyView' object has no attribute 'get_accelerations' when training the Dextrous Hand. Any help, tks? The Isaac Sim version is 4.0.0 and the RobotArm script works well for me.

Isaac Sim 4.1.0 worked.


Use of undeclared type 'AKMaskField'

OK What am I doing incorrectly? I am still getting the error listed above. I copied the folder AKMaskField into my project and saved it. Still getting error..

Got it! It was me. No worries Thank You


Update gradle

Update gradle to support Java-11.

Thanks for the patch!
Could you add your sign to the commit with -s?

Thank you for your response!
I've added the signature.

@okkez How about this change?

Thanks!


Python Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Added codes for the assignment
What did you learn from the changes you have made?
Python learning
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
No
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
No
How were these changes tested?
N/A
A reference to a related issue in your repository (if applicable)
No
Checklist

[X] I can confirm that my changes are working as intended

You have unfortunately made a pull request to the wrong repo. You shouldn't be making a pull request to uoft-dsi/python, but rather your own forked shell repo. Please read the instructions on your onboarding Assignment Submission Guide more carefully.


Maintenance improvements

Is your feature request related to a problem?
At the end of the dev call, we discussed ways to do better at maintenance. I'd like to make Xarray a wonderful place to contribute, partly because it was so formative for me in becoming more involved with software engineering.
Describe the solution you'd like
We've already come far, because of the hard work of many of us!
A few ideas, in increasing order of radical-ness

We looked at @andersy005's dashboards for PRs & Issues.  Could we expose this, both to hold ourselves accountable and signal to potential contributors that we care about turnaround time for their contributions?
Is there a systematic way of understanding who should review something?

FWIW a few months ago I looked for a bot that would recommend a reviewer based on who had contributed code in the past, which I think I've seen before. But I couldn't find one generally available. This would be really helpful — we wouldn't have n people each assessing whether they're the best reviewer for each contribution. If anyone does better than me at finding something like this, that would be awesome.

Could we add a label so people can say "now I'm waiting for a review", and track how long those stay up?

Ensuring the 95th percentile is < 2 days is more important than the median being in the hours. It does pain me when I see PRs get dropped for a few weeks. TBC, I'm as responsible as anyone.

Could we have a bot that asks for feedback on the review process — i.e. "I received a prompt and helpful review", "I would recommend a friend contribute to Xarray", etc?

Describe alternatives you've considered
No response
Additional context
There's always a danger with making stats legible that Goodhart's law strikes. And sometimes stats are not joyful, and lots of people come here for joy. So probably there's a tradeoff.

As part of keeping our issue count <1000, closing as unlikely to inspire change, please reopen if anyone disagrees


From RASH to EPUB

I would be good to have a mechanism to make available RASH documents (completed with all the external files they need, e.g., images, CSS, JS, for visualisation) in a form of a package, in order to be easily read on different devices (e.g., smartphone, tablet) even without internet connection.
To this end, a good first step could be the development of a converter from RASH into EPUB. This conversion relates closely with #60.

Working on this. I'll have something ready in the next couple weeks... Or maybe sooner! ;)

@falcon03, just added you as collaborator – please accept my invitation :-)
Please add all the files that enable such conversion directly to the repository, keeping in mind that any source code should be placed in the directory "sources", while the actual tool should be available in the directory "tools".
Two additional things:

if there are some bugs to fix (I remember some issues in the conversion we discussed in past emails), please open issues about them directly here in the repo;
RASH (i.e. grammar, JS, CSS, etc.) has been updated so as to comply with additional needs. In particular, now the footnotes are handled by means of the DPUB-ARIA roles doc-endnote and doc-endnodes instead of doc-footnote and doc-footnotes.


Add collection function containsMultipleItems

\Illuminate\Support\Collection and \Illuminate\Support\LazyCollection already offer syntax sugar for determining the number of items like:
$collection->isEmpty(); // count() === 0
$collection->isNotEmpty(); // count() !== 0
$collection->containsOneItem(); // count() === 1

This PR simply adds the last missing piece:
$collection->containsMultipleItems(); // count() > 1

Isn't it just isNotEmpty() if it checks there's more than one item?

Isn't it just isNotEmpty() if it checks there's more than one item?

Nope.
collect(['foo'])->isNotEmpty(); // true
collect(['foo'])->containsMultipleItems(); // false

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Issue processing additional properties

Using a simple example it looks like there is bug in processing additional parameters as Maps.
the error returned is:

error: failed to transpile: failed to compile OpenAPI spec to Protocol buffers: failed to compile paths: failed to compile path /test: got non-message type (*protobuf.Map) in response for GetTest

The swagger example used was:
`swagger: "2.0"
info:
title: "API"
version: "1.0.0"
contact:
name: Contact Name
email<EMAIL_ADDRESS>url: https://example.com/
tags:

name: Metadata
description: Metadata related requests

paths:
/test:
get:
summary: Simple test for o2p
produces:
- application/json
responses:
'200':
description: Test info
schema:
$ref: "#/definitions/Infohash"
definitions:
Infohash:
type: object
additionalProperties:
type: string
`

while the prev swagger does generate the expected go code (i'm using go-swagger) openapi2proto errors out as described: However if i use the following both go-swagger and openapi2proto produce the expected output:

swagger: "2.0"
info:
  title: "API"
  version: "1.0.0"
  contact:
    name: Contact Name
    email<EMAIL_ADDRESS>    url: https://example.com/
tags:
  - name: Metadata
    description: Metadata related requests

paths:
  /test:
    get:
      summary: Simple test for o2p
      produces:
        - application/json
      responses:
        '200':
          description: Test info
          schema:
            $ref: "#/definitions/Infohash"

definitions:
  Infohash:
    type: object
    properties:
      info:
        type: object
        additionalProperties:
          type: string


Send before ready

I notice that calling Producer.send before ready event delivers the message successfully.

is this the expected behaviour?
is this recommended?

Thank you

It's possible this could work with KafkaClient but I would still wait for the ready first.

Yes, I am using KafkaClient in the development environment and, I hope, I will use ZooKeeper in production. The use case is an audit library for more than 50 microservices.
I have some problems with the design and understanding the flow I should use.
As an example of the library usage:
const audit = require('@something/audit')
 // several lines omitted

audit.config().then((middleware) => {
  // Configure express application
  // several lines omitted
   app.use(middleware)
}).catch((error) => {
  // stop, log and exit
}

As you see, I want to reject the promise is the connection fails or kafka is not available.
Should I listen once to error and once to ready?  or is better a timeout?


fix #36: Adds '_pb' Postfix to all Module Names

This assists in avoid name collisions between packages/modules and messages/types. This is a possible solution for issue #36.

Thanks for the PR.
It will be sad to have all modules renamed. But the implementation suggested in #36 is probably more complicated.
Since this will be a breaking change, I think we should at least have a command line option for now to switch to this form only when required.

What about instead of a command line option, we use a environment variable?  JULIA_PROTOBUF_MODULE_POSTFIX=1 or 0 to enable or disable the option.  We can leave it disabled by default to maintain backwards compatibility.

Yes, that seems better.

Anything else to address before we merge and tag a new release?

Thanks. LGTM!
I think we can tag a new release with this.
Please squash the commits.

Version v"0.1.3" make sense, since we didn't break backwards compatibility?   Should we mark #36 as closed with this?

Yes, 0.1.3 should be fine I think.
I think we can mark #36 as closed too.

Thanks for helping moving this along quickly.


[FEATURE] Improve logging rotation

Is your feature request related to a problem? Please describe.
Currently, logging rotation is done by file size. This may not be intuitive for the user when they need to share logs. It's also really hard to identify errors with a given executed command, which means we have to carefully go through the logs to find what we need.
Describe the solution you'd like
Providing a structured way to identify when and what command was used at each section of the log would help. Also rotating logs in a more meaningful way, e.g. by command execution, or date, would be helpful as well.

Duplicate of #307


netavark for rootless containers

Dear developer,
Would like to use netavark dhcp-proxy for rootless containers.
I found "netavark -r true" options, so I've tested "netavark -r true dhcp-proxy".
But did not manage to make it work with rootless containers ...
How is it supposed to work ?
Thanks for your help.

That is impossible, rootless netavark runs in a separate namesapce (rootless-netns) so thee is no way to use macvlan on a host device to get dhcp packets anyway
ref https://github.com/containers/podman/discussions/22943#discussioncomment-9795883


Release 1.0.5

Would it be possible to have an updated release with the latest commits to master?  I'm deploying my code and relying on those changes but it ain't working because they haven't made it into npm yet!

Hi @adam-nielsen, good catch. I'll do it

Thanks @adam-nielsen , it's done.

Perfect, many thanks for that!


Add encrypted file system job tests

Thanks for looking into this!! I was going to start trying to get those tests run locally when I did see this PR. Let me know if I can do anything to help


Dspace 8, SortOptions using findAll() not working.

Describe the bug
I want to get a list of collections and sort them base on name using findAll() from CollectionDataService. The result I get is the list of collections but not sort in DESC order. The currentPage and elementsPerPage work fine. I tried change the field of SortOptions to name but it didn't work.
Code Example
export class CollectionListComponent implements OnInit {
  collections$: Observable<RemoteData<PaginatedList<Collection>>>;

  constructor(private cds: CollectionDataService) {}

  ngOnInit(): void {
    const LOGO_FOLLOW_LINK: FollowLinkConfig<Collection>[] = [
      followLink("logo"),
    ];

    const sortConfig = new SortOptions("dc.title", SortDirection.DESC);

    this.collections$ = this.cds.findAll(
      {
        sort: sortConfig,
        currentPage: 1,
        elementsPerPage: 50,
      },
      true,
      true,
      ...LOGO_FOLLOW_LINK
    );
  }
}

To Reproduce
Steps to reproduce the behavior:

Using findAll() to get a list of collections.
Using AsyncPipe to display collection in template.

<ng-container *ngVar="collections$ | async as collectionsRD">

Loading…

    Failed: {{ collectionsRD?.error?.message }}

{{ collection.name }}

</ng-container>

Expected behavior
The collection list should display the tittle or name in DESC order.

@TrinhHuynh2801 : There is no findAll() method in CollectionDataService in DSpace 7 or 8:

DSpace 7: https://github.com/DSpace/dspace-angular/blob/dspace-7_x/src/app/core/data/collection-data.service.ts
DSpace 8: https://github.com/DSpace/dspace-angular/blob/dspace-8_x/src/app/core/data/collection-data.service.ts

This must be custom code, or maybe you are using a different system based on DSpace?
Closing, as this cannot be solved in DSpace as this code doesn't seem to exist.  If I misunderstood, please let me know and we can always reopen this ticket.

Hi Tim,
The findAll() method is not directly in CollectionDataService it comes from the parent class ComColDataService.
export class CollectionDataService extends ComColDataService<Collection> {
}

You can find the definition of ComColDataService (which contains the findAll() method) in the following file:
https://github.com/DSpace/dspace-angular/blob/dspace-8_x/src/app/core/data/comcol-data.service.ts
Or is there any way to get the collection list in the home component if not using findAll(). `

@TrinhHuynh2801 : Oh, sorry, I misunderstood.
My recommendation would be to see if you can determine whether the REST API call is including the SortOptions in a sort= param (e.g. it should look like sort=dc.title,DESC).  That would narrow down whether the bug is actually in the frontend code, or if maybe the backend is hardcoding the results to always come back in dc.title ASC order.
I'm not familiar enough with this area of the code to answer your more detailed questions.  Regardless, I'll reopen this in case others have ideas/suggestions.  It's possible that there's a bug here, but it'd require someone else to dig in deeper to determine whether the bug is in the frontend or backend code.


Quickly expanding & collapsing a node in Variable Explorer opens it in Grid View

This seems to be a side effect of supporting double-click to open - repeated clicks on the expander triangle are then treated as a double click (even though they also expand/collapse the children).
Not sure what the proper behavior is here, but it should be one or the other - i.e. either it's a double-click, and then it opens the grid but does not cycle the expansion state, or it's not, and then it cycles expansion but doesn't open the grid.

Standard Windows sequence of events Click - Click - Double Click (Win32 is the same - WM_LBUTTONDOWN, UP, DOWN, UP, DOUBLECLICK). It is not possible to tell its a double click until it comes after two clicks. Waiting to see if second click comes within timeout is not very reliable as timeout is customizable and can be pretty long. If code waits, then someone with a long timeout will have to wait until timeout expires before we happen to decide that this was a single click.
What may be possible to to check location of the click.

Double-click is bubble-up event in WPF, isn't it? So we should be able to suppress it on the expander to make it do nothing there.

I'll take a look

No complaints so far


[incubator/mysqlha] updates to support an alternate k8s scheduler

Signed-off-by: Sathya Balakrishnan<EMAIL_ADDRESS>
What this PR does / why we need it:
Add capability to specify an alternate scheduler
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

You'll need to fix up file conflicts, but otherwise looks good.
/ok-to-test

/lgtm


cheep box in component view and pagemodel subclass

Co-Authored-By: chatGPT

We toke the code and pasted it in to another branche, since there have been made so many changes to main since this branch was made. And there we added all other logic used for the timeline, such i was a superclass for the whole functionality of a timeline.


Fix object recognizer options type/range checking issues.

Closes #16

@tingshao @haoyunfeix PLTA
Can't set you as reviewer, so mention you guys directly...

LGTM


IOS 13 rendering upside down with orientation working

With a user click orientation permission hack. When launching a session, rendering is upside down ?  There is no real world working example to use so I tried my best to make one.
Click the container to allow orientation then launch.
I have to debug a work around for now.
https://dev.electroteque.org/webxr/index2.html

The IOS device check needs fixing up. I also had to do the same. They stitched everyone up there it seems. IOS 13 supports fullscreen so the fullscreen wrapper needs to return. So needs two checks.  for IOS and then another check for fullscreen support ??
var isIOS = function () {
  var isIOS = ((/iP(hone|ad)/i).test(navigator.platform) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1));

  return function () {
    return isIOS;
  };
}();

It's in the cardboard display project. I might have to fork that to make the edits. I already had to make one to return the canvas back to its original position and not append in the body.

What is the expected behavior on an iPad with fullscreen, stereoscopic rendering? There are no cardboard devices to fit anything of that size, for example.

I don't know. I got a load of complaints it's broken.  It was working previous. There is alot of IOS 13 requests. Android doesn't even use the polyfill so not related.
I've added those fixes into my fork. https://github.com/danrossi/cardboard-vr-display


Add play playlist functionality to music example

Added the functionality to play a playlist in the music example. This will populate the queue in the Spotify player so you can go forward/back songs.
Before, the first song in the playlist was being played. This does not populate the queue in the Spotify player, so you can not continue listening to the playlist or go to the next song.
Changes:

Added getPlaylist to chatifyActionsSchema.ts
Added Playlist type to chatifyActionsSchema.ts
Updated play to take in item: TrackList | Playlist
Added contextUri param to play() in music/src/endpoints.ts

Note:
The Playlist type is set to unknown. I first tried setting it to { name: string } but, I was getting poor results with this. Using GPT 3.5, it was attempting to pass the name directly into the play function and not the previously found playlist.

{ name: string }
undefined

Thanks for the contribution, DugganB!  We will experiment with the Playlist type and try changing it from unknown to an array type like TrackList.


scipy.sparse.linalg.eigs is unreliable when finding multiple leading eigenvalues

I have a problem where I am trying to find the first two leading eigenvalues and eigenvectors of a matrix. This should be as simple as
from scipy.sparse.linalg import eigs
e_vals, e_vecs = eigs(matrix, which='LM', k=2)

However, this is unreliable and fails to find the correct second eigenvalue about 4% of the time and instead returns a smaller eigenvalue and corresponding eigenvector. In the test example below, the matrix has a leading eigenvalue 1 with multiplicity two, though I have seen the same problem with other matrices where the two leading eigenvalues are not identical. Also note that increasing k does not fix the problem. In testing it was still sometimes failing to find the second-largest eigenvalue even with k=6.
Note that this should not be this unreliable. I can reliably find the second eigenvalue and eigenvector by searching over the subspace orthogonal to the first eigenvector. My hunch is that there is insufficient randomness in the initialisation as I am surprised that the function only accepts a single v0 vector where I would have expected it to take k initial vectors.
Note also that the random failures in my test script below actually seem to be deterministic on my system even though I have not specified any seed for the random number generation.
Reproducing code example:

import pickle
from scipy.sparse.linalg import eigs, LinearOperator
import numpy as np

# repeatedly searching for the leading eigenvalue over the subspace orthogonal to identified eigenvectors is reliable
def leading_eigs(matrix, k):
    """find k leading eigenvalues and eigenvectors"""
    e_vals, e_vecs = eigs(matrix, which='LM', k=1)
    e_vecs /= np.linalg.norm(e_vecs, axis=0, keepdims=True)
    for it in range(1, k):
        def matvec(v):
            return matrix @ v - e_vals * e_vecs @ (e_vecs.T @ v)
        matrix_op = LinearOperator(shape=matrix.shape, matvec=matvec)
        new_e_vals, new_e_vecs = eigs(matrix_op, which='LM', k=1)
        e_vecs, _ = np.linalg.qr(np.concatenate((e_vecs, new_e_vecs), axis=1))
        e_vals = np.concatenate((e_vals, new_e_vals), axis=0)
    return e_vals, e_vecs

with open('trouble_matrix.p', 'rb') as f:
    matrix = pickle.load(f)

with open('trouble_init.p', 'rb') as f:
    v0 = pickle.load(f)

# eigs fails about 4% of the time:
failures = []
for it in range(100):
    e_vals_rand, vecs_rand = eigs(matrix, k=2)
    if not np.allclose(e_vals_rand, [1, 1]):
        failures.append(it)
        print(f"failed, eigenvalues are {e_vals_rand}")
print(f"eigs with random init failed {len(failures)} times")
if len(failures) > 0:
    print(f"failed tries are {failures}")

# orthogonal searching works:
ot_failures = []
for it in range(100):
    e_vals_rand, vecs_rand = leading_eigs(matrix, k=2)
    if not np.allclose(e_vals_rand, [1, 1]):
        ot_failures.append(it)
print(f"orthogonal search failed {len(ot_failures)} times")
if len(ot_failures) > 0:
    print(f"failed tries are {ot_failures}")

# this is a particular failure case
e_vals, vecs = eigs(matrix, k=2, v0=v0)
print(f"trouble init: {e_vals}")

Output:
failed, eigenvalues are [1.        +0.j 0.75162072+0.j]
failed, eigenvalues are [1.        +0.j 0.75162072+0.j]
failed, eigenvalues are [1.        +0.j 0.75162072+0.j]
failed, eigenvalues are [1.        +0.j 0.75162072+0.j]
eigs with random init failed 4 times
failed tries are [17, 18, 23, 95]
orthogonal search failed 0 times
trouble init: [1.        +0.j 0.75162072+0.j]

Test Data:
Contains test script, problematic matrix and initialisation:
scipy_issue.zip
Scipy/Numpy/Python version information:
import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)
1.6.0 1.20.1 sys.version_info(major=3, minor=7, micro=5, releaselevel='final', serial=0)

This is not a bug, but a well known feature, probably undocumented, of the algorithm used by eigs - it cannot in principle compute multiple eigenvalues reliably. The fact that the eigs function only accepts a single initial vector gives one the hint, indeed.
If the matrix is Hermitian, there is a different solver that does not have this problem: https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.lobpcg.html
Please keep this open until someone adds this info to eigs manual, if it is not yet there.